@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap";:root{--bg-gradient: linear-gradient(135deg, #0b0f19 0%, #12152b 40%, #05070f 100%);--panel-bg: rgba(17, 21, 40, .65);--panel-border: rgba(255, 255, 255, .08);--text-primary: #f7f8fb;--text-secondary: #9ca3af;--text-muted: #6b7280;--accent-primary: #2563eb;--accent-hover: #1d4ed8;--accent-glow: rgba(37, 99, 235, .35);--status-analyzing: #a78bfa;--status-human: #22c55e;--status-declared: #fbbf24;--status-covert: #f87171;--font-family: "Inter", system-ui, -apple-system, sans-serif;--font-heading: "Inter", system-ui, -apple-system, sans-serif;--transition-smooth: all .3s cubic-bezier(.4, 0, .2, 1);--tooltip-bg: #12152b}:root[data-theme=light]{--bg-gradient: linear-gradient(135deg, #ffffff 0%, #f9fafb 55%, #eff6ff 100%);--panel-bg: rgba(255, 255, 255, .85);--panel-border: #e5e7eb;--text-primary: #111827;--text-secondary: #475569;--text-muted: #6b7280;--accent-primary: #2563eb;--accent-hover: #1d4ed8;--accent-glow: rgba(37, 99, 235, .18);--status-analyzing: #7c3aed;--status-human: #059669;--status-declared: #b45309;--status-covert: #dc2626;--tooltip-bg: #111827}:root[data-theme=light] .app-header,:root[data-theme=light] .chat-input-panel,:root[data-theme=light] .app-footer{background:#f9fafbd9}:root[data-theme=light] .app-wrapper{box-shadow:0 1px 3px #11182714,0 12px 32px #11182714}:root[data-theme=light] .telemetry-dashboard{background:#f3f4f699}:root[data-theme=light] .message.assistant .message-bubble,:root[data-theme=light] .dashboard-metric,:root[data-theme=light] .chat-form{background:#f4f6fb}:root[data-theme=light] .chat-form:focus-within{background:#fff}:root[data-theme=light] .investigations-table th{background:#f9fafb}:root[data-theme=light] .investigations-table tbody tr:hover td{background:#11182708}:root[data-theme=light] .app-logo h1{background:linear-gradient(135deg,#2563eb,#7c3aed);-webkit-background-clip:text;background-clip:text}:root[data-theme=light] .retry-btn,:root[data-theme=light] .expired-btn-secondary,:root[data-theme=light] .chat-submit-btn:disabled{background:#eef1f7;border-color:#e5e7eb;color:var(--text-secondary)}:root[data-theme=light] .retry-btn:hover,:root[data-theme=light] .expired-btn-secondary:hover{background:#e5e7eb;border-color:#d1d5db}:root[data-theme=light] .app-footer .footer-logo{filter:none;opacity:1}:root[data-theme=light] ::-webkit-scrollbar-thumb{background:#1118272e}:root[data-theme=light] ::-webkit-scrollbar-thumb:hover{background:#1118274d}:root[data-theme=light] .loading-overlay{background:#f9fafbcc}*{box-sizing:border-box}body{margin:0;padding:0;background:var(--bg-gradient);color:var(--text-primary);font-family:var(--font-family);min-height:100vh;display:flex;justify-content:center;align-items:center;overflow:hidden}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ffffff1a;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#fff3}.tap-target-min{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.app-wrapper{display:flex;flex-direction:column;width:95vw;max-width:960px;height:90vh;height:90dvh;background:var(--panel-bg);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid var(--panel-border);border-radius:28px;box-shadow:0 24px 64px #0009;overflow:hidden;position:relative;animation:fadeIn .6s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.app-header{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;border-bottom:1px solid var(--panel-border);background:#0e0b1c66}.agent-status-indicator{display:flex;align-items:center;gap:8px}.account-chip{position:relative}.account-chip-trigger{display:inline-flex;align-items:center;gap:6px;max-width:220px;padding:6px 10px;background:#ffffff0a;border:1px solid var(--panel-border);border-radius:8px;color:var(--text-secondary);font-family:var(--font-family);font-size:.8rem;cursor:pointer;transition:var(--transition-smooth)}.account-chip-trigger:hover,.account-chip-trigger[aria-expanded=true]{color:var(--text-primary);background:#ffffff12;border-color:#ffffff2e}.account-chip-trigger:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}.account-chip-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chip-caret{flex-shrink:0;transition:transform .2s ease}.account-chip-trigger[aria-expanded=true] .account-chip-caret{transform:rotate(180deg)}.account-chip-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:200px;margin:0;padding:6px;list-style:none;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:10px;box-shadow:0 12px 32px #00000073;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:200}.account-chip-menu li{margin:0}.account-chip-menu li+li{border-top:1px solid var(--panel-border);margin-top:4px;padding-top:4px}.account-chip-menu a,.account-chip-menu button{display:block;width:100%;box-sizing:border-box;text-align:left;padding:8px 10px;background:none;border:none;border-radius:6px;color:var(--text-muted);font-family:var(--font-family);font-size:.85rem;text-decoration:none;cursor:pointer;transition:var(--transition-smooth)}.account-chip-menu a:hover,.account-chip-menu button:hover{color:var(--text-primary);background:#ffffff0f}.account-chip-menu a:focus-visible,.account-chip-menu button:focus-visible{color:var(--text-primary);background:#ffffff0f;outline:2px solid var(--accent-primary);outline-offset:-2px}.login-btn{padding:.4rem .9rem;background:var(--accent-primary);border:1px solid var(--accent-primary);color:#fff;border-radius:8px;font-size:.8rem;font-weight:600;font-family:var(--font-family);cursor:pointer}.modal-close{position:absolute;top:.75rem;right:.75rem;background:transparent;border:none;color:var(--text-secondary);font-size:1.25rem;line-height:1;cursor:pointer}.app-logo{display:flex;align-items:center;gap:12px}.app-logo h1{font-family:var(--font-heading);font-size:1.35rem;font-weight:800;margin:0;letter-spacing:-.03em;background:linear-gradient(135deg,#60a5fa,#a78bfa);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.app-logo span{font-size:.75rem;font-weight:500;letter-spacing:1.5px;text-transform:uppercase;color:var(--text-muted);border:1px solid var(--panel-border);padding:4px 8px;border-radius:6px}.status-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;border-radius:99px;font-size:.8rem;font-weight:600;border:1px solid transparent;transition:var(--transition-smooth)}.status-badge.analyzing{color:var(--status-analyzing);background:#e0aaff14;border-color:#e0aaff33}.status-badge.unknown{color:var(--text-secondary);background:#a9a4c214;border-color:#a9a4c233}.status-badge.verified_human{color:var(--status-human);background:#00b89414;border-color:#00b89433}.status-badge.declared_agent{color:var(--status-declared);background:#fdcb6e14;border-color:#fdcb6e33}.status-badge.covert_agent{color:var(--status-covert);background:#d6303114;border-color:#d6303133}.chat-container{display:flex;flex:1;overflow:hidden;position:relative}.chat-messages{flex:1;overflow-y:auto;padding:32px;display:flex;flex-direction:column;gap:24px}.message{display:flex;flex-direction:column;max-width:75%;animation:messageSlideIn .3s cubic-bezier(.18,.89,.32,1.28) forwards}@keyframes messageSlideIn{0%{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.message.user{align-self:flex-end}.message.assistant{align-self:flex-start}.message-label{font-size:.75rem;font-weight:500;color:var(--text-muted);margin-bottom:6px;margin-left:12px}.message.user .message-label{margin-left:0;margin-right:12px;align-self:flex-end}.message-bubble{padding:16px 20px;border-radius:20px;font-size:.95rem;line-height:1.5;white-space:pre-wrap;position:relative;box-shadow:0 4px 12px #0000001a}.message.user .message-bubble{background:var(--accent-primary);color:#fff;border-bottom-right-radius:4px;box-shadow:0 4px 16px var(--accent-glow)}.message.assistant .message-bubble{background:#ffffff0a;color:var(--text-primary);border-bottom-left-radius:4px;border:1px solid var(--panel-border)}.chat-input-panel{padding:24px 32px 32px;border-top:1px solid var(--panel-border);background:#0e0b1c66}.chat-form{display:flex;position:relative;background:#ffffff08;border:1px solid var(--panel-border);border-radius:18px;padding:8px 8px 8px 18px;align-items:center;gap:12px;transition:var(--transition-smooth)}.chat-form:focus-within{border-color:var(--accent-primary);box-shadow:0 0 0 4px var(--accent-glow);background:#ffffff0d}.chat-input{flex:1;background:transparent;border:none;outline:none;color:var(--text-primary);font-family:var(--font-family);font-size:.95rem;resize:none;min-height:44px;height:auto;max-height:160px;overflow-y:auto;padding-top:12px;line-height:1.4}.chat-input::placeholder{color:var(--text-muted)}.chat-submit-btn{background:var(--accent-primary);color:#fff;border:none;border-radius:14px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition-smooth)}.chat-submit-btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.chat-submit-btn:disabled{background:#ffffff0d;color:var(--text-muted);cursor:not-allowed}.telemetry-dashboard{width:280px;border-left:1px solid var(--panel-border);background:#0a081480;padding:32px 24px;display:flex;flex-direction:column;gap:28px;overflow-y:auto;animation:slideLeft .5s cubic-bezier(.4,0,.2,1)}@keyframes slideLeft{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}.dashboard-title{font-family:var(--font-heading);font-size:.9rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--text-muted);margin:0}.dashboard-header-heading{margin:0;font:inherit}.telemetry-dashboard .dashboard-header{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;min-height:0;background:none;border:none;padding:0;margin:0;font:inherit;color:inherit;text-align:left;cursor:default}.telemetry-toggle-caret{display:none}.telemetry-body{display:flex;flex-direction:column;gap:28px}.telemetry-dashboard .dashboard-header:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px;border-radius:4px}.dashboard-metric{background:#ffffff05;border:1px solid var(--panel-border);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:6px}.metric-label{font-size:.75rem;color:var(--text-secondary)}.metric-value{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;color:var(--text-primary)}.metric-value.highlight{color:var(--status-analyzing);text-shadow:0 0 12px rgba(224,170,255,.3)}.blocked-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#07050ceb;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;z-index:100;animation:fadeIn .4s ease-in-out}.blocked-overlay h2{font-family:var(--font-heading);font-size:2rem;color:var(--status-covert);margin:16px 0 8px;font-weight:600}.blocked-overlay p{color:var(--text-secondary);max-width:480px;line-height:1.6;margin-bottom:24px}.session-expired-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;padding:32px;background:#07050cc7;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);z-index:100;animation:fadeIn .4s ease-in-out}:root[data-theme=light] .session-expired-overlay{background:#f4f6fb8c}.session-expired-card{width:min(92%,30rem);padding:2rem;text-align:center;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:14px;box-shadow:0 20px 48px #00000080;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.session-expired-icon{color:var(--status-declared)}.session-expired-card h2{font-family:var(--font-heading);font-size:1.5rem;font-weight:600;color:var(--text-primary);margin:12px 0 6px}.session-expired-card p{color:var(--text-secondary);line-height:1.6;margin:0}.session-expired-actions{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;align-items:center;margin-top:1.5rem}.expired-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.1rem;border-radius:8px;font-family:var(--font-family);font-size:.85rem;font-weight:500;cursor:pointer;transition:var(--transition-smooth)}.expired-btn:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px}.expired-btn-secondary{background:#ffffff0d;border:1px solid var(--panel-border);color:var(--text-primary)}.expired-btn-secondary:hover{background:#ffffff1a;border-color:#ffffff2e}.expired-btn-primary{background:var(--accent-primary);border:1px solid var(--accent-primary);color:#fff}.expired-btn-primary:hover:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover)}.expired-btn:disabled{opacity:.6;cursor:not-allowed}.session-expired-hint{margin-top:.85rem!important;color:var(--text-secondary);font-size:.85rem}.session-expired-error{margin-top:1rem!important;color:var(--status-declared)}.investigations-panel{flex:1;overflow-y:auto;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:2rem}.investigations-title{font-family:var(--font-heading);font-size:1.4rem;font-weight:600;color:var(--text-primary);margin:0 0 1.25rem}.investigations-state{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem;color:var(--text-secondary)}.investigations-table{width:100%;min-width:560px;border-collapse:separate;border-spacing:0;background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:12px;overflow:hidden}.investigations-table th{text-align:left;padding:.85rem 1rem;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);background:#ffffff08;border-bottom:1px solid var(--panel-border)}.investigations-table td{padding:.85rem 1rem;font-size:.85rem;color:var(--text-secondary);border-top:1px solid var(--panel-border)}.investigations-table tbody tr:first-child td{border-top:none}.investigations-table tbody tr:hover td{background:#ffffff08}.investigations-link{color:var(--accent-primary);font-family:monospace;text-decoration:none}.investigations-link:hover{color:var(--text-primary);text-decoration:underline}.retry-btn{background:#ffffff0d;border:1px solid var(--panel-border);color:var(--text-primary);padding:12px 24px;border-radius:12px;font-weight:500;cursor:pointer;transition:var(--transition-smooth)}.retry-btn:hover{background:#ffffff1a;border-color:#fff3}.spinner{border:3px solid rgba(255,255,255,.05);border-radius:50%;border-top:3px solid var(--accent-primary);width:24px;height:24px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (max-width: 640px){body{min-height:100svh;align-items:flex-start}.app-wrapper{width:100vw;height:100vh;height:100dvh;max-width:none;border-radius:0;border:none;box-shadow:none}.app-header{padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));gap:8px}.app-header .agent-status-indicator{display:none}.app-logo h1{font-size:1.05rem}.app-logo span{padding:3px 6px;font-size:.65rem}.account-chip-trigger{max-width:120px}.chat-container{flex-direction:column}.chat-messages{padding:20px 16px;gap:18px}.message{max-width:88%}.message-bubble{padding:12px 16px;font-size:.9rem}.chat-input-panel{padding:12px 16px 16px;padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}.telemetry-dashboard{width:100%;flex-shrink:0;border-left:none;border-top:1px solid var(--panel-border);padding:14px 20px}.telemetry-dashboard .dashboard-header{min-height:44px;cursor:pointer}.telemetry-toggle-caret{display:block;margin-left:auto;transition:transform .2s ease}.telemetry-dashboard[data-open=true] .telemetry-toggle-caret{transform:rotate(180deg)}.telemetry-body{display:none;margin-top:20px;flex-direction:column;gap:20px}.telemetry-dashboard[data-open=true] .telemetry-body{display:flex;max-height:60dvh;overflow-y:auto}.investigations-panel{padding:1rem}.investigations-title{font-size:1.15rem}}@media (prefers-reduced-motion: reduce){.telemetry-toggle-caret{transition:none}}.app-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 32px;border-top:1px solid var(--panel-border);background:#0e0b1c66;font-size:.72rem;color:var(--text-muted)}.app-footer .footer-logo{height:20px;width:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.85;margin-right:8px}.app-footer .footer-copy{display:flex;align-items:center}.app-footer .footer-links{display:flex;align-items:center;gap:14px}.app-footer .footer-links a,.app-footer .footer-links button{color:var(--text-muted);text-decoration:none;transition:var(--transition-smooth)}.app-footer .footer-links a:hover,.app-footer .footer-links button:hover{color:var(--text-primary)}.app-footer .footer-links button{background:none;border:none;padding:0;font:inherit;cursor:pointer}.app-footer a:focus-visible{outline:2px solid var(--accent-primary);outline-offset:2px;border-radius:4px;color:var(--text-primary)}.app-footer .footer-debug{font-family:monospace;color:var(--text-secondary);background:#ffffff08;border:1px solid var(--panel-border);border-radius:8px;display:inline-block;vertical-align:middle;padding:3px 8px;max-width:40vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:all;-webkit-user-select:all;transition:var(--transition-smooth)}.app-footer .footer-debug:hover{color:var(--text-primary)}.app-footer .footer-tooltip{position:absolute;bottom:100%;margin-bottom:8px;padding:6px 10px;background:var(--tooltip-bg, #1c1830);border:1px solid var(--panel-border);border-radius:8px;color:var(--text-secondary);font-size:.68rem;white-space:nowrap;box-shadow:0 8px 24px #00000080;z-index:50;pointer-events:none}@media (max-width: 640px){.app-footer{flex-direction:column;gap:6px;text-align:center;padding:12px;padding-bottom:max(12px,env(safe-area-inset-bottom));padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}@media (prefers-reduced-motion: reduce){.app-footer a,.app-footer .footer-debug{transition:none}}.loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:500;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.25rem;background:#06040eb8;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:fadeIn .3s ease-out}.loading-overlay-hourglass{color:var(--accent-primary);animation:hourglassFlip 1.6s ease-in-out infinite}.loading-overlay-message{margin:0;color:var(--text-secondary);font-size:.95rem;letter-spacing:.01em}@keyframes hourglassFlip{0%{transform:rotate(0)}50%{transform:rotate(180deg)}to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){.loading-overlay,.loading-overlay-hourglass{animation:none}}.footer-end{display:flex;align-items:center;gap:12px}.theme-switch{display:inline-flex;align-items:center;padding:0;background:none;border:none;cursor:pointer;line-height:0}.theme-switch:focus-visible{outline:2px solid var(--accent-primary);outline-offset:3px;border-radius:999px}.theme-switch-track{position:relative;display:inline-flex;align-items:center;justify-content:space-between;gap:6px;width:48px;height:24px;padding:0 5px;border-radius:999px;background:#ffffff0d;border:1px solid var(--panel-border);transition:var(--transition-smooth)}.theme-switch:hover .theme-switch-track{border-color:#ffffff2e}:root[data-theme=light] .theme-switch-track{background:#1118270d}:root[data-theme=light] .theme-switch:hover .theme-switch-track{border-color:#d1d5db}.theme-switch-icon{position:relative;z-index:1;flex-shrink:0;color:var(--text-muted);transition:color .25s ease}.theme-switch-thumb{position:absolute;top:50%;left:3px;width:18px;height:18px;border-radius:50%;background:var(--accent-primary);box-shadow:0 1px 3px #00000059;transform:translateY(-50%);transition:transform .25s cubic-bezier(.4,0,.2,1)}.theme-switch[aria-checked=true] .theme-switch-thumb{transform:translate(24px,-50%)}.theme-switch[aria-checked=true] .theme-switch-icon.moon,.theme-switch[aria-checked=false] .theme-switch-icon.sun{color:#fff}@media (prefers-reduced-motion: reduce){.theme-switch-track,.theme-switch-icon,.theme-switch-thumb{transition:none}}.main-panel{flex:1;display:flex;flex-direction:column;min-width:0;min-height:0}.tab-panel{flex:1;display:flex;flex-direction:column;min-height:0}.tab-panel[hidden]{display:none}.view-tabs{display:flex;gap:4px;padding:8px 12px 0;border-bottom:1px solid var(--panel-border)}.view-tab{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border:1px solid transparent;border-bottom:none;border-radius:10px 10px 0 0;background:transparent;color:var(--text-secondary);font-size:.85rem;font-weight:600;cursor:pointer;transition:var(--transition-smooth)}.view-tab:hover{color:var(--text-primary);background:var(--panel-bg)}.view-tab.active{color:var(--accent-primary);background:var(--panel-bg);border-color:var(--panel-border)}.game-panel{position:relative;flex:1;display:flex;flex-direction:column;min-height:0;padding:16px;gap:12px}.game-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.game-agent-counter{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;background:color-mix(in srgb,var(--status-covert, #e05555) 14%,transparent);border:1px solid color-mix(in srgb,var(--status-covert, #e05555) 40%,transparent);color:var(--status-covert, #e05555);font-variant-numeric:tabular-nums}.game-agent-count{font-weight:700;font-family:var(--font-heading);min-width:1.2ch;text-align:right}.game-title{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-family:var(--font-heading);color:var(--text-primary)}.game-difficulty select{padding:6px 10px;border-radius:8px;background:var(--panel-bg);border:1px solid var(--panel-border);color:var(--text-primary);font-size:.8rem;cursor:pointer}.game-new-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:8px;background:var(--accent-primary);border:1px solid var(--accent-primary);color:#fff;font-size:.8rem;font-weight:600;cursor:pointer;transition:var(--transition-smooth)}.game-new-btn:hover:not(:disabled){background:var(--accent-hover)}.game-new-btn:disabled{opacity:.5;cursor:not-allowed}.game-error{color:var(--status-covert, #e0803f);font-size:.8rem}.game-board-wrap{position:relative;flex:1;min-height:0;overflow:auto;display:flex;align-items:flex-start;justify-content:center}.game-grid{display:grid;gap:3px;padding:4px}.game-cell{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid var(--panel-border);border-radius:5px;background:var(--panel-bg);color:var(--text-primary);font-weight:700;font-size:.8rem;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .12s ease,transform .05s ease}.game-cell:hover:not(:disabled){transform:translateY(-1px);border-color:var(--accent-primary)}.game-cell:focus-visible{outline:2px solid var(--accent-primary);outline-offset:1px}.game-cell:disabled{cursor:default}.game-cell.revealed{background:#40bf891a;border-color:#40bf894d;cursor:default}.game-cell.flagged{color:var(--status-warning, #e0803f)}.game-cell.agent{background:#dc505033;border-color:#dc50508c;color:var(--status-covert, #e05555)}.game-loading{display:inline-flex;align-items:center;gap:8px;color:var(--text-secondary);padding:24px}.game-result-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:24px;background:color-mix(in srgb,var(--panel-bg) 55%,transparent);-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px)}.game-result-overlay.won{color:var(--status-human, #40bf89)}.game-result-overlay.lost{color:var(--status-covert, #e05555)}.game-result-overlay h2{margin:0;color:var(--text-primary)}.game-result-overlay p{margin:0;color:var(--text-secondary);max-width:30ch}.game-award-line{font-weight:600}.game-result-overlay.won svg{animation:award-pop .48s ease-out}@keyframes award-pop{0%{transform:scale(.4);opacity:0}60%{transform:scale(1.15);opacity:1}to{transform:scale(1)}}@media (prefers-reduced-motion: reduce){.game-result-overlay.won svg{animation:none}}.game-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.game-controls{display:flex;align-items:center;gap:12px;flex-shrink:0;margin-left:auto}.game-hint{font-size:.75rem;color:var(--text-muted);text-align:left;margin:0;flex:1 1 12rem}.game-hint kbd{padding:1px 5px;border-radius:4px;border:1px solid var(--panel-border);background:var(--panel-bg);font-size:.7rem}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
