@import "https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Cinzel:wght@600;700&family=Fira+Code:wght@500;700&family=Orbitron:wght@600;800&family=Pirata+One&family=Special+Elite&family=VT323&display=swap";:root{--color-paper:oklch(9% .005 0);--color-paper-2:oklch(14% .006 0);--color-paper-3:oklch(19% .008 0);--color-ink:oklch(96% 0 0);--color-ink-2:oklch(72% 0 0);--color-rule:oklch(26% .005 0);--color-rule-2:oklch(20% .005 0);--color-accent:oklch(56% .21 27);--color-focus:oklch(62% .23 27);--color-accent-ink:oklch(9% .005 0);--color-muted:oklch(52% 0 0);--color-neutral:oklch(45% 0 0);--color-gold:oklch(78% .1 85);--color-success:oklch(72% .14 150);--color-error:oklch(65% .18 25);--color-warning:oklch(78% .15 80);--font-display:Oswald, "Arial Narrow", sans-serif;--font-body:"IBM Plex Sans", system-ui, sans-serif;--font-mono:"Geist Mono", ui-monospace, monospace;--space-3xs:.25rem;--space-2xs:.5rem;--space-xs:.75rem;--space-sm:1rem;--space-md:1.5rem;--space-lg:2rem;--space-xl:3rem;--space-2xl:4.5rem;--space-3xl:7rem;--text-xs:.75rem;--text-sm:.875rem;--text-md:1.125rem;--text-lg:1.375rem;--text-xl:1.75rem;--text-2xl:2.25rem;--ease-out:cubic-bezier(.16, 1, .3, 1);--dur-short:.2s;--dur-medium:.4s;--radius-sm:2px;--radius-md:2px;--radius-lg:2px;--radius-xl:2px;--bg-color:var(--color-paper);--bg-gradient:none;--panel-bg:var(--color-paper-2);--border-color:var(--color-rule);--border-hover:var(--color-accent);--panel-border:var(--color-rule);--panel-border-hover:var(--color-accent);--glow-color:color-mix(in oklch, var(--primary) 8%, transparent);--text-primary:var(--color-ink);--text-secondary:var(--color-ink-2);--text-muted:var(--color-muted);--primary:var(--color-accent);--primary-hover:oklch(64% .23 27);--primary-glow:color-mix(in oklch, var(--primary) 12%, transparent);--secondary:oklch(45% .01 0);--secondary-hover:oklch(55% .012 0);--gold:var(--color-gold);--gold-glow:color-mix(in oklch, var(--gold) 10%, transparent);--success:var(--color-success);--error:var(--color-error);--warning:var(--color-warning);--blue-color:#3b82f6;--red-color:#ef4444;--green-color:#22c55e;--yellow-color:#f59e0b;--purple-color:#a855f7;--btn-secondary-bg:oklch(16% .006 0);--btn-secondary-bg-hover:oklch(22% .008 0);--btn-secondary-border:oklch(28% .008 0);--btn-secondary-border-hover:oklch(38% .01 0);--btn-secondary-ink:var(--color-ink);--panel-shadow:0 2px 10px #0000008c;--panel-shadow-hover:0 4px 14px #000000a6;--overlay-bg:#05070cd9;--modal-bg:var(--color-paper-2);--modal-border:var(--color-rule);--modal-tab-bg:var(--color-paper-3);--font-title:var(--font-display);--transition-smooth:background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out)}.dark-theme{--bg-color:var(--color-paper);--bg-gradient:none;--panel-bg:var(--color-paper-2);--border-color:var(--color-rule);--border-hover:var(--color-accent);--glow-color:color-mix(in oklch, var(--primary) 8%, transparent);--text-primary:var(--color-ink);--text-secondary:var(--color-ink-2);--text-muted:var(--color-muted);--gold:var(--color-gold);--gold-glow:color-mix(in oklch, var(--gold) 10%, transparent);--blue-color:#3b82f6;--red-color:#ef4444;--green-color:#22c55e;--yellow-color:#f59e0b;--purple-color:#a855f7;--overlay-bg:#05070cd9;--modal-bg:var(--color-paper-2);--modal-border:var(--color-rule);--modal-tab-bg:var(--color-paper-3)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{background-color:var(--bg-color);color:var(--text-primary);font-family:var(--font-body);overscroll-behavior:none;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;width:100vw;height:100vh;margin:0;padding:0;position:fixed;overflow:hidden}h1,h2,h3,h4,h5,h6{font-family:var(--font-title);letter-spacing:-.02em;font-weight:700}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#05070c99}::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:color-mix(in oklch, var(--primary) 40%, transparent)}.app-container{background-color:var(--bg-color);background-image:var(--bg-gradient);overscroll-behavior:none;justify-content:center;width:100vw;height:100vh;display:flex;position:relative;overflow:hidden}.lobby-container{z-index:10;overscroll-behavior:contain;width:100%;max-width:580px;max-height:100vh;margin:auto 0;padding:1.5rem 1rem;overflow-y:auto}.lobby-glass-card{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:var(--radius-lg);box-shadow:var(--panel-shadow);transition:border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);padding:1.75rem}.lobby-header{text-align:center;margin-bottom:1.5rem}.logo-glow{filter:drop-shadow(0 0 12px var(--primary-glow));margin-bottom:10px;font-size:50px;animation:4s ease-in-out infinite float}.lobby-header h1{font-family:var(--font-title);letter-spacing:-.02em;color:var(--color-ink);margin-bottom:.4rem;font-size:2rem;font-weight:800;line-height:1.1}.lobby-header p{color:var(--text-secondary);font-size:.875rem}.lobby-form{flex-direction:column;gap:1.25rem;margin-bottom:1.5rem;display:flex}.form-group{flex-direction:column;gap:.5rem;display:flex}.form-group label{text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);align-items:center;gap:6px;font-size:.75rem;font-weight:600;display:flex}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border-color);border-radius:var(--radius-md);color:var(--text-primary);font-size:.95rem;font-family:var(--font-body);transition:background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);background:oklch(7% .004 0);padding:.75rem 1rem}.form-group input:focus,.form-group select:focus,.form-group textarea:focus,.form-group input:focus-visible,.form-group select:focus-visible,.form-group textarea:focus-visible{outline:2px solid var(--color-focus);outline-offset:1px;border-color:var(--primary);background:oklch(10% .005 0)}.player-count-selector{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}.count-btn{border:1px solid var(--border-color);border-radius:var(--radius-md);color:var(--text-secondary);font-family:var(--font-title);cursor:pointer;transition:background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);background:oklch(12% .005 0);padding:.65rem 0;font-weight:600}.count-btn:hover{color:var(--text-primary);border-color:var(--border-hover);background:oklch(16% .006 0)}.count-btn.selected{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 0 12px var(--primary-glow)}.btn{border-radius:var(--radius-md);font-family:var(--font-title);cursor:pointer;transition:background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);white-space:nowrap;outline-offset:2px;border:none;outline:2px solid #0000;justify-content:center;align-items:center;gap:.5rem;font-size:.9rem;font-weight:600;display:inline-flex}.btn:focus-visible{outline:2px solid var(--color-focus);outline-offset:2px}.btn:active:not(:disabled){transform:translateY(1px)}.btn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none!important;transform:none!important}.btn-primary{background:linear-gradient(135deg, var(--primary), var(--secondary));color:#fff;padding:.85rem 1.25rem}.btn-primary:hover:not(:disabled){box-shadow:0 8px 25px var(--primary-glow);transform:translateY(-2px)}.btn-secondary{background:var(--btn-secondary-bg);border:1px solid var(--btn-secondary-border);color:var(--btn-secondary-ink);padding:.75rem 1.15rem}.btn-secondary:hover:not(:disabled){background:var(--btn-secondary-bg-hover);border-color:var(--btn-secondary-border-hover)}.btn-danger{background:color-mix(in oklch, var(--error) 12%, transparent);border:1px solid color-mix(in oklch, var(--error) 30%, transparent);color:#fca5a5;padding:.75rem 1.15rem}.btn-danger:hover:not(:disabled){background:var(--error);color:#fff;border-color:#0000}.archetypes-guide{border-top:1px solid var(--border-color);padding-top:20px}.archetypes-guide h3{color:var(--text-primary);align-items:center;gap:6px;margin-bottom:8px;font-size:13px;display:flex}.guide-intro{color:var(--text-secondary);margin-bottom:15px;font-size:12.5px;line-height:1.5}.archetype-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.archetype-grid>:nth-child(5){grid-column:span 2}.archetype-card{border:1px solid var(--border-color);border-radius:var(--radius-md);transition:border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);color:var(--text-secondary);background:oklch(12% .005 0);padding:10px;font-size:11.5px}.archetype-card p{margin-top:2px;line-height:1.3}.face-breakdown{border-top:1px dashed var(--border-color);flex-wrap:wrap;gap:4px;margin-top:8px;padding-top:8px;display:flex}.face-chip{font-family:var(--font-mono);background:#00000008;border:1px solid #0000000d;border-radius:4px;justify-content:center;align-items:center;padding:2px 5px;font-size:10px;font-weight:700;display:inline-flex}.face-chip.suit-spades{color:#2563eb;background:#2563eb0f;border-color:#2563eb26}.face-chip.suit-hearts{color:#dc2626;background:#dc26260f;border-color:#dc262626}.face-chip.suit-diamonds{color:#ca8a04;background:#ca8a040f;border-color:#ca8a0426}.face-chip.suit-clubs{color:#16a34a;background:#16a34a0f;border-color:#16a34a26}.dark-theme .face-chip{background:#ffffff0a;border-color:#ffffff14}.dark-theme .face-chip.suit-spades{color:#60a5fa!important;background:#60a5fa1f!important;border-color:#60a5fa4d!important}.dark-theme .face-chip.suit-hearts{color:#f43f5e!important;background:#f43f5e1f!important;border-color:#f43f5e4d!important}.dark-theme .face-chip.suit-diamonds{color:#fbbf24!important;background:#fbbf241f!important;border-color:#fbbf244d!important}.dark-theme .face-chip.suit-clubs{color:#34d399!important;background:#34d3991f!important;border-color:#34d3994d!important}.archetype-title{color:var(--text-primary);align-items:center;gap:6px;font-size:12px;display:flex}.dot{border-radius:50%;width:7px;height:7px;display:inline-block}.dot-blue{background-color:var(--blue-color)}.dot-red{background-color:var(--red-color)}.dot-green{background-color:var(--green-color)}.dot-yellow{background-color:var(--yellow-color)}.dot-purple{background-color:var(--purple-color)}.blue-glow:hover{border-color:var(--blue-color);background:#2563eb05}.red-glow:hover{border-color:var(--red-color);background:#ef444405}.green-glow:hover{border-color:var(--green-color);background:#16a34a05}.yellow-glow:hover{border-color:var(--yellow-color);background:#d9770605}.purple-glow:hover{border-color:var(--purple-color);background:#9333ea05}.arena-layout{flex-direction:column;width:100vw;height:100vh;display:flex;position:relative;overflow:hidden}.arena-board{flex:1;width:100%;height:100%;position:relative}.arena-title-bar{pointer-events:none;z-index:100;justify-content:space-between;align-items:center;display:flex;position:absolute;top:10px;left:10px;right:10px}.arena-status{border:1px solid var(--border-color);font-family:var(--font-title);letter-spacing:.03em;color:var(--gold);text-shadow:0 0 5px #d9770626;background:#ffffffd9;border-radius:20px;padding:6px 12px;font-size:11.5px;font-weight:700;box-shadow:0 4px 12px #0000000d}.arena-logo{font-family:var(--font-title);letter-spacing:.05em;color:#0f172a73;font-size:13px;font-weight:700}.die-badge{font-family:var(--font-title);border:1px solid #ffffff40;border-radius:6px;justify-content:center;align-items:center;padding:4px 8px;font-size:16px;font-weight:700;transition:opacity .3s,transform .1s;display:flex;box-shadow:0 3px 10px #00000026}.badge-inner{color:#fff;align-items:center;gap:3px;display:flex}.badge-inner.object-badge{border:1.5px solid var(--obj-color,#94a3b8);background:color-mix(in srgb, var(--obj-color,#94a3b8) 22%, #0000008c);box-shadow:0 0 8px color-mix(in srgb, var(--obj-color,#94a3b8) 50%, transparent);border-radius:8px;padding:1px 4px}.badge-inner.object-badge .leader-face{font-size:20px;line-height:1}.badge-inner.detective-object-badge{border:1px solid var(--obj-color,#9b8c73);background:color-mix(in srgb, var(--obj-color,#9b8c73) 22%, #0009);width:58px;box-shadow:0 0 6px color-mix(in srgb, var(--obj-color,#9b8c73) 50%, transparent);border-radius:6px;align-items:center;gap:2px;padding:1px 4px;display:flex}.detective-object-icon{flex-shrink:0;font-size:11px;line-height:1}.detective-object-name{color:#fff;text-shadow:0 1px 2px #000000d9;white-space:normal;word-break:break-word;font-size:8px;font-weight:700;line-height:1.15}.badge-inner.cthulhu-sigil-badge{border:2px solid var(--sigil-color,#94a3b8);background:linear-gradient(100deg, color-mix(in srgb, var(--sigil-color,#94a3b8) 88%, #081510), color-mix(in srgb, var(--sigil-color,#94a3b8) 38%, #07100d));min-width:29px;min-height:29px;box-shadow:0 0 13px color-mix(in srgb, var(--sigil-color,#94a3b8) 68%, transparent), inset 0 1px 0 #ffffff4d;color:#fffdf5;text-shadow:0 1px 2px #000000e6;border-radius:999px;place-items:center;padding:3px 6px;display:inline-grid}.cthulhu-badge-relic{filter:drop-shadow(0 1px 1px #000000b3);font-size:19px;line-height:1}.badge-inner.monopoly-property-badge{background:var(--obj-color,#cfc9ba);color:#fff;text-shadow:0 1px 2px #000000d9,0 0 4px #0009;text-align:center;border:1.5px solid #00000059;border-radius:6px;justify-content:center;align-items:center;width:46px;min-height:28px;padding:2px 4px;display:flex;box-shadow:0 3px 8px #00000059}.monopoly-property-label{-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:8px;font-weight:700;line-height:1.15;display:-webkit-box;overflow:hidden}.monopoly-building-icons{letter-spacing:-1px;font-size:13px;line-height:1}.monopoly-face{box-sizing:border-box;background:var(--monopoly-face-color,#cfc9ba);color:#fff;text-align:center;text-shadow:0 1px 2px #000000d9,0 0 4px #0009;border:1.5px solid #00000059;border-radius:6px;justify-content:center;align-items:center;width:100%;min-width:46px;height:100%;min-height:28px;padding:3px 5px;display:flex}.monopoly-face-label{white-space:nowrap;flex-direction:column;align-items:center;font-size:9px;font-weight:800;line-height:1.08;display:flex}.monopoly-face-symbol{letter-spacing:-2px;font-size:20px;line-height:1}.monopoly-house-grid{grid-template-columns:repeat(2,auto);place-content:center;gap:0 1px;font-size:13px;line-height:.9;display:grid}.object-card>.monopoly-face{border-radius:inherit;border:0;min-width:0}.dice-card.monopoly-hand-face{flex:0 0 64px;width:64px;height:48px;padding:0;overflow:hidden}.monopoly-hand-face .monopoly-face-label{font-size:10px}.monopoly-hand-face .monopoly-house-grid{gap:1px 3px;font-size:17px}.monopoly-hand-face .monopoly-face-symbol{font-size:25px}.badge-inner-locked{justify-content:center;align-items:center;width:16px;height:16px;display:flex}.lock-icon{font-size:11px}.badge-blue{background:linear-gradient(135deg,#3b82f6 0%,#2563eb 100%)}.badge-red{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%)}.badge-green{background:linear-gradient(135deg,#10b981 0%,#059669 100%)}.badge-yellow{background:linear-gradient(135deg,#f59e0b 0%,#d97706 100%)}.badge-purple{background:linear-gradient(135deg,#a855f7 0%,#892cdc 100%)}.die-badge.poker-suit-balloon,.dice-card.poker-suit-card,.pool-select-btn.poker-suit-card,.help-dice-preview.poker-suit-card{color:#0f172a;background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);border-color:#0f172a24;box-shadow:0 2px 8px #0f172a1f}.die-badge.poker-suit-balloon.suit-hearts,.die-badge.poker-suit-balloon.suit-diamonds,.dice-card.poker-suit-card.suit-hearts,.dice-card.poker-suit-card.suit-diamonds,.pool-select-btn.poker-suit-card.suit-hearts,.pool-select-btn.poker-suit-card.suit-diamonds,.help-dice-preview.poker-suit-card.suit-hearts,.help-dice-preview.poker-suit-card.suit-diamonds{color:#e11d48}.die-badge.poker-suit-balloon.suit-spades,.die-badge.poker-suit-balloon.suit-clubs,.dice-card.poker-suit-card.suit-spades,.dice-card.poker-suit-card.suit-clubs,.pool-select-btn.poker-suit-card.suit-spades,.pool-select-btn.poker-suit-card.suit-clubs,.help-dice-preview.poker-suit-card.suit-spades,.help-dice-preview.poker-suit-card.suit-clubs{color:#0f172a}.die-badge.poker-suit-balloon .badge-inner,.die-badge.poker-suit-balloon .badge-value,.die-badge.poker-suit-balloon .badge-suit,.die-badge.poker-suit-balloon .suit,.dice-card.poker-suit-card .val,.dice-card.poker-suit-card .suit,.pool-select-btn.poker-suit-card .val,.pool-select-btn.poker-suit-card .suit{color:inherit!important;text-shadow:none!important}.die-badge.poker-suit-balloon .poker-suit-icon,.dice-card.poker-suit-card .poker-suit-icon,.pool-select-btn.poker-suit-card .poker-suit-icon{filter:none}html[data-theme-id=poker] .face-chip.suit-spades,html[data-theme-id=poker] .face-chip.suit-hearts,html[data-theme-id=poker] .face-chip.suit-diamonds,html[data-theme-id=poker] .face-chip.suit-clubs,html[data-theme-id=card_pyramid] .face-chip.suit-spades,html[data-theme-id=card_pyramid] .face-chip.suit-hearts,html[data-theme-id=card_pyramid] .face-chip.suit-diamonds,html[data-theme-id=card_pyramid] .face-chip.suit-clubs,html[data-theme-id=poker].dark-theme .face-chip.suit-spades,html[data-theme-id=poker].dark-theme .face-chip.suit-hearts,html[data-theme-id=poker].dark-theme .face-chip.suit-diamonds,html[data-theme-id=poker].dark-theme .face-chip.suit-clubs,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-spades,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-hearts,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-diamonds,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-clubs{box-shadow:0 1px 3px #0f172a1a;text-shadow:none!important;background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%)!important;border-color:#0f172a24!important}html[data-theme-id=poker] .face-chip.suit-hearts,html[data-theme-id=poker] .face-chip.suit-diamonds,html[data-theme-id=card_pyramid] .face-chip.suit-hearts,html[data-theme-id=card_pyramid] .face-chip.suit-diamonds,html[data-theme-id=poker].dark-theme .face-chip.suit-hearts,html[data-theme-id=poker].dark-theme .face-chip.suit-diamonds,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-hearts,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-diamonds{color:#e11d48!important}html[data-theme-id=poker] .face-chip.suit-spades,html[data-theme-id=poker] .face-chip.suit-clubs,html[data-theme-id=card_pyramid] .face-chip.suit-spades,html[data-theme-id=card_pyramid] .face-chip.suit-clubs,html[data-theme-id=poker].dark-theme .face-chip.suit-spades,html[data-theme-id=poker].dark-theme .face-chip.suit-clubs,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-spades,html[data-theme-id=card_pyramid].dark-theme .face-chip.suit-clubs{color:#0f172a!important}html[data-theme-id=poker] .face-chip .poker-suit-icon,html[data-theme-id=poker].dark-theme .face-chip .poker-suit-icon,html[data-theme-id=card_pyramid] .face-chip .poker-suit-icon,html[data-theme-id=card_pyramid].dark-theme .face-chip .poker-suit-icon{filter:none;color:inherit}.dark-theme .die-badge.poker-suit-balloon.suit-spades,.dark-theme .die-badge.poker-suit-balloon.suit-clubs,.dark-theme .dice-card.poker-suit-card.suit-spades,.dark-theme .dice-card.poker-suit-card.suit-clubs,.dark-theme .pool-select-btn.poker-suit-card.suit-spades,.dark-theme .pool-select-btn.poker-suit-card.suit-clubs{color:#0f172a!important}.dark-theme .die-badge.poker-suit-balloon.suit-hearts,.dark-theme .die-badge.poker-suit-balloon.suit-diamonds,.dark-theme .dice-card.poker-suit-card.suit-hearts,.dark-theme .dice-card.poker-suit-card.suit-diamonds,.dark-theme .pool-select-btn.poker-suit-card.suit-hearts,.dark-theme .pool-select-btn.poker-suit-card.suit-diamonds{color:#e11d48!important}.die-badge.witches-ingredient-badge{background:linear-gradient(135deg, color-mix(in srgb, var(--ingredient-suit-color,#94a3b8) 88%, white) 0%, color-mix(in srgb, var(--ingredient-suit-color,#94a3b8) 78%, #07100a) 100%);border-color:color-mix(in srgb, var(--ingredient-suit-color,#94a3b8) 72%, white);box-shadow:0 3px 10px #00000047, 0 0 10px color-mix(in srgb, var(--ingredient-suit-color,#94a3b8) 52%, transparent)}.die-badge.cthulhu-sigil-badge-frame{background:linear-gradient(135deg, color-mix(in srgb, var(--sigil-suit-color,#94a3b8) 88%, #081510) 0%, color-mix(in srgb, var(--sigil-suit-color,#94a3b8) 50%, #030c08) 100%);border-color:color-mix(in srgb, var(--sigil-suit-color,#94a3b8) 75%, #fff);box-shadow:0 3px 10px #00000073, 0 0 12px color-mix(in srgb, var(--sigil-suit-color,#94a3b8) 60%, transparent)}.die-badge.hidden{color:var(--text-secondary);background:#f1f5f9f2;border-color:#0f172a14;box-shadow:0 2px 6px #00000014}.hud-overlay-container{pointer-events:none;z-index:100;flex-direction:column;justify-content:space-between;width:100%;height:100%;padding:10px;display:flex;position:absolute;top:0;left:0}.hud-top-players{pointer-events:auto;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;width:100%;margin-top:36px;display:flex}.compact-player-card{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);border:1px solid var(--border-color);border-radius:12px;align-items:center;gap:8px;min-width:120px;max-width:180px;padding:6px 10px;transition:all .3s;display:flex;box-shadow:0 4px 15px #0000000d}.compact-player-card.active{border-color:var(--blue-color);background:#fffffff2;box-shadow:0 0 10px #2563eb26}.compact-player-card.passed{opacity:.5}.player-avatar-ring{width:22px;height:22px;color:var(--text-secondary);background:#0f172a0d;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.compact-player-card.active .player-avatar-ring{background:var(--blue-color);color:#fff}.player-details-compact{flex-direction:column;display:flex;overflow:hidden}.player-details-compact .name{white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:700;overflow:hidden}.player-details-compact .hand-rating{color:var(--text-secondary);font-size:9px}.player-stats-compact{flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto;display:flex}.compact-influence{color:var(--gold);align-items:center;gap:2px;font-size:11px;font-weight:800;display:flex}.compact-bid{background:#0000000a;border-radius:3px;padding:1px 4px;font-size:9px;font-weight:700}.log-drawer-trigger{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-color);cursor:pointer;width:38px;height:38px;color:var(--text-primary);pointer-events:auto;border-radius:50%;justify-content:center;align-items:center;transition:all .3s;display:flex;position:absolute;top:100px;right:10px;box-shadow:0 4px 12px #0000000f}.log-drawer-trigger:hover{background:var(--border-hover);transform:scale(1.05)}.chat-drawer-trigger{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-color);cursor:pointer;width:38px;height:38px;color:var(--text-primary);pointer-events:auto;border-radius:50%;justify-content:center;align-items:center;transition:all .3s;display:flex;position:absolute;top:100px;right:56px;box-shadow:0 4px 12px #0000000f}.chat-drawer-trigger:hover{background:var(--border-hover);transform:scale(1.05)}.winning-hands-trigger{background:radial-gradient(circle at 34% 24%, #ffffff94, transparent 32%), linear-gradient(135deg, color-mix(in srgb, var(--gold) 92%, white), color-mix(in srgb, var(--gold) 54%, var(--blue-color)));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid color-mix(in srgb, var(--gold) 68%, transparent);width:38px;height:38px;box-shadow:0 8px 22px var(--gold-glow), 0 4px 12px #00000014;cursor:pointer;color:#fff;pointer-events:auto;border-radius:50%;justify-content:center;align-items:center;transition:transform .25s,box-shadow .25s,filter .25s;display:flex;position:absolute;top:100px;right:102px}.winning-hands-trigger:hover,.winning-hands-trigger.active{box-shadow:0 10px 28px var(--gold-glow), 0 6px 16px #0000001f;filter:saturate(1.08);transform:translateY(-1px)scale(1.06)}.winning-hands-trigger.active:after{content:"";background:#10b981;border-radius:50%;width:8px;height:8px;position:absolute;top:4px;right:4px;box-shadow:0 0 10px #10b981cc}.chat-compose-trigger{background:linear-gradient(135deg, var(--gold), color-mix(in srgb, var(--gold) 58%, var(--blue-color)));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid color-mix(in srgb, var(--gold) 58%, transparent);width:38px;height:38px;box-shadow:0 8px 22px var(--gold-glow), 0 4px 12px #00000014;cursor:pointer;color:#fff;pointer-events:auto;border-radius:50%;justify-content:center;align-items:center;transition:all .3s;display:flex;position:absolute;top:100px;right:148px}.chat-compose-trigger:hover{box-shadow:0 10px 28px var(--gold-glow), 0 6px 16px #0000001f;transform:translateY(-1px)scale(1.06)}.chat-entry{border-bottom:1px solid var(--border-color);flex-direction:column;gap:2px;padding-bottom:6px;font-size:11px;line-height:1.35;display:flex}.chat-author{color:var(--blue-color);font-weight:700}.chat-text{color:var(--text-secondary)}.chat-composer-overlay{z-index:2100;background:radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 34%), #0f172a85}.chat-composer-card{border:1px solid var(--border-color);background:linear-gradient(145deg, color-mix(in srgb, var(--panel-bg) 86%, var(--gold) 8%), var(--panel-bg)), var(--panel-bg);width:min(94vw,500px);box-shadow:0 22px 60px #00000042, 0 0 30px color-mix(in srgb, var(--gold) 16%, transparent);border-radius:18px;flex-direction:column;gap:14px;padding:18px;animation:.22s cubic-bezier(.16,1,.3,1) forwards slideUp;display:flex;position:relative;overflow:hidden}.chat-composer-card:before{content:"";pointer-events:none;background:linear-gradient(90deg, transparent, color-mix(in srgb, var(--gold) 12%, transparent), transparent);opacity:.5;position:absolute;inset:0}.chat-composer-ornament{pointer-events:none;position:absolute;inset:0;overflow:hidden}.chat-composer-ornament span{background:var(--gold);width:6px;height:6px;box-shadow:0 0 14px var(--gold);opacity:.42;border-radius:999px;animation:4.6s ease-in-out infinite chatFirefly;position:absolute}.chat-composer-ornament span:first-child{animation-delay:-1s;top:18%;left:8%}.chat-composer-ornament span:nth-child(2){animation-delay:-2.6s;top:20%;left:84%}.chat-composer-ornament span:nth-child(3){animation-delay:-3.4s;top:82%;left:76%}.chat-composer-header,.chat-composer-row,.chat-composer-hint{z-index:1;position:relative}.chat-composer-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.chat-composer-title{align-items:center;gap:10px;min-width:0;display:flex}.chat-composer-title>svg{color:var(--gold);flex-shrink:0}.chat-composer-title h2{color:var(--text-primary);font-family:var(--font-title);margin:0;font-size:18px;line-height:1.1}.chat-composer-title p{color:var(--text-secondary);margin-top:3px;font-size:12px}.chat-composer-close{background:color-mix(in srgb, var(--text-primary) 8%, transparent);width:32px;height:32px;color:var(--text-secondary);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;transition:background .2s,color .2s,transform .2s;display:flex}.chat-composer-close:hover{background:color-mix(in srgb, var(--text-primary) 14%, transparent);color:var(--text-primary);transform:scale(1.04)}.chat-composer-row{grid-template-columns:1fr auto;gap:10px;display:grid}.chat-composer-input{border:1px solid var(--border-color);background:color-mix(in srgb, var(--modal-bg) 74%, transparent);width:100%;min-width:0;height:44px;color:var(--text-primary);font:600 15px/1 var(--font-body);border-radius:12px;outline:none;padding:0 14px;box-shadow:inset 0 1px #ffffff14}.chat-composer-input:focus{border-color:color-mix(in srgb, var(--gold) 70%, var(--border-color));box-shadow:0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent)}.chat-composer-send{background:linear-gradient(135deg, var(--gold), color-mix(in srgb, var(--gold) 62%, var(--blue-color)));color:#fff;cursor:pointer;height:44px;font:800 13px/1 var(--font-title);box-shadow:0 8px 20px var(--gold-glow);border:none;border-radius:12px;justify-content:center;align-items:center;gap:7px;padding:0 14px;transition:opacity .2s,transform .2s;display:inline-flex}.chat-composer-send:hover:not(:disabled){transform:translateY(-1px)}.chat-composer-send:disabled{cursor:not-allowed;opacity:.45;box-shadow:none}.chat-composer-hint{color:var(--text-secondary);justify-content:space-between;gap:12px;font-size:11px;display:flex}.theme-chat-witches .chat-composer-card{background:radial-gradient(circle at 16% 0,#86efac2e,#0000 28%),radial-gradient(circle at 84% 100%,#a855f729,#0000 30%),linear-gradient(145deg,#071c0ee6,#12391dc7);border-color:#86efac61;box-shadow:0 22px 70px #0000006b,0 0 36px #86efac38}.theme-chat-witches .chat-composer-card:after{content:"";pointer-events:none;filter:drop-shadow(0 -5px 10px #86efac29);opacity:.75;background:radial-gradient(at 6% 100%,#22c55ee6 0 20%,#0000 21%),radial-gradient(at 18% 100%,#4ade80b3 0 22%,#0000 23%),radial-gradient(at 32% 100%,#15803dd9 0 20%,#0000 21%),radial-gradient(at 48% 100%,#22c55ed1 0 24%,#0000 25%),radial-gradient(at 64% 100%,#4ade80ad 0 19%,#0000 20%),radial-gradient(at 80% 100%,#15803ddb 0 23%,#0000 24%),radial-gradient(at 94% 100%,#22c55ec7 0 20%,#0000 21%);height:34px;position:absolute;bottom:-10px;left:-18px;right:-18px}.theme-chat-witches .chat-composer-title>svg{color:#86efac}.theme-chat-witches .chat-composer-ornament span{color:#86efac;background:#86efac;box-shadow:0 0 18px #86eface6}@keyframes chatFirefly{0%,to{opacity:.26;transform:translate(0,0)scale(.8)}45%{opacity:.7;transform:translate(12px,-16px)scale(1.2)}70%{opacity:.45;transform:translate(-10px,8px)scale(1)}}@media (width<=560px){.chat-compose-trigger{top:92px;right:102px}.chat-composer-card{padding:16px}.chat-composer-row{grid-template-columns:1fr}.chat-composer-send{width:100%}}.log-drawer-panel{background:var(--panel-bg);-webkit-backdrop-filter:blur(15px);border:1px solid var(--border-color);pointer-events:auto;z-index:99;border-radius:16px;flex-direction:column;width:280px;padding:14px;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex;position:absolute;top:150px;bottom:110px;right:10px;box-shadow:-5px 5px 25px #0000000f}.log-drawer-panel.closed{opacity:0;pointer-events:none;transform:translate(310px)}.winning-hands-panel{background:linear-gradient(145deg, color-mix(in srgb, var(--panel-bg) 88%, var(--gold) 8%), var(--panel-bg)), var(--panel-bg);border-color:color-mix(in srgb, var(--gold) 42%, var(--border-color));width:300px;box-shadow:-8px 10px 30px #00000014, 0 0 22px color-mix(in srgb, var(--gold) 14%, transparent)}.winning-hands-header{border-bottom-color:color-mix(in srgb, var(--gold) 34%, var(--border-color))}.winning-hands-title{color:var(--gold);align-items:center;gap:7px;display:flex}.winning-hands-title h3{color:var(--gold)}.winning-hands-scroller{flex-direction:column;flex:1;gap:7px;padding-right:2px;display:flex;overflow-y:auto}.winning-hand-card{flex-direction:column;gap:4px;display:flex}.winning-hand-desc{color:var(--text-secondary);padding:0 8px 2px 42px;font-size:10px;font-weight:600;line-height:1.3}.cthulhu-hands-intro,.cthulhu-sigil-note{color:#c8f4e8;background:#064e3b29;border:1px solid #2dd4bf3b;border-radius:8px;padding:8px 10px;font-size:10px;line-height:1.35}.cthulhu-ritual-recipe{align-items:center;gap:5px;min-height:28px;padding:4px 8px 3px 42px;display:flex}.cthulhu-recipe-label{color:#75cfc0;letter-spacing:.08em;font-size:8px;font-weight:900}.cthulhu-relic-list{flex:1;align-items:center;gap:2px;min-width:0;display:flex}.cthulhu-relic{background:#061812c2;border:1px solid #ffffff2e;border-radius:6px;place-items:center;width:22px;height:22px;font-size:14px;display:inline-grid;box-shadow:inset 0 1px #ffffff14}.cthulhu-relic-unknown{color:#b9d7cf;font-weight:900}.goods-example-row{align-items:center;gap:6px;margin-top:4px;display:flex}.goods-example-label{color:var(--text-secondary);letter-spacing:.08em;font-size:8px;font-weight:900}.goods-example-chips{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.goods-chip-any{opacity:.5}.goods-chip-any .leader-face{color:var(--text-secondary);filter:none;font-weight:900;font-size:14px!important}.goods-legend{border:1px solid var(--border-color);background:#ffffff08;border-radius:10px;flex-direction:column;gap:7px;padding:9px 11px;display:flex}.goods-legend-types{flex-wrap:wrap;justify-content:space-between;gap:4px;display:flex}.goods-legend-type{border:1px solid var(--obj-color,#94a3b8);background:color-mix(in srgb, var(--obj-color,#94a3b8) 18%, transparent);white-space:nowrap;border-radius:999px;padding:2px 5px;font-size:9.5px;font-weight:700}.goods-legend-wilds{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.witches-families-legend{border-color:color-mix(in srgb, var(--green-color,#22c55e) 38%, var(--border-color));background:radial-gradient(circle at 88% 10%,#86efac1f,#0000 38%),#0623142e}.witches-rules-wheel-card{background:radial-gradient(circle at 50% 48%,#ffe9a814,#0000 32%),linear-gradient(145deg,#08251bdb,#101d19eb);border:1px solid #ffe9a84d;border-radius:14px;padding:16px 18px 12px;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff0f,0 12px 30px #0000001f}.witches-rules-wheel-card:before{content:"";pointer-events:none;opacity:.12;background-image:radial-gradient(#ffffff2b .6px,#0000 .6px);background-size:11px 11px;position:absolute;inset:0}.witches-wheel-kicker{color:#ffe9a8;letter-spacing:.2em;text-align:center;font-size:9px;font-weight:900}.witches-rules-wheel-card h3{color:#f4fff7;text-align:center;margin:5px 0 4px;font-size:17px;position:relative}.witches-rules-wheel-card>p{color:#bcd3c5;text-align:center;max-width:420px;margin:0 auto;font-size:11px;line-height:1.45;position:relative}.witches-rules-wheel-card .coven-wheel{margin-block:18px 22px}.witches-rules-wheel-card .coven-wheel-pole{display:none}.witches-wheel-reading-key{flex-wrap:wrap;justify-content:center;gap:7px;display:flex;position:relative}.witches-wheel-reading-key span{color:#dcebe1;background:#0003;border:1px solid #ffffff1a;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:700}.witches-wheel-reading-key b{color:#ffe9a8}.witches-example-row{flex-direction:column;align-items:flex-start;gap:5px;width:100%}.witches-winning-wheel-reference{background:radial-gradient(circle,#3d765826,#0000 68%);border-radius:10px;width:100%;padding:5px 8px 0}.witches-recipe-wheel-label{color:#b9d8c3;letter-spacing:.11em;text-align:center;text-transform:uppercase;font-size:8px;font-weight:900;display:block}.witches-help-hand-row{flex-wrap:wrap;align-items:flex-start}.witches-help-hand-row>.witches-example-row{flex-basis:100%;padding-left:40px}.winning-hands-panel.witches-theme-panel{width:330px}.witches-theme-panel .witches-example-row{padding:0 8px 5px}.witches-theme-panel .witches-winning-wheel-reference{padding-inline:0}@media (width<=520px){.witches-help-hand-row>.witches-example-row{padding-left:0}.witches-rules-wheel-card{padding-inline:10px}}.witches-example-families{justify-content:flex-start}.witches-example-chip{position:relative;overflow:visible}.witches-example-temperature{border:1px solid color-mix(in srgb, var(--obj-color,#94a3b8) 75%, white);color:#f7fee7;width:14px;height:14px;font:800 8px/12px var(--font-title);text-align:center;background:#102619;border-radius:999px;position:absolute;bottom:-3px;right:-3px;box-shadow:0 1px 4px #00000061}.witches-example-temperature.cold{color:#8fc8ff}.witches-example-temperature.warm{color:#ff9b73}.witches-example-temperature.neutral{color:#ffe9a8}.cthulhu-rise{color:#86efac;font:800 9px/1 var(--font-title);white-space:nowrap}.cthulhu-sigil-bonuses{margin-top:5px}.cthulhu-sigil-list{flex-direction:column;gap:5px;margin-top:7px;display:flex}.cthulhu-sigil-row{background:#ffffff09;border:1px solid #ffffff17;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:5px 7px;display:grid}.cthulhu-sigil-pattern{gap:2px;display:flex}.cthulhu-sigil-pattern span{border:1px solid #ffffff7a;border-radius:50%;place-items:center;width:15px;height:15px;font-size:8px;display:inline-grid}.cthulhu-sigil-name{color:#e6fff8;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800;overflow:hidden}.winning-hand-chip{border:1px solid color-mix(in srgb, var(--border-color) 82%, var(--gold));background:linear-gradient(90deg, color-mix(in srgb, var(--gold) 10%, transparent), transparent 58%), #ffffff0a;border-radius:10px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:34px;padding:7px 8px;display:grid;box-shadow:inset 0 1px #ffffff14}.winning-hand-chip:nth-child(-n+3){border-color:color-mix(in srgb, var(--gold) 56%, var(--border-color));background:linear-gradient(90deg, color-mix(in srgb, var(--gold) 18%, transparent), transparent 62%), #ffffff0f}.winning-hand-rank{color:#fff;background:linear-gradient(135deg, var(--gold), color-mix(in srgb, var(--gold) 45%, var(--blue-color)));width:28px;height:22px;box-shadow:0 4px 12px var(--gold-glow);border-radius:999px;justify-content:center;align-items:center;font-size:10px;font-weight:800;display:inline-flex}.winning-hand-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-primary);font-size:11px;font-weight:800;overflow:hidden}.winning-hand-bonus{font-variant-numeric:tabular-nums;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;line-height:1}.winning-hand-bonus.positive{color:#10b981;background:#10b98124}.winning-hand-bonus.negative{color:#ef4444;background:#ef444424}.winning-word-help{color:var(--text-secondary);padding:0 2px 2px;font-size:10px;font-weight:700;line-height:1.35}.winning-domino-summary{flex-direction:column;gap:5px;padding-bottom:3px;display:flex}.winning-hands-chord,.winning-hands-music{flex-direction:column;gap:7px;display:flex}.winning-preset-pill{border:1px solid color-mix(in srgb, var(--gold) 38%, var(--border-color));background:color-mix(in srgb, var(--gold) 10%, transparent);color:var(--text-secondary);text-transform:uppercase;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;font-size:10px;font-weight:800;display:flex}.winning-preset-pill strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-primary);text-transform:none;overflow:hidden}.winning-domino-bonus-note{color:color-mix(in srgb, var(--gold) 72%, var(--text-secondary))}.drawer-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:8px;display:flex}.drawer-header h3{letter-spacing:.05em;text-transform:uppercase;color:var(--text-secondary);font-size:12px;font-weight:700}.close-btn{cursor:pointer;color:var(--text-secondary);background:0 0;border:none}.logs-scroller{flex-direction:column;flex:1;gap:8px;display:flex;overflow-y:auto}.log-entry{color:var(--text-secondary);align-items:flex-start;gap:3px;font-size:11px;line-height:1.3;display:flex}.log-arrow{color:var(--blue-color);flex-shrink:0;margin-top:1px}.hud-bottom-actions{flex-wrap:wrap;justify-content:center;align-items:flex-end;gap:12px;width:100%;margin-bottom:10px;display:flex}.overlay-panel{background:var(--panel-bg);-webkit-backdrop-filter:blur(16px);border:1px solid var(--border-color);pointer-events:auto;border-radius:16px;flex-direction:column;gap:10px;width:100%;max-width:460px;padding:14px;animation:.3s cubic-bezier(.16,1,.3,1) slideUp;display:flex;box-shadow:0 10px 30px #0f172a14}.overlay-panel.compact{flex-direction:row;align-items:center;gap:12px;padding:10px 14px}.overlay-text h4{font-family:var(--font-title);font-size:13px;font-weight:700}.overlay-text p{color:var(--text-secondary);font-size:11px}.pool-selector{gap:6px;margin-left:auto;display:flex}.pool-select-btn{font-family:var(--font-title);cursor:pointer;color:#fff;border:none;border-radius:6px;align-items:center;gap:3px;padding:6px 10px;font-size:12px;font-weight:700;transition:all .2s;display:flex}.pool-select-btn:hover{transform:translateY(-1px)}.bidding-header-compact{box-sizing:border-box;justify-content:space-between;align-items:center;gap:3px;width:100%;font-size:11px;font-weight:600;display:flex}.bid-metrics{align-items:center;gap:3px;min-width:0;display:flex}.bid-metric{width:24px;height:24px;color:var(--text-secondary);white-space:nowrap;cursor:help;background:#ffffff0b;border:1px solid #ffffff1a;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.bid-metric svg{color:var(--gold);flex:none}.bid-odds-trigger{cursor:pointer;border:1px solid var(--border-color);width:26px;height:26px;color:var(--text-primary);background:#ffffff0d;border-radius:50%;flex:0 0 26px;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.bid-odds-trigger:hover,.bid-odds-trigger:focus-visible{color:var(--gold);border-color:var(--gold);background:#ffd7001a}.bid-metric[data-tooltip]:after,.bid-odds-trigger[data-tooltip]:after,.bid-action-icon[data-tooltip]:after{z-index:100;white-space:normal;word-wrap:break-word;color:#fff;content:attr(data-tooltip);text-align:center;pointer-events:none;opacity:0;background:#0c101cf5;border:1px solid #ffffff2e;border-radius:5px;width:max-content;max-width:min(420px,100vw - 24px);padding:5px 7px;font-size:11px;font-weight:600;line-height:1.25;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%,3px);box-shadow:0 5px 14px #00000052}.bid-metric[data-tooltip]:hover:after,.bid-odds-trigger[data-tooltip]:hover:after,.bid-odds-trigger[data-tooltip]:focus-visible:after,.bid-action-icon[data-tooltip]:hover:after,.bid-action-icon[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.bid-action-icon:disabled,.btn-raise:disabled,.bid-text-input:disabled{opacity:.55;pointer-events:auto!important;cursor:not-allowed!important}.bidding-actions-compact{flex-wrap:wrap;flex:188px;align-items:center;gap:4px;min-width:188px;display:flex}.raise-inputs-compact{background:#00000008;border-radius:6px;flex:118px;align-items:center;gap:4px;min-width:118px;padding:3px 4px;display:flex}.raise-slider{accent-color:var(--gold);cursor:pointer;flex:1;height:4px}.raise-val-bubble{color:var(--gold);text-align:right;min-width:20px;font-size:13px;font-weight:700}.action-buttons-compact{flex:none;gap:3px;display:flex}.bid-action-icon{justify-content:center;align-items:center;width:26px;min-width:26px;height:26px;display:inline-flex;position:relative;padding:0!important}.btn-raise.compact.bid-action-icon{color:#fff;background:linear-gradient(135deg,#d97706 0%,#b45309 100%)}.btn-pass.compact.bid-action-icon{color:var(--red-color);background:#ef444414;border:1px solid #ef444426}.btn-pass.compact:hover{background:var(--red-color);color:#fff}.bidding-controls.compact{gap:5px;width:min(96vw,340px);max-width:none;padding:5px 6px}.bidding-controls.compact .bidding-header-compact{flex:none;width:auto}.bidding-controls.compact .bid-text-input{width:42px!important;padding:3px!important;font-size:11px!important}.waiting-controls.compact{background:#ffffffb3;flex-direction:row;justify-content:center;align-items:center;gap:8px;font-size:12px}.spinner-small{border:2px solid #0000000d;border-top-color:var(--blue-color);border-radius:50%;width:14px;height:14px;animation:.8s linear infinite spin}.showdown-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1000;background:#0f172a73;justify-content:center;align-items:center;width:100vw;height:100vh;padding:12px;animation:.4s fadeIn;display:flex;position:fixed;top:0;left:0}.help-modal-card{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:16px;flex-direction:column;gap:16px;width:100%;max-width:650px;max-height:90vh;padding:24px;display:flex;overflow-y:auto;box-shadow:0 20px 40px #0f172a26}.showdown-card{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:16px;flex-direction:column;gap:16px;width:100%;max-width:680px;max-height:90vh;padding:24px;display:flex;overflow-y:auto;box-shadow:0 20px 40px #0f172a26}.showdown-card.chord-showdown-card{gap:12px;max-width:760px}.showdown-header{text-align:center;flex-direction:column;align-items:center;gap:6px;display:flex}.showdown-header h1{font-family:var(--font-title);color:var(--text-primary);font-size:26px;font-weight:700}.showdown-header .subtitle{color:var(--text-secondary);font-size:13px}.winner-banner{text-align:center;background:radial-gradient(circle,#d977060f 0%,#fff0 100%);border:1.5px dashed #d977064d;border-radius:12px;padding:12px}.winner-banner h2{font-family:var(--font-title);color:var(--gold);font-size:20px}.winner-banner p{color:var(--text-secondary);margin-top:2px;font-size:12px}.results-list{flex-direction:column;gap:8px;display:flex}.result-row{border:1px solid var(--border-color);background:#00000003;border-radius:10px;align-items:center;padding:10px 14px;display:flex}.result-row.winner-row{background:#d9770608;border-color:#d9770633}.rank-number{font-family:var(--font-title);width:25px;color:var(--text-secondary);font-size:16px;font-weight:700}.winner-row .rank-number{color:var(--gold)}.result-player-info{flex:1;justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.player-details{flex-direction:column;display:flex}.player-username{font-size:13px;font-weight:700}.hand-rank-badge{color:var(--text-secondary);font-size:11px;font-weight:600}.winner-row .hand-rank-badge{color:var(--gold)}.dice-showcase{gap:4px;display:flex}.winning-word-card{border:1px solid color-mix(in srgb, var(--border-color) 82%, var(--gold));background:linear-gradient(90deg, color-mix(in srgb, var(--gold) 10%, transparent), transparent 58%), #ffffff0a;border-radius:10px;flex-direction:column;gap:4px;padding:8px;display:flex}.winning-word-main{grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.winning-word-letters{flex-wrap:wrap;gap:2px;min-width:0;display:flex}.winning-word-tile{color:#221407;min-width:18px;height:22px;font-family:var(--font-title);background:linear-gradient(145deg,#f5dfb6,#d5a968);border:1px solid #784b186b;border-radius:4px;justify-content:center;align-items:center;font-size:12px;font-weight:900;line-height:1;display:inline-flex;box-shadow:inset 0 1px #ffffff94}.winning-word-rule{color:var(--text-secondary);padding-left:42px;font-size:10px;font-weight:700}.winning-color-rules{border-top:1px solid color-mix(in srgb, var(--border-color) 72%, transparent);flex-wrap:wrap;gap:5px;padding:8px;display:flex}.winning-color-title{width:100%;color:var(--text-secondary);letter-spacing:0;text-transform:uppercase;font-size:10px;font-weight:900}.winning-chess-plans{border-top:1px solid color-mix(in srgb, var(--border-color) 72%, transparent);flex-direction:column;gap:6px;padding:8px;display:flex}.winning-chess-plans .winning-hand-chip{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;display:flex}.winning-chess-plans .winning-hand-name{white-space:nowrap;color:var(--text-primary);flex-shrink:0;font-size:12px;font-weight:800}.winning-chess-pieces{flex-wrap:wrap;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.word-match-chip{min-height:20px;font-family:var(--font-title);color:var(--text-secondary);background:#ffffff0d;border:1px solid #94a3b847;border-radius:5px;align-items:center;padding:2px 6px;font-size:10px;font-weight:800;display:inline-flex}.word-match-chip.matched,.word-match-chip.positive{color:#10b981;background:#10b98114;border-color:#10b98159}.word-match-chip.missing,.word-match-chip.negative{color:#ef4444;background:#ef444414;border-color:#ef444459}.word-match-chip.color-pattern{color:var(--gold);background:#d9770614;border-color:#d9770659}.word-match-chip.color-pattern.positive{color:#10b981;background:#10b98114;border-color:#10b98159}.word-match-chip.color-pattern.negative{color:#ef4444;background:#ef444414;border-color:#ef444459}.dice-card{font-family:var(--font-title);color:#fff;border:1px solid #ffffff26;border-radius:5px;flex-direction:column;justify-content:center;align-items:center;width:32px;height:40px;font-size:11px;font-weight:700;animation:.4s cubic-bezier(.175,.885,.32,1.275) backwards dealCard;display:flex;box-shadow:0 2px 6px #0000001a}.domino-reveal-row{perspective:400px;gap:12px}.theme-domino .dice-showcase,.dice-showcase.domino-showcase,.theme-mahjong .dice-showcase,.dice-showcase.mahjong-showcase{gap:12px}.domino-tile{opacity:0;transform-origin:bottom;border:1px solid #ffffff40;border-radius:4px;align-items:center;width:46px;height:26px;animation:.38s cubic-bezier(.2,.8,.3,1.1) both dominoLayDown;display:flex;box-shadow:0 2px 6px #00000040}.domino-tile-divider{background:#ffffff80;align-self:stretch;width:1px;margin:4px 0}.domino-pip-half{flex:1;grid-template-rows:repeat(3,1fr);grid-template-columns:repeat(3,1fr);gap:1px;height:100%;padding:3px 4px;display:grid}.domino-pip{background:0 0;border-radius:50%;place-self:center;width:3px;height:3px}.domino-pip.filled{background:#ffffffeb;width:4px;height:4px;box-shadow:0 0 1px #0006}.domino-label-reveal{opacity:0;animation:.3s ease-out forwards dominoLabelIn}@keyframes dominoLayDown{0%{opacity:0;transform:rotateX(-85deg)translateY(-10px)}to{opacity:1;transform:rotateX(0)translateY(0)}}@keyframes dominoLabelIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.chord-reveal-row{flex-wrap:wrap;justify-content:flex-start;align-items:flex-end;row-gap:5px;min-width:0;max-width:100%}.chord-strum-reveal{opacity:0;transform-origin:bottom;flex:none;animation:.5s cubic-bezier(.2,.8,.3,1.15) both chordStrumIn}.chord-result-row{align-items:flex-start;gap:10px}.chord-result-row .rank-number{padding-top:4px}.chord-result-row .result-player-info{flex-direction:column;justify-content:flex-start;align-items:stretch;gap:8px}.chord-result-row .player-details{min-width:0}.chord-result-row .player-username,.chord-result-row .hand-rank-badge{overflow-wrap:anywhere}.chord-result-row .result-influence-container{flex-shrink:0}@keyframes chordStrumIn{0%{opacity:0;transform:translateY(10px)scale(.7)}60%{opacity:1;transform:translateY(-3px)scale(1.06)}to{opacity:1;transform:translateY(0)scale(1)}}.result-influence{font-family:var(--font-title);color:var(--gold);background:#d9770614;border-radius:4px;flex-shrink:0;align-items:center;gap:4px;margin-left:10px;padding:3px 8px;font-size:12px;font-weight:700;display:flex}.showdown-actions{justify-content:center;margin-top:8px;display:flex}.btn-reset{background:linear-gradient(135deg, var(--primary), var(--secondary));color:#fff;padding:12px 24px}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}@keyframes dealCard{0%{opacity:0;transform:translateY(10px)rotate(-8deg)}to{opacity:1;transform:translateY(0)rotate(0)}}.winner-glow-effect{pointer-events:none;z-index:999;width:100vw;height:100vh;position:fixed;top:0;left:0;box-shadow:inset 0 0 50px #d977061a}.animate-glow{animation:6s infinite alternate glowCycle}@keyframes glowCycle{0%{filter:drop-shadow(0 0 8px color-mix(in oklch, var(--primary) 18%, transparent))}to{filter:drop-shadow(0 0 18px color-mix(in oklch, var(--primary) 35%, transparent))}}@media (width<=580px){.lobby-glass-card{padding:20px}.lobby-header h1{font-size:26px}.player-count-selector{grid-template-columns:repeat(5,1fr)}.count-btn{font-size:11px}.archetype-grid{grid-template-columns:1fr}.archetype-grid>:nth-child(5){grid-column:span 1}.compact-player-card{min-width:100px;padding:4px 8px}.log-drawer-panel{width:250px;top:140px;bottom:90px;right:5px}.winning-hands-panel{width:min(280px,100vw - 20px)}.winning-hands-trigger{right:98px}.chat-compose-trigger{right:143px}.overlay-panel{max-width:95vw;padding:10px}.action-buttons-compact{grid-template-columns:1fr;gap:4px}.showdown-card{padding:16px}.result-row{flex-wrap:wrap;gap:8px;padding:8px}.result-player-info{justify-content:space-between;width:100%}.dice-showcase{gap:2px}.chord-result-row{align-items:stretch}.chord-result-row .result-player-info{order:2}.chord-result-row .result-influence-container{order:3;align-items:flex-start;width:100%;margin-left:0}.chord-result-row .result-influence{margin-left:0}.chord-result-row .influence-breakdown{align-items:flex-start}.winning-word-main{grid-template-columns:30px minmax(0,1fr) auto;gap:6px}.winning-word-rule{padding-left:36px}.dice-card{width:26px;height:34px;font-size:10px}.dice-card.monopoly-hand-face{flex-basis:56px;width:56px;height:44px}.monopoly-hand-face .monopoly-face-label{font-size:8px}}.floating-global-header{z-index:1100;pointer-events:auto;align-items:center;gap:10px;display:flex;position:fixed;top:10px;right:10px}.floating-global-header.is-hidden-for-dune-cinematic{visibility:hidden;pointer-events:none}.rules-btn-header{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-color);font-family:var(--font-body);color:var(--text-primary);cursor:pointer;border-radius:20px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 4px 12px #0000000d}.rules-btn-header:hover{background:#fff;transform:translateY(-1px);box-shadow:0 6px 16px #00000014}.language-selector-pills{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid var(--border-color);border-radius:20px;padding:2px;display:flex;box-shadow:0 4px 12px #0000000d}.lang-pill{font-family:var(--font-title);cursor:pointer;color:var(--text-secondary);background:0 0;border:none;border-radius:15px;padding:4px 10px;font-size:11px;font-weight:700;transition:all .2s}.lang-pill:hover{color:var(--text-primary)}.lang-pill.active{background:var(--blue-color);color:#fff}.help-modal-overlay{z-index:2000}.help-modal-card{max-width:580px}.help-steps{flex-direction:column;gap:10px;margin:10px 0;display:flex}.rules-guide{flex-direction:column;gap:10px;margin:8px 0;display:flex}.rules-guide-summary{margin:0 0 2px}.rules-guide-section{border:1px solid var(--border-color);background:linear-gradient(120deg,#ffffff0b,#ffffff03);border-radius:10px;padding:13px 14px}.rules-guide-heading{align-items:center;gap:9px;display:flex}.rules-guide-heading span{color:var(--blue-color);font:800 11px/1 var(--font-title);letter-spacing:.08em}.rules-guide-heading h4{font:800 13px/1.2 var(--font-title);color:var(--text-primary);margin:0}.rules-guide-section>p{color:var(--text-secondary);margin:7px 0 0;font-size:12px;line-height:1.48}.rules-guide-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:11px 0 0;display:grid}.rules-guide-facts div{background:#0000001f;border-radius:7px;padding:7px}.rules-guide-facts dt{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.06em;font-size:9px;font-weight:800}.rules-guide-facts dd{color:var(--text-primary);margin:3px 0 0;font-size:11px;font-weight:700}@media (width<=520px){.rules-guide-facts{grid-template-columns:1fr}}.help-step-box{border:1px solid var(--border-color);background:#00000003;border-radius:10px;align-items:flex-start;gap:12px;padding:12px;display:flex}.step-badge-icon{width:28px;height:28px;color:var(--blue-color);background:#2563eb14;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:flex}.step-content{flex-direction:column;gap:2px;display:flex}.step-content h4{font-family:var(--font-title);color:var(--text-primary);font-size:13px;font-weight:700}.step-content p{color:var(--text-secondary);font-size:11.5px;line-height:1.45}.help-tabs{background:#00000008;border-radius:12px;flex-wrap:wrap;gap:6px;margin-bottom:8px;padding:4px;display:flex}.help-tab-btn{min-width:60px;color:var(--text-secondary);font-family:var(--font-title);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:auto;justify-content:center;align-items:center;gap:6px;padding:8px 12px;font-size:12px;font-weight:600;transition:all .2s;display:flex}.help-tab-btn:hover{color:var(--text-primary);background:#00000005}.help-tab-btn.active{background:var(--bg-color);color:var(--blue-color);box-shadow:0 4px 12px #0f172a0f}.help-hands-list{flex-direction:column;gap:8px;max-height:380px;padding-right:4px;display:flex;overflow-y:auto}.help-hands-list.witches-hands-list{max-height:470px}.help-hand-row{border:1px solid var(--border-color);border-radius:var(--radius-md);transition:border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);background:oklch(12% .005 0);align-items:center;gap:12px;padding:10px 12px;display:flex}.help-hand-row:hover{border-color:var(--border-hover);background:oklch(16% .006 0);transform:translate(2px)}.help-rank-badge{font-family:var(--font-title);width:28px;height:28px;color:var(--text-secondary);background:#0f172a0d;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:700;display:flex}.help-hand-row:first-child .help-rank-badge{color:var(--gold);background:linear-gradient(135deg,#fef3c7 0%,#fde68a 100%);border:1px solid #d977064d;box-shadow:0 0 10px #d9770626}.help-hand-row:nth-child(2) .help-rank-badge{color:var(--purple-color);background:linear-gradient(135deg,#f3e8ff 0%,#e9d5ff 100%);border:1px solid #9333ea33}.help-hand-row:nth-child(3) .help-rank-badge{color:var(--red-color);background:linear-gradient(135deg,#fee2e2 0%,#fecaca 100%);border:1px solid #dc262633}.hand-info{flex-direction:column;flex:1;gap:2px;display:flex}.hand-name{font-family:var(--font-title);color:var(--text-primary);font-size:13.5px;font-weight:700}.hand-desc{color:var(--text-secondary);font-size:11px;line-height:1.4}.modal-guide-intro{color:var(--text-secondary);border:1px dashed var(--border-color);background:#00000005;border-radius:12px;margin-bottom:15px;padding:12px;font-size:12.5px;line-height:1.5}.help-dice-list{flex-direction:column;gap:10px;max-height:380px;padding-right:4px;display:flex;overflow-y:auto}.help-dice-list.chord-archetypes-guide,.help-dice-list.music-archetypes-guide{max-height:460px}.help-dice-box{border:1px solid var(--border-color);border-radius:var(--radius-lg);transition:border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);background:oklch(12% .005 0);align-items:flex-start;gap:14px;padding:12px;display:flex}.help-dice-box:hover{border-color:var(--border-hover);background:oklch(16% .006 0);transform:translate(2px)}.help-dice-preview{border:1px solid #fff3;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex;box-shadow:0 4px 10px #00000026}.help-dice-preview .preview-label{font-family:var(--font-title);color:#fff;text-shadow:0 1px 2px #0003;font-size:10px;font-weight:800}.help-dice-content{flex-direction:column;flex:1;gap:3px;display:flex}.help-dice-content h5{font-family:var(--font-title);color:var(--text-primary);font-size:13.5px;font-weight:700}.help-dice-content p{color:var(--text-secondary);font-size:11.5px;line-height:1.45}.lobby-config-section{border:1px solid var(--border-color);border-radius:var(--radius-lg);text-align:left;background:oklch(12% .005 0);flex-direction:column;gap:.75rem;margin:1rem 0;padding:1rem;display:flex}.lobby-config-section h3{font-family:var(--font-title);color:var(--text-primary);border-left:3px solid var(--primary);align-items:center;gap:6px;margin-bottom:4px;padding-left:.55rem;font-size:.95rem;font-weight:700;display:flex}.config-grid{grid-template-columns:1fr 1fr;gap:16px;display:grid}@media (width<=580px){.config-grid{grid-template-columns:1fr;gap:12px}}.slider-wrapper{align-items:center;height:38px;display:flex}.slider{-webkit-appearance:none;background:oklch(20% .006 0);border-radius:3px;outline:none;width:100%;height:6px;transition:background .2s}.slider::-webkit-slider-thumb{appearance:none;background:var(--primary);cursor:pointer;width:18px;height:18px;box-shadow:0 2px 6px var(--primary-glow);border-radius:50%;transition:transform .1s}.slider::-webkit-slider-thumb:hover{transform:scale(1.15)}.slider::-moz-range-thumb{background:var(--primary);cursor:pointer;width:18px;height:18px;box-shadow:0 2px 6px var(--primary-glow);border:none;border-radius:50%;transition:transform .1s}.slider::-moz-range-thumb:hover{transform:scale(1.15)}.bag-type-selector{border:1px solid var(--border-color);border-radius:var(--radius-md);background:oklch(12% .005 0);height:38px;padding:3px;display:flex}.type-btn{color:var(--text-secondary);font-family:var(--font-title);cursor:pointer;background:0 0;border:none;border-radius:7px;flex:1;font-size:11.5px;font-weight:600;transition:all .2s}.type-btn:hover{color:var(--text-primary)}.type-btn.selected{background:color-mix(in oklch, var(--primary) 12%, transparent);color:var(--primary-hover);box-shadow:inset 0 0 0 1px color-mix(in oklch, var(--primary) 35%, transparent)}.dice-config-wrapper{border:1px dashed color-mix(in oklch, var(--primary) 35%, var(--border-color));border-radius:var(--radius-lg);background:oklch(7% .004 0);align-items:center;gap:16px;padding:14px;display:flex;position:relative;overflow:hidden}.visual-bag-container{flex-direction:column;flex-shrink:0;align-items:center;gap:6px;width:100px;display:flex}.bag-visual-pouch{cursor:default;justify-content:center;align-items:center;transition:transform .2s;display:flex}.bag-visual-pouch.wiggle{animation:.2s pouchBounce}.bag-svg{filter:drop-shadow(0 4px 8px #7c2d1233)}.bag-label{font-family:var(--font-title);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.02em;font-size:11px;font-weight:700}.bag-controls-container{flex-direction:column;flex:1;justify-content:center;display:flex}.size-control-box{flex-direction:column;gap:8px;display:flex}.dice-size-label{color:var(--text-secondary);justify-content:space-between;align-items:center;font-size:12px;font-weight:600;display:flex}.size-adjuster{align-items:center;gap:6px;display:flex}.size-adjuster input{text-align:center;border:1px solid var(--border-color);background:var(--panel-bg);color:var(--text-primary);border-radius:8px;flex:1;width:60px;height:34px;padding:6px;font-size:14px;font-weight:700}.adjust-btn{border:1px solid var(--border-color);background:var(--panel-bg);cursor:pointer;width:34px;height:34px;color:var(--text-secondary);border-radius:8px;justify-content:center;align-items:center;font-size:18px;font-weight:700;transition:all .2s;display:flex}.adjust-btn:hover{background:var(--border-hover);border-color:var(--border-hover);color:var(--text-primary)}.custom-dice-rows{flex-direction:column;gap:6px;width:100%;display:flex}.custom-die-row{border-radius:var(--radius-md);border:1px solid var(--border-color);background:oklch(12% .005 0);align-items:center;padding:6px 10px;display:flex}.custom-die-row .dot{border-radius:50%;width:10px;height:10px;margin-right:8px}.custom-die-row .color-name{font-family:var(--font-title);color:var(--text-primary);flex:1;font-size:12px;font-weight:700}.count-adjuster{align-items:center;gap:10px;display:flex}.count-adjuster .adjust-btn{border-radius:6px;width:24px;height:24px;font-size:14px}.count-val{color:var(--text-primary);text-align:center;width:20px;font-size:12px;font-weight:700}.warning-text{color:var(--red-color);margin-top:4px;font-size:10px;font-weight:600}.flying-die-element{z-index:100;border-radius:50%;width:12px;height:12px;animation:.6s cubic-bezier(.25,1,.5,1) forwards pouchFly;position:absolute;box-shadow:0 2px 6px #0003}@keyframes pouchFly{0%{left:var(--start-x);top:var(--start-y);opacity:1;transform:scale(1)}80%{opacity:.8;top:54px;left:64px;transform:scale(.7)}to{opacity:0;top:54px;left:64px;transform:scale(0)}}@keyframes pouchBounce{0%{transform:scale(1)}35%{transform:scale(1.15)rotate(4deg)}70%{transform:scale(.95)rotate(-4deg)}to{transform:scale(1)rotate(0)}}.font-space{font-family:var(--font-title)}.showdown-actions-double{gap:12px;width:100%;display:flex}.showdown-actions-double button{flex:1}.example-dice-showcase{flex-wrap:nowrap;gap:4px;display:flex}.mini-dice-card{border-radius:4px!important;width:26px!important;height:32px!important;font-size:9px!important;animation:none!important;box-shadow:0 1px 4px #00000014!important}.mini-dice-card .val{font-size:9px!important;line-height:1!important}.mini-dice-card .suit{font-size:8px!important;line-height:1!important}.pause-overlay{-webkit-backdrop-filter:blur(12px);z-index:1090;pointer-events:auto;background:#0f172a8c;justify-content:center;align-items:center;width:100vw;height:100vh;padding:16px;animation:.3s fadeIn;display:flex;position:fixed;top:0;left:0}.pause-glass-card{background:var(--panel-bg);border:1px solid var(--border-color);width:100%;max-width:420px;box-shadow:var(--panel-shadow-hover);border-radius:var(--radius-lg);text-align:center;animation:scaleIn var(--dur-medium) var(--ease-out);flex-direction:column;align-items:center;padding:2rem 1.5rem;display:flex}.pause-glass-card h2{font-family:var(--font-title);color:var(--text-primary);margin-top:12px;margin-bottom:8px}.pause-glass-card p{color:var(--text-secondary);margin-bottom:24px;font-size:14px;line-height:1.5}@keyframes warningPulse{0%{opacity:.9;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}to{opacity:.9;transform:scale(1)}}.pause-glass-card .warning-icon{color:var(--red-color);animation:2s ease-in-out infinite warningPulse}.leave-game-trigger{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer;width:38px;height:38px;color:var(--red-color);pointer-events:auto;border:1px solid #ef44444d;border-radius:50%;justify-content:center;align-items:center;transition:all .3s;display:flex;position:absolute;top:52px;right:10px;box-shadow:0 4px 12px #0000000f}.leave-game-trigger:hover{background:#fef2f2f2;border-color:#ef444499;transform:scale(1.05);box-shadow:0 4px 14px #ef444426}.bidding-summary-card{border:1px solid var(--border-color);background:#ffffff05;border-radius:12px;flex-direction:column;gap:10px;margin:8px 0;padding:16px;display:flex}.bidding-summary-title{font-family:var(--font-title);letter-spacing:1px;color:var(--text-secondary);border-bottom:1px solid #ffffff0d;align-items:center;gap:6px;padding-bottom:6px;font-size:11px;font-weight:700;display:flex}.bidding-summary-body{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.bidding-summary-item{flex-direction:column;gap:2px;min-width:80px;display:flex}.bidding-summary-label{text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary);font-size:10px}.bidding-summary-value{color:var(--text-primary);align-items:center;gap:4px;font-size:13px;font-weight:600;display:flex}.bidding-summary-status{background:#ffffff0d;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:600}.bidding-summary-status.full{color:#10b981;background:#10b9811a;border:1px solid #10b98133}.bidding-summary-status.half{color:#f59e0b;background:#f59e0b1a;border:1px solid #f59e0b33}.bidding-summary-desc{color:var(--text-secondary);text-align:center;margin-top:4px;font-size:11.5px;line-height:1.4}.result-influence-container{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;margin-left:10px;display:flex}.influence-breakdown{color:var(--text-secondary);flex-direction:column;align-items:flex-end;gap:2px;font-size:10px;display:flex}.influence-breakdown .breakdown-item{white-space:nowrap}.influence-breakdown .green-text{color:#10b981}.influence-breakdown .gold-text{color:var(--gold)}.influence-breakdown .blue-text{color:#3b82f6}.final-betting-overlay{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:1001;background:#0f172a73;justify-content:center;align-items:center;width:100vw;height:100vh;padding:12px;animation:.3s fadeIn;display:flex;position:fixed;top:0;left:0}.final-betting-card{background:var(--panel-bg);border:1px solid var(--border-color);border-radius:16px;flex-direction:column;gap:20px;width:100%;max-width:440px;max-height:90vh;padding:24px;display:flex;overflow-y:auto;box-shadow:0 20px 40px #0f172a40}.final-betting-header{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.final-betting-header h2{font-family:var(--font-title);color:var(--text-primary);font-size:22px;font-weight:700}.final-betting-header .subtitle{color:var(--text-secondary);font-size:12px;line-height:1.4}.final-betting-hand-section{border:1px solid var(--border-color);text-align:center;background:#ffffff05;border-radius:12px;flex-direction:column;gap:4px;padding:14px;display:flex}.final-betting-hand-section .section-label{text-transform:uppercase;letter-spacing:1px;color:var(--text-secondary);font-size:10px;font-weight:600}.final-hand-rank{font-family:var(--font-title);color:var(--gold);font-size:16px;font-weight:700}.chess-bet-side{opacity:.9;color:#f1e7c9;margin-left:4px;font-size:13px;font-weight:600}.influence-status{color:var(--text-secondary);border-bottom:1px solid #ffffff0d;justify-content:space-between;align-items:center;padding-bottom:8px;font-size:13px;display:flex}.influence-status strong{font-size:16px}.final-bid-inputs{justify-content:center;align-items:center;gap:12px;margin:14px 0;display:flex}.final-bid-loan-warning{color:#fbbf24;background:#f59e0b1c;border:1px solid #f59e0b8c;border-radius:9px;align-items:flex-start;gap:9px;margin:0 0 14px;padding:10px 12px;display:flex}.final-bid-loan-warning svg{flex:none;margin-top:1px}.final-bid-loan-warning div{flex-direction:column;gap:2px;display:flex}.final-bid-loan-warning strong{font:800 12px/1.2 var(--font-title)}.final-bid-loan-warning span{color:var(--text-primary);font-size:11px;line-height:1.35}.chess-side-chooser{text-align:center;margin:4px 0 2px}.chess-side-label{text-transform:uppercase;letter-spacing:1.5px;color:var(--text-secondary);margin-bottom:8px;font-size:11px;font-weight:600}.chess-side-options{justify-content:center;gap:10px;display:flex}.chess-side-btn{border:2px solid var(--border-color);min-width:108px;color:var(--text-primary);cursor:pointer;font-family:var(--font-title);background:#ffffff06;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:10px 14px 8px;transition:all .2s cubic-bezier(.2,.8,.2,1);display:flex;box-shadow:0 2px 6px #00000026}.chess-side-btn:hover{background:#ffffff0b;border-color:#a78b5a;transform:translateY(-1px)}.chess-side-btn.active{border-color:var(--gold);box-shadow:0 0 0 1px #d4af3740,0 4px 12px #0003}.chess-side-btn.white{background:#f8fafc0d;border-color:#64748b}.chess-side-btn.black{background:#0f172a52;border-color:#334155}.chess-side-btn.white:hover{background:#f8fafc1a;border-color:#94a3b8}.chess-side-btn.black:hover{background:#0f172a7a;border-color:#475569}.chess-side-btn.white.active{background:linear-gradient(#f8fafc24,#d4af3712)}.chess-side-btn.black.active{background:linear-gradient(#0f172a6b,#d4af3712)}.chess-side-glyph{margin-bottom:1px;font-size:32px;line-height:1}.chess-side-glyph.chess-face-white{color:#f8fafc;text-shadow:0 0 3px #000000d9,0 1px 1px #0009}.chess-side-glyph.chess-face-black{color:#0f172a;text-shadow:0 0 3px #ffffff8c}.chess-side-name{letter-spacing:1px;font-size:12px;font-weight:700}.chess-side-sub{opacity:.7;margin-top:-1px;font-size:10px}.chess-side-hint{color:var(--text-secondary);opacity:.75;margin-top:6px;font-size:10px}.planet-fate-chooser{text-align:center;margin:4px 0 2px}.planet-fate-label{text-transform:uppercase;letter-spacing:1.5px;color:var(--text-secondary);margin-bottom:8px;font-size:11px;font-weight:600}.planet-fate-options{justify-content:center;gap:10px;display:flex}.planet-fate-btn{border:2px solid var(--border-color);min-width:108px;color:var(--text-primary);cursor:pointer;font-family:var(--font-title);background:#ffffff06;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:1px;padding:10px 14px 8px;transition:all .2s cubic-bezier(.2,.8,.2,1);display:flex;box-shadow:0 2px 6px #00000026}.planet-fate-btn:hover{background:#ffffff0b;transform:translateY(-1px)}.planet-fate-btn.active{transform:scale(1.03)}.planet-fate-btn.spare{background:#34d3990f;border-color:#2f6f5e}.planet-fate-btn.destroy{background:#ef444412;border-color:#7f1d1d}.planet-fate-btn.spare:hover{background:#34d3991f;border-color:#34d399}.planet-fate-btn.destroy:hover{background:#ef444424;border-color:#ef4444}.planet-fate-btn.spare.active{background:#10b98126!important;border-color:#10b981!important;box-shadow:0 0 15px #10b98166!important}.planet-fate-btn.destroy.active{background:#ef44442e!important;border-color:#ef4444!important;box-shadow:0 0 15px #ef444466!important}.planet-fate-options.has-selection .planet-fate-btn:not(.active){opacity:.35;filter:grayscale(80%);box-shadow:none!important;background:#ffffff03!important;border-color:#ffffff1a!important}.planet-fate-options.has-selection .planet-fate-btn:not(.active):hover{transform:none;background:#ffffff03!important;border-color:#ffffff1a!important}.planet-fate-glyph{margin-bottom:1px;font-size:32px;line-height:1}.planet-fate-name{letter-spacing:1px;font-size:12px;font-weight:700}.planet-fate-sub{opacity:.7;margin-top:-1px;font-size:10px}.planet-fate-hint{color:var(--text-secondary);opacity:.75;margin-top:6px;font-size:10px}.planet-fate-banner{border:1px solid var(--border-color);text-align:left;background:#ffffff08;border-radius:12px;align-items:center;gap:12px;max-width:520px;margin:10px auto 4px;padding:10px 16px;display:flex}.planet-fate-banner.planet-fate-spared{border-color:#34d39973}.planet-fate-banner.planet-fate-conflict{border-color:#fbbf2473}.planet-fate-banner.planet-fate-destroyed{border-color:#ef44448c}.planet-fate-banner-glyph{font-size:28px;line-height:1}.planet-fate-banner-text{flex-direction:column;gap:2px;display:flex}.planet-fate-banner-text strong{font-size:13px}.planet-fate-banner-text span{color:var(--text-secondary);font-size:11px}.dice-card .suit,.pool-select-btn .suit,.badge-suit{text-shadow:-1px -1px #fff,1px -1px #fff,-1px 1px #fff,1px 1px #fff!important;justify-content:center!important;align-items:center!important;font-size:19px!important;line-height:1!important;display:inline-flex!important}.poker-suit-icon{vertical-align:-.12em;filter:drop-shadow(-.5px -.5px #fff)drop-shadow(.5px -.5px #fff)drop-shadow(-.5px .5px #fff)drop-shadow(.5px .5px #fff);pointer-events:none;flex-shrink:0;width:1em;height:1em;display:inline-block}.dice-card .poker-suit-icon,.pool-select-btn .poker-suit-icon,.badge-suit.poker-suit-icon{font-size:inherit;width:.95em;height:.95em}.face-chip .poker-suit-icon{filter:none;vertical-align:-.08em}.mini-dice-card .poker-suit-icon{width:.9em;height:.9em}.dice-card .val{margin-bottom:-1px!important;font-size:9.5px!important;line-height:1.1!important}.mini-dice-card .suit{text-shadow:-1px -1px #fff,1px -1px #fff,-1px 1px #fff,1px 1px #fff!important;font-size:11px!important;line-height:1!important}.mini-dice-card .val{margin-bottom:-1px!important;font-size:8px!important;line-height:1!important}.suit-hearts,.suit-diamonds{color:#e11d48!important}.suit-spades,.suit-clubs{color:#1e293b!important}.dark-theme .suit-hearts,.dark-theme .suit-diamonds{color:#ff5a79!important}.dark-theme .suit-spades,.dark-theme .suit-clubs{color:#f1f5f9!important}.compact-player-card.active{z-index:10;transform:translateY(-5px)scale(1.05);color:#0f172a!important;border-color:var(--blue-color)!important;background:#fffffffa!important;border-width:2px!important;box-shadow:0 8px 24px #2563eb4d!important}.compact-player-card.active .name{color:#0f172a!important}.compact-player-card.active .compact-bid{color:#1e293b!important;background:#0f172a14!important}.dark-theme .compact-player-card.active{color:#fff!important;border-color:var(--blue-color)!important;background:#1e293b!important;box-shadow:0 8px 28px #3b82f673!important}.dark-theme .compact-player-card.active .name{color:#fff!important}.dark-theme .compact-player-card.active .compact-bid{color:#e2e8f0!important;background:#ffffff1a!important}.compact-pot-card{-webkit-user-select:none;user-select:none;border-radius:12px;flex-shrink:0;align-items:center;gap:8px;min-width:100px;height:38px;padding:6px 12px;transition:all .3s;display:flex;box-shadow:0 4px 15px #fbbf2433;background:linear-gradient(135deg,#1e1b4b 0%,#311042 100%)!important;border:1px solid #fbbf2473!important}.compact-pot-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #fbbf244d;border-color:var(--gold)!important}.compact-pot-card .pot-details{flex-direction:column;display:flex}.compact-pot-card .pot-label{letter-spacing:.05em;color:var(--gold);text-transform:uppercase;font-size:8.5px;font-weight:800}.compact-pot-card .pot-value{color:#fff;font-size:12px;font-weight:800;font-family:var(--font-title);line-height:1.2}.resurrection-trigger{cursor:help;outline:none;position:relative}.resurrection-popover{opacity:0;visibility:hidden;z-index:1000;color:#ecfdf5;background:linear-gradient(145deg,#041612fa,#10081efa);border:1px solid #2dd4bf8c;border-radius:12px;width:max-content;min-width:290px;max-width:min(430px,100vw - 24px);padding:12px;transition:opacity .16s,transform .16s,visibility .16s;position:absolute;top:calc(100% + 10px);left:0;transform:translateY(-5px);box-shadow:0 12px 36px #00000094,0 0 24px #2dd4bf2e}.resurrection-trigger:hover .resurrection-popover,.resurrection-trigger:focus .resurrection-popover,.resurrection-trigger:focus-within .resurrection-popover{opacity:1;visibility:visible;transform:translateY(0)}.resurrection-popover-title{color:#5eead4;font:800 11px/1 var(--font-title);letter-spacing:.09em;text-transform:uppercase;align-items:center;gap:6px;display:flex}.resurrection-popover-subtitle{color:#b8d8d0;margin:6px 0 10px;font-size:10px;line-height:1.35}.resurrection-table-wrap{overflow-x:auto}.resurrection-table{border-collapse:separate;border-spacing:0 3px;white-space:nowrap;width:100%;font-size:10px}.resurrection-table th,.resurrection-table td{text-align:right;background:#ffffff0b;padding:5px 6px}.resurrection-table thead th{color:#8eb9ae;letter-spacing:.06em;text-transform:uppercase;background:0 0;font-size:8px}.resurrection-table tbody th{text-align:left;text-overflow:ellipsis;color:#f0fdf4;border-radius:6px 0 0 6px;max-width:118px;overflow:hidden}.resurrection-table tbody td:last-child{border-radius:0 6px 6px 0}.resurrection-table .resurrection-total{color:#fef08a;font-weight:900}.resurrection-table .resurrection-leader th,.resurrection-table .resurrection-leader td{background:#3dc4b534}.resurrection-player-dot{border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block;box-shadow:0 0 5px}.table-control-btn{-webkit-backdrop-filter:blur(8px);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:8px;justify-content:center;align-items:center;width:34px;height:34px;font-size:14px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 12px #00000040;color:#fff!important;background:#0f172acc!important;border:1px solid #ffffff26!important}.table-control-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px #3b82f640;border-color:var(--blue-color)!important;background:#0f172af2!important}.table-control-btn:active{transform:translateY(0)}.table-control-btn.active{background:var(--blue-color)!important;border-color:var(--blue-color)!important;box-shadow:0 0 12px #3b82f673!important}.hud-dice-stats{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);border:1px solid var(--border-color);pointer-events:auto;border-radius:12px;align-items:center;gap:8px;padding:6px 10px;display:flex;box-shadow:0 4px 15px #0000000d}.dice-stat-card{color:var(--text-primary);align-items:center;gap:4px;font-size:13px;font-weight:600;display:flex;position:relative}.dice-stat-card .stat-label{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em;font-size:11px}.dice-stat-card .stat-value{color:var(--blue-color);font-weight:700}.discard-stat-trigger{cursor:help}.discard-popover{-webkit-backdrop-filter:blur(12px);opacity:0;visibility:hidden;z-index:1000;background:#0f172af2;border:1px solid #ffffff26;border-radius:12px;width:180px;margin-top:8px;padding:10px 14px;transition:all .2s cubic-bezier(.4,0,.2,1);position:absolute;top:100%;right:0;transform:translateY(-5px);box-shadow:0 8px 30px #0006}.discard-stat-trigger:hover .discard-popover{opacity:1;visibility:visible;transform:translateY(0)}.discard-popover .popover-title{font-family:var(--font-title);text-transform:uppercase;letter-spacing:.08em;color:#94a3b8;text-align:left;border-bottom:1px solid #ffffff1a;margin-bottom:8px;padding-bottom:6px;font-size:11px;font-weight:700}.discard-popover .popover-list{flex-direction:column;gap:6px;display:flex}.discard-popover .popover-item{color:#f8fafc;align-items:center;font-size:12px;display:flex}.discard-popover .dot{border-radius:50%;width:8px;height:8px;display:inline-block}.discard-popover .dot-blue{background-color:#3b82f6;box-shadow:0 0 6px #3b82f6}.discard-popover .dot-red{background-color:#ef4444;box-shadow:0 0 6px #ef4444}.discard-popover .dot-green{background-color:#10b981;box-shadow:0 0 6px #10b981}.discard-popover .dot-yellow{background-color:#eab308;box-shadow:0 0 6px #eab308}.discard-popover .dot-purple{background-color:#a855f7;box-shadow:0 0 6px #a855f7}.bid-type-toast{background:var(--panel-bg);-webkit-backdrop-filter:blur(8px);border:1px solid var(--border-color);font-family:var(--font-body);color:var(--text-primary);cursor:help;z-index:1100;pointer-events:auto;border-radius:20px;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:600;transition:all .2s;display:flex;position:fixed;top:10px;left:10px;box-shadow:0 4px 12px #0000000d}.bid-type-toast:hover,.bid-type-toast:focus-within{background:var(--bg-surface-elevated,#1e293b);border-color:var(--blue-color);box-shadow:0 0 12px #3b82f64d}.bid-type-toast-icon{color:var(--blue-color)}.bid-type-toast-label{color:var(--text-secondary)}.bid-type-toast-value{color:var(--blue-color);font-weight:700}.bid-type-toast .bid-type-popover{-webkit-backdrop-filter:blur(12px);opacity:0;visibility:hidden;z-index:1200;pointer-events:none;background:#0f172af2;border:1px solid #ffffff26;border-radius:12px;width:280px;margin-top:8px;padding:12px 14px;transition:all .2s cubic-bezier(.4,0,.2,1);position:absolute;top:100%;left:0;transform:translateY(-5px);box-shadow:0 8px 30px #0006}.bid-type-toast:hover .bid-type-popover,.bid-type-toast:focus-within .bid-type-popover{opacity:1;visibility:visible;transform:translateY(0)}.bid-type-popover .popover-title{font-family:var(--font-title);color:#f1f5f9;border-bottom:1px solid #ffffff1a;align-items:center;gap:6px;margin-bottom:8px;padding-bottom:6px;font-size:13px;font-weight:700;display:flex}.bid-type-popover .popover-title-icon{color:var(--blue-color)}.bid-type-popover .popover-description{font-family:var(--font-body);color:#cbd5e1;text-align:left;font-size:11.5px;line-height:1.5}@media (width<=768px){.bid-type-toast{padding:4px 8px;font-size:11px;top:5px;left:5px}}.arena-update-notice{border:1px solid color-mix(in srgb, var(--gold) 45%, transparent);background:color-mix(in srgb, var(--gold) 12%, transparent);color:var(--text-primary);border-radius:8px;align-items:center;gap:10px;margin-bottom:16px;padding:10px 12px;font-size:13px;display:flex}.arena-update-notice span{flex:1}.arena-update-notice button{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;font-size:20px;line-height:1}.offline-warning-banner{color:#f87171;background:#ef44441a;border:1px solid #ef444440;border-radius:8px;align-items:center;gap:10px;margin-bottom:16px;padding:10px 14px;font-size:13px;font-weight:500;animation:2s infinite alternate pulse;display:flex}.offline-warning-banner .warning-icon{color:#f87171;flex-shrink:0}.count-btn:disabled,.count-btn.disabled-offline{opacity:.4;color:var(--text-secondary);background:#0000000d;cursor:not-allowed!important}.count-btn:disabled:hover,.count-btn.disabled-offline:hover{color:var(--text-secondary)!important;background:#0000000d!important}input.slider:disabled{opacity:.5;cursor:not-allowed}.form-group label span.value-badge{align-items:center;display:inline-flex}.custom-dice-rows.read-only{border:1px dashed var(--border-color);background:#ffffff05;border-radius:8px;flex-direction:column;gap:8px;width:100%;padding:12px;display:flex}.dark-theme .custom-dice-rows.read-only{background:#0003}.custom-die-row.read-only-row{color:var(--text-secondary);align-items:center;gap:8px;font-size:13px;display:flex}.count-val-badge{border:1px solid var(--border-color);color:var(--text-primary);background:#0000000a;border-radius:6px;margin-left:auto;padding:2px 8px;font-size:12px;font-weight:700}.dark-theme .count-val-badge{background:#ffffff0f}.ability-hud-card{box-sizing:border-box;pointer-events:auto;background:linear-gradient(135deg,#0f172afa 0%,#1e293bf2 100%);border:1px solid #10b9818c;border-radius:12px;flex-direction:column;flex-shrink:0;justify-content:space-between;align-self:flex-end;width:160px;height:235px;padding:14px 12px;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;box-shadow:0 8px 32px #00000073,0 0 20px #10b98133}.ability-hud-card.exhausted{box-shadow:none;opacity:.6;background:linear-gradient(135deg,#0f172af2 0%,#0f172ad9 100%);border:1px dashed #fff3}.ability-card-header{flex-direction:column;gap:6px;width:100%;display:flex}.ability-card-name{text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;text-overflow:ellipsis;color:#fff;text-shadow:0 0 8px #10b98159;font-size:11.5px;font-weight:800;overflow:hidden}.ability-hud-card.exhausted .ability-card-name{color:#94a3b8;text-shadow:none}.card-header-separator{background:#10b98159;width:100%;height:1px}.ability-hud-card.exhausted .card-header-separator{background:#ffffff1a}.ability-card-body{flex-grow:1;align-items:center;margin:8px 0;display:flex;overflow:hidden}.ability-card-desc{color:#f8fafc;text-align:center;-webkit-line-clamp:6;text-overflow:ellipsis;-webkit-box-orient:vertical;width:100%;margin:0;font-size:11.5px;line-height:1.45;display:-webkit-box;overflow:hidden}.ability-hud-card.exhausted .ability-card-desc{color:#94a3b8}.ability-card-footer{justify-content:center;width:100%;display:flex}.ability-exhausted-badge{color:#ffffff4d;text-transform:uppercase;letter-spacing:.06em;text-align:center;box-sizing:border-box;background:#00000040;border:1px solid #ffffff1f;border-radius:4px;width:100%;padding:4px 8px;font-size:10px;font-weight:800}.ability-use-btn{width:100%;font-size:10.5px;font-weight:800;font-family:var(--font-title);color:#fff;cursor:pointer;text-transform:uppercase;letter-spacing:.04em;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;border-radius:6px;padding:6px 0;transition:all .2s;box-shadow:0 4px 12px #10b98140}.ability-use-btn:disabled{color:#fff3;box-shadow:none;cursor:not-allowed;background:#ffffff0d;border:1px solid #ffffff0d}.ability-use-btn:not(:disabled):hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 6px 16px #10b98159}@media (width<=640px){.hud-bottom-actions{flex-direction:column-reverse;gap:8px}.ability-hud-card{border-radius:10px;flex-direction:row;align-self:center;align-items:center;gap:12px;width:100%;max-width:460px;height:auto;padding:10px 14px}.ability-card-header{flex-shrink:0;width:auto}.card-header-separator{display:none}.ability-card-body{flex-grow:1;margin:0}.ability-card-desc{text-align:left;-webkit-line-clamp:2;color:#f8fafc;font-size:11px}.ability-hud-card.exhausted .ability-card-desc{color:#94a3b8}.ability-card-footer{flex-shrink:0;width:auto;min-width:85px}}.ability-alert-toast{-webkit-backdrop-filter:blur(16px);border:1px solid var(--gold);z-index:2000;animation:slideDownToast .45s var(--ease-out);pointer-events:none;background:#0f172af2;border-radius:12px;align-items:center;gap:12px;padding:10px 24px;display:flex;position:absolute;top:75px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #00000080,0 0 25px #fbbf244d}.ability-alert-toast .toast-icon{color:var(--gold);animation:1.5s infinite pulse}.ability-alert-toast .toast-text{font-family:var(--font-title);color:#fff;white-space:nowrap;font-size:13.5px;font-weight:700}@keyframes slideDownToast{0%{opacity:0;top:30px}to{opacity:1;top:75px}}.hands-reveal-backdrop{-webkit-backdrop-filter:blur(10px);z-index:2500;background:#0f172aa6;justify-content:center;align-items:center;animation:.25s ease-out forwards fadeInReveal;display:flex;position:fixed;inset:0}.hands-reveal-card{border:1px solid var(--gold);width:min(380px,88vw);max-height:80vh;animation:slideUpReveal .4s var(--ease-out);text-align:center;background:#0f172af5;border-radius:18px;padding:24px 22px 20px;position:relative;overflow-y:auto;box-shadow:0 20px 60px #0000008c,0 0 40px #fbbf2440}.hands-reveal-close{color:#fff9;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:4px;transition:color .15s,background .15s;display:flex;position:absolute;top:12px;right:12px}.hands-reveal-close:hover{color:#fff;background:#ffffff14}.hands-reveal-header{justify-content:center;align-items:center;gap:8px;margin-bottom:10px;display:flex}.hands-reveal-icon{color:var(--gold);animation:1.5s infinite pulse}.hands-reveal-title{font-family:var(--font-title);color:#fff;margin:0;font-size:17px;font-weight:700}.hands-reveal-preset-pill{color:var(--gold);text-transform:capitalize;background:#fbbf241f;border:1px solid #fbbf2466;border-radius:999px;margin-bottom:16px;padding:4px 14px;font-size:12.5px;font-weight:700;display:inline-block}.hands-reveal-list{text-align:left;flex-direction:column;gap:6px;margin-bottom:14px;display:flex}.hands-reveal-row{background:#ffffff0a;border-radius:8px;align-items:center;gap:10px;padding:7px 10px;display:flex}.hands-reveal-rank{color:#ffffff73;min-width:20px;font-size:11px;font-weight:700}.hands-reveal-name{color:#fff;flex:1;font-size:13.5px;font-weight:600}.hands-reveal-bonus{font-size:13px;font-weight:700}.hands-reveal-bonus.positive{color:#4ade80}.hands-reveal-bonus.negative{color:#f87171}.hands-reveal-hint{color:#ffffff80;font-size:11.5px;line-height:1.4}.reveal-die-overlay{-webkit-backdrop-filter:blur(12px);z-index:3000;background:#0f172abf;justify-content:center;align-items:center;animation:.3s ease-out forwards fadeInReveal;display:flex;position:fixed;inset:0}.reveal-glass-card{-webkit-backdrop-filter:blur(20px);text-align:center;background:#1e293b73;border:1px solid #ffffff26;border-radius:24px;width:90%;max-width:420px;padding:40px;animation:.5s cubic-bezier(.19,1,.22,1) forwards slideUpReveal;box-shadow:0 20px 50px #00000080,0 0 40px #fbbf2426}.sparkles-container{background:#fbbf241a;border:1px solid #fbbf244d;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;margin-bottom:18px;display:inline-flex}.reveal-title{font-family:var(--font-title);color:var(--gold);letter-spacing:.1em;text-shadow:0 0 10px #fbbf2466;margin:0 0 10px;font-size:28px;font-weight:900}.reveal-desc{font-family:var(--font-title);color:var(--text-primary);margin:0 0 30px;font-size:15px;line-height:1.5}.reveal-desc strong{color:#a78bfa}.giant-die-container{perspective:1000px;justify-content:center;align-items:center;display:flex}.giant-reveal-die{border:2px solid #ffffff4d!important;border-radius:18px!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:140px!important;height:175px!important;font-size:48px!important;animation:.8s cubic-bezier(.175,.885,.32,1.275) forwards giantDieSpinPop!important;display:flex!important;box-shadow:0 10px 30px #0006!important}.giant-reveal-die .val{margin-bottom:5px!important;font-size:64px!important}.chance-result-overlay{z-index:3010;-webkit-backdrop-filter:blur(12px);pointer-events:none;background:#05140cc7;justify-content:center;align-items:center;padding:24px;animation:.25s ease-out forwards fadeInReveal;display:flex;position:fixed;inset:0}.chance-result-card{--chance-accent:#f4c430;border:1px solid color-mix(in srgb, var(--chance-accent) 58%, transparent);text-align:center;color:#fffdf3;background:radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--chance-accent) 20%, transparent), transparent 52%), linear-gradient(145deg, #12301ef7, #06180efa);width:min(390px,92vw);box-shadow:0 24px 70px #0000008c, 0 0 42px color-mix(in srgb, var(--chance-accent) 22%, transparent);border-radius:22px;padding:34px 30px 32px;animation:.45s cubic-bezier(.19,1,.22,1) forwards slideUpReveal}.chance-result-loss .chance-result-card{--chance-accent:#ef4444}.chance-result-neutral .chance-result-card{--chance-accent:#cfc9ba}.chance-result-mark{border:2px solid var(--chance-accent);color:#10261a;background:var(--chance-accent);width:68px;height:68px;box-shadow:0 8px 26px color-mix(in srgb, var(--chance-accent) 35%, transparent);border-radius:14px;place-items:center;margin:0 auto 16px;font-family:Georgia,Times New Roman,serif;font-size:48px;font-weight:900;line-height:1;display:grid;transform:rotate(-4deg)}.chance-result-title{color:var(--chance-accent);letter-spacing:.13em;text-shadow:0 0 20px color-mix(in srgb, var(--chance-accent) 28%, transparent);margin:0;font-family:Georgia,Times New Roman,serif;font-size:29px;font-weight:900}.chance-result-player{color:#ffffffb8;margin:12px 0 4px;font-size:14px;font-weight:700}.chance-result-amount{color:#fff;letter-spacing:-.02em;margin:0;font-size:clamp(22px,5vw,30px);font-weight:900}.chance-result-gain .chance-result-amount{color:#fde68a}.chance-result-loss .chance-result-amount{color:#fecaca}.chance-result-neutral .chance-result-amount{color:#e7e5e4}@media (prefers-reduced-motion:reduce){.chance-result-overlay,.chance-result-card{animation:none}}.giant-reveal-die .suit{font-size:40px!important}.giant-reveal-die.badge-blue{box-shadow:0 10px 30px #3b82f64d,0 0 30px #3b82f699!important}.giant-reveal-die.badge-red{box-shadow:0 10px 30px #ef44444d,0 0 30px #ef444499!important}.giant-reveal-die.badge-green{box-shadow:0 10px 30px #10b9814d,0 0 30px #10b98199!important}.giant-reveal-die.badge-yellow{box-shadow:0 10px 30px #f59e0b4d,0 0 30px #f59e0b99!important}.giant-reveal-die.badge-purple{box-shadow:0 10px 30px #8b5cf64d,0 0 30px #8b5cf699!important}.giant-reveal-die.poker-suit-card{box-shadow:0 10px 30px #0f172a2e,0 0 24px #94a3b859!important}@keyframes fadeInReveal{0%{opacity:0}to{opacity:1}}@keyframes slideUpReveal{0%{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}@keyframes giantDieSpinPop{0%{opacity:0;transform:scale(.3)rotate(-180deg)}70%{transform:scale(1.1)rotate(15deg)}to{opacity:1;transform:scale(1)rotate(0)}}.probability-modal-backdrop{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:1500;pointer-events:auto;background:#0f172ab3;justify-content:center;align-items:center;width:100vw;height:100vh;animation:.2s forwards fadeIn;display:flex;position:fixed;top:0;left:0}.probability-modal-card{background:var(--panel-bg);border:1px solid var(--border-color);box-shadow:var(--shadow-xl), 0 0 25px #fbbf240d;border-radius:20px;width:90%;max-width:480px;padding:24px;animation:.25s cubic-bezier(.16,1,.3,1) forwards slideUp;position:relative;overflow:hidden}.probability-modal-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;display:flex}.probability-modal-title{font-family:var(--font-title);color:var(--text-primary);align-items:center;gap:8px;margin:0;font-size:18px;font-weight:700;display:flex}.probability-modal-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:4px;transition:background .2s;display:flex}.probability-modal-close:hover{color:var(--text-primary);background:#ffffff14}.probability-modal-body{color:var(--text-primary);flex-direction:column;gap:20px;display:flex}.probability-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}@media (width<=480px){.probability-grid{grid-template-columns:1fr;gap:16px}}.probability-section-title{font-family:var(--font-title);text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);margin:0 0 12px;font-size:13px;font-weight:700}.probability-suit-list,.probability-value-list{flex-direction:column;gap:10px;display:flex}.probability-suit-row{flex-direction:column;gap:4px;display:flex}.probability-suit-info{justify-content:space-between;align-items:center;font-size:12px;font-weight:600;display:flex}.probability-suit-label{align-items:center;gap:6px;display:flex}.probability-bar-bg{background:#ffffff0f;border-radius:4px;width:100%;height:8px;overflow:hidden}.probability-bar-fill{border-radius:4px;height:100%;transition:width .3s}.bg-spades{background:#3b82f6}.bg-hearts{background:#ef4444}.bg-diamonds{background:#f59e0b}.bg-clubs{background:#10b981}.probability-value-row{border:1px solid var(--border-color);background:#ffffff05;border-radius:8px;justify-content:space-between;align-items:center;padding:6px 10px;font-size:12px;font-weight:600;display:flex}.probability-value-rank{align-items:center;gap:6px;display:flex}.probability-insight-box{border:1px dashed var(--gold);color:var(--text-primary);background:#fbbf2408;border-radius:12px;align-items:flex-start;gap:8px;padding:12px 14px;font-size:12px;line-height:1.5;display:flex}.probability-insight-text{margin:0}@media (width<=580px){.header-btn-text{display:none}.rules-btn-header{flex-shrink:0;justify-content:center;align-items:center;border-radius:50%!important;width:32px!important;height:32px!important;margin-right:2px!important;padding:0!important;display:inline-flex!important}.floating-global-header{flex-wrap:nowrap;gap:4px;display:flex;top:6px;right:6px}.lang-pill{padding:4px 6px!important;font-size:10px!important}}@keyframes bubble-float{0%{opacity:0;transform:translate(-50%,-85%)scale(.9)}to{opacity:1;transform:translate(-50%,-100%)scale(1)}}.chat-bubble-container{animation:.35s cubic-bezier(.175,.885,.32,1.275) forwards bubble-float}.chat-bubble-content::-webkit-scrollbar{width:4px}.chat-bubble-content::-webkit-scrollbar-track{background:#0000001a;border-radius:2px}.chat-bubble-content::-webkit-scrollbar-thumb{background:#10b98166;border-radius:2px}.chat-bubble-content::-webkit-scrollbar-thumb:hover{background:#10b98199}.finale-overlay{z-index:1600;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:radial-gradient(circle at 50% 40%,#0000008c,#000000eb);justify-content:center;align-items:center;padding:16px;animation:.4s fadeIn;display:flex;position:fixed;inset:0}.finale-stage{text-align:center;border:2px solid var(--finale-accent,#f5c542);width:100%;max-width:460px;box-shadow:0 0 50px color-mix(in srgb, var(--finale-accent,#f5c542) 40%, transparent);background:linear-gradient(160deg,#2b0f1af5,#14070df5);border-radius:20px;padding:28px 22px;animation:.5s cubic-bezier(.2,1.2,.4,1) both finaleZoom}.finale-headline{letter-spacing:1px;color:var(--finale-accent,#f5c542);text-shadow:0 2px #00000080;margin:0 0 14px;font-size:30px;font-weight:900;animation:.5s .3s 2 finaleShake}.finale-block{justify-content:center;align-items:flex-end;height:110px;margin:6px 0 10px;display:flex;position:relative}.finale-loser{font-size:64px;line-height:1;animation:.18s linear 1.1s 6 finaleLoserShake}.finale-blade{transform-origin:50% 0;font-size:52px;animation:1.1s cubic-bezier(.6,0,.9,.4) both bladeFall;position:absolute;top:0;left:50%}.finale-thwack{color:#fff;text-shadow:0 0 10px var(--finale-accent,#f5c542);opacity:0;font-size:26px;font-weight:900;animation:.4s 1.1s both thwackPop;position:absolute;top:30%;left:56%;transform:rotate(-10deg)}.finale-loser-line{color:var(--text-primary,#fff5e1);opacity:.95;margin:4px 0 18px;font-size:15px}.finale-princess{justify-content:center;align-items:center;gap:8px;margin-bottom:16px;display:flex}.finale-princess-glyph{font-size:44px;animation:2.4s ease-in-out infinite princessBob}.finale-zzz{color:var(--text-secondary,#e9b8c6);font-size:16px;animation:2.4s ease-in-out infinite zzzFloat}.finale-winner{border-top:1px dashed color-mix(in srgb, var(--finale-accent,#f5c542) 50%, transparent);margin-top:6px;padding-top:14px}.finale-crown{font-size:40px;animation:.6s cubic-bezier(.2,1.6,.5,1) 1.5s both crownDrop;display:inline-block}.finale-winner-line{color:var(--finale-accent,#f5c542);margin:6px 0 0;font-size:15px;font-weight:700}.finale-btn{width:100%;margin-top:20px}@keyframes finaleZoom{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes finaleShake{0%,to{transform:translate(0)rotate(0)}25%{transform:translate(-5px)rotate(-1deg)}75%{transform:translate(5px)rotate(1deg)}}@keyframes bladeFall{0%{transform:translate(-50%,-90px)rotate(-4deg)}70%{transform:translate(-50%,6px)rotate(0)}82%{transform:translate(-50%,-14px)rotate(0)}to{transform:translate(-50%,2px)rotate(0)}}@keyframes thwackPop{0%{opacity:0;transform:scale(.4)rotate(-10deg)}60%{opacity:1;transform:scale(1.25)rotate(-10deg)}to{opacity:1;transform:scale(1)rotate(-10deg)}}@keyframes finaleLoserShake{0%,to{transform:translate(0)}25%{transform:translate(-4px)}75%{transform:translate(4px)}}@keyframes princessBob{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes zzzFloat{0%{opacity:.2;transform:translateY(4px)}50%{opacity:1;transform:translateY(-6px)}to{opacity:.2;transform:translateY(4px)}}@keyframes crownDrop{0%{opacity:0;transform:translateY(-30px)scale(.6)}to{opacity:1;transform:translateY(0)scale(1)}}.leader-badge{flex-direction:column;align-items:center;gap:1px;line-height:1;display:flex}.leader-face{filter:drop-shadow(0 1px 1px #00000080);font-size:22px;line-height:1}.leader-tag{align-items:center;gap:2px;font-size:10px;font-weight:700;display:flex}.dice-card.leader-card{gap:0}.dice-card .leader-face{margin-bottom:-2px;font-size:20px}.dice-card.object-card{border:1.5px solid var(--obj-color,#94a3b8);box-shadow:0 0 8px color-mix(in srgb, var(--obj-color,#94a3b8) 45%, transparent);color:var(--obj-color);gap:0}.dice-card.object-card .leader-face{margin:0;font-size:24px}.mini-dice-card.object-card{border:1.5px solid var(--obj-color,#94a3b8);box-shadow:0 0 6px color-mix(in srgb, var(--obj-color,#94a3b8) 45%, transparent);color:var(--obj-color)}.face-chip.object-chip{border:1px solid var(--obj-color,#94a3b8);color:var(--obj-color,#cbd5e1)}.mahjong-tile-chip,.theme-mahjong .face-chip.object-chip,.theme-mahjong .face-chip{--mahjong-suit:var(--obj-color,#94a3b8);--mahjong-chip-size:34px;--mahjong-glyph-size:28.8px;box-sizing:border-box!important;width:var(--mahjong-chip-size)!important;height:var(--mahjong-chip-size)!important;min-width:var(--mahjong-chip-size)!important;max-width:var(--mahjong-chip-size)!important;background:color-mix(in srgb, var(--mahjong-suit) 72%, #0c0a08)!important;background-color:color-mix(in srgb, var(--mahjong-suit) 72%, #0c0a08)!important;color:#fffef5!important;border:1.5px solid color-mix(in srgb, var(--mahjong-suit) 55%, #fff8e7)!important;box-shadow:0 2px 5px color-mix(in srgb, var(--mahjong-suit) 35%, transparent)!important;font-weight:700!important;font-size:var(--mahjong-glyph-size)!important;letter-spacing:0!important;text-shadow:none!important;border-radius:6px!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:0!important;line-height:1!important;transition:transform .15s,box-shadow .15s,border-color .15s!important;display:inline-flex!important;overflow:hidden!important}.mahjong-tile-chip .mahjong-tile-glyph,.theme-mahjong .face-chip .mahjong-tile-glyph{pointer-events:none;width:var(--mahjong-glyph-size)!important;height:var(--mahjong-glyph-size)!important;font-size:var(--mahjong-glyph-size)!important;line-height:1!important;font-weight:inherit!important;text-align:center!important;justify-content:center!important;align-items:center!important;font-family:Segoe UI Symbol,"Noto Sans Symbols 2",Apple Symbols,Twemoji Mozilla,sans-serif!important;display:flex!important;transform:none!important}.mahjong-tile-chip .mahjong-tile-glyph--framed,.theme-mahjong .face-chip .mahjong-tile-glyph--framed{box-sizing:border-box!important;box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--mahjong-suit,#dc2626) 65%, transparent)!important;color:var(--mahjong-suit,#dc2626)!important;font-size:calc(var(--mahjong-glyph-size) * .68)!important;background:linear-gradient(#fffdf5 0%,#efe6d0 100%)!important;border:1.5px solid #1e1208!important;border-radius:3px!important;font-family:Noto Sans CJK SC,Source Han Sans SC,PingFang SC,Microsoft YaHei,Hiragino Sans GB,Segoe UI,sans-serif!important;font-weight:900!important}.mahjong-tile-chip:hover,.theme-mahjong .face-chip.object-chip:hover,.theme-mahjong .face-chip:hover{border-color:color-mix(in srgb, var(--mahjong-suit,#fbbf24) 45%, #fff8e7)!important;box-shadow:0 3px 8px #00000059, 0 0 8px color-mix(in srgb, var(--mahjong-suit,#fbbf24) 40%, transparent)!important;transform:translateY(-1px)scale(1.06)!important}.scrabble-tile-chip,.theme-scrabble .face-chip.object-chip{color:#221407!important;font-family:var(--font-title)!important;background:linear-gradient(145deg,#f8e5c0,#d5a968)!important;border:1.5px solid #784b1880!important;border-radius:4px!important;justify-content:center!important;align-items:center!important;min-width:22px!important;height:24px!important;padding:0 4px!important;font-size:14px!important;font-weight:900!important;line-height:1!important;transition:transform .15s,box-shadow .15s!important;display:inline-flex!important;box-shadow:inset 0 1px #fff9,0 2px 4px #0003!important}.scrabble-tile-chip:hover,.theme-scrabble .face-chip.object-chip:hover{transform:translateY(-1px)scale(1.12)!important;box-shadow:inset 0 1px #fffc,0 4px 8px #0000004d!important}.formula-chip{font-family:var(--font-title);border-radius:6px;align-items:center;padding:3px 8px;font-size:10px;font-weight:700;line-height:1.2;display:inline-flex}.formula-chip.low-band{color:#4ade80;background:#22c55e26;border:1px solid #22c55e4d}.formula-chip.mid-band{color:#60a5fa;background:#3b82f626;border:1px solid #3b82f64d}.formula-chip.high-band{color:#c084fc;background:#a855f726;border:1px solid #a855f74d}.leader-face-inline{margin-right:2px;font-size:12px}.market-scene{border:1px solid color-mix(in srgb, var(--market-accent,#38bdf8) 50%, transparent);background:linear-gradient(160deg,#0b1026,#070b1a);border-radius:14px;height:120px;margin-bottom:14px;position:relative;overflow:hidden}.market-stars{opacity:.85;background-image:radial-gradient(1px 1px at 20% 30%,#fff,#0000),radial-gradient(1px 1px at 70% 65%,#cbd5e1,#0000),radial-gradient(1.5px 1.5px at 40% 80%,#fff,#0000),radial-gradient(1px 1px at 85% 25%,#93c5fd,#0000),radial-gradient(1px 1px at 55% 45%,#fff,#0000),radial-gradient(1px 1px at 10% 70%,#e0f2fe,#0000);animation:14s linear infinite starDrift;position:absolute;inset:0}@keyframes starDrift{0%{background-position:0 0,0 0,0 0,0 0,0 0,0 0}to{background-position:-50px 24px,-30px 16px,-60px 30px,-20px 10px,-45px 22px,-35px 18px}}.market-planet{border-radius:50%;width:72px;height:72px;animation:6s ease-in-out infinite planetFloat;position:absolute;top:50%;right:26px;transform:translateY(-50%)}@keyframes planetFloat{0%,to{transform:translateY(-50%)}50%{transform:translateY(calc(-50% - 6px))}}.market-ships{gap:10px;display:flex;position:absolute;top:36px;left:18px}.market-ship{opacity:0;filter:drop-shadow(0 0 6px var(--ship-glow,#38bdf8));font-size:22px;animation:.6s forwards shipFade,3s ease-in-out infinite shipBob}@keyframes shipFade{to{opacity:1}}@keyframes shipBob{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}.market-buyers{gap:6px;display:flex;position:absolute;top:24px;right:92px}.market-buyer{filter:drop-shadow(0 0 5px var(--market-accent,#38bdf8));font-size:22px;animation:2.6s ease-in-out infinite buyerBob}@keyframes buyerBob{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-3px)rotate(3deg)}}.market-cargo{justify-content:center;gap:16px;display:flex;position:absolute;top:58px;left:0;right:0}.market-crate{opacity:.92;filter:drop-shadow(0 1px 3px #00000080);font-size:18px;animation:3.4s ease-in-out infinite crateFloat}@keyframes crateFloat{0%,to{opacity:.6;transform:translateY(0)}50%{opacity:1;transform:translateY(-6px)}}.market-caption{text-align:center;color:var(--market-accent,#38bdf8);text-shadow:0 1px 3px #0009;font-size:12px;font-weight:600;position:absolute;bottom:7px;left:0;right:0}.spellshow-scene{background:radial-gradient(circle at 50% 10%, color-mix(in srgb, var(--spell-accent,#c084fc) 22%, transparent), #120a1fd9);border:1px solid color-mix(in srgb, var(--spell-accent,#c084fc) 45%, transparent);border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:4px;margin:-6px -6px 12px;padding:16px 12px 12px;display:flex;position:relative;overflow:hidden}.spellshow-aura{background:radial-gradient(circle, color-mix(in srgb, var(--spell-accent,#c084fc) 55%, transparent), transparent 65%);filter:blur(6px);pointer-events:none;width:220px;height:220px;animation:4s ease-in-out infinite spellAura;position:absolute;top:-40%;left:50%;transform:translate(-50%)}.spellshow-wizard{filter:drop-shadow(0 0 12px var(--spell-accent,#c084fc));font-size:44px;line-height:1;animation:3.5s ease-in-out infinite wizardFloat;position:relative}.spellshow-caption{letter-spacing:.04em;color:color-mix(in srgb, var(--spell-accent,#c084fc) 80%, #fff);text-shadow:0 1px 4px #0009;font-size:12px;font-weight:700;position:relative}@keyframes spellAura{0%,to{opacity:.5;transform:translate(-50%)scale(.9)}50%{opacity:.9;transform:translate(-50%)scale(1.1)}}@keyframes wizardFloat{0%,to{transform:translateY(0)rotate(-2deg)}50%{transform:translateY(-5px)rotate(2deg)}}.spell-cast{background:color-mix(in srgb, var(--spell-color,#c084fc) 14%, #ffffff08);border:1px solid color-mix(in srgb, var(--spell-color,#c084fc) 50%, transparent);box-shadow:0 0 14px color-mix(in srgb, var(--spell-color,#c084fc) 35%, transparent);border-radius:999px;align-items:center;gap:8px;margin-top:8px;padding:5px 12px 5px 8px;display:inline-flex}.spell-glyph{filter:drop-shadow(0 0 8px var(--spell-color,#c084fc));transform-origin:bottom;font-size:26px;line-height:1}.spell-info{flex-direction:column;gap:1px;display:flex}.spell-name{color:color-mix(in srgb, var(--spell-color,#c084fc) 70%, #fff);font-size:13px;font-weight:800;font-family:var(--font-title);letter-spacing:.02em}.spell-stars{letter-spacing:1px;color:var(--spell-color,#c084fc);font-size:11px}.spell-stars-dim{opacity:.25}.vfx-spark .spell-glyph{animation:1.6s ease-in-out infinite vfxSpark}.vfx-bloom .spell-glyph{animation:2.2s ease-in-out infinite vfxBloom}.vfx-bolt .spell-glyph{animation:.9s steps(2,end) infinite vfxBolt}.vfx-storm .spell-glyph{animation:1.1s ease-in-out infinite vfxStorm}.vfx-shadow .spell-glyph{animation:2.4s ease-in-out infinite vfxShadow}@keyframes vfxSpark{0%,to{opacity:.85;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}@keyframes vfxBloom{0%{transform:scale(.9)rotate(-4deg)}50%{filter:drop-shadow(0 0 14px var(--spell-color));transform:scale(1.18)rotate(4deg)}to{transform:scale(.9)rotate(-4deg)}}@keyframes vfxBolt{0%,to{filter:drop-shadow(0 0 6px var(--spell-color));transform:translate(0)scale(1)}25%{transform:translate(-2px)scale(1.1)}50%{filter:drop-shadow(0 0 16px var(--spell-color));transform:translate(2px)scale(1.05)}75%{transform:translate(-1px)scale(1.12)}}@keyframes vfxStorm{0%,to{transform:rotate(-8deg)scale(1.05)}50%{filter:drop-shadow(0 0 18px var(--spell-color));transform:rotate(8deg)scale(1.22)}}@keyframes vfxShadow{0%,to{opacity:.6;filter:drop-shadow(0 0 6px var(--spell-color));transform:scale(1)translateY(0)}50%{opacity:1;filter:drop-shadow(0 0 16px var(--spell-color));transform:scale(1.12)translateY(-3px)}}.note-reveal-row{flex-wrap:wrap;align-items:center;gap:8px}.note-slot{opacity:0;animation:.34s ease-out forwards noteReveal;transform:translateY(8px)scale(.96)}.note-slot.missed{opacity:.62;filter:grayscale(.7)}.note-face{--note-accent:#e2b13c;border:1px solid color-mix(in srgb, var(--note-accent) 78%, #ffffff40);width:62px;min-width:62px;height:72px;box-shadow:0 0 12px color-mix(in srgb, var(--note-accent) 28%, transparent);background:linear-gradient(#ffffff1a,#00000038);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:5px;display:inline-flex}.note-face-sm{width:52px;min-width:52px;height:62px}.note-face-lg{gap:10px;width:124px;min-width:124px;height:142px}.note-face strong{color:#fff7d6;font-variant-numeric:tabular-nums;font-size:15px;line-height:1}.note-face-sm strong{font-size:13px}.note-face-lg strong{font-size:26px}.note-face.muted strong{opacity:.55}.note-staff{width:38px;height:27px;position:relative}.note-staff span{border-top:1px solid #ffffff57;position:absolute;left:0;right:0}.note-staff span:first-child{top:3px}.note-staff span:nth-child(2){top:8px}.note-staff span:nth-child(3){top:13px}.note-staff span:nth-child(4){top:18px}.note-staff span:nth-child(5){top:23px}.note-staff i{background:var(--note-accent);width:13px;height:9px;box-shadow:0 0 8px color-mix(in srgb, var(--note-accent) 70%, transparent);border-radius:50%;position:absolute;left:13px;transform:rotate(-18deg)}.note-face-lg .note-staff{width:78px;height:50px}.note-face-lg .note-staff span:first-child{top:5px}.note-face-lg .note-staff span:nth-child(2){top:15px}.note-face-lg .note-staff span:nth-child(3){top:25px}.note-face-lg .note-staff span:nth-child(4){top:35px}.note-face-lg .note-staff span:nth-child(5){top:45px}.note-face-lg .note-staff i{width:26px;height:17px;left:28px}.note-work-caption{width:100%;color:var(--text-secondary);margin-bottom:2px;font-size:11px}.note-work-caption strong{color:var(--gold)}@keyframes noteReveal{to{opacity:1;transform:translateY(0)scale(1)}}.music-masterpiece-panel{border-color:color-mix(in srgb, var(--gold) 42%, var(--border-color));background:color-mix(in srgb, var(--panel-bg) 88%, #fbbf241a);align-items:stretch;max-width:620px}.music-masterpiece-header{min-width:170px;color:var(--gold);align-items:center;gap:8px;display:flex}.music-masterpiece-header>div{flex-direction:column;min-width:0;display:flex}.music-masterpiece-header strong{text-overflow:ellipsis;white-space:nowrap;max-width:190px;font-size:12px;line-height:1.15;overflow:hidden}.music-masterpiece-header span,.music-masterpiece-header em{color:var(--text-secondary);white-space:nowrap;font-size:10px;font-style:normal}.music-masterpiece-header em{color:#fff7d6;margin-left:auto;font-weight:700}.music-masterpiece-melody{align-items:center;gap:4px;min-width:0;padding-bottom:1px;display:flex;overflow-x:auto}.music-masterpiece-slot{background:#ffffff0a;border:1px solid #ffffff1f;border-radius:6px;justify-content:center;align-items:center;width:28px;min-width:28px;height:40px;display:flex}.music-masterpiece-slot span{color:var(--text-secondary);font-size:10px;transform:rotate(-8deg)}.music-masterpiece-slot.missing{background:#fbbf240f;border-color:#fbbf2452;width:42px;min-width:42px;height:50px}.music-masterpiece-slot.held{border-color:var(--gold);box-shadow:0 0 12px #fbbf243d}.music-masterpiece-slot .note-face-sm{border-radius:6px;gap:2px;width:38px;min-width:38px;height:46px}.music-masterpiece-slot .note-face-sm canvas{width:34px!important;height:24px!important}.music-masterpiece-slot .note-staff{width:27px;height:20px}.music-masterpiece-slot .note-staff span:first-child{top:2px}.music-masterpiece-slot .note-staff span:nth-child(2){top:6px}.music-masterpiece-slot .note-staff span:nth-child(3){top:10px}.music-masterpiece-slot .note-staff span:nth-child(4){top:14px}.music-masterpiece-slot .note-staff span:nth-child(5){top:18px}.music-masterpiece-slot .note-staff i{width:10px;height:7px;left:10px}.music-masterpiece-slot .note-face-sm strong{font-size:10px}@media (width<=640px){.music-masterpiece-panel.overlay-panel.compact{flex-direction:column;gap:8px;width:100%;max-width:460px}.music-masterpiece-header{width:100%}.music-masterpiece-header strong{max-width:260px}}.chess-face{--chess-accent:#c9a86a;border:1px solid color-mix(in srgb, var(--chess-accent) 78%, #ffffff40);width:62px;min-width:62px;height:72px;box-shadow:0 0 12px color-mix(in srgb, var(--chess-accent) 28%, transparent);background:linear-gradient(#ffffff1a,#00000038);border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;display:inline-flex}.chess-face-sm{width:52px;min-width:52px;height:62px}.chess-face-glyph{font-size:30px;line-height:1}.chess-face-sm .chess-face-glyph{font-size:25px}.chess-face-white .chess-face-glyph{color:#f8fafc;text-shadow:0 0 3px #000000d9,0 1px 1px #0009}.chess-face-black .chess-face-glyph{color:#0f172a;text-shadow:0 0 3px #ffffff8c}.chess-face strong{color:#fff7d6;font-size:11px;line-height:1}.chess-face.muted{opacity:.62;filter:grayscale(.7)}.face-chip.chess-chip{font-family:var(--font-title);border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:700;line-height:1.2;display:inline-flex}.face-chip.chess-chip-white{box-shadow:0 1px 3px #0003;color:#0f172a!important;background:#f8fafc!important;border:1px solid #cbd5e1!important}.face-chip.chess-chip-black{box-shadow:0 1px 3px #0006;color:#fff!important;background:#0f172a!important;border:1px solid #475569!important}.face-chip.domino-tile-chip,.dark-theme .face-chip.domino-tile-chip{cursor:default;color:#fff!important;background:#090d16!important;border:1px solid #fff3!important;border-radius:6px!important;align-items:center!important;gap:3px!important;padding:3px 5px!important;transition:transform .15s,border-color .15s,box-shadow .15s!important;display:inline-flex!important;box-shadow:0 2px 5px #0006!important}.face-chip.domino-tile-chip:hover,.dark-theme .face-chip.domino-tile-chip:hover{border-color:#38bdf8!important;transform:translateY(-1px)scale(1.08)!important;box-shadow:0 4px 10px #0009,0 0 8px #38bdf859!important}.domino-half{border-radius:4px;justify-content:center;align-items:center;padding:3px 4px;line-height:1;display:inline-flex}.domino-half-black,.dark-theme .domino-half-black{color:#fff!important;background:#0f172a!important;border:1px solid #334155!important}.domino-tile-divider,.dark-theme .domino-tile-divider{flex-shrink:0;width:1px;height:15px;background:#475569!important}.chess-reveal-row{flex-wrap:wrap;align-items:center;gap:8px}.chess-replay{flex-direction:column;align-items:center;gap:4px;display:flex}.chess-board{border:2px solid #4a3a26;border-radius:4px;grid-template-rows:repeat(8,26px);grid-template-columns:repeat(8,26px);display:grid;overflow:hidden;box-shadow:0 4px 14px #00000073}.chess-square{justify-content:center;align-items:center;display:flex}.chess-square.light{background:#ecd9b4}.chess-square.dark{background:#a97d55}.chess-square.move-from{background:#cda138}.chess-square.move-to{background:#f5d14d}.chess-square-piece{font-size:20px;line-height:1;transition:transform .25s ease-out}.chess-square-piece.white{color:#fafaf5;text-shadow:0 0 2px #000000e6,0 1px 1px #000000b3}.chess-square-piece.black{color:#17130e;text-shadow:0 0 2px #fff6}.chess-square.move-to .chess-square-piece{transform:scale(1.12)}.chess-replay-san{min-height:14px;color:var(--text-secondary);font-variant-numeric:tabular-nums;text-align:center;font-size:11px}.chess-resolution-strip{z-index:75;pointer-events:none;background:linear-gradient(#000000a6,#00000059);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:12px;display:flex;position:fixed;inset:0}.chess-resolution-strip .chess-replay{pointer-events:auto}.chess-resolution-board-wrap{background:#00000073;border:3px solid #4a3a26;border-radius:8px;margin-top:12px;padding:12px;box-shadow:0 16px 50px #0009}.chess-resolution-board-wrap .chess-replay-san{color:#e2d4b8;margin-top:6px;font-size:14px}.chess-resolution-board-wrap .chess-board{border-width:3px;grid-template-rows:repeat(8,46px)!important;grid-template-columns:repeat(8,46px)!important}.chess-resolution-board-wrap .chess-square-piece{font-size:36px!important}.chess-outcome-row .chess-mate-badge,.heist-replay-strip .chess-mate-badge{color:#facc15;text-shadow:0 0 6px #facc1599;font-weight:800}.chess-log .heist-log-step{font-size:12px}.chess-slot-row{flex-wrap:wrap;align-items:center;gap:6px;width:100%;display:flex}.heist-overlay{z-index:80;-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(135deg,#070a08b8,#2d26189e),radial-gradient(circle at 50% 24%,#f4bb582e,#0000 38%);justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.heist-overlay:not(.heist-resolution){-webkit-backdrop-filter:none;backdrop-filter:none;pointer-events:none;background:linear-gradient(135deg,#070a086b,#2d261847),radial-gradient(circle at 50% 24%,#f4bb581a,#0000 38%);justify-content:flex-start;align-items:flex-end}.heist-panel{pointer-events:auto;background:#131510f0;border:1px solid #f9d68d47;border-radius:8px;width:min(760px,100vw - 28px);max-height:min(720px,100vh - 28px);padding:18px;overflow:auto;box-shadow:0 24px 80px #00000075}.heist-overlay:not(.heist-resolution) .heist-panel{width:min(440px,100vw - 28px);max-height:min(480px,100vh - 28px);padding:12px}.heist-overlay:not(.heist-resolution) .heist-header h2{font-size:20px}.heist-overlay:not(.heist-resolution) .heist-script-list{margin:10px 0}.heist-overlay:not(.heist-resolution) .heist-action-tile{grid-template-columns:28px 44px minmax(0,1fr) 72px;gap:8px;min-height:60px;padding:8px}.heist-overlay:not(.heist-resolution) .heist-action-order{width:24px;height:24px;font-size:13px}.heist-overlay:not(.heist-resolution) .heist-action-face{width:40px;height:44px;font-size:15px}.heist-overlay:not(.heist-resolution) .heist-action-copy strong{font-size:13px}.heist-overlay:not(.heist-resolution) .heist-action-copy span{font-size:11px}.heist-overlay:not(.heist-resolution) .heist-action-controls button{width:28px;height:28px}.heist-action-tile.dragging{opacity:.4;border-style:dashed}.heist-action-tile.drag-over{background:#f4bd4f1f;border-color:#f4bd4f!important}.heist-replay-strip{z-index:82;color:#fff7df;background:#131510e8;border:1px solid #f9d68d52;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;width:min(760px,100vw - 28px);padding:12px 14px;display:grid;position:fixed;bottom:22px;left:50%;transform:translate(-50%);box-shadow:0 18px 60px #00000070}.heist-replay-strip p,.heist-replay-strip strong{margin:0}.heist-replay-strip strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;display:block;overflow:hidden}.heist-replay-status{color:#fde68a;font-variant-numeric:tabular-nums;justify-items:end;gap:5px;font-weight:900;display:grid}.heist-noise-meter{color:#fed7aa;background:#fbbf241a;border:1px solid #fbbf2457;border-radius:999px;padding:3px 7px;font-size:11px;line-height:1}.heist-noise-meter.owner-arrived{color:#fecaca;background:#7f1d1d6b;border-color:#f8717194}.heist-replay-strip>span{color:#fde68a;font-variant-numeric:tabular-nums;font-weight:900}.heist-header,.heist-footer{justify-content:space-between;align-items:center;gap:16px;display:flex}.heist-kicker{color:#d6a84b;text-transform:uppercase;letter-spacing:0;margin:0 0 4px;font-size:11px;font-weight:800}.heist-header h2{color:#fff7df;margin:0;font-size:28px;line-height:1.05}.heist-request-tags{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.heist-request-tags span{color:#ffe7a3;background:#f6c5581f;border:1px solid #f6c5586b;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.heist-script-list,.heist-log-list,.heist-rewards{gap:10px;margin:18px 0;display:grid}.heist-action-tile{background:linear-gradient(90deg,#ffffff14,#ffffff08);border:1px solid;border-radius:8px;grid-template-columns:34px 54px minmax(0,1fr) 78px;align-items:center;gap:12px;min-height:70px;padding:10px;display:grid}.heist-action-order{color:#17130a;background:#f4bd4f;border-radius:50%;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.heist-action-face{color:#1d1a12;background:#f8edd3;border-radius:6px;justify-content:center;align-items:center;gap:4px;width:48px;height:52px;font-size:18px;font-weight:900;display:flex}.heist-action-copy{gap:3px;min-width:0;display:grid}.heist-action-copy strong{color:#fff8e5;font-size:15px}.heist-action-copy span{color:#fff8e5a8;font-size:12px}.heist-action-controls{justify-content:flex-end;gap:6px;display:flex}.heist-action-controls button{color:#fff4ce;background:#ffffff14;border:1px solid #ffffff2e;border-radius:6px;place-items:center;width:32px;height:32px;display:grid}.heist-action-controls button:disabled{opacity:.35}.heist-footer{color:#fff8e5b8;font-weight:700}.heist-footer>div{gap:10px;display:flex}.heist-reward-row,.heist-log-step{background:#ffffff12;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.heist-reward-row strong,.heist-log-step strong{color:#fff8e5}.heist-reward-row small{color:#fff8e5ad;margin-top:3px;font-size:11px;font-weight:650;display:block}.heist-reward-row span{color:#f4bd4f;font-weight:900}.heist-log-step{justify-content:flex-start}.heist-log-step>span{color:#ffe7a3;background:#f4bd4f2e;border-radius:50%;flex:0 0 28px;place-items:center;width:28px;height:28px;font-weight:900;display:grid}.heist-log-step p{color:#fff8e5c7;margin:0}@media (width<=620px){.heist-header,.heist-footer{flex-direction:column;align-items:stretch}.heist-request-tags{justify-content:flex-start}.heist-action-tile{grid-template-columns:30px 46px minmax(0,1fr)}.heist-action-controls{grid-column:1/-1;justify-content:stretch}.heist-action-controls button{flex:1}}.mouse-nibble-overlay{z-index:240;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex;position:fixed;inset:0}.mouse-nibble-mouse{filter:drop-shadow(0 6px 12px #0006);font-size:64px;animation:4s ease-in-out forwards mouse-nibble-scurry}.mouse-nibble-text{color:#ffe9b0;background:#2a0f14eb;border:2px solid #e2b13c;border-radius:12px;padding:10px 22px;font-size:20px;font-weight:800;animation:4.2s ease-in-out forwards mouse-nibble-fade}@keyframes mouse-nibble-scurry{0%{opacity:0;transform:translate(-46vw)scaleX(1)rotate(0)}8%{opacity:1}38%{transform:translate(-4vw)scaleX(1)rotate(-6deg)}46%{transform:translate(0)scaleX(1)rotate(8deg)}54%{transform:translate(0)scaleX(1)rotate(-8deg)}62%{transform:translate(4vw)scaleX(-1)rotate(0)}92%{opacity:1;transform:translate(46vw)scaleX(-1)}to{opacity:0;transform:translate(52vw)scaleX(-1)}}@keyframes mouse-nibble-fade{0%,12%{opacity:0;transform:translateY(8px)}22%,80%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}.bidding-controls.compact{border-radius:12px!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;width:min(96vw,420px)!important;max-width:none!important;height:46px!important;padding:6px 12px!important;display:flex!important;box-shadow:0 10px 30px #0000004d!important}.bidding-controls.compact.monopoly-slim-panel{border:1.5px solid var(--gold)!important;background:radial-gradient(circle at 0 0,#14321ef0,#081a0efa)!important;width:min(96vw,320px)!important}.light-theme .bidding-controls.compact.monopoly-slim-panel{border:1.5px solid var(--gold)!important;background:radial-gradient(circle at 0 0,#e6f6e8f5,#f0fbf4fa)!important;width:min(96vw,320px)!important}.monopoly-slim-panel .bidding-actions-compact{min-width:unset!important;flex:none!important;gap:6px!important}.monopoly-slim-panel .raise-inputs-compact{min-width:unset!important;flex:none!important}.monopoly-slim-panel .bid-text-input{width:64px!important;font-size:12px!important}.bidding-header-compact{flex-shrink:0!important;align-items:center!important;gap:8px!important;display:flex!important}.bid-metrics{align-items:center!important;gap:6px!important;display:flex!important}.loan-indicator{width:24px!important;height:24px!important;color:var(--text-secondary)!important;cursor:help!important;background:#ffffff0f!important;border:1px solid #ffffff1f!important;border-radius:50%!important;justify-content:center!important;align-items:center!important;transition:all .15s ease-in-out!important;display:inline-flex!important;position:relative!important}.loan-indicator:hover{color:var(--text-primary)!important;background:#ffffff1f!important;transform:translateY(-1px)!important}.loan-indicator.active-debt{color:#fca5a5!important;background:#dc262626!important;border-color:#dc262666!important;animation:2s infinite pulse-border!important}.loan-indicator.active-debt:hover{color:#f87171!important;background:#dc262640!important}.light-theme .loan-indicator{background:#0000000a!important;border-color:#00000014!important}.light-theme .loan-indicator.active-debt{color:#b91c1c!important;background:#ef444414!important;border-color:#ef44444d!important}@keyframes pulse-border{0%{border-color:#dc262659}50%{border-color:#dc2626d9}to{border-color:#dc262659}}.bidding-controls.compact .raise-slider{height:4px!important;accent-color:var(--gold)!important;cursor:pointer!important;background:#ffffff26!important;border-radius:2px!important}.monopoly-slim-panel .raise-slider{background:#1e4b2d99!important}.bidding-controls.compact .raise-slider::-webkit-slider-thumb{background:var(--gold)!important;border-radius:50%!important;width:14px!important;height:14px!important;box-shadow:0 1px 4px #0000004d!important}.bidding-controls.compact .raise-slider::-moz-range-thumb{background:var(--gold)!important;border:none!important;border-radius:50%!important;width:14px!important;height:14px!important;box-shadow:0 1px 4px #0000004d!important}.bid-text-input.input-error{color:#fca5a5!important;background:#ef444414!important;border-color:#ef4444!important;animation:.4s ease-in-out shake!important}@keyframes shake{0%,to{transform:translate(0)}25%{transform:translate(-3px)}75%{transform:translate(3px)}}.bid-text-input[data-tooltip]:after,.loan-indicator[data-tooltip]:after{z-index:100;white-space:normal;word-wrap:break-word;color:#fff;content:attr(data-tooltip);text-align:center;pointer-events:none;opacity:0;background:#0c101cf5;border:1px solid #ffffff2e;border-radius:5px;width:max-content;max-width:min(420px,100vw - 24px);padding:5px 7px;font-size:11px;font-weight:600;line-height:1.25;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%,3px);box-shadow:0 5px 14px #00000052}.bid-text-input[data-tooltip]:hover:after,.loan-indicator[data-tooltip]:hover:after,.loan-indicator[data-tooltip]:focus-visible:after{opacity:1;transform:translate(-50%)}.winning-hands-monopoly{padding:4px}.winning-hands-panel.monopoly-theme-panel{width:310px;border:2px solid var(--gold)!important;background:radial-gradient(circle at 0 0,#0b2214,#05120a)!important;box-shadow:-10px 12px 35px #0006,0 0 25px #fbbf2426!important}.light-theme .winning-hands-panel.monopoly-theme-panel{border:2px solid var(--gold)!important;background:radial-gradient(circle at 0 0,#eef7f0,#e0f0e4)!important;box-shadow:-6px 8px 24px #0000001a,0 0 15px #d977061a!important}.monopoly-theme-panel .winning-hands-scroller::-webkit-scrollbar{width:6px}.monopoly-theme-panel .winning-hands-scroller::-webkit-scrollbar-track{background:0 0}.monopoly-theme-panel .winning-hands-scroller::-webkit-scrollbar-thumb{background:#fbbf2433;border-radius:99px}.monopoly-theme-panel .winning-hands-scroller::-webkit-scrollbar-thumb:hover{background:#fbbf2466}.light-theme .monopoly-theme-panel .winning-hands-scroller::-webkit-scrollbar-thumb{background:#d9770633}.light-theme .monopoly-theme-panel .winning-hands-scroller::-webkit-scrollbar-thumb:hover{background:#d9770666}.monopoly-rules-intro-card{background:#ffffff08;border:1px dashed #fbbf2440;border-radius:12px;margin-bottom:12px;padding:12px;box-shadow:inset 0 1px #ffffff08}.light-theme .monopoly-rules-intro-card{background:#00000005;border-color:#d977064d}.monopoly-rules-header{align-items:center;gap:8px;margin-bottom:8px;display:flex}.monopoly-rules-icon{font-size:16px}.monopoly-rules-header-title{color:var(--gold);text-transform:uppercase;letter-spacing:.5px;font-size:12px;font-weight:800}.monopoly-rules-list{flex-direction:column;gap:6px;margin:0;padding-left:18px;display:flex}.monopoly-rules-list li{color:var(--text-secondary);font-size:10px;line-height:1.4}.monopoly-rules-list li strong{color:var(--text-primary)}.monopoly-side-section{background:#ffffff05;border:1px solid #ffffff0d;border-radius:14px;flex-direction:column;gap:10px;margin-bottom:12px;padding:12px;transition:transform .2s,border-color .2s;display:flex;box-shadow:0 4px 15px #00000026}.monopoly-side-section:hover{border-color:#fbbf2426;transform:translateY(-1px)}.light-theme .monopoly-side-section{background:#00000003;border-color:#0000000f;box-shadow:0 2px 8px #00000008}.light-theme .monopoly-side-section:hover{border-color:#d9770633}.monopoly-side-header{border-bottom:1px solid #ffffff14;align-items:center;gap:8px;padding-bottom:6px;display:flex}.light-theme .monopoly-side-header{border-bottom-color:#00000014}.monopoly-side-dot{border-radius:50%;width:8px;height:8px;box-shadow:0 0 6px #ffffff26}.monopoly-side-header h4{color:var(--text-primary);text-transform:uppercase;letter-spacing:.5px;margin:0;font-size:11px;font-weight:800}.monopoly-side-districts-grid{flex-direction:column;gap:10px;display:flex}.monopoly-district-deed-card{background:#ffffff0a;border:1.5px solid #0006;border-radius:6px;padding:4px;position:relative;overflow:hidden;box-shadow:0 4px 8px #0003,inset 0 1px #ffffff0d}.light-theme .monopoly-district-deed-card{background:#fdfdfa;border:1.5px solid #222;box-shadow:0 2px 4px #0000001a}.monopoly-deed-header{background:var(--district-color,#955436);border:1px solid #0000004d;border-radius:3px;justify-content:center;align-items:center;height:18px;margin-bottom:6px;display:flex}.monopoly-deed-title{color:#fff;text-transform:uppercase;letter-spacing:.5px;text-shadow:0 1px 1px #000c;font-size:9px;font-weight:900}.monopoly-deed-streets{border:1px solid #ffffff14;border-radius:4px;flex-direction:column;gap:4px;padding:2px 4px;display:flex}.light-theme .monopoly-deed-streets{border:1px solid #ddd}.monopoly-deed-street-row{background:#00000026;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 6px;display:grid}.light-theme .monopoly-deed-street-row{background:#00000005}.monopoly-deed-face-container{align-items:center;height:26px;display:flex}.monopoly-deed-street-points{color:#10b981;white-space:nowrap;background:#10b9811a;border:1px solid #10b98133;border-radius:4px;padding:2px 6px;font-size:10px;font-weight:800}.light-theme .monopoly-deed-street-points{color:#047857;background:#0478570f;border-color:#04785726}.pts-label{opacity:.8;margin-left:1px;font-size:8px;font-weight:600}.monopoly-rules-intro-card.mini{color:var(--text-secondary);border-radius:8px;margin-bottom:0;padding:8px 10px;font-size:10px;line-height:1.35}.monopoly-stations-display-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.monopoly-station-face-card{background:#0003;border:1px solid #ffffff14;border-radius:8px;justify-content:center;align-items:center;height:38px;padding:6px;display:flex}.light-theme .monopoly-station-face-card{background:#fafaf5;border-color:#ddd;box-shadow:0 1px 3px #0000000d}.monopoly-station-scores-card{background:#ffffff08;border:1px solid #ffffff0f;border-radius:8px;padding:8px}.light-theme .monopoly-station-scores-card{background:#00000003;border-color:#0000000f}.monopoly-station-scores-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.monopoly-station-score-col{flex-direction:column;align-items:center;gap:4px;display:flex}.monopoly-station-count{color:var(--text-secondary);white-space:nowrap;font-size:9px;font-weight:800}.monopoly-station-pts{color:#10b981;font-size:10px;font-weight:900}.light-theme .monopoly-station-pts{color:#047857}.monopoly-developments-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.monopoly-development-multiplier-card{background:#ffffff0a;border:1.5px solid #0006;border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:6px;display:flex;box-shadow:0 3px 6px #00000026}.light-theme .monopoly-development-multiplier-card{background:#fcfcf9;border-color:#222;box-shadow:0 1px 3px #00000014}.monopoly-development-face-container{justify-content:center;align-items:center;width:100%;height:30px;display:flex}.monopoly-development-multiplier-value{color:#eab308;font-size:11px;font-weight:900;font-family:var(--font-title);background:#eab3081a;border:1px solid #eab30840;border-radius:999px;padding:2px 8px}.light-theme .monopoly-development-multiplier-value{color:#c27803;background:#c278030f;border-color:#c2780333}.monopoly-chance-card-display{background:#ffffff0a;border:1.5px solid #0006;border-radius:8px;align-items:center;gap:12px;padding:8px 10px;display:flex;box-shadow:0 3px 6px #00000026}.light-theme .monopoly-chance-card-display{background:#fdfaf7;border-color:#222;box-shadow:0 1px 3px #00000014}.monopoly-chance-face-wrapper{flex-shrink:0;width:44px;height:28px}.monopoly-chance-description{color:var(--text-secondary);font-size:10px;line-height:1.35}.monopoly-chance-description strong{color:var(--text-primary)}.tie-breaks-card{border-color:#ffffff0d}.dice-card.object-card[title=Chance],.mini-dice-card.object-card[title=Chance],.face-chip.object-chip[title=Chance],.badge-inner.object-badge[title=Chance]{color:#fff!important;background:var(--obj-color)!important;border-color:#f97316!important;box-shadow:0 0 8px #f9731673!important}.monopoly-face.monopoly-face-chance{background:var(--monopoly-face-color)!important;color:#fff!important;text-shadow:0 1px 2px #000000f2,0 0 4px #000c!important}.monopoly-face.monopoly-face-chance.monopoly-suit-spades{background:linear-gradient(135deg,#7a3921 50%,#9ddcfa 50%)!important}.monopoly-face.monopoly-face-chance.monopoly-suit-hearts{background:linear-gradient(135deg,#e21b8b 50%,#ff8500 50%)!important}.monopoly-face.monopoly-face-chance.monopoly-suit-diamonds{background:linear-gradient(135deg,#e51c24 50%,#ffeb00 50%)!important}.monopoly-face.monopoly-face-chance.monopoly-suit-clubs{background:linear-gradient(135deg,#00a650 50%,#0058c4 50%)!important}.monopoly-face.monopoly-face-building,.monopoly-face.monopoly-face-hotel{background:#000!important;border-color:#ffffff26!important}.dice-card.object-card[title*=House],.mini-dice-card.object-card[title*=House],.face-chip.object-chip[title*=House],.badge-inner.object-badge[title*=House],.dice-card.object-card[title=Hotel],.mini-dice-card.object-card[title=Hotel],.face-chip.object-chip[title=Hotel],.badge-inner.object-badge[title=Hotel]{color:#fff!important;background:#000!important;border-color:#333!important;box-shadow:0 0 8px #0009!important}.monopoly-ties-resolution-card{border-radius:12px;margin-top:8px;padding:14px;box-shadow:0 4px 12px #0000004d,inset 0 1px #ffffff0d;background:#0f221473!important;border:1px solid #fbbf2459!important}.light-theme .monopoly-ties-resolution-card{box-shadow:0 2px 8px #0000000d;background:#e0f0e499!important;border:1px solid #d9770666!important}.monopoly-ties-title-bar{border-bottom:1px solid #fbbf2426;align-items:center;gap:8px;margin-bottom:12px;padding-bottom:6px;display:flex}.light-theme .monopoly-ties-title-bar{border-bottom-color:#d9770633}.monopoly-ties-title-icon{font-size:14px}.monopoly-ties-title-text{text-transform:uppercase;letter-spacing:.5px;color:var(--gold);font-size:11px;font-weight:800}.light-theme .monopoly-ties-title-text{color:#b45309}.monopoly-ties-steps-container{flex-direction:column;gap:0;display:flex}.monopoly-ties-step-item{align-items:flex-start;gap:10px;display:flex}.monopoly-ties-step-badge{background:var(--gold);color:#05120a;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;margin-top:1px;font-size:9px;font-weight:800;display:flex;box-shadow:0 2px 5px #0003}.light-theme .monopoly-ties-step-badge{color:#fff;background:#d97706}.monopoly-ties-step-details{flex-direction:column;gap:1px;display:flex}.monopoly-ties-step-title{color:var(--text-primary);font-size:10px;font-weight:700}.monopoly-ties-step-desc{color:var(--text-secondary);font-size:9px;line-height:1.3}.monopoly-ties-step-divider{align-items:center;height:14px;margin:1px 0;padding-left:9px;display:flex}.monopoly-ties-divider-line{background:#fbbf2440;width:1px;height:100%}.light-theme .monopoly-ties-divider-line{background:#d977064d}.monopoly-ties-footnote{background:#00000040;border-left:3px solid #ef4444;border-radius:6px;align-items:flex-start;gap:6px;margin-top:12px;padding:6px 8px;display:flex}.light-theme .monopoly-ties-footnote{background:#0000000a}.monopoly-ties-footnote-icon{margin-top:1px;font-size:10px}.monopoly-ties-footnote-text{color:var(--text-secondary);font-size:9px;line-height:1.25}.monopoly-ties-footnote-text strong{color:#ef4444}.btn-raise.compact.bid-action-icon.loan-warning-btn{background:linear-gradient(135deg,#ef4444 0%,#b91c1c 100%)!important;border-color:#b91c1c!important;box-shadow:0 0 10px #ef444473!important}.btn-raise.compact.bid-action-icon.loan-warning-btn:hover{background:linear-gradient(135deg,#f87171 0%,#dc2626 100%)!important}#dice-landscape-guard{z-index:2147483647;padding:max(2rem, env(safe-area-inset-top)) max(2rem, env(safe-area-inset-right)) max(2rem, env(safe-area-inset-bottom)) max(2rem, env(safe-area-inset-left));color:#fff;text-align:center;background:#090b14;place-content:center;justify-items:center;gap:.75rem;font-size:1.1rem;display:grid;position:fixed;inset:0}#dice-landscape-guard[hidden]{display:none}#dice-landscape-guard>div{font-size:4rem;line-height:1}#dice-landscape-guard>strong{font-size:1.6rem}#gamepad-required{z-index:2147483646;color:#fff;text-align:center;background:#090b14;place-content:center;justify-items:center;gap:.75rem;padding:2rem;display:grid;position:fixed;inset:0}#gamepad-required[hidden]{display:none}#gamepad-required strong{font-size:1.7rem}:focus-visible{outline-offset:3px;outline:3px solid #f8d477}@media (pointer:coarse){button,[role=button]{min-width:44px;min-height:44px}}.counter{color:var(--accent);background:var(--accent-bg);border:2px solid #0000;border-radius:5px;margin-bottom:24px;padding:5px 10px;font-size:16px;transition:border-color .3s}.counter:hover{border-color:var(--accent-border)}.counter:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.hero{position:relative}.hero .base,.hero .framework,.hero .vite{margin:0 auto;inset-inline:0}.hero .base{z-index:0;width:170px;position:relative}.hero .framework,.hero .vite{position:absolute}.hero .framework{z-index:1;height:28px;top:34px;transform:perspective(2000px)rotate(300deg)rotateX(44deg)rotateY(39deg)scale(1.4)}.hero .vite{z-index:0;width:auto;height:26px;top:107px;transform:perspective(2000px)rotate(300deg)rotateX(40deg)rotateY(39deg)scale(.8)}#center{flex-direction:column;flex-grow:1;place-content:center;place-items:center;gap:25px;display:flex}@media (width<=1024px){#center{gap:18px;padding:32px 20px 24px}}#next-steps{border-top:1px solid var(--border);text-align:left;display:flex}#next-steps>div{flex:1 1 0;padding:32px}@media (width<=1024px){#next-steps>div{padding:24px 20px}}#next-steps .icon{width:22px;height:22px;margin-bottom:16px}@media (width<=1024px){#next-steps{text-align:center;flex-direction:column}}#docs{border-right:1px solid var(--border)}@media (width<=1024px){#docs{border-right:none;border-bottom:1px solid var(--border)}}#next-steps ul{gap:8px;margin:32px 0 0;padding:0;list-style:none;display:flex}#next-steps ul .logo{height:18px}#next-steps ul a{color:var(--text-h);background:var(--social-bg);border-radius:6px;align-items:center;gap:8px;padding:6px 12px;font-size:16px;text-decoration:none;transition:box-shadow .3s;display:flex}#next-steps ul a:hover{box-shadow:var(--shadow)}#next-steps ul a .button-icon{width:18px;height:18px}@media (width<=1024px){#next-steps ul{flex-wrap:wrap;justify-content:center;margin-top:20px}#next-steps ul li{flex:calc(50% - 8px)}#next-steps ul a{box-sizing:border-box;justify-content:center;width:100%}}#spacer{border-top:1px solid var(--border);height:88px}@media (width<=1024px){#spacer{height:48px}}.ticks{width:100%;position:relative}.ticks:before,.ticks:after{content:"";border:5px solid #0000;position:absolute;top:-4.5px}.ticks:before{border-left-color:var(--border);left:0}.ticks:after{border-right-color:var(--border);right:0}@media (width<=700px){.detective-scene-button{width:82vw;top:38%}}.witches-cauldron-card{width:min(760px,100vw - 24px);max-height:min(880px,100vh - 24px);overflow:auto;max-width:min(760px,100vw - 24px)!important}.witches-cauldron-result{text-align:center;background:radial-gradient(circle at 50% 0,#14532d4d 0%,#081c10f2 80%);border:1px solid #86efac66;border-radius:20px;margin-bottom:20px;padding:24px;position:relative;overflow:hidden;box-shadow:0 8px 32px #00000080,inset 0 0 20px #86efac1a}.witches-cauldron-result:before{content:"";background:linear-gradient(90deg,#0000,#86efac80,#0000);height:1px;position:absolute;top:0;left:0;right:0}.witches-reveal-stream{justify-content:center;align-items:center;gap:8px;min-height:70px;margin-bottom:12px;display:flex;position:relative}.witches-cauldron-emoji{filter:drop-shadow(0 0 16px #86efac99);z-index:2;animation:3s ease-in-out infinite cauldronWobble;font-size:48px!important}@keyframes cauldronWobble{0%,to{transform:rotate(-3deg)scale(1)}50%{transform:rotate(3deg)scale(1.05)}}.witches-reveal-stream span{opacity:0;z-index:1;filter:drop-shadow(0 0 8px #fffc);font-size:28px;animation:1.2s cubic-bezier(.25,1,.5,1) forwards witches-ingredient-fly}.witches-cauldron-steam{filter:blur(4px);pointer-events:none;z-index:1;background:radial-gradient(circle,#86efac4d 0%,#0000 70%);border-radius:50%;width:40px;height:40px;animation:2s ease-out infinite cauldronSteam;position:absolute;bottom:25px}@keyframes cauldronSteam{0%{opacity:0;transform:translateY(10px)scale(.6)}50%{opacity:.8}to{opacity:0;transform:translateY(-30px)scale(1.4)}}.witches-cauldron-result.outcome-exploded{background:radial-gradient(circle at 50% 0,#ef444447,#1e080cf2 80%);border-color:#fb7185a6;animation:.42s ease-out witches-result-shake}.witches-cauldron-result.outcome-under_brewed{background:radial-gradient(circle at 50% 0,#47556933 0%,#0f172af2 80%);border-color:#94a3b873}.witches-dynamic-gauge-container{margin:24px 0;padding:0 16px}.witches-gauge-scale{height:48px;margin:10px 0;position:relative}.witches-gauge-bar{background:#ffffff14;border-radius:999px;height:8px;position:absolute;top:24px;left:0;right:0;box-shadow:inset 0 1px 3px #00000080}.witches-gauge-fill-stable{background:linear-gradient(90deg,#22c55e66,#22c55ecc,#22c55e66);border-left:1px solid #86efac99;border-right:1px solid #86efac99;border-radius:4px;height:100%;position:absolute;box-shadow:0 0 12px #22c55e80}.witches-gauge-marker{color:var(--text-secondary);font-size:10px;font-family:var(--font-title);flex-direction:column;align-items:center;font-weight:700;display:flex;position:absolute;top:4px;transform:translate(-50%)}.witches-gauge-marker:after{content:"";background:#fff3;width:1px;height:24px;margin-top:2px}.witches-gauge-indicator{z-index:10;flex-direction:column;align-items:center;transition:left .8s cubic-bezier(.2,.8,.2,1);display:flex;position:absolute;top:-16px;transform:translate(-50%)}.indicator-emoji{filter:drop-shadow(0 0 6px #fffc);font-size:20px;animation:1s infinite alternate bounceNeedle}@keyframes bounceNeedle{0%{transform:translateY(0)}to{transform:translateY(-4px)}}.indicator-value{color:#fff;background:#111827;border:1px solid #ffffff26;border-radius:6px;margin-top:2px;padding:2px 6px;font-size:11px;font-weight:800;box-shadow:0 2px 6px #00000080}.witches-gauge-indicator.stable .indicator-value{color:#84cc16;border-color:#22c55e;box-shadow:0 0 8px #22c55e66}.witches-gauge-indicator.exploded .indicator-value{color:#f87171;border-color:#ef4444;box-shadow:0 0 8px #ef444466}.witches-gauge-indicator.under_brewed .indicator-value{color:#cbd5e1;border-color:#94a3b8;box-shadow:0 0 8px #94a3b866}.indicator-glow{pointer-events:none;background:radial-gradient(circle,#86efac66 0%,#0000 70%);border-radius:50%;width:32px;height:32px;position:absolute;top:0}.witches-gauge-indicator.exploded .indicator-glow{background:radial-gradient(circle,#ef444466 0%,#0000 70%)}.witches-gauge-indicator.under_brewed .indicator-glow{background:radial-gradient(circle,#94a3b84d 0%,#0000 70%)}.witches-verdict-title{font-family:var(--font-title);letter-spacing:1px;text-transform:uppercase;margin:16px 0 6px;font-size:24px;font-weight:800}.witches-verdict-title.stable{color:#86efac;text-shadow:0 0 12px #86efac99}.witches-verdict-title.exploded{color:#fca5a5;text-shadow:0 0 12px #ef444499;animation:.5s ease-in-out infinite alternate explosionShudder}@keyframes explosionShudder{0%{transform:translate(-1px,-1px)rotate(-.5deg)}to{transform:translate(1px,1px)rotate(.5deg)}}.witches-verdict-title.under_brewed{color:#cbd5e1;text-shadow:0 0 12px #94a3b866}.witches-stability-info{color:var(--text-secondary);margin-bottom:20px;font-size:13px}.witches-stability-info strong{color:var(--text-primary)}.witches-revealed-contributions-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:16px;display:grid}.witches-player-contribution-card{text-align:left;background:#ffffff08;border:1px solid #ffffff0d;border-radius:12px;padding:12px 14px;transition:all .25s}.witches-player-contribution-card:hover{background:#ffffff0d;border-color:#86efac40;transform:translateY(-2px)}.contrib-player-header{border-bottom:1px solid #ffffff0f;justify-content:space-between;align-items:center;margin-bottom:10px;padding-bottom:6px;display:flex}.contrib-player-name{color:var(--text-primary);font-size:13px;font-weight:700}.contrib-player-delta{border-radius:4px;padding:2px 6px;font-size:11px;font-weight:700}.contrib-player-delta.positive{color:#bef264;background:#84cc1626}.contrib-player-delta.negative{color:#fca5a5;background:#f43f5e26}.contrib-ingredients-list{flex-wrap:wrap;gap:6px;display:flex}.contrib-ingredient-badge{background:#ffffff0a;border:1px solid #ffffff14;border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;display:inline-flex}.contrib-ingredient-badge.pos{border-color:#84cc1640}.contrib-ingredient-badge.neg{border-color:#f43f5e40}.badge-icon{font-size:12px}.badge-name{color:var(--text-secondary)}.badge-delta{font-weight:700}.contrib-ingredient-badge.pos .badge-delta{color:#bef264}.contrib-ingredient-badge.neg .badge-delta{color:#fca5a5}.contrib-no-ingredients{color:var(--text-secondary);opacity:.7;font-size:11px;font-style:italic}.theme-witches-summary-card{background:radial-gradient(circle at 50% 100%,#8b5cf614 0%,#081c10e6 100%)!important;border:1px solid #8b5cf659!important;box-shadow:0 4px 24px #8b5cf626!important}.witches-themed-title{color:#c084fc!important;border-color:#8b5cf633!important}.witches-magic-icon{filter:drop-shadow(0 0 4px #c084fc);font-size:14px}.witches-gold-glow{text-shadow:0 0 8px #86efac66;color:#86efac!important}.witches-payout-highlight{text-shadow:0 0 8px #fbbf2466;color:#fbbf24!important}.bidding-summary-status.witches-status-stable{color:#4ade80;background:#22c55e26;border:1px solid #22c55e4d}.bidding-summary-status.witches-status-exploded{color:#f87171;background:#ef444426;border:1px solid #ef44444d}.bidding-summary-status.witches-status-under_brewed{color:#cbd5e1;background:#94a3b826;border:1px solid #94a3b84d}.witches-summary-description{color:var(--text-secondary);border-top:1px solid #ffffff0d;padding-top:8px;font-style:italic}.witches-cauldron-card{background:radial-gradient(circle at 15% 0,#c084fc1a 0%,#0000 40%),radial-gradient(circle at 50% 0,#14532d47 0%,#081c10f5 78%)!important;border:1px solid #86efac47!important;border-radius:24px!important;box-shadow:0 24px 70px #000000a6,0 0 0 1px #86efac0f,0 0 46px #86efac24,inset 0 1px #ffffff0d!important}.witches-cauldron-sigil{justify-content:center;align-items:center;margin:0 auto 2px;padding:22px 30px;display:inline-flex;position:relative}.witches-cauldron-sigil:before{content:"";border:1px dashed #86efac59;border-radius:50%;width:88px;height:88px;animation:18s linear infinite witches-sigil-spin;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 22px #86efac1f}.witches-cauldron-sigil:after{content:"";background:radial-gradient(circle,#c084fc3d 0%,#0000 72%);border-radius:50%;width:64px;height:64px;animation:3.4s ease-in-out infinite witches-sigil-pulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@keyframes witches-sigil-spin{to{transform:rotate(360deg)}}@keyframes witches-sigil-pulse{0%,to{opacity:.55;transform:scale(.94)}50%{opacity:1;transform:scale(1.05)}}.witches-cauldron-glyph{z-index:1;white-space:nowrap;filter:drop-shadow(0 0 10px #86efac8c)drop-shadow(0 0 18px #c084fc4d);animation:4s ease-in-out infinite wizardFloat;position:relative;font-size:34px!important}.witches-exam-title{background:linear-gradient(100deg,#bef264 0%,#86efac 45%,#d8b4fe 100%);color:#0000;letter-spacing:.06em;filter:drop-shadow(0 0 14px #86efac40);-webkit-background-clip:text;background-clip:text}.witches-divider{background:linear-gradient(90deg,#0000,#86efac66 25%,#c084fc66 75%,#0000);width:100%;height:1px;margin:16px 0 2px;position:relative}.witches-divider span{color:#bef264;filter:drop-shadow(0 0 6px #86efac99);background:#09180feb;padding:0 10px;font-size:13px;line-height:1;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.witches-cauldron-summary{font-family:var(--font-title);background:#ffffff08;border:1px solid #ffffff0f;border-radius:12px;justify-content:space-around;margin-bottom:16px;padding:12px 16px;display:flex}.witches-cauldron-summary strong{color:var(--text-primary);font-size:16px}.witches-cauldron-summary .positive{color:#bef264;text-shadow:0 0 8px #bef2644d}.witches-cauldron-summary .negative{color:#fb7185;text-shadow:0 0 8px #fb71854d}.witches-ingredient-choice{position:relative;background:#ffffff05!important;border:1px solid #ffffff14!important;border-radius:14px!important;padding:14px 12px 12px!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.witches-ingredient-choice:hover{transform:scale(1.02)translateY(-1px);background:#ffffff0d!important;border-color:#86efac4d!important}.witches-ingredient-choice:focus-visible{outline-offset:2px;outline:2px solid #86efaca6}.witches-ingredient-choice.selected{animation:2.4s ease-in-out infinite witches-ignite-pulse;background:radial-gradient(circle at 50% 0,#22c55e26 0%,#14532d4d 100%)!important;border-color:#84cc1699!important;box-shadow:0 0 15px #84cc1640!important}@keyframes witches-ignite-pulse{0%,to{box-shadow:0 0 15px #84cc1640!important}50%{box-shadow:0 0 24px #84cc1666!important}}.ingredient-icon-well{background:radial-gradient(circle at 32% 28%,#ffffff1a,#ffffff05 70%);border:1px solid #ffffff14;border-radius:50%;place-items:center;width:46px;height:46px;margin-bottom:2px;display:inline-grid}.ingredient-icon-well.well-positive{border-color:#86efac4d;box-shadow:inset 0 0 12px #86efac29}.ingredient-icon-well.well-negative{border-color:#fb718547;box-shadow:inset 0 0 12px #fb718524}.witches-ingredient-choice .ingredient-icon{font-size:24px}.coven-wheel{aspect-ratio:1;background:radial-gradient(circle,#ffe9a814 0 13%,#0000 14%),radial-gradient(circle,#48746724,#05130e38 68%,#0000 69%);border-radius:50%;width:min(520px,86vw);margin:6px auto 20px;position:relative}.coven-wheel.reference{isolation:isolate;background:radial-gradient(circle,#ffe9a83d 0 13%,#0000 27%),linear-gradient(90deg,#2c7adc47 3%,#70cdff21 34%,#ffe9a814 50%,#ffa85e24 66%,#dd43234d 97%),radial-gradient(circle,#48746729,#05130e57 69%,#0000 70%);box-shadow:inset 0 0 32px #05130e80}.coven-wheel.reference:before{content:"";z-index:0;pointer-events:none;border:1px solid #ffffff14;border-radius:50%;position:absolute;inset:8%;box-shadow:-18px 0 32px #489aff1f,18px 0 32px #ff663a24}.coven-wheel.compact{width:min(350px,78vw)}.coven-wheel.mini{width:min(236px,100%);margin:8px auto 12px}.coven-wheel.mini .coven-wheel-node{grid-template-rows:1fr;grid-template-columns:1fr;min-width:34px;min-height:34px;padding:2px}.coven-wheel.mini .coven-wheel-name,.coven-wheel.mini .coven-wheel-cue,.coven-wheel.mini .coven-wheel-pole{display:none}.coven-wheel.mini .coven-wheel-node:not(.held){opacity:.28;filter:saturate(.45)}.coven-wheel.reference.mini .coven-wheel-node:not(.held){opacity:1;filter:none}.coven-wheel.mini .coven-wheel-node.held{z-index:3}.coven-wheel.mini .coven-wheel-icon{font-size:15px}.coven-wheel.mini .coven-wheel-node.catalyst{min-width:44px;min-height:44px}.coven-wheel.mini .coven-wheel-count{width:17px;height:17px;font-size:8px;top:-4px;right:-4px}.coven-wheel-lines{width:92%;height:92%;position:absolute;inset:4%;overflow:visible}.coven-wheel-lines circle{fill:none;stroke:#ebfff133;stroke-width:.6px;stroke-dasharray:1.5 2.4}.coven-wheel-lines line{stroke:#ebfff11a;stroke-width:.45px}.coven-wheel-node{border:1px solid color-mix(in srgb, var(--aura-color) 45%, transparent);background:color-mix(in srgb, var(--aura-color) 12%, #05130ef0);color:#edfdf1;min-width:74px;min-height:57px;box-shadow:0 0 13px color-mix(in srgb, var(--aura-color) 20%, transparent);z-index:2;border-radius:42% 58% 48% 52%/55% 43% 57% 45%;grid-template-rows:auto auto;grid-template-columns:auto auto;place-items:center;padding:5px 7px;display:grid;position:absolute;transform:translate(-50%,-50%)}.coven-wheel-node.warm{border-radius:50% 50% 42% 58%/62% 62% 38% 38%}.coven-wheel-node.held{background:color-mix(in srgb, var(--aura-color) 29%, #05130ee6);box-shadow:0 0 22px color-mix(in srgb, var(--aura-color) 55%, transparent);border-width:2px}.coven-wheel.reference .coven-wheel-node{border-color:color-mix(in srgb, var(--aura-color) 74%, #ffffff1f);background:radial-gradient(circle at 35% 24%, color-mix(in srgb, var(--aura-color) 48%, white 2%), transparent 42%), color-mix(in srgb, var(--aura-color) 24%, #05130ef0);box-shadow:inset 0 1px 0 #ffffff29, 0 0 calc(7px + var(--thermal-level) * 2px) color-mix(in srgb, var(--aura-color) 48%, transparent)}.coven-wheel.reference .coven-wheel-node.catalyst{background:radial-gradient(circle at 40% 32%,#fffad38c,#70521e9e 64%,#1e1d12e6);border-color:#ffe9a8b8;box-shadow:0 0 20px #ffdc7052,inset 0 1px #fff3}.coven-wheel-node.selected{outline-offset:2px;outline:2px solid #f8fafc}.coven-wheel-node.catalyst{background:radial-gradient(circle,#fff9dc47,#513c1973);border-radius:50%;min-width:84px;min-height:84px;top:50%;left:50%}.coven-wheel-icon{filter:drop-shadow(0 0 6px var(--aura-color));font-size:21px}.coven-wheel-cue{color:var(--aura-color);font-size:10px}.coven-wheel-name{text-align:center;grid-column:1/-1;font-size:9px;font-weight:800;line-height:1.1}.coven-wheel-count{color:#102619;background:#f8fafc;border-radius:50%;place-items:center;width:21px;height:21px;font-size:9px;font-weight:900;display:grid;position:absolute;top:-5px;right:-5px}.coven-wheel-pole{z-index:1;letter-spacing:.12em;font-size:9px;font-weight:900;position:absolute;top:50%;transform:translateY(-50%)}.coven-wheel-pole.cold{color:#8fc8ff;left:-5%}.coven-wheel-pole.warm{color:#ff9b73;right:-5%}.witches-temperature-meter{background:#0000002e;border:1px solid #ffffff14;border-radius:13px;margin:4px 0 18px;padding:12px 14px}.temperature-meter-labels{color:#cbd5e1;text-transform:uppercase;letter-spacing:.05em;justify-content:space-between;font-size:10px;font-weight:800;display:flex}.temperature-meter-track{background:linear-gradient(90deg,#2265b4,#8dccff 32%,#e6e2c4 50%,#ffaf77 68%,#c53a24);border-radius:999px;height:15px;margin:9px 0;position:relative;box-shadow:inset 0 1px 5px #00000080}.temperature-meter-stable{background:#fff7be2e;border:2px solid #f5e9a9;border-radius:999px;position:absolute;top:-3px;bottom:-3px;box-shadow:0 0 12px #ffee9a6b}.temperature-meter-needle{background:#fff;border-radius:3px;width:3px;height:29px;transition:left .25s;position:absolute;top:-7px;transform:translate(-50%);box-shadow:0 0 7px #fff}.temperature-shift{text-align:center;font-size:11px;display:block}.temperature-shift.cold,.ingredient-temperature.cold{color:#8fc8ff}.temperature-shift.warm,.ingredient-temperature.warm{color:#ff9b73}.temperature-shift.neutral,.ingredient-temperature.neutral{color:#ffe9a8}.ingredient-temperature{font-size:10px}.ingredient-icon-well{box-shadow:inset 0 0 15px color-mix(in srgb, var(--aura-color) 34%, transparent), 0 0 11px color-mix(in srgb, var(--aura-color) 22%, transparent)}.ingredient-icon-well.well-neutral{border-color:#ffe9a86b}@media (width<=620px){.coven-wheel{width:min(390px,94vw);margin-block:22px 28px}.coven-wheel-node{min-width:58px;min-height:48px;padding:3px 4px}.coven-wheel-name{max-width:54px;font-size:7.5px}.coven-wheel-icon{font-size:18px}.coven-wheel-node.catalyst{min-width:68px;min-height:68px}}@keyframes witches-result-shake{0%,to{transform:translate(0)}25%{transform:translate(-7px)rotate(-.4deg)}55%{transform:translate(6px)rotate(.35deg)}75%{transform:translate(-3px)}}@keyframes witches-ingredient-fly{0%{opacity:0;transform:translateY(30px)scale(.4)rotate(0)}50%{opacity:1}to{opacity:.95;transform:translateY(-40px)scale(1)rotate(360deg)}}@keyframes witches-cauldron-lock{to{filter:drop-shadow(0 0 24px #bef264e6);transform:translateY(-2px)}}@keyframes witches-cauldron-explode{0%{filter:brightness();transform:scale(1)}45%{filter:brightness(3);transform:scale(1.35)rotate(-8deg)}to{filter:brightness(.6)grayscale(.4);transform:scale(.92)rotate(6deg)}}.witches-readiness-panel{background:#ffffff05;border:1px solid #ffffff0d;border-radius:12px;flex-direction:column;align-items:center;gap:8px;margin-bottom:20px;padding:12px 16px;display:flex}.readiness-title{font-family:var(--font-title);text-transform:uppercase;letter-spacing:1px;color:var(--text-secondary);font-size:11px}.witches-readiness{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.witches-rune-badge{background:#ffffff0a;border:1px solid #ffffff14;border-radius:8px;align-items:center;gap:6px;padding:4px 10px;font-size:11.5px;transition:all .3s;display:inline-flex}.witches-rune-badge.ready{background:#22c55e1a;border-color:#22c55e66;box-shadow:0 0 10px #22c55e26}.witches-rune-badge.ready .rune-username{color:#bef264}.witches-rune-badge.ready .rune-status-text{color:#84cc16}.witches-rune-badge.brewing .rune-status-icon{animation:2.2s ease-in-out infinite witches-badge-pulse;display:inline-block}@keyframes witches-badge-pulse{0%,to{opacity:.55;filter:drop-shadow(0 0 #0000)}50%{opacity:1;filter:drop-shadow(0 0 5px #c084fcb3)}}.rune-status-icon{font-size:12px}.rune-username{color:var(--text-primary);font-weight:700}.rune-status-text{text-transform:uppercase;opacity:.8;color:var(--text-secondary);font-size:9.5px}.witches-sections-container{flex-direction:column;gap:24px;margin-bottom:24px;display:flex}.witches-modal-section{background:#ffffff03;border:1px solid #ffffff08;border-radius:16px;padding:18px;position:relative;overflow:hidden}.witches-modal-section:before{content:"";background:linear-gradient(90deg,#86efac8c,#c084fc73,#0000 80%);height:2px;position:absolute;top:0;left:0;right:0}.section-title{font-family:var(--font-title);color:#86efac;align-items:center;gap:10px;margin-bottom:4px;font-size:15px;font-weight:800;display:flex}.section-num{color:#bef264;background:radial-gradient(circle at 30% 30%,#86efac59,#86efac0f);border:1px solid #86efac66;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;font-size:12px;font-weight:800;display:inline-grid;box-shadow:0 0 10px #86efac38}.section-desc{color:var(--text-secondary);margin-bottom:16px;font-size:12px;line-height:1.4}.summary-stat-box{background:#ffffff08;border:1px solid #ffffff0d;border-radius:10px;flex-direction:column;align-items:center;min-width:140px;padding:10px 14px;transition:all .25s;display:flex}.summary-stat-box:hover{background:#ffffff0d;border-color:#86efac33}.stat-label{text-transform:uppercase;letter-spacing:.5px;color:var(--text-secondary);margin-bottom:4px;font-size:10px}.stat-val{font-size:20px;font-weight:800;font-family:var(--font-title)}.stat-val.positive{color:#bef264;text-shadow:0 0 10px #bef26466}.stat-val.negative{color:#fb7185;text-shadow:0 0 10px #fb718566}.stat-val.recipe-rank{color:#86efac;font-size:16px}.stat-desc{color:var(--text-secondary);margin-top:2px;font-size:10px}.ingredient-delta{font-size:16px;font-weight:800;font-family:var(--font-title);margin:6px 0}.ingredient-delta.positive{color:#bef264}.ingredient-delta.negative{color:#fb7185}.ingredient-badge{letter-spacing:.6px;text-transform:uppercase;border-radius:999px;margin-top:4px;padding:3px 8px;font-size:8.5px;font-weight:700}.ingredient-badge.in-cauldron{color:#4ade80;background:#22c55e26;border:1px solid #22c55e40}.ingredient-badge.in-hand{color:var(--text-secondary);background:#ffffff0d;border:1px solid #ffffff14}.witches-confidence-control-container{flex-direction:column;gap:16px;display:flex}.witches-confidence-header{font-family:var(--font-title);justify-content:space-between;align-items:center;font-size:14px;display:flex}.witches-confidence-value strong{color:#86efac;text-shadow:0 0 10px #86efac80;font-size:24px}.influence-label{color:var(--text-secondary);font-size:12px}.witches-slider-wrapper{background:#ffffff05;border:1px solid #ffffff0a;border-radius:12px;align-items:center;gap:14px;padding:8px 12px;display:flex}.witches-slider-wrapper input[type=range]{flex:1}.witches-confidence-range{appearance:none;background:linear-gradient(to right, #86efac 0%, #86efac var(--fill-pct,0%), #ffffff14 var(--fill-pct,0%), #ffffff14 100%);cursor:pointer;border-radius:999px;outline:none;height:8px}.witches-confidence-range::-webkit-slider-thumb{-webkit-appearance:none;cursor:pointer;background:radial-gradient(circle at 35% 30%,#fff,#86efac 55%,#4ade80 100%);border:2px solid #081c10e6;border-radius:50%;width:20px;height:20px;transition:transform .15s,box-shadow .15s;box-shadow:0 0 12px #86efaccc}.witches-confidence-range:hover::-webkit-slider-thumb{transform:scale(1.15);box-shadow:0 0 18px #86efac}.witches-confidence-range::-moz-range-track{background:#ffffff14;border-radius:999px;height:8px}.witches-confidence-range::-moz-range-progress{background:#86efac;border-radius:999px;height:8px}.witches-confidence-range::-moz-range-thumb{cursor:pointer;background:radial-gradient(circle at 35% 30%,#fff,#86efac 55%,#4ade80 100%);border:2px solid #081c10e6;border-radius:50%;width:18px;height:18px;box-shadow:0 0 12px #86efaccc}.witches-confidence-range:focus-visible{outline-offset:3px;outline:2px solid #86efaca6}.witches-adjust-btn{cursor:pointer;border-radius:8px;justify-content:center;align-items:center;width:32px;height:32px;font-size:18px;font-weight:700;transition:all .2s;display:flex;color:var(--text-primary)!important;background:#ffffff0d!important;border:1px solid #ffffff1a!important}.witches-adjust-btn:hover:not(:disabled){transform:scale(1.05);background:#86efac26!important;border-color:#86efac66!important}.witches-adjust-btn:disabled{opacity:.3;cursor:not-allowed}.witches-adjust-btn:focus-visible,.btn-quick-bid:focus-visible{outline-offset:2px;outline:2px solid #86efaca6}.witches-quick-bid-buttons{justify-content:space-between;gap:8px;display:flex}.btn-quick-bid{flex:1;color:var(--text-secondary)!important;cursor:pointer!important;background:#ffffff0a!important;border:1px solid #ffffff14!important;border-radius:8px!important;padding:6px 4px!important;font-size:11px!important;font-weight:700!important;transition:all .2s!important}.btn-quick-bid:hover{transform:translateY(-1px);color:#86efac!important;background:#86efac1a!important;border-color:#86efac4d!important}.witches-modal-footer{border-top:1px solid #ffffff0f;flex-direction:column;gap:12px;padding-top:18px;display:flex}.witches-commit-warning{color:#fde68a;background:#f59e0b14;border:1px solid #f59e0b40;border-radius:10px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:12px;line-height:1.45;display:flex}.witches-commit-warning .warning-icon{filter:drop-shadow(0 0 4px #fbbf2480);flex:none}.witches-commit-button{letter-spacing:.02em;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:4px;transition:transform .2s,box-shadow .2s,filter .2s;display:flex;box-shadow:0 10px 28px #22c55e40,inset 0 0 0 1px #86efac2e;background:linear-gradient(135deg,#16a34a 0%,#22c55e 45%,#a855f7 130%)!important}.witches-commit-button:hover{filter:brightness(1.06);transform:translateY(-1px);box-shadow:0 14px 34px #22c55e59,inset 0 0 0 1px #86efac40}.witches-commit-button:active{filter:brightness(.96);transform:translateY(0)scale(.99)}.witches-commit-button:focus-visible{outline-offset:3px;outline:2px solid #86efacbf}.witches-commit-button .seal-glyph{background:#ffffff24;border-radius:50%;place-items:center;width:26px;height:26px;font-size:14px;display:inline-grid;box-shadow:0 0 10px #ffffff59}@media (prefers-reduced-motion:reduce){.witches-ingredient-choice{transition:none}.witches-ingredient-choice:hover{transform:none}.witches-ingredient-choice.selected,.witches-cauldron-sigil:before,.witches-cauldron-sigil:after,.witches-cauldron-glyph,.witches-rune-badge.brewing .rune-status-icon{animation:none}.witches-commit-button:hover,.witches-commit-button:active{transform:none}.witches-cauldron-result.outcome-exploded{animation:none}.witches-reveal-stream span,.witches-cauldron-result .witches-reveal-stream b{opacity:1;animation:none;transform:none}}.bad-influence-door-overlay{z-index:1100;-webkit-backdrop-filter:blur(9px)saturate(.75);backdrop-filter:blur(9px)saturate(.75);background:repeating-linear-gradient(116deg,#0000 0 28px,#d3bb8e06 29px 30px),radial-gradient(circle at 50% 35%,#4f91b529,#0000 38%),#070605d6;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.bad-influence-door-card{color:#eadfc9;background:linear-gradient(145deg,#382f26f7,#12100efc 52%),#171411;border:1px solid #d3bb8e6b;border-radius:2px;width:min(760px,94vw);max-height:90vh;padding:clamp(1.4rem,4vw,3.25rem);overflow:auto;box-shadow:0 38px 90px #000,inset 0 0 80px #0000006b}.bad-influence-door-card h2{letter-spacing:-.035em;margin:.3rem 0 .7rem;font-family:Georgia,Times New Roman,serif;font-size:clamp(1.8rem,5vw,3.6rem);font-weight:400;line-height:.96}.bad-influence-door-card p{color:#b6a791;max-width:56ch;line-height:1.6}.bad-influence-kicker{color:#8fa9b3;letter-spacing:.34em;font-size:.72rem;font-weight:800}.bad-influence-door-card form{gap:.85rem;margin-top:1.5rem;display:grid}.bad-influence-bid-row{grid-template-columns:1fr 4.5rem;align-items:center;gap:1rem;display:grid}.bad-influence-bid-row output{text-align:center;color:#d3bb8e;font-family:Georgia,serif;font-size:2.5rem}.bad-influence-door-card button{color:#eadfc9;cursor:pointer;background:#100e0cc7;border:1px solid #d3bb8e80;border-radius:2px;min-height:48px}.bad-influence-door-card form>button,.bad-influence-fallback{letter-spacing:.12em;text-transform:uppercase;padding:.85rem 1.25rem;font-weight:800}.bad-influence-door-card button:hover:not(:disabled),.bad-influence-door-card button:focus-visible{outline-offset:3px;border-color:#d3bb8e;outline:2px solid #8fa9b3b3;transform:translateY(-2px)}.bad-influence-door-card button:disabled{cursor:default;opacity:.64}.bad-influence-waiting,.bad-influence-countdown{color:#b9cbd1;border-left:3px solid #8fa9b3;margin-top:1.5rem;padding:.85rem 1rem;font-family:Georgia,serif;font-style:italic}.bad-influence-bid-reveal{background:#d3bb8e2e;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1px;margin-top:1.4rem;display:grid}.bad-influence-bid-reveal>div{background:#171411;justify-content:space-between;padding:.65rem .8rem;display:flex}.bad-influence-bid-reveal .winner{color:#f0d39d;box-shadow:inset 0 -2px #c5a451}.bad-influence-door-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin:1rem 0;display:grid}.bad-influence-door-grid button{text-align:left;gap:.35rem;min-height:148px;padding:1.15rem;display:grid;position:relative;overflow:hidden}.bad-influence-door-grid button:after{content:"";background:radial-gradient(circle,#9eb7c22e,#0000 64%);height:100%;position:absolute;inset:auto -20% -60% 35%}.bad-influence-door-grid strong{font-family:Georgia,serif;font-size:1.15rem}.bad-influence-door-grid em{color:#9eb7c2}.door-number{color:#897763;letter-spacing:.2em;font-size:.68rem}@media (prefers-reduced-motion:reduce){.bad-influence-door-card button{transition:none}.bad-influence-door-card button:hover:not(:disabled){transform:none}}.card-pyramid-layer{z-index:28;pointer-events:none;color:#f8fafc;position:absolute;inset:46px 0 0}.card-claim-flash{color:#fef3c7;background:#0f172ae6;border:1px solid #fde68a;border-radius:999px;padding:8px 15px;font-weight:800;animation:2.8s both pyramid-claim-in;position:absolute;top:8%;left:50%;translate:-50%;box-shadow:0 0 24px #fbbf248c}@keyframes pyramid-claim-in{0%{opacity:0;transform:translateY(-10px)scale(.9)}12%,75%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-4px)scale(.98)}}@media (prefers-reduced-motion:reduce){.card-claim-flash{transition:none;animation:none}}.sheet-interactive-container{z-index:80;pointer-events:none;position:absolute;inset:0}.sheet-interactive-container>*{pointer-events:auto}.sheet-targeting-hud{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:85;background:linear-gradient(135deg,#18120cf2,#0c0906f2);border:1.5px solid #f59e0b99;border-radius:14px;width:min(940px,96vw);padding:12px 18px;position:absolute;top:72px;left:50%;transform:translate(-50%);box-shadow:0 16px 50px #000000b3,0 0 25px #f59e0b40}.hud-top-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;display:flex}.hud-step-pill{flex:260px;align-items:center;gap:10px;min-width:0;display:flex}.hud-step-pill .step-num{font-family:var(--font-title);letter-spacing:.15em;color:#1c150c;background:#f59e0b;border-radius:4px;flex-shrink:0;padding:4px 10px;font-size:11px;font-weight:900}.hud-step-pill .step-desc{color:#fff7df;font-size:13px;font-weight:700;line-height:1.3}.hud-modifier-chips{gap:8px;display:flex}.hud-modifier-chip{font-family:var(--font-title);cursor:pointer;opacity:.55;border:2px solid #0000;border-radius:8px;align-items:center;gap:6px;padding:6px 12px;font-weight:800;transition:all .18s;display:flex;box-shadow:0 2px 8px #0000004d}.hud-modifier-chip.active{opacity:1;border-color:#fff7df;transform:translateY(-1px);box-shadow:0 0 16px #f59e0b99,0 2px 8px #0006}.hud-modifier-chip.placed{opacity:.9;border-color:#f59e0be6}.hud-modifier-chip .chip-symbol{font-size:20px;line-height:1}.hud-modifier-chip .chip-suit{font-size:16px;line-height:1}.hud-modifier-chip .chip-label{font-size:12px;font-weight:700}.hud-modifier-chip .chip-column{background:#00000059;border-radius:4px;padding:2px 6px;font-size:12px;font-weight:900}.hud-modifier-chip .chip-state{letter-spacing:.12em;background:#ffffff40;border-radius:4px;padding:2px 6px;font-size:9px;font-weight:900}.hud-score-preview{font-family:var(--font-title);background:#0006;border:1px solid #f59e0b4d;border-radius:6px;align-items:center;gap:6px;padding:4px 12px;display:flex}.hud-score-preview .score-label{color:#f8efd9b3;letter-spacing:.1em;font-size:11px;font-weight:800}.hud-score-preview .score-val{color:#fff7df;font-size:18px;font-weight:800}.hud-score-preview .score-delta{background:#ffffff26;border-radius:4px;padding:2px 6px;font-size:14px;font-weight:800}.hud-score-preview.positive .score-delta{color:#4ade80;background:#4ade8033}.hud-score-preview.negative .score-delta{color:#f87171;background:#f8717133}.hud-actions{gap:8px;display:flex}.hud-start-over-btn{color:#f8efd9;cursor:pointer;background:#ffffff1a;border:1px solid #f59e0b66;border-radius:6px;padding:8px 14px;font-size:12px;font-weight:700;transition:all .15s}.hud-start-over-btn:hover:not(:disabled){color:#fff7df;background:#f59e0b40}.hud-start-over-btn:disabled{opacity:.4;cursor:not-allowed}.hud-finish-btn{font-family:var(--font-title);letter-spacing:.08em;text-transform:uppercase;color:#1c150c;cursor:pointer;background:linear-gradient(135deg,#f59e0b,#fbbf24);border:0;border-radius:8px;padding:8px 18px;font-size:13px;font-weight:800;transition:all .15s;box-shadow:0 6px 20px #f59e0b66}.hud-finish-btn:hover:not(:disabled){background:linear-gradient(135deg,#fbbf24,#fef08a);transform:translateY(-1.5px);box-shadow:0 8px 25px #f59e0b99}.hud-finish-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}@media (width<=640px){.sheet-targeting-hud{width:96vw;padding:10px;top:50px}}.dune-ledger-rules-container{font-family:var(--font-title)}.dune-formula-card:hover{transform:translateY(-1.5px);box-shadow:0 4px 20px #f59e0b40,0 0 10px #d4a44e26;border-color:#f59e0bcc!important}.dune-term-chip:hover{z-index:2;transform:scale(1.08);box-shadow:0 0 12px #fbbf24b3}.dune-formula-term-text:hover{text-decoration:underline;box-shadow:0 0 8px #f59e0b66;background:#f59e0b4d!important}.hud-pot-remainder{font-family:var(--font-title);letter-spacing:.04em;color:#fbd38d;background:#f59e0b1f;border:1px dashed #f59e0b8c;border-radius:8px;align-items:center;padding:6px 12px;font-size:11px;font-weight:700;display:flex}.cinematic-overlay{--cinematic-brass:#dfc27a;z-index:1000;color:#f8f1dc;isolation:isolate;background:#080b16;font-family:Georgia,Times New Roman,serif;transition:background-color .5s;position:fixed;inset:0;overflow:hidden}.cinematic-renderer,.cinematic-canvas,.cinematic-pixi-mount,.cinematic-pixi-mount canvas{width:100%;height:100%;position:absolute;inset:0}.cinematic-table-presentation{z-index:1;position:absolute;inset:0}.cinematic-table-presentation>div{border:0!important;border-radius:0!important}.cinematic-pixi-mount{opacity:0;transition:opacity .5s}.cinematic-pixi-mount.is-ready{opacity:1}.cinematic-video-frame{place-items:center;display:grid;position:absolute;inset:clamp(24px,6vw,80px)}.cinematic-video{object-fit:contain;border:1px solid #dfc27a59;width:min(100%,1200px);max-height:100%;box-shadow:0 30px 100px #000}.cinematic-overlay:after{content:"";z-index:2;pointer-events:none;background:radial-gradient(circle at 50% 55%,#0000 38%,#02040bb8 115%),repeating-linear-gradient(12deg,#ffffff05 0 1px,#0000 1px 5px);position:absolute;inset:0}.cinematic-caption-wrap{z-index:4;text-align:center;text-shadow:0 3px 14px #000,0 0 24px #000;width:min(820px,100% - 48px);position:absolute;bottom:clamp(74px,9vh,118px);left:50%;transform:translate(-50%)}.cinematic-caption{letter-spacing:.035em;margin:0;font-size:clamp(18px,2.2vw,30px);line-height:1.35;animation:.7s both cinematic-caption-in}.cinematic-title{color:#caffad;font-variant:small-caps;letter-spacing:.07em;margin:12px 0 0;font-size:clamp(27px,4.2vw,58px);animation:.45s both cinematic-title-in}.cinematic-overlay--cosmic{--cinematic-brass:#a8c1c4;color:#d9e4e2;background:#020609;font-family:Courier New,ui-monospace,monospace}.cinematic-overlay--cosmic:after{mix-blend-mode:screen;background:radial-gradient(circle at 50% 52%,#0000 25%,#000306c7 118%),repeating-linear-gradient(0deg,#cfe8e206 0 1px,#0000 1px 4px)}.cinematic-overlay--cosmic .cinematic-caption-wrap{width:min(920px,100% - 42px)}.cinematic-overlay--cosmic .cinematic-caption{color:#d8e3df;letter-spacing:.055em;font-size:clamp(16px,1.8vw,25px);font-weight:700}.cinematic-overlay--cosmic .cinematic-title{color:#e7efec;font-variant:normal;letter-spacing:.22em;margin:0 0 10px;font-size:clamp(17px,2.4vw,31px)}.cinematic-overlay--cosmic .cinematic-caption-wrap.is-transmission{filter:grayscale();background:#070c0dc7;border:1px solid #d5e6e09e;padding:16px clamp(14px,3vw,34px);box-shadow:inset 0 0 34px #b6d6cd12,0 0 28px #000000bf}.cinematic-overlay--cosmic .cinematic-caption-wrap.is-transmission:before,.cinematic-overlay--cosmic .cinematic-caption-wrap.is-transmission:after{content:"";border-style:solid;border-color:#d7e3df;width:11px;height:11px;position:absolute}.cinematic-overlay--cosmic .cinematic-caption-wrap.is-transmission:before{border-width:1px 0 0 1px;top:5px;left:5px}.cinematic-overlay--cosmic .cinematic-caption-wrap.is-transmission:after{border-width:0 1px 1px 0;bottom:5px;right:5px}.cinematic-overlay--cosmic .cinematic-caption-wrap.is-outcome{background:linear-gradient(90deg,#0000,#060c0ed1 18% 82%,#0000);border-top:1px solid #d2e5e08c;border-bottom:1px solid #d2e5e08c;padding:14px 24px}.cinematic-overlay--cosmic .cinematic-caption-wrap.is-comms{filter:grayscale();opacity:.72;bottom:clamp(190px,23vh,250px)}.cinematic-overlay--dune{--cinematic-brass:#e8bd72;color:#fff5dd;background:#2c1b0e;font-family:Georgia,Times New Roman,serif}.cinematic-overlay--dune:after{background:radial-gradient(circle at 50% 42%,#0000 38%,#1a0c0433 72%,#0a0401b8 100%),linear-gradient(#43230a14,#0c05014d);box-shadow:inset 0 0 110px #170901b3}.cinematic-overlay--dune .cinematic-caption-wrap{background:linear-gradient(90deg,#1e0e05e6,#3b1f0dd6 52%,#1e0e05e6);border:1px solid #e8bd7270;width:min(940px,100% - 42px);box-shadow:0 18px 70px #0c05018a,inset 0 1px #ffebc214}.cinematic-overlay--dune .cinematic-caption{letter-spacing:.025em;text-shadow:0 2px 12px #120702;font-size:clamp(18px,2.05vw,29px)}.cinematic-overlay--goblin_siege{--cinematic-brass:#e8c96a;color:#fff1c9;background:#080b0d}.cinematic-overlay--goblin_siege:after{background:radial-gradient(circle at 50% 42%,#0000 42%,#020508b8 112%),repeating-linear-gradient(10deg,#ffe3a304 0 1px,#0000 1px 5px)}.cinematic-overlay--goblin_siege .cinematic-caption-wrap{width:min(900px,100% - 44px)}.cinematic-overlay--goblin_siege .cinematic-title{color:#ffe3a3;text-shadow:0 3px #4b2416,0 7px 24px #000,0 0 30px #e8c96a57}.cinematic-overlay--chess{--cinematic-brass:#c9a86a;color:#f1e4c7;background:#100b07;font-family:Baskerville,Iowan Old Style,Palatino Linotype,Georgia,serif}.cinematic-overlay--chess:after{background:radial-gradient(at 50% 47%,#0000 35%,#09050375 78%,#040201e0 118%),repeating-linear-gradient(93deg,#e0c99c03 0 1px,#0000 1px 7px);box-shadow:inset 0 0 90px #000000a3}.cinematic-overlay--chess .cinematic-caption-wrap{background:linear-gradient(90deg,#0000,#140c07d1 18% 82%,#0000);border-top:1px solid #c9a86a59;border-bottom:1px solid #c9a86a40;width:min(920px,100% - 48px);padding:12px clamp(20px,4vw,48px) 14px}.cinematic-overlay--chess .cinematic-caption{color:#eadcc0;letter-spacing:.025em;text-shadow:0 2px 16px #000;font-size:clamp(17px,1.9vw,27px)}.cinematic-overlay--chess .cinematic-title{color:#f3e5c4;letter-spacing:.115em;text-shadow:0 3px 16px #000,0 0 34px #c9a86a47;margin:0 0 8px;font-size:clamp(28px,4.6vw,64px);font-weight:500}.cinematic-overlay--chess .cinematic-caption-wrap.is-outcome{background:linear-gradient(90deg,#0000,#140c07e6 15% 85%,#0000);border-color:#c9a86a94;bottom:clamp(84px,11vh,132px)}.cinematic-overlay--chess .cinematic-controls button,.cinematic-overlay--chess .cinematic-readiness,.cinematic-overlay--chess .cinematic-continue-button{color:#f1e4c7;background:#180f09db;border-color:#c9a86a73}.cinematic-overlay--dune .cinematic-title{color:#ffd78e;letter-spacing:.09em}.cinematic-overlay--dune .cinematic-controls button,.cinematic-overlay--dune .cinematic-readiness{background:#251207d1;border-color:#e8bd727a}.dune-cinematic-fallback{z-index:1;background:linear-gradient(#2c180a08,#190a034d);position:absolute;inset:0}.cinematic-overlay--monopoly{--cinematic-brass:#f1cf72;color:#fff8dd;background:#65bce7;font-family:Copperplate,Copperplate Gothic Light,Georgia,serif}.cinematic-overlay--monopoly:after{background:radial-gradient(at 50% 58%,#0000 32%,#04180e2e 78%,#020e0994 124%),repeating-linear-gradient(96deg,#ffffff05 0 1px,#0000 1px 6px)}.cinematic-overlay--monopoly .cinematic-caption-wrap{background:linear-gradient(90deg,#0000,#052314db 14% 86%,#0000);border-top:1px solid #fff4ca80;border-bottom:1px solid #fff4ca52;width:min(790px,100% - 42px);padding:12px clamp(18px,3vw,34px);top:clamp(76px,9vh,104px);bottom:auto}.cinematic-overlay--monopoly .cinematic-caption{color:#fff4c9;letter-spacing:.075em;text-shadow:0 3px 10px #03130b,0 0 22px #f1cf7238;font-size:clamp(17px,2vw,27px);font-weight:700}.cinematic-overlay--monopoly .cinematic-title{color:#f9dd82;letter-spacing:.095em;text-shadow:0 4px #5f240f,0 8px 20px #0000009e,0 0 24px #ffda6f57;margin:0 0 5px;font-size:clamp(29px,4.8vw,62px);font-weight:900}.cinematic-overlay--monopoly .cinematic-caption-wrap.is-outcome{background:linear-gradient(#0d4f2df5,#052d19f7);border:3px solid #eac968;border-radius:10px;box-shadow:inset 0 0 0 2px #ffffff29,0 12px 38px #00000075}.cinematic-overlay--monopoly .cinematic-controls button,.cinematic-overlay--monopoly .cinematic-readiness{background:#052d19c7;border-color:#f1cf727a}.monopoly-cinematic-fallback{z-index:1;background:linear-gradient(#0d4e2d14,#03190e47);position:absolute;inset:0}.cinematic-overlay--music{--cinematic-brass:#b8a36f;color:#ddd6c2;background:#06090d;font-family:Georgia,Times New Roman,serif}.cinematic-overlay--music:after{background:radial-gradient(at 50% 48%,#0000 26%,#01030694 86%,#000000e0 122%),repeating-linear-gradient(101deg,#d6e0e204 0 1px,#0000 1px 7px)}.cinematic-overlay--music .cinematic-caption-wrap{background:linear-gradient(90deg,#0000,#05080cd4 14% 86%,#0000);border-top:1px solid #bcae8540;border-bottom:1px solid #bcae8524;width:min(850px,100% - 44px);padding:13px clamp(18px,3vw,34px)}.cinematic-overlay--music .cinematic-caption{color:#ddd7c5;letter-spacing:.025em;text-shadow:0 3px 12px #000,0 0 28px #000;font-size:clamp(17px,2vw,27px)}.cinematic-overlay--music .cinematic-title{color:#c9b77f;letter-spacing:.105em;text-shadow:0 4px 18px #000,0 0 28px #9b875129;margin:0 0 7px;font-size:clamp(28px,4.4vw,59px)}.cinematic-overlay--music .cinematic-caption-wrap.is-outcome{background:linear-gradient(90deg,#0000,#08090cf0 12% 88%,#0000);border-color:#c4b27a6b}.cinematic-overlay--music .cinematic-controls button,.cinematic-overlay--music .cinematic-readiness{background:#070a0ec7;border-color:#b8a36f57}.cinematic-overlay--music .cinematic-continue-button{color:#ece4cf;background:linear-gradient(#342d25,#171411);border-color:#b8a36f;box-shadow:0 12px 38px #0000009e,0 0 25px #b8a36f21}.music-cinematic-fallback{z-index:1;background:linear-gradient(#02050914,#01030666);position:absolute;inset:0}.cinematic-overlay--guitars{--cinematic-brass:#e879f9;color:#fff7ff;background:#07050d}.cinematic-overlay--guitars:after{background:radial-gradient(at 50% 46%,#0000 34%,#06020a61 78%,#020104d1 118%),repeating-linear-gradient(104deg,#ffffff05 0 1px,#0000 1px 8px)}.cinematic-overlay--guitars .cinematic-controls button,.cinematic-overlay--guitars .cinematic-readiness{background:#0d0414cc;border-color:#e879f975}.cinematic-overlay--guitars .cinematic-continue-button{color:#fff7ff;background:linear-gradient(#7e22ce,#3b0764);border-color:#e879f9;box-shadow:0 12px 38px #0000009e,0 0 28px #e879f940}.guitars-cinematic-fallback{z-index:1;background:radial-gradient(circle at 23% 20%,#38bdf838,#0000 24%),radial-gradient(circle at 78% 26%,#e879f942,#0000 28%),linear-gradient(#090512 0 35%,#1c1028 35% 100%);position:absolute;inset:0;overflow:hidden}.guitars-fallback-stage{background:radial-gradient(circle at 27% 54%,#3b82f6 0 4%,#0000 4.5%),radial-gradient(circle,#e879f9 0 5%,#0000 5.5%),radial-gradient(circle at 73% 54%,#22c55e 0 4%,#0000 4.5%),#17121d;border:clamp(5px,.7vw,10px) solid #e879f9;border-top-width:clamp(20px,3vw,42px);width:min(62vw,720px);height:min(27vw,310px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 55px #e879f961}.guitars-fallback-crowd{text-align:center;letter-spacing:.08em;filter:drop-shadow(0 6px 2px #07050d);width:100%;font-size:clamp(30px,6vw,76px);position:absolute;bottom:12%;left:50%;transform:translate(-50%)}.guitars-fallback-help{color:#ef294f;letter-spacing:.04em;background:#fffbdf;border:clamp(5px,.65vw,9px) solid #17121d;border-radius:40%;padding:.18em .42em;font:900 clamp(34px,7vw,88px)/1 Impact,Haettenschweiler,sans-serif;position:absolute;top:18%;left:56%;transform:rotate(-3deg);box-shadow:0 10px #0000004d}.cinematic-overlay--scrabble{--cinematic-brass:#d9aa63;color:#fff6df;font-family:var(--font-body);background:#171008}.cinematic-overlay--scrabble:after{background:radial-gradient(#0000 34%,#130a0457 72%,#080402d1 118%),repeating-linear-gradient(92deg,#ffe0ad03 0 1px,#0000 1px 8px)}.cinematic-overlay--scrabble .cinematic-controls button,.cinematic-overlay--scrabble .cinematic-readiness{background:#26170cc2;border-color:#d9aa636b}.cinematic-overlay--scrabble .cinematic-continue-button{color:#2a180b;background:linear-gradient(#f5dca8,#d7a35d);border-color:#f4d9a8;box-shadow:0 12px 38px #00000080,0 0 32px #e6b56d40}.scrabble-cinematic-fallback{perspective:1200px;background:radial-gradient(circle at 50% 35%,#ad70352e,#0000 38%),linear-gradient(#1d130b,#100904);place-items:center;display:grid;position:absolute;inset:0}.scrabble-fallback-board{aspect-ratio:1;background-color:#e8ddc2;background-image:linear-gradient(#4f372033 1px,#0000 1px),linear-gradient(90deg,#4f372033 1px,#0000 1px);background-size:6.66667% 6.66667%;border:clamp(12px,2vw,28px) solid #5c351c;flex-direction:column;justify-content:center;align-items:center;gap:5%;width:min(72vw,72vh);display:flex;transform:rotateX(-3deg);box-shadow:inset 0 0 0 3px #2c180c,0 36px 75px #00000094}.scrabble-fallback-word{gap:clamp(2px,.45vw,8px);display:flex}.scrabble-fallback-word span{aspect-ratio:1;color:#24150b;background:linear-gradient(145deg,#f5d9a4,#c98c47);border:1px solid #91602f;border-radius:3px;place-items:center;width:clamp(28px,5.1vw,64px);font-size:clamp(17px,3vw,38px);font-weight:900;display:grid;box-shadow:inset 1px 1px #ffffff80,0 5px 8px #2a170857}.cinematic-overlay--cthulhu{--cinematic-brass:#729b86;color:#dce7df;background:#010503;font-family:Georgia,Times New Roman,serif}.cinematic-overlay--cthulhu:after{background:radial-gradient(at 50% 55%,#0000 20%,#0003029e 72%,#000000eb 120%),repeating-linear-gradient(87deg,#96c4ae04 0 1px,#0000 1px 7px)}.cinematic-overlay--cthulhu .cinematic-caption-wrap{background:linear-gradient(90deg,#0000,#000503cc 18% 82%,#0000);width:min(900px,100% - 52px);padding:13px clamp(16px,3vw,34px)}.cinematic-overlay--cthulhu .cinematic-caption{color:#d9e4dc;letter-spacing:.045em;text-shadow:0 3px 18px #000,0 0 16px #0df29b29;font-size:clamp(17px,2vw,28px)}.cinematic-overlay--cthulhu .cinematic-title{color:#c7ddcf;letter-spacing:.13em;text-shadow:0 4px 22px #000,0 0 22px #0df29b52;font-size:clamp(27px,4vw,54px)}.cinematic-overlay--cthulhu .cinematic-caption-wrap.is-outcome{background:linear-gradient(90deg,#0000,#000906e8 15% 85%,#0000);border-top:1px solid #6fa88b52;border-bottom:1px solid #6fa88b38}.cinematic-overlay--fat_princess{--cinematic-brass:#ff69b4;background:#240b19}.cinematic-overlay--fat_princess:after{content:"";z-index:3;pointer-events:none;mix-blend-mode:screen;background:radial-gradient(circle,#0000 20%,#240b1973 100%),linear-gradient(90deg,#ff007f26,#0000 20% 80%,#ff007f26),repeating-linear-gradient(8deg,#ff69b408 0 1px,#0000 1px 5px);position:absolute;inset:0;box-shadow:inset 0 0 120px #000000bf,inset 0 0 0 9px #ff69b459}.cinematic-overlay--fat_princess .cinematic-caption-wrap{background:linear-gradient(90deg,#2a0b1ef0,#4a1230f5,#2a0b1ef0);border:2px solid #ff69b4;border-radius:6px;width:min(860px,100% - 240px);padding:16px 30px 18px;top:clamp(20px,4vh,40px);bottom:auto;box-shadow:0 16px 55px #000000bf,0 0 28px #ff69b473,inset 0 0 20px #ffd70026}.cinematic-overlay--fat_princess .cinematic-caption{color:#fff0f6;letter-spacing:.03em;text-shadow:0 2px 6px #000,0 0 12px #ff007f99;font-family:Georgia,Times New Roman,serif;font-size:clamp(16px,2.1vw,26px);line-height:1.38}.cinematic-overlay--fat_princess .cinematic-title{color:gold;letter-spacing:.12em;text-shadow:0 3px #b81d68,0 0 30px #f05,0 8px 28px #000;font-family:Georgia,Times New Roman,serif;font-size:clamp(24px,4.3vw,52px)}.cinematic-overlay--fat_princess .cinematic-caption-wrap.is-outcome{background:#2d0a20f5;border-width:3px;border-color:gold;top:clamp(20px,4vh,40px);bottom:auto;box-shadow:0 20px 65px #000c,0 0 45px #ff007f99}.fat-princess-fallback{z-index:1;background:#2e1822;position:absolute;inset:0;overflow:hidden}.fat-princess-fallback-sky{background:radial-gradient(circle at 16% 18%,#d5b761 0 7%,#0000 7.2%),linear-gradient(#38222f,#6c4150);position:absolute;inset:0 0 45%}.fat-princess-fallback-palace{background:#b99b76;border:clamp(5px,1vw,12px) solid #554131;width:min(70vw,760px);height:43%;position:absolute;top:13%;left:50%;transform:translate(-50%);box-shadow:0 20px #80684f}.fat-princess-fallback-palace:before,.fat-princess-fallback-palace:after{content:"";background:#a88a68;border:6px solid #554131;width:18%;height:76%;position:absolute;bottom:0}.fat-princess-fallback-palace:before{left:-13%}.fat-princess-fallback-palace:after{right:-13%}.fat-princess-fallback-palace>i{background:#741c35;width:12%;height:42%;position:absolute;top:14%;box-shadow:inset 0 0 0 5px #e5c369}.fat-princess-fallback-palace>i:first-child{left:20%}.fat-princess-fallback-palace>i:last-child{right:20%}.fat-princess-fallback-palace i:last-child:after{content:"";background:#171416;border-radius:50% 50% 0 0;width:220%;height:100%;position:absolute;top:48%;left:-110%}.fat-princess-fallback-road{clip-path:polygon(42% 0,58% 0,100% 100%,0 100%);background:repeating-linear-gradient(0deg,#76624e 0 42px,#695543 43px 46px);width:58%;height:57%;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.fat-princess-fallback-food{z-index:2;background:#4a2b21;border:5px solid #d4ad48;border-radius:8px;justify-content:space-around;align-items:flex-start;width:min(70%,650px);height:84px;transition:opacity .25s linear;display:flex;position:absolute;top:53%;left:50%;transform:translate(-50%)}.fat-princess-fallback-food i{aspect-ratio:1.8;background:radial-gradient(circle,#c7464c 0 32%,#e4d7bd 34% 70%,#806c56 72%);border-radius:50%;width:13%;margin-top:-13px}.fat-princess-fallback-procession,.fat-princess-fallback-survivors{z-index:3;position:absolute;inset:0}.fat-princess-fallback-procession .fat-princess-fallback-character{left:calc(38% + var(--seat) * 9%);top:calc(82% - var(--march) * 10% + var(--row) * 2%)}.fat-princess-fallback-character{--clown-color:#d9b35f;--transformed:0;width:clamp(44px,7vw,78px);height:clamp(92px,15vw,150px);position:absolute;top:76%;left:50%;transform:translate(-50%,-50%)}.fat-princess-fallback-head{z-index:3;aspect-ratio:.9;background:#c98962;border:3px solid #3b211c;border-radius:48%;width:48%;position:absolute;top:15%;left:50%;transform:translate(-50%)}.fat-princess-fallback-head:before{content:"";aspect-ratio:1;background:#211516;border-radius:50%;width:9%;position:absolute;top:35%;left:24%;box-shadow:22px 0 #211516}.fat-princess-fallback-body{border:3px solid #2b2020;border-radius:35% 35% 15% 15%;width:80%;height:47%;position:absolute;top:42%;left:10%}.fat-princess-fallback-body.is-prisoner{opacity:calc(1 - var(--transformed));background:repeating-linear-gradient(0deg,#77736b 0 12px,#363432 12px 20px)}.fat-princess-fallback-body.is-clown{opacity:var(--transformed);background:linear-gradient(110deg, #f0c64d 0 48%, var(--clown-color) 49%)}.fat-princess-fallback-hat{z-index:2;width:66%;height:31%;opacity:var(--transformed);clip-path:polygon(0 70%,20% 0,44% 72%,72% 0,100% 72%);background:var(--clown-color);position:absolute;top:-7%;left:17%}.fat-princess-fallback-chain{z-index:4;border:4px dashed #282c2d;border-radius:50%;width:114%;height:9px;position:absolute;top:65%;left:-7%}.fat-princess-fallback-character strong{z-index:5;color:#fff4cf;border:2px solid var(--clown-color);white-space:nowrap;text-overflow:ellipsis;background:#160d10;border-radius:4px;max-width:120px;padding:3px 8px;font-size:clamp(8px,1.2vw,13px);position:absolute;top:92%;left:50%;overflow:hidden;transform:translate(-50%)}.fat-princess-fallback-princess{--approach:0;--axe:0;z-index:3;left:calc(78% - var(--approach) * 19%);aspect-ratio:1;background:radial-gradient(circle at 50% 22%,#e2ae83 0 22%,#0000 23%),#8b203e;border:5px solid #2f1720;border-radius:50% 50% 38% 38%;width:clamp(80px,12vw,140px);position:absolute;top:67%;transform:translate(-50%,-50%)}.fat-princess-fallback-princess:before{content:"";clip-path:polygon(0 100%,8% 0,35% 58%,52% 0,70% 58%,100% 5%,92% 100%);background:#e7bd42;width:45%;height:34%;position:absolute;top:-25%;left:28%}.fat-princess-fallback-princess .axe{transform-origin:50% 84%;width:9px;height:135%;transform:rotate(calc(-12deg - var(--axe) * 112deg));background:#593a27;border-radius:5px;position:absolute;top:16%;left:76%}.fat-princess-fallback-princess .axe:before{content:"";clip-path:polygon(0 20%,100% 0,84% 100%,0 72%);background:linear-gradient(145deg,#716b68 50%,#821424 52%);width:54px;height:29%;position:absolute;top:-5%;left:-5px}.fat-princess-fallback-princess .smoke{border-top:9px dotted #e0d7cf94;border-radius:50%;width:80%;height:28%;animation:1.8s ease-in-out infinite alternate fat-princess-smoke;position:absolute;top:22%;left:73%}.fat-princess-fallback-gates{z-index:2;width:28%;height:34%;position:absolute;top:32%;left:50%;transform:translate(-50%)}.fat-princess-fallback-gates i{background:repeating-linear-gradient(90deg,#171416 0 13%,#76613c 14% 18%);border:5px solid #b08a43;width:50%;height:100%;position:absolute}.fat-princess-fallback-gates i:first-child{right:calc(50% + var(--gate-open) * 28%)}.fat-princess-fallback-gates i:last-child{left:calc(50% + var(--gate-open) * 28%)}.fat-princess-fallback-survivors .fat-princess-fallback-character{left:calc(35% + var(--seat) * 9%);top:64%}.fat-princess-fallback-impact{--roll:0;z-index:5;position:absolute;inset:0}.fat-princess-fallback-impact .trail{width:calc(var(--roll) * 24%);transform-origin:0;background:#8c1020;border-radius:50%;height:18px;position:absolute;top:75%;left:50%;transform:rotate(68deg)}.fat-princess-fallback-impact .head{left:50%;top:calc(73% + var(--roll) * 17%);width:calc(42px + var(--roll) * 80px);aspect-ratio:1;transform:translate(-50%, -50%) rotate(calc(var(--roll) * 720deg));background:#c98962;border:4px solid #3b211c;border-radius:48%;position:absolute}@keyframes fat-princess-smoke{to{opacity:.3;transform:translate(32px,-13px)scale(1.25)}}.fat-princess-fallback--intro{background:#160d14}.fat-princess-fallback--finale{background:#10090e}.fat-princess-fallback--finale:after{content:"";pointer-events:none;background:#16081247;position:absolute;inset:0}.fat-princess-fallback-sky,.fat-princess-fallback-palace,.fat-princess-fallback-road,.fat-princess-fallback-food{display:none}.fat-princess-fallback-character{filter:drop-shadow(0 10px 9px #00000094);width:clamp(72px,10vw,126px);height:clamp(132px,21vw,245px)}.fat-princess-fallback-head,.fat-princess-fallback-hat{display:none}.fat-princess-fallback-body{background-position:bottom;background-repeat:no-repeat;background-size:contain;border:0;border-radius:0;width:100%;height:100%;inset:0}.fat-princess-fallback-body.is-prisoner{opacity:calc(1 - var(--transformed))}.fat-princess-fallback-body.is-clown{opacity:var(--transformed)}.fat-princess-fallback-character:after{content:"";z-index:4;aspect-ratio:1;background:var(--clown-color);width:15%;opacity:var(--transformed);box-shadow:0 0 12px var(--clown-color);border:3px solid #160d10;border-radius:50%;position:absolute;top:44%;left:57%}.fat-princess-fallback-chain{border-color:#17191a;top:69%;box-shadow:0 2px #dcd3ba40}.fat-princess-fallback-character strong{top:98%}.fat-princess-fallback-princess{aspect-ratio:auto;filter:drop-shadow(0 15px 14px #000000b3);width:clamp(160px,25vw,310px);height:clamp(280px,43vw,530px);transform:translate(-50%, -50%) rotate(calc(var(--axe) * -7deg));transform-origin:50% 85%;border:0;border-radius:0;top:69%}.fat-princess-fallback-princess:before,.fat-princess-fallback-princess .axe{display:none}.fat-princess-fallback-princess .smoke{top:12%;left:10%}.fat-princess-fallback-impact .head{filter:drop-shadow(0 8px 7px #000000a6);border:0;border-radius:0}@media (width<=600px){.fat-princess-fallback-procession .fat-princess-fallback-character{left:calc(31% + var(--seat) * 18%)}.fat-princess-fallback-survivors .fat-princess-fallback-character{left:calc(28% + var(--seat) * 16%)}.fat-princess-fallback-princess{left:calc(84% - var(--approach) * 24%)}}.cinematic-controls{z-index:6;top:max(18px, env(safe-area-inset-top));right:max(18px, env(safe-area-inset-right));gap:10px;display:flex;position:absolute}.cinematic-controls button{color:#f8f1dc;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;background:#080b16b8;border:1px solid #dfc27a6b;min-height:42px;box-shadow:inset 0 0 0 1px #ffffff09,0 8px 30px #00000047}.cinematic-controls button:hover{border-color:var(--cinematic-brass);background:#1f1b1fe6;transform:translateY(-1px)}.cinematic-controls button:focus-visible{outline-offset:3px;outline:3px solid #b7ff93}.cinematic-icon-button{border-radius:50%;place-items:center;width:44px;display:grid}.cinematic-icon-button svg{width:19px}.cinematic-skip-button{letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;gap:8px;padding:0 17px;font:700 12px/1 sans-serif;display:flex}.cinematic-skip-button svg{width:17px}.cinematic-continue-button{z-index:7;left:50%;bottom:max(30px, env(safe-area-inset-bottom));color:#10170e;cursor:pointer;letter-spacing:.08em;text-transform:uppercase;background:linear-gradient(#dcf8c7,#a9dc88);border:1px solid #dfc27ab8;border-radius:999px;min-height:48px;padding:0 26px;font:800 13px/1 sans-serif;animation:.35s both cinematic-continue-in;position:absolute;transform:translate(-50%);box-shadow:0 10px 35px #00000073,0 0 28px #b7ff9333}.cinematic-continue-button:hover{filter:brightness(1.06);transform:translate(-50%)translateY(-2px)}.cinematic-continue-button:focus-visible{outline-offset:4px;outline:3px solid #fff}.cinematic-player-labels{z-index:4;pointer-events:none;width:max(100vw,177.778vh);height:max(56.25vw,100vh);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cinematic-player-label{border:1px solid color-mix(in srgb, var(--player-color), white 24%);color:#fff;box-shadow:0 0 18px color-mix(in srgb, var(--player-color), transparent 45%);letter-spacing:.045em;background:#03080cc7;border-radius:999px;padding:4px 9px;font:700 clamp(10px,1vw,13px)/1.2 sans-serif;animation:.28s both cinematic-label-in;position:absolute;transform:translate(-50%,-50%)}.cinematic-mahjong-title{z-index:5;pointer-events:none;opacity:var(--mahjong-title-progress);color:#ffe9a1;letter-spacing:calc(.18em - var(--mahjong-title-progress) * .08em);text-transform:uppercase;white-space:nowrap;text-shadow:0 2px #7a3f0f,0 6px 18px #000000bf,0 0 30px #fbbf2473;transform:translate(-50%, calc((1 - var(--mahjong-title-progress)) * 20px)) scale(calc(.92 + var(--mahjong-title-progress) * .08));filter:blur(calc((1 - var(--mahjong-title-progress)) * 6px));margin:0;font:900 clamp(34px,6vw,84px)/.95 Cinzel,Noto Serif SC,Georgia,serif;position:absolute;top:clamp(58px,8vh,96px);left:50%}.cinematic-readiness{z-index:6;left:max(18px, env(safe-area-inset-left));top:max(18px, env(safe-area-inset-top));-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#080b16a8;border:1px solid #dfc27a33;border-radius:999px;gap:7px;padding:8px 10px;display:flex;position:absolute}.cinematic-readiness span{border:2px solid var(--player-color);width:15px;height:15px;box-shadow:0 0 9px color-mix(in srgb, var(--player-color), transparent 55%);border-radius:50%;position:relative}.cinematic-readiness svg{color:#d8ffc4;width:19px;height:19px;position:absolute;inset:-4px}.cinematic-loading,.cinematic-error{z-index:7;color:#d9c891;letter-spacing:.12em;text-transform:uppercase;background:#080b16;place-items:center;font:700 12px/1 sans-serif;display:grid;position:absolute;inset:0}.cinematic-error{color:#ffc7a0;background:#080b16d1}.cinematic-waiting{z-index:5;text-align:center;background:radial-gradient(circle,#16211b,#080b16 68%);flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex;position:absolute;inset:0}.cinematic-waiting svg{color:#b7ff93;width:38px;height:38px;animation:2.2s ease-in-out infinite cinematic-hourglass}.cinematic-waiting strong{color:var(--cinematic-brass);font-size:clamp(22px,3vw,34px)}.cinematic-waiting span{color:#c8c2af;font:13px/1.5 sans-serif}@keyframes cinematic-caption-in{0%{opacity:0;filter:blur(5px);transform:translateY(12px)}to{opacity:1;filter:none;transform:none}}@keyframes cinematic-title-in{0%{opacity:0;letter-spacing:.18em;transform:scale(.94)}to{opacity:1;transform:none}}@keyframes cinematic-label-in{0%{opacity:0;transform:translate(-50%,-35%)}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes cinematic-hourglass{50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}@keyframes cinematic-continue-in{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}@media (width<=600px){.cinematic-controls{top:auto;right:14px;bottom:max(14px, env(safe-area-inset-bottom))}.cinematic-caption-wrap{width:calc(100% - 28px);bottom:76px}.cinematic-overlay--monopoly .cinematic-caption-wrap{width:calc(100% - 24px);padding:10px 8px;top:68px;bottom:auto}.cinematic-overlay--monopoly .cinematic-title{letter-spacing:.04em;white-space:nowrap;font-size:clamp(21px,7vw,29px)}.cinematic-overlay--monopoly .cinematic-caption{letter-spacing:.025em;white-space:nowrap;font-size:clamp(11px,3.4vw,15px)}.cinematic-overlay--dune .cinematic-caption-wrap{width:calc(100% - 20px);padding:10px 8px;bottom:150px}.cinematic-overlay--dune .cinematic-title{letter-spacing:.045em;margin:0 0 5px;font-size:clamp(23px,8vw,32px);line-height:1.02}.cinematic-overlay--dune .cinematic-caption{letter-spacing:.015em;font-size:clamp(13px,4vw,17px);line-height:1.25}.cinematic-overlay--raccoon_heist .cinematic-caption-wrap{width:calc(100% - 24px);bottom:150px}.cinematic-overlay--raccoon_heist .cinematic-title{letter-spacing:.035em;white-space:nowrap;margin-top:6px;font-size:clamp(26px,8vw,34px);line-height:1}.cinematic-overlay--raccoon_heist .cinematic-caption{letter-spacing:.015em;font-size:clamp(13px,4vw,16px);line-height:1.25}.cinematic-overlay--goblin_siege .cinematic-caption-wrap{width:calc(100% - 24px);bottom:150px}.cinematic-overlay--goblin_siege .cinematic-title{letter-spacing:.04em;white-space:nowrap;margin-top:6px;font-size:clamp(25px,8vw,34px);line-height:1}.cinematic-overlay--goblin_siege .cinematic-caption{letter-spacing:.012em;font-size:clamp(13px,4vw,16px);line-height:1.25}.cinematic-overlay--chess .cinematic-caption-wrap{width:calc(100% - 24px);padding:10px 14px 11px;bottom:82px}.cinematic-overlay--chess .cinematic-caption-wrap.is-outcome{bottom:150px}.cinematic-overlay--chess .cinematic-title{letter-spacing:.075em;font-size:clamp(24px,8vw,38px)}.cinematic-overlay--chess .cinematic-caption{font-size:clamp(15px,4.4vw,20px)}.cinematic-readiness{top:12px;left:12px}.cinematic-player-label{text-overflow:ellipsis;max-width:95px;padding:3px 6px;overflow:hidden}.cinematic-continue-button{bottom:max(72px, calc(env(safe-area-inset-bottom) + 58px))}.cinematic-mahjong-title{letter-spacing:.04em;font-size:clamp(22px,7.2vw,32px);top:72px}}@media (prefers-reduced-motion:reduce){.cinematic-pixi-mount,.cinematic-caption,.cinematic-title,.cinematic-mahjong-title,.cinematic-player-label,.cinematic-continue-button{transition:none;animation-duration:1ms}}.music-cinematic-fallback{background-image:linear-gradient(#02050914,#01030666),url(/assets/abandoned-music-room-YU_JnVYw.webp);background-position:50%;background-repeat:no-repeat;background-size:cover}.detective-dossier-overlay{z-index:8500;-webkit-backdrop-filter:blur(8px)saturate(.75);backdrop-filter:blur(8px)saturate(.75);background:radial-gradient(circle at 60% 25%,#c79d5c29,#0000 28%),#0b0a09db;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.detective-intro-bg-wrapper{z-index:1;position:absolute;inset:0;overflow:hidden}.detective-intro-bg-image{object-fit:cover;filter:brightness(.42)saturate(1.15);width:100%;height:100%;animation:28s ease-out infinite alternate detective-ken-burns}.detective-intro-overlay-vignette{pointer-events:none;background:radial-gradient(circle,#0b0a0959 0%,#0b0a09e0 75%),linear-gradient(#0b0a0980 0%,#0b0a09f2 100%);position:absolute;inset:0}@keyframes detective-ken-burns{0%{transform:scale(1)translate(0)}50%{transform:scale(1.12)translate(-1.5%,-1%)}to{transform:scale(1.06)translate(1.5%,1%)}}.detective-intro-card{z-index:2;box-sizing:border-box;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);cursor:pointer;border-radius:14px;width:min(840px,92vw);max-height:88vh;padding:clamp(28px,5vw,48px);transition:all .3s;position:relative;overflow-y:auto;box-shadow:0 32px 90px #000000e6,inset 0 0 80px #0006}.detective-theme-noir .detective-intro-card,.detective-theme-noir.detective-intro-card{color:#fef3c7;text-shadow:0 2px 4px #000c;background:#16120ed1;border:1px solid #d9770666;font-family:Special Elite,Courier New,Courier,monospace}.detective-theme-noir .detective-kicker{color:#d97706}.detective-theme-noir h1{color:#fbbf24;text-shadow:0 0 12px #f59e0b66}.detective-theme-cyberpunk .detective-intro-card,.detective-theme-cyberpunk.detective-intro-card{color:#00f0ff;text-shadow:0 0 8px #00f0ff99;background:#0a0f1ed9;border:1px solid #00f0ff73;font-family:Fira Code,Courier New,monospace;box-shadow:0 0 30px #00f0ff40,inset 0 0 50px #ff007f26}.detective-theme-cyberpunk .detective-kicker{color:#ff007f;letter-spacing:.3em}.detective-theme-cyberpunk h1{color:#00f0ff;text-shadow:0 0 15px #00f0ffcc,0 0 30px #ff007f80}.detective-theme-cosmic-sci-fi .detective-intro-card,.detective-theme-cosmic-sci-fi.detective-intro-card{color:#e0f2fe;text-shadow:0 0 8px #38bdf880;background:#0c142ad9;border:1px solid #38bdf866;font-family:Orbitron,sans-serif;box-shadow:0 0 35px #38bdf833}.detective-theme-cosmic-sci-fi .detective-kicker{color:#818cf8}.detective-theme-cosmic-sci-fi h1{color:#38bdf8;text-shadow:0 0 16px #38bdf8b3}.detective-theme-futuristic .detective-intro-card,.detective-theme-futuristic.detective-intro-card{color:#ecfdf5;background:#061c1ad9;border:1px solid #34d39966;font-family:Orbitron,sans-serif;box-shadow:0 0 30px #34d39933}.detective-theme-futuristic .detective-kicker{color:#06b6d4}.detective-theme-futuristic h1{color:#34d399;text-shadow:0 0 15px #34d399b3}.detective-theme-fantasy .detective-intro-card,.detective-theme-fantasy.detective-intro-card{color:#fef3c7;background:#1c140ed9;border:2px solid #fbbf2480;font-family:Cinzel,Georgia,serif;box-shadow:0 0 40px #d9770640}.detective-theme-fantasy .detective-kicker{color:#fbbf24}.detective-theme-fantasy h1{color:#f59e0b;text-shadow:0 2px 12px #d97706b3}.detective-theme-medieval .detective-intro-card,.detective-theme-medieval.detective-intro-card{color:#fef08a;background:#1e0e0ed9;border:2px solid #b91c1c80;font-family:Cinzel Decorative,Georgia,serif}.detective-theme-medieval .detective-kicker{color:#ef4444}.detective-theme-medieval h1{color:#fef08a;text-shadow:0 2px 10px #b91c1ccc}.detective-theme-victorian-gaslamp .detective-intro-card,.detective-theme-victorian-gaslamp.detective-intro-card{color:#fde047;background:#18120cd9;border:1px solid #f59e0b73;font-family:Georgia,Times New Roman,serif}.detective-theme-victorian-gaslamp .detective-kicker{color:#d97706}.detective-theme-victorian-gaslamp h1{color:#fde047;text-shadow:0 2px 10px #78350fcc}.detective-theme-wild-west .detective-intro-card,.detective-theme-wild-west.detective-intro-card{color:#fef08a;background:#1c120ad9;border:2px dashed #d9770680;font-family:Special Elite,Courier New,serif}.detective-theme-wild-west .detective-kicker{color:#b45309}.detective-theme-wild-west h1{color:#fef08a;text-shadow:0 2px 8px #92400ecc}.detective-theme-post-apocalyptic .detective-intro-card,.detective-theme-post-apocalyptic.detective-intro-card{color:#a3e635;text-shadow:0 0 8px #a3e635b3;background:#0c160ae0;border:1px solid #a3e63573;font-family:VT323,monospace;font-size:1.1em}.detective-theme-post-apocalyptic .detective-kicker{color:#84cc16;letter-spacing:.25em}.detective-theme-post-apocalyptic h1{color:#a3e635;text-shadow:0 0 14px #a3e635cc}.detective-theme-pirate .detective-intro-card,.detective-theme-pirate.detective-intro-card{color:#f59e0b;background:#180c10d9;border:2px solid #e11d4873;font-family:Pirata One,Georgia,cursive;font-size:1.15em}.detective-theme-pirate .detective-kicker{color:#fb7185}.detective-theme-pirate h1{color:#f59e0b;text-shadow:0 2px 12px #9f1239cc}.detective-typewriter-cursor{vertical-align:middle;background-color:currentColor;width:8px;height:1.1em;margin-left:3px;animation:.8s infinite detective-blink;display:inline-block}@keyframes detective-blink{0%,to{opacity:1}50%{opacity:0}}.detective-skip-hint{opacity:.6;margin-left:12px;font-family:ui-monospace,monospace;font-size:11px;display:inline-block}.detective-dossier,.detective-loading{box-sizing:border-box;color:#2b251e;background:linear-gradient(#f7eac9ed,#decaa5f5),repeating-linear-gradient(0deg,#0000 0 25px,#4e3d2714 26px);border:1px solid #9d8059;width:min(780px,92vw);max-height:88vh;padding:clamp(28px,5vw,58px);font-family:Georgia,Times New Roman,serif;overflow:auto;transform:rotate(-.25deg);box-shadow:0 32px 90px #000,inset 0 0 70px #66472233}.detective-loading{text-align:center;width:min(470px,90vw)}.detective-loading svg{color:#8f2d2d;width:40px;height:40px}.detective-progress-bar{background:#4e3d272e;border:1px solid #9d8059;width:100%;height:10px;margin-top:6px;overflow:hidden}.detective-progress-fill{background:#8f2d2d;height:100%;transition:width .6s}.detective-kicker{color:#842e28;letter-spacing:.2em;font:800 12px/1.2 ui-monospace,monospace}.detective-dossier h1{text-transform:uppercase;margin:10px 0 22px;font-size:clamp(30px,6vw,54px);line-height:.95}.detective-intro-lines{columns:2 260px;column-gap:36px}.detective-intro-lines p{break-inside:avoid;margin:0 0 10px;line-height:1.55}.detective-solution>p{font-size:19px;line-height:1.65}.detective-ready-row{flex-wrap:wrap;gap:8px;margin:24px 0;display:flex}.detective-ready-row span{opacity:.55;border:1px dashed #8f7653;align-items:center;gap:5px;padding:6px 10px;font:700 12px ui-monospace,monospace;display:inline-flex}.detective-ready-row span.ready{color:#28613e;opacity:1;border-style:solid}.detective-ready-row button,.detective-exclude{color:#8f2d2d;cursor:pointer;background:0 0;border:1px solid #8f2d2d;padding:4px 7px;font:700 10px ui-monospace,monospace}.detective-primary{color:#fff7e5;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:#7d2b28;border:0;width:100%;padding:14px 20px;font:800 13px ui-monospace,monospace}.detective-primary:disabled{filter:grayscale();opacity:.5;cursor:wait}.detective-error{color:#9a1d1d;font-weight:700}.detective-rating{text-align:center;border:1px solid #987b54;margin:24px 0;padding:16px}.detective-rating legend{text-transform:uppercase;padding:0 8px;font:700 12px ui-monospace,monospace}.detective-rating button{color:#9b742e;cursor:pointer;background:0 0;border:0;padding:5px}.detective-rating svg{width:32px;height:32px}.detective-solve-mydice{flex-wrap:wrap;align-items:center;gap:6px;margin:16px 0;display:flex}.detective-solve-mydice-label{text-transform:uppercase;opacity:.7;margin-right:4px;font:700 11px ui-monospace,monospace}.detective-solve-mydie{background:#ffffff40;border:1px solid #8f7653;justify-content:center;align-items:center;width:30px;height:30px;font-size:16px;display:inline-flex}.detective-solve-grid{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin:20px 0;display:grid}.detective-solve-object{text-align:center;cursor:pointer;color:inherit;background:#fff3;border:1px solid #8f7653;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;font-family:inherit;display:flex}.detective-solve-object.selected{background:#7d2b2829;border-color:#7d2b28;box-shadow:inset 0 0 0 1px #7d2b28}.detective-solve-object:disabled{cursor:default;opacity:.75}.detective-solve-object-icon{font-size:22px;line-height:1}.detective-solve-object-name{font:600 11px/1.25 ui-monospace,monospace}.detective-solve-actions{gap:10px;margin-top:10px;display:flex}.detective-solve-actions .detective-primary{flex:2}.detective-secondary{color:#8f2d2d;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;background:0 0;border:1px solid #8f2d2d;flex:1;padding:14px 20px;font:800 13px ui-monospace,monospace}.detective-secondary:disabled{filter:grayscale();opacity:.5;cursor:wait}.detective-scene-button{z-index:65;aspect-ratio:3/2;cursor:zoom-in;background:#171411;border:5px solid #312a22;width:min(46vw,720px);padding:0;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 12px 45px #000}.detective-scene-button img{object-fit:cover;width:100%;height:100%;display:block}.detective-scene-button span{color:#f2e4c7;text-transform:uppercase;background:#110e0bcc;align-items:center;gap:6px;padding:7px 10px;font:700 11px ui-monospace,monospace;display:flex;position:absolute;bottom:10px;right:10px}.detective-scene-button em{color:#e7d8bd;background:#171411;justify-content:center;align-items:center;gap:8px;font:700 12px ui-monospace,monospace;display:flex;position:absolute;inset:0}.detective-viewer{z-index:10000;touch-action:none;background:#050403f7;place-items:center;display:grid;position:fixed;inset:0;overflow:hidden}.detective-viewer img{-webkit-user-select:none;user-select:none;cursor:grab;max-width:92vw;max-height:88vh;transition:transform 80ms linear}.detective-close{z-index:2;color:#eee0c5;cursor:pointer;background:#211c18;border:1px solid #8f2d2d;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:fixed;top:18px;right:18px}.detective-zoom-hint{z-index:2;color:#c9b99e;align-items:center;gap:7px;font:600 12px ui-monospace,monospace;display:flex;position:fixed;bottom:20px;left:50%;transform:translate(-50%)}@media (width<=700px){.detective-scene-button{width:82vw;top:38%}}.detective-badge-time{color:#b45309;background:#b4530926;border:1px solid #f59e0b59;border-radius:6px;align-items:center;gap:6px;margin-top:10px;padding:6px 12px;font:700 12px ui-monospace,monospace;animation:2.5s ease-in-out infinite detective-pulse-glow;display:inline-flex}.detective-generating-header{flex-direction:column;justify-content:center;align-items:center;gap:12px;margin-bottom:12px;display:flex}.detective-generating-header h2{color:#2b251e;margin:0;font-size:20px}.detective-generating-visual{justify-content:center;align-items:center;width:110px;height:110px;margin:12px auto 16px;display:flex;position:relative}.detective-radar-circle{background:radial-gradient(circle,#d977061f 0%,#1e1812d9 75%);border:2px solid #d9770666;border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;display:flex;position:relative;overflow:hidden;box-shadow:0 0 25px #d9770640,inset 0 0 15px #d9770633}.detective-radar-sweep{background:conic-gradient(#0000 0deg 270deg,#f59e0b66 360deg);border-radius:50%;animation:2.4s linear infinite detective-radar-sweep;position:absolute;inset:0}.detective-spin-compass{color:#f59e0b80;animation:8s linear infinite detective-rotate-clockwise;position:absolute}.detective-spin-magnifier{color:#f59e0b;filter:drop-shadow(0 0 8px #f59e0bcc);animation:4s ease-in-out infinite detective-rotate-counter;position:absolute}@keyframes detective-radar-sweep{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes detective-rotate-clockwise{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes detective-rotate-counter{0%{transform:rotate(0)scale(1)}50%{transform:rotate(-180deg)scale(1.15)}to{transform:rotate(-360deg)scale(1)}}@keyframes detective-pulse-glow{0%,to{opacity:.85;filter:drop-shadow(0 0 4px #d9770666)}50%{opacity:1;filter:drop-shadow(0 0 12px #f59e0bcc)}}
