@charset "UTF-8";

:root {
  --inner-gold: #ebcb88;
  --inner-muted: #b4b99f;
  --inner-line: #b294586b;
  --inner-corner: #bc9d60;
  --inner-serif: KaiTi, STKaiti, SimSun, serif;
  --inner-selected: linear-gradient(90deg, #873d2ef2, #602c1de8 80%, #49281c);
}

::selection { background: #984b34; color: #fff0ce; }
.top {
  border-bottom-color: #c7a65c3b;
  background: #04100c77;
  color: #ccb985;
}
.top a { color: #caba91; }
.brand strong { color: #f1cf89; text-shadow: 0 2px 15px #0009; }
.brand small { color: #d2bf8b; }
.mark {
  border-color: #c3a66b;
  background: radial-gradient(circle, #c1a16012, #071812);
  box-shadow: 0 0 0 4px #d2ac5410, 0 0 22px #0004;
}
.links a {
  color: #dfd5b8;
  transition: color .16s ease, background-color .16s ease, text-shadow .16s ease;
}
.links .active, .links a:hover {
  color: #f4cd7f;
  background: #b18c3713;
  text-shadow: 0 0 16px #d4ae5160;
}
.links a::after {
  background: #e6bc68;
  box-shadow: 0 0 10px #deb65c45;
}
.btn {
  color: #e2ce9d;
  border-color: #b69a5c70;
  background: linear-gradient(180deg, #8d793319, #0b1d14b3);
}
.btn.primary {
  color: #ffe1a2;
  border-color: #c39b58;
  background: linear-gradient(180deg, #9b5030, #773821 65%, #62311f);
  box-shadow: inset 0 0 0 2px #d4ac5b17, inset 0 1px 0 #f2dba22b, 0 2px 12px #0002;
}

.side, .panel {
  position: relative;
  border-color: #ad925a9c;
}
.side { background: linear-gradient(110deg, #172c23f5, #0c1e19f5 50%, #10251df2); }
.panel {
  background: linear-gradient(110deg, #17362a09, transparent 55%), #0d201af5;
  box-shadow: 0 10px 36px #0002;
}
:is(.side, .panel)::before {
  content: "";
  position: absolute;
  inset: 3px;
  pointer-events: none;
  background:
    linear-gradient(var(--inner-corner), var(--inner-corner)) left top / 12px 1px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) left top / 1px 12px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) right top / 12px 1px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) right top / 1px 12px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) left bottom / 12px 1px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) right bottom / 12px 1px no-repeat,
    linear-gradient(var(--inner-corner), var(--inner-corner)) right bottom / 1px 12px no-repeat;
}
.side-title {
  position: relative;
  text-align: left;
  padding-inline: 23px;
  color: #ebc57e;
  letter-spacing: .08em;
  border-bottom-color: #ac8f4c52;
  background: linear-gradient(120deg, #b79a5219, transparent);
}
.side-title:first-child::after {
  content: "驿";
  display: grid;
  place-items: center;
  position: absolute;
  top: 8px;
  right: 19px;
  width: 15px;
  height: 24px;
  border: 1px solid #bd704949;
  border-radius: 2px;
  background: #8a3c29;
  color: #f1d3a3;
  font: 12px var(--inner-serif);
}
.side a { position: relative; color: #d5d6c6; border-bottom-color: #aa935130; }
.side a:hover { color: #ffdfa0; background: #ad8e3f14; box-shadow: none; }
.side a.active {
  color: #f7d48d;
  background: var(--inner-selected);
  box-shadow: inset 2px 0 #dab36a, inset 0 1px #b78d4777, inset 0 -1px #b78d4766;
}
.side a.active::before { color: #f7d48d; }
.server { color: #d5d1ba; border-color: #bfa36837; background: #b79a520e; }

.quick-card, .mottos > div {
  border-color: #b095587d;
  background: linear-gradient(140deg, #b1975710, #19332814 60%, #8e713606), #10251de8;
  box-shadow: inset 0 0 0 3px #c9a96308;
}
.quick-card:hover, .mottos > div:hover {
  border-color: #c2a05b9c;
  background: #243a29f0;
}
.sigil { color: #ebcd8f; border-color: #b59a5688; background: #b3964c14; }
.quick-card:hover .sigil { background: #8a3c29; }
.quick-card strong, .mottos b { color: #ebcd8f; }
.quick-card small, .mottos span { color: var(--inner-muted); }

.section-title {
  border-bottom-color: var(--inner-line);
  background: linear-gradient(100deg, #22362a, #15271f 72%);
  color: var(--inner-gold);
}
.section-title::before {
  width: 3px;
  height: 18px;
  background: #c19b55;
  box-shadow: 0 0 8px #deb65c42;
}
.section-title h2 { font-family: var(--inner-serif); }
.section-title a, .recruit > a { color: #dfc68a; }
.recruit .section-title {
  background:
    url('assets/theme/cloud-rule.svg') right 13px center / 66px auto no-repeat,
    linear-gradient(100deg, #22362a, #15271f 72%);
}
.news-filters { border-bottom: 1px solid #b294582e; }
.news-filters button {
  color: #c4bfa6;
  border: 0;
  border-bottom: 2px solid transparent;
}
.news-filters button:hover, .news-filters button[aria-pressed="true"] {
  color: #ffe1a0;
  border-bottom-color: #d2ad60;
  background: #b18c3713;
}
.news-list a { border-bottom-color: #aa93513b; }
.news-list a:hover { background: #ad8e3f0e; }
.news-list .category {
  align-self: start;
  justify-self: start;
  padding-inline: 5px;
  border: 1px solid #b59a5659;
  background: #b3964c0d;
  color: #dec68c;
}
.news-list .title { color: #ecdbb1; }
.news-list a:hover .title { color: #ffdfa0; }
.news-list time, .news-status, .forum-boards small { color: var(--inner-muted); }
.forum-boards a { border-color: #b0955861; background: #b197570a; }
.footer { border-top-color: #ac945443; color: #b7b69c; }
.footer a:hover { color: #f2cf86; }
@media (max-width: 620px) {
  .recruit .section-title { background-size: 47px auto, auto; }
}
