.scene--article { display: flex; flex-direction: column; min-height: clamp(600px, 84svh, 800px); overflow: clip; }
.cine-img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: saturate(.92) brightness(.86); transform-origin: 62% 42%; will-change: transform; }
.cine-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 7, 10, .78) 0%, rgba(2, 7, 10, .2) 26%, rgba(2, 7, 10, 0) 44%, rgba(2, 7, 10, .55) 72%, #02070a 100%),
    linear-gradient(90deg, rgba(2, 7, 10, .82) 0%, rgba(2, 7, 10, .35) 42%, rgba(2, 7, 10, 0) 70%),
    radial-gradient(900px 200px at 50% 100%, rgba(2, 128, 222, .35), transparent);
}
.scene--article::after, .scene--quiet::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127, 210, 246, .7) 30%, rgba(255, 236, 226, .9) 52%, rgba(252, 115, 77, .7) 70%, transparent);
  box-shadow: 0 0 22px 2px rgba(252, 115, 77, .35);
  content: "";
}
.cine { display: flex; flex: 1; flex-direction: column; justify-content: space-between; gap: 40px; padding-block: 18px 46px; }
.cine-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
.cine-copy { min-width: 0; }
.cine-title { margin: 18px 0 0; color: #fff; font: 400 clamp(76px, 11vw, 168px)/.86 var(--serif); letter-spacing: -.02em; text-shadow: 0 4px 40px rgba(2, 7, 10, .55); overflow-wrap: anywhere; text-wrap: balance; }
.cine-title em { font-style: italic; }
.cine-cap { max-width: 52ch; margin-top: 18px; color: rgba(236, 241, 252, .82); font: italic 400 19px/1.4 var(--serif); text-wrap: pretty; }
.cine-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 30px; }
.cine-stats li { display: grid; gap: 4px; }
.cine-stats strong { color: #fff; font: 400 34px/1 var(--serif); font-variant-numeric: tabular-nums lining-nums; }
.cine-stats span { color: rgba(214, 224, 244, .76); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }

.minimap {
  display: grid;
  width: 300px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(6, 11, 24, .66);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
          backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  transition: border-color var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.minimap svg { width: 100%; height: auto; aspect-ratio: 216 / 160; background: radial-gradient(70% 80% at 50% 60%, rgba(14, 44, 104, .7), rgba(4, 10, 24, .9)); transition: scale 1.2s var(--ease-out); }
.minimap:hover { border-color: rgba(127, 210, 246, .6); box-shadow: 0 30px 60px -30px rgba(2, 151, 222, .7); }
.minimap:hover svg { scale: 1.05; }
.minimap-cap { position: relative; display: grid; gap: 3px; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: rgba(6, 11, 24, .9); color: rgba(236, 241, 252, .9); font: 400 13px/1.35 var(--sans); text-wrap: pretty; }
.minimap-cap > span:first-child { color: var(--cyan); font: 400 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.minimap-cap [aria-hidden] { display: inline-block; transition: translate var(--t-mid) var(--ease-spring); }
.minimap:hover .minimap-cap [aria-hidden] { translate: 4px 0; }
.mini-pin circle { fill: var(--cyan); stroke: #02070a; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(127, 210, 246, .9)); }
.mini-pin text { fill: rgba(255, 255, 255, .85); font: 400 11px/1 var(--mono); paint-order: stroke; stroke: rgba(2, 7, 10, .9); stroke-width: 4px; }
.mini-pin--here circle { fill: #fff; stroke: var(--cantaloupe); stroke-width: 3; filter: drop-shadow(0 0 8px rgba(252, 115, 77, 1)); }
.mini-pin--here text { fill: #fff; font: 400 18px/1 var(--serif); }
.mini-ring { fill: none !important; stroke: var(--cantaloupe); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }

.scene--quiet { --hx: 30%; overflow: clip; }
.scene--quiet::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    radial-gradient(240px 34px at var(--hx) calc(100% - 4px), rgba(255, 244, 236, .7), rgba(255, 238, 228, 0)),
    radial-gradient(620px 110px at var(--hx) 100%, rgba(238, 122, 88, .5), rgba(236, 124, 90, 0)),
    radial-gradient(980px 240px at calc(var(--hx) + 10%) 100%, rgba(52, 128, 204, .5), rgba(36, 100, 184, 0)),
    radial-gradient(130% 420px at 50% 100%, rgba(14, 44, 104, .75), rgba(10, 34, 86, 0)),
    radial-gradient(48% 90% at 0% 0%, rgba(34, 8, 46, .8), rgba(34, 8, 46, 0)),
    radial-gradient(48% 90% at 100% 0%, rgba(2, 4, 38, .8), rgba(2, 4, 38, 0)),
    linear-gradient(180deg, #08041a 0%, #050716 40%, #04102a 80%, #061a3c 100%);
  content: "";
}
.cine--quiet { gap: 56px; padding-block: 18px 52px; }
.cine--quiet .cine-title { font-size: clamp(60px, 8vw, 120px); }
.is-long .cine--quiet .cine-title { font-size: clamp(46px, 6vw, 88px); line-height: .95; }
.cine--quiet .cine-stats { margin-top: 24px; }

.qpic {
  align-self: end;
  max-width: 280px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-top-color: rgba(255, 255, 255, .3);
  border-radius: 24px;
  background: radial-gradient(80% 70% at 50% 100%, rgba(2, 128, 222, .35), transparent), rgba(6, 11, 24, .66);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 24px 70px -30px rgba(252, 115, 77, .4);
}
.qpic img { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; }
@media (prefers-reduced-motion: no-preference) {
  .qpic { animation: card-in 1.1s var(--ease-out) .7s backwards; }
}
.qpic.is-spoiled { filter: blur(14px) saturate(.6); }

.atabs {
  position: sticky;
  z-index: 40;
  top: calc(var(--bar-h) - 1px);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 7, 14, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
}
.atabs-in { position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.atabs-in::-webkit-scrollbar { display: none; }
.atab {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  height: var(--tabs-h);
  padding: 0 16px;
  color: var(--ink-2);
  font-size: 13.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: color var(--t-mid) var(--ease-out);
}
.atab:first-child { padding-left: 0; }
.atab span { color: var(--ink-3); font-size: 12px; }
.atab:hover, .atab[aria-current="true"] { color: #fff; }
.atab[aria-current="true"]::after { position: absolute; right: 16px; bottom: -1px; left: 16px; height: 2px; border-radius: 2px; background: var(--cantaloupe); box-shadow: 0 0 10px rgba(252, 115, 77, .9); content: ""; }
.atab:first-child[aria-current="true"]::after { left: 0; }
.motion .atab[aria-current="true"]::after { display: none; }
.atab:focus-visible { border-radius: 8px; outline-offset: -6px; }
.atab-ink {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 2px;
  border-radius: 2px;
  background: var(--cantaloupe);
  box-shadow: 0 0 10px rgba(252, 115, 77, .9);
  transform-origin: 0 50%;
  transform: translateX(0) scaleX(.7);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s var(--ease-out), opacity .3s var(--ease-out);
}
.atab-ink.is-on { opacity: 1; }

.page--article {
  position: relative;
  isolation: isolate;
  padding-block: 72px clamp(80px, 9vw, 120px);
}
.page--article::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 900px;
  background:
    radial-gradient(800px 360px at 62% 0%, rgba(2, 128, 222, .14), transparent 70%),
    radial-gradient(560px 300px at 85% 8%, rgba(226, 92, 76, .08), transparent 70%);
  pointer-events: none;
  content: "";
}
.page-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(80px, 9vw, 116px); }
.asec { min-width: 0; scroll-margin-top: calc(var(--bar-h) + var(--tabs-h) + 24px); }
.no-tabs .asec { scroll-margin-top: calc(var(--bar-h) + 24px); }
.asec-head > div { min-width: 0; }
.asec-body > :first-child { margin-top: 0; }

.ov { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.ov--solo { grid-template-columns: minmax(0, 1fr); }
.ov-text .asec-title { margin-bottom: 26px; }
.ov-text > p:first-of-type { color: #fff; font-size: 19px; line-height: 1.65; }

.prose { min-width: 0; color: rgba(232, 238, 252, .88); font: 400 16px/1.75 var(--sans); }
.prose > * { max-width: 72ch; }
.prose > .gw, .prose > .tbl-wrap, .prose > .fig, .prose > figure, .prose > div, .prose > .asec-title { max-width: none; }
.asec-body.prose > * { max-width: 80ch; }
.asec-body.prose > .gw, .asec-body.prose > .tbl-wrap, .asec-body.prose > div, .asec-body.prose > figure { max-width: none; }
.prose p { margin: 0 0 16px; }
.prose h3 { margin: 44px 0 14px; color: #fff; font: 400 30px/1.1 var(--serif); scroll-margin-top: calc(var(--bar-h) + var(--tabs-h) + 24px); }
.prose h4 { margin: 32px 0 12px; color: #fff; font: 400 24px/1.15 var(--serif); scroll-margin-top: calc(var(--bar-h) + var(--tabs-h) + 24px); }
.prose h5 { margin: 24px 0 10px; color: #fff; font: 400 20px/1.2 var(--serif); }
.prose h3:first-child, .prose h4:first-child { margin-top: 0; }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(127, 210, 246, .35); text-underline-offset: 3px; transition: color var(--t-fast) var(--ease-out), text-decoration-color var(--t-fast) var(--ease-out); }
.prose a:hover { color: #fff; text-decoration-color: currentColor; }
.prose a.ext { text-decoration-style: dotted; }
.prose .gw a, .prose .tchip, .prose .mchip a, .prose .req a, .prose .linked-list a, .prose .conn, .prose .tstop a, .prose .wt-nav a { text-decoration: none; }
.prose b, .prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.3em; list-style: revert; }
.prose li { margin: 6px 0; }
.prose li::marker { color: rgba(252, 115, 77, .85); }
.prose .gw ul, .prose .gw ol { margin: 0; padding: 0; list-style: none; }
.prose .gw li { margin: 0; }
.prose hr { margin: 32px 0; border: 0; border-top: 1px solid var(--line); }
.prose small { color: var(--ink-2); }
.prose pre { overflow-x: auto; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, .3); font: 400 13px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.prose code { font: 400 .9em var(--mono); }
.prose .redlink { color: inherit; }
.prose .ref { color: #c9ecff; text-decoration-style: dotted; }
.prose .warn { color: #ffb59f; }
.prose .center { text-align: center; }
.prose .tchip { margin: 1px 2px; }
.prose img { max-width: 100%; height: auto; }
.prose img.inl { display: inline-block; width: auto; max-height: 1.6em; margin: 0 2px; vertical-align: -.35em; }
.prose .spoil-note {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  margin: 0 0 22px;
  padding: 10px 16px;
  border: 1px solid rgba(252, 115, 77, .35);
  border-radius: 14px;
  background: rgba(252, 115, 77, .07);
  color: #ffd8cb;
  font: 400 13px/1.4 var(--mono);
}
.prose .spoil-note::before { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--cantaloupe); box-shadow: 0 0 10px rgba(252, 115, 77, .9); content: ""; }
.prose .main-art { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 14px; color: var(--ink-2); font: 400 13px var(--mono); }
.prose .main-art span { color: var(--ink-3); }
.prose .quote { max-width: 70ch; margin: 0 0 26px; padding: 4px 0 4px 22px; border-left: 2px solid var(--cantaloupe); }
.prose .quote blockquote { margin: 0; color: #fff; font: italic 400 clamp(22px, 2.2vw, 28px)/1.3 var(--serif); }
.prose .quote figcaption { margin-top: 8px; color: var(--ink-2); font: 400 13px var(--mono); }
.prose .fig, .prose figure:not(.quote):not(.ballmap):not(.vs) { margin: 6px 0 18px; }
.prose .fig img, .prose figure img { max-width: 100%; height: auto; border-radius: 14px; }
.prose .fig figcaption { margin-top: 8px; color: var(--ink-2); font: 400 12.5px/1.5 var(--mono); }
.prose .fig figcaption p { margin: 0; }
.prose > .fig { max-width: 520px; }
@media (min-width: 1100px) {
  .prose > .fig { float: right; clear: right; width: min(46%, 420px); margin: 6px 0 18px 26px; }
  .prose h3, .prose h4 { clear: both; }
  .prose > .gw, .prose > .tbl-wrap { clear: both; }
}
.prose .gallery { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; margin: 6px 0 18px; }
.prose .gallery figure { max-width: 100%; margin: 0; }
.prose .gallery figcaption { max-width: 22ch; }
.prose td .gallery { margin: 0; gap: 6px; }
.prose td .fig, .prose td figure { margin: 0; }
.prose td .fig img, .prose td figure img { border-radius: 4px; }
.prose img.px, .prose td img { image-rendering: auto; }
.prose .tbl-wrap { margin: 8px 0 24px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel), rgba(6, 10, 22, .5); }
.wtable { width: 100%; border-collapse: collapse; font: 400 14px/1.5 var(--sans); }
.wtable caption { padding: 12px 16px 0; color: var(--ink-2); font: 400 12.5px var(--mono); text-align: left; caption-side: top; }
.wtable th { padding: 11px 14px; background: rgba(255, 255, 255, .035); color: #fff; font-weight: 600; text-align: left; vertical-align: top; }
.wtable td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.wtable tr > * + * { border-left: 1px solid rgba(255, 255, 255, .045); }
.wtable p { margin: 0 0 6px; }
.wtable p:last-child { margin: 0; }
.wtable ul { margin: 0; padding-left: 1.1em; }
.w-missing { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border: 1px dashed rgba(255, 255, 255, .2); border-radius: 14px; color: var(--ink-2); font: 400 13.5px/1.5 var(--sans); }
.w-missing::before { width: 8px; height: 8px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); content: ""; }
.anote { margin: 16px 0 0; color: var(--ink-3); font: 400 13px/1.6 var(--sans); }
.anote--warn { color: #ffb59f; }

.glance {
  position: sticky;
  top: calc(var(--bar-h) + var(--tabs-h) + 24px);
  padding: 26px 26px 24px;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: var(--panel), rgba(6, 10, 22, .55);
}
.no-tabs .glance { top: calc(var(--bar-h) + 24px); }
.glance-title { margin: 0 0 8px; color: #fff; font: 400 32px/1 var(--serif); }
.glance-title em { font-style: italic; }
.glance .vs { margin: 10px -6px 6px; overflow: hidden; border-radius: 16px; }
.glance .vs img { width: 100%; height: auto; }
.glance dl { margin: 0; }
.glance dl > div { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.glance dt { color: var(--ink-3); font-size: 11.5px; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase; }
.glance dd { min-width: 0; margin: 0; color: #fff; font: 400 14.5px/1.5 var(--sans); overflow-wrap: anywhere; }
.glance dd a:not(.tchip):not(.req a) { color: var(--cyan); }
.glance dd a:hover { color: #fff; }
.glance .chips { gap: 6px; }
.mix { margin-top: 18px; }
.mix-h { display: flex; justify-content: space-between; color: var(--ink-3); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.mix-h span { letter-spacing: .04em; text-transform: none; }
.mix-bar { display: block; width: 100%; height: 8px; margin-top: 10px; overflow: hidden; border-radius: 4px; }
.mix-bar rect { fill: var(--t, #8e8e8e); }
.mix-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; color: var(--ink-2); font-size: 12px; }
.mix-key span { display: inline-flex; align-items: center; gap: 6px; }
.mix-key i { width: 8px; height: 8px; border-radius: 2px; background: var(--t, #8e8e8e); }

.seg { display: flex; flex: none; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(6, 10, 22, .6); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 400 13px/1 var(--mono); }
.seg button:hover { color: #fff; }
.seg button[aria-pressed="true"] { background: rgba(255, 255, 255, .92); color: #0b0a12; }
.wmeth { display: inline-flex; margin-right: 8px; padding: 2px 10px; border: 1px solid rgba(67, 152, 55, .6); border-radius: 999px; background: rgba(67, 152, 55, .18); color: #bfe6b6; font: 400 12px/1.5 var(--mono); }
.wmeth--water, .wmeth--fish { border-color: rgba(48, 153, 225, .6); background: rgba(48, 153, 225, .18); color: #bfe2ff; }
.wmeth--object, .wmeth--rock { border-color: rgba(169, 164, 129, .6); background: rgba(169, 164, 129, .16); color: #e8e3c4; }
.wmeth--special { border-color: rgba(252, 115, 77, .6); background: rgba(252, 115, 77, .14); color: #ffd2c2; }
.wgroup + .wgroup { margin-top: 34px; }
.wgroup-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 12px; }
.wgroup-head .wmeth { margin-right: 0; font-size: 13px; }
.wgroup-place, .wgroup-label { color: #fff; font: 400 22px/1.2 var(--serif); }
.tflag { display: inline-flex; padding: 3px 9px; border: 1px solid rgba(252, 115, 77, .5); border-radius: 999px; color: #ffb59c; font: 400 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: background-color var(--t-mid) var(--ease-out); }

.wild-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 24px; background: var(--panel), rgba(6, 10, 22, .5); }
.wild-wrap:focus-visible { outline-offset: 2px; }
.wild { width: 100%; border-collapse: collapse; font-family: var(--mono); line-height: 1.35; }
.wild th, .wild td { padding: 10px 20px; text-align: left; vertical-align: middle; }
.wild thead th { padding-block: 16px 12px; border-bottom: 1px solid var(--line-2); color: var(--ink-3); font: 400 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.wild tbody tr { border-top: 1px solid var(--line); transition: background-color var(--t-fast) var(--ease-out); }
.wild tbody tr:first-child { border-top: 0; }
.wild tbody tr:hover { background: rgba(255, 255, 255, .03); }
.wild tr[hidden] { display: none; }
.wild tbody th { font-weight: 400; }
.wmon { display: flex; align-items: center; gap: 12px; }
.wmon .spr { width: 56px; height: 56px; margin: -8px -4px; transition: opacity .6s var(--ease-out), scale .5s var(--ease-spring), translate var(--t-mid) var(--ease-spring); }
.wmon .spr-ico { margin: 0 4px 0 0; }
.wmon-name { display: grid; color: #fff; font: 400 21px/1.1 var(--serif); }
.wmon-name a { color: #fff; text-decoration: none !important; }
.wmon-name small { color: var(--ink-3); font: 400 11.5px/1.3 var(--mono); }
.wild tbody tr:hover .wmon .spr { translate: 0 -3px; scale: 1.08; }
.wild tbody tr:hover .wmon-name a { color: var(--cyan); }
.wc-type { white-space: nowrap; }
.wc-type .tpill + .tpill { margin-left: 4px; }
.wc-lv { color: rgba(232, 238, 252, .9); font-size: 13.5px; white-space: nowrap; }
.wc-rate { white-space: nowrap; }
.wc-rate b { display: inline-block; min-width: 56px; margin-left: 12px; color: #fff; font-weight: 400; font-size: 13.5px; text-align: right; }
.rbar { display: inline-block; width: 120px; height: 6px; overflow: visible; vertical-align: middle; }
.rbar-bg { fill: rgba(255, 255, 255, .08); }
.rbar-fill { fill: var(--cyan); filter: drop-shadow(0 0 4px rgba(127, 210, 246, .6)); transform-box: fill-box; transform-origin: 0 50%; }
.wc-when { min-width: 0; }
.wc-when > * + * { margin-left: 8px; }
.when { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.when::before { width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; content: ""; }
.when--day { color: #ffc49e; }
.when--day::before { box-shadow: 0 0 8px rgba(255, 180, 120, .9); }
.when--night { color: #a9b8ff; }
.when--night::before { background: transparent; box-shadow: inset -3px -1px 0 0 currentColor; }
.when--both { color: var(--ink-2); }
.when--any::before { opacity: .5; }
.wnote { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); font: 400 11.5px/1.5 var(--mono); white-space: nowrap; }
.wnote b { color: #fff; font-weight: 400; }
.wnote a { color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .motion .wild-wrap:not(.is-in) .rbar-fill { transform: scaleX(0); }
  .wild-wrap.is-in .rbar-fill { transition: transform 1.2s var(--ease-out) .35s; }
}

.tgroup + .tgroup { margin-top: 36px; }
.tcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); align-items: start; gap: 16px; counter-reset: tr; }
.tcard {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 20px 18px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: var(--panel), rgba(6, 10, 22, .5);
  counter-increment: tr;
  transition: border-color var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out);
}
.tcard:hover { border-color: rgba(127, 210, 246, .38); box-shadow: 0 26px 50px -28px rgba(2, 151, 222, .65); translate: 0 -4px; }
.tcard:hover .tflag { background-color: rgba(252, 115, 77, .12); }
.tcard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcard-class { margin: 0; color: var(--cyan); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.tcard-class::before { margin-right: 8px; color: var(--ink-3); content: counter(tr, decimal-leading-zero); }
.tcard .tcard-name { margin: 8px 0 0; color: #fff; font: 400 36px/1 var(--serif); overflow-wrap: anywhere; }
.tcard-where { margin: 8px 0 0; color: var(--ink-2); font: 400 13.5px/1.45 var(--sans); }
.tcard-gives { margin: 8px 0 0; color: #ffc2ad; font: 400 13px/1.45 var(--sans); }
.tcard-gives a { color: #fff; }
.tcard-team { display: grid; gap: 6px; margin-top: 16px; }
.tmon { display: flex; align-items: flex-start; gap: 10px; padding: 4px 10px 4px 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); }
.tmon:hover { border-color: rgba(127, 210, 246, .45); background-color: rgba(127, 210, 246, .06); }
.tmon-pic { display: grid; flex: none; place-items: center; width: 52px; height: 52px; }
.tmon .spr { width: 52px; height: 52px; transition: opacity .6s var(--ease-out), scale .5s var(--ease-spring), translate var(--t-mid) var(--ease-spring); }
.tmon:hover .spr { translate: 0 -3px; scale: 1.1; }
.tmon-text { display: grid; gap: 2px; min-width: 0; padding-block: 8px 6px; }
.tmon-text strong { color: #fff; font: 400 15px/1.2 var(--sans); }
.tmon-text strong a { color: #fff; }
.tmon-text strong a:hover { color: var(--cyan); }
.tmon-text > span { color: var(--ink-3); font-size: 12px; }
.tmon-facts { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.tmon-facts a { color: var(--ink-2) !important; }
.tmon-moves { display: flex !important; flex-wrap: wrap; gap: 4px !important; margin-top: 4px !important; }
.tmon-moves li { padding: 1px 8px; border: 1px solid color-mix(in srgb, var(--t, #8e8e8e) 55%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--t, #8e8e8e) 16%, transparent); font: 400 11px/1.6 var(--mono); }
.tmon-moves a { color: #fff; }
.tcard-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, auto)); justify-content: space-between; gap: 8px; margin: auto 0 0; padding-top: 16px; }
.tcard-meta div { display: grid; gap: 2px; margin-top: 14px; }
.tcard-meta dt { color: var(--ink-3); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.tcard-meta dd { margin: 0; color: #fff; font: 400 20px/1 var(--serif); }

.itwrap { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.itwrap + .itwrap, .itwrap + .itlist { margin-top: 36px; }
.ballmap { margin: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 22px; background: #0a1222; }
.ballmap svg { display: block; width: 100%; height: auto; }
.bpin circle { fill: var(--cantaloupe); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 0 10px rgba(252, 115, 77, .9)); }
.bpin--tm circle { fill: var(--electric); filter: drop-shadow(0 0 10px rgba(2, 151, 222, .9)); }
.bpin text { fill: #fff; font-family: var(--sans); font-weight: 700; text-anchor: middle; }
.itlist { display: grid; gap: 4px; }
.itlist li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.itlist li > div { min-width: 0; }
.itlist--plain { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); column-gap: 40px; }
.it-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(252, 115, 77, .14); box-shadow: inset 0 0 0 1px rgba(252, 115, 77, .55); color: #fff; font: 400 26px/1 var(--serif); transition: scale var(--t-mid) var(--ease-spring), box-shadow var(--t-mid) var(--ease-out); }
.it--tm .it-n { background: rgba(2, 151, 222, .16); box-shadow: inset 0 0 0 1px rgba(2, 151, 222, .6); }
.it-n--dot::before { width: 10px; height: 10px; border-radius: 50%; background: var(--cantaloupe); box-shadow: 0 0 10px rgba(252, 115, 77, .9); content: ""; }
.it--tm .it-n--dot::before { background: var(--electric); box-shadow: 0 0 10px rgba(2, 151, 222, .9); }
.itlist li:hover .it-n { scale: 1.08; box-shadow: inset 0 0 0 1px rgba(252, 115, 77, .9), 0 0 18px rgba(252, 115, 77, .45); }
.itlist li.it--tm:hover .it-n { box-shadow: inset 0 0 0 1px rgba(2, 151, 222, .9), 0 0 18px rgba(2, 151, 222, .5); }
.it-kind { margin: 0 !important; color: var(--ink-3); font: 400 11.5px/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.itlist li h3 { margin: 4px 0 0; color: #fff; font: 400 30px/1.05 var(--serif); }
.itlist h3 a { color: #fff !important; text-decoration: none !important; }
.itlist h3 a:hover { color: var(--cyan) !important; }
.itlist p:not(.it-kind) { margin: 6px 0 0; color: rgba(232, 238, 252, .85); font: 400 15px/1.55 var(--sans); }
.itlist .needs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 3px 4px 3px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2) !important; font: 400 12px/1.5 var(--mono) !important; }
.itlist .it-extra { display: flex; flex-wrap: wrap; gap: 6px; }

.kcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.kcard {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: var(--panel), rgba(6, 10, 22, .6);
  transition: border-color var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.kcard:hover { border-color: rgba(127, 210, 246, .5); box-shadow: 0 20px 44px -22px rgba(2, 151, 222, .6); translate: 0 -5px; }
.kcard-pic { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0a1222; }
.kcard-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s var(--ease-out), scale .9s var(--ease-out); }
.kcard:hover .kcard-pic img { scale: 1.06; }
.kcard-none { display: block; width: 100%; height: 100%; background: radial-gradient(60% 80% at 50% 100%, rgba(2, 128, 222, .35), transparent); }
.kcard-text { display: grid; gap: 4px; padding: 14px 16px 16px; }
.kcard-text strong { color: #fff; font: 400 24px/1.05 var(--serif); }
.kcard-text span { color: var(--ink-2); font-size: 12px; letter-spacing: .02em; }
.prose .kcards, .asec .kcards { margin: 0; padding: 0; list-style: none; }
.cine-cap a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 3px; }

.road { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 26px; }
.tstop { position: relative; }
.tstop::before { position: absolute; top: 8px; right: 0; left: 0; height: 1px; background: rgba(127, 210, 246, .45); content: ""; }
.tstop:first-child::before { left: 8px; }
.tstop:last-child::before { right: auto; width: 8px; }
.tstop a { position: relative; display: grid; gap: 4px; padding-top: 28px; padding-right: 12px; transition: translate var(--t-mid) var(--ease-out); }
.tstop a:hover { translate: 0 -2px; }
.tstop-dot { position: absolute; top: 3px; left: 0; width: 11px; height: 11px; border: 2px solid var(--midnight); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 1px rgba(127, 210, 246, .6), 0 0 10px rgba(127, 210, 246, .7); transition: transform var(--t-mid) var(--ease-spring), box-shadow var(--t-mid) var(--ease-out); }
.tstop a:hover .tstop-dot { transform: scale(1.3); }
.tstop-ch { color: var(--ink-3); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.tstop strong { color: rgba(232, 238, 252, .85); font: 400 22px/1.1 var(--serif); }
.tstop a:hover strong { color: #fff; }
.tstop--here .tstop-dot { top: 0; width: 17px; height: 17px; background: #fff; box-shadow: 0 0 0 2px var(--cantaloupe), 0 0 18px rgba(252, 115, 77, 1); }
.tstop--here strong { color: #fff; }
.tstop--here .tstop-ch { color: #ffb59c; }

.conns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.conn {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background: #0a1222;
  transition: border-color var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out);
}
.conn-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .8s var(--ease-out), scale 1.4s var(--ease-out), filter .6s var(--ease-out); }
.conn::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 8, 18, 0) 20%, rgba(4, 8, 18, .94) 88%); content: ""; }
.conn:hover { border-color: rgba(127, 210, 246, .5); box-shadow: 0 24px 50px -26px rgba(2, 151, 222, .7); translate: 0 -4px; }
.conn:hover .conn-img { scale: 1.05; opacity: .88; }
.conn-text { position: relative; z-index: 1; display: grid; gap: 8px; padding: 26px; }
.conn-dir { color: var(--cyan); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.conn--prev .conn-dir::before { display: inline-block; margin-right: .6em; transition: translate var(--t-mid) var(--ease-spring); content: "←"; }
.conn--next .conn-dir::after { display: inline-block; margin-left: .6em; transition: translate var(--t-mid) var(--ease-spring); content: "→"; }
.conn--next:hover .conn-dir::after { translate: 5px 0; }
.conn--prev:hover .conn-dir::before { translate: -5px 0; }
.conn-text strong { color: #fff; font: 400 48px/1 var(--serif); }
.conn-text strong em { font-style: italic; }
.conn-lede { max-width: 56ch; color: rgba(232, 238, 252, .85); font: 400 14.5px/1.55 var(--sans); }
.conn-gym { display: inline-flex; align-items: center; gap: 8px; color: #ffc2ad; font-size: 12px; letter-spacing: .04em; }
.conn-gym--wild { color: var(--cyan); }
.conn-gym img { width: 26px; height: 26px; }

.linked { margin-top: 40px; }
.linked:first-child { margin-top: 0; }
.linked-h { margin: 0 0 12px; color: var(--ink-3); font: 400 11.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.linked-list { display: flex; flex-wrap: wrap; gap: 8px; }
.linked-list a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: rgba(232, 238, 252, .88); font: 400 13px/1 var(--sans); }
.linked-list a:hover { border-color: rgba(127, 210, 246, .55); color: #fff; }

.wt-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.wt-nav a, .wt-nav .is-empty { display: grid; gap: 6px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--panel), rgba(6, 10, 22, .5); transition: border-color var(--t-mid) var(--ease-out), translate var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.wt-nav .is-empty { visibility: hidden; }
.wt-nav a:hover { border-color: rgba(127, 210, 246, .5); box-shadow: 0 20px 44px -24px rgba(2, 151, 222, .6); translate: 0 -3px; }
.wt-dir { color: var(--cyan); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.wt-prev .wt-dir::before { content: "← "; }
.wt-next .wt-dir::after { content: " →"; }
.wt-name { color: #fff; font: 400 22px/1.15 var(--serif); }
.wt-up { text-align: center; }
.wt-next { text-align: right; }
.wt-nav + .linked { margin-top: 40px; }

.attr { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.attr p { margin: 0; color: var(--ink-3); font: 400 12.5px/1.6 var(--sans); }
.attr .who { color: var(--ink-2); }
.attr-actions { margin-top: 8px !important; }
.asec--end > .attr:first-child, .asec--end > .visually-hidden + .attr { margin-top: 0; }

.spoil-gate { margin-bottom: 40px; }
.cine-copy.is-spoiled, .cine-img.is-spoiled, .minimap.is-spoiled { filter: blur(14px) saturate(.6); }

@keyframes kenburns { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.13) translate3d(-1.8%, -1.4%, 0); } }
@keyframes title-in { from { opacity: 0; translate: 0 .18em; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
@keyframes card-in { from { opacity: 0; translate: 0 18px; scale: .97; } }
@keyframes ring-once { 0% { opacity: .95; transform: scale(1); } 100% { opacity: 0; transform: scale(3.4); } }
@keyframes show-line { from { opacity: 0; transform: scaleX(.2); } }
@media (prefers-reduced-motion: no-preference) {
  .cine-img { animation: kenburns 34s var(--ease-io) infinite alternate; }
  .cine .crumbs { animation: copy-in .9s var(--ease-out) .1s backwards; }
  .cine-copy > .tag { animation: copy-in .9s var(--ease-out) .2s backwards; }
  .cine-title { animation: title-in 1.3s var(--ease-out) .3s backwards; }
  .cine-cap { animation: copy-in 1s var(--ease-out) .55s backwards; }
  .cine-stats li { animation: copy-in .9s var(--ease-out) backwards; }
  .cine-stats li:nth-child(1) { animation-delay: .65s; }
  .cine-stats li:nth-child(2) { animation-delay: .73s; }
  .cine-stats li:nth-child(3) { animation-delay: .81s; }
  .cine-stats li:nth-child(4) { animation-delay: .89s; }
  .minimap { animation: card-in 1.1s var(--ease-out) .8s backwards; }
  .mini-ring { animation: ring-once 1.6s var(--ease-out) 1.7s 1; }
  .scene--article::after, .scene--quiet::after { animation: show-line 1.6s var(--ease-out) .4s backwards; transform-origin: 50% 50%; }
  .scene--quiet .sky { animation: show 1.4s var(--ease-out) backwards; opacity: .85; }
}
@media (prefers-reduced-motion: reduce) {
  .atab-ink { transition: none; }
}

@media (max-width: 1100px) {
  .ov { grid-template-columns: minmax(0, 1fr); }
  .glance { position: static; max-width: 560px; }
}
@media (max-width: 1000px) {
  .qpic { max-width: 220px; }
  .itwrap { grid-template-columns: minmax(0, 1fr); }
  .ballmap { max-width: 460px; }
  .cine-row { grid-template-columns: minmax(0, 1fr); }
  .minimap { width: min(340px, 100%); }
}
@media (max-width: 760px) {
  .asec-head { flex-direction: column; align-items: flex-start; }
  .road { grid-template-columns: repeat(5, minmax(108px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .wt-nav { grid-template-columns: 1fr 1fr; }
  .wt-up { grid-column: 1 / -1; grid-row: 2; }

  .wild thead { display: none; }
  .wild, .wild tbody { display: block; }
  .wild tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 12px 16px; }
  .wild tbody tr[hidden] { display: none; }
  .wild th, .wild td { padding: 0; }
  .wild .wc-type { grid-row: 2; grid-column: 1; padding-left: 64px; }
  .wild .wc-lv { grid-row: 2; grid-column: 2; justify-self: end; color: var(--ink-2); font-size: 12.5px; }
  .wild .wc-rate { grid-row: 1; grid-column: 2; }
  .wild .wc-when { display: flex; flex-wrap: wrap; gap: 4px 8px; grid-row: 3; grid-column: 1 / -1; padding-left: 64px; }
  .wc-when > * + * { margin-left: 0; }
  .rbar { width: 64px; }
  .wc-rate b { min-width: 48px; margin-left: 8px; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding: 0 8px; }
  .ov { gap: 40px; }
  .ov > .glance { order: -1; max-width: none; border-radius: 24px; }
  .glance-title { font-size: 30px; }
}
@media (max-width: 640px) {
  .scene--article { min-height: 0; }
  .cine, .cine--quiet { gap: 24px; padding-block: 14px 28px; }
  .cine-title { margin-top: 14px; font-size: clamp(48px, 15vw, 60px); line-height: .92; }
  .cine--quiet .cine-title { font-size: clamp(44px, 12.8vw, 56px); }
  .is-long .cine--quiet .cine-title { font-size: clamp(40px, 11.2vw, 48px); }
  .cine-cap { margin-top: 12px; font-size: 16.5px; }
  .cine-stats, .cine--quiet .cine-stats { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 14px 40px; margin-top: 20px; }
  .cine-stats strong { font-size: 28px; }
  .minimap { grid-template-columns: 136px minmax(0, 1fr); width: 100%; }
  .minimap svg { height: 100%; aspect-ratio: auto; }
  .minimap-cap { align-content: center; border-top: 0; border-left: 1px solid var(--line); }
  .mini-pin:not(.mini-pin--here) text { display: none; }
  .cine-img { object-position: 30% 40%; }
  .page--article { padding-top: 56px; }
  .prose { font-size: 15.5px; }
  .ov-text > p:first-of-type { font-size: 17.5px; }
  .ballmap { max-width: 320px; }
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .road > :first-child, .road > :last-child { display: none; }
  .road > :nth-child(2)::before { left: 8px; }
  .road > :nth-last-child(2)::before { right: auto; width: 8px; }
  .road:has(> :nth-child(2):last-child) > :last-child, .road:has(> :nth-child(3):last-child) > :last-child { display: block; }
  .conn { min-height: 300px; }
  .conn-text strong { font-size: 40px; }
  .itlist h3 { font-size: 26px; }
  .glance { padding: 22px 18px 20px; }
  .glance dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tcard .tcard-name { font-size: 32px; }
}

@media (max-width: 760px) {
  .atabs-in {
    width: auto;
    margin-right: 0;
    margin-left: var(--gutter);
    padding-right: 40px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
  }
}
@media (max-width: 640px) {
  .conn::after { background: linear-gradient(180deg, rgba(4, 8, 18, .2) 0%, rgba(4, 8, 18, .82) 45%, rgba(4, 8, 18, .95) 85%); }
}
@media (max-width: 640px) {
  .minimap .mini-pin:not(.mini-pin--here) text, .minimap .mini-pin--long text { display: none; }
}
@media (max-width: 760px) {
  .wt-nav:has(.is-empty) .is-empty { display: none; }
  .wt-nav:has(.is-empty) :is(.wt-prev, .wt-next) { grid-column: 1 / -1; }
}
.atabs--many .atabs-in {
  padding-right: 48px;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
          mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
