:root {
  --tier-accent: var(--accent-text);
  --tier-neutral: var(--on-surface-variant);
  --band: var(--surface-container);
  --band-2: var(--surface);
  --band-copy: 620px;
  --band-veil: 88%;
  --band-filter: saturate(.55) brightness(.62) contrast(1.05);
  --font-technical: var(--font-body);
  --line-strong: color-mix(in srgb, var(--line) 55%, var(--on-surface-variant));
  --flame: color-mix(in srgb, var(--accent) 34%, var(--on-surface));
  --wax-shade: color-mix(in srgb, var(--on-surface-variant) 62%, var(--surface));
  --veil: color-mix(in srgb, var(--surface) 72%, transparent);
  --btn-edge: color-mix(in srgb, var(--accent) 55%, var(--on-surface));
  --ghost-edge: color-mix(in srgb, var(--on-surface) 52%, var(--surface));
  --mask-distress: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='220'%3E%3Cfilter id='d' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.05 .8' numOctaves='2' seed='4' stitchTiles='stitch' result='streak'/%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='1' seed='9' stitchTiles='stitch' result='speck'/%3E%3CfeComposite in='streak' in2='speck' operator='arithmetic' k2='.6' k3='.5'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  -16 0 0 0 11.9'/%3E%3C/filter%3E%3Crect width='420' height='220' filter='url%28%23d%29'/%3E%3C/svg%3E");
  --mask-tear-top: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 24' preserveAspectRatio='none'%3E%3Cpath d='M0,24 L0,5.5 L19.9,10.3 L29.8,17.5 L44.3,10.9 L61.8,18 L76.4,16.8 L92.3,19 L102.7,11.7 L119.6,17 L127.4,16.8 L140.9,20.7 L159.2,7.5 L173.4,20.7 L190.1,16.1 L205.1,20.5 L224.9,11.6 L236.6,19.3 L248.2,8 L259.4,12.6 L270.5,21 L285.3,17.5 L304.6,6.5 L315.4,14.8 L329.5,12.5 L339.2,20.5 L347,11.5 L358.8,16.5 L378.8,14 L388.1,12.2 L399.1,11.5 L412,11 L426.4,15.6 L436.7,20.5 L450.1,19.7 L466,16 L480.2,13.8 L496.9,21 L509.4,17.2 L519.9,15.2 L531.9,11 L544.3,18.6 L563.6,7.3 L582.1,6.8 L594.8,8 L602.9,21.9 L613,15.9 L622,13 L637.3,7.8 L657.2,20.1 L676.7,20.1 L696.4,18.1 L707.2,5.7 L717.7,6.8 L724.7,15.7 L735,17.7 L748.8,16.8 L759.1,20.1 L769.4,11.7 L789,7.5 L802.8,5.5 L822.6,16 L842.5,5.8 L862.1,8.6 L882.7,14.8 L899.2,9.9 L909.3,8.9 L924.2,6.4 L942,17.1 L959,13.7 L966.4,7.3 L986.3,7.7 L1002.9,20.2 L1010.4,20.1 L1029.5,21.9 L1049.8,18.1 L1062.7,9.6 L1079.9,20.1 L1092.5,9.4 L1105.2,20.1 L1120,11.3 L1135.7,17.6 L1147.4,17.5 L1160.3,8.8 L1171.7,21.8 L1192.6,15.9 L1211.8,20.7 L1221.6,16.1 L1230.5,13.7 L1245.3,18.2 L1265.5,13.5 L1275.1,12.9 L1284.5,16.4 L1298.8,14.8 L1312.9,18 L1324.9,17.9 L1332.3,10.4 L1346.9,8.8 L1364,10.3 L1374.3,16.4 L1387.3,6.7 L1405.1,19.1 L1424.9,20.5 L1441.5,21.3 L1448.8,18.1 L1464.2,17.4 L1483.8,6.1 L1492.7,6.8 L1501.2,6.9 L1508.4,15.5 L1528.6,8.7 L1537.5,8.8 L1553.9,9.5 L1567.3,21.9 L1580.2,16.6 L1598.1,12 L1600,13.2 L1600,24 Z' fill='%23000'/%3E%3C/svg%3E");
  --mask-tear-bottom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 24' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L0,17.5 L10.2,5.2 L30.9,16 L50.8,10.1 L59.5,15 L75,15.7 L83.1,14 L99.1,9.3 L112.8,2.1 L120.9,11.7 L132.3,18.4 L139.4,11.7 L147.7,14.6 L167.6,5.7 L185.3,11.3 L204.3,2.6 L222.5,7.6 L237.5,12.8 L250.2,10.3 L264.1,9.1 L281.2,7.5 L297.1,6.5 L316.5,4.6 L337.3,11.3 L351.1,2.7 L371.8,12.6 L379.9,12.8 L399.2,6.8 L416.6,2.7 L434.6,15.1 L444.9,5.3 L453.4,3.4 L471.6,8 L488.5,9.7 L501.7,4.1 L516.6,4.1 L527.4,7.2 L540.5,12 L550.1,8.8 L560.4,3.7 L578.9,12.9 L595.4,4 L604,13.4 L623.9,18.5 L632.8,11.9 L640.1,7.1 L659.7,15.6 L669.6,2.9 L686.4,15.6 L695.1,8.2 L702.3,5.1 L717.6,6.1 L726.4,13 L743.4,2.7 L758,8.8 L775.9,6.9 L793.2,8.6 L801.6,17.8 L817.2,14.8 L832.3,14.4 L842.4,8.3 L858.3,5.1 L868.6,3.6 L876.3,7.1 L889,5.4 L905.3,5.2 L913.7,3.3 L927.8,4.9 L940.7,4.2 L958.8,6.5 L978.5,4.3 L988.1,6.6 L997.3,16.4 L1017.6,2.7 L1025.4,17.2 L1036,3 L1055.2,2.7 L1066.1,15.2 L1073.5,10.7 L1088.3,16.2 L1099.9,10.6 L1110,17.6 L1117.7,17 L1133.5,10.8 L1151.8,6.5 L1165.9,6.9 L1178.4,8.4 L1198.9,5.8 L1219.4,6.8 L1234.8,5.3 L1244.2,17.4 L1261.4,7.8 L1274.4,9.5 L1286.8,10.3 L1295.5,17.4 L1303.6,12.7 L1315.5,15.2 L1331.4,16.4 L1339.2,18.5 L1357.9,4.2 L1365.5,5.8 L1376.9,11.9 L1396.6,5.4 L1403.8,2.1 L1413.7,7.9 L1426.7,18 L1436.1,6 L1453.6,14.4 L1472.7,5.1 L1484.1,10.9 L1495.3,14.3 L1514.6,4.1 L1531.1,10.3 L1550.3,5 L1568.6,5.9 L1589.2,7.1 L1600,10.8 L1600,0 Z' fill='%23000'/%3E%3C/svg%3E");
  --mask-tear-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 10' preserveAspectRatio='none'%3E%3Cpath d='M0,10 L0,7.1 L5.8,8.1 L10.4,8 L18.5,7.8 L25.3,7.6 L34.6,2.5 L39.7,3.6 L43.4,6.1 L52.6,6.5 L62,8.1 L71.2,3.7 L78.7,5.4 L84.9,5.9 L93.6,5.7 L99.8,5.6 L105,7 L113.9,4.3 L119.2,6.4 L126.6,8.6 L134,4.4 L141.8,6.1 L149.7,6.1 L154.3,3.7 L158.7,4.5 L166.6,8.2 L174.6,4.9 L180.5,4.9 L184.9,3.3 L188.8,5.5 L194.9,2.9 L202.9,5 L209.6,2.9 L218.9,4.1 L224.6,3.1 L229.5,5.2 L234.4,6.4 L241.9,7.3 L250.9,5.6 L260.5,6.9 L264.8,6.5 L273.5,8.3 L281.1,8.8 L286.6,9 L290.3,2.9 L296,8 L305.8,7.1 L313.1,3.9 L320.4,7.5 L325.2,7.7 L333.4,6.2 L343.6,4.3 L347.3,7.2 L354.4,6.4 L362.7,6.9 L366.6,7 L376.9,8 L385.2,6.1 L390.2,6.5 L397.7,5.2 L400,5.4 L400,10 Z' fill='%23000'/%3E%3C/svg%3E");
  --texture-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 -.45'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)'/%3E%3C/svg%3E");
  --texture-scratches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' width='600' height='600'%3E%3Cg fill='none' stroke='black' stroke-linecap='round'%3E%3Cpath d='M517.7 391.7Q594.5 357.4 662.5 331.8' stroke-width='0.9' opacity='0.7'/%3E%3Cpath d='M118.9 145.2Q120.3 185.8 120.5 227.7' stroke-width='1.1' opacity='0.9'/%3E%3Cpath d='M51.1 183.6Q98.7 167.4 150.6 147' stroke-width='0.5' opacity='0.5'/%3E%3Cpath d='M259.3 381.1Q303.6 366 345.5 353.5' stroke-width='1.2' opacity='1'/%3E%3Cpath d='M277.4 499.5Q354.5 477 429 457' stroke-width='0.4' opacity='0.5'/%3E%3Cpath d='M17 504.4Q30.5 500 49.6 490' stroke-width='0.6' opacity='0.4'/%3E%3Cpath d='M456.1 184.2Q454.4 234.5 446.1 291.2' stroke-width='1.2' opacity='0.8'/%3E%3Cpath d='M572.2 43.6Q592.1 33.2 612.3 22.3' stroke-width='0.6' opacity='0.6'/%3E%3Cpath d='M501.2 424.7Q513.3 488 523 553.6' stroke-width='1.1' opacity='0.3'/%3E%3Cpath d='M172.5 243.2Q230.8 230 295.9 209.9' stroke-width='1.2' opacity='1'/%3E%3Cpath d='M371 433Q366.5 455.6 365.1 475' stroke-width='1' opacity='0.6'/%3E%3Cpath d='M278.4 591Q313.9 582.5 357.2 566' stroke-width='0.6' opacity='0.4'/%3E%3Cpath d='M502.7 201.8Q501 281.8 499.8 361.2' stroke-width='0.9' opacity='0.3'/%3E%3Cpath d='M325.1 491.3Q330.3 530.2 332.9 571.7' stroke-width='0.8' opacity='0.3'/%3E%3Cpath d='M499.7 12.3Q573 -7.5 642.9 -24' stroke-width='1' opacity='0.9'/%3E%3Cpath d='M165.1 405.5Q168.2 451.6 179.6 489.4' stroke-width='0.5' opacity='0.6'/%3E%3Cpath d='M71.7 133Q67.1 170.7 67.6 203.4' stroke-width='1' opacity='0.8'/%3E%3Cpath d='M408.5 517.7Q428.3 509.8 450.1 500' stroke-width='0.9' opacity='0.6'/%3E%3Cpath d='M330.5 527.4Q400.6 498.3 461.1 478.6' stroke-width='1.1' opacity='1'/%3E%3Cpath d='M143.3 576.4Q217.1 556.5 287.9 539.5' stroke-width='1.2' opacity='0.4'/%3E%3Cpath d='M288.6 265.1Q351.9 248.9 412.9 234.9' stroke-width='0.4' opacity='0.5'/%3E%3Cpath d='M456 336.4Q462.9 337.5 479.5 328.9' stroke-width='1.3' opacity='0.8'/%3E%3Cpath d='M328.6 516.4Q320.1 587.1 306.5 662.9' stroke-width='0.7' opacity='0.8'/%3E%3Cpath d='M53.3 247.2Q65.8 243.1 82.1 235.3' stroke-width='0.8' opacity='0.3'/%3E%3Cpath d='M238.2 250.4Q230 316.6 222.9 381.7' stroke-width='0.9' opacity='0.7'/%3E%3Cpath d='M81.3 70.2Q88.8 106.4 93.1 145.9' stroke-width='0.6' opacity='1'/%3E%3Cpath d='M531.4 335.4Q549.1 330.3 571 320.9' stroke-width='0.8' opacity='0.5'/%3E%3Cpath d='M234.2 117.3Q245.3 111.5 253.3 108.7' stroke-width='0.4' opacity='1'/%3E%3Cpath d='M51.9 64.8Q111.3 48.4 169.2 33.5' stroke-width='1.2' opacity='0.3'/%3E%3Cpath d='M146.4 99.3Q143.7 139.6 150.4 170.5' stroke-width='0.5' opacity='0.6'/%3E%3Cpath d='M582.5 92.1Q584.4 133.9 577.9 184.1' stroke-width='1' opacity='0.8'/%3E%3Cpath d='M563 414.8Q579.7 409.8 600.9 400.3' stroke-width='0.5' opacity='0.6'/%3E%3Cpath d='M474.9 385.4Q531.4 372.8 587.2 360.9' stroke-width='0.4' opacity='0.5'/%3E%3Cpath d='M576.1 399.7Q639 384.2 696.5 374.1' stroke-width='0.7' opacity='0.7'/%3E%3Cpath d='M8.7 336Q17.2 333.9 28 329.6' stroke-width='0.5' opacity='0.6'/%3E%3Cpath d='M111.2 317.9Q126.8 309.3 141.3 301.8' stroke-width='1.1' opacity='0.9'/%3E%3Cpath d='M401.3 445.3Q464 422.1 529.1 396.5' stroke-width='0.7' opacity='0.3'/%3E%3Cpath d='M49.1 59.8Q57.7 59.3 72.3 52.7' stroke-width='0.4' opacity='0.3'/%3E%3Cpath d='M414.8 580.7Q487.6 563.1 555.7 550.2' stroke-width='0.9' opacity='0.7'/%3E%3Cpath d='M40.4 215.1Q82.3 200.7 122.4 188.3' stroke-width='1' opacity='0.6'/%3E%3Cpath d='M435.9 204.1Q449.1 271.3 459 341.9' stroke-width='1.3' opacity='0.4'/%3E%3Cpath d='M5.4 129.4Q18.5 124 29.4 120.9' stroke-width='0.8' opacity='0.9'/%3E%3Cpath d='M22.2 501.3Q86 480.3 155.7 453.3' stroke-width='1' opacity='0.3'/%3E%3Cpath d='M174.6 397.1Q184.7 397.2 204.5 387.8' stroke-width='1.2' opacity='0.4'/%3E%3Cpath d='M361.3 20.5Q359 91.8 354.4 165.5' stroke-width='0.7' opacity='0.6'/%3E%3Cpath d='M250.3 578Q312.3 571.4 383.4 555.8' stroke-width='0.6' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E");
  --tear: 24px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --z-skip: 300; --z-burger: 100; --z-overlay: 99; --z-nav: 20; --z-dash-header: 50; --z-grain: 200; --chrome-h: 68px;
  --radius: 1px;
  --col-max: 1180px;
  --gutter: 1.25rem;
  --col: min(var(--col-max), 100% - var(--gutter) * 2);
  --band-solid: var(--surface-container);
}

*, *::before, *::after { box-sizing: border-box; }
.skip-link { position: absolute; left: -9999px; z-index: var(--z-skip); padding: .7rem 1.1rem; background: var(--accent); color: var(--accent-ink); font: 700 1rem/1.2 var(--font-body); text-decoration: none; }
.skip-link:focus-visible { left: .75rem; top: .75rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--surface); color: var(--on-surface);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: calc(var(--z-grain) - 1); pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 58%, var(--veil) 100%);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; margin: 0 0 .45em; text-wrap: balance; text-transform: none; }
h3 { font-size: 1.5rem; line-height: 1.1; }
p { margin: 0 0 1em; color: var(--on-surface-variant); text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--on-surface); outline-offset: 3px; }

.grain {
  position: fixed; inset: -60px; z-index: var(--z-grain); pointer-events: none;
  background: var(--on-surface);
  -webkit-mask: var(--texture-grain) 0 0 / 240px 240px;
  mask: var(--texture-grain) 0 0 / 240px 240px;
  opacity: .06;
}
.distressed {
  -webkit-mask: var(--mask-distress) 0 0 / 420px 220px;
  mask: var(--mask-distress) 0 0 / 420px 220px;
}

main { --rhythm: clamp(4.5rem, 9vw, 7.5rem); }
main.dash-main { --rhythm: 4.5rem; }
.section { width: var(--col); margin-inline: auto; padding-block: calc(var(--rhythm) / 2); }
main:not(.dash-main) > section[data-idx="01"], main:not(.dash-main) > .ground > section[data-idx="01"] { padding-top: var(--rhythm); }
main:not(.dash-main) > :last-child > section[data-idx], main:not(.dash-main) > section[data-idx]:last-child { padding-bottom: var(--rhythm); }
section[id] { scroll-margin-top: calc(var(--chrome-h) + 12px); }
.ground {
  position: relative; isolation: isolate; background: var(--surface-container);
  padding-block: calc(var(--rhythm) / 2 + var(--tear));
  margin-block: calc(var(--rhythm) / 4);
  --tear-mask: var(--mask-tear-top) top / 100% var(--tear) no-repeat, var(--mask-tear-bottom) bottom / 100% var(--tear) no-repeat, linear-gradient(black 0 0) center / 100% calc(100% - 2 * var(--tear) + 2px) no-repeat;
  -webkit-mask: var(--tear-mask);
  mask: var(--tear-mask);
}
.ground::before, .footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: var(--on-surface);
  -webkit-mask: var(--texture-scratches) 0 0 / 600px 600px;
  mask: var(--texture-scratches) 0 0 / 600px 600px;
  opacity: .05;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; cursor: pointer;
  min-height: 3.1rem; padding: .55rem 1.4rem;
  font: 700 .9rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-align: center;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn svg { flex: none; width: 1.15em; height: 1.15em; }
.btn, .btn-steam {
  background: var(--accent); color: var(--accent-ink); border-color: var(--btn-edge);
  box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3px color-mix(in srgb, var(--accent-ink) 34%, var(--accent));
}
.btn:hover, .btn-steam:hover { background: color-mix(in srgb, var(--accent) 80%, var(--surface)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 80%, var(--surface)), inset 0 0 0 3px color-mix(in srgb, var(--accent-ink) 50%, var(--accent)); }
.btn-ghost, .btn-surface, .btn.ghost, .btn.surface { color: var(--on-surface); background: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--ghost-edge); box-shadow: none; }
.btn-ghost:hover, .btn-surface:hover, .btn.ghost:hover, .btn.surface:hover { color: var(--on-surface); background: color-mix(in srgb, var(--surface) 60%, transparent); border-color: var(--on-surface); box-shadow: none; }
.btn-sm { min-height: 2.6rem; padding: .35rem 1rem; font-size: .8rem; }
.btn[disabled] { cursor: default; opacity: .6; }
.btn-icon { display: flex; }

.card {
  position: relative; padding: 1.6rem 1.5rem; border-radius: var(--radius);
  background: var(--surface-container); border: 1px solid var(--line);
}
.dash-main .card:hover { border-color: var(--line-strong); }
.dash-main .card .section-title { font: 700 1.6rem/1.1 var(--font-display); text-transform: none; }

.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: color-mix(in srgb, var(--surface) 97%, transparent);
  border-bottom: 1px solid var(--line);
}
.is-menu-open .nav { z-index: var(--z-burger); }
.nav-inner { width: var(--col); margin-inline: auto; min-height: var(--chrome-h); display: flex; align-items: center; gap: 2rem; }
.nav-logo, .dash-logo { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; color: var(--on-surface); text-decoration: none; }
.nav-logo img, .dash-logo img { display: block; height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.wordmark { font: 700 1.6rem/1 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.sigil { flex: none; width: 1.5rem; height: 1.8rem; }
.sigil-cap { fill: var(--accent-text); }
.sigil-cage { fill: none; stroke: var(--on-surface-variant); stroke-width: 2.2; stroke-linejoin: round; }
.sigil-bars { fill: none; stroke: var(--on-surface-variant); stroke-width: 1; opacity: .5; }
.sigil-flame { fill: var(--flame); }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { color: var(--on-surface-variant); text-decoration: none; font-weight: 500; font-size: .98rem; text-underline-offset: .35em; text-decoration-thickness: 1px; }
.nav-links a:hover { color: var(--on-surface); text-decoration-line: underline; text-decoration-color: var(--accent-text); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-actions .btn-steam > span { white-space: nowrap; }
.nav-burger { display: none; position: relative; z-index: var(--z-burger); place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; margin-left: auto; background: transparent; color: var(--on-surface); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.nav-burger svg { display: block; }
.nav-burger > span { display: contents; }
.nav-burger[aria-expanded="false"] .nav-burger-close,
.nav-burger[aria-expanded="true"] .nav-burger-open { display: none; }
.nav-mobile { display: none; }

.lang-switch { display: inline-flex; align-items: stretch; min-height: 2.6rem; border: 1px solid var(--line); border-radius: var(--radius); }
.lang-opt { display: flex; align-items: center; padding: 0 .75rem; color: var(--on-surface-variant); background: transparent; font: 700 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.lang-opt:hover { color: var(--on-surface); }
.lang-opt--active { color: var(--on-surface); text-decoration: underline; text-decoration-color: var(--accent-text); text-underline-offset: .4em; }
.lang-switch.lang-menu { overflow: visible; }
.lang-menu, .profile-menu { position: relative; }
.lang-trigger { background: none; border: 0; color: var(--on-surface-variant); cursor: pointer; }
.lang-opt.lang-trigger { cursor: pointer; }
.lang-trigger::after { content: ""; flex: none; margin-left: .45em; border-style: solid; border-width: .3em .25em 0; border-color: currentColor transparent transparent; }
.lang-list, .profile-list {
  position: absolute; top: calc(100% + .4rem); right: 0; z-index: 1; margin: 0; padding: .35rem 0; list-style: none;
  min-width: 100%; width: max-content;
  background: var(--surface-container-high); border: 1px solid var(--line);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--surface) 80%, transparent);
}
.lang-list li, .profile-list li { display: flex; }
.lang-list .lang-opt, .profile-list .profile-item { flex: 1; padding: .6rem 1rem; text-transform: none; letter-spacing: .02em; font-weight: 500; font-size: .98rem; }
.lang-list .lang-opt--active { background: color-mix(in srgb, var(--on-surface) 6%, transparent); }
.lang-list[hidden], .profile-list[hidden] { display: none; }
.lang-phone { display: none; }
@media screen and (max-width: 720px) and (scripting: enabled) {
  .lang-phone { display: contents; }
  .lang-switch.lang-desktop { display: none; }
}
.nav-burger:not([aria-expanded="true"])::after { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }

@media (max-width: 1020px) {
  .nav-links, .nav-actions { display: none; }
  .nav-burger { display: grid; }
  .nav-mobile {
    position: fixed; inset: 0; z-index: var(--z-overlay); display: none;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 1.1rem;
    padding: calc(var(--chrome-h) + 1rem) max(var(--gutter), (100% - 26rem) / 2) 2rem;
    background: var(--surface);
  }
  .nav-mobile.is-open { display: flex; }
  .nav-mobile[hidden] { display: none; }
  .nav-mobile > a:not(.btn) { padding: .55rem 0; border-bottom: 1px solid var(--line); color: var(--on-surface); text-decoration: none; font: 700 1.6rem/1.15 var(--font-display); text-transform: none; }
  .nav-mobile > a:not(.btn):hover { color: var(--accent-text); }
  .nav-mobile .btn { margin-top: .6rem; }
  .nav-mobile .lang-switch { align-self: center; }
}

.eyebrow { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.2rem; color: var(--accent-text); font: 700 .8rem/1.4 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.eyebrow svg { flex: none; width: 1.3em; height: 1.3em; }
.eyebrow--hero { margin-bottom: 1.3rem; }
.sec-no {
  display: inline-grid; place-items: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .45rem;
  border: 1px solid color-mix(in srgb, var(--accent-text) 55%, transparent);
  font: 700 1.15rem/1 var(--font-display); letter-spacing: 0;
  text-transform: none;
}
.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); margin: 0 0 .3em; }
.sec-intro { margin: 0; max-width: 36rem; font-size: 1.15rem; }

.hero { position: relative; isolation: isolate; min-height: min(82vh, 760px); display: flex; align-items: center; overflow: hidden; background: var(--surface); }
.hero-stage { position: absolute; inset: 0; z-index: -2; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: var(--art-focus, 50% 50%); filter: saturate(.62) brightness(.78) contrast(1.06); }
.key-art { display: block; width: 100%; height: 100%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--surface) 0%, var(--surface) 22%, color-mix(in srgb, var(--surface) 70%, transparent) 40%, transparent 64%),
    linear-gradient(0deg, var(--surface) 0%, transparent 22%),
    radial-gradient(90% 80% at 62% 50%, transparent 50%, color-mix(in srgb, var(--surface) 85%, transparent) 100%);
}
.hero-content { width: var(--col); margin-inline: auto; padding-block: 5rem 6rem; display: grid; justify-items: start; }
.hero-content > * { max-width: 35rem; }
.hero-content > .hero-h { max-width: 40rem; }
.hero-logo { max-height: 96px; width: auto; margin-bottom: 1.6rem; }
.hero-h { font-size: clamp(3rem, 6.2vw, 5.25rem); line-height: .94; margin: 0 0 .32em; }
.hero-h-ember { color: var(--accent-text); }
.hero-sub { font-size: 1.2rem; line-height: 1.55; max-width: 31rem; margin: 0 0 2.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.stop-deep { stop-color: var(--surface); }
.stop-mid { stop-color: var(--surface-container-high); }
.stop-ember { stop-color: color-mix(in srgb, var(--accent) 26%, var(--surface-container)); }
.stop-bone { stop-color: var(--on-surface); }
.stop-flame { stop-color: var(--flame); }
.ka-moon { fill: color-mix(in srgb, var(--on-surface) 58%, var(--surface-container-high)); }
.ka-rim { fill: none; stroke: color-mix(in srgb, var(--on-surface-variant) 34%, transparent); stroke-width: 1.5; }
.ka-cloud { fill: var(--surface-container); opacity: .92; }
.ka-far-trees { color: color-mix(in srgb, var(--surface-container-high) 80%, var(--on-surface-variant)); fill: currentColor; opacity: .6; }
.ka-hill { fill: var(--surface-container); }
.ka-house { fill: var(--surface); stroke: var(--surface); }
.ka-house-roof-line { fill: none; }
.ka-window, .ka-lantern { fill: var(--flame); stroke: none; }
.ka-fog { fill: var(--on-surface-variant); opacity: .1; }
.ka-fog-near { opacity: .08; }
.ka-mid-trees { color: color-mix(in srgb, var(--surface) 55%, var(--surface-container)); fill: currentColor; }
.ka-path { fill: color-mix(in srgb, var(--on-surface-variant) 17%, var(--surface-container)); }
.ka-walker { fill: var(--surface); stroke: var(--surface); }
.ka-near-trees { color: var(--surface); fill: currentColor; }

.rites { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.rite { position: relative; padding: 2.2rem 2.2rem .5rem 0; min-width: 0; }
.rite + .rite { padding-left: 2.2rem; border-left: 1px solid var(--line); }
.rite-no { display: block; margin-bottom: 1.1rem; font: 800 4.6rem/.8 var(--font-display); color: var(--accent-text); text-transform: none; }
.rite p { margin: 0; max-width: 22rem; }

.candles { position: relative; display: grid; grid-template-columns: repeat(var(--tiers, 5), minmax(0, 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.candles::before {
  content: ""; position: absolute; left: -1rem; right: -1rem; top: 236px; height: 8px;
  background: linear-gradient(var(--line-strong), var(--line) 40%, var(--surface));
  box-shadow: 0 10px 24px var(--surface);
}
.tier { min-width: 0; text-align: center; }
.candle-stand { position: relative; height: 240px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; margin-bottom: 1.75rem; }
.candle {
  position: relative; width: 38px; height: var(--wax);
  background: linear-gradient(90deg, var(--wax-shade) 0%, var(--on-surface) 36%, color-mix(in srgb, var(--on-surface) 70%, var(--on-surface-variant)) 62%, var(--wax-shade) 100%);
  border-radius: 4px 4px 1px 1px; margin-bottom: 4px;
}
.candle::before { content: ""; position: absolute; top: -2px; left: -3px; right: -3px; height: 30px; }
.candle--0::before {
  background:
    radial-gradient(5px 13px at 22% 10%, color-mix(in srgb, var(--on-surface) 82%, var(--wax-shade)) 98%, transparent),
    radial-gradient(4px 20px at 74% 8%, color-mix(in srgb, var(--on-surface) 70%, var(--wax-shade)) 98%, transparent),
    radial-gradient(60% 6px at 50% 4px, var(--on-surface) 98%, transparent);
}
.candle--1::before {
  background:
    radial-gradient(4px 24px at 34% 6%, color-mix(in srgb, var(--on-surface) 76%, var(--wax-shade)) 98%, transparent),
    radial-gradient(3px 9px at 84% 8%, color-mix(in srgb, var(--on-surface) 84%, var(--wax-shade)) 98%, transparent),
    radial-gradient(56% 5px at 46% 4px, var(--on-surface) 98%, transparent);
}
.candle--2 { border-radius: 7px 2px 1px 1px; }
.candle--2::before {
  background:
    radial-gradient(6px 16px at 12% 12%, color-mix(in srgb, var(--on-surface) 72%, var(--wax-shade)) 98%, transparent),
    radial-gradient(4px 12px at 58% 10%, color-mix(in srgb, var(--on-surface) 80%, var(--wax-shade)) 98%, transparent),
    radial-gradient(4px 26px at 88% 4%, color-mix(in srgb, var(--on-surface) 68%, var(--wax-shade)) 98%, transparent),
    radial-gradient(60% 6px at 50% 4px, var(--on-surface) 98%, transparent);
}
.candle::after { content: ""; position: absolute; bottom: 100%; left: 50%; width: 2px; height: 9px; transform: translateX(-50%); background: var(--surface); }
.flame {
  position: absolute; bottom: calc(100% + 6px); left: 50%; width: 14px; height: 30px; transform: translateX(-50%);
  border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%;
  background: radial-gradient(circle at 50% 74%, var(--on-surface) 0 18%, var(--flame) 46%, color-mix(in srgb, var(--accent) 70%, transparent) 72%, transparent 76%);
  box-shadow: 0 -6px 34px 10px color-mix(in srgb, var(--flame) 22%, transparent);
}
.candle-dish {
  width: 76px; height: 10px; margin-top: -4px;
  border-radius: 1px 1px 50% 50% / 1px 1px 100% 100%;
  background: linear-gradient(var(--line-strong), var(--line));
}
.tier--lit .candle { width: 46px; }
.tier--lit .flame { width: 17px; height: 36px; box-shadow: 0 -8px 60px 22px color-mix(in srgb, var(--flame) 26%, transparent); }
.tier-xp { margin: 0 0 .15rem; color: var(--on-surface); }
.tier-xp b { font: 800 2.35rem/1 var(--font-display); text-transform: none; }
.tier-xp-unit { font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); }
.tier-name { margin: 0 0 .5rem; font: 700 .85rem/1.25 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.tier--lit .tier-name { color: var(--on-surface); }
.tier-reward { max-width: 15rem; margin: 0 auto .35rem; font-size: 1rem; line-height: 1.45; color: var(--on-surface); }
.tier-desc { max-width: 15rem; margin: 0 auto; font-size: .95rem; line-height: 1.45; font-style: italic; }

.quest-log, .dash-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.leaf {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 2rem 1.6rem 1.5rem;
  background: var(--surface-container); border: 1px solid var(--line); border-top: 0;
  -webkit-mask: var(--mask-tear-card) top / 100% 10px no-repeat, linear-gradient(black 0 0) bottom / 100% calc(100% - 9px) no-repeat;
  mask: var(--mask-tear-card) top / 100% 10px no-repeat, linear-gradient(black 0 0) bottom / 100% calc(100% - 9px) no-repeat;
  transition: border-color .3s var(--ease);
}
.leaf:hover { border-color: var(--line-strong); }
.quest { min-width: 0; }
.leaf-no { margin: 0 0 1rem; color: var(--on-surface-variant); font: 700 .78rem/1 var(--font-body); letter-spacing: .2em; }
.task-glyph { position: absolute; top: 1.6rem; right: 1.5rem; width: 1.75rem; height: 1.75rem; color: var(--accent-text); }
.leaf h3 { margin-bottom: .35rem; padding-right: 2.2rem; }
.leaf-text, .dash-card-desc { margin: 0 0 1.3rem; font-size: 1.0625rem; }
.leaf-xp, .dash-card-pts { margin: auto 0 0; padding-top: 1rem; border-top: 1px dashed var(--line); color: var(--accent-text); }
.xp-number { font: 800 1.9rem/1 var(--font-display); text-transform: none; }
.xp-unit { font: 700 .75rem/1 var(--font-body); letter-spacing: .16em; }
.leaf-repeat { margin-left: .35rem; color: var(--on-surface-variant); font: 700 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }

.section--cta { padding-block: calc(var(--rhythm) / 2.4); }
.cta-frame {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 3rem; align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line-strong);
  outline: 1px solid var(--line); outline-offset: 7px;
}
.cta-frame::before, .cta-frame::after {
  content: ""; position: absolute; top: 14px; width: 7px; height: 7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--on-surface-variant), var(--line) 70%);
}
.cta-frame::before { left: 14px; }
.cta-frame::after { right: 14px; }
.cta-frame .sec-head { margin: 0; }
.cta-frame--widget { grid-template-columns: minmax(0, 1fr); }
.cta-actions { min-width: 16rem; }
.store-row { display: flex; flex-direction: column; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.store-row > li { display: flex; }
.store-row .btn { width: 100%; }
.cta-frame--widget .store-row { flex-direction: row; flex-wrap: wrap; }
.steam-embed { display: block; border: 0; max-width: 100%; }
@media (max-width: 720px) {
  #cta [data-steam-swap="widget"] { display: none; }
}
@media not all and (max-width: 720px) {
  #cta [data-steam-swap="stores"] { display: none; }
}

.media-grid { display: grid; gap: 1rem; }
.media-plate { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.media-plate::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 120px 20px var(--surface); }
.media-plate img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.7) contrast(1.05); }
.media-plate img[hidden] { display: none; }
.media-tiles { display: flex; --media-tile-gap: .8rem; gap: var(--media-tile-gap); flex-wrap: wrap; min-width: 0; margin: 0; padding: 0; list-style: none; }
.media-tiles > li { width: 156px; }
.media-tile { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; padding: 0; cursor: pointer; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.media-tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(.7) brightness(.7); transition: filter .25s var(--ease); }
.media-tile:hover img, .media-tile.is-selected img { filter: none; }
.media-tile.is-selected { border-color: var(--btn-edge); }
.media-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; --badge-pad: .27; }
.media-grid .media-tiles { justify-content: flex-start; --media-tile-cap: 7; }
.media-tiles .media-play { --media-badge-tile: 36px; }
.media-play svg {
  width: var(--media-badge-tile); height: var(--media-badge-tile); padding: calc(var(--media-badge-tile) * var(--badge-pad));
  border-radius: 50%; color: var(--on-surface);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--on-surface) 70%, transparent);
}
.media-plate-fallback { position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%); --media-badge-tile: 72px; width: var(--media-badge-tile); height: var(--media-badge-tile); }
.media-nav, .media-dots { display: none; }
.media-dot { width: .5rem; height: .5rem; padding: 0; border: 0; background: none; cursor: pointer; }
.media-dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: .5rem; height: .5rem; transform: translate(-50%, -50%) rotate(45deg); background: var(--on-surface-variant); }
.media-dot[aria-current="true"]::before { background: var(--accent-text); }
.media-dot::after { content: ""; position: absolute; width: 44px; height: 44px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.media-dots li { position: relative; display: grid; place-items: center; width: 44px; }
@media (max-width: 720px) {
  .media-gallery--live .media-tiles { display: none; }
  .media-gallery--live .media-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 0; list-style: none; margin: .75rem 0 0; padding: 0; }
  .media-gallery--live .media-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  .media-gallery--live .media-plate,
  .media-gallery--live .dash-about-plate,
  .media-gallery--live .media-nav { grid-row: 1; grid-column: 1; }
  .media-gallery--live .media-nav {
    display: grid; place-items: center; align-self: center; z-index: 2;
    width: 44px; height: 44px; padding: 0; margin: 0 .5rem; cursor: pointer;
    border: 1px solid var(--ghost-edge); border-radius: 50%;
    background: var(--surface); color: var(--on-surface);
  }
  .media-gallery--live .media-nav--prev { justify-self: start; }
  .media-gallery--live .media-nav--next { justify-self: end; }
  .media-gallery--live .dash-about-strip { display: none; }
  .dash-about-media.media-gallery--live { display: grid; grid-template-columns: minmax(0, 1fr); }
}
.media-grid--gutters { --media-gutter: 5rem; }
@media (min-width: 721px) {
  .media-gallery--live .media-grid.media-grid--gutters {
    grid-template-columns: var(--media-gutter) minmax(0, 1fr) var(--media-gutter);
    grid-template-areas: "prev plate next" ". tiles .";
    column-gap: 0;
  }
  .media-gallery--live .media-grid--gutters .media-plate { grid-area: plate; }
  .media-gallery--live .media-grid--gutters .media-tiles { grid-area: tiles; flex-wrap: nowrap; }
  .media-gallery--live .media-grid--gutters .media-nav {
    display: grid; place-items: center; align-self: center; justify-self: center;
    width: 52px; height: 52px; padding: 0; cursor: pointer;
    border: 1px solid var(--ghost-edge); border-radius: 50%;
    background: transparent; color: var(--on-surface);
  }
  .media-gallery--live .media-grid--gutters .media-nav:hover { border-color: var(--on-surface); }
  .media-gallery--live .media-grid--gutters .media-nav--prev { grid-area: prev; }
  .media-gallery--live .media-grid--gutters .media-nav--next { grid-area: next; }
  .media-gallery--live .media-grid--gutters .media-tiles > li {
    flex: 0 0 calc((100% - (var(--media-tile-cap) - 1) * var(--media-tile-gap, 0px)) / var(--media-tile-cap));
  }
}

.section--faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 2rem 4rem; align-items: start; }
.section--faq .sec-head { margin-bottom: 0; }
.section--faq .sec-head h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.faq-list { display: grid; margin: 0; padding: 0; list-style: none; }
.faq-item { border-top: 1px solid var(--line); }
.faq-list > li:last-child .faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 700 1.5rem/1.15 var(--font-display); color: var(--on-surface); text-transform: none; }
.faq-item summary:hover .faq-q { color: var(--accent-text); }
.faq-tick {
  flex: none; width: 1rem; height: 1rem;
  background: linear-gradient(var(--accent-text) 0 0) center / 100% 1.5px no-repeat, linear-gradient(var(--accent-text) 0 0) center / 1.5px 100% no-repeat;
  transition: transform .3s var(--ease);
}
.faq-item[open] .faq-tick { transform: rotate(45deg); }
.faq-item > p { margin: -.25rem 0 1.4rem; max-width: 58ch; }
@supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
  #faq details::details-content { interpolate-size: allow-keywords; height: 0; overflow: clip; }
  #faq details[open]::details-content { height: auto; }
  @media (prefers-reduced-motion: no-preference) {
    #faq details::details-content { transition: height .3s ease, content-visibility .3s allow-discrete; }
  }
  @media print {
    #faq details::details-content { height: auto; overflow: visible; transition: none; }
  }
}

.footer {
  position: relative; isolation: isolate; padding: calc(4rem + var(--tear)) 0 3rem; background: var(--surface-container);
  -webkit-mask: var(--mask-tear-top) top / 100% var(--tear) no-repeat, linear-gradient(black 0 0) bottom / 100% calc(100% - var(--tear) + 1px) no-repeat;
  mask: var(--mask-tear-top) top / 100% var(--tear) no-repeat, linear-gradient(black 0 0) bottom / 100% calc(100% - var(--tear) + 1px) no-repeat;
}
.footer-inner { width: var(--col); margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.4rem; text-align: center; }
.footer-socials, .footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.footer-socials { gap: .6rem; }
.social-link { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: var(--on-surface-variant); border: 1px solid var(--line); border-radius: 50%; text-decoration: none; }
.social-link:hover { color: var(--on-surface); border-color: var(--ghost-edge); }
.social-link svg { width: 1.15rem; height: 1.15rem; }
.footer-legal-links { gap: .4rem 1.6rem; }
.footer-legal-links a { color: var(--on-surface-variant); font-size: .95rem; text-underline-offset: .3em; text-decoration-color: var(--line-strong); }
.footer-legal-links a:hover { color: var(--on-surface); text-decoration-color: var(--accent-text); }
.powered { font-size: .88rem; }
.powered a { color: var(--on-surface-variant); text-decoration-color: var(--line-strong); text-underline-offset: .3em; }
.footer-mark { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--line-strong); border-radius: 50%; }
.footer-fineprint { max-width: 40rem; margin: 0; font-size: .88rem; }

.dash-header { position: sticky; top: 0; z-index: var(--z-dash-header); background: var(--surface); border-bottom: 1px solid var(--line); }
.dash-header-inner { width: var(--col); margin-inline: auto; min-height: var(--chrome-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.dash-title { flex: 0 1 auto; min-width: 0; margin: 0; display: flex; align-items: center; font-size: inherit; }
.dash-header-actions { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.dash-header-actions .lang-switch { flex: none; }
.dash-header-actions .profile-menu { min-width: 0; }
.dash-header-actions .dash-plate { width: 100%; }
.dash-plate { display: flex; align-items: center; gap: .55rem; min-width: 0; min-height: 2.6rem; padding: .25rem .8rem .25rem .3rem; background: transparent; color: var(--on-surface); border: 1px solid var(--line); border-radius: var(--radius); font: inherit; cursor: pointer; }
.dash-plate:hover { border-color: var(--line-strong); }
.profile-avatar { width: 28px; height: 28px; object-fit: cover; filter: grayscale(.5); }
.profile-name { min-width: 0; max-width: 16ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: .95rem; }
.profile-item { display: flex; align-items: center; color: var(--on-surface-variant); text-decoration: none; }
.profile-item:hover { color: var(--on-surface); background: color-mix(in srgb, var(--on-surface) 6%, transparent); }

.dash-main { width: var(--col); margin-inline: auto; padding-block: 2.5rem var(--rhythm); display: grid; gap: var(--rhythm); }
.dash-section.section, .dash-main > .section { padding-block: 0; width: 100%; }
.dash-band { position: relative; overflow: hidden; isolation: isolate; background: var(--surface-container); border: 1px solid var(--line); }
.dash-band-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--art-focus, 50% 50%); filter: var(--band-filter, none); z-index: 0; }
.dash-band-veil {
  position: absolute; inset-block: 0; left: 0; z-index: 1;
  --band-tint-fade: 320px;
  --band-tint-flat: calc(var(--band-tint-edge) * var(--band-tint-rake, 1) + var(--band-tint-hold, 0px));
  width: calc(var(--band-tint-edge) + (var(--band-tint-hold, 0px) + var(--band-tint-fade, 0px)) / max(0.5, var(--band-tint-rake, 1)));
  background: linear-gradient(var(--band-tint-angle, 90deg),
    color-mix(in srgb, var(--surface-container) var(--band-veil, 100%), transparent) 0,
    color-mix(in srgb, var(--surface-container) var(--band-veil, 100%), transparent) var(--band-tint-flat),
    transparent calc(var(--band-tint-flat) + var(--band-tint-fade, 0px)));
}
.dash-band-edge { position: absolute; inset-block: 0; right: 0; z-index: 1; left: var(--band-tint-edge); box-shadow: inset 0 0 90px 10px var(--surface); }
.dash-band-seam { position: absolute; inset-inline: 0; bottom: 0; height: 30%; z-index: 1; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--surface-container) 80%, transparent)); }
.dash-band-stage {
  position: relative; container: dash-band / inline-size; min-height: 15rem;
  --band-tint-edge: min(60cqi, var(--band-copy, 620px));
}
.dash-band-inner { position: relative; z-index: 2; padding: clamp(1.6rem, 4vw, 2.6rem); }
.dash-band-copy { width: 100%; max-width: var(--band-copy, 620px); }
.dash-band-foot { position: relative; z-index: 2; background: var(--surface); border-top: 1px solid var(--line); }
.dash-band-foot .dash-band-inner { padding-block: 1.6rem 1.4rem; }
@container dash-band (max-width: 620px) {
  .dash-band-art { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .dash-band-veil, .dash-band-edge, .dash-band-seam { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .dash-band-veil { background: linear-gradient(var(--band-tint-angle, 90deg), var(--surface-container) 0, var(--surface-container) var(--band-tint-flat), transparent calc(var(--band-tint-flat) + var(--band-tint-fade, 0px))); }
}
.dash-hero { min-width: 0; }
.dash-label { margin: 0; color: var(--on-surface-variant); font: 700 .8rem/1.3 var(--font-body); letter-spacing: .2em; text-transform: uppercase; }
.dash-points { margin: .4rem 0 0; color: var(--on-surface); font-variant-numeric: tabular-nums; }
.dash-points b { font: 800 clamp(3.4rem, 9vw, 5rem)/.9 var(--font-display); text-transform: none; }
.tier-chip { display: inline-grid; grid-template-columns: auto auto; column-gap: .7rem; align-items: center; margin-top: 1.2rem; padding: .7rem 1rem; background: var(--surface); border: 1px solid var(--line-strong); }
.tier-chip svg { grid-row: span 2; width: 1.5rem; height: 1.5rem; color: var(--accent-text); }
.tier-chip-name { font: 700 1.35rem/1.1 var(--font-display); color: var(--on-surface); text-transform: none; }
.dash-gauge { margin: 0; padding-block: 3rem 3.6rem; }
.gauge-track { position: relative; container-type: inline-size; height: 3px; background: var(--line); }
.gauge-fill { position: absolute; inset-block: 0; left: 0; background: var(--accent-text); transform-origin: left; transition: transform .9s var(--ease) .2s; }
.gauge-fill::after { content: ""; position: absolute; right: -4px; top: -10px; width: 8px; height: 16px; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: var(--flame); box-shadow: 0 -4px 16px 4px color-mix(in srgb, var(--flame) 30%, transparent); }
.gauge-tick { position: absolute; top: -6px; bottom: -6px; width: 1px; background: var(--line-strong); transform: translateX(-.5px); }
.gauge-tick--hit { background: var(--accent-text); }
.gauge-cap {
  position: absolute; top: 14px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  color: var(--on-surface-variant); white-space: nowrap; text-align: center;
}
.gauge-cap--above { top: auto; bottom: 14px; flex-direction: column-reverse; }
.gauge-cap-name { font: 700 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.gauge-cap-pts { font: 800 1.05rem/1 var(--font-display); font-variant-numeric: tabular-nums; text-transform: none; }
.gauge-cap--hit { color: var(--accent-text); }
.gauge-cap--first { transform: translateX(max(-50%, calc(var(--climb) * -1cqw))); }
.gauge-cap--last { transform: translateX(-100%); align-items: flex-end; text-align: right; }
@media (max-width: 529px) {
  .gauge-cap:not(.gauge-cap--end) { display: none; }
  .gauge-cap--end { top: 14px; bottom: auto; flex-direction: column; }
  .dash-gauge { padding-top: 1rem; }
}
.dash-next { margin: 0; color: var(--on-surface); font-weight: 500; }

.dash-card h3 { font-size: 1.5rem; }
.dash-counter { margin: 0 0 .5rem; color: var(--on-surface-variant); font-size: .95rem; font-weight: 500; }
.dash-counter-meter { height: 3px; margin: 0 0 1rem; background: var(--line); }
.dash-counter-meter > i { display: block; height: 100%; width: var(--fill, 0%); background: var(--accent-text); }
.dash-card-foot { margin-top: auto; }
.dash-card-pts { margin-bottom: 1rem; }
.dash-chip { margin: 0; font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.dash-chip--unavailable { margin: 0 0 1.1rem; font-weight: 400; letter-spacing: normal; }
.dash-card-foot .actions { margin-top: 1rem; }
.dash-card-foot input { border-radius: var(--radius); }
.dash-chip--done { color: var(--accent-text); }
.dash-chip--done::before { content: "\2020\00a0"; }
.dash-chip--gone { color: var(--on-surface-variant); }
.dash-card--earned { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.dash-card--earned .task-glyph { color: var(--on-surface); }
.dash-card--closed { background: var(--surface); }
.dash-card--closed h3, .dash-card--closed .dash-card-pts { color: var(--on-surface-variant); }

.dash-bay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.dash-bay {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: 1.6rem 1.4rem 1.3rem; background: var(--surface-container);
  border: 1px solid var(--line); border-top: 0;
  -webkit-mask: var(--mask-tear-card) top / 100% 10px no-repeat, linear-gradient(black 0 0) bottom / 100% calc(100% - 9px) no-repeat;
  mask: var(--mask-tear-card) top / 100% 10px no-repeat, linear-gradient(black 0 0) bottom / 100% calc(100% - 9px) no-repeat;
  --tier: var(--tier-neutral);
}
.dash-bay--candle { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); column-gap: 1.1rem; align-items: end; }
.dash-bay--candle .candle-stand { height: 9rem; margin: 0; align-self: stretch; }
.dash-bay--candle .candle { width: 22px; }
.dash-bay--candle .flame { width: 11px; height: 23px; }
.dash-bay-body { display: flex; flex-direction: column; min-width: 0; height: 100%; }
.candle-stand--unlit .candle { filter: brightness(.48) saturate(.85); }
.dash-bay--featured { --tier: var(--tier-accent); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.dash-bay-lbl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin: 0; color: var(--tier); font: 700 .78rem/1.3 var(--font-body); letter-spacing: .18em; text-transform: uppercase; }
.dash-bay-xp { color: var(--on-surface-variant); }
.dash-bay-tier { display: inline-flex; align-items: baseline; gap: .45rem; }
.bay-no { color: var(--accent-text); font: 700 1.25rem/1 var(--font-display); letter-spacing: 0; text-transform: none; }
.flame-sep { display: inline-block; width: 6px; height: 10px; margin: 0 .65em; vertical-align: .02em; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: var(--flame); }
.rewards-scale { display: flex; flex-wrap: wrap; align-items: baseline; }
.dash-bay-name { margin: .8rem 0 .5rem; font-size: 1.6rem; }
.dash-bay-reward { margin: 0 0 .4rem; color: var(--on-surface); }
.dash-bay-note { margin: 0 0 .4rem; font-size: .95rem; font-style: italic; overflow-wrap: anywhere; }
.dash-bay-st { margin: auto 0 0; padding-top: .8rem; color: var(--on-surface-variant); font-weight: 700; font-size: .95rem; }
.dash-bay-st--locked { color: var(--on-surface); }
.dash-bay-st--done { color: var(--accent-text); }
.dash-bay-st--done::before { content: "\2020\00a0"; }
.dash-reveal .btn { background: var(--accent); color: var(--accent-ink); border-color: var(--btn-edge); }
.dash-bay--locked .dash-bay-name { color: var(--on-surface-variant); }
.wick { height: 3px; margin-top: .9rem; background: var(--line); }
.wick > i { display: block; height: 100%; background: var(--accent-text); }
.dash-bay--locked .wick > i { background: var(--on-surface-variant); }
.initialism { font-family: var(--font-body); font-variant-caps: all-small-caps; font-weight: 700; letter-spacing: .05em; font-size: 1.08em; }
.leaf .note.err { color: var(--on-surface-variant); }
.leaf .note.err::before { content: ""; display: inline-block; width: 6px; height: 10px; margin-right: .5em; vertical-align: .02em; border-radius: 50% 50% 46% 46% / 64% 64% 36% 36%; background: var(--accent-text); }

.dash-about { display: grid; grid-template-columns: 1fr; gap: 1.6rem; padding: clamp(1.6rem, 4vw, 2.4rem); background: var(--surface-container); border: 1px solid var(--line); }
@media (min-width: 640px) { .dash-about { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dash-about-col { min-width: 0; }
.dash-about-text { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.dash-about-h, .dash-about-blurb { margin: 0; }
.dash-about-h { font-size: clamp(2rem, 4vw, 2.8rem); }
.dash-about-media { display: block; }
.dash-about-stores, .dash-about-strip { list-style: none; margin: 0; padding: 0; }
.dash-about-stores { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.dash-about-stores:has(li:nth-child(2)) { width: 100%; align-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-about-stores:has(li:nth-child(2)) .btn { width: 100%; }
.dash-about-stores .btn { color: var(--on-surface); background: transparent; border-color: var(--ghost-edge); box-shadow: none; }
.dash-about-stores .btn:hover { border-color: var(--on-surface); }
.dash-about-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .75rem; }
.dash-about-strip > li { min-width: 0; }
.dash-about-plate { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; margin-bottom: .75rem; border: 1px solid var(--line); }
.dash-about-plate img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.dash-about-plate img[hidden] { display: none; }
.dash-shot, .dash-shot--trailer { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.dash-shot img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.7) brightness(.7); }
.dash-shot.is-selected img, .dash-shot:hover img { filter: none; }
.dash-shot[data-action="gallery"] { appearance: none; -webkit-appearance: none; padding: 0; width: 100%; cursor: pointer; }
.dash-shot[data-action="gallery"].is-selected { border-color: var(--btn-edge); }
.dash-shot-play { position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%); display: block; }
.dash-shot-play[hidden] { display: none; }
.dash-about-plate-play { z-index: 1; }
.dash-about-plate .dash-shot-play { --media-badge-plate: 56px; }
.dash-shot .dash-shot-play { --media-badge-tile: 30px; }
.dash-shot-play svg {
  display: block; padding: 6px; width: var(--media-badge-plate, var(--media-badge-tile)); height: var(--media-badge-plate, var(--media-badge-tile));
  border-radius: 50%; color: var(--on-surface);
  background: color-mix(in srgb, var(--surface) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--on-surface) 70%, transparent);
}
.dash-links { margin-top: 0; }

.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.is-visible.d1 { transition-delay: .08s; }
  .reveal.is-visible.d2 { transition-delay: .16s; }
  .reveal.is-visible.d3 { transition-delay: .24s; }
  .reveal.is-visible.d4 { transition-delay: .32s; }
  .reveal.is-visible.d5 { transition-delay: .4s; }
  .reveal:not(.is-visible) .gauge-fill { transform: scaleX(0); }
  .grain { animation: ambient-grain 1.2s steps(3) infinite; }
  .flicker, .tier--lit .flame { animation: ambient-flicker 4.8s infinite; }
  .flicker--slow { animation-duration: 6.2s; animation-delay: 1.4s; }
}
@keyframes ambient-grain {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-37px, 21px); }
  66% { transform: translate(19px, -43px); }
}
@keyframes ambient-flicker {
  0%, 38%, 43%, 47%, 72%, 77%, 100% { opacity: 1; }
  40% { opacity: .55; }
  45% { opacity: .68; }
  74% { opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gauge-fill { transform: none; transition: none; }
  .btn, .leaf, .media-tile img, .faq-tick { transition: none; }
}
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1020px) {
  .quest-log, .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candles { gap: .75rem; }
  .tier-xp b { font-size: 1.9rem; }
}
@media (max-width: 860px) {
  .candles { grid-template-columns: 1fr; gap: 0; }
  .candles::before { display: none; }
  .tier { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1.1rem; align-items: end; text-align: left; padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--line); }
  .tier > :not(.candle-stand) { grid-column: 2; }
  .candle-stand { grid-row: 1 / span 4; grid-column: 1; height: 124px; margin: 0; }
  .candle { width: 24px; height: calc(var(--wax) * .9); }
  .tier--lit .candle { width: 28px; }
  .flame { width: 11px; height: 23px; }
  .tier--lit .flame { width: 13px; height: 27px; }
  .candle-dish { width: 52px; }
  .tier-reward, .tier-desc { margin-inline: 0; max-width: none; }
}
@media (max-width: 760px) {
  :root { --gutter: 1.125rem; --tear: 16px; --chrome-h: 60px; }
  .nav-inner { gap: 1rem; }
  .wordmark { font-size: 1.35rem; }
  .sigil { width: 1.3rem; height: 1.55rem; }
  .hero { display: block; min-height: 0; }
  .hero-stage { bottom: auto; height: 380px; }
  .hero-scrim {
    bottom: auto; height: 380px;
    background:
      linear-gradient(0deg, var(--surface) 0%, var(--surface) 6%, transparent 55%),
      radial-gradient(110% 90% at 50% 40%, transparent 50%, color-mix(in srgb, var(--surface) 80%, transparent) 100%);
  }
  .hero--art .hero-stage, .hero--art .hero-scrim { height: 250px; }
  .hero-content { padding-block: 290px 3rem; }
  .hero--art .hero-content { padding-top: 180px; }
  .hero-logo { max-height: 56px; margin-bottom: .9rem; }
  .hero-h { font-size: clamp(2.7rem, 12.5vw, 3.6rem); }
  .hero-sub { font-size: 1.08rem; margin-bottom: 1.6rem; }
  .hero-actions { display: grid; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .rites { grid-auto-flow: row; grid-template-columns: 1fr; border-top: 0; }
  .rite, .rite + .rite { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: 1rem; padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--line); }
  .rite-no { grid-row: span 2; font-size: 3rem; margin: 0; }
  .rite > :not(.rite-no) { grid-column: 2; }
  .quest-log, .dash-grid { grid-template-columns: 1fr; }
  .leaf { padding: 1.6rem 1.25rem 1.2rem; }
  .task-glyph { top: 1.3rem; right: 1.2rem; }
  .xp-number { font-size: 1.7rem; }
  .cta-frame { grid-template-columns: 1fr; outline-offset: 5px; }
  .cta-actions { min-width: 0; }
  .section--faq { grid-template-columns: 1fr; }
  .faq-q { font-size: 1.3rem; }
  .dash-main { padding-top: 1.5rem; }
}
@media (max-width: 560px) {
  .store-list:has(li:nth-child(2)) { width: 100%; display: flex; flex-direction: column; align-items: stretch; }
  .store-list:has(li:nth-child(2)) > li { width: 100%; }
  .dash-about-stores:not(:has(li:nth-child(2))) { width: 100%; align-self: stretch; }
  .dash-about-stores:not(:has(li:nth-child(2))) > li > a { width: 100%; }
}

@media print {
  .nav, .nav-mobile, .nav-burger, .skip-link, .lang-switch, .profile-menu, .grain, .hero-stage, .hero-scrim { display: none; }
  body::after, .ground::before, .footer::before { display: none; }
  .dash-header { position: static; }
  .ground, .footer, .leaf, .dash-bay, .distressed { -webkit-mask: none; mask: none; }
  .reveal { opacity: 1; transform: none; }
  .media-gallery--live .media-grid.media-grid--gutters .media-nav { display: none; }
  .media-gallery--live .media-grid .media-dots,
  .dash-about-media.media-gallery--live .media-dots,
  .dash-about-media.media-gallery--live .media-nav { display: none; }
  .media-grid--gutters { --media-gutter: 0rem; }
  body {
    background: Canvas; color: CanvasText;
    --on-surface: CanvasText; --on-surface-variant: CanvasText; --accent-text: CanvasText; --accent-ink: CanvasText;
    --surface: Canvas; --surface-container: Canvas; --surface-container-high: Canvas;
    --band: Canvas; --band-2: Canvas; --band-solid: Canvas; --line: GrayText;
    --tier-accent: CanvasText; --tier-neutral: CanvasText;
  }
  .btn-steam { background: none; box-shadow: none; }
}
