:root{--dialog-backdrop: rgba(0, 0, 0, .6);--dialog-bg: #111111;--dialog-bg-image: none;--dialog-bg-size: cover;--dialog-bg-position: center;--dialog-bg-overlay: rgba(0, 0, 0, 0);--tex-blend: overlay;--ios-noise: url(/assets/skins/ios-noise.svg);--dialog-color: #000000;--dialog-bg-repeat: repeat;--dialog-radius: 12px;--dialog-shadow: 0 8px 24px rgba(0, 0, 0, .6);--dialog-width: min(92vw, 560px);--dialog-padding: calc(20px + env(safe-area-inset-top, 0px)) ;--dialog-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--dialog-font-size: 16px;--dialog-title-size: 1.25rem;--dialog-body-size: 1rem;--dialog-emphasis-size: 1.1875rem;--dialog-button-label-size: 1rem;--dialog-small-size: .875rem;--dialog-tap-target-min: 44px;--dialog-font-weight: 600;--dialog-border-width: 2px;--dialog-border-style: solid;--dialog-border-color: rgba(255, 255, 255, .06);--dialog-border: var(--dialog-border-width) var(--dialog-border-style) var(--dialog-border-color);--dialog-z-index: 12000;--dialog-button-primary-bg: #2e6dff;--dialog-button-primary-color: #ffffff;--dialog-button-secondary-bg: #2a2d3c;--dialog-button-secondary-color: #f4f6ff;--dialog-button-radius: 999px;--dialog-button-padding: 12px 22px;--dialog-button-min-width: 150px;--dialog-button-border: 1px solid transparent;--dialog-button-shadow: 0 10px 24px rgba(0, 0, 0, .18);--dialog-button-letter-spacing: .01em;--dialog-button-text-transform: none;--dialog-actions-gap: 16px;--dialog-actions-margin-top: 24px;--dialog-transition-duration: .18s;--ui-hud-bg: rgba(0, 0, 0, .5);--ui-hud-color: #ffffff;--ui-accent: #ff6b2d;--ui-vial-border-color: #34495e;--ui-vial-border-width: 3px;--ui-vial-border-style: solid;--ui-letter-font: "Orbitron", "Inter", system-ui, sans-serif;--ui-letter-font-size: 1;--ui-letter-bg-color: transparent;--ui-letter-bg-image: none;--ui-letter-bg-size: cover;--ui-letter-bg-position: center;--ui-letter-bg-border-color: #2b2b2b;--ui-letter-bg-border-width: 0px;--ui-letter-bg-border-style: solid;--ui-target-words-font: "Orbitron", "Merriweather", serif;--ui-target-words-font-size: 26px;--ui-target-words-bg-color: #2c3e50;--ui-target-words-border-color: #34495e;--ui-target-words-border-width: 2px;--ui-target-words-border-style: solid;--game-bg-color: #000000;--game-vial-bg: #2c3e50;--game-vial-outline: #34495e;--game-letter-border: #1a252f;--game-fragment-color: #cccccc;--game-fragment-palette: #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57;--game-word-color: #ffffff;--game-word-palette: #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57;--game-letter-texture: none;--game-word-texture: none}.skin-plain{--game-bg-color: #0a111c;--game-vial-bg: #1c2840;--game-vial-outline: #223147;--game-letter-border: #111d2c;--game-fragment-color: #a8bfd8;--game-fragment-palette: #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57;--game-word-color: #eaf2ff;--game-word-palette: #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #16181b 0%, #0f1113 100%);--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .04);--dialog-backdrop: rgba(0, 0, 0, .6);--dialog-color: #f8fbff;--dialog-border-color: rgba(120, 170, 255, .32);--dialog-button-primary-bg: #2d7dff;--dialog-button-primary-color: #ffffff;--dialog-button-secondary-bg: #223147;--dialog-button-secondary-color: #eaf2ff;--dialog-button-radius: 14px;--dialog-button-shadow: 0 10px 20px rgba(12, 28, 54, .28)}.skin-promo{--game-bg-color: #070d2e;--game-vial-bg: #0f1a6e;--game-vial-outline: #2c5bff;--game-letter-border: #060e3a;--game-fragment-color: #ffb554;--game-fragment-palette: #ff9b54, #ffc15c, #ffdf8c, #7cb4ff, #ff6fd8;--game-word-color: #ffd28c;--game-word-palette: #ffd28c, #ff9b54, #7cb4ff, #b7d4ff, #ff6fd8;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: radial-gradient(circle at 18% 20%, #2c5bff 0%, #1a2a8a 34%, #111827 78%);--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .06);--dialog-backdrop: rgba(6, 10, 28, .66);--dialog-color: #ffffff;--dialog-border-color: rgba(120, 190, 255, .4);--dialog-button-primary-bg: #ff7a1f;--dialog-button-primary-color: #1a1009;--dialog-button-secondary-bg: rgba(7, 16, 40, .72);--dialog-button-radius: 999px;--dialog-button-padding: 13px 24px;--dialog-button-shadow: 0 14px 26px rgba(17, 36, 95, .38);--dialog-button-letter-spacing: .03em;--dialog-button-text-transform: uppercase;--dialog-shadow: 0 20px 56px rgba(3, 10, 32, .72)}.skin-immersive{--game-bg-color: #030303;--game-vial-bg: #0a0a0a;--game-vial-outline: rgba(255, 255, 255, .12);--game-letter-border: #1a1a1a;--game-fragment-color: #d7d7d7;--game-fragment-palette: #c9c9c9, #f1f1f1, #9e9e9e, #737373, #555555;--game-word-color: #ffffff;--game-word-palette: #ffffff, #d9d9d9, #b5b5b5, #8a8a8a, #555555;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: transparent;--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .16);--dialog-backdrop: rgba(0, 0, 0, .72);--dialog-color: #ffffff;--dialog-width: 100vw;--dialog-radius: 0px;--dialog-z-index: 12000}.skin-board{--game-bg-color: #1b120a;--game-vial-bg: #3b2414;--game-vial-outline: #6a4b2d;--game-letter-border: #2b1f0f;--game-fragment-color: #c98c3a;--game-fragment-palette: #d8b16d, #f0d39e, #b17d4a, #c98c3a, #8c5b34;--game-word-color: #eaa946;--game-word-palette: #f6deb4, #d8b16d, #f0d39e, #eaa946, #8c5b34;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #3b2414 0%, #2a160b 100%);--dialog-bg-size: cover, 48px 48px;--dialog-bg-position: center, center;--dialog-bg-image: none;--dialog-bg-position: center;--dialog-bg-overlay: rgba(0, 0, 0, .18);--dialog-backdrop: rgba(0, 0, 0, .7);--dialog-color: #fff6df;--dialog-font-family: "Merriweather", Georgia, serif;--dialog-title-size: 1.35rem;--dialog-border-width: 3px;--dialog-border-style: inset;--dialog-border-color: #2b1f0f;--dialog-button-primary-bg: #ddb36d;--dialog-button-primary-color: #2a180a;--dialog-button-secondary-bg: #5b3d24;--dialog-button-radius: 6px;--dialog-button-border: 2px solid rgba(43, 31, 15, .72);--dialog-button-shadow: 0 6px 0 rgba(32, 21, 11, .42);--ui-accent: #f3c06a;--ui-vial-border-color: #6a4b2d}.skin-cards{--game-bg-color: #072e24;--game-vial-bg: #0f4a39;--game-vial-outline: #177056;--game-letter-border: #073327;--game-fragment-color: #3dc98a;--game-fragment-palette: #7ad7b1, #3dc98a, #31c08a, #f47f7f, #ffd27a;--game-word-color: #31c08a;--game-word-palette: #31c08a, #7ad7b1, #27b6d6, #ffd27a, #f47f7f;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: radial-gradient(circle at top, #39a07a 0%, #177056 65%, #0f4a39 100%);--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .12);--dialog-backdrop: rgba(0, 0, 0, .6);--dialog-color: #f4fff6;--dialog-radius: 12px;--dialog-shadow: 0 10px 30px rgba(0, 0, 0, .5);--dialog-font-family: "Merriweather", Georgia, serif;--dialog-title-size: 1.4rem;--dialog-border-width: 1px;--dialog-border-style: solid;--dialog-border-color: rgba(230, 255, 245, .44);--dialog-button-primary-bg: #ffe089;--dialog-button-primary-color: #133126;--dialog-button-secondary-bg: rgba(255, 255, 255, .22);--dialog-button-radius: 16px;--dialog-button-border: 1px solid rgba(255, 255, 255, .34);--dialog-button-shadow: 0 12px 24px rgba(4, 46, 33, .24);--ui-hud-bg: rgba(5, 56, 41, .8);--ui-accent: #f6d365}.skin-wood{--game-bg-color: #2a180a;--game-vial-bg: #6f452b;--game-vial-outline: #3d2514;--game-letter-border: #2a180a;--game-fragment-color: #d98d3a;--game-fragment-palette: #d79f63, #f0bf83, #d98d3a, #9f6a3d, #c47d42;--game-word-color: #f0a048;--game-word-palette: #f0a048, #d79f63, #f0bf83, #f5b85c, #c47d42;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #a6784b 0%, #8c5d3f 56%, #6f452b 100%);--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .18);--dialog-backdrop: rgba(0, 0, 0, .68);--dialog-color: #fff9ef;--dialog-font-family: "Merriweather", Georgia, serif;--dialog-border-width: 4px;--dialog-border-style: solid;--dialog-border-color: #3d2514;--dialog-button-primary-bg: #f0b56d;--dialog-button-primary-color: #40230f;--dialog-button-secondary-bg: #83522e;--dialog-button-radius: 10px;--dialog-button-border: 2px solid rgba(61, 37, 20, .72);--dialog-button-shadow: inset 0 1px 0 rgba(255, 236, 200, .22), 0 8px 18px rgba(54, 28, 12, .24);--ui-accent: #ffbe70;--ui-target-words-border-color: #3d2514}.skin-metallic{--game-bg-color: #1a2029;--game-vial-bg: #8a95a6;--game-vial-outline: #d6dee7;--game-letter-border: #4a5568;--game-fragment-color: #3672a0;--game-fragment-palette: #3672a0, #b9c8d9, #4686b8, #8fa4ba, #6d7f96;--game-word-color: #d0e6f4;--game-word-palette: #d0e6f4, #b9c8d9, #a6c4da, #8fa4ba, #6d7f96;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(135deg, #d6dee7 0%, #a7b3c4 52%, #8a95a6 100%);--dialog-bg-image: none;--dialog-color: #0e1e2e;--dialog-bg-overlay: rgba(0, 0, 0, .12);--dialog-backdrop: rgba(3, 8, 14, .7);--dialog-font-family: "Space Grotesk", "Inter", system-ui, sans-serif;--dialog-border-width: 1px;--dialog-border-style: solid;--dialog-border-color: rgba(255, 255, 255, .62);--dialog-shadow: 0 14px 32px rgba(10, 15, 24, .38);--dialog-button-primary-bg: #24364a;--dialog-button-primary-color: #f6fbff;--dialog-button-secondary-bg: rgba(255, 255, 255, .5);--dialog-button-radius: 999px;--dialog-button-border: 1px solid rgba(255, 255, 255, .72);--dialog-button-shadow: inset 0 1px 0 rgba(255, 255, 255, .56), 0 10px 18px rgba(42, 60, 82, .18);--dialog-button-letter-spacing: .04em;--dialog-button-text-transform: uppercase;--ui-hud-bg: rgba(188, 199, 211, .82);--ui-hud-color: #101622;--ui-vial-border-color: #d8e0e8}.skin-earth{--game-bg-color: #2c2118;--game-vial-bg: #604735;--game-vial-outline: #3a2f26;--game-letter-border: #2a1f16;--game-fragment-color: #c4823c;--game-fragment-palette: #c89f73, #e5c39a, #9f7b58, #c4823c, #7f5c42;--game-word-color: #de943e;--game-word-palette: #de943e, #c89f73, #e5c39a, #d9b88c, #7f5c42;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #92715a 0%, #7b5a46 62%, #604735 100%);--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .16);--dialog-backdrop: rgba(0, 0, 0, .66);--dialog-color: #fff6ea;--dialog-font-family: "Merriweather", Georgia, serif;--dialog-title-size: 1.32rem;--dialog-border-width: 3px;--dialog-border-style: solid;--dialog-border-color: #3a2f26;--dialog-button-primary-bg: #e1b076;--dialog-button-primary-color: #3f2a1a;--dialog-button-secondary-bg: #6d5847;--dialog-button-radius: 18px;--dialog-button-border: 1px solid rgba(255, 238, 215, .16);--dialog-button-shadow: 0 12px 22px rgba(65, 43, 30, .24);--ui-accent: #efbf86;--ui-target-words-font: "Merriweather", Georgia, serif}.skin-sea{--game-bg-color: #072637;--game-vial-bg: #0e4d68;--game-vial-outline: #1b6f8f;--game-letter-border: #063448;--game-fragment-color: #28b0d8;--game-fragment-palette: #7fd4f2, #28b0d8, #4eb1d6, #1e9ec0, #79e2c4;--game-word-color: #22b8e0;--game-word-palette: #22b8e0, #7fd4f2, #29ba94, #ffd68b, #4eb1d6;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #1b6f8f 0%, #1ea2c9 55%, #48c6e8 100%);--dialog-bg-overlay: rgba(0, 0, 0, .06);--dialog-backdrop: rgba(2, 10, 18, .62);--dialog-color: #f4fdff;--dialog-font-family: "Inter", system-ui, sans-serif;--dialog-radius: 14px;--dialog-border-width: 2px;--dialog-border-style: solid;--dialog-border-color: rgba(210, 241, 255, .32);--dialog-button-primary-bg: #b8f0ff;--dialog-button-primary-color: #06384a;--dialog-button-secondary-bg: rgba(6, 34, 48, .6);--dialog-button-radius: 999px;--dialog-button-border: 1px solid rgba(210, 241, 255, .28);--dialog-button-shadow: 0 12px 24px rgba(3, 45, 70, .24);--ui-hud-bg: rgba(5, 52, 76, .75);--ui-accent: #74dbff}.skin-space{--game-bg-color: #020617;--game-vial-bg: #0b1330;--game-vial-outline: rgba(125, 255, 255, .46);--game-letter-border: #021017;--game-fragment-color: #6ad8f5;--game-fragment-palette: #73dfff, #6ad8f5, #7ad9f8, #7aa7ff, #d78bff;--game-word-color: #7ed9f8;--game-word-palette: #7ed9f8, #73dfff, #7aa7ff, #9bdcfa, #d78bff;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #1a2340 0%, #0b1330 100%);--dialog-bg-image: none;--dialog-bg-overlay: rgba(0, 0, 0, .22);--dialog-backdrop: rgba(0, 0, 0, .8);--dialog-color: #ebfbff;--dialog-font-family: "JetBrains Mono", "Fira Code", ui-monospace, monospace;--dialog-title-size: 1.2rem;--dialog-border-width: 1px;--dialog-border-style: solid;--dialog-border-color: rgba(125, 255, 255, .46);--dialog-shadow: 0 0 18px rgba(125, 255, 255, .16), 0 14px 30px rgba(0, 0, 0, .52);--dialog-button-primary-bg: #8bf3ff;--dialog-button-primary-color: #021017;--dialog-button-secondary-bg: rgba(12, 31, 50, .72);--dialog-button-radius: 999px;--dialog-button-border: 1px solid rgba(139, 243, 255, .38);--dialog-button-shadow: 0 0 18px rgba(139, 243, 255, .2);--dialog-button-letter-spacing: .08em;--dialog-button-text-transform: uppercase;--ui-hud-bg: rgba(1, 15, 24, .8);--ui-hud-color: #9ee8ff;--ui-accent: #8bf3ff;--ui-letter-font: "JetBrains Mono", ui-monospace, monospace}.skin-nature{--game-bg-color: #122618;--game-vial-bg: #2d5e3e;--game-vial-outline: #5f8e5c;--game-letter-border: #1b3a26;--game-fragment-color: #52c472;--game-fragment-palette: #9ed68f, #52c472, #7bc58e, #94c94a, #ffd86f;--game-word-color: #2ecc71;--game-word-palette: #2ecc71, #9ed68f, #7bc58e, #ffe08f, #4ec9a1;--game-letter-texture: none;--game-word-texture: none;--dialog-bg: linear-gradient(180deg, #f8ffef 0%, #e6f9d4 100%);--dialog-color: #2a7f4a;--dialog-bg-overlay: rgba(255, 255, 255, .08);--dialog-backdrop: rgba(0, 0, 0, .5);--dialog-font-family: "Nunito", "Inter", system-ui, sans-serif;--dialog-border-width: 2px;--dialog-border-style: dashed;--dialog-border-color: rgba(65, 125, 86, .58);--dialog-button-primary-bg: #2f8a51;--dialog-button-primary-color: #f4fff6;--dialog-button-secondary-bg: rgba(58, 114, 70, .25);--dialog-button-radius: 18px;--dialog-button-border: 1px solid rgba(65, 125, 86, .26);--dialog-button-shadow: 0 10px 18px rgba(50, 96, 64, .16);--ui-hud-bg: rgba(63, 122, 82, .22);--ui-hud-color: #173225;--ui-accent: #4f9d69;--ui-target-words-border-color: #5f8e5c}.demo-card{background-repeat:repeat}.textures-enabled.skin-board{--dialog-bg: url(/assets/skins/board-checker.svg), linear-gradient(180deg, #3b2414 0%, #2a160b 100%);--dialog-bg-size: 48px 48px, cover;--dialog-bg-position: center, center;--dialog-bg-repeat: repeat, no-repeat}html.textures-enabled.skin-board .dialog-card,body.textures-enabled.skin-board .dialog-card{background-image:url(/assets/skins/board-checker.svg),linear-gradient(180deg,#3b2414,#2a160b)!important;background-size:48px 48px,cover!important;background-position:center,center!important;background-repeat:repeat,no-repeat!important}html.textures-enabled.skin-wood .dialog-card,body.textures-enabled.skin-wood .dialog-card{background-image:url(/assets/skins/wood-lines.svg),var(--dialog-bg)!important;background-size:auto,cover!important;background-position:center,center!important;background-repeat:repeat,no-repeat!important}html.textures-enabled.skin-earth .dialog-card,body.textures-enabled.skin-earth .dialog-card{background-image:url(/assets/skins/earth-dots.svg),var(--dialog-bg)!important;background-size:72px 72px,cover!important;background-position:center,center!important;background-repeat:repeat,no-repeat!important}html.textures-enabled.skin-space .dialog-card,body.textures-enabled.skin-space .dialog-card{background-image:url(/assets/skins/space-stars.svg),var(--dialog-bg)!important;background-size:96px 96px,cover!important;background-position:center,center!important;background-repeat:repeat,no-repeat!important}.textures-enabled.skin-wood{--dialog-bg-image: url(/assets/skins/wood-lines.svg)}.textures-enabled.skin-earth{--dialog-bg-image: url(/assets/skins/earth-dots.svg)}.textures-enabled.skin-space{--dialog-bg-image: url(/assets/skins/space-stars.svg)}.dialog-base{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--dialog-z-index)}.dialog-backdrop{position:absolute;inset:0;background:var(--dialog-backdrop)}.dialog-card{position:relative;z-index:1;width:var(--dialog-width);background:var(--dialog-bg, #111111);background-image:var(--dialog-bg-image),var(--dialog-bg);background-size:var(--dialog-bg-size, cover);background-position:var(--dialog-bg-position, center);background-repeat:var(--dialog-bg-repeat, repeat);color:var(--dialog-color);border:var(--dialog-border, 2px solid rgba(255, 255, 255, .06));border-radius:var(--dialog-radius);box-shadow:var(--dialog-shadow);padding:var(--dialog-padding);font-family:var(--dialog-font-family);font-size:var(--dialog-font-size);font-weight:var(--dialog-font-weight);transition:transform var(--dialog-transition-duration) ease,opacity var(--dialog-transition-duration) ease;contain:paint;will-change:transform,opacity}.dialog-card:before{content:"";position:absolute;inset:0;background:var(--dialog-bg-overlay, rgba(0, 0, 0, 0));pointer-events:none;z-index:0;border-radius:inherit}.dialog-card>*{position:relative;z-index:1}.dialog-title{font-size:var(--dialog-title-size);margin:0 0 8px}.dialog-actions{display:flex;gap:var(--dialog-actions-gap);justify-content:center;margin-top:var(--dialog-actions-margin-top)}.dialog-actions [dialog-actions]{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--dialog-actions-gap);width:100%}.btn{border-radius:var(--dialog-button-radius);padding:var(--dialog-button-padding);min-width:var(--dialog-button-min-width);min-height:var(--dialog-tap-target-min);border:var(--dialog-button-border);box-shadow:var(--dialog-button-shadow);letter-spacing:var(--dialog-button-letter-spacing);text-transform:var(--dialog-button-text-transform);font-size:var(--dialog-button-label-size);font-weight:600;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:transform var(--dialog-transition-duration) ease,box-shadow var(--dialog-transition-duration) ease,filter var(--dialog-transition-duration) ease}.btn:hover,.btn:focus-visible{transform:translateY(-1px);filter:brightness(1.03)}.btn-primary{background:var(--dialog-button-primary-bg);color:var(--dialog-button-primary-color, #fff);border:none}.demo-card{background-blend-mode:var(--tex-blend),soft-light,normal;background-repeat:repeat}.demo-card{background-image:var(--dialog-bg-image),var(--ios-noise),radial-gradient(140% 120% at 50% 0%,rgba(255,255,255,.06),transparent 55%),radial-gradient(120% 140% at 50% 100%,rgba(0,0,0,.7),transparent 65%);background-size:cover,64px 64px,cover,cover;background-blend-mode:normal,soft-light,screen,normal;backdrop-filter:blur(8px) saturate(120%);-webkit-backdrop-filter:blur(8px) saturate(120%)}@media(prefers-reduced-data:reduce),(prefers-reduced-motion:reduce){:root{--ios-noise: none;--dialog-bg-image: none;--tex-blend: normal}.demo-card,.dialog-card{backdrop-filter:none;-webkit-backdrop-filter:none}}.skin-plain{--dialog-bg-image: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01))}.skin-metallic{--dialog-bg-image: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02) 40%, rgba(0, 0, 0, .25) 100%)}.skin-wood{--dialog-bg-image: linear-gradient(120deg, rgba(120, 85, 60, .18), rgba(60, 40, 30, .25))}.skin-cards{--dialog-bg-image: radial-gradient(120% 120% at 30% 20%, rgba(255, 255, 255, .05), rgba(0, 0, 0, .25))}.skin-earth{--dialog-bg-image: linear-gradient(160deg, rgba(90, 70, 50, .2), rgba(40, 30, 20, .35))}.skin-obsidian{--dialog-bg-image: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .6))}.skin-space{--dialog-bg-image: radial-gradient(100% 120% at 50% 0%, rgba(0, 200, 255, .15), rgba(0, 0, 0, .85))}.btn-secondary{background:var(--dialog-button-secondary-bg);color:var(--dialog-button-secondary-color, #fff);border:none}app-root,.app-root{min-height:100vh;display:flex;flex-direction:column}:root{--bg: #0f1720;--surface: #111827;--muted: #9ca3af;--accent: #3b82f6;--card: #0b1220;--text: #e6eef8;--tab-bar-height: 72px;--ad-height: 60px;--safe-top: env(safe-area-inset-top, 0px);--safe-bottom: env(safe-area-inset-bottom, 0px);--header-base-padding: 12px;--content-padding-x: 16px;--content-padding-top: 16px;--content-padding-bottom: calc(16px + var(--tab-bar-height) + var(--ad-height) + var(--safe-bottom));--game-shell-top-nudge: 0px;--hud-offset: 0px;--bottom-tab-nudge: 0px;--hud-top: 0px;--hud-portrait-top: 135px;--overlay-bottom: calc(var(--tab-bar-height) + var(--safe-bottom) + 26px);--banner-bottom-gap: 8px}html.banner-space-cleared,body.banner-space-cleared{--ad-height: 0px;--banner-bottom-gap: 0px;--overlay-bottom: calc(var(--tab-bar-height) + var(--safe-bottom) + 8px)}html.banner-space-reserved,body.banner-space-reserved{--ad-height: 60px;--banner-bottom-gap: 8px}html.platform-capacitor,body.platform-capacitor{--bottom-tab-nudge: 8px;--dialog-padding: calc(20px + max(env(safe-area-inset-top, 0px), 8px)) }html.platform-capacitor.platform-ios,body.platform-capacitor.platform-ios{--hud-offset: calc(var(--safe-top) - 65px)}html.platform-capacitor.platform-android,body.platform-capacitor.platform-android{--hud-offset: calc(max(var(--safe-top), 24px) - 65px) ;--hud-portrait-top: 130px;--dialog-padding: calc(20px + max(env(safe-area-inset-top, 0px), 12px)) }html.platform-web,body.platform-web{--hud-offset: calc(var(--safe-top) + 10px)}html.route-vial-word,body.route-vial-word{--content-padding-x: 0px;--content-padding-top: 0px;--content-padding-bottom: calc(var(--tab-bar-height) + var(--ad-height) + var(--safe-bottom))}html.platform-web.route-vial-word,body.platform-web.route-vial-word{--hud-offset: 0px;--hud-portrait-top: 92px}html.platform-capacitor.route-vial-word,body.platform-capacitor.route-vial-word{--game-shell-top-nudge: 0px;--hud-offset: 0px;--hud-top: 0px;--hud-portrait-top: calc(max(var(--safe-top), 20px) + 8px) }html.platform-capacitor.platform-android.route-vial-word,body.platform-capacitor.platform-android.route-vial-word{--game-shell-top-nudge: max(var(--safe-top), 8px)}@media(orientation:landscape){html.banner-space-reserved.platform-capacitor.platform-ios.route-vial-word,body.banner-space-reserved.platform-capacitor.platform-ios.route-vial-word{--ad-height: 52px;--banner-bottom-gap: 6px;--overlay-bottom: calc(var(--tab-bar-height) + var(--safe-bottom) + 18px)}html.banner-space-reserved.platform-capacitor.platform-android.route-vial-word,body.banner-space-reserved.platform-capacitor.platform-android.route-vial-word{--ad-height: 46px;--banner-bottom-gap: 4px;--overlay-bottom: calc(var(--tab-bar-height) + var(--safe-bottom) + 14px)}html.banner-space-reserved.platform-capacitor.route-vial-word,body.banner-space-reserved.platform-capacitor.route-vial-word,html.banner-space-reserved.platform-capacitor.platform-ios.route-vial-word,body.banner-space-reserved.platform-capacitor.platform-ios.route-vial-word,html.banner-space-reserved.platform-capacitor.platform-android.route-vial-word,body.banner-space-reserved.platform-capacitor.platform-android.route-vial-word{--game-shell-top-nudge: 0px}html.banner-space-cleared.route-vial-word,body.banner-space-cleared.route-vial-word{--content-padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom))}html.platform-capacitor.route-vial-word,body.platform-capacitor.route-vial-word{--hud-offset: 0px;--hud-top: 0px}html.platform-capacitor.platform-ios.route-vial-word,body.platform-capacitor.platform-ios.route-vial-word{--game-shell-top-nudge: max(var(--safe-top), 8px)}html.platform-capacitor.platform-android.route-vial-word,body.platform-capacitor.platform-android.route-vial-word{--game-shell-top-nudge: max(var(--safe-top), 12px);--hud-offset: 0px}}html,body{height:100%}html.gameplay-scroll-lock,body.gameplay-scroll-lock{overflow:hidden;overscroll-behavior:none;-webkit-overflow-scrolling:auto}html.gameplay-scroll-lock,body.gameplay-scroll-lock{--tab-bar-height: 0px;--content-padding-bottom: calc(8px + var(--safe-bottom))}html,body,app-root,canvas{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}canvas,button,a,input,textarea{touch-action:manipulation}#gv-gen-debug{display:none!important}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial;margin:0;background:var(--bg);color:var(--text)}.app-header{display:none;align-items:flex-start;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:200;padding:calc(12px + env(safe-area-inset-top)) 16px 0px 16px;background:linear-gradient(135deg,#3b82f626,#6366f11a);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid rgba(255,255,255,.08);border-top:1px solid rgba(255,255,255,.08)}.app-header__meta{min-width:0}.app-title-row{display:flex;align-items:center;gap:6px}.app-header__actions{display:flex;align-items:center;gap:8px}.settings-icon-btn{width:26px;height:26px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#0f172a99;color:#fff;font-size:14px;line-height:1;cursor:pointer}.app-header h1{margin:0;font-size:10px;font-weight:600;color:var(--text)}.app-header .subtitle{margin:4px 0 0;font-size:5px;color:var(--muted);opacity:.8}.content{padding:var(--content-padding-top) var(--content-padding-x) var(--content-padding-bottom);flex:1;box-sizing:border-box;overflow-y:auto;-webkit-overflow-scrolling:touch;height:100%;background:var(--game-bg-color, #000)}html.route-vial-word app-root .content,body.route-vial-word app-root .content{display:flex;flex-direction:column;min-height:0;overflow:hidden;overscroll-behavior:none;-webkit-overflow-scrolling:auto}html.route-vial-word app-root .content>app-vial-word,body.route-vial-word app-root .content>app-vial-word{display:block;position:relative;flex:1 1 auto;min-height:0;height:100%}.card{background:linear-gradient(180deg,#ffffff05,#ffffff03);border:1px solid rgba(255,255,255,.04);padding:12px;border-radius:10px;margin-bottom:12px}.btn{padding:12px 16px;border-radius:8px;cursor:pointer;font-size:16px;border:none;font-weight:500;transition:all .2s ease}.btn.primary{background:var(--accent);color:#fff}.btn.primary:hover:not(:disabled){background:#2563eb;transform:translateY(-1px)}.btn.secondary{background:transparent;color:var(--text);border:1px solid rgba(255,255,255,.1)}.btn.secondary:hover:not(:disabled){background:#ffffff0d}.btn:disabled{opacity:.5;cursor:not-allowed}.button-row{display:flex;gap:8px;margin-top:12px}.button-row .btn{flex:1}.top-tabs{display:flex;gap:4px;padding:8px 12px;background:var(--dialog-button-secondary-bg, rgba(17, 24, 39, .95));border-bottom:1px solid var(--dialog-border-color, rgba(255, 255, 255, .08));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);position:sticky;top:0;z-index:100}.top-tabs .tab{flex:1;text-align:center;padding:10px 12px;border-radius:var(--dialog-button-radius, 8px);background:transparent;color:var(--dialog-button-secondary-color, var(--muted));opacity:.9;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.top-tabs .tab.active{background:var(--dialog-button-primary-bg, rgba(59, 130, 246, .3));color:var(--dialog-button-primary-color, var(--text));border:1px solid var(--dialog-border-color, rgba(59, 130, 246, .3));font-weight:500;opacity:1}.tab .label{display:block;font-size:13px}.bottom-tabs{position:fixed;bottom:0;left:0;right:0;display:flex;gap:4px;padding:8px 12px calc(8px + var(--safe-bottom));min-height:var(--tab-bar-height);align-items:center;background:var(--dialog-button-secondary-bg, rgba(17, 24, 39, .98));border-top:1px solid var(--dialog-border-color, rgba(255, 255, 255, .08));backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);z-index:12050;transform:translateY(var(--bottom-tab-nudge));box-shadow:var(--dialog-shadow, none)}.bottom-tabs .tab{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:10px 12px;border-radius:var(--dialog-button-radius, 999px);background:transparent;color:var(--dialog-button-secondary-color, var(--muted));opacity:.9;cursor:pointer;transition:all .2s ease;border:1px solid transparent;font-size:13px;min-width:0}.bottom-tabs .tab.active{background:var(--dialog-button-primary-bg, rgba(59, 130, 246, .3));color:var(--dialog-button-primary-color, var(--text));border-color:var(--dialog-border-color, rgba(59, 130, 246, .4));font-weight:500;opacity:1}input,textarea{width:100%;box-sizing:border-box;padding:10px;margin-top:6px;margin-bottom:8px;border-radius:8px;border:1px solid rgba(255,255,255,.06);background:transparent;color:var(--text);font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif}label{color:var(--muted);font-size:13px}.status-box{background:#3b82f614;border:1px solid rgba(59,130,246,.2);border-radius:8px;padding:10px;margin:12px 0;font-size:13px;line-height:1.5}.output-area{margin:16px 0 0;background:#0006;border:1px solid rgba(255,255,255,.06);border-radius:8px;overflow:hidden}.output-area h4{margin:0;padding:10px 12px;font-size:14px;color:var(--muted);background:#0000004d;border-bottom:1px solid rgba(255,255,255,.06)}.output-content{padding:12px;max-height:200px;overflow-y:auto;-webkit-overflow-scrolling:touch}.log-entry{padding:4px 0;font-size:13px;font-family:SF Mono,Monaco,Courier New,monospace;color:var(--text);opacity:.9}.banner-container{margin-top:12px;--ad-height: var(--ad-height);min-height:var(--ad-height);background:#0000004d;border:2px dashed rgba(59,130,246,.3);border-radius:8px;display:flex;align-items:center;justify-content:center;transition:all .3s ease}.banner-container.visible{border-color:#3b82f680;background:#3b82f60d}.banner-placeholder{color:var(--muted);font-size:14px;padding:20px}.banner-container[aria-hidden=true]{pointer-events:none}.ad-section{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.04)}.ad-section:last-child{border-bottom:none}.ad-section h4{margin:0 0 8px;font-size:15px;color:var(--text);font-weight:500}.log-entry{font-family:Monaco,Menlo,Consolas,monospace;font-size:11px;padding:4px 0;color:var(--text);border-bottom:1px solid rgba(255,255,255,.02)}.log-entry:last-child{border-bottom:none}.ad-placeholder{background:linear-gradient(135deg,#3b82f61a,#8b5cf61a);border:2px dashed rgba(59,130,246,.3);border-radius:8px;padding:20px;margin:12px 0;text-align:center;font-size:16px;color:var(--muted)}.rc-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:400}.rc-modal{width:min(720px,92%);max-height:80vh;overflow-y:auto;background:linear-gradient(180deg,#ffffff05,#ffffff03);border:1px solid rgba(255,255,255,.06);padding:18px;border-radius:12px}button{font-size:16px;padding:10px 14px;border-radius:8px;border:none;background:#ffffff14;color:var(--text);cursor:pointer;font-family:inherit}button[disabled]{opacity:.5;cursor:not-allowed}body{padding-bottom:calc(var(--tab-bar-height) + var(--ad-height) + var(--safe-bottom))}@media(min-width:720px){.bottom-tabs{max-width:720px;margin:0 auto;left:0;right:0}.content{padding-left:20px;padding-right:20px}.log-area{max-width:720px;margin-left:auto;margin-right:auto}}
