/* A transparent emerald lens above the existing page, with a polished gold rim. */
.game-dialog{width:min(1010px,calc(100vw - 48px));max-width:none;max-height:none;height:min(820px,calc(100dvh - 64px));margin:auto;padding:0;overflow:hidden;color:#fff8e6;border:1px solid #f4df9caa;border-radius:32px;background:linear-gradient(125deg,#ffffff24,transparent 32%,#f4df9c0d 75%,#ffffff24),#073d32a8;-webkit-backdrop-filter:blur(22px) saturate(150%);backdrop-filter:blur(22px) saturate(150%);box-shadow:inset 0 2px 2px #fffbd87a,inset 0 -2px 3px #cfab5266,inset 2px 0 8px #ffffff17,0 30px 100px #001c2577;isolation:isolate}
.game-dialog::backdrop{background:#001b192e;backdrop-filter:blur(1.5px);-webkit-backdrop-filter:blur(1.5px)}
.game-dialog:before{content:"";position:absolute;inset:5px;border:1px solid #fff7ce2c;border-radius:27px;pointer-events:none;z-index:3}
.game-dialog[open]{animation:glass-arrive .3s ease-out}
.game-dialog-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.game-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 32px 20px;border-bottom:1px solid #f4df9c33;flex:none}
.game-dialog-header p{margin:0 0 4px;color:#f6d987;font-size:13px;letter-spacing:2px}
.game-dialog-header h2{margin:0;color:#fff2c9;font-size:clamp(24px,3vw,34px);line-height:1.25;text-shadow:0 2px 10px #012b22;outline:none}
.game-dialog-close{flex:none;width:46px;height:46px;border:1px solid #fff2ca70;border-radius:50%;background:#ffffff12;color:#fff2ce;font:32px/1 sans-serif;cursor:pointer;transition:background .2s,transform .2s}
.game-dialog-close:hover{background:#fff2ce30;transform:rotate(90deg)}
.game-dialog-scroll{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9ac66 #ffffff0a;padding:24px 32px 32px}
.game-intro-lead{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center;gap:28px;margin-bottom:24px}
.game-intro-art{width:100%;max-height:340px;object-fit:contain;filter:drop-shadow(0 12px 16px #001e2840)}
.game-intro-art.catalog-cover{max-height:270px;border-radius:22px;width:270px;max-width:100%;justify-self:center}
.game-intro-copy h3,.game-intro-section h3{font-size:22px;color:#ffe4a0;margin:0 0 12px}
.game-intro-copy p,.game-intro-section p{font-size:16px;line-height:1.85;margin:0 0 12px;color:#fff8e9;text-shadow:0 1px 4px #002b25a0}
.game-intro-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 28px;padding:18px 0;border-block:1px solid #f6e3a33b;gap:14px}
.game-intro-metrics div{text-align:center;border-right:1px solid #f6e3a326}.game-intro-metrics div:last-child{border:0}
.game-intro-metrics dt{font-size:13px;color:#e2dcc5;margin-bottom:5px}.game-intro-metrics dd{font-size:22px;font-weight:bold;color:#ffe4a0;margin:0;overflow-wrap:anywhere}
.game-intro-section{margin-top:26px}.game-intro-section h3{padding-left:13px;border-left:3px solid #ddbe72}
.game-intro-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.game-intro-gallery img{width:100%;border-radius:17px;border:1px solid #d6b56f70}
.game-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 32px 22px;border-top:1px solid #f6e3a33b;background:#032e252e;flex:none}
.game-intro-picker{display:flex;flex-direction:column;gap:5px;color:#ded6be;font-size:12px;min-width:0;max-width:60%}
.game-intro-picker select{width:100%;max-width:320px;background:#0c423acc;color:#fff5d6;border:1px solid #e4cf8b66;border-radius:11px;padding:9px 30px 9px 12px;font:inherit;font-size:14px;cursor:pointer;color-scheme:dark}
.game-dialog-play{display:flex;align-items:center;justify-content:center;gap:24px;min-height:54px;padding:12px 28px;border:1px solid #fff0b4;border-radius:999px;background:linear-gradient(120deg,#fff0b5,#f4ce66 55%,#c69331);box-shadow:inset 0 2px 2px #fff9d9,0 4px 0 #7d5d25,0 6px 20px #001f2640;color:#3c2b0d;font-size:19px;font-weight:bold;text-decoration:none;white-space:nowrap;transition:filter .2s,transform .2s}
.game-dialog-play:hover{filter:brightness(1.12);transform:translateY(-2px)}
.game-dialog :focus-visible{outline:3px solid #fff1b6;outline-offset:4px}
@keyframes glass-arrive{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:650px){.game-dialog{width:calc(100vw - 24px);height:calc(100dvh - 32px);border-radius:25px}.game-dialog:before{border-radius:20px}.game-dialog-header{padding:20px 20px 16px;gap:10px}.game-dialog-header h2{font-size:23px}.game-dialog-close{width:40px;height:40px}.game-dialog-scroll{padding:18px 20px 24px}.game-intro-lead{grid-template-columns:1fr;gap:14px}.game-intro-art{max-height:225px}.game-intro-copy h3,.game-intro-section h3{font-size:20px}.game-intro-copy p,.game-intro-section p{font-size:15px}.game-intro-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.game-intro-metrics div:nth-child(2){border:0}.game-intro-metrics dd{font-size:20px}.game-intro-gallery{grid-template-columns:1fr}.game-dialog-footer{gap:12px;padding:13px 18px calc(16px + env(safe-area-inset-bottom))}.game-intro-picker{max-width:52%}.game-intro-picker select{font-size:12px;padding-left:8px}.game-dialog-play{font-size:16px;gap:10px;min-height:48px;padding:10px 18px}}
@media(prefers-reduced-motion:reduce){.game-dialog[open]{animation:none}.game-dialog-close,.game-dialog-play{transition:none}}

/* v22: feature statistics are the main reading anchor. */
.game-intro-metrics{gap:0;padding:24px 10px;margin:8px 0 32px;border:1px solid #e4c97888;border-radius:22px;background:linear-gradient(120deg,#063b2cd9,#062e27bd);box-shadow:inset 0 1px 0 #fff2bd36,0 8px 24px #001b2526}
.game-intro-metrics div{padding:6px 12px;border-color:#ecd68955;display:flex;flex-direction:column;justify-content:center;gap:8px}
.game-intro-metrics dt{font-size:17px;font-weight:700;color:#fff1cd;margin:0;letter-spacing:1px}
.game-intro-metrics dd{font-size:clamp(30px,3.5vw,44px);font-weight:900;color:#ffe08b;line-height:1.2;text-shadow:0 2px 0 #6c4a16,0 0 18px #ffcf5f22;letter-spacing:-.5px}
@media(max-width:650px){.game-intro-metrics{padding:10px 8px;gap:0;border-radius:18px;margin-bottom:26px}.game-intro-metrics div{padding:17px 5px;gap:9px}.game-intro-metrics div:nth-child(-n+2){border-bottom:1px solid #ecd6893b}.game-intro-metrics dt{font-size:15px;letter-spacing:.5px}.game-intro-metrics dd{font-size:clamp(27px,7.4vw,38px)}}

/* v25: vivid, oversized arcade statistics. */
.game-intro-metrics{padding:26px 8px;background:linear-gradient(120deg,#032a25ed,#051c29df);border-color:#f5d37399}
.game-intro-metrics div{--stat-color:#ff70df;--stat-depth:#740a64;--stat-glow:#ff40ce55;gap:14px;padding:8px 8px 12px;min-width:0}
.game-intro-metrics div:nth-child(2){--stat-color:#65f7ff;--stat-depth:#006a8c;--stat-glow:#24e7ff55}
.game-intro-metrics div:nth-child(3){--stat-color:#fff05a;--stat-depth:#a15100;--stat-glow:#ffd52a55}
.game-intro-metrics div:nth-child(4){--stat-color:#d8a0ff;--stat-depth:#58139a;--stat-glow:#b85aff55}
.game-intro-metrics dt{font-size:21px;color:#fff8e7;letter-spacing:1px}
.game-intro-metrics dd{font-size:clamp(42px,4.8vw,60px);font-weight:900;line-height:1.15;letter-spacing:-1px;color:var(--stat-color);-webkit-text-stroke:1px var(--stat-color);paint-order:stroke fill;text-shadow:0 2px 0 var(--stat-depth),0 4px 0 var(--stat-depth),0 6px 0 #071c26,0 0 22px var(--stat-glow)}
.game-intro-metrics div:first-child dd{font-size:72px}
.game-intro-metrics div:last-child dd{font-size:45px;line-height:1.3}
@media(min-width:651px) and (max-width:900px){.game-intro-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.game-intro-metrics div{padding:18px 10px}.game-intro-metrics div:nth-child(2){border-right:0}.game-intro-metrics div:nth-child(-n+2){border-bottom:1px solid #ecd6893b}}
@media(max-width:650px){.game-intro-metrics{padding:8px 4px}.game-intro-metrics div{gap:12px;padding:20px 5px}.game-intro-metrics dt{font-size:17px}.game-intro-metrics dd{font-size:clamp(30px,9.3vw,40px);letter-spacing:-1px;-webkit-text-stroke:.6px var(--stat-color)}.game-intro-metrics div:first-child dd{font-size:52px}.game-intro-metrics div:last-child dd{font-size:clamp(27px,8vw,34px)}}

/* v26: one luminous gold palette, retaining the oversized hierarchy. */
.game-intro-metrics div:nth-child(n){--stat-color:#ffe58c;--stat-depth:#925016;--stat-glow:#efbe4933}
