
@font-face { font-family: "Display"; src: url(../fonts/display-bold.woff2?v=c2e67b5d) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Body"; src: url(../fonts/ui.woff2?v=badb7d11) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Body"; src: url(../fonts/ui-bold.woff2?v=c02403c7) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --ground: #0a0708;
  --panel: #161014;
  --panel-2: #1f171b;
  --line: rgba(224, 176, 102, 0.17);
  --ink: #f1e8da;
  --ink-dim: #b3a695;
  --ink-faint: #8f847a;
  --gold: #e0b066;
  --gold-dim: #b08e56;
  --ember: #ffa145;
  --ember-hot: #ffd89a;
  --ember-deep: #c8481f;
  --spark: #bab09a;
  --ash: #8c5ac0;
  --anvil: #7d8791;
  --rust: #a8743f;
  --forge: #d6452b;
  --display: "Display", "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Body", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1560px;
  --gutter: clamp(20px, 3.2vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --metal: linear-gradient(180deg, #fff6e2 0%, #f6d69a 30%, #e0a85a 58%, #a8682c 86%, #6e3f1a 100%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { overflow-x: clip; }
html:focus-within:not(:has(:target:focus-within)) { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 50% 115%, rgba(255, 110, 40, 0.13), transparent 70%),
    radial-gradient(ellipse 60% 50% at 88% -10%, rgba(140, 90, 192, 0.10), transparent 70%),
    radial-gradient(ellipse 55% 45% at 6% 8%, rgba(224, 176, 102, 0.06), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
@supports not selector(::-webkit-scrollbar) {
  :root { scrollbar-width: thin; scrollbar-color: var(--gold-dim) rgba(255, 255, 255, 0.04); }
}
::-webkit-scrollbar { width: 11px; height: 11px; background: transparent; }
::-webkit-scrollbar-track {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.035) 48%, rgba(0, 0, 0, 0.5));
  box-shadow: inset 1px 0 0 var(--line), inset -1px 0 0 rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-track:horizontal {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(255, 255, 255, 0.035) 48%, rgba(0, 0, 0, 0.5));
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}
::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 6px;
  background-color: var(--gold-dim);
  background-image: linear-gradient(180deg, var(--gold), var(--ember-deep));
}
::-webkit-scrollbar-thumb:horizontal { background-image: linear-gradient(90deg, var(--gold), var(--ember-deep)); }
::-webkit-scrollbar-thumb:hover { background-image: linear-gradient(180deg, #ffd292, var(--ember)); }
::-webkit-scrollbar-thumb:horizontal:hover { background-image: linear-gradient(90deg, #ffd292, var(--ember)); }
::-webkit-scrollbar-thumb:active { background-image: linear-gradient(180deg, #fff0d0, var(--ember)); }
::-webkit-scrollbar-button { display: none; }
::-webkit-scrollbar-corner { background: var(--ground); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: 0.03em; line-height: 1.05; margin: 0; text-transform: uppercase; }
h2 { font-size: clamp(36px, 4.6vw, 80px); letter-spacing: 0.012em; text-wrap: balance; }
h1, h3, .eyebrow, .stance { text-wrap: balance; }
p, .sub, .lede, li { text-wrap: pretty; }
h3 { font-size: clamp(20px, 1.5vw, 25px); letter-spacing: 0.05em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1840px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--panel); padding: 8px 12px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }
.nav { position: sticky; top: 0; z-index: 50; background: linear-gradient(180deg, rgba(8, 6, 7, 0.9), rgba(12, 9, 11, 0.72)); backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 14px; pointer-events: none; border-style: solid; border-color: transparent; border-width: 0 13px; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 fill / 0 13px / 0 round; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7)); }
.nav .wrap::after { content: ""; position: absolute; left: 50%; bottom: -12px; width: 76px; height: 24px; translate: -50% 0; pointer-events: none; background: url(../img/rail-c.webp?v=ec7499e6) center / contain no-repeat; filter: drop-shadow(0 0 10px rgba(255, 130, 40, 0.55)); z-index: 1; }
.nav::before { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px; pointer-events: none; z-index: 1; background: radial-gradient(closest-side, rgba(255, 190, 110, 0.95), rgba(255, 120, 40, 0.5) 45%, transparent) no-repeat; background-size: 34% 100%; background-position: 50% 0; opacity: 0; mix-blend-mode: screen; animation: railrun 2.4s .6s var(--ease) both; }
@keyframes railrun { 0% { opacity: 0; background-size: 2% 100%; } 30% { opacity: 1; } 100% { opacity: 0; background-size: 140% 100%; } }
@media (prefers-reduced-motion: reduce) { .nav::before { animation: none; } }
.nav.scrolled { background: rgba(9, 7, 8, 0.94); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; position: relative; max-width: 1840px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; color: var(--ink); font-family: var(--display); font-size: 20px; letter-spacing: 0.12em; text-transform: uppercase; }
.brand img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(224, 176, 102, 0.45), 0 0 18px rgba(255, 130, 40, 0.35); transition: box-shadow .3s ease, transform .3s var(--ease); }
.brand:hover img { box-shadow: 0 0 0 1px rgba(255, 190, 110, 0.8), 0 0 26px rgba(255, 130, 40, 0.7); transform: rotate(-8deg) scale(1.06); }
.brand:hover { color: var(--ember-hot); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.nav > .wrap > ul > li { display: flex; align-items: center; }
.nav li a { white-space: nowrap; color: var(--ink-dim); font-family: var(--display); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; position: relative; transition: color .2s ease, text-shadow .2s ease; }
.nav li a::after { content: ""; position: absolute; inset-inline-start: 0; inset-inline-end: 100%; bottom: -8px; height: 2px; background: linear-gradient(90deg, var(--ember), var(--ember-hot)); box-shadow: 0 0 10px rgba(255, 140, 50, 0.8); transition: inset-inline-end .25s ease; }
.nav li a:hover::after { inset-inline-end: 0; }
.nav li a:hover { color: var(--ember-hot); text-shadow: 0 0 16px rgba(255, 140, 50, 0.55); }
.nav li.play a { display: inline-flex; align-items: center; height: 44px; padding: 0 38px; color: #fff3df; border: 0; border-image: url(../img/slot.webp?v=cdf2868b) 0 100 fill / 0 36px stretch; text-shadow: 0 0 12px rgba(255, 140, 50, 0.85), 0 1px 2px #000; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)); animation: playglow 3.2s ease-in-out infinite; }
.nav li.play a::after { display: none; }
.nav li.play a:hover { color: #fff; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(255, 130, 40, 0.7)) brightness(1.12); text-shadow: 0 0 16px rgba(255, 160, 70, 1), 0 1px 2px #000; }
@keyframes playglow { 0%, 100% { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 6px rgba(255, 120, 40, 0.25)); } 50% { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 16px rgba(255, 130, 40, 0.6)); } }
@media (prefers-reduced-motion: reduce) { .nav li.play a { animation: none; } }
.menu-toggle { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; appearance: none; -webkit-appearance: none; background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.menu-toggle:focus-visible ~ .menu-btn { outline: 2px solid var(--ember); outline-offset: 2px; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: var(--gold); position: relative; content: ""; transition: transform .2s ease, opacity .2s ease; }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
@media (max-width: 1220px) {
  .menu-toggle { display: block; }
  .menu-btn { display: flex; }
  .nav ul { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgb(10, 7, 8); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; max-height: calc(100vh - 73px); max-height: calc(100svh - 73px); overflow-y: auto; overscroll-behavior: contain; }
  .nav > .wrap > ul > li { display: block; }
  .nav li a { display: block; padding: 12px 0; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
  .nav li.play { padding: 14px 0 6px; }
  .nav li.play a { display: inline-flex; height: 50px; padding: 0 44px; border-top: 0; border-image-width: 0 41px; }
  .menu-toggle:checked ~ ul { display: flex; }
  .menu-toggle:checked ~ .menu-btn span { background: transparent; }
  .menu-toggle:checked ~ .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked ~ .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
}
.nav .dd { position: relative; }
.nav .dd-btn { appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--ink-dim); font-family: var(--display); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; line-height: inherit; transition: color .2s ease, text-shadow .2s ease; }
.nav .dd-btn::after { content: ""; width: 6px; height: 6px; margin-top: -3px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease, margin .2s ease; }
@media (min-width: 1221px) {
  .nav > .wrap > ul { align-self: stretch; }
  .nav > .wrap > ul > li.dd, .nav > .wrap > ul > li.lang { position: relative; }
  .nav > .wrap > ul > li.dd::after, .nav > .wrap > ul > li.lang::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -3px; height: 6px; z-index: 63; pointer-events: none; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255, 140, 50, 0.9) 18%, #ffe2ae 50%, rgba(255, 140, 50, 0.9) 82%, transparent); box-shadow: 0 0 12px 1px rgba(255, 130, 40, 0.6), 0 0 26px rgba(255, 110, 30, 0.35); opacity: 0; transform: scaleX(.35); transition: opacity .25s ease, transform .35s var(--ease); }
  .nav > .wrap > ul > li.dd.here::after { opacity: 1; transform: none; background: linear-gradient(90deg, transparent, rgba(230, 100, 30, 0.85) 20%, rgba(255, 140, 50, 0.95) 50%, rgba(230, 100, 30, 0.85) 80%, transparent); box-shadow: 0 0 8px rgba(255, 110, 30, 0.5); }
  .nav > .wrap > ul > li.dd.here:hover::after, .nav > .wrap > ul > li.dd.here.open::after { background: linear-gradient(90deg, transparent, rgba(255, 140, 50, 0.9) 18%, #ffe2ae 50%, rgba(255, 140, 50, 0.9) 82%, transparent); box-shadow: 0 0 12px 1px rgba(255, 130, 40, 0.6), 0 0 26px rgba(255, 110, 30, 0.35); }
  .nav > .wrap > ul > li.dd:hover::after, .nav > .wrap > ul > li.dd.open::after, .nav > .wrap > ul > li.lang:hover::after, .nav > .wrap > ul > li.lang:has(> details[open])::after { opacity: 1; transform: none; }
  .nav > .wrap > ul > li.dd::before, .nav > .wrap > ul > li.lang::before { content: ""; position: absolute; left: -22px; right: -22px; top: 0; bottom: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 55% 85% at 50% 100%, rgba(255, 120, 40, 0.26), transparent 75%); opacity: 0; transition: opacity .25s ease; }
  .nav > .wrap > ul > li.dd:hover::before, .nav > .wrap > ul > li.dd.open::before, .nav > .wrap > ul > li.lang:hover::before, .nav > .wrap > ul > li.lang:has(> details[open])::before { opacity: 1; }
  .nav::after { z-index: 61; }
  .nav .wrap::after { z-index: 62; }
}
.nav .dd-btn:hover, .nav .dd.open > .dd-btn { color: var(--ember-hot); text-shadow: 0 0 16px rgba(255, 140, 50, 0.55); }
.nav .dd.here > .dd-btn { color: var(--ink); }
.nav .dd.open > .dd-btn::after { transform: rotate(225deg); margin-top: 3px; }
.nav .dd-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.nav ul.dd-menu, .nav .lang-drop { display: none; position: absolute; top: calc(100% - 30px); min-width: 268px; margin: 0; padding: 16px 0 8px; background: none; border: 26px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 26px / 0 stretch; box-shadow: none; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 20px rgba(255, 120, 40, 0.14)); z-index: 60; clip-path: inset(26px -90px -140px); animation: ddhang .32s var(--ease); --glow-x: 50%; }
.nav ul.dd-menu { flex-direction: column; gap: 0; inset-inline-start: 50%; translate: -50% 0; }
[dir="rtl"] .nav ul.dd-menu { translate: 50% 0; }
.nav .lang-drop { display: block; inset-inline-end: -14px; width: 290px; --glow-x: calc(100% - 64px); }
[dir="rtl"] .nav .lang-drop { --glow-x: 64px; }
@keyframes ddhang { from { clip-path: inset(26px -90px 100%); } to { clip-path: inset(26px -90px -140px); } }
@media (prefers-reduced-motion: reduce) { .nav ul.dd-menu, .nav .lang-drop { animation: none; } }
.nav .dd.open > ul.dd-menu { display: block; }
.nav ul.dd-menu::before, .nav .lang-drop::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 45% 100% at var(--glow-x) 0, rgba(255, 130, 40, 0.18), transparent 80%); }
.nav ul.dd-menu li, .nav ul.lang-list li { display: block; }
.nav ul.lang-list li[hidden] { display: none; }
.nav ul.dd-menu li a, .nav ul.lang-list li a { display: flex; align-items: center; gap: 12px; padding: 9px 18px; font-family: var(--display); font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--ink-dim); border: 0; transition: color .15s ease, background-color .2s ease, box-shadow .2s ease; }
.nav ul.dd-menu li a::before, .nav ul.lang-list li a::before { content: ""; width: 7px; height: 7px; flex: none; transform: rotate(45deg); background: linear-gradient(135deg, #f6d7a0, #a06a2a); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6); opacity: .45; transition: opacity .2s ease, box-shadow .2s ease; }
.nav ul.dd-menu li a::after, .nav ul.lang-list li a::after { display: none; }
.nav :is(ul.dd-menu, ul.lang-list) li a:is(:focus-visible, :active) { outline: none; color: var(--ember-hot); background-color: rgba(255, 140, 50, 0.13); box-shadow: inset 3px 0 0 var(--ember), inset 0 1px 0 rgba(255, 170, 90, 0.1), inset 0 -1px 0 rgba(255, 170, 90, 0.1); text-shadow: 0 0 12px rgba(255, 140, 50, 0.45); }
[dir="rtl"] .nav :is(ul.dd-menu, ul.lang-list) li a:is(:focus-visible, :active) { box-shadow: inset -3px 0 0 var(--ember), inset 0 1px 0 rgba(255, 170, 90, 0.1), inset 0 -1px 0 rgba(255, 170, 90, 0.1); }
.nav :is(ul.dd-menu, ul.lang-list) li a:is(:focus-visible, :active)::before { opacity: 1; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 150, 60, 0.9); }
@media (hover: hover) {
  .nav :is(ul.dd-menu, ul.lang-list) li a:hover { outline: none; color: var(--ember-hot); background-color: rgba(255, 140, 50, 0.13); box-shadow: inset 3px 0 0 var(--ember), inset 0 1px 0 rgba(255, 170, 90, 0.1), inset 0 -1px 0 rgba(255, 170, 90, 0.1); text-shadow: 0 0 12px rgba(255, 140, 50, 0.45); }
  [dir="rtl"] .nav :is(ul.dd-menu, ul.lang-list) li a:hover { box-shadow: inset -3px 0 0 var(--ember), inset 0 1px 0 rgba(255, 170, 90, 0.1), inset 0 -1px 0 rgba(255, 170, 90, 0.1); }
  .nav :is(ul.dd-menu, ul.lang-list) li a:hover::before { opacity: 1; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 150, 60, 0.9); }
}
.nav ul.dd-menu li a.here, .nav ul.dd-menu li a[aria-current="page"], .nav ul.lang-list li a[aria-current="true"] { color: var(--gold); }
.nav ul.dd-menu li a.here::before, .nav ul.dd-menu li a[aria-current="page"]::before, .nav ul.lang-list li a[aria-current="true"]::before { opacity: 1; }
.nav ul.dd-menu li a[class^="f-"] { color: var(--accent-text, var(--accent)); font-size: 15.5px; }
.nav ul.dd-menu li a[class^="f-"]::before { width: 30px; height: 30px; transform: none; background: url(../img/crest-spark.webp?v=1762c378) center / contain no-repeat; box-shadow: none; opacity: .9; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7)); transition: filter .2s ease, scale .25s var(--ease), opacity .2s ease; }
.nav ul.dd-menu li a.f-ash::before { background-image: url(../img/crest-ash.webp?v=21b1790d); }
.nav ul.dd-menu li a.f-anvil::before { background-image: url(../img/crest-anvil.webp?v=b8a097c4); }
.nav ul.dd-menu li a.f-rust::before { background-image: url(../img/crest-rust.webp?v=6493e53d); }
.nav ul.dd-menu li a.f-forge::before { background-image: url(../img/crest-forge.webp?v=0a995f8b); }
.nav ul.dd-menu li a[class^="f-"]:is(:focus-visible, :active) { color: var(--accent-text, var(--accent)); text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent); background-color: color-mix(in srgb, var(--accent) 15%, transparent); box-shadow: inset 3px 0 0 var(--accent), inset 0 1px 0 color-mix(in srgb, var(--accent) 14%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--accent) 14%, transparent); }
[dir="rtl"] .nav ul.dd-menu li a[class^="f-"]:is(:focus-visible, :active) { box-shadow: inset -3px 0 0 var(--accent), inset 0 1px 0 color-mix(in srgb, var(--accent) 14%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--accent) 14%, transparent); }
.nav ul.dd-menu li a[class^="f-"]:is(:focus-visible, :active)::before { opacity: 1; scale: 1.12; box-shadow: none; filter: drop-shadow(0 0 8px var(--accent)); }
@media (hover: hover) {
  .nav ul.dd-menu li a[class^="f-"]:hover { color: var(--accent-text, var(--accent)); text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 70%, transparent); background-color: color-mix(in srgb, var(--accent) 15%, transparent); box-shadow: inset 3px 0 0 var(--accent), inset 0 1px 0 color-mix(in srgb, var(--accent) 14%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--accent) 14%, transparent); }
  [dir="rtl"] .nav ul.dd-menu li a[class^="f-"]:hover { box-shadow: inset -3px 0 0 var(--accent), inset 0 1px 0 color-mix(in srgb, var(--accent) 14%, transparent), inset 0 -1px 0 color-mix(in srgb, var(--accent) 14%, transparent); }
  .nav ul.dd-menu li a[class^="f-"]:hover::before { opacity: 1; scale: 1.12; box-shadow: none; filter: drop-shadow(0 0 8px var(--accent)); }
}
.nav .lang-find { padding: 0 14px 10px; }
.nav .lang-find[hidden] { display: none; }
.nav .lang-find input { width: 100%; height: 40px; margin: 0; padding: 0 12px 0 36px; font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); border: 1px solid rgba(224, 176, 102, 0.3); border-radius: 2px; background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b066' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") 12px 50% / 16px 16px no-repeat; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6); }
[dir="rtl"] .nav .lang-find input { padding: 0 36px 0 12px; background-position: calc(100% - 12px) 50%; }
.nav .lang-find input::placeholder { color: var(--ink-faint); }
.nav .lang-find input:focus { outline: none; border-color: var(--ember); box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(255, 140, 50, 0.22); }
.nav .lang-find input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b066' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 14px 14px no-repeat; }
.nav ul.lang-list { list-style: none; margin: 0; padding: 0 0 18px; position: static; display: block; max-height: min(58vh, 470px); overflow-y: auto; overscroll-behavior: contain; background: none; border: 0; box-shadow: none; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent); }
@media (min-width: 1221px) {
  .nav:not(.nav-js) .dd:hover > ul.dd-menu, .nav:not(.nav-js) .dd:focus-within > ul.dd-menu { display: block; }
}
@media (max-width: 1220px) {
  .nav .dd { display: block; border-top: 1px solid rgba(255, 255, 255, 0.05); }
  .nav .dd::after { display: none; }
  .nav .dd-btn { width: 100%; justify-content: space-between; padding: 12px 0; font-size: 16px; }
  .nav .dd-btn::after { margin-inline-end: 6px; }
  .nav ul.dd-menu, .nav .lang-drop { position: static; translate: none; min-width: 0; width: auto; max-height: none; overflow: visible; margin: 0 0 8px; padding: 0; background: none; border: 0; border-image: none; box-shadow: none; filter: none; clip-path: none; animation: none; }
  .nav ul.dd-menu { display: none; }
  .nav .dd.open > ul.dd-menu { display: block; }
  .nav ul.dd-menu::before, .nav .lang-drop::before { display: none; }
  .nav ul.dd-menu li a, .nav ul.lang-list li a { padding: 11px 14px; font-size: 16px; }
  .nav .lang-drop { margin-top: 8px; }
  .nav .lang-find { padding: 0 0 10px; }
  .nav ul.lang-list { max-height: none; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .nav:not(.nav-js) ul.dd-menu { display: block; }
  .nav:not(.nav-js) .dd-btn { cursor: default; }
  .nav:not(.nav-js) .dd-btn::after { display: none; }
}
.hero { position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: grid; place-items: center; text-align: center; padding: 40px 0 56px; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url(../img/wall.webp?v=1ab94ad7) center / cover no-repeat; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(255, 130, 50, 0.42), transparent 70%), radial-gradient(ellipse 30% 40% at 50% 38%, rgba(255, 150, 60, 0.10), transparent 70%); animation: breathe 7s ease-in-out infinite; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(ellipse 80% 70% at 50% 42%, rgba(0, 0, 0, 0) 38%, rgba(10, 7, 8, 0.55) 100%),
  linear-gradient(to bottom, rgba(10, 7, 8, 0.45), rgba(10, 7, 8, 0) 24%, rgba(10, 7, 8, 0) 70%, var(--ground) 100%); }
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.hero-inner { max-width: 900px; min-width: 0; padding: 0 24px; position: relative; z-index: 2; }
.logo-wrap { position: relative; display: block; text-align: center; width: min(760px, 86vw, calc((100svh - 438px) * 1.5)); min-width: min(280px, 86vw); margin: 0 auto 4px; animation: fadeUp 1.1s var(--ease) both; }
.logo { width: 100%; margin-inline: auto; position: relative; z-index: 1; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7)); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .tagline { animation: fadeUp .9s .25s var(--ease) both; }
.hero .lede { animation: fadeUp .9s .4s var(--ease) both; }
.hero .cta { animation: fadeUp .9s .55s var(--ease) both; }
.tagline { display: flex; align-items: center; justify-content: center; gap: 18px; font-family: var(--display); letter-spacing: 0.42em; text-transform: uppercase; font-size: 14px; color: var(--ember-hot); margin: 0 0 22px; padding-inline-start: 0.42em; text-shadow: 0 0 18px rgba(255, 130, 40, 0.55); }
.tagline::before, .tagline::after { content: ""; flex: 0 0 64px; height: 1px; background: linear-gradient(90deg, transparent, var(--ember)); }
.tagline::after { transform: scaleX(-1); }
.lede { font-size: clamp(18px, 1.5vw, 24px); color: var(--ink); max-width: 700px; margin: 0 auto 36px; line-height: 1.5; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8); text-wrap: balance; }
.cta { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.hero-cards { position: absolute; top: 50%; width: clamp(300px, 24vw, 470px); height: clamp(360px, 32vw, 600px); z-index: 1; pointer-events: none; perspective: 1400px; --mx: 0; --my: 0; }
.hero-cards.hl { left: max(-40px, calc(50% - 960px + 2vw)); translate: 0 -54%; }
.hero-cards.hr { right: max(-40px, calc(50% - 960px + 2vw)); translate: 0 -54%; }
.hero-cards img { position: absolute; width: 50%; border-radius: 3.5% / 2.4%; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 200, 140, 0.12); animation: heroFloat 9s ease-in-out infinite; }
.hero-cards.hl img:nth-child(1) { left: 2%; top: 22%; rotate: -16deg; animation-delay: -1s; }
.hero-cards.hl img:nth-child(2) { left: 26%; top: 6%; rotate: -5deg; z-index: 2; animation-delay: -4s; }
.hero-cards.hl img:nth-child(3) { left: 47%; top: 26%; rotate: 7deg; animation-delay: -6.5s; }
.hero-cards.hr img:nth-child(1) { right: 2%; top: 22%; rotate: 16deg; animation-delay: -2s; }
.hero-cards.hr img:nth-child(2) { right: 26%; top: 6%; rotate: 5deg; z-index: 2; animation-delay: -5s; }
.hero-cards.hr img:nth-child(3) { right: 47%; top: 26%; rotate: -7deg; animation-delay: -7.5s; }
.hero-cards .hc { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s var(--ease); }
.hero-cards.hl .hc { transform: rotateY(calc(18deg + var(--mx) * 6deg)) rotateX(calc(var(--my) * -5deg)) translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px), 0); }
.hero-cards.hr .hc { transform: rotateY(calc(-18deg + var(--mx) * 6deg)) rotateX(calc(var(--my) * -5deg)) translate3d(calc(var(--mx) * 18px), calc(var(--my) * 12px), 0); }
.hero-cards::before { content: ""; position: absolute; inset: 10% 0; background: radial-gradient(ellipse at center, rgba(255, 120, 40, 0.3), transparent 65%); filter: blur(20px); }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-cards { animation: fadeIn 1.6s .4s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1180px) { .hero-cards { display: none; } }
.veins { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 1; pointer-events: none; }
.scroll-cue span { display: block; width: 11px; height: 11px; border-right: 2px solid var(--gold-dim); border-bottom: 2px solid var(--gold-dim); transform: rotate(45deg); opacity: 0.55; animation: nudge 2.6s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.45; } 50% { transform: rotate(45deg) translate(3px, 3px); opacity: 0.9; } }
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 17px; letter-spacing: 0.16em; text-transform: uppercase; min-width: 250px; height: 68px; padding: 0 30px; transition: filter .2s ease, transform .2s var(--ease); position: relative; }
button.btn { -webkit-appearance: none; appearance: none; background: none; margin: 0; cursor: pointer; }
.btn-primary, .btn-ghost { --cap: 56px; color: #ffe3b0; border-style: solid; border-color: transparent; border-width: 0 var(--cap); border-image: url(../img/slot.webp?v=cdf2868b) 0 100 fill / 0 var(--cap) stretch; padding: 0 14px; min-width: 300px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 14px rgba(255, 130, 40, 0.55); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)); }
.btn-primary::after, .btn-ghost::after { content: ""; --from: 100%; position: absolute; inset: 0 calc(var(--cap) * -1); pointer-events: none;
  border-style: solid; border-color: transparent; border-width: 0 var(--cap); border-image: url(../img/slot.webp?v=cdf2868b) 0 100 fill / 0 var(--cap) stretch;
  filter: brightness(2.3) saturate(1.25); mix-blend-mode: screen; opacity: .7;
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(115deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 320% 100%; mask-size: 320% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: var(--from) 0; mask-position: var(--from) 0;
  transition: -webkit-mask-position .8s ease, mask-position .8s ease; }
[dir="rtl"] .btn-primary::after, [dir="rtl"] .btn-ghost::after { --from: 0%; }
.btn-primary:hover::after, .btn-ghost:hover::after { -webkit-mask-position: calc(100% - var(--from)) 0; mask-position: calc(100% - var(--from)) 0; }
.btn-primary:hover, .btn-ghost:hover { color: #fff4dc; filter: brightness(1.2) saturate(1.1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(255, 120, 40, 0.55)); transform: translateY(-2px); }
.hero .btn-primary { animation: fadeUp .9s .55s var(--ease) both, ctaglow 3.4s 1.6s ease-in-out infinite; }
@keyframes ctaglow { 0%, 100% { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 0 rgba(255, 120, 40, 0)); } 50% { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 20px rgba(255, 120, 40, 0.6)); } }
.hero .btn-primary::after { animation: glint 5.2s 2.4s ease-in-out infinite; }
.hero .btn-primary:hover::after { animation: none; }
@keyframes glint { 0%, 62% { -webkit-mask-position: var(--from) 0; mask-position: var(--from) 0; } 92%, 100% { -webkit-mask-position: calc(100% - var(--from)) 0; mask-position: calc(100% - var(--from)) 0; } }
@media (prefers-reduced-motion: reduce) { .hero .btn-primary::after { animation: none; } }
.btn-small { min-width: 0; height: 50px; font-size: 14px; padding: 0 26px; }
.btn-primary.btn-small, .btn-ghost.btn-small { --cap: 41px; padding: 0 10px; min-width: 0; }
.btn-primary.btn-hero { --cap: 70px; height: 84px; min-width: 400px; font-size: 21px; letter-spacing: 0.2em; }
.btn-hero::before { content: ""; position: absolute; inset: -18px -40px; z-index: -1; background: radial-gradient(ellipse at center, rgba(255, 120, 40, 0.35), transparent 70%); filter: blur(10px); pointer-events: none; animation: breathe 3.4s ease-in-out infinite; }
section { padding: clamp(70px, 6.4vw, 120px) 0; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--display); color: var(--ember); letter-spacing: 0.32em; text-transform: uppercase; font-size: 14px; margin: 0 0 16px; text-shadow: 0 0 14px rgba(255, 130, 40, 0.4); }
.eyebrow::before { content: ""; flex: 0 0 40px; height: 10px; border-style: solid; border-color: transparent; border-width: 0 0 0 9px; border-image: url(../img/rail.webp?v=e63a0eee) 0 0 0 41 fill / 0 0 0 9px / 0 round; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; flex: 0 0 40px; height: 10px; border-style: solid; border-color: transparent; border-width: 0 9px 0 0; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 0 0 fill / 0 9px 0 0 / 0 round; }
.sub { color: var(--ink-dim); font-size: 19px; max-width: 760px; margin: 18px 0 0; line-height: 1.6; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.rule { height: 14px; margin: 0 auto 56px; max-width: 1400px; position: relative; border-style: solid; border-color: transparent; border-width: 0 13px; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 fill / 0 13px / 0 round; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.7)); }
.rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 86px; height: 27px; translate: -50% -50%; background: url(../img/rail-c.webp?v=ec7499e6) center / contain no-repeat; }
.rule.in::after, html:not(.js) .rule::after { animation: gleam 3.2s ease-in-out infinite; }
@keyframes gleam { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 161, 69, 0.45)); } 50% { filter: drop-shadow(0 0 12px rgba(255, 161, 69, 1)); } }
.sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.sec-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ground) 0%, rgba(10, 7, 8, 0.2) 22%, rgba(10, 7, 8, 0.2) 78%, var(--ground) 100%); }
.forge-step, .rule-counts a, .tile, .table-notes li { border: 30px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 30px / 0 stretch; background: none; }
.build-deck, .lib-filters { border: 26px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 26px / 0 stretch; }
.factions-sec { padding-bottom: clamp(60px, 6vw, 110px); }
.fgate { display: flex; gap: 12px; height: clamp(620px, 42vw, 780px); margin-top: 56px; }
.faction { position: relative; isolation: isolate; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 3px; cursor: pointer; background: #0c090b; box-shadow: 0 0 0 1px rgba(224, 176, 102, 0.18), 0 30px 60px rgba(0, 0, 0, 0.55); transition: flex-grow .7s var(--ease), box-shadow .4s ease; }
.faction.open { flex-grow: 4.2; cursor: default; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 46px color-mix(in srgb, var(--accent) 35%, transparent), 0 30px 60px rgba(0, 0, 0, 0.6); }
@media (min-width: 1101px) {
  .fgate:not(.js-gate):hover .faction { flex-grow: 1; }
  .fgate:not(.js-gate) .faction:hover { flex-grow: 4.2; }
}
.fg-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; transform: scale(1.06); filter: saturate(0.9) brightness(0.72); transition: transform 1.2s var(--ease), filter .7s ease; }
.faction.open .fg-art { transform: scale(1); filter: saturate(1.05) brightness(0.85); object-position: 72% 30%; }
.faction::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background:
  linear-gradient(0deg, rgba(8, 6, 7, 0.96) 0%, rgba(8, 6, 7, 0.55) 34%, rgba(8, 6, 7, 0.1) 62%, rgba(8, 6, 7, 0.35) 100%),
  linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 40%); transition: background .7s ease; }
.faction.open::before { background:
  linear-gradient(90deg, rgba(8, 6, 7, 0.97) 0%, rgba(8, 6, 7, 0.86) 34%, rgba(8, 6, 7, 0.25) 64%, rgba(8, 6, 7, 0.05) 100%),
  linear-gradient(0deg, rgba(8, 6, 7, 0.9) 0%, transparent 38%),
  radial-gradient(ellipse 60% 80% at 0% 100%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.faction::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), transparent); box-shadow: 0 0 18px var(--accent); opacity: .8; }
.faction-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.fg-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 12px 34px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: padding .7s var(--ease); }
.faction.open .fg-body { top: 0; right: auto; width: min(540px, 52%); padding: 48px 20px 230px clamp(28px, 3vw, 56px); text-align: start; align-items: flex-start; justify-content: safe center; }
.faction .word-h { margin: 0; line-height: 0; }
.faction .word-h a { width: min(200px, 100%); transition: width .7s var(--ease); }
.faction.open .word-h a { width: min(360px, 100%); }
.faction .word { width: 100%; margin: 0 0 12px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.8)); }
.faction .stance { font-family: var(--display); font-size: clamp(15px, 1.2vw, 22px); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; line-height: 1.2; text-wrap: balance; overflow-wrap: anywhere; }
.faction.open .stance { font-size: clamp(22px, 1.9vw, 32px); margin-bottom: 14px; white-space: normal; }
.faction .stance span { color: var(--accent-text, var(--accent)); text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent); }
.fg-more { display: grid; grid-template-rows: 0fr; opacity: 0; overflow: hidden; transition: grid-template-rows .6s var(--ease), opacity .4s ease; }
.fg-more > * { min-height: 0; }
.faction.open .fg-more { grid-template-rows: 1fr; opacity: 1; transition-delay: .25s; flex-shrink: 0; }
.fg-more > div { margin: 0; }
.fg-more p { margin: 0 0 12px; }
.faction p { color: var(--ink); max-width: 460px; font-size: 17px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); }
.faction .kw { color: var(--ink-dim); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--display); }
.faction .kw b { color: var(--kw, var(--accent-text, var(--accent))); font-weight: 700; }
.fan { position: relative; display: flex; justify-content: center; align-items: flex-end; isolation: isolate; }
.faction .fan { position: absolute; right: 64px; bottom: 5%; width: min(50%, 440px); min-width: 380px; opacity: 0; pointer-events: none; transform: translateY(40px) scale(.94); transition: opacity .45s ease, transform .7s var(--ease); animation: none; }
.faction.open .fan { opacity: 1; pointer-events: auto; transform: none; transition-delay: .3s; }
.fan::before { content: ""; position: absolute; inset: 10% 15%; background: radial-gradient(ellipse at center, var(--accent), transparent 68%); opacity: .3; filter: blur(30px); z-index: -1; }
.fan .card { display: block; z-index: 1; width: 27%; max-width: 190px; margin: 0 -4.5%; animation: float 7s ease-in-out infinite; transition: rotate .3s ease, translate .3s ease; transform-origin: 50% 115%; cursor: zoom-in; }
.fan .card:focus-visible { outline: 2px solid var(--gold-dim); outline-offset: 4px; border-radius: 2px; }
.fan .card img { width: 100%; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 220, 170, 0.1); border-radius: 3.5% / 2.4%; }
.fan .card:nth-child(1) { rotate: -15deg; animation-delay: -1s; }
.fan .card:nth-child(2) { rotate: -7.5deg; translate: 0 -2%; animation-delay: -3.5s; }
.fan .card:nth-child(3) { rotate: 0deg; translate: 0 -3.5%; z-index: 2; animation-delay: -5s; }
.fan .card.back { z-index: 0; }
.fan .card:nth-child(4) { rotate: 7.5deg; translate: 0 -2%; animation-delay: -2.2s; }
.fan .card:nth-child(5) { rotate: 15deg; animation-delay: -6s; }
.fan:hover .card { animation-play-state: paused; }
.fan:hover .card:nth-child(1) { rotate: -19deg; translate: 0 -4%; }
.fan:hover .card:nth-child(2) { rotate: -9deg; translate: 0 -9%; }
.fan:hover .card:nth-child(3) { rotate: 0deg; translate: 0 -12%; }
.fan:hover .card:nth-child(4) { rotate: 9deg; translate: 0 -9%; }
.fan:hover .card:nth-child(5) { rotate: 19deg; translate: 0 -4%; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 1101px) and (max-width: 1700px) {
  .fgate { height: clamp(640px, 46vw, 780px); }
  .faction.open { flex-grow: 5.4; }
  .faction.open .fg-body { width: min(560px, 60%); padding-top: 28px; padding-bottom: 200px; }
  .faction.open .word-h a { width: min(360px, 100%, 19vw); }
  .faction.open .stance { font-size: clamp(20px, 1.7vw, 30px); margin-bottom: 10px; }
  .faction.open p { font-size: 16px; }
  .faction .fan { min-width: 340px; bottom: 4%; }
}
.faction.open .fan { scale: var(--fan-fit, 1); transform-origin: 100% 100%; }
.f-spark { --accent: var(--spark); --accent-text: var(--spark); }
.f-ash { --accent: var(--ash); --accent-text: #9e74ca; --kw: #b48ae0; }
.f-anvil { --accent: var(--anvil); --accent-text: var(--anvil); }
.f-rust { --accent: var(--rust); --accent-text: #b27b43; }
.f-forge { --accent: var(--forge); --accent-text: #dc5f49; --kw: #ff8a6a; }
@media (max-width: 1100px) {
  .fgate { flex-direction: column; height: auto; gap: 16px; }
  .faction, .faction.open { flex: none; cursor: default; }
  .faction::before, .faction.open::before { background:
    linear-gradient(0deg, rgba(8, 6, 7, 0.97) 0%, rgba(8, 6, 7, 0.82) 45%, rgba(8, 6, 7, 0.25) 75%, rgba(8, 6, 7, 0.4) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); }
  .faction .fg-body, .faction.open .fg-body { position: relative; top: auto; width: auto; padding: 150px 24px 12px; text-align: center; align-items: center; }
  .faction .word-h a, .faction.open .word-h a { width: min(300px, 70%); }
  .faction .stance, .faction.open .stance { font-size: 24px; margin-bottom: 12px; white-space: normal; }
  .fg-more, .faction.open .fg-more { grid-template-rows: 1fr; opacity: 1; }
  .faction p { margin-left: auto; margin-right: auto; }
  .faction .fan, .faction.open .fan { position: relative; right: auto; bottom: auto; width: auto; min-width: 0; opacity: 1; pointer-events: auto; transform: none; padding: 8px 0 34px; }
  .fg-art, .faction.open .fg-art { object-position: 50% 20%; }
}
@media (max-width: 820px) {
  .fan .card { width: 36%; margin: 0 -5%; }
  .fan:has(.card:nth-child(4)) .card { width: 28%; margin: 0 -8%; }
  .fan:has(.card:nth-child(4)) .card:nth-child(1) { rotate: -9deg; }
  .fan:has(.card:nth-child(4)) .card:nth-child(2) { rotate: -4.5deg; }
  .fan:has(.card:nth-child(4)) .card:nth-child(4) { rotate: 4.5deg; }
  .fan:has(.card:nth-child(4)) .card:nth-child(5) { rotate: 9deg; }
  .fan:has(.card:nth-child(4)):hover .card:nth-child(1) { rotate: -12deg; }
  .fan:has(.card:nth-child(4)):hover .card:nth-child(2) { rotate: -6deg; }
  .fan:has(.card:nth-child(4)):hover .card:nth-child(4) { rotate: 6deg; }
  .fan:has(.card:nth-child(4)):hover .card:nth-child(5) { rotate: 12deg; }
  .scene { margin: 0; }
  .faction .fg-body, .faction.open .fg-body { padding-top: 110px; }
}
.table-sec { background: radial-gradient(ellipse 70% 60% at 50% 45%, #1b1417, var(--ground) 70%); }
.scene { position: relative; aspect-ratio: 16 / 10; margin: 56px auto 0; max-width: 1320px; direction: ltr; container-type: inline-size; }
.table3d { position: absolute; inset: 0; transform-style: preserve-3d; perspective: 2864px; perspective: 217cqw; perspective-origin: 50% 10%; transition: perspective-origin .9s ease, perspective .9s ease; }
.plane { position: absolute; inset: 0; transform: rotateX(52deg); transform-origin: 50% 56%; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.scene.topdown .table3d { perspective-origin: 50% 50%; }
.scene.topdown .plane { transform: rotateX(0deg) scale(.96); }
.plane .felt { position: absolute; left: 15%; top: 12.7%; width: 70%; height: 74.6%; object-fit: fill; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7); }
.plane .m { position: absolute; width: 6%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); border-radius: 4% / 2.6%; transform: translateZ(2px); }
.plane .m.t { filter: brightness(0.9); }
.plane .pile { position: absolute; width: 6.4%; border-radius: 4% / 2.6%; transform: translateZ(2px); box-shadow: 1px 1px 0 #2a2124, 2px 2px 0 #1f181b, 3px 3px 0 #161113, 4px 6px 12px rgba(0, 0, 0, 0.7); }
.plane .pile.grave { box-shadow: 1px 1px 0 #2a2124, 2px 2px 0 #1f181b, 3px 5px 10px rgba(0, 0, 0, 0.7); filter: brightness(.85); }
.plane .far-hand { position: absolute; left: 50%; top: -1%; width: 26%; transform: translateX(-50%) translateZ(2px); display: flex; justify-content: center; }
.plane .far-hand img { width: 24%; margin: 0 -1.5%; border-radius: 4% / 2.6%; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6); transform-origin: 50% -30%; }
.plane .far-hand img:nth-child(1) { rotate: 12deg; } .plane .far-hand img:nth-child(2) { rotate: 4deg; } .plane .far-hand img:nth-child(3) { rotate: -4deg; } .plane .far-hand img:nth-child(4) { rotate: -12deg; }
.plane .gauge-bar { position: absolute; width: 19%; height: auto; transform: translateZ(2px); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7)); }
.plane .ember-row { position: absolute; height: 2.9%; display: flex; align-items: center; gap: 0.35%; transform: translateZ(2px); filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7)); }
.plane .ember-row .pip { height: 100%; aspect-ratio: 2.3; margin-left: 0.6%; background: url(../img/plaque.webp?v=b29aeea8) center / 100% 100% no-repeat; font-family: var(--display); font-size: clamp(6px, 0.95vw, 11px); color: #f5d89a; display: flex; align-items: center; justify-content: center; text-shadow: 0 1px 2px #000; }
.plane .ember-row i { height: 82%; aspect-ratio: 1; background: url(../img/stone-lit.webp?v=da8566ed) center / contain no-repeat; }
.plane .ember-row i.out { background-image: url(../img/stone-spent.webp?v=25c1c07e); }
.plane .ember-row i.half { height: 82%; aspect-ratio: 1 / 2; background-image: url(../img/stone-half.webp?v=6e0ebe7b); }
.hand { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); display: flex; align-items: flex-end; width: 44%; justify-content: center; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.7)); transition: transform .9s cubic-bezier(.2, .7, .2, 1), width .9s ease, bottom .9s ease; }
.hand img { width: 22%; margin: 0 -2.4%; border-radius: 4% / 2.6%; transform-origin: 50% 140%; transition: rotate .9s ease, translate .9s ease; }
.hand img:nth-child(1) { rotate: -14deg; translate: 0 9%; }
.hand img:nth-child(2) { rotate: -7deg; translate: 0 2%; }
.hand img:nth-child(3) { z-index: 1; }
.hand img:nth-child(4) { rotate: 7deg; translate: 0 2%; }
.hand img:nth-child(5) { rotate: 14deg; translate: 0 9%; }
.scene.topdown .hand { width: 34%; bottom: -2%; }
.scene.topdown .hand img { translate: 0 0; }
.view-toggle { position: absolute; right: 2%; top: 2%; z-index: 3; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 46px; background: none; border: 0; border-image: url(../img/slot.webp?v=cdf2868b) 0 100 fill / 0 44px stretch; color: #fff3df; font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; text-shadow: 0 0 12px rgba(255, 140, 50, 0.8), 0 1px 2px #000; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); transition: filter .2s ease; }
.view-toggle:hover { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(255, 130, 40, 0.6)) brightness(1.1); }
.view-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.view-toggle .ic-persp, .view-toggle .lbl-on { display: none; }
.scene.topdown .view-toggle .lbl-on { display: inline; }
.scene.topdown .view-toggle .lbl-off { display: none; }
.scene.topdown .view-toggle .ic-persp { display: block; }
.scene.topdown .view-toggle .ic-flat { display: none; }
.deck-try { margin: 14px 0 6px; padding: 14px 0 10px; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); }
.try-fan { display: flex; justify-content: center; align-items: flex-end; min-height: 152px;
  margin-bottom: 8px; }
.try-card { display: block; width: 36%; max-width: 112px; margin: 0 -13.5%;
  transform-origin: 50% 118%; rotate: calc(var(--i) * 4deg); translate: 0 calc(abs(var(--i)) * 3%); }
.try-card img { display: block; width: 100%; border-radius: 4% / 2.6%;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .65); }
.try-card { cursor: pointer; transition: translate .15s ease; }
.try-card.picked { translate: 0 calc(abs(var(--i)) * 3% - 14%); }
.try-card.picked img { filter: brightness(.42); }
.try-card:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.try-note { color: var(--ink); font-size: 12.5px; text-align: center; margin: 0 0 4px;
  line-height: 1.5; }
.try-sum { color: var(--ink-faint); font-size: 12px; text-align: center; margin: 0 0 10px; }
.deck-try .deck-acts { justify-content: center; }
.deck-try .btn:disabled { opacity: .55; cursor: default; }
.tier-worked { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--ink-dim);
  font-size: 14.5px; line-height: 1.65; }
.tier-worked b { font-family: var(--display); font-size: 19px; color: var(--ember);
  margin: 0 2px; letter-spacing: .02em; }
.tier-worked i { font-style: normal; color: var(--ink-faint); }
.trailer { padding: clamp(70px, 7vw, 120px) 0 clamp(40px, 4vw, 70px); }
.trailer-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.trailer-copy .sub { max-width: 520px; }
.film { position: relative; margin: 0; border: 1px solid rgba(224, 176, 102, 0.3);
  border-radius: 2px; background: #000; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .7), 0 0 60px rgba(255, 120, 40, 0.18), 0 0 0 1px rgba(0, 0, 0, .6) inset; }
.film::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--ember), transparent); box-shadow: 0 0 14px rgba(255, 130, 40, 0.7); pointer-events: none; }
@media (max-width: 1000px) { .trailer-grid { grid-template-columns: 1fr; } .trailer-copy { text-align: center; } .trailer-copy .eyebrow { justify-content: center; } .trailer-copy .sub { margin-left: auto; margin-right: auto; } }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.plane .played { opacity: 0; z-index: 4; }
.plane .played.on { animation: play-in 10s cubic-bezier(.24, .72, .3, 1) infinite; }
.plane .played-face.on { animation-name: play-in-face; }
@keyframes play-in {
  0%, 60% { opacity: 0; transform: translate3d(-5%, 215%, 165px) scale(2.55); }
  63% { opacity: 1; transform: translate3d(-4%, 170%, 140px) scale(2.2); }
  73.5% { opacity: 1; transform: translateZ(2px) scale(1); }
  96% { opacity: 1; transform: translateZ(2px) scale(1); }
  100% { opacity: 0; transform: translateZ(2px) scale(1); }
}
@keyframes play-in-face {
  0%, 60% { opacity: 0; transform: translate3d(-5%, 215%, 165px) scale(2.55); }
  63%, 71% { opacity: 1; transform: translate3d(-4%, 170%, 140px) scale(2.2); }
  73.5%, 100% { opacity: 0; transform: translateZ(2px) scale(1); }
}
.aim { position: absolute; left: 0; top: 0; height: 0.5%; min-height: 2px; opacity: 0;
  transform-origin: 0 50%; pointer-events: none; z-index: 2; }
.aim i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 138, 46, 0), #ff8a2e 55%, #ffe6b8);
  box-shadow: 0 0 6px rgba(255, 138, 46, .9), 0 0 16px rgba(255, 106, 0, .55); }
.aim::after { content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px;
  margin-top: -4.5px; background: #ffe6b8; opacity: 0;
  clip-path: polygon(100% 50%, 10% 100%, 34% 50%, 10% 0);
  filter: drop-shadow(0 0 5px rgba(255, 138, 46, .95)); }
.aim.on { animation: aim-run 10s linear infinite; }
.aim.on i { animation: aim-draw 10s linear infinite; }
.aim.on::after { animation: aim-head 10s linear infinite; }
.aim-b.on, .aim-b.on i, .aim-b.on::after { animation-delay: 5s; }
@keyframes aim-run { 0% { opacity: 0; } 2% { opacity: 1; } 7% { opacity: 1; } 9% { opacity: 0; } 100% { opacity: 0; } }
@keyframes aim-draw { 0% { transform: scaleX(0); } 5% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes aim-head { 0%, 4% { opacity: 0; } 5%, 8% { opacity: 1; } 9%, 100% { opacity: 0; } }
.hit { position: absolute; left: 0; top: 0; opacity: 0; z-index: 3; pointer-events: none;
  font-family: var(--display); font-size: clamp(15px, 2.1vw, 26px); font-weight: 700;
  color: #ffe6b8; text-shadow: 0 0 8px rgba(255, 106, 0, .9), 0 2px 3px rgba(0, 0, 0, .9);
  transform: translate(-50%, -50%); }
.hit.on { animation: hit-pop 10s linear infinite; }
.hit-b.on { animation-delay: 5s; }
@keyframes hit-pop {
  0%, 8% { opacity: 0; transform: translate(-50%, -50%) scale(.7); }
  10% { opacity: 1; transform: translate(-50%, -85%) scale(1.15); }
  12% { opacity: 1; transform: translate(-50%, -110%) scale(1); }
  17% { opacity: 0; transform: translate(-50%, -175%) scale(.95); }
  100% { opacity: 0; transform: translate(-50%, -175%) scale(.95); }
}
.plane .m.hero-card { animation: lunge-up 10s ease-in-out infinite; }
.plane .m.foe { animation: lunge-down 10s ease-in-out infinite; }
@keyframes lunge-up { 0%, 100% { transform: translateZ(2px); filter: none; } 4% { transform: translateZ(4px) translateY(8%); } 8% { transform: translateZ(12px) translateY(-92%); } 12% { transform: translateZ(2px) translateY(0); } 57% { filter: none; } 58% { filter: brightness(1.9) contrast(1.2); transform: translateZ(2px) translateX(4%); } 60% { filter: none; transform: translateZ(2px) translateX(-3%); } 62% { transform: translateZ(2px); } }
@keyframes lunge-down { 0%, 100% { transform: translateZ(2px); filter: none; } 7% { filter: none; } 8% { filter: brightness(1.9) contrast(1.2); transform: translateZ(2px) translateX(-4%); } 10% { filter: none; transform: translateZ(2px) translateX(3%); } 12% { transform: translateZ(2px); } 54% { transform: translateZ(4px) translateY(-8%); } 58% { transform: translateZ(12px) translateY(92%); } 62% { transform: translateZ(2px) translateY(0); } }
.table-notes { list-style: none; padding: 0; margin: 110px auto 0; max-width: var(--wrap); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; color: var(--ink-dim); text-align: start; }
.table-notes li { position: relative; padding: 4px 6px 2px; font-size: 15.5px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
.table-notes li b { color: var(--ember-hot); display: block; margin-bottom: 8px; font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 18px; }
@media (max-width: 900px) { .scene { aspect-ratio: 16 / 11; margin-top: 78px; } .hand { width: 48%; }
  .view-toggle { height: 48px; padding: 0 40px; border-image-width: 0 39px; font-size: 13px; top: -60px; left: 50%; right: auto; translate: -50% 0; width: max-content; max-width: 100%; } }
@media (max-width: 700px) {
  .scene { aspect-ratio: 16 / 14.5; clip-path: inset(-100vh 0); }
  .table3d { inset: 0 auto auto 50%; width: 145%; height: auto; aspect-ratio: 16 / 10; transform: translateX(-50%); perspective: 1030px; perspective: 315cqw; }
  .hand { width: 90%; }
  .scene.topdown .hand { width: 48%; bottom: -14%; }
  .scene .view-toggle { top: -58px; }
  .plane .ember-row .pip { font-size: 0; }
}
.scene .hand img, .plane img.m, .plane img.grave { cursor: zoom-in; }
.card-zoom { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; background: rgba(8, 6, 7, 0.55); -webkit-backdrop-filter: blur(16px) saturate(0.85); backdrop-filter: blur(16px) saturate(0.85); opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.card-zoom.open { opacity: 1; pointer-events: auto; }
.card-zoom img { width: min(88vw, 683px, calc(80vh * 683 / 1024)); height: auto; aspect-ratio: 683 / 1024; border-radius: 3.5% / 2.4%; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8); transform: scale(.93); transition: transform .28s cubic-bezier(.2, .7, .2, 1); cursor: default; }
@supports (height: 1dvh) { .card-zoom img { width: min(88vw, 683px, calc(80dvh * 683 / 1024)); } }
.card-zoom.open img { transform: none; }
.zoom-hold { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.zoom-switch .zs-card, .zoom-switch[aria-pressed="true"] .zs-full { display: none; }
.zoom-switch[aria-pressed="true"] .zs-card { display: inline; }
.zoom-switch[hidden] { display: none; }
.holdable { cursor: zoom-in; }
@media (prefers-reduced-motion: reduce) { .card-zoom, .card-zoom img { transition: none; } }
.library { padding: 0 0 16px; }
.center-cta { margin-top: 26px; }
.marquee { overflow: hidden; padding: 70px 0; margin: -70px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; animation: drift 80s linear infinite; }
.track img { width: 150px; --zoom: 1.5; --push: calc(150px * (var(--zoom) - 1) / 2); margin-right: 16px; border-radius: 4% / 2.6%; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.55); cursor: zoom-in; transition: transform .26s cubic-bezier(.2, .7, .2, 1); }
.track img:hover { transform: scale(var(--zoom)); position: relative; z-index: 2; }
.track img:hover ~ img { transform: translateX(var(--push)); }
.track img:has(~ img:hover) { transform: translateX(calc(-1 * var(--push))); }
.marquee:hover .track { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-rev { margin-top: -40px; }
.marquee-rev .track { animation-name: drift-back; animation-duration: 95s; }
.marquee-rev .track img { width: 124px; --push: calc(124px * (var(--zoom) - 1) / 2); opacity: .85; }
@keyframes drift-back { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.cards-page::before, .how-to::before, .codex::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 100vw; transform: translateX(-50%); height: 420px; z-index: -1;
  background: url(../img/wall.webp?v=1ab94ad7) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
}
.cards-page, .how-to, .codex { position: relative; }
.cards-page { padding: 110px var(--gutter) 80px; }
.cards-page.builder { max-width: 1840px; }
.cards-page h1 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; margin: 6px 0 16px; }
.cards-page .sub { max-width: 68ch; }
.card-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 8px; color: var(--ink-dim); font-size: 14px; }
.card-stats b { color: var(--ember); font-family: var(--display); font-size: 20px; margin-right: 6px; }
.catpips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 8px; color: var(--ink-dim);
  font-size: 14px; }
.catpip { display: inline-flex; align-items: center; gap: 7px; }
.catpip b { color: var(--ink); font-family: var(--display); }
.famline { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 8px; align-items: baseline; }
.famline a { font-family: var(--display); font-size: 15px; }
.fcount-in { color: var(--ink-faint); font-size: 12.5px; }
.type-says { list-style: none; margin: 18px 0 8px; padding: 0; max-width: 700px; }
.type-says li { position: relative; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line);
  color: var(--ink-dim); font-size: 14.5px; }
.type-says li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 6px;
  height: 6px; background: var(--gold-dim); transform: rotate(45deg); }
.card-count { color: var(--ink-faint); font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; font-size: 13px; margin: 14px 0 0; }
.card-none { color: var(--ink-dim); margin-top: 26px; }
.fblock { margin-top: 46px; }
.fblock h2.fhead { font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 0 0 12px; margin: 0 0 14px; border-bottom: 1px solid color-mix(in srgb, var(--accent, var(--gold)) 40%, transparent); }
.fblock h2.fhead .fname { color: var(--accent-text, var(--accent)); text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 45%, transparent); }
.fblock h2.fhead .fcount { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 0 auto; }
.fblock .fstance { font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.fblock .fblurb { color: var(--ink-dim); max-width: 70ch; margin-top: 8px; }
.fblock .fcount { color: var(--ink-faint); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--display); margin-top: 10px; }
#spark h2 .fname { color: #e8dcc0; } #ash h2 .fname { color: #b18ad0; } #anvil h2 .fname { color: #8fb4d8; }
#rust h2 .fname { color: #c08a5a; } #forge h2 .fname { color: #d9704a; }
.card-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.card-row { border: 1px solid var(--line); border-left: 2px solid var(--gold-dim); background: var(--panel); padding: 13px 15px; content-visibility: auto; contain-intrinsic-size: auto none auto 128px; display: flex; gap: 12px; align-items: flex-start; }
.cr-body { min-width: 0; flex: 1; }
.cr-thumb { flex: none; display: block; line-height: 0; border-radius: 2px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.5); transition: transform .2s ease, box-shadow .2s ease; }
.cr-thumb img { width: 72px; height: auto; display: block; }
.card-row:hover .cr-thumb { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.6); }
@media (max-width: 637px) { .card-row { contain-intrinsic-size: auto none auto 118px; } }
.card-row b { display: block; font-size: 15px; }
.card-row b a { color: var(--ink); }
.card-row:hover { border-color: rgba(217,166,89,.35); }
.card-row b a:hover { color: var(--gold); }
.card-row .tl { display: block; color: var(--ink-faint); font-size: 12.5px; letter-spacing: 0.06em; margin-top: 2px; }
.card-row .pair { display: inline-block; margin-top: 7px; font-family: var(--display); font-size: 13px; color: var(--ember); border: 1px solid var(--line); padding: 1px 7px; }
.card-row p { margin: 7px 0 0; color: var(--ink-dim); font-size: 13.5px; line-height: 1.5; }
#spark .card-row { border-left-color: #b9ad93; } #ash .card-row { border-left-color: #8a68a8; }
#anvil .card-row { border-left-color: #6d8ead; } #rust .card-row { border-left-color: #9a6a44; }
#forge .card-row { border-left-color: #b0563a; }
@media (max-width: 700px) { .cards-page { padding: 88px var(--gutter) 60px; } }
.kin-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.kin-list a { display: inline-block; border: 1px solid var(--line); border-left: 2px solid var(--gold-dim); background: var(--panel); padding: 8px 12px; font-size: 14px; color: var(--ink-dim); }
.kin-list a:hover { color: var(--gold); border-color: rgba(217,166,89,.4); }
.cards-page[class*="f-"] h1 { color: var(--accent); }
.cards-page[class*="f-"] .holo img { box-shadow: 0 26px 60px rgba(0,0,0,.7), 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent); }
.cards-page[class*="f-"] .eyebrow { color: color-mix(in srgb, var(--accent-text, var(--accent)) 75%, var(--ink-faint)); }
.cards-page[class*="f-"] .kin-list a:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card-row .cost, .card-nums .cost { display: inline-block; margin-top: 7px; margin-right: 6px; font-family: var(--display); font-size: 13px; color: #f5d89a; background: rgba(217,166,89,.12); border: 1px solid rgba(217,166,89,.3); padding: 1px 9px; }
.card-nums { margin: 10px 0 0; }
.card-nums .pair { margin-top: 0; }
.card-face { margin: 22px 0 6px; display: flex; justify-content: flex-start; }
.holo { position: relative; display: block; width: min(70vw, 340px); border-radius: 3.5% / 2.4%;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.holo img { display: block; width: 100%; height: auto; border-radius: inherit;
  box-shadow: 0 26px 60px rgba(0,0,0,.7); }
.holo::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; mix-blend-mode: screen; opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(42% 32% at calc(50% + var(--tx, 0%)) calc(50% + var(--ty, 0%)),
    rgba(255, 216, 158, .34), rgba(255, 168, 78, .13) 46%, rgba(255, 140, 60, 0) 72%); }
.holo.tilting::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .holo { transition: none; } .holo::after { display: none; } }
.fstance-big { color: var(--ink-faint); font-family: var(--display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; margin-top: 6px; }
.fnext { margin-top: 34px; color: var(--ink-dim); font-size: 14px; padding-top: 22px; position: relative; }
.fnext::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-style: solid; border-color: transparent; border-width: 0 9px; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 fill / 0 9px / 0 round; opacity: .8; }
.word-h a { display: inline-block; transition: filter .25s ease, transform .25s ease; }
.word-h a:hover { filter: brightness(1.12) drop-shadow(0 0 18px rgba(217,166,89,.25)); transform: translateY(-2px); }
.press-list { margin: 16px 0 0; padding-left: 20px; }
.press-list li { margin: 10px 0; line-height: 1.65; color: var(--ink-dim); }
.press-art { line-height: 2.2; }
.how-to .faq dt { color: var(--gold); }
.how-to { max-width: 820px; }
.how-to .lede-doc { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-dim); line-height: 1.65; margin: 10px 0 8px; }
.how-to h2 { font-family: var(--display); font-size: clamp(21px, 2.4vw, 28px); color: var(--gold); margin: 42px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.how-to p { margin: 12px 0; line-height: 1.7; }
.how-to b { color: var(--ink); }
.steps { margin: 16px 0 12px; padding-left: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.steps li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 10px; font-family: var(--display); font-size: 14px; color: var(--ember); letter-spacing: 0.06em; }
.tier-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 16px 0; }
.tier-row p { margin: 0; background: var(--panel); border: 1px solid var(--line); border-left: 2px solid var(--gold-dim); padding: 12px 14px; font-size: 14.5px; }
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px;
  margin: 16px 0 26px; max-width: 800px; }
.vx { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 12px; row-gap: 1px;
  align-items: center; align-content: center; text-align: left; min-height: 64px;
  font: inherit; cursor: pointer; color: var(--ink); background: none;
  border: 17px solid transparent; border-image: url(../img/plaque.webp?v=b29aeea8) 40 fill / 17px / 0 stretch;
  padding: 0 6px 0 0; margin: 0; position: relative; isolation: isolate;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5));
  transition: translate .25s var(--ease), filter .25s ease; }
.vx::before { content: ""; grid-row: 1 / 3; width: 46px; height: 46px; margin: -8px 0 -8px -9px;
  background: url(../img/horn.webp?v=9460ce0e) center / contain no-repeat;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)); transition: filter .25s ease, scale .25s var(--ease); }
.vx:hover { translate: 0 -2px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(255, 120, 40, .18)); }
.vx:hover::before { scale: 1.06; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6)) brightness(1.12); }
.vx:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.vx-word { grid-column: 2; font-family: var(--display); letter-spacing: .06em; font-size: 14px;
  text-transform: uppercase; color: var(--gold); line-height: 1.2; }
.vx-what { grid-column: 2; color: var(--ink-dim); font-size: 12.5px; line-height: 1.35; }
.vx.on { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(255, 120, 40, .35)); }
.vx.on .vx-word { color: var(--ember-hot); }
.vx.on::before { filter: drop-shadow(0 0 8px rgba(255, 140, 50, .8)) brightness(1.2) saturate(1.2); }
.vx::after { content: ""; position: absolute; left: -9px; top: 50%; width: 46px; height: 46px;
  translate: 0 -50%; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 2px rgba(255, 150, 60, .7), 0 0 18px 4px rgba(255, 120, 40, .45); }
.vx.on::after { animation: vxlive 1.3s ease-in-out infinite; }
@keyframes vxlive { 0%, 100% { opacity: .25; scale: 1; } 50% { opacity: 1; scale: 1.12; } }
@media (prefers-reduced-motion: reduce) { .vx.on::after { animation: none; opacity: .8; } }
.voices-row { display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%;
  margin: 14px auto 6px; }
.voices-row .vx { flex: 0 1 auto; }
@media (max-width: 600px) {
  .voices-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 440px; }
  .voices-row .vx { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; min-height: 50px;
    border-width: 12px; border-image-width: 12px; padding-inline-end: 2px; }
  .voices-row .vx::before { width: 34px; height: 34px; margin: -6px 0 -6px -6px; }
  .voices-row .vx::after { left: -6px; width: 34px; height: 34px; }
  .voices-row .vx-word { font-size: 11.5px; letter-spacing: .03em; }
  .voices-row .vx-what { font-size: 11px; }
  .voices-row .vx:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 4px); }
}
.terms { list-style: none; margin: 16px 0; padding: 0; max-width: 560px; }
.terms li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-dim); }
.terms li b { font-family: var(--display); color: var(--ink); white-space: nowrap; }
.terms li.sum { border-bottom: 0; border-top: 2px solid var(--gold-dim); margin-top: 4px;
  padding-top: 11px; color: var(--ink); }
.terms li.sum b { color: var(--gold); font-size: 19px; }
.card-step { display: flex; gap: 12px; margin: 34px 0 6px; }
.card-step a { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 3px;
  background: var(--panel); border: 1px solid var(--line); padding: 12px 15px; font-size: 15px;
  color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: border-color .15s ease, background .15s ease; }
.card-step a:hover { border-color: var(--gold-dim); background: var(--panel-2); color: var(--gold); }
.card-step span { font-family: var(--display); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-faint); }
.card-step .step-prev { border-inline-start: 2px solid var(--gold-dim); }
.card-step .step-next { border-inline-end: 2px solid var(--gold-dim); text-align: end;
  margin-inline-start: auto; }
@media (max-width: 560px) { .card-step { flex-direction: column; } .card-step a { flex: none; } }
.faq { margin: 16px 0 0; }
.doc-cta { margin-top: 44px; }
.card-peek { position: fixed; left: var(--px, 0); top: var(--py, 0); width: 260px; height: auto;
  z-index: 60; pointer-events: none; opacity: 0; transform: scale(.96);
  transition: opacity .16s ease, transform .16s cubic-bezier(.2, .7, .2, 1);
  border-radius: 3.5% / 2.4%; box-shadow: 0 22px 56px rgba(0, 0, 0, .78),
  0 0 0 1px rgba(217, 166, 89, .22); }
.card-peek.on { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .card-peek { transition: none; } }
.builder .build-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 340px; gap: 26px;
  align-items: start; margin-top: 8px; }
.builder .build-pool { min-width: 0; }
.cr-add { flex: none; align-self: center; width: 34px; height: 34px; border: 1px solid var(--line);
  background: rgba(217, 166, 89, .08); color: var(--gold); font-family: var(--display);
  font-size: 19px; line-height: 1; cursor: pointer; border-radius: 2px;
  transition: background .15s ease, color .15s ease, border-color .15s ease; }
.cr-add:hover { background: rgba(217, 166, 89, .2); color: var(--ember); border-color: var(--gold-dim); }
.cr-add:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (pointer: coarse) { .cr-add { width: 44px; height: 44px; font-size: 22px; } }
.card-row.in-deck { border-left-color: var(--gold); background: rgba(217, 166, 89, .07); }
.card-row.in-deck .cr-add { background: rgba(217, 166, 89, .26); color: var(--ember); }
.build-deck { position: sticky; top: 88px; padding: 6px 8px 8px;
  max-height: calc(100vh - 104px); overflow-y: auto; overscroll-behavior: contain; }
.build-deck h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: 0.08em; color: var(--ember-hot); text-shadow: 0 0 14px rgba(255, 130, 40, 0.4); }
.deck-pick { margin: 0 0 10px; }
.deck-pick select, .deck-pick input { width: 100%; box-sizing: border-box; height: 34px;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line); color: var(--ink);
  font-family: var(--display); font-size: 13px; letter-spacing: .06em; padding: 0 8px;
  border-radius: 2px; }
.deck-pick select:focus-visible, .deck-pick input:focus-visible { outline: 2px solid var(--gold);
  outline-offset: 1px; }
@media (pointer: coarse) { .deck-pick select, .deck-pick input { height: 44px; } }
.deck-tally { margin: 0 0 8px; font-family: var(--display); color: var(--ink-dim); font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; }
.deck-tally b { color: var(--gold); font-size: 22px; }
.build-deck.full .deck-tally b { color: var(--ember); }
.deck-bar { height: 4px; background: rgba(255, 255, 255, .07); border-radius: 2px; overflow: hidden; }
.deck-fill { display: block; height: 100%; background: var(--gold-dim);
  transition: width .3s cubic-bezier(.2, .7, .2, 1); }
.build-deck.full .deck-fill { background: var(--ember); }
.dfp-0 { width: 0%; }
.dfp-5 { width: 5%; }
.dfp-10 { width: 10%; }
.dfp-15 { width: 15%; }
.dfp-20 { width: 20%; }
.dfp-25 { width: 25%; }
.dfp-30 { width: 30%; }
.dfp-35 { width: 35%; }
.dfp-40 { width: 40%; }
.dfp-45 { width: 45%; }
.dfp-50 { width: 50%; }
.dfp-55 { width: 55%; }
.dfp-60 { width: 60%; }
.dfp-65 { width: 65%; }
.dfp-70 { width: 70%; }
.dfp-75 { width: 75%; }
.dfp-80 { width: 80%; }
.dfp-85 { width: 85%; }
.dfp-90 { width: 90%; }
.dfp-95 { width: 95%; }
.dfp-100 { width: 100%; }
.build-deck .curve { height: 96px; max-width: none; margin: 16px 0 6px; }
.deck-mix, .deck-make, .deck-kin { margin: 0 0 4px; font-size: 13px; color: var(--ink-faint);
  font-family: var(--display); letter-spacing: .06em; }
.deck-kin { margin-bottom: 10px; color: var(--gold-dim); }
.deck-mix:empty, .deck-make:empty, .deck-kin:empty { margin: 0; }
.deck-cards { list-style: none; margin: 0; padding: 0; }
.dc { display: flex; align-items: baseline; gap: 10px; padding: 6px 0;
  border-bottom: 1px solid var(--line); font-size: 14px; }
.dc a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-cost { flex: none; width: 26px; text-align: end; font-family: var(--display);
  color: var(--gold); }
.dc-rm { flex: none; border: 0; background: none; color: var(--ink-faint); cursor: pointer;
  font-size: 17px; line-height: 1; padding: 0 2px; }
.dc-rm:hover { color: var(--ember); }
.deck-empty { margin: 10px 0 0; color: var(--ink-faint); font-size: 13.5px; }
.deck-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.deck-acts .btn { min-width: 0; height: 40px; font-size: 12px; padding: 0 14px; letter-spacing: .1em; }
.deck-note { margin: 10px 0 0; min-height: 1.2em; font-size: 13px; color: var(--gold); }
.deck-seed { margin: 14px 0 0; font-size: 13px; color: var(--ink-faint); }
.deck-io { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.deck-io summary { cursor: pointer; font-family: var(--display); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); }
.deck-io summary:hover { color: var(--gold); }
.deck-io .sub { font-size: 12.5px; margin: 8px 0; }
.deck-io textarea { width: 100%; box-sizing: border-box; background: rgba(0, 0, 0, .3);
  border: 1px solid var(--line); color: var(--ink); font: 13px/1.5 var(--mono, ui-monospace,
  SFMono-Regular, Menlo, monospace); padding: 8px; resize: vertical; border-radius: 2px; }
.deck-io textarea:focus-visible { outline: 2px solid var(--gold); outline-offset: 1px; }
.deck-io .btn { margin-top: 8px; }
@media (max-width: 1000px) {
  .build-deck { order: -1; position: static; max-height: 46vh; }
}
.deck-noscript { margin: 8px 0 14px; padding: 10px 12px;
  border-inline-start: 2px solid var(--gold-dim);
  background: rgba(217, 166, 89, .06); font-size: 13.5px; color: var(--ink-dim); line-height: 1.6; }
.rule-counts { list-style: none; margin: 40px auto 34px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; max-width: 1180px; }
.rule-counts a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 212px; padding: 12px 8px 6px; text-align: center; color: var(--ink); text-decoration: none; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5)); transition: translate .35s var(--ease), filter .35s ease; }
.rule-counts a:hover { translate: 0 -6px; filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(255, 120, 40, 0.3)); }
.rule-counts a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.rule-counts + .center-cta { text-align: center; margin-top: 0; }
.rc-n { font-family: var(--display); font-size: clamp(66px, 6.2vw, 112px); line-height: .9; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 24px rgba(255, 130, 40, 0.28)); }
.rc-l { font-family: var(--display); font-size: 15px; letter-spacing: 0.22em; padding-inline-start: 0.22em; text-transform: uppercase; color: var(--gold); }
.rule-counts a:hover .rc-l { color: var(--ember-hot); }
@media (max-width: 900px) { .rule-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 560px; } }
@media (max-width: 600px) {
  .rule-counts { margin: 28px auto 24px; gap: 10px; }
  .rule-counts a { min-height: 138px; gap: 6px; border-width: 22px; border-image-width: 22px; }
  .rc-n { font-size: 58px; }
  .rc-l { font-size: 12px; letter-spacing: 0.16em; padding-inline-start: 0.16em; }
}
@media (forced-colors: active) { .rc-n { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; } }
.chip { font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); border: 1px solid rgba(255, 255, 255, 0.1); padding: 6px 10px; }
@media (pointer: coarse) {
  .chip { padding-top: 12px; padding-bottom: 12px; }
}
.chip:hover { border-color: rgba(217,166,89,.4); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; margin-top: 44px; }
.tile { position: relative; padding: 22px 14px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-height: 250px; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5)); transition: translate .35s var(--ease), filter .35s ease; }
.tile:hover { translate: 0 -6px; filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(255, 120, 40, 0.3)); }
.tile .mark { width: 54px; height: 54px; color: var(--ink); }
.tile .mark svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 10px rgba(255, 161, 69, 0.25)); transition: filter .3s ease, transform .3s ease; }
.tile:hover .mark svg { filter: drop-shadow(0 0 16px rgba(255, 161, 69, 0.6)); transform: scale(1.08); }
.tile h3 { color: var(--ink); }
.tile p { color: var(--ink-dim); font-size: 15px; margin: 0; flex: 1; }
.tile .soon-tag { align-self: center; font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dim); border: 1px solid rgba(217, 166, 89, 0.3); padding: 8px 14px; }
.fine { color: var(--ink-faint); font-size: 14px; margin-top: 28px; max-width: 760px; }
#rules .fine, .play-sec .fine { text-align: center; margin-left: auto; margin-right: auto; }
.fine a { color: var(--gold-dim); }
footer { border-top: 1px solid rgba(255, 255, 255, 0.06); padding: 40px 0 48px; color: var(--ink-faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; margin: 0; padding: 0; }
footer a { color: var(--ink-dim); display: inline-block; padding: 11px 0; }
.doc-langs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.06); width: 100%; }
.doc-langs a { color: var(--ink-faint); font-size: 13px; }
.doc-langs a:hover { color: var(--gold); }
.fine a { display: inline-block; padding: 4px 0; }
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc .meta { color: var(--ink-faint); font-size: 14px; margin-bottom: 40px; }
.doc h2 { font-size: 22px; letter-spacing: 0.06em; margin: 44px 0 12px; color: var(--gold); }
.doc h3 { font-size: 17px; letter-spacing: 0.06em; margin: 26px 0 8px; color: var(--ink); }
.delete-here .delete-name { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 18px 0; }
.delete-here .delete-name label { color: var(--gold); font-size: 15px; }
.delete-here .delete-name input { flex: 1 1 220px; max-width: 320px; height: 44px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink); border: 1px solid rgba(224, 176, 102, 0.3); border-radius: 2px; background: rgba(0, 0, 0, 0.45); box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6); }
.delete-here .delete-signin { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; min-height: 44px; }
.delete-here .delete-apple { height: 40px; padding: 0 18px; font: inherit; font-size: 15px; color: #fff; background: #000; border: 1px solid #666; border-radius: 4px; cursor: pointer; }
.delete-here .delete-microsoft { display: inline-flex; align-items: center; gap: 12px; height: 41px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 600; color: #5e5e5e; background: #fff; border: 1px solid #8c8c8c; border-radius: 0; cursor: pointer; }
.delete-here .delete-microsoft .ms-logo { flex: none; width: 21px; height: 21px; }
.delete-here .delete-said { min-height: 1.5em; margin-top: 14px; color: var(--ink); }
.delete-here .delete-said.bad { color: #ff9a7a; }
.delete-here.done .delete-signin { display: none; }
.delete-here .delete-what { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 16px 0; padding: 0; border: 0; }
.delete-here .delete-what legend { color: var(--gold); font-size: 15px; margin-bottom: 8px; }
.delete-here .delete-what label { display: flex; gap: 8px; align-items: center; min-height: 44px; cursor: pointer; }
.delete-here [hidden] { display: none; }
.signin-here .signin-said { min-height: 1.5em; margin: 18px 0; font-size: 18px; color: var(--ink); }
.signin-here .signin-said.bad { color: #ff9a7a; }
.signin-here .signin-again { margin: 18px 0 8px; }
.doc p, .doc li { color: var(--ink-dim); }
.doc li { margin-bottom: 8px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0 24px; font-size: 15px; }
.odds-wrap { overflow-x: auto; margin: 12px 0 18px; }
table.odds { border-collapse: collapse; width: 100%; max-width: 820px; font-size: 15px; }
table.odds th, table.odds td { text-align: center; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); white-space: nowrap; }
table.odds th { color: var(--ink); font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
table.odds tr > th:first-child { text-align: start; white-space: normal; text-transform: none; letter-spacing: 0; font-family: inherit; font-size: 15px; }
table.odds td { color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.doc th, .doc td { text-align: start; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
.doc th { color: var(--ink); font-family: var(--display); letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; }
.doc td { color: var(--ink-dim); }
.doc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--ink); background: rgba(255, 255, 255, 0.05); padding: 1px 5px; }
.doc .note { border-inline-start: 3px solid var(--ember); padding: 12px 18px; background: rgba(255, 161, 69, 0.06); color: var(--ink); margin: 18px 0; }
.doc .note p { color: var(--ink); margin: 0; }
.faq dt { font-weight: 700; color: var(--ink); margin-top: 22px; }
.faq dd { margin: 6px 0 0; color: var(--ink-dim); line-height: 1.65; }
@supports (animation-timeline: view()) {
  .tile, .rule-counts li, .table-notes li, .forge-step, .tier, .center > *, .fine, .dl-grid {
    animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
  }
  .tile:nth-child(2), .rule-counts li:nth-child(2) { animation-range: entry 8% entry 48%; }
  .tile:nth-child(3), .rule-counts li:nth-child(3) { animation-range: entry 16% entry 56%; }
  .rule-counts li:nth-child(4) { animation-range: entry 24% entry 64%; }
  .fan:not(.faction .fan) { animation: fanIn linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .scene { animation: tableIn linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .hand { animation: handIn linear both; animation-timeline: view(); animation-range: entry 10% entry 75%; }
  .faction .word { animation: wordIn linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@keyframes fanIn { from { opacity: 0; transform: translateY(60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes tableIn { from { opacity: 0; transform: translateY(70px); } to { opacity: 1; transform: none; } }
@keyframes handIn { from { opacity: 0; transform: translate(-50%, 50px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes wordIn { from { opacity: 0; transform: translateX(-42px) scale(.985); } to { opacity: 1; transform: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .hero { padding: 12px 0 36px; grid-template-columns: minmax(0, 1fr); }
  .hero-inner { width: 100%; }
  .logo-wrap { --w: min(150vw, calc((100svh - 344px) * 1.5)); width: var(--w); min-width: 0; margin: 0 calc((100% - var(--w)) / 2) 2px; }
  .tagline { font-size: 12px; letter-spacing: 0.3em; padding-inline-start: 0.3em; margin-bottom: 14px; gap: 10px; }
  .tagline::before, .tagline::after { flex-basis: 22px; }
  .lede { font-size: 16px; line-height: 1.45; margin-bottom: 20px; }
  .cta { gap: 10px; margin-bottom: 14px; width: 100%; }
  .btn { min-width: 0; font-size: clamp(13px, 3.6vw, 15px); letter-spacing: 0.08em; padding: 0 16px; white-space: normal; line-height: 1.15; }
  .cta .btn { height: 60px; width: 100%; font-size: clamp(15px, 4.2vw, 17px); letter-spacing: 0.12em; }
  .cta .btn-hero { --cap: 49px; min-width: 0; }
}
@media (max-width: 600px) and (max-height: 720px) {
  .hero { padding: 8px 0 24px; }
  .logo-wrap { --w: min(150vw, calc((100svh - 300px) * 1.5)); }
  .tagline { font-size: 12px; letter-spacing: 0.22em; padding-inline-start: 0.22em; margin-bottom: 10px; }
  .lede { font-size: 15px; line-height: 1.4; margin-bottom: 14px; }
  .cta { gap: 8px; margin-bottom: 10px; }
  .cta .btn { height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html, html:focus-within:not(:has(:target:focus-within)) { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
.forge { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 56px; text-align: start; }
.forge-step { position: relative; padding: 18px 12px 14px; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.5)); transition: translate .35s var(--ease), filter .35s ease; }
.forge-step:hover { translate: 0 -8px; filter: drop-shadow(0 30px 36px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 26px rgba(255, 120, 40, 0.28)); }
.forge-step .step-n { display: block; font-family: var(--display); font-size: 54px; line-height: 1; margin-bottom: 12px; letter-spacing: 0.02em; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.forge-step h3 { color: var(--ember-hot); margin-bottom: 12px; text-shadow: 0 0 18px rgba(255, 130, 40, 0.35); }
.forge-step p { color: var(--ink-dim); margin: 0; font-size: 16px; }
.forge-step p b { color: var(--ink); }
.tiers { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 14px; margin: 60px auto 0; max-width: 1240px; }
.tier { flex: 1 1 200px; text-align: center; padding: 26px 14px 22px; position: relative; isolation: isolate; background: radial-gradient(ellipse 80% 70% at 50% 0%, color-mix(in srgb, var(--tier) 16%, transparent), transparent 70%), linear-gradient(180deg, rgba(31, 23, 27, 0.92), rgba(12, 9, 11, 0.92)); box-shadow: inset 0 0 0 1px rgba(224, 176, 102, 0.16), inset 0 1px 0 rgba(255, 230, 190, 0.08), 0 24px 44px rgba(0, 0, 0, 0.5); transition: translate .35s var(--ease), box-shadow .35s ease; }
.tier:hover { translate: 0 -6px; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tier) 55%, transparent), 0 0 34px color-mix(in srgb, var(--tier) 28%, transparent), 0 30px 50px rgba(0, 0, 0, 0.6); }
.tier::before { content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--tier), transparent); box-shadow: 0 0 16px var(--tier); }
.tier .gem { display: block; width: 56px; height: auto; margin: 0 auto 14px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)) drop-shadow(0 0 16px var(--tier)); animation: gemglow 4s ease-in-out infinite; }
.t-empowered .gem { width: 60px; animation-delay: -1s; } .t-refined .gem { width: 64px; animation-delay: -2s; } .t-perfected .gem { width: 70px; animation-delay: -3s; }
@keyframes gemglow { 0%, 100% { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)) drop-shadow(0 0 10px var(--tier)); } 50% { filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)) drop-shadow(0 0 24px var(--tier)); } }
.tier b { display: block; font-family: var(--display); letter-spacing: 0.14em; text-transform: uppercase; font-size: 19px; color: var(--ink); }
.tier span { display: block; margin-top: 6px; color: var(--ink-dim); font-size: 15px; }
.t-normal { --tier: #ccd2d8; } .t-empowered { --tier: #88cbff; } .t-refined { --tier: #fff88d; } .t-perfected { --tier: #ff3130; }
.tier-arrow { width: 22px; align-self: center; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim)); position: relative; }
.tier-arrow::after { content: ""; position: absolute; right: -1px; top: -4px; width: 7px; height: 7px; border-top: 1px solid var(--gold-dim); border-right: 1px solid var(--gold-dim); transform: rotate(45deg); }
[dir="rtl"] .tier-arrow { transform: scaleX(-1); }
@media (max-width: 640px) { .tier-arrow { display: none; } .tier { flex-basis: 45%; } }
.h2-shine { background: linear-gradient(100deg, transparent 0%, transparent 40%, rgba(255, 246, 226, 0.95) 50%, transparent 60%, transparent 100%), var(--metal); background-size: 250% 100%, 100% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65)); animation: shine 7s ease-in-out 2; }
.js .h2-shine { animation-play-state: paused; }
.js .h2-shine.in { animation-play-state: running; will-change: background-position; }
@media (forced-colors: active) { .h2-shine { background: none; -webkit-text-fill-color: CanvasText; color: CanvasText; animation: none; } }
@keyframes shine { 0%, 30% { background-position: 100% 0, 0 0; } 60%, 100% { background-position: 0 0, 0 0; } }
.no-sda.js .reveal-target { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.no-sda.js .reveal-target.in { opacity: 1; transform: none; }
.tilting { transition: none !important; will-change: transform; }
@media (max-width: 820px) {
  .faction { text-align: center; }
  .faction .word { margin-left: auto; margin-right: auto; }
  .faction p { margin-left: auto; margin-right: auto; }
  .fan { min-height: 0; padding-top: 18px; }
}
.nav li.lang details { position: static; }
.nav li.lang summary { white-space: nowrap; list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; color: var(--ink-dim); font-family: var(--display); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; transition: color .2s ease, text-shadow .2s ease; }
.nav li.lang summary::-webkit-details-marker { display: none; }
.nav li.lang summary:hover, .nav li.lang details[open] > summary { color: var(--ember-hot); text-shadow: 0 0 16px rgba(255, 140, 50, 0.55); }
.nav li.lang summary:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; }
.nav li.lang summary svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }
@media (max-width: 1220px) {
  .nav li.lang { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 12px 0; }
  .nav li.lang summary { font-size: 16px; }
}
.plane .at2 { left: 4.4%; top: 23%; }
.plane .at6 { left: 89.2%; top: 23%; }
.plane .at7 { left: 19.5%; top: 19.2%; }
.plane .at8 { left: auto; right: 19.5%; top: 19.1%; }
.plane .at23 { left: 19.5%; top: 78.1%; }
.plane .at24 { left: auto; right: 19.5%; top: 77.92%; }
.plane .at9 { left: 47%; top: 18.9%; }
.plane .at10 { left: 39.2%; top: 34.6%; }
.plane .at11 { left: 47%; top: 34.6%; }
.plane .at12 { left: 54.8%; top: 34.6%; }
.plane .at13 { left: 43.1%; top: 51%; }
.plane .at14 { left: 50.9%; top: 51%; }
.plane .at15 { left: 43.1%; top: 66.7%; }
.plane .at16 { left: 50.9%; top: 66.7%; }
.plane .at25 { left: 58.7%; top: 51%; }
.plane .at17 { left: 4.4%; top: 62%; }
.plane .at18 { left: 89.2%; top: 62%; }
@media (min-width: 601px) and (max-height: 820px) {
  .hero { padding: 24px 0 48px; }
  .logo-wrap { margin-bottom: 0; }
  .tagline { margin-bottom: 12px; }
  .lede { margin-bottom: 18px; font-size: clamp(16px, 2vw, 19px); }
  .cta { margin-bottom: 14px; }
}
.curve { display: flex; align-items: flex-end; gap: 8px; height: 132px; margin: 18px 0 8px; max-width: 460px; }
.cv { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; }
.cv-track { flex: 1 1 auto; width: 100%; min-height: 0; position: relative; border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, #0c0909, #17110f); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .85), inset 0 3px 8px rgba(0, 0, 0, .9), 0 0 0 1px rgba(224, 176, 102, .16); }
.cv-bar { position: absolute; left: 3px; right: 3px; bottom: 3px; width: auto; max-height: calc(100% - 6px); border-radius: 2px 2px 1px 1px;
  background: linear-gradient(180deg, #ffe3a6 0, #ffae4a 7px, #e5641a 45%, #8a2a09 100%);
  box-shadow: 0 0 12px rgba(255, 120, 40, .45), inset 0 1px 0 rgba(255, 244, 210, .85), inset 0 -4px 8px rgba(60, 10, 0, .6); }
.cv-bar:not(.cvp-0)::before { content: ""; position: absolute; left: 50%; top: -9px; width: 18px; height: 18px; translate: -50% 0;
  background: url(../img/stone-lit.webp?v=da8566ed) center / contain no-repeat; filter: drop-shadow(0 0 5px rgba(255, 140, 50, .8)); }
.cv b { font-family: var(--display); font-size: 12px; color: var(--ink-dim); margin-bottom: 12px; }
.cv i { font-style: normal; font-family: var(--display); font-size: 11px; letter-spacing: .08em; color: var(--ink-faint); margin-top: 6px; }
.cvp-0{height:0%}.cvp-5{height:5%}.cvp-10{height:10%}.cvp-15{height:15%}.cvp-20{height:20%}.cvp-25{height:25%}.cvp-30{height:30%}.cvp-35{height:35%}.cvp-40{height:40%}.cvp-45{height:45%}.cvp-50{height:50%}.cvp-55{height:55%}.cvp-60{height:60%}.cvp-65{height:65%}.cvp-70{height:70%}.cvp-75{height:75%}.cvp-80{height:80%}.cvp-85{height:85%}.cvp-90{height:90%}.cvp-95{height:95%}.cvp-100{height:100%}
.deck-card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px 32px; align-items: center; margin: 30px 0; padding: 14px 18px 18px; border: 30px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 30px / 0 stretch; background: none; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .55)); }
.deck-card .dk-art { position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -1; opacity: .8; filter: saturate(.95) brightness(.8); -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.deck-card h2 { margin: 0 0 2px; line-height: 0; }
.deck-card h2 a { display: inline-flex; align-items: flex-end; gap: 14px; color: var(--ink); }
.deck-card h2 .word { width: min(260px, 100%); height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .85)); transition: filter .3s ease, scale .3s var(--ease); }
.deck-card h2 span { font-family: var(--display); font-size: 15px; letter-spacing: .22em; text-transform: uppercase; line-height: 1; color: var(--ink-dim); padding-bottom: 14px; }
.deck-card h2 a:hover .word { scale: 1.03; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .85)) drop-shadow(0 0 16px color-mix(in srgb, var(--accent) 60%, transparent)); }
.deck-card .fstance { color: var(--accent-text, var(--accent)); font-family: var(--display); letter-spacing: .16em; text-transform: uppercase; font-size: 17px; margin: 10px 0 14px; text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent); }
.deck-card .curve { height: 132px; max-width: 420px; }
.deck-card .fcount { margin: 6px 0 0; }
.dk-stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.dk-stats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 2px 8px; border: 12px solid transparent; border-image: url(../img/plaque.webp?v=b29aeea8) 40 fill / 12px / 0 stretch; font-size: 12.5px; color: var(--ink-dim); }
.dk-stats b { font-family: var(--display); font-size: 19px; color: var(--ember-hot); text-shadow: 0 0 10px rgba(255, 130, 40, .45); }
.deck-card .dk-fan { align-self: end; justify-self: center; width: min(88%, 500px); margin: 0 0 -6px; min-height: 230px; }
.deck-card .dk-fan .card { max-width: 150px; }
@media (max-width: 600px) {
  .deck-card { border-width: 20px; border-image-width: 20px; padding: 8px 6px 12px; }
  .deck-card h2 a { flex-wrap: wrap; gap: 2px 10px; }
  .deck-card h2 .word { width: min(220px, 100%); }
  .deck-card h2 span { padding-bottom: 4px; }
  .ptile { border-width: 18px; border-image-width: 18px; }
}
@media (max-width: 900px) {
  .deck-card { grid-template-columns: minmax(0, 1fr); }
  .deck-card .dk-art { width: 100%; height: 62%; top: auto; bottom: 0; opacity: .55; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%); }
  .deck-card .dk-fan { min-height: 0; margin: 4px 0 0; }
}
.ptile-grid { --cols: 4; list-style: none; margin: 18px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 16px; }
.ptile-grid:has(> li:nth-child(5):last-child) { --cols: 5; }
@media (max-width: 1180px) {
  .ptile-grid { --cols: 2; }
  .ptile-grid:has(> li:nth-child(5):last-child) { --cols: 6; }
  .ptile-grid:has(> li:nth-child(5):last-child) > li { grid-column: span 2; }
  .ptile-grid:has(> li:nth-child(5):last-child) > li:nth-child(4) { grid-column: 2 / span 2; }
  .ptile-grid:has(> li:nth-child(7):last-child) > li:last-child { grid-column: 1 / -1; }
  .ptile-grid:has(> li:nth-child(7):last-child) > li:last-child .ptile:not(.pt-tall) { aspect-ratio: 32 / 10; }
}
@media (max-width: 620px) {
  .ptile-grid, .ptile-grid:has(> li:nth-child(5):last-child) { --cols: 1; }
  .ptile-grid:has(> li:nth-child(5):last-child) > li, .ptile-grid:has(> li:nth-child(5):last-child) > li:nth-child(4) { grid-column: auto; }
}
.ptile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; aspect-ratio: 16 / 10; height: 100%; padding: 10px 12px; border: 22px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 22px / 0 stretch; color: var(--ink); filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .55)); transition: translate .3s var(--ease), filter .3s ease; }
.ptile.pt-tall { aspect-ratio: auto; min-height: 250px; }
.ptile .pt-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; filter: saturate(.9) brightness(.72); transition: transform .7s var(--ease), filter .4s ease; }
.ptile::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 6, 7, .05) 20%, rgba(8, 6, 7, .55) 55%, rgba(8, 6, 7, .92) 100%); }
.ptile:hover { translate: 0 -6px; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px color-mix(in srgb, var(--accent, #ff8a2a) 38%, transparent)); }
.ptile:hover .pt-art { transform: scale(1.07); filter: saturate(1.05) brightness(.86); }
.ptile:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.pt-name { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.1; color: var(--accent-text, var(--gold)); text-shadow: 0 2px 10px #000, 0 0 18px color-mix(in srgb, var(--accent, #ff8a2a) 35%, transparent); }
.pt-what { font-size: 13.5px; line-height: 1.45; color: var(--ink); text-shadow: 0 1px 6px #000; }
.pt-meta { font-family: var(--display); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); text-shadow: 0 1px 4px #000; }
.pt-crests { position: absolute; top: 4px; right: 4px; display: flex; gap: 2px; }
.pt-crests img { width: 36px; height: 36px; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .85)); transition: scale .3s var(--ease); }
.ptile:hover .pt-crests img { scale: 1.08; }
.ptile.pt-rung { aspect-ratio: auto; min-height: 330px; justify-content: flex-start; align-items: center; text-align: center; padding: 14px 14px 12px; }
.ptile.pt-rung::before { background: radial-gradient(ellipse 70% 45% at 50% 24%, color-mix(in srgb, var(--gem) 34%, transparent), transparent 70%), linear-gradient(180deg, rgba(8, 6, 7, .6), rgba(8, 6, 7, .9)), url(../img/ground-forge.webp?v=9818d7b2) center / cover; }
.pt-gem { width: 96px; height: 96px; object-fit: contain; margin: 4px 0 8px; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .8)) drop-shadow(0 0 14px color-mix(in srgb, var(--gem) 60%, transparent)); transition: scale .35s var(--ease), filter .35s ease; }
.ptile.pt-rung:hover .pt-gem { scale: 1.1; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .8)) drop-shadow(0 0 22px var(--gem)); }
.pt-rung .pt-name { color: var(--gold); }
.pt-share { font-family: var(--display); font-size: 40px; font-weight: 700; line-height: 1; color: var(--ember-hot); text-shadow: 0 0 18px rgba(255, 130, 40, .5); margin: 4px 0 2px; }
.pt-share small { display: block; font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); text-shadow: none; margin-top: 4px; }
.pt-rung .pt-what { margin: 8px 0 auto; color: var(--ink-dim); }
.pt-rung .pt-meta { margin-top: 10px; }
.rung-normal { --gem: #e8e4dc; } .rung-empowered { --gem: #5aa0ff; } .rung-refined { --gem: #ffc440; } .rung-perfected { --gem: #ff4a3a; }
.ptile.pt-rung:hover { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px color-mix(in srgb, var(--gem) 40%, transparent)); }
.in-deck { margin: 10px 0 0; font-size: 14px; color: var(--ink-dim); }
.in-deck a { color: var(--accent, var(--gold)); }
.anatomy { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 30px; align-items: start; margin: 22px 0 26px; }
.anatomy-card { margin: 0; }
.anatomy-card img { width: 100%; height: auto; border-radius: 3.5% / 2.4%; box-shadow: 0 22px 52px rgba(0,0,0,.65); }
.anatomy-card figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-faint); text-align: center; }
.anatomy-parts { margin: 0; padding-left: 20px; }
.anatomy-parts li { margin: 0 0 13px; color: var(--ink-dim); }
.anatomy-parts b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .anatomy { grid-template-columns: 1fr; gap: 20px; } .anatomy-card { max-width: 280px; margin: 0 auto; } }
.card-cat { margin: 4px 0 0; font-size: 13px; color: var(--ink-faint); letter-spacing: .04em; }
.kin-all { margin: 10px 0 0; font-size: 14px; color: var(--ink-dim); }
.lib-more { margin: 4px 0 18px; font-size: 14px; color: var(--ink-dim); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 14px 0 26px; }
.press-grid.press-cards { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.press-tile { display: block; border: 1px solid var(--line); background: var(--panel); padding: 12px; text-align: center; color: var(--ink-dim); }
.press-tile:hover { border-color: rgba(217,166,89,.35); }
.press-tile img { width: 100%; height: auto; display: block; }
.press-tile span { display: block; margin-top: 8px; font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.press-wide { max-width: 360px; }
.press-cards img { border-radius: 3.5% / 2.4%; }
.fp { width: 9px; height: 9px; border-radius: 50%; display: block; }
.fp-spark { background: var(--spark); } .fp-ash { background: var(--ash); }
.fp-anvil { background: var(--anvil); } .fp-rust { background: var(--rust); }
.fp-forge { background: var(--forge); }
a.chip { color: var(--ink-dim); }
a.chip:hover { border-color: rgba(217,166,89,.45); color: var(--accent, var(--gold)); }
@media (min-width: 872px) and (max-width: 1168px) {
  .table-notes:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 522px) and (max-width: 784px) {
  .forge:has(> :nth-child(3):last-child) > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 785px) and (max-width: 1053px) {
  .forge:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 968px) and (max-width: 1297px) {
  .dl-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 631px) and (max-width: 844px) {
  .tier-row:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 630px) {
  .tier-row:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
}
@media (min-width: 438px) {
  .doc .tier-row:has(> :nth-child(4):last-child) { grid-template-columns: 1fr 1fr; }
}
.codex { padding: 120px 24px 90px; max-width: var(--wrap); margin: 0 auto; }
.codex h1 { font-family: var(--display); font-size: clamp(38px, 5vw, 72px); line-height: 1.02; margin: 6px 0 16px; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65)); }
.codex .lede-doc { max-width: 70ch; color: var(--ink-dim); font-size: clamp(16px, 1.3vw, 19px); }
.cx-bar { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 22px; padding: 14px 0 12px; margin: 26px 0 6px; background: var(--ground); box-shadow: 0 14px 18px -12px rgba(0, 0, 0, 0.9); }
.cx-q { flex: 1 1 240px; max-width: 380px; min-height: 46px; padding: 10px 16px; font: inherit; font-size: 15px;
  color: var(--ink); background: rgba(8, 6, 7, 0.8); border: 1px solid rgba(224, 176, 102, 0.28); border-radius: 0; }
.cx-q::placeholder { color: var(--ink-faint); }
.cx-q:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.cx-tabs { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.cx-tabs a { display: inline-block; padding: 10px 0; font-family: var(--display); font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); text-decoration: none; white-space: nowrap; }
.cx-tabs a:hover, .cx-tabs a:focus-visible { color: var(--gold); }
.cx-tabs a[aria-current] { color: var(--ember-hot); box-shadow: inset 0 -2px 0 var(--ember); }
.cx-group { margin: 54px 0 0; padding: 0; scroll-margin-top: 150px; }
.cx-group > h2 { font-family: var(--display); font-size: clamp(28px, 2.6vw, 40px); letter-spacing: .03em; text-transform: uppercase; margin: 0 0 8px; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6)); }
.cx-intro { color: var(--ink-dim); max-width: 72ch; margin: 0 0 20px; }
.cx-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.cx-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "w p" "m m"; align-content: start; gap: 4px 14px; color: var(--ink); text-decoration: none; scroll-margin-top: 160px; }
.cx-w { grid-area: w; font-family: var(--display); font-size: 17px; letter-spacing: .03em; color: var(--ink); }
.cx-m { grid-column: 1 / -1; color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; }
.cx-p { grid-area: p; align-self: start; white-space: nowrap; font-family: var(--display); font-size: 15px; color: var(--ember-hot); }
.cx-t { grid-area: t; display: block; width: 34px; height: 34px; margin-top: -4px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6)); }
.cx-row:has(> .cx-t) { grid-template-columns: 34px minmax(0, 1fr) auto; grid-template-areas: "t w p" "t m m" "f f f"; }
.cx-row:has(> .cx-t) .cx-m { grid-column: 2 / -1; }
.cx-words { grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 18px; }
.cx-entry, .cx-card, .cx-step, .cx-tier { border: 26px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 26px / 0 stretch; background: none; padding: 8px 6px 4px; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45)); }
.cx-entry .cx-w { font-size: 20px; color: var(--gold); }
.cx-foot { grid-area: f; grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 12px; min-height: 62px;
  border-top: 1px solid rgba(224, 176, 102, 0.14); }
.cx-facs { display: flex; gap: 5px; }
.cx-c { display: block; width: 26px; height: 26px; background: center / contain no-repeat; opacity: .14; filter: grayscale(1); }
.cx-c.on { opacity: 1; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7)); }
.c-spark { background-image: url(../img/crest-spark.webp?v=1762c378); }
.c-ash { background-image: url(../img/crest-ash.webp?v=21b1790d); }
.c-anvil { background-image: url(../img/crest-anvil.webp?v=b8a097c4); }
.c-rust { background-image: url(../img/crest-rust.webp?v=6493e53d); }
.c-forge { background-image: url(../img/crest-forge.webp?v=0a995f8b); }
.cx-cards { display: inline-flex; align-items: center; gap: 12px; margin-inline-start: auto; color: var(--gold); text-decoration: none; font-family: var(--display); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cx-cards:hover, .cx-cards:focus-visible { color: var(--ember-hot); }
.cx-fan { position: relative; display: block; width: 84px; height: 56px; }
.cx-fan img { position: absolute; top: 3px; width: 34px; height: 51px; border-radius: 2px; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 210, 150, 0.14); transition: transform .35s var(--ease); }
.cx-fan img:nth-child(1) { left: 0; transform: rotate(-11deg); }
.cx-fan img:nth-child(2) { left: 25px; top: 0; z-index: 1; }
.cx-fan img:nth-child(3) { left: 50px; transform: rotate(11deg); }
.cx-cards:hover .cx-fan img:nth-child(1) { transform: rotate(-17deg) translate(-5px, 1px); }
.cx-cards:hover .cx-fan img:nth-child(2) { transform: translateY(-5px); }
.cx-cards:hover .cx-fan img:nth-child(3) { transform: rotate(17deg) translate(5px, 1px); }
.cx-n { font-size: 22px; color: var(--ink); letter-spacing: .02em; }
.cx-cards:hover .cx-n { color: var(--ember-hot); }
.cx-none, .cx-none .cx-n { color: var(--ink-faint); }
.cx-bases { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; margin-bottom: 18px; }
.cx-base { padding: 10px 14px; background: rgba(12, 9, 11, 0.62); box-shadow: inset 0 0 0 1px rgba(224, 176, 102, 0.12); border-inline-start: 2px solid var(--gold-dim); }
.cx-base .cx-m { font-size: 13.5px; }
.cx-plain { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cx-card { border-width: 22px; border-image-width: 22px; }
a.cx-card .cx-w { color: var(--gold); }
a.cx-card:hover .cx-w, a.cx-card:focus-visible .cx-w { color: var(--ember-hot); }
.cx-row:target { filter: drop-shadow(0 0 16px rgba(255, 150, 60, 0.55)) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.45)); }
.cx-base:target, .cx-value:target { box-shadow: inset 0 0 0 1px var(--gold), 0 0 24px rgba(217, 166, 89, 0.2); }
.cx-making .cx-sub { margin-top: 34px; }
.cx-making .cx-sub:first-of-type { margin-top: 18px; }
.cx-h { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(224, 176, 102, 0.22); font-family: var(--display); font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.cx-h .cx-p { color: var(--ink-faint); font-size: 12.5px; letter-spacing: .04em; text-transform: none; }
.cx-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; counter-reset: cxstep; }
.cx-step { counter-increment: cxstep; display: flex; flex-direction: column; gap: 6px; padding: 6px 4px 4px; }
.cx-step::before { content: counter(cxstep); font-family: var(--display); font-size: 46px; line-height: .95; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)); }
.cx-step .cx-w { color: var(--gold); }
.cx-step .cx-p { margin-top: auto; font-size: 20px; }
.cx-tiers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cx-tier { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 6px 4px 8px; transition: translate .3s var(--ease), filter .3s ease; }
.cx-tier:hover { translate: 0 -4px; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 18px rgba(255, 120, 40, 0.25)); }
.cx-gem { width: 62px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.6)); }
.cx-tier .cx-w { color: var(--gold); font-size: 18px; }
.cx-tier .cx-p { order: 3; align-self: center; font-size: 28px; }
.cx-tier .cx-m { order: 4; align-self: center; font-size: 13.5px; }
.cx-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; }
.cx-value { grid-template-columns: minmax(130px, 30%) minmax(0, 1fr) auto; grid-template-areas: "w m p"; align-items: baseline; padding: 10px 14px;
  background: rgba(12, 9, 11, 0.55); border-inline-start: 2px solid var(--gold-dim); }
.cx-value .cx-w { font-size: 15.5px; }
.cx-value .cx-m { grid-area: m; font-size: 13.5px; }
.cx-value .cx-p { font-size: 17px; }
a.cx-refer { grid-column: 1 / -1; }
a.cx-refer .cx-w { color: var(--gold); }
a.cx-refer:hover .cx-w { color: var(--ember-hot); }
.cx-row[hidden], .cx-sub[hidden], .cx-group[hidden] { display: none; }
@media (max-width: 1180px) {
  .cx-steps { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .cx-values { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .codex { padding: 96px 16px 64px; }
  .cx-list, .cx-words, .cx-plain { grid-template-columns: minmax(0, 1fr); }
  .cx-bar { top: 64px; gap: 8px 16px; padding-bottom: 6px; }
  .cx-group { scroll-margin-top: 196px; }
  .cx-row { scroll-margin-top: 204px; }
  .cx-q { max-width: none; flex-basis: 100%; }
  .cx-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 18px; width: 100%; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .cx-tabs::-webkit-scrollbar { display: none; }
  .cx-entry, .cx-card, .cx-step, .cx-tier { border-width: 20px; border-image-width: 20px; }
  .cx-entry .cx-w { font-size: 18px; }
  .cx-foot { gap: 10px; }
  .cx-facs { gap: 3px; }
  .cx-c { width: 22px; height: 22px; }
  .cx-cards { gap: 8px; letter-spacing: .1em; }
  .cx-fan { width: 70px; height: 48px; }
  .cx-fan img { width: 29px; height: 44px; }
  .cx-fan img:nth-child(2) { left: 20px; }
  .cx-fan img:nth-child(3) { left: 41px; }
  .cx-n { font-size: 19px; }
  .cx-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-value { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "w p" "m m"; }
}
.forge-step, .tile, .rule-counts a, .table-notes li { position: relative; }
.lamp::after { content: ""; position: absolute; inset: calc(var(--fw, 30px) * -1); pointer-events: none; z-index: 1;
  border: var(--fw, 30px) solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / var(--fw, 30px) / 0 stretch;
  filter: sepia(.55) saturate(2.2) brightness(2.1); mix-blend-mode: screen; opacity: .55;
  -webkit-mask-image: radial-gradient(260px circle at var(--lx, 50%) var(--ly, 50%), #000, rgba(0, 0, 0, .35) 45%, transparent 72%);
          mask-image: radial-gradient(260px circle at var(--lx, 50%) var(--ly, 50%), #000, rgba(0, 0, 0, .35) 45%, transparent 72%); }
.collect-sec { background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(224, 176, 102, 0.08), transparent 70%); }
#rules { background: radial-gradient(ellipse 70% 55% at 50% 100%, rgba(140, 90, 192, 0.08), transparent 70%); }
.play-sec .sec-bg img { opacity: .5; }
footer { position: relative; border-top: 0; padding: 56px 0 60px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4)); }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px; border-style: solid; border-color: transparent; border-width: 0 13px; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 fill / 0 13px / 0 round; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.7)); }
footer .wrap { max-width: 1840px; }
footer ul a { font-family: var(--display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
footer a:hover { color: var(--ember-hot); }
.lib { position: relative; padding: 0 0 90px; }
.lib-head { position: relative; isolation: isolate; text-align: center; padding-top: clamp(64px, 6vw, 110px); padding-bottom: 12px; }
.lib-head::before { content: ""; position: absolute; top: 0; left: 50%; width: 100vw; transform: translateX(-50%); height: 520px; z-index: -1; background: url(../img/wall.webp?v=1ab94ad7) center top / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 85%); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .7), transparent 85%); }
.lib-head .eyebrow { justify-content: center; }
.lib-head .eyebrow::after { content: ""; flex: 0 0 40px; height: 10px; border-style: solid; border-color: transparent; border-width: 0 9px 0 0; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 0 0 fill / 0 9px 0 0 / 0 round; }
.lib-head h1, .card-hero-info h1 { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65)); }
.lib-head h1 { font-size: clamp(40px, 5.4vw, 92px); letter-spacing: 0.01em; }
.lib-head .sub { margin: 18px auto 0; max-width: 820px; }
.lib-head .card-stats { justify-content: center; }
.lib.one-faction .lib-head { padding-top: clamp(40px, 4vw, 70px); }
.lib.one-faction .lib-head .sub, .lib.one-faction .lib-head .card-stats { display: none; }
.lib.one-faction .lib-head h1 { font-size: clamp(34px, 3.6vw, 60px); }
.ftabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 30px 0 30px; }
.ftab { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 164px; padding: 12px 10px 14px; text-align: center; border-radius: 3px; background: #0c090b; box-shadow: 0 0 0 1px rgba(224, 176, 102, 0.16), 0 18px 34px rgba(0, 0, 0, 0.5); transition: transform .35s var(--ease), box-shadow .35s ease, opacity .3s ease; }
.ftab-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; transform: scale(1.08); filter: saturate(.8) brightness(.5); transition: transform .9s var(--ease), filter .5s ease; }
.ftab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 6, 7, 0.92) 0%, rgba(8, 6, 7, 0.35) 55%, rgba(8, 6, 7, 0.1) 100%), linear-gradient(180deg, color-mix(in srgb, var(--accent, var(--gold)) 18%, transparent), transparent 45%); }
.ftab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent, var(--gold)), transparent); box-shadow: 0 0 16px var(--accent, var(--gold)); opacity: .45; transition: opacity .3s ease; }
.ftab-word { width: auto; max-width: 78%; max-height: 62px; object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9)); transition: transform .35s var(--ease); }
.ftab-name { font-family: var(--display); font-size: clamp(20px, 1.7vw, 28px); letter-spacing: 0.08em; text-transform: uppercase; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.9)); margin-bottom: auto; margin-top: auto; }
.ftab-stance { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-text, var(--gold)); text-shadow: 0 0 12px color-mix(in srgb, var(--accent, var(--gold)) 50%, transparent); }
.ftab-n { font-size: 12.5px; color: var(--ink-dim); letter-spacing: 0.04em; }
.ftab-all { background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255, 130, 50, 0.18), transparent 70%), url(../img/wall.webp?v=1ab94ad7) center / cover; }
.ftab:hover { transform: translateY(-4px); color: inherit; }
.ftab:hover .ftab-art { transform: scale(1.14); filter: saturate(1) brightness(.72); }
.ftab:hover .ftab-word { transform: scale(1.06); }
.ftab[aria-current="page"] { box-shadow: 0 0 0 2px var(--accent, var(--gold)), 0 0 34px color-mix(in srgb, var(--accent, var(--gold)) 45%, transparent), 0 18px 34px rgba(0, 0, 0, 0.5); }
.ftab[aria-current="page"] .ftab-art { filter: saturate(1.05) brightness(.78); }
.ftab[aria-current="page"]::after { opacity: 1; }
.ftab.zero { opacity: .4; }
.ftab:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.lib-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 34px; align-items: start; }
.lib-filters { position: sticky; top: 88px; max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; padding: 6px 8px 10px; }
.fl-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
.fl-head h2 { flex: 1; font-size: 22px; letter-spacing: 0.1em; color: var(--ember-hot); text-shadow: 0 0 14px rgba(255, 130, 40, 0.4); }
.fl-reset, .fl-reset-inline { appearance: none; background: none; border: 1px solid rgba(255, 150, 70, 0.4); color: var(--ember); font-family: var(--display); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; cursor: pointer; border-radius: 2px; }
.fl-reset:hover, .fl-reset-inline:hover { color: #1a0d05; background: var(--ember); }
.fl-reset[hidden] { display: none; }
.fl-close { display: none; appearance: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line); color: var(--gold); font-size: 26px; line-height: 1; cursor: pointer; border-radius: 2px; }
.fl-search input { width: 100%; height: 46px; padding: 0 12px 0 38px; font: inherit; font-size: 14px; color: var(--ink); border: 1px solid rgba(224, 176, 102, 0.3); border-radius: 2px; background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b066' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") 13px 50% / 17px 17px no-repeat; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6); }
.fl-search input::placeholder { color: var(--ink-faint); }
.fl-search input:focus { outline: none; border-color: var(--ember); box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(255, 140, 50, 0.22); }
.fl-group { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.fl-group legend, .fl-menu label { display: block; padding: 0; margin: 0 0 8px; font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dim); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; padding: 6px 10px; font-family: var(--display); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 2px; cursor: pointer; transition: color .15s ease, border-color .15s ease, background .15s ease, opacity .2s ease, box-shadow .2s ease; }
.seg button .n { font-family: var(--body); font-size: 11px; letter-spacing: 0; color: var(--ink-faint); }
.seg button:hover { color: var(--ember-hot); border-color: rgba(255, 150, 70, 0.5); }
.seg button[aria-pressed="true"] { color: #1a0d05; border-color: transparent; background: linear-gradient(180deg, #ffd08a, #ff9a3c 60%, #d9621f); box-shadow: 0 0 14px rgba(255, 120, 40, 0.45); }
.seg button[aria-pressed="true"] .n { color: rgba(26, 13, 5, 0.72); }
.seg button.zero { opacity: .36; }
.seg button:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.fl-rarity img { width: 18px; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8)); }
.cost-n { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cost-n button { padding: 6px 0; }
.cost-n .n { display: none; }
.cost-op { margin-top: 6px; }
.cost-op button { flex: 1 1 0; font-size: 11.5px; padding: 6px 4px; }
.fl-menu select, .lib-tools select { width: 100%; height: 42px; padding: 0 34px 0 12px; font: inherit; font-size: 14px; color: var(--ink); appearance: none; -webkit-appearance: none; border: 1px solid rgba(224, 176, 102, 0.28); border-radius: 2px; background: rgba(0, 0, 0, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23e0b066' stroke-width='1.6'/%3E%3C/svg%3E") right 12px center / 12px 8px no-repeat; cursor: pointer; }
.fl-menu select:focus-visible, .lib-tools select:focus-visible { outline: 2px solid var(--ember); outline-offset: 1px; }
.fl-menu select.set { border-color: var(--ember); color: var(--ember-hot); box-shadow: 0 0 12px rgba(255, 120, 40, 0.25); }
.fl-menu select option { background: #140f12; color: var(--ink); }
.lib-main { min-width: 0; }
.lib-bar { position: sticky; top: 72px; z-index: 6; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; padding: 12px 0 14px; margin: 0 0 6px; background: linear-gradient(180deg, var(--ground) 72%, rgba(10, 7, 8, 0)); }
.lib-bar .card-count { flex: 1 1 auto; margin: 0; font-size: 14px; color: var(--ink-dim); }
.lib-tools { display: flex; align-items: center; gap: 10px; }
.lib-tools select { width: auto; min-width: 170px; height: 40px; }
.view-pick { display: inline-flex; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(224, 176, 102, 0.28); }
.view-pick button { appearance: none; height: 40px; padding: 0 12px; background: none; border: 0; color: var(--ink-dim); font-family: var(--display); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.view-pick button + button { box-shadow: -1px 0 0 rgba(224, 176, 102, 0.2); }
.view-pick button:hover { color: var(--ember-hot); }
.view-pick button[aria-pressed="true"] { color: #1a0d05; background: linear-gradient(180deg, #ffd08a, #ff9a3c 60%, #d9621f); }
.view-pick button:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.fl-open { display: none; appearance: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; background: linear-gradient(180deg, rgba(30, 22, 25, 0.9), rgba(10, 7, 8, 0.9)); border: 1px solid rgba(224, 176, 102, 0.4); color: var(--gold); font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.fl-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ember); color: #1a0d05; font-size: 12px; }
.fl-count[hidden] { display: none; }
.card-none { text-align: center; padding: 40px 0; }
.card-none .fl-reset-inline { margin-inline-start: 10px; }
.lib .fblock { margin-top: 46px; padding: 0; }
.lib .fblock:first-of-type { margin-top: 8px; }
.fguide { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 400px; margin: 0 0 28px; padding: 46px clamp(24px, 3.4vw, 60px); border-radius: 3px; background: #0c090b; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 44px color-mix(in srgb, var(--accent) 16%, transparent), 0 30px 60px rgba(0, 0, 0, 0.55); }
.fg-bg { position: absolute; top: 0; right: 0; width: 60%; height: 100%; object-fit: cover; object-position: 50% 24%; z-index: -2; filter: saturate(1.05) brightness(.82); -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%); mask-image: linear-gradient(90deg, transparent, #000 42%); }
.fguide::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(8, 6, 7, 0.96) 0%, rgba(8, 6, 7, 0.8) 38%, rgba(8, 6, 7, 0.15) 72%, rgba(8, 6, 7, 0) 100%), radial-gradient(ellipse 50% 90% at 0% 100%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); }
.fguide::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent 80%); box-shadow: 0 0 18px var(--accent); }
.fg-copy { position: relative; max-width: 680px; }
.fguide .word-h { margin: 0 0 6px; line-height: 0; }
.fguide .word { width: min(380px, 70vw); height: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.85)); }
.fg-stance { font-family: var(--display); font-size: clamp(22px, 2vw, 32px); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-text, var(--accent)); text-shadow: 0 0 22px color-mix(in srgb, var(--accent) 60%, transparent); margin: 0 0 12px; }
.fguide .fblurb { color: var(--ink); font-size: 17px; max-width: 62ch; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9); margin: 0; }
.fguide .card-stats { margin: 20px 0 4px; }
.fg-label { font-family: var(--display); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dim); margin: 18px 0 8px; }
.fguide .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fguide .chip { background: rgba(8, 6, 7, 0.55); }
.fg-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; }
.fg-cta .btn { height: 54px; }
.fg-cta .btn-primary, .fg-cta .btn-ghost { --cap: 45px; }
.lib[data-view="l"] .card-list, .lib[data-view="m"] .card-list, .lib[data-view="s"] .card-list { display: grid; margin: 0; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.lib[data-view="m"] .card-list { gap: 18px 14px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.lib[data-view="s"] .card-list { gap: 12px 10px; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
.lib:not([data-view="list"]) .card-row { position: relative; display: block; padding: 0; border: 0; background: none; contain-intrinsic-size: auto none auto 380px; overflow-clip-margin: 80px; }
.lib[data-view="m"] .card-row { contain-intrinsic-size: auto none auto 300px; }
.lib[data-view="s"] .card-row { contain-intrinsic-size: auto none auto 210px; }
.lib:not([data-view="list"]) { --lift: 1.08; }
.lib[data-view="l"] { --lift: 1.06; }
.lib[data-view="s"] { --lift: 1.12; }
.lib:not([data-view="list"]) .card-row:hover, .lib:not([data-view="list"]) .card-row:focus-within { content-visibility: visible; z-index: 3; }
.lib:not([data-view="list"]) .cr-thumb { position: relative; display: block; border-radius: 3.5% / 2.4%; overflow: visible; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6); transition: transform .35s var(--ease), box-shadow .35s ease; }
.lib:not([data-view="list"]) .cr-thumb img { width: 100%; height: auto; border-radius: inherit; }
.lib:not([data-view="list"]) .cr-thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .3s ease; background: radial-gradient(45% 34% at calc(50% + var(--tx, 0%)) calc(50% + var(--ty, 0%)), rgba(255, 216, 158, .32), rgba(255, 168, 78, .12) 46%, rgba(255, 140, 60, 0) 72%); }
.lib:not([data-view="list"]) .card-row:hover .cr-thumb { transform: translateY(-6px) scale(var(--lift)); box-shadow: 0 26px 44px rgba(0, 0, 0, 0.7), 0 0 26px color-mix(in srgb, var(--accent, var(--ember)) 35%, transparent); z-index: 2; }
.lib:not([data-view="list"]) .card-row:hover .cr-thumb::after, .lib .cr-thumb.tilting::after { opacity: 1; }
.lib:not([data-view="list"]) .card-row:focus-within .cr-thumb { outline: 2px solid var(--ember); outline-offset: 4px; }
.lib:not([data-view="list"]) .cr-body { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lib:not([data-view="list"]) .card-row[data-f="spark"] { --accent: var(--spark); } .lib:not([data-view="list"]) .card-row[data-f="ash"] { --accent: var(--ash); }
.lib:not([data-view="list"]) .card-row[data-f="anvil"] { --accent: var(--anvil); } .lib:not([data-view="list"]) .card-row[data-f="rust"] { --accent: var(--rust); }
.lib:not([data-view="list"]) .card-row[data-f="forge"] { --accent: var(--forge); }
.lib:not([data-view="list"]) .cr-add { position: absolute; top: -8px; right: -8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(224, 176, 102, 0.6); background: radial-gradient(circle at 35% 30%, #3a2a24, #120c0e); color: var(--gold); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.7); font-size: 22px; }
.lib:not([data-view="list"]) .cr-add:hover { color: #1a0d05; background: linear-gradient(180deg, #ffd08a, #ff9a3c 60%, #d9621f); }
.lib:not([data-view="list"]) .card-row.in-deck .cr-thumb { box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(224, 176, 102, 0.5), 0 14px 28px rgba(0, 0, 0, 0.6); }
.lib:not([data-view="list"]) .card-row.in-deck .cr-add { color: #1a0d05; background: var(--gold); }
.lib[data-view="list"] .card-list { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.builder .lib { padding-bottom: 20px; }
.builder .ftabs { margin: 22px 0 22px; }
.builder .ftab { height: 120px; }
.builder .ftab-word { max-height: 46px; }
@media (max-width: 1360px) {
  .builder .build-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .builder .lib-filters { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .ftabs { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; }
  .ftab { scroll-snap-align: start; height: 140px; }
  .lib-grid { grid-template-columns: minmax(0, 1fr); }
  .fl-open { display: inline-flex; }
  .fl-close { display: inline-block; }
  .lib-filters, .builder .lib-filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 120; width: min(360px, 88vw); max-height: none; margin: 0; transform: translateX(-104%); transition: transform .35s var(--ease); background: #0c090b; border-width: 22px; border-image-width: 22px; grid-column: auto; }
  [dir="rtl"] .lib-filters { left: auto; right: 0; transform: translateX(104%); }
  .lib.fl-shown .lib-filters { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, 0.8); }
  .lib.fl-shown::after { content: ""; position: fixed; inset: 0; z-index: 110; background: rgba(8, 6, 7, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  html.fl-lock { overflow: hidden; }
  .builder .build-grid { grid-template-columns: minmax(0, 1fr); }
  .fguide { min-height: 0; }
  .fg-bg { width: 100%; opacity: .5; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
  .fguide::before { background: linear-gradient(180deg, rgba(8, 6, 7, 0.55) 0%, rgba(8, 6, 7, 0.94) 55%); }
}
@media (max-width: 700px) {
  .lib-bar { top: 64px; }
  .lib-tools { width: 100%; }
  .lib-tools select { flex: 1 1 auto; min-width: 0; }
  .view-pick button { padding: 0 9px; font-size: 11px; }
  .lib[data-view="l"] .card-list { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .lib[data-view="m"] .card-list { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .lib[data-view="s"] .card-list { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px 6px; }
  .lib[data-view="list"] .card-list { grid-template-columns: 1fr; }
  .fguide { padding: 30px 20px; }
  .fg-cta .btn { width: 100%; }
}
@media (pointer: coarse) {
  .seg button, .view-pick button { min-height: 44px; }
  .fl-menu select, .lib-tools select { height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .lib-filters { transition: none; } }
.card-hero { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 4.4vw, 80px); align-items: start; margin: 6px 0 40px; }
.card-hero-art { position: sticky; top: 96px; isolation: isolate; }
.card-hero-art::before { content: ""; position: absolute; inset: 8% -8% 0; z-index: -1; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent, var(--ember)) 42%, transparent), transparent 68%); filter: blur(28px); opacity: .8; }
.card-hero .card-face { margin: 0; }
.card-hero .holo { width: 100%; max-width: 440px; }
.card-hero-info { min-width: 0; padding-top: 10px; }
.card-hero-info h1 { font-size: clamp(38px, 4.4vw, 76px); margin: 6px 0 14px; }
.card-hero-info .fstance-big { font-size: 15px; }
.card-hero-info .card-nums .cost, .card-hero-info .card-nums .pair { font-size: 20px; padding: 4px 14px; }
.card-hero-info .card-text { font-size: clamp(18px, 1.4vw, 22px); color: var(--ink); line-height: 1.55; max-width: 60ch; margin: 22px 0 0; padding: 20px 24px; background: linear-gradient(180deg, rgba(31, 23, 27, 0.8), rgba(12, 9, 11, 0.8)); box-shadow: inset 0 0 0 1px rgba(224, 176, 102, 0.16), inset 3px 0 0 var(--accent, var(--gold)); white-space: pre-line; }
.card-hero-info .voices { max-width: none; }
.cards-page.f-spark::before { background-image: url(../img/ground-spark.webp?v=0d914ac2); }
.cards-page.f-ash::before { background-image: url(../img/ground-ash.webp?v=94b50b8f); }
.cards-page.f-anvil::before { background-image: url(../img/ground-anvil.webp?v=6e72b53d); }
.cards-page.f-rust::before { background-image: url(../img/ground-rust.webp?v=ff68e207); }
.cards-page.f-forge::before { background-image: url(../img/ground-forge.webp?v=9818d7b2); }
@media (max-width: 860px) {
  .card-hero { grid-template-columns: minmax(0, 1fr); }
  .card-hero-art { position: static; width: min(340px, 78vw); margin: 0 auto; }
  .card-hero-info { text-align: center; }
  .card-hero-info .eyebrow { justify-content: center; }
  .card-hero-info .card-text { text-align: start; }
}
.cards-page h2:not(.fhead):not(.word-h):not(.lib-filters h2):not(.build-deck h2) { font-size: clamp(22px, 2vw, 32px); letter-spacing: 0.06em; margin: 48px 0 12px; padding-bottom: 10px; position: relative; color: var(--ink); }
.cards-page h2:not(.fhead):not(.word-h):not(.lib-filters h2):not(.build-deck h2)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 150px; height: 10px; border-style: solid; border-color: transparent; border-width: 0 9px; border-image: url(../img/rail.webp?v=e63a0eee) 0 41 fill / 0 9px / 0 round; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent, var(--ember)) 45%, transparent)); }
.cards-page .deck-card h2::after { display: none; }
.cards-page h2 a { color: var(--gold); }
.cards-page[class*="f-"] .card-hero-info h1 { background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--accent-text, var(--accent)) 55%, #ffffff) 45%, var(--accent-text, var(--accent)) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-hero-info .tier-row p, .cards-page .tier-row p { background: linear-gradient(180deg, rgba(31, 23, 27, 0.9), rgba(12, 9, 11, 0.9)); box-shadow: inset 0 0 0 1px rgba(224, 176, 102, 0.14); border: 0; border-inline-start: 2px solid var(--accent, var(--gold-dim)); }
.cards-page .tier-row p b { color: var(--ember-hot); font-family: var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.kin-faces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.kin-faces a { display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: none; color: var(--ink-dim); font-size: 13.5px; text-align: center; }
.kin-faces img { width: 100%; height: auto; border-radius: 3.5% / 2.4%; box-shadow: 0 14px 26px rgba(0, 0, 0, 0.6); transition: translate .3s var(--ease), box-shadow .3s ease; }
.kin-faces a:hover img { translate: 0 -6px; box-shadow: 0 22px 36px rgba(0, 0, 0, 0.7), 0 0 22px color-mix(in srgb, var(--accent, var(--ember)) 35%, transparent); }
.kin-faces a:hover { color: var(--gold); border: 0; }
@media (max-width: 860px) { .kin-faces { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.status .st-now { border: 26px solid transparent; border-image: url(../img/frame.webp?v=fbccca48) 80 fill / 26px / 0 stretch; padding: 4px 8px; margin: 0 0 30px; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.55)); }
.status .st-say { font-family: var(--display); font-size: 21px; letter-spacing: 0.02em; color: var(--ink); margin: 0; }
.status .st-at, .status .st-stale { font-size: 14px; color: var(--ink-faint); margin: 8px 0 0; }
.status .st-stale { color: var(--ember); }
.status .st-parts, .status .st-past { list-style: none; padding: 0; margin: 0; }
.status .st-parts li { display: flex; align-items: center; gap: 16px; padding: 9px 0; margin: 0; }
.status .st-parts li::before { content: ""; flex: 0 0 30px; height: 30px; background: url(../img/stone-lit.webp?v=da8566ed) left center / contain no-repeat; }
.status .st-past li { position: relative; padding-inline-start: 30px; margin: 0 0 10px; }
.status .st-past li::before { content: ""; position: absolute; inset-inline-start: 0; top: 3px; width: 18px; height: 18px; background: url(../img/stone-spent.webp?v=25c1c07e) left center / contain no-repeat; }
.status [data-state="slow"]::before, .status [data-state="full"]::before { background-image: url(../img/stone-half.webp?v=6e0ebe7b); }
.status [data-state="down"]::before, .status [data-state="closed"]::before { background-image: url(../img/stone-spent.webp?v=25c1c07e); }
.status .st-name { flex: 1; color: var(--ink); }
.status .st-state { font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.status [data-state="slow"] .st-state, .status [data-state="full"] .st-state { color: var(--ember); }
.status [data-state="down"] .st-state { color: var(--ember-hot); }
.status [data-state="closed"] .st-state { color: var(--ink-faint); }
.status .st-past b { color: var(--ink); font-weight: 600; }
.status .st-help { margin-top: 44px; font-size: 14px; color: var(--ink-faint); }
