/* V18: Concept-locked visual shell. All interactive elements remain DOM controls. */
body.vault-page-realms{background:radial-gradient(ellipse at 50% -10%,#201b20 0%,#080a10 40%,#050508 100%);color:#e9d1a1}
.vault-page-realms .vault-header{background:linear-gradient(#07080de8,#08090dee)!important;border-bottom:1px solid #ad7c43;box-shadow:0 2px 15px #000}
.vault-page-realms .gate-v16-heading{height:31px;display:flex;align-items:center;justify-content:center;max-width:1800px;overflow:hidden;padding:0 8px;margin:0 auto;border-bottom:1px solid #a36a3660;background:linear-gradient(90deg,transparent,#281b1a 45%,transparent)}
.vault-page-realms .gate-v16-heading .eyebrow,.vault-page-realms .gate-v16-heading h1{display:none}
.vault-page-realms .gate-v16-heading p{font:11px Georgia,serif;letter-spacing:.24em;color:#f1cd8c;margin:0}
.gate-v17-stage{max-width:1920px;padding:0 6px;gap:6px;grid-template-columns:clamp(128px,12vw,175px) minmax(0,1fr)}
.gate-v17-side{background:linear-gradient(105deg,#121018,#08090e 85%);border:2px ridge #ad7b42;box-shadow:inset 0 0 0 4px #0c0a0f,0 5px 22px #000;gap:0;padding:12px 8px}
.gate-v17-side a{min-height:60px;border-bottom:1px solid #75533399;gap:10px;color:#d8c29c;font-size:12px;line-height:1.35}
.gate-v17-side a:first-letter{font-size:22px;color:#dbaf60}.gate-v17-side a.current{background:linear-gradient(90deg,#713f1a9c,#2a1a157c);border:1px solid #e6ad59;box-shadow:inset 0 0 17px #e29b2b45,0 0 10px #bd682c33}
.gate-v17-stage .vault-gate-v12{grid-template-columns:minmax(0,1.02fr) minmax(0,.86fr);gap:6px;padding:0}
.gate-v17-stage .gate-v12-visual{min-height:600px!important;max-height:650px;overflow:hidden;background-image:linear-gradient(90deg,#03040bb8,#03040b16 38%,#05050dca 86%),var(--world)!important;background-position:center;background-size:cover;border:2px ridge #a8793e!important;box-shadow:inset 0 0 75px #000,0 0 0 1px #130c10}
.gate-v17-stage .gate-v12-visual:before{background:radial-gradient(ellipse at 37% 42%,#10101b08 10%,#05050b54 62%,#000b)}
.gate-v17-stage .gate-v12-halo{background:radial-gradient(circle at 36% 48%,transparent 8%,#13010a19 35%,#0007 70%)}
.gate-v17-stage .gate-v12-dial{left:35%;top:47%;width:min(67%,550px);border:15px ridge #a1793a;box-shadow:0 0 0 4px #0b050a,0 0 0 8px #dbab63,0 0 0 13px #190b16,0 0 0 19px #d0a36075,0 0 60px #000,inset 0 0 13px 8px #05060d;background:repeating-conic-gradient(from 0deg,#bb8d4a 0deg 1.2deg,#11121d 1.2deg 10deg,#99703b 10deg 12deg,#06050e 12deg 20deg)}
.gate-v17-stage .gate-v12-dial::before{inset:4%;border:5px double #d1ac6a;box-shadow:0 0 0 4px #100d14,inset 0 0 20px #000}
.gate-v17-stage .gate-v12-dial::after{inset:17%;border:7px ridge #b28b4a;box-shadow:0 0 0 5px #0a060a,inset 0 0 30px #000}
.gate-v17-stage .gate-v12-portal{left:35%;top:47%;width:min(32%,263px);height:55%;border:8px ridge #b58e53;border-radius:48% 48% 6% 6%;box-shadow:0 0 0 4px #1d1015,0 0 0 7px #efb85c9e,0 0 36px #f038448a}
.gate-v17-stage .gate-v12-vista{background-image:url('/assets/realm-v15/scenes/horror.webp');background-position:center;opacity:.84}
.gate-v17-stage .gate-v12-door{background:repeating-linear-gradient(95deg,#09060b 0 13px,#5a3929 14px 16px,#120e14 17px 28px,#9b713f 29px 32px,#09070e 33px 51px);box-shadow:inset 0 0 18px #000}
.gate-v17-stage .gate-v12-sigil{width:90px;min-height:90px;background:radial-gradient(circle at 40% 35%,#28202b 0,#08080f 78%);border:3px solid var(--sigil-color);box-shadow:0 0 0 5px #090912,0 0 0 6px #a9814b,0 0 21px 3px var(--sigil-color),inset 0 0 23px #0009;text-shadow:0 0 8px var(--sigil-color);z-index:9}
.gate-v17-stage .gate-v12-sigil-horror{top:24%;left:13%}.gate-v17-stage .gate-v12-sigil-fantasy{top:10%;left:35%}.gate-v17-stage .gate-v12-sigil-nightmare{top:24%;left:60%}.gate-v17-stage .gate-v12-sigil-science{top:66%;left:13%}.gate-v17-stage .gate-v12-sigil-earthly{top:66%;left:60%}
.gate-v17-stage .gate-v12-glyph{font-size:34px}.gate-v17-stage .gate-v12-sigil-name{font-size:11px}
.gate-v17-stage .gate-v16-warden{top:4%;bottom:3%;right:0;width:31%;border:0;background:linear-gradient(0deg,#07060dec 1%,transparent 72%);box-shadow:none;z-index:6}
.gate-v17-stage .gate-v16-warden img{width:100%;height:82%;object-position:50% 15%;mask-image:linear-gradient(#000 0 60%,transparent 98%)}
.gate-v17-stage .gate-v16-warden-name{font-size:clamp(13px,1.3vw,21px);background:#0c0a11ed;border:1px solid #b4874d;padding:8px 3px 4px;width:94%}
.gate-v17-stage .gate-v16-warden-motto{background:#0c0a11ed;margin:0;color:#ddc59d;width:94%;border-left:1px solid #b4874d;border-right:1px solid #b4874d;padding:0 5px 8px}
.gate-v17-stage .gate-v16-warden-action{background:#210e12;border:1px solid #d39c55;margin:0 0 20px;max-width:94%;width:94%;text-shadow:0 0 9px #e28d53;box-shadow:inset 0 0 12px #9d55274d}
.gate-v17-stage .gate-v12-visual-caption{z-index:8;bottom:13px;left:34%;border:1px solid #b3854c;background:#0a080dcf;max-width:38%;font:9px Georgia;letter-spacing:.09em;padding:6px}
.gate-v17-stage .gate-v12-panel{min-height:600px!important;max-height:650px;background:linear-gradient(130deg,#100f16,#09080d 68%,#161015)!important;border:2px ridge #b68644!important;box-shadow:inset 0 0 0 4px #0c0a12,inset 0 0 0 6px #7c5729,0 0 22px #000;padding:12px!important;overflow:auto;color:#f3d8a5}
.gate-v17-stage .gate-v12-panel .panel-title{margin:0;padding:0 4px 10px;border:0;background:linear-gradient(90deg,transparent,#54381b36,transparent)}
.gate-v17-stage .gate-v12-panel .panel-title .eyebrow{color:#f0c48a;font-size:10px;letter-spacing:.11em}
.gate-v17-stage .gate-v12-panel .panel-title h2{font:clamp(20px,2vw,31px) Georgia;color:#eccc8d;font-variant:small-caps;letter-spacing:.06em}
.gate-v17-stage .gate-v12-panel .panel-title p{color:#ddc39f;font-size:11px}
.gate-v17-stage .gate-v16-realm-atlas{border:2px ridge #ad8044;background:#090b11;box-shadow:inset 0 0 0 3px #25170f;padding:8px}
.gate-v17-stage .gate-v16-atlas-title{color:#eed6a1;padding:4px 0 7px}.gate-v17-stage .gate-v16-atlas-icon,.gate-v17-stage .gate-v16-status{color:#d9aa6c}
.gate-v17-stage .gate-v16-atlas-art{height:280px;margin-right:29%;border:2px ridge #a27a43;background-color:#11101c;background-position:center;background-size:cover}
.gate-v17-stage .gate-v17-realm-overview{top:42px;right:8px;bottom:52px;width:29%;overflow:auto;background:#0a0910;border:1px solid #8e6837;padding:3px}
.gate-v17-stage .gate-v17-realm-option{min-height:44px}
.gate-v17-stage .gate-v17-realm-option strong{font-size:11px}.gate-v17-stage .gate-v17-realm-option small{font-size:9px}
.gate-v17-stage .gate-v16-atlas-tabs{margin:8px 0 0}.gate-v17-stage .gate-v16-atlas-tabs a{background:#1b1318;color:#f4d298;border:1px solid #a7814d;font-size:9px;padding:10px 2px}
.gate-v17-stage .gate-v12-panel-copy{margin-top:7px}.gate-v17-stage .gate-v12-panel-copy p{color:#d3bb96;font:11px/1.45 Georgia;margin:4px 0}.gate-v17-stage .gate-v12-realm-state{padding:7px;background:#1c1118;color:#f2c78b;border:1px solid #9f6b3e;font-size:10px}
.gate-v17-stage .gate-v12-actions{gap:6px;margin-top:7px}.gate-v17-stage .gate-v12-actions .action-primary,.gate-v17-stage .gate-v12-actions .action-secondary{border:1px solid #d19c59;background:linear-gradient(#3a2420,#130e14);color:#f4d3a2;min-height:39px}
.gate-v17-stage .gate-v12-panel-bottom{margin-top:9px}.gate-v17-stage .gate-v12-panel-bottom a{color:#e6c58f}
.gate-v17-cards{max-width:1920px;gap:5px;margin:6px auto;padding:0 6px}
.gate-v17-card{min-height:184px;border:2px ridge #b7894b;box-shadow:inset 0 0 0 3px #08080e,0 2px 14px #000;background:linear-gradient(0deg,#030409f8,#0707138a 37%,transparent 88%),var(--v17-bg) center/cover}
.gate-v17-card h2{font:clamp(17px,1.5vw,24px) Georgia;font-variant:small-caps;letter-spacing:.03em;color:#f9d99f;text-shadow:0 1px 8px #000}
.gate-v17-card a{border:1px solid #cd9357;background:#140b10e8;box-shadow:inset 0 0 8px #bb6c332a;color:#f7d49b}
.gate-v17-lower{max-width:1920px;padding:0 6px;margin-bottom:14px;gap:6px;grid-template-columns:minmax(0,1.28fr) minmax(220px,.82fr) minmax(220px,.82fr)}
.gate-v17-box{border:2px ridge #b68b53;background:linear-gradient(110deg,#14121a,#080910);box-shadow:inset 0 0 0 3px #080810}
.gate-v17-box h2{font-variant:small-caps;letter-spacing:.03em;font-size:20px;color:#f2d098}
.gate-v17-archive-group{gap:6px}.gate-v17-archive-heading{flex:0 0 110px}.gate-v17-record-row a{flex-basis:115px}
/* Uniform interaction: pointer events only on real controls. No painted/mockup text is clickable. */
.gate-v12-halo,.gate-v12-dial,.gate-v12-portal,.gate-v12-visual::before,.gate-v12-visual::after,.gate-v17-card::after,.gate-v16-atlas-marker{pointer-events:none!important}
.gate-v17-side a,.gate-v17-card a,.gate-v17-realm-option,.gate-v12-sigil,.gate-v16-warden,.gate-v12-actions a,.gate-v12-actions button,.gate-v17-archive a{touch-action:manipulation}
@media(max-width:1320px){.gate-v17-stage{grid-template-columns:118px minmax(0,1fr)}.gate-v17-stage .vault-gate-v12{grid-template-columns:minmax(0,1fr) minmax(335px,.82fr)}.gate-v17-stage .gate-v12-visual{min-height:565px!important}.gate-v17-stage .gate-v12-panel{min-height:565px!important}.gate-v17-side a{font-size:10px}.gate-v17-stage .gate-v12-sigil{width:76px;min-height:76px}.gate-v17-stage .gate-v12-glyph{font-size:28px}}
@media(max-width:1000px){.gate-v17-stage .vault-gate-v12{grid-template-columns:minmax(0,1fr)}.gate-v17-stage .gate-v12-panel{max-height:none;min-height:auto!important}.gate-v17-stage .gate-v12-visual{min-height:600px!important}.gate-v17-stage .gate-v16-atlas-art{height:240px}.gate-v17-lower{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-v17-archive{grid-column:span 2}}
@media(max-width:720px){.gate-v17-stage{grid-template-columns:1fr}.gate-v17-side{flex-direction:row;flex-wrap:wrap}.gate-v17-side a{min-height:34px;padding:8px}.gate-v17-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-v17-lower{grid-template-columns:1fr}.gate-v17-archive{grid-column:auto}.gate-v17-stage .gate-v12-visual{min-height:500px!important}.gate-v17-stage .gate-v12-dial{width:62%;left:35%}.gate-v17-stage .gate-v12-portal{left:35%}.gate-v17-stage .gate-v16-warden{width:28%}}
@media(max-width:440px){.gate-v17-stage .gate-v12-visual{min-height:410px!important}.gate-v17-stage .gate-v12-dial{width:68%;border-width:7px}.gate-v17-stage .gate-v12-portal{height:44%;border-width:5px}.gate-v17-stage .gate-v12-sigil{width:53px;min-height:53px;border-width:2px}.gate-v17-stage .gate-v12-glyph{font-size:19px}.gate-v17-stage .gate-v12-sigil-name{font-size:8px}.gate-v17-stage .gate-v16-warden{width:30%;height:48%;top:auto;bottom:2%}.gate-v17-stage .gate-v16-warden img{height:65%}.gate-v17-stage .gate-v16-warden-motto{display:none}.gate-v17-stage .gate-v16-warden-action{font-size:8px}.gate-v17-stage .gate-v12-visual-caption{display:none}.gate-v17-stage .gate-v16-atlas-art{height:210px}.gate-v17-stage .gate-v17-realm-overview{bottom:52px}}
@media(prefers-reduced-motion:reduce){.gate-v12-dial,.gate-v12-door{animation:none!important;transition-duration:.01ms!important}}
