@font-face { font-family: 'Cinzel'; src: url(fonts/Cinzel.ttf?v=f4d83d34d1) format('truetype'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Alegreya'; src: url(fonts/Alegreya.ttf?v=ba5564634b) format('truetype'); font-weight: 400 900; font-display: swap; }
:root {
  --ink: #0b0806; --ink2: #120d08; --gold: #e3c27a; --gold-hi: #f3dfa8; --gold-dim: #a8884a;
  --text: #d6c6a2; --muted: #9c8b68; --line: rgba(227, 194, 122, 0.28); --line-hi: rgba(227, 194, 122, 0.55);
  --display: 'Cinzel', Georgia, serif; --body: 'Alegreya', Georgia, serif;
  --dial-r: 600px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body { background: var(--ink); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 80; padding: 10px 14px; background: #1a140e; color: #f3dfa8; font: 600 14px/1 "Segoe UI", system-ui, sans-serif; text-decoration: none; border: 1px solid #e3c27a; }
.skip:focus { top: 10px; }
a[target="_blank"]::after { content: " (opens in a new tab)"; position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.links a:focus-visible, .brand:focus-visible { outline: 1px solid #f0d58c; outline-offset: 4px; }
.brand-group { display: flex; align-items: center; gap: 12px; height: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(227, 160, 70, 0.10), transparent 70%), radial-gradient(ellipse 120% 80% at 50% 120%, rgba(120, 60, 20, 0.18), transparent 60%), var(--ink); }
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 64px; display: flex; align-items: center; gap: 28px; padding: 0 max(24px, env(safe-area-inset-left)); background: linear-gradient(rgba(14, 10, 7, 0.94), rgba(11, 8, 6, 0.86)); border-bottom: 1px solid var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45); }
.top::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(243, 223, 168, 0.55) 50%, transparent); pointer-events: none; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 26px; width: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8)); }
.links { display: flex; gap: 26px; margin-left: auto; }
.links a { font-family: var(--display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--text); padding: 6px 0; border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.links a:hover { color: var(--gold-hi); border-bottom-color: var(--gold-dim); }
@media (max-width: 860px) { .links { display: none; } .top .btn { margin-left: auto; } }
@media (max-width: 560px) { .top { gap: 12px; height: 56px; padding: 0 16px; } .brand img { height: 20px; } }
.btn { display: inline-block; padding: 13px 26px; font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; color: #1a1006; background: linear-gradient(#ecd496, #b98d43); border: 1px solid #f0d99c; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 24px rgba(0, 0, 0, 0.5); cursor: pointer; transition: filter 0.2s, box-shadow 0.2s; }
.btn:hover { filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 6px 28px rgba(227, 160, 70, 0.25); }
.btn.ghost { color: var(--gold); background: rgba(11, 8, 6, 0.55); border-color: var(--line-hi); }
.btn.ghost:hover { color: var(--gold-hi); border-color: var(--gold); }
.btn.small { padding: 9px 18px; font-size: 13px; }
.hero { position: relative; overflow: hidden; min-height: max(100vh, calc(var(--dial-r) + 190px)); min-height: max(100svh, calc(var(--dial-r) + 190px)); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 16px; }
.hero::after { content: ''; position: absolute; left: 50%; top: calc(var(--dial-r) * 0.46); width: min(1100px, 120vw); height: calc(var(--dial-r) * 0.62); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(11, 8, 6, 0.92), rgba(11, 8, 6, 0.7) 50%, transparent); pointer-events: none; z-index: 1; }
.sigclip { position: absolute; left: 0; right: 0; top: 0; height: 0; overflow: hidden; contain: strict; clip-path: inset(0); isolation: isolate; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.sigil { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity 2.6s ease; }
.sigil.on { opacity: var(--sig-show, 0.64); }
.sigil > div { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.sig-par { will-change: transform; }
.sig-par > svg { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; overflow: visible; transform-origin: var(--sig-r, 50%) var(--sig-r, 50%); will-change: transform; }
.sig-back > svg { animation: sigturn 420s linear infinite; }
.sig-mid > svg { animation: sigturn 260s linear infinite reverse; }
.sig-front > svg { animation: sigturn 330s linear infinite; }
@keyframes sigturn { to { transform: rotate(360deg); } }
.sig-glow { left: -12% !important; top: -12% !important; width: 124% !important; height: 124% !important; background: radial-gradient(circle closest-side, rgba(255, 196, 110, 0.30), rgba(214, 130, 50, 0.12) 52%, rgba(120, 60, 20, 0.05) 74%, transparent 100%); animation: sigbreathe 11s ease-in-out infinite; }
@keyframes sigbreathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.sig-sweep { border-radius: 50%; mix-blend-mode: screen; background: conic-gradient(from 180deg, transparent 0deg, transparent 322deg, rgba(255, 238, 196, 0.16) 334deg, rgba(255, 246, 220, 0.34) 341deg, rgba(255, 238, 196, 0.16) 348deg, transparent 360deg); -webkit-mask-image: radial-gradient(circle closest-side, transparent 45%, #000 47%, #000 99%, transparent 100%); mask-image: radial-gradient(circle closest-side, transparent 45%, #000 47%, #000 99%, transparent 100%); transform-origin: var(--sig-r, 50%) var(--sig-r, 50%); animation: sigsweep 17s ease-in-out infinite alternate; will-change: transform; }
@keyframes sigsweep { from { transform: rotate(-62deg); } to { transform: rotate(92deg); } }
.sig-motes, .sig-lit { position: absolute; left: 0; top: 0; }
.sig-lit { mix-blend-mode: color-dodge; opacity: 1; }
.lockup { position: relative; z-index: 2; width: min(88vw, 820px); margin-top: calc(var(--dial-r) * 0.46); transform: translateY(-50%); }
.logo { width: 100%; height: auto; filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.9)); }
.sub { width: 64%; height: auto; margin: 12px auto 0; opacity: 0.92; }
.hero-foot { position: relative; z-index: 2; margin-top: auto; padding-bottom: 64px; }
.tag { font-family: var(--display); font-size: clamp(15px, 2vw, 20px); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); padding-left: 0.3em; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.sep { display: flex; align-items: center; justify-content: center; gap: 14px; width: min(560px, 80vw); margin: 0 auto; }
.sep i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim)); }
.sep i:last-child { transform: scaleX(-1); }
.sep b { position: relative; width: 22px; height: 22px; border: 1px solid var(--line-hi); border-radius: 50%; }
.sep b::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 10px rgba(227, 194, 122, 0.6); }
main > section { width: min(1180px, 100%); margin: 0 auto; padding: 84px 20px; }
.eyebrow { font-family: var(--display); font-weight: 400; font-size: 14px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold-dim); text-align: center; margin-bottom: 14px; padding-left: 0.4em; }
h3 { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; color: var(--gold); letter-spacing: 0.03em; text-wrap: balance; }
h3.center { text-align: center; }
h4 { font-family: var(--display); font-weight: 600; color: var(--gold-hi); letter-spacing: 0.06em; }
.lede { max-width: 720px; margin: 18px auto 0; text-align: center; color: var(--text); text-wrap: pretty; }
p + p { margin-top: 14px; }
.frame { position: relative; border: 1px solid var(--line); padding: 6px; background: linear-gradient(180deg, rgba(30, 20, 10, 0.45), rgba(11, 8, 6, 0.6)); }
.frame::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(227, 194, 122, 0.14); pointer-events: none; }
.shot { position: absolute; top: 0; bottom: 0; right: 0; width: 100%; background-image: var(--img); background-size: cover; background-position: var(--pos, center); filter: var(--lift, none); -webkit-mask-image: var(--mask); mask-image: var(--mask); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; pointer-events: none; }
.world .frame { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 460px; }
.world-text { position: relative; z-index: 1; padding: 44px 40px 44px 44px; }
.world-text .eyebrow { text-align: left; padding-left: 0; }
.world-text h3 { margin-bottom: 20px; }
.world-art { position: relative; margin: 0; min-height: 300px; }
.world-art .shot { left: -30%; width: auto; background-position: center 82%; }
@media (max-width: 860px) { .world .frame { grid-template-columns: 1fr; } .world-art { min-height: 240px; order: -1; } .world-art .shot { left: 0; } .world-text { padding: 28px 22px 34px; } }
.schools { display: flex; justify-content: center; gap: 10px; margin: 44px auto 0; flex-wrap: wrap; }
.schools button { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 120px; padding: 10px 4px 12px; background: none; border: 1px solid transparent; border-radius: 2px; color: var(--muted); font-family: var(--display); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; transition: color 0.25s, border-color 0.25s, background 0.25s; }
.schools button:hover { color: var(--text); }
.schools button:hover .sign { color: color-mix(in srgb, var(--c) 85%, transparent); }
.schools button[aria-selected=true] { color: var(--gold-hi); border-color: var(--line); background: rgba(30, 20, 10, 0.5); }
.schools button[aria-selected=true] .sign { color: var(--c); }
@media (max-width: 760px) { .schools button { width: 30%; } .schools .sign { width: 54px; height: 54px; } }
.panels { position: relative; margin-top: 26px; }
.panel { position: relative; min-height: 520px; border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; background: radial-gradient(ellipse 60% 70% at 75% 50%, color-mix(in srgb, var(--g) 14%, transparent), transparent 70%), #0e0a07; }
.panel .shot { width: 66%; transform: scale(var(--zoom, 1.16)); transform-origin: 60% 12%; }
.panel::before { content: ''; position: absolute; inset: 6px; border: 1px solid rgba(227, 194, 122, 0.12); pointer-events: none; }
.orn { position: absolute; z-index: 2; left: 6px; top: 14px; bottom: 14px; width: 44px; display: flex; flex-direction: column; align-items: center; color: var(--c); pointer-events: none; }
.orn i { flex: 1; width: 1px; background: linear-gradient(transparent, color-mix(in srgb, var(--c) 70%, transparent)); }
.orn i:last-child { background: linear-gradient(color-mix(in srgb, var(--c) 70%, transparent), transparent); }
.orn svg { flex: none; width: 44px; height: 170px; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--c) 35%, transparent)); }
.ptext { padding-left: 66px !important; }
.js .panel { display: none; }
.js .panel.on { display: flex; animation: rise 0.6s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ptext { position: relative; z-index: 1; max-width: 540px; padding: 46px 44px; }
.rarity { font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--c); }
.ptext h4 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 500; margin: 6px 0 14px; }
.blurb { font-style: italic; color: var(--gold); font-size: 20px; line-height: 1.5; border-left: 1px solid var(--line-hi); padding-left: 16px; margin-bottom: 18px; }
@media (max-width: 760px) {
  .panel { min-height: 0; flex-direction: column; align-items: stretch; padding-top: 200px; }
  .panel .shot { width: 100%; bottom: auto; height: 300px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-size: auto; mask-size: auto; }
  .ptext { padding: 26px 22px 30px; }
}
.lands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.lands figure { position: relative; aspect-ratio: 4 / 3; overflow: hidden; margin: 0; background: #0e0a07; }
.lands figure .shot { bottom: 42%; background-image: var(--singe, none), var(--img); background-size: 100% 100%, cover; background-position: 0 0, var(--pos, center); background-repeat: no-repeat; -webkit-mask-image: var(--wear, linear-gradient(#000 0 0)), var(--mask); mask-image: var(--wear, linear-gradient(#000 0 0)), var(--mask); -webkit-mask-composite: source-in; mask-composite: intersect; }
.lands figure::before, .lands figure::after { content: ''; position: absolute; padding: 1px; pointer-events: none; transition: opacity 0.3s; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.lands figure::after { inset: 0; z-index: 2; opacity: 0.28; background: var(--frame, linear-gradient(rgb(227, 194, 122) 0 0)) 0 0 / 100% 100% no-repeat; }
.lands figure::before { inset: 5px; opacity: 0.1; background: var(--frame, linear-gradient(rgb(227, 194, 122) 0 0)) -5px -5px / calc(100% + 10px) calc(100% + 10px) no-repeat; }
.lands figure:nth-child(1) { --frame: url(img/land-frame-sun.png?v=1fd5efeaa2); --wear: url(img/land-wear-sun.png?v=aa34f672e6); --singe: url(img/land-singe-sun.png?v=4275e45cee); }
.lands figure:nth-child(2) { --frame: url(img/land-frame-fire.png?v=0d1480329c); --wear: url(img/land-wear-fire.png?v=b070a0095e); --singe: url(img/land-singe-fire.png?v=1250540a0f); }
.lands figure:nth-child(3) { --frame: url(img/land-frame-water.png?v=4a89394159); --wear: url(img/land-wear-water.png?v=90fe563139); --singe: url(img/land-singe-water.png?v=c64d34ea37); }
.lands figure:nth-child(4) { --frame: url(img/land-frame-earth.png?v=59f0023a97); --wear: url(img/land-wear-earth.png?v=1d5faf90aa); --singe: url(img/land-singe-earth.png?v=a0bca7074f); }
.lands figure:nth-child(5) { --frame: url(img/land-frame-wind.png?v=ccd05c4eb7); --wear: url(img/land-wear-wind.png?v=90ad768b67); --singe: url(img/land-singe-wind.png?v=f61cc9117a); }
.lands figure:nth-child(6) { --frame: url(img/land-frame-shadow.png?v=4eb0f5f1c8); --wear: url(img/land-wear-shadow.png?v=996472a908); --singe: url(img/land-singe-shadow.png?v=b1d4c88658); }
.lands figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.lands b { display: block; font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: 0.06em; color: var(--gold-hi); }
.lands b::after { content: ''; display: block; width: 40px; height: 1px; margin: 8px 0 10px; background: var(--c); }
.lands span { display: block; font-size: 16px; line-height: 1.45; color: var(--text); }
.lands { position: relative; }
@property --gem-hi { syntax: '<color>'; inherits: true; initial-value: #ffd2a6; }
@property --gem-mid { syntax: '<color>'; inherits: true; initial-value: #e0661f; }
@property --gem-lo { syntax: '<color>'; inherits: true; initial-value: #6a1e05; }
.lands { animation: gem-cycle 36s linear infinite paused; }
.lands.gems-on { animation-play-state: running; }
@keyframes gem-cycle {
  0.00%, 8.00% { --gem-hi: #ffd2a6; --gem-mid: #e0661f; --gem-lo: #6a1e05; }
  16.67%, 24.67% { --gem-hi: #c6ecff; --gem-mid: #2f8fc8; --gem-lo: #0c3552; }
  33.33%, 41.33% { --gem-hi: #b6f5d2; --gem-mid: #2a9a5c; --gem-lo: #0a4f2c; }
  50.00%, 58.00% { --gem-hi: #e8fbf5; --gem-mid: #7cc6b6; --gem-lo: #285a52; }
  66.67%, 74.67% { --gem-hi: #ddcbff; --gem-mid: #7350a0; --gem-lo: #2a1642; }
  83.33%, 91.33% { --gem-hi: #fff2c2; --gem-mid: #e6ae2e; --gem-lo: #7a4a08; }
  100% { --gem-hi: #ffd2a6; --gem-mid: #e0661f; --gem-lo: #6a1e05; }
}
.clasp { position: absolute; z-index: 3; width: 140px; height: 140px; pointer-events: none; opacity: 0.92; }
.clasp svg { display: block; width: 140px; height: 140px; }
@media (max-width: 560px) { .clasp { display: none; } }
@media (max-width: 900px) { .lands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lands { grid-template-columns: 1fr; } }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.feat { position: relative; padding: 26px 34px 32px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 20, 10, 0.5), rgba(11, 8, 6, 0.4)); }
.feat::before { content: ''; position: absolute; inset: 5px; padding: 1px; pointer-events: none; z-index: 2; opacity: 0.18; background: var(--frame, linear-gradient(rgb(227, 194, 122) 0 0)) -6px -6px / calc(100% + 12px) auto no-repeat; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.feat .fimg { position: relative; margin: -26px -34px 26px; aspect-ratio: 16 / 9; overflow: hidden; }
.feat .fimg::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; z-index: 1; background: linear-gradient(90deg, transparent, var(--gold-dim) 18%, var(--gold) 50%, var(--gold-dim) 82%, transparent); -webkit-mask: var(--fline, linear-gradient(#000 0 0)) 0 0 / 100% 100%; mask: var(--fline, linear-gradient(#000 0 0)) 0 0 / 100% 100%; }
.feat { border-color: transparent; }
.feat::after { content: ''; position: absolute; inset: -1px; padding: 1px; pointer-events: none; z-index: 2; opacity: 0.55; background: var(--frame, linear-gradient(rgb(227, 194, 122) 0 0)) 0 0 / 100% auto no-repeat; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.feat:nth-child(1) { --frame: url(img/features/dominions-frame.png?v=b8bd9f5599); --fline: url(img/features/dominions-line.png?v=28bde523b7); }
.feat:nth-child(2) { --frame: url(img/features/creator-frame.png?v=dd878a1452); --fline: url(img/features/creator-line.png?v=6c4aa4d263); }
.feat:nth-child(3) { --frame: url(img/features/parties-frame.png?v=0e231e4fe5); --fline: url(img/features/parties-line.png?v=e1bbb43d07); }
.feat:nth-child(4) { --frame: url(img/features/guild-frame.png?v=6b46ecfed7); --fline: url(img/features/guild-line.png?v=12c581c19c); }
.feat:nth-child(5) { --frame: url(img/features/exchange-frame.png?v=38dba7d4e3); --fline: url(img/features/exchange-line.png?v=21027aa952); }
.feat:nth-child(6) { --frame: url(img/features/trading-frame.png?v=8589a1f67c); --fline: url(img/features/trading-line.png?v=ec2841dfa4); }
.feat:nth-child(7) { --frame: url(img/features/pve-frame.png?v=3f246af93c); --fline: url(img/features/pve-line.png?v=2170d72e89); }
.feat:nth-child(8) { --frame: url(img/features/dungeons-frame.png?v=a724c251e3); --fline: url(img/features/dungeons-line.png?v=da7465248f); }
.feat:nth-child(9) { --frame: url(img/features/raids-frame.png?v=1a69f80ae6); --fline: url(img/features/raids-line.png?v=29fa1b8346); }
.feat:nth-child(10) { --frame: url(img/features/quests-frame.png?v=448d2c5863); --fline: url(img/features/quests-line.png?v=7c270f2282); }
.feat:nth-child(11) { --frame: url(img/features/loot-frame.png?v=a23fb72fe9); --fline: url(img/features/loot-line.png?v=f172b94db8); }
.feat:nth-child(12) { --frame: url(img/features/crafting-frame.png?v=4537d2cf68); --fline: url(img/features/crafting-line.png?v=282381ef74); }
.feat:nth-child(13) { --frame: url(img/features/pvp-frame.png?v=795ec4d330); --fline: url(img/features/pvp-line.png?v=058ee25d7c); }
.feat:nth-child(14) { --frame: url(img/features/outlaws-frame.png?v=c77a558787); --fline: url(img/features/outlaws-line.png?v=2939ed1f9d); }
.feat:nth-child(15) { --frame: url(img/features/spellbook-frame.png?v=30e97d9007); --fline: url(img/features/spellbook-line.png?v=fa2bb3c9ba); }
.feat:nth-child(16) { --frame: url(img/features/bloodlines-frame.png?v=de40d25fab); --fline: url(img/features/bloodlines-line.png?v=318829bd68); }
.feat .fimg img { width: 100%; height: 100%; object-fit: cover; }
.feat .fimg::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(11, 8, 6, 0.75), rgba(11, 8, 6, 0) 8px), linear-gradient(90deg, rgba(11, 8, 6, 0.75), rgba(11, 8, 6, 0) 8px, rgba(11, 8, 6, 0) calc(100% - 8px), rgba(11, 8, 6, 0.75)), linear-gradient(180deg, rgba(20, 14, 8, 0) 62%, rgba(20, 14, 8, 0.85)); }
.feat h4 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.feat h4::after { content: ''; display: block; width: 34px; height: 1px; margin-top: 10px; background: var(--gold-dim); }
@media (max-width: 960px) { .feats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .feats { grid-template-columns: 1fr; } }
.corner { position: absolute; z-index: 3; width: 56px; height: 56px; pointer-events: none; opacity: 0.9; }
.corner svg { display: block; width: 56px; height: 56px; }
.corner.tl { top: -15px; left: -15px; }
.corner.br { right: -15px; bottom: -15px; transform: rotate(180deg); }
.corner.tr { top: -15px; right: -15px; transform: scaleX(-1); }
.corner.bl { left: -15px; bottom: -15px; transform: scaleY(-1); }
.corner-mid { position: absolute; z-index: 3; left: calc(50% - 30px); width: 60px; height: 20px; pointer-events: none; opacity: 0.9; }
.corner-mid svg { display: block; width: 60px; height: 20px; }
.corner-mid.mtop { top: -8px; }
.corner-mid.mbot { bottom: -8px; transform: rotate(180deg); }
.corner, .corner-mid { display: none; }
.pos-L > .corner.tl, .pos-L > .corner.br, .pos-R > .corner.tr, .pos-R > .corner.bl, .pos-M > .corner-mid { display: block; }
.brand { gap: 12px; }
.alpha-badge { flex: none; margin: 0; cursor: pointer; appearance: none; text-decoration: none; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; line-height: 1; color: var(--gold-hi); padding: 5px 7px 4px 9px; border: 1px solid var(--line-hi); background: rgba(74, 54, 26, 0.55); }
.alpha-note { margin-top: 22px; font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dim); padding-left: 0.3em; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8); }
@media (max-width: 560px) { .alpha-badge { font-size: 10px; padding: 4px 5px 3px 7px; } .brand { gap: 8px; } }
.who { display: inline-flex; align-items: center; gap: 8px; max-width: 220px; min-height: 34px; padding: 0; font: 600 14px/1.2 "Segoe UI", system-ui, sans-serif; color: #f0d58c; text-decoration: none; background: none; border: 0; box-shadow: none; cursor: pointer; }
.who::before, .who::after { content: none; }
.who img { border-radius: 50%; flex: none; box-shadow: 0 0 0 1px #c9a45a; }
.who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who:hover, .who:focus-visible { color: #fff5d6; outline: 1px solid #f0d58c; outline-offset: 3px; }
.who-pop { position: relative; }
.who-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; flex: none; }
.who-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 220px; padding: 6px 0; background: #17120c; border: 1px solid rgba(227, 194, 122, 0.45); box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55); }
.who-menu[hidden] { display: none; }
.who-menu a, .who-menu button { display: block; width: 100%; padding: 9px 14px; color: #d6c6a2; background: none; border: 0; font: 600 14px/1.3 "Segoe UI", system-ui, sans-serif; text-align: left; text-decoration: none; letter-spacing: 0; text-transform: none; cursor: pointer; }
.who-menu a:hover, .who-menu button:hover { background: #241a10; color: #f3dfa8; }
.who-menu hr { border: 0; border-top: 1px solid rgba(227, 194, 122, 0.28); margin: 4px 0; }
.who-menu form { margin: 0; }
.alpha-badge { cursor: pointer; }
.alpha-badge:hover, .alpha-badge:focus-visible { border-color: var(--gold); color: #fff3cf; outline: 2px solid #f0d58c; outline-offset: 3px; }
.alpha-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(5, 3, 2, 0.78); }
.alpha-modal[hidden] { display: none; }
.alpha-card { position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; padding: 28px 26px 24px; border: 1px solid var(--line-hi); background: linear-gradient(180deg, #1a120a, var(--ink)); box-shadow: 0 12px 48px rgba(0, 0, 0, 0.7); font-size: 16px; }
.alpha-card h4 { font-size: 22px; margin-bottom: 12px; padding-right: 28px; }
.alpha-card ul { margin: 12px 0 0 18px; }
.alpha-card li { margin-top: 6px; }
.alpha-x { position: absolute; top: 8px; right: 10px; width: 36px; height: 36px; border: 0; background: none; color: var(--gold); font-size: 28px; line-height: 1; cursor: pointer; }
.alpha-x:hover { color: var(--gold-hi); }
main > section.devnote { padding-top: 64px; padding-bottom: 64px; }
.devcard { position: relative; overflow: hidden; isolation: isolate; max-width: 760px; margin: 0 auto; display: flex; align-items: center; padding: 42px 52px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(30, 20, 10, 0.5), rgba(11, 8, 6, 0.4)); }
.devcard::before { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(227, 194, 122, 0.1); pointer-events: none; }
.dev-o { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.09; -webkit-mask-image: radial-gradient(ellipse 62% 100% at 18% 50%, #000 0, rgba(0, 0, 0, 0.75) 22%, rgba(0, 0, 0, 0.35) 52%, rgba(0, 0, 0, 0.1) 76%, transparent 100%); mask-image: radial-gradient(ellipse 62% 100% at 18% 50%, #000 0, rgba(0, 0, 0, 0.75) 22%, rgba(0, 0, 0, 0.35) 52%, rgba(0, 0, 0, 0.1) 76%, transparent 100%); }
.dev-sigil { position: absolute; left: 18%; top: 50%; width: 400px; height: 400px; transform: translate(-50%, -50%); pointer-events: none; }
.dev-text { position: relative; width: 100%; }
.dev-text h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 12px; }
.dev-text p { color: var(--text); text-wrap: pretty; }
.devcard .dev-text .btn.ghost { display: flex; align-items: center; justify-content: center; width: fit-content; height: 48px; margin: 24px auto 0; padding: 0 44px; color: var(--gold); background: none; border: 1px solid transparent; border-radius: 0; box-shadow: none; min-height: 0; font-size: 15px; border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='48' viewBox='0 0 80 48'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23201609' stop-opacity='.92'/%3E%3Cstop offset='1' stop-color='%230d0906' stop-opacity='.92'/%3E%3C/linearGradient%3E%3ClinearGradient id='g' x1='0' y1='4' x2='0' y2='44' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23f2d998'/%3E%3Cstop offset='.45' stop-color='%23d2a650'/%3E%3Cstop offset='1' stop-color='%23a57a34'/%3E%3C/linearGradient%3E%3CradialGradient id='l' cx='.4' cy='.35' r='.75'%3E%3Cstop offset='0' stop-color='%234f72e6'/%3E%3Cstop offset='.55' stop-color='%231d3290'/%3E%3Cstop offset='1' stop-color='%230b1446'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M3.9 24L20 4H60L76.1 24L60 44H20Z' fill='url(%23f)'/%3E%3Cpath d='M20 4H60M20 44H60' stroke='%23e3c27a' stroke-opacity='.5' stroke-width='1'/%3E%3Cpath d='M20 7H60M20 41H60' stroke='%23e3c27a' stroke-opacity='.1' stroke-width='1'/%3E%3Cpath d='M26 4H20L3.9 24L20 44H26' fill='none' stroke='%23140d06' stroke-opacity='.8' stroke-width='4.4' stroke-linejoin='miter'/%3E%3Cpath d='M26 4H20L3.9 24L20 44H26' fill='none' stroke='%238a6428' stroke-width='3.2' stroke-linejoin='miter'/%3E%3Cpath d='M26 4H20L3.9 24L20 44H26' fill='none' stroke='url(%23g)' stroke-width='1.6' stroke-linejoin='miter'/%3E%3Cpath d='M54 4H60L76.1 24L60 44H54' fill='none' stroke='%23140d06' stroke-opacity='.8' stroke-width='4.4' stroke-linejoin='miter'/%3E%3Cpath d='M54 4H60L76.1 24L60 44H54' fill='none' stroke='%238a6428' stroke-width='3.2' stroke-linejoin='miter'/%3E%3Cpath d='M54 4H60L76.1 24L60 44H54' fill='none' stroke='url(%23g)' stroke-width='1.6' stroke-linejoin='miter'/%3E%3Cellipse cx='5.2' cy='24' rx='4.1' ry='3' fill='%235e431a'/%3E%3Cellipse cx='5.2' cy='24' rx='3.1' ry='2.15' fill='url(%23l)'/%3E%3Cellipse cx='4.3' cy='23.2' rx='1' ry='0.55' fill='%23c8d6ff' fill-opacity='.75'/%3E%3Cellipse cx='74.8' cy='24' rx='4.1' ry='3' fill='%235e431a'/%3E%3Cellipse cx='74.8' cy='24' rx='3.1' ry='2.15' fill='url(%23l)'/%3E%3Cellipse cx='73.89999999999999' cy='23.2' rx='1' ry='0.55' fill='%23c8d6ff' fill-opacity='.75'/%3E%3C/svg%3E") 0 26 fill / 0 26px / 0 stretch; transition: color 0.2s, filter 0.2s; }
.devcard .dev-text .btn.worn-ctl { background-image: none !important; border-color: transparent !important; }
.devcard .dev-text .btn.ghost:hover { color: #fff3d0; background: none; filter: brightness(1.15); box-shadow: none; }
.devcard .dev-text .btn.ghost:active { background: none; filter: brightness(0.9); }
.devcard .dev-text .btn.ghost:focus-visible { outline: 2px solid #f0d58c; outline-offset: 3px; filter: brightness(1.15); }
@media (max-width: 620px) { .devcard { text-align: center; padding: 34px 22px; } .dev-o { -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0 40%, transparent 100%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0 40%, transparent 100%); } .dev-sigil { left: 50%; top: 30%; } }
.signup { text-align: center; }
form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 520px; margin: 28px auto 0; }
input[type=email] { flex: 1 1 260px; min-width: 0; padding: 13px 15px; font: inherit; font-size: 17px; color: #f0e2c0; background: rgba(10, 7, 4, 0.75); border: 1px solid var(--line-hi); border-radius: 2px; outline: none; }
input[type=email]:focus { border-color: var(--gold); outline: 2px solid #f0d58c; outline-offset: 2px; }
.msg { width: 100%; min-height: 1.5em; color: #d8c493; font-size: 16px; }
.discord { margin-top: 18px; }
footer { padding: 40px 20px 50px; text-align: center; }
footer p { margin-top: 22px; font-family: var(--display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-dim); }
footer .fine { margin-top: 8px; font-family: var(--body); font-size: 14px; letter-spacing: 0.02em; text-transform: none; color: #c4b08a; }
.js main > section { opacity: 0; transform: translateY(14px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js main > section.seen { opacity: 1; transform: none; }
html { scrollbar-width: thin; scrollbar-color: #6b5530 #0b0806; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b0806; border-left: 1px solid rgba(227, 194, 122, 0.12); }
::-webkit-scrollbar-thumb { background: linear-gradient(90deg, #4a3a20, #7a6136 50%, #4a3a20); border: 2px solid #0b0806; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, #6b5530, #b8964f 50%, #6b5530); }
::-webkit-scrollbar-corner { background: #0b0806; }
.schools .sign { display: block; width: 66px; height: 66px; color: color-mix(in srgb, var(--c) 50%, transparent); transition: color 0.3s; }
.schools .sign { position: relative; }
.schools .sign svg { position: relative; width: 100%; height: 100%; }
.schools .sign img { position: absolute; left: 7.5%; top: 7.5%; width: 85%; height: 85%; border-radius: 50%; opacity: 0.55; filter: saturate(0.75); transition: opacity 0.3s, filter 0.3s; }
.schools button:hover .sign img { opacity: 0.85; filter: none; }
.schools button[aria-selected=true] .sign img { opacity: 1; filter: none; }
.schools button[aria-selected=true] .sign { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--c) 45%, transparent)); }
.panel { border-left-color: transparent; }
.js .panel { isolation: isolate; background: none; }
.pbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 75% 50%, color-mix(in srgb, var(--g) 14%, transparent), transparent 70%), #0e0a07; }
@media (max-width: 860px) { .pbg { -webkit-mask: none !important; mask: none !important; } }
.panel::before { border-left-color: transparent; }
.edge { position: absolute; z-index: 1; left: -1px; top: -1px; bottom: -1px; width: 8px; pointer-events: none;
  background: linear-gradient(var(--line), var(--line)) 0 0 / 1px 100% no-repeat, linear-gradient(rgba(227, 194, 122, 0.12), rgba(227, 194, 122, 0.12)) 7px 0 / 1px 100% no-repeat;
  -webkit-mask-image: linear-gradient(#000 0%, #000 22%, rgba(0,0,0,0.55) 27%, #000 30%, rgba(0,0,0,0.6) 34%, transparent 40%, transparent 60%, rgba(0,0,0,0.5) 66%, #000 70%, rgba(0,0,0,0.45) 75%, #000 80%, #000 100%);
  mask-image: linear-gradient(#000 0%, #000 22%, rgba(0,0,0,0.55) 27%, #000 30%, rgba(0,0,0,0.6) 34%, transparent 40%, transparent 60%, rgba(0,0,0,0.5) 66%, #000 70%, rgba(0,0,0,0.45) 75%, #000 80%, #000 100%); }
.cta .btn { min-width: 240px; padding: 15px 30px; color: var(--gold-hi); background: #4a361a; border: 2px solid var(--gold); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 6px rgba(204, 153, 64, 0.12), 0 6px 24px rgba(0, 0, 0, 0.5); filter: none; transition: background 0.25s, border-color 0.25s; }
.cta .btn.ghost { background: rgba(28, 21, 12, 0.85); border-color: var(--gold-dim); }
.cta .btn:hover { filter: none; background: #5c4421; border-color: var(--gold-hi); }
.btn.glyph { position: relative; overflow: hidden; isolation: isolate; }
.glyph-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; z-index: 0; }
.glyph-label { position: relative; z-index: 1; color: color-mix(in srgb, #fff5d6 calc(var(--glyph, 0) * 85%), var(--gold-hi)); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6), 0 0 3px rgba(10, 7, 4, 0.55); }
.sand { position: fixed; inset: 0; width: 100%; height: var(--sand-h, 100%); z-index: -1; pointer-events: none; transform: translateZ(0); }
.logo-wrap { position: relative; display: block; }
.brand .logo-wrap { display: inline-block; }
.brand .logo-wrap img { display: block; }
.logo-o { position: absolute; left: 47.69%; top: 50.42%; width: 27.38%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.btn { color: #f0d58c; background: #4a361a; border: 1px solid #c9a45a; border-top-width: 2px; border-radius: 2px; box-shadow: 0 0 6px rgba(204, 153, 64, 0.12), 0 6px 20px rgba(0, 0, 0, 0.45); filter: none; text-shadow: 0 0 3px rgba(10, 8, 6, 0.55), 0 1px 0 rgba(0, 0, 0, 0.5); transition: background-color 0.18s, color 0.18s, border-color 0.18s; }
.btn:hover { filter: none; color: #fff5d6; background-color: #5c4421; border-color: #f0d58c; box-shadow: 0 0 8px rgba(204, 153, 64, 0.18), 0 6px 20px rgba(0, 0, 0, 0.45); }
.btn:active { background-color: #2e2210; }
.btn.ghost { color: #d9c9a0; background: #2a2015; border-color: #5f4a2a; border-top-width: 1px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
.btn.ghost:hover { color: #fff3d0; background-color: #3a2d1d; border-color: #c9a45a; }
.cta .btn { background-color: #4a361a; border-color: #c9a45a; }
.cta .btn.ghost { background-color: #2a2015; border-color: #5f4a2a; }
.btn:focus-visible { outline: 1px solid #f0d58c; outline-offset: 2px; }
.btn.worn-ctl { border-color: transparent !important; background-image: var(--wearbg) !important; background-size: 100% 100% !important; background-repeat: no-repeat !important; background-origin: border-box !important; background-clip: border-box !important; }
.btn { font: 400 14px/1.2 "Segoe UI", system-ui, sans-serif; letter-spacing: 0; text-transform: none; min-height: 40px; padding: 8px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap; color: #f0d58c; background-color: #4a361a; border-radius: 2px; font-weight: 600; }
.btn.ghost { border-radius: 3px; font-weight: 400; color: #d9c9a0; background-color: #2a2015; }
.btn.ghost:active { background-color: #140f0a; color: #f0d58c; border-color: #f0d58c; }
.cta .btn { min-height: 48px; padding: 12px 28px; font-size: 16px; min-width: 230px; }
.top .btn { min-height: 34px; padding: 6px 16px; font-size: 14px; }
.btn:focus { outline: none; }
.btn:focus-visible { outline: 1px solid #e3c27a; outline-offset: 2px; box-shadow: 0 0 0 3px rgba(227, 194, 122, 0.18); }
.top .sound { width: 34px; min-height: 34px; height: 34px; padding: 0; margin-left: auto; color: #e3c27a; }
.top .sound + .btn { margin-left: -12px; }
.top .sound svg { width: 18px; height: 18px; display: block; }
.top .sound .off { display: none; }
.top .sound.muted { color: #8a7a5c; border-color: #4a3c26; }
.top .sound.muted .on { display: none; }
.top .sound.muted .off { display: block; }
@media (max-width: 760px) { .schools button > span:not(.sign) { text-shadow: 0 0 6px rgba(8, 5, 3, 0.95), 0 1px 3px rgba(8, 5, 3, 0.9); } .schools .sign svg { filter: drop-shadow(0 0 3px rgba(8, 5, 3, 0.9)); } }
@media (min-width: 1200px) { .lands span { min-height: calc(5 * 1.45em); } }
@media (min-width: 901px) and (max-width: 1199px) { .lands span { min-height: calc(6 * 1.45em); } }
.prysma { padding: 0; width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); overflow-x: clip; overflow-y: visible; }
.prysma-map { position: relative; margin: 0; }
.prysma-view { position: relative; width: 100%; aspect-ratio: 2.3 / 1; max-height: 86vh; overflow: hidden; touch-action: none; cursor: none;    user-select: none; -webkit-user-select: none;
  -webkit-mask-image: url("img/prysma-mask.png?v=95d770957b"), linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); -webkit-mask-size: 100% 100%, 100% 100%, 100% 100%; -webkit-mask-repeat: no-repeat; -webkit-mask-composite: source-in, source-in;
          mask-image: url("img/prysma-mask.png?v=95d770957b"), linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-size: 100% 100%, 100% 100%, 100% 100%; mask-repeat: no-repeat; mask-composite: intersect, intersect; }
.prysma-map.grab .prysma-view { cursor: grabbing; }
.prysma-map:not(.lens) .prysma-view { cursor: grab; }
.prysma-view img { position: absolute; left: 50%; top: 50%; width: 120%; max-width: none; height: auto; transform: translate(-50%, -50%); -webkit-user-drag: none; pointer-events: none;
  filter: sepia(0.16) saturate(0.86) brightness(0.93) contrast(1.04); image-rendering: auto; }
.prysma-lens { position: absolute; left: 0; top: 0; width: 300px; height: 300px; pointer-events: none; opacity: 0; scale: 0.96; transition: opacity 0.18s ease, scale 0.18s ease; will-change: transform; }
.prysma-lens.on { opacity: 1; scale: 1; }
.lens-glass { position: absolute; inset: 11px; border-radius: 50%; background: #120d08 no-repeat; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,240,200,0.10), inset 0 0 22px 6px rgba(0,0,0,0.55), inset 0 -10px 24px rgba(120,160,200,0.10); }
.lens-glass::before { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(120% 90% at 32% 22%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 30%, rgba(255,255,255,0) 55%),
              radial-gradient(80% 60% at 72% 88%, rgba(255,235,190,0.08) 0%, rgba(255,235,190,0) 60%); mix-blend-mode: screen; filter: blur(8px); }
.lens-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 62%, rgba(10,6,2,0.28) 86%, rgba(10,6,2,0.55) 100%); }
.lens-fx { position: absolute; pointer-events: none; }
.prysma-map:not(.hi) .lens-glass { background-image: none; }
.prysma-lens svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.7)); }
.prysma-lens { --hx: 30%; --hy: 28%; --ang: 0deg; }
.lens-ring, .lens-spec { position: absolute; inset: 0; border-radius: 50%; -webkit-mask: radial-gradient(circle closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px), #000 calc(100% - 1px), transparent 100%); mask: radial-gradient(circle closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px), #000 calc(100% - 1px), transparent 100%); }
.lens-ring { background: conic-gradient(from var(--ang), #4a2e10, #c79a48 12%, #f8e7ae 24%, #b98a3c 38%, #5a3a14 52%, #a7782f 64%, #f1d98f 78%, #7a5220 90%, #4a2e10); }
.lens-spec { background: radial-gradient(circle at var(--hx) var(--hy), rgba(255, 255, 255, 0.85), rgba(255, 246, 214, 0.35) 14%, transparent 30%); mix-blend-mode: screen; }
.auth { display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 560px) { .auth { gap: 6px; } .auth .btn.small { padding: 8px 12px; font-size: 12px; } }
.map-tiles, .map-sea, .map-fx, .map-gl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.map-sea { mix-blend-mode: normal; }
.map-ui { position: absolute; right: 16px; bottom: 14px; z-index: 5; display: flex; gap: 8px; }
.map-ui .btn { min-width: 44px; min-height: 44px; padding: 0 14px; font-size: 20px; line-height: 1; }
.map-ui .btn.txt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.map-ui .btn.on { border-color: var(--gold); color: #fff3cf; background: rgba(74, 54, 26, 0.9); }
.map-ui .done { display: none; }
.map-tap { display: none; }
.prysma-map:not(.lens) .prysma-view { cursor: grab; }
.prysma-map.grab .prysma-view { cursor: grabbing; }
}
@media (pointer: coarse) {
  .prysma-view { touch-action: none; -webkit-touch-callout: none; }
  .map-ui .btn.txt:not(.done) { display: none; }
  .prysma-map.active .map-ui .done { display: inline-flex; }
  .map-tap { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 28px; border: 0; background: none; color: var(--gold-hi); font: 600 12px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
  .map-tap span { padding: 12px 18px; border: 1px solid var(--line-hi); background: rgba(14, 10, 7, 0.82); }
  .map-tap { display: none; }
}
.prysma-view { clip-path: inset(2px); }
.map-tiles { filter: sepia(0.16) saturate(0.86) brightness(0.93) contrast(1.04); }
.lens-view { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; filter: sepia(0.16) saturate(0.86) brightness(0.93) contrast(1.04); }
.lens-glass::before, .lens-glass::after { z-index: 1; }
input[type=checkbox],input[type=radio]{-webkit-appearance:none;appearance:none;flex:none;width:20px;height:20px;min-height:0;margin:2px 0 0;padding:0;background:#0e0a07;border:1px solid #8a6d3a;border-radius:3px;box-shadow:inset 0 1px 4px rgba(0,0,0,.7);display:inline-grid;place-content:center;cursor:pointer;transition:border-color .15s,box-shadow .15s;accent-color:#e3c27a}
input[type=radio]{border-radius:50%}
input[type=checkbox]::before{content:"";width:10px;height:5px;margin-top:-2px;border-left:2px solid #e3c27a;border-bottom:2px solid #e3c27a;transform:rotate(-45deg) scale(0);transition:transform .12s}
input[type=checkbox]:checked::before{transform:rotate(-45deg) scale(1)}
input[type=radio]::before{content:"";width:8px;height:8px;border-radius:50%;background:#e3c27a;transform:scale(0);transition:transform .12s}
input[type=radio]:checked::before{transform:scale(1)}
input[type=checkbox]:checked,input[type=radio]:checked{border-color:#c9a45a}
input[type=checkbox]:hover,input[type=radio]:hover{border-color:#e3c27a;box-shadow:inset 0 1px 4px rgba(0,0,0,.7),0 0 8px rgba(227,194,122,.35)}
input[type=checkbox]:focus-visible,input[type=radio]:focus-visible{outline:none;border-color:#f3dfa8;box-shadow:inset 0 1px 4px rgba(0,0,0,.7),0 0 0 3px rgba(227,194,122,.3)}
input[type=checkbox]:disabled,input[type=radio]:disabled{opacity:.45;cursor:default}
.map-hint { position: absolute; left: 50%; top: 22px; z-index: 6; transform: translate(-50%, -6px); padding: 9px 16px; border: 1px solid var(--line-hi); background: rgba(14, 10, 7, 0.88); color: var(--gold-hi); font: 600 12px/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 0.2s, transform 0.2s; }
.map-hint.on { opacity: 1; transform: translate(-50%, 0); }
.prysma-map.wheel .prysma-view { box-shadow: none; }
@media (pointer: coarse) { .map-hint { display: none; } }
.prysma-map.gl .map-sea, .prysma-map.gl .map-fx { display: none; }
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active,textarea:-webkit-autofill,select:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #150f09 inset!important;box-shadow:0 0 0 1000px #150f09 inset!important;-webkit-text-fill-color:#f0e2c0!important;caret-color:#f0e2c0;transition:background-color 99999s ease 0s}
@media (max-width: 700px) {
  .prysma-view { aspect-ratio: 1 / 1.25; max-height: 82vh; max-height: 82svh;
    -webkit-mask-size: 130% 124%, 100% 100%, 100% 100%; mask-size: 130% 124%, 100% 100%, 100% 100%; -webkit-mask-position: 50% 50%, 0 0, 0 0; mask-position: 50% 50%, 0 0, 0 0;
    -webkit-mask-image: url("img/prysma-mask.png?v=95d770957b"), linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(180deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%);
            mask-image: url("img/prysma-mask.png?v=95d770957b"), linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%), linear-gradient(180deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%); }
  .prysma-lens { display: none; }
  .map-ui { position: static; justify-content: center; margin: 8px 16px 0; }
  .map-ui .btn { min-width: 52px; min-height: 48px; }
  .map-ui .btn.txt:not(.done) { display: none; }
}
@media (pointer: coarse) { .map-ui { position: static; justify-content: center; margin: 8px 16px 0; } }
@media (max-width: 560px) { .auth.out { display: none; } .brand { flex: none; } .brand img { height: 15px; } .top { gap: 10px; } .brand .logo-wrap, .brand .logo-wrap img { flex: none; max-width: none; } }
.map-tap, .map-ui .done { display: none !important; }
.prysma-view { touch-action: none; -webkit-user-select: none; user-select: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js main > section { opacity: 1; transform: none; transition: none; }
  .sig-back > svg, .sig-mid > svg, .sig-front > svg, .sig-glow, .sig-sweep, .lands { animation: none; }
}