
body.lunar-layout.frostfall-layout { --exile-brass:#b39869; --exile-light:#ebd9b8; --exile-edge:#786345; }
.exile-masthead { isolation:isolate; }
.exile-masthead::before {
  content:""; position:absolute; z-index:-1; pointer-events:none; inset:0 14% 34px;
  background:radial-gradient(ellipse at 50% 38%, #849aaf29, transparent 63%);
}
.exile-masthead-logo { filter:drop-shadow(0 8px 16px #000) drop-shadow(0 0 1px #a2aebd87); }
.exile-masthead:has(.exile-masthead-logo:hover) .exile-masthead-logo {
  filter:drop-shadow(0 8px 16px #000) drop-shadow(0 0 7px #bbcfea90);
}
.exile-motto { color:#ebd9b8; }
.exile-motto::before,.exile-motto::after { content:"✧"; margin-inline:.7em; color:#b39869; font-style:normal; }
.exile-rates { color:#dcd3c1; }
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status) {
  position:relative; isolation:isolate; border:1px solid var(--exile-edge); border-radius:3px;
  background:radial-gradient(ellipse at 25% 0%, #273442b3, transparent 60%), linear-gradient(150deg,#131d27,#090e15 70%);
  box-shadow:0 12px 24px #0008, inset 0 0 0 3px #080c12, inset 0 0 0 4px #aa8d6038;
}
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::before,
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::after {
  content:""; position:absolute; z-index:3; top:0; pointer-events:none;
  width:clamp(29px,3.2vw,45px); aspect-ratio:1;
  background:url("ui-art/exile-thorn.webp") top left / contain no-repeat;
  filter:drop-shadow(0 2px 2px #000b);
}
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::before { left:0; }
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::after { right:0; transform:scaleX(-1); }
body.lunar-layout.frostfall-layout .news-board .news-board-heading { padding-inline-start:clamp(35px,4vw,52px); }
body.lunar-layout.frostfall-layout .ranking-column h2 { padding-inline-start:12px; }
body.lunar-layout.frostfall-layout .sidebar-frame .moon-ornament { display:none; }
body.lunar-layout.frostfall-layout .news-board .news-board-heading {
  justify-content:flex-start; gap:12px;
  background:linear-gradient(110deg,#293848,#131d27 55%,#231e1c);
  border-bottom-color:#85704f;
}
.news-board-heading::before,.ranking-column h2::before { content:"✦"; color:#c8ac77; font-size:.75em; text-shadow:0 0 10px #d3a95788; }
.news-board-heading::after {
  content:""; flex:1; height:5px; margin-inline:6px;
  background:linear-gradient(90deg,#a78b60,transparent 90%) center / 100% 1px no-repeat;
}
body.lunar-layout.frostfall-layout .news-list article.news { color:#e2dfd8; padding-inline:clamp(16px,2.4vw,34px); }
body.lunar-layout.frostfall-layout .news-list article.news p { color:#c1cbd2; font-size:14px; }
body.lunar-layout.frostfall-layout .news-list article.news h3 { color:#f0e4d0; }
body.lunar-layout.frostfall-layout .news-list .news + .news { border-top-color:#a48b604f; }
body.lunar-layout.frostfall-layout .ranking-column h2 {
  display:flex; align-items:center; gap:.65em; color:var(--exile-light);
  border-bottom:1px solid #ab8c5a55; padding:0 0 9px; margin:0 0 10px;
}
body.lunar-layout.frostfall-layout .socials-links { flex-wrap:wrap; }
body.lunar-layout.frostfall-layout .socials-links a {
  width:auto; min-height:34px; height:auto; padding:5px 10px; font-size:13px;
  border-color:#8f7755; background:linear-gradient(#29323d,#141d28); color:#e9e2d4;
}
body.lunar-layout.frostfall-layout .sidebar-frame #nav { background:transparent; }
body.lunar-layout.frostfall-layout #nav a {
  position:relative; isolation:isolate; transform-style:preserve-3d;
  border-radius:3px; border-bottom-color:#aa8f581f;
}
body.lunar-layout.frostfall-layout #nav a:is(.active,:focus-visible) {
  background:linear-gradient(95deg,#8567393f,#2c3c4a78); color:#ffedc9;
  border-left-color:#cdaa71;
}
body.lunar-layout.frostfall-layout #nav a > span:first-child {
  display:grid; place-items:center; width:20px; height:20px; border-radius:4px;
  border:1px solid #96744980; background:linear-gradient(150deg,#5c49368c,#191e26);
  color:#e9c996; box-shadow:0 2px 4px #0008;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .exile-masthead-logo { transition:filter .3s ease; }
  body.lunar-layout.frostfall-layout #nav a {
    transition:transform .23s ease-out,box-shadow .2s,border-color .2s;
  }
  body.lunar-layout.frostfall-layout #nav a:hover {
    z-index:2; color:#fff2d8; border-left-color:#e5bb76;
    transform:perspective(480px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateZ(11px);
    background:radial-gradient(ellipse at var(--light-x,50%) var(--light-y,50%),#b59a6060,transparent 75%),linear-gradient(105deg,#292d35,#14202d);
    box-shadow:0 5px 13px #000a,inset 0 0 0 1px #c7a77680;
  }
  body.lunar-layout.frostfall-layout #nav a:hover > span:first-child { transform:translateZ(12px); }
}

/* Align the thin horizontal and vertical tips with the outer frame. */
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status) {
  --exile-ornament-size:clamp(29px,3.2vw,45px);
}
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::before,
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::after {
  top:calc(var(--exile-ornament-size) * -.132 - 1px);
}
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::before {
  left:calc(var(--exile-ornament-size) * -.114 - 1px);
}
body.lunar-layout.frostfall-layout .site-shell :is(.sidebar-frame,.news-board,.ranking-column > section,.world-status)::after {
  right:calc(var(--exile-ornament-size) * -.114 - 1px);
}
body.lunar-layout.frostfall-layout .site-shell .news-board {
  overflow:visible;
}
