:root{--bg:#0f1115;--panel:#161c27;--ink:#e9eef9;--muted:#9fb0cf;--gold:#ffd700;--cell: 28px}*{box-sizing:border-box}body{margin:0;background-image:radial-gradient(circle at 50% 0%,#1a1f2e,#0a0c12 60%,#000);background-size:cover;background-position:center;background-attachment:fixed;background-repeat:no-repeat;color:var(--ink);font-family:"Press Start 2P",ui-monospace,Courier New,monospace;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;cursor:none;position:relative}body:before{content:"";position:fixed;inset:0;background-image:repeating-linear-gradient(90deg,transparent,transparent 24px,rgba(255,215,0,.03) 24px,rgba(255,215,0,.03) 25px),repeating-linear-gradient(0deg,transparent,transparent 24px,rgba(255,215,0,.03) 24px,rgba(255,215,0,.03) 25px);pointer-events:none;z-index:0}main{position:relative;z-index:1}.table{width:min(900px,96vw);background:linear-gradient(135deg,#161c27,#0d1017);border:4px solid var(--gold);padding:20px;box-shadow:0 20px 50px #0009,0 0 20px #ffd7004d,0 0 60px #ffd7001f}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;border-bottom:4px solid #000;padding-bottom:10px}header a{color:var(--gold);text-decoration:none;border:3px solid #000;padding:8px 12px;font-weight:700;background:#000;transition:background .2s;font-size:10px;cursor:none}header a:hover{background:var(--gold);color:#000}header button{color:var(--gold);background:#000;border:2px solid var(--gold);padding:4px 6px;cursor:none;transition:background .2s}header button:hover{background:var(--gold);color:#000}#explosion-overlay{position:fixed;inset:0;z-index:200;pointer-events:none;background-image:url(/Explosion.gif);background-size:cover;background-position:center;background-repeat:no-repeat;opacity:0;transition:opacity .15s ease}#explosion-overlay.show{opacity:1}#bg-video{display:none}#bg-video.show{display:block}.overlay{position:fixed;inset:0;background:#000000d9;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}.overlay.open{display:flex}.modal{width:min(360px,90vw);max-height:70vh;overflow-y:auto;background:#0a0a0a;border:3px solid var(--gold);padding:20px;box-shadow:0 0 20px #ffd70066}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:10px}.modal-head h2{margin:0;font-size:12px;color:var(--gold);font-weight:400}.btn{color:var(--gold);text-decoration:none;border:3px solid var(--gold);padding:8px 12px;background:#000;font-size:9px;transition:background .2s,color .2s;cursor:none;font-family:inherit;letter-spacing:1px;text-transform:uppercase}.btn:hover{background:var(--gold);color:#000}.picker-row{display:flex;align-items:center;padding:6px 0;border-bottom:1px solid rgba(255,215,0,.2);color:var(--gold);font-size:11px}.picker-row:last-child{border-bottom:none}.volume-row{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid rgba(255,215,0,.3)}.volume-row input[type=range]{flex:1;accent-color:var(--gold);cursor:none;touch-action:none;padding:14px 0}.volume-mute-btn{all:unset;cursor:none;font-size:16px;padding:4px 8px;border:1px solid var(--gold);background:#000}body.theme-hello-kitty header a,body.theme-hello-kitty header button,body.theme-hello-kitty .btn,body.theme-hello-kitty .volume-mute-btn{background:#ffb6d9;border-color:#ff5fa8;color:#9c004f;text-shadow:none;box-shadow:0 0 12px #ff5fa866}body.theme-hello-kitty header a:hover,body.theme-hello-kitty header button:hover,body.theme-hello-kitty .btn:hover,body.theme-hello-kitty .volume-mute-btn:hover{background:#ffd1e8}body.theme-old-ppl-slot header a,body.theme-old-ppl-slot header button,body.theme-old-ppl-slot .btn,body.theme-old-ppl-slot .volume-mute-btn{background:gold;border-color:#c9a227;color:#3a2a00;text-shadow:none;box-shadow:0 0 12px #ffd70073}body.theme-old-ppl-slot header a:hover,body.theme-old-ppl-slot header button:hover,body.theme-old-ppl-slot .btn:hover,body.theme-old-ppl-slot .volume-mute-btn:hover{background:#ffe766}@keyframes uv-glow{0%,to{box-shadow:0 0 10px #9d4edd59}50%{box-shadow:0 0 22px #b026ffa6}}body.theme-waster header a,body.theme-waster header button,body.theme-waster .btn,body.theme-waster .volume-mute-btn,body.theme-evian header a,body.theme-evian header button,body.theme-evian .btn,body.theme-evian .volume-mute-btn{background:#1a0533;border-color:#9d4edd;color:#e0aaff;text-shadow:0 0 8px rgba(176,38,255,.6);animation:uv-glow 2.4s ease-in-out infinite}body.theme-waster header a:hover,body.theme-waster header button:hover,body.theme-waster .btn:hover,body.theme-waster .volume-mute-btn:hover,body.theme-evian header a:hover,body.theme-evian header button:hover,body.theme-evian .btn:hover,body.theme-evian .volume-mute-btn:hover{background:#2d0a5c}@keyframes beat-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.28)}}body.theme-girl-like-me header a,body.theme-girl-like-me header button,body.theme-girl-like-me .btn,body.theme-girl-like-me .volume-mute-btn{animation:beat-pulse .438s ease-in-out infinite}@keyframes rgb-cycle{0%{filter:hue-rotate(0deg)}to{filter:hue-rotate(360deg)}}body.theme-clarity header a,body.theme-clarity header button,body.theme-clarity .btn,body.theme-clarity .volume-mute-btn{animation:rgb-cycle 1.875s linear infinite}@media (prefers-reduced-motion: reduce){body.theme-waster header a,body.theme-waster header button,body.theme-waster .btn,body.theme-waster .volume-mute-btn,body.theme-evian header a,body.theme-evian header button,body.theme-evian .btn,body.theme-evian .volume-mute-btn,body.theme-girl-like-me header a,body.theme-girl-like-me header button,body.theme-girl-like-me .btn,body.theme-girl-like-me .volume-mute-btn,body.theme-clarity header a,body.theme-clarity header button,body.theme-clarity .btn,body.theme-clarity .volume-mute-btn{animation:none}}body.theme-hello-kitty h1{color:#ffb6d9;text-shadow:0 0 8px rgba(255,95,168,.6),2px 2px 0 #000}body.theme-hello-kitty .table{border-color:#ff5fa8;box-shadow:0 20px 50px #0009,0 0 20px #ff5fa866,0 0 60px #ff5fa826}body.theme-hello-kitty button.primary{background:#ff5fa8;--glow-color:#ff5fa8}body.theme-hello-kitty button.primary:hover:not(:disabled){background:#ff8dc2}body.theme-hello-kitty .diff-btn.active{border-color:#ff5fa8;color:#ff5fa8;background:#33001a}body.theme-hello-kitty .status{color:#ffb6d9}body.theme-old-ppl-slot h1{color:gold;text-shadow:0 0 8px rgba(255,215,0,.6),2px 2px 0 #000}body.theme-old-ppl-slot .table{border-color:gold;box-shadow:0 20px 50px #0009,0 0 20px #ffd70066,0 0 60px #ffd70026}body.theme-old-ppl-slot button.primary{background:#c9a227;--glow-color:#ffd700}body.theme-old-ppl-slot button.primary:hover:not(:disabled){background:#e0b82e}body.theme-old-ppl-slot .diff-btn.active{border-color:gold;color:gold;background:#332b00}body.theme-old-ppl-slot .status{color:gold}body.theme-waster h1,body.theme-evian h1{color:#e0aaff;text-shadow:0 0 8px rgba(176,38,255,.6),2px 2px 0 #000}body.theme-waster .table,body.theme-evian .table{border-color:#9d4edd;box-shadow:0 20px 50px #0009,0 0 20px #9d4edd66,0 0 60px #9d4edd26}body.theme-waster button.primary,body.theme-evian button.primary{background:#5a2d8a;--glow-color:#9d4edd}body.theme-waster button.primary:hover:not(:disabled),body.theme-evian button.primary:hover:not(:disabled){background:#713bab}body.theme-waster .diff-btn.active,body.theme-evian .diff-btn.active{border-color:#9d4edd;color:#e0aaff;background:#1a0533}body.theme-waster .status,body.theme-evian .status{color:#e0aaff}body.theme-girl-like-me h1,body.theme-girl-like-me .table{animation:beat-pulse .438s ease-in-out infinite}body.theme-clarity h1,body.theme-clarity .table{animation:rgb-cycle 1.875s linear infinite}body.theme-clarity button.primary{animation:neonBtnPulse 2s ease-in-out infinite,rgb-cycle 1.875s linear infinite}@media (prefers-reduced-motion: reduce){body.theme-girl-like-me h1,body.theme-girl-like-me .table,body.theme-clarity h1,body.theme-clarity .table{animation:none}body.theme-clarity button.primary{animation:neonBtnPulse 2s ease-in-out infinite}}h1{margin:0;font-size:clamp(13px,2.6vw,20px);letter-spacing:1px;color:var(--gold);font-weight:400;text-shadow:2px 2px 0 #000;text-align:center}#strubles-badge{position:fixed;top:calc(15px + env(safe-area-inset-top));left:calc(20px + env(safe-area-inset-left));display:flex;align-items:center;gap:8px;background:#000;padding:8px 12px;border:3px solid var(--gold);font-weight:700;z-index:20}#strubles-badge img{width:28px;height:28px}.controls-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:center;margin-top:14px}.diff-group{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}.diff-btn{all:unset;cursor:none;padding:8px 12px;border:3px solid #333;background:#1a1f2e;color:var(--muted);font-size:9px;font-family:inherit;letter-spacing:1px;text-transform:uppercase}.diff-btn.active{border-color:var(--gold);color:var(--gold);background:#2a2410}.diff-btn:hover{border-color:var(--gold)}.betbox{display:flex;align-items:center;gap:8px}.betbox input{width:70px;padding:8px 10px;border:3px solid #000;background:#0f1523;color:var(--ink);font-weight:700;font-family:inherit;font-size:11px}.betbox button{padding:8px 14px;min-width:44px;min-height:44px}button{all:unset;cursor:none;padding:12px 20px;border:3px solid #333;background:#4a6fa5;color:#fff;font-weight:400;font-size:11px;font-family:"Press Start 2P",ui-monospace,monospace;transition:background .15s,transform .1s}button:hover:not(:disabled){background:#6a8fc5}button:active:not(:disabled){transform:translateY(2px)}button.primary{background:#2c5f8a;--glow-color:#3d9bff;animation:neonBtnPulse 2s ease-in-out infinite}button.primary:hover:not(:disabled){background:#3d7cae}button.accent{background:#22757a;--glow-color:#22d3ee}button.accent.active{background:#7a5a22;--glow-color:#ffd700;animation:neonBtnPulse 2s ease-in-out infinite}button.accent:hover:not(:disabled){background:#2f9aa1}@keyframes neonBtnPulse{0%,to{box-shadow:0 0 4px var(--glow-color),0 0 10px var(--glow-color);text-shadow:0 0 4px var(--glow-color)}50%{box-shadow:0 0 10px var(--glow-color),0 0 24px var(--glow-color),0 0 38px var(--glow-color);text-shadow:0 0 8px var(--glow-color)}}button:disabled{opacity:.5;cursor:not-allowed}.status-row{display:flex;justify-content:center;gap:24px;margin-top:14px;font-size:11px;color:var(--gold)}.board-wrap{display:flex;justify-content:center;margin-top:16px;overflow-x:auto;padding-bottom:6px}.board{display:grid;gap:2px;background:#000;border:4px solid #333;padding:4px;width:max-content}.board.dense{gap:0;border-width:2px;padding:2px}.board.dense .cell{border-width:1px}.cell{all:unset;box-sizing:border-box;width:var(--cell);height:var(--cell);display:flex;align-items:center;justify-content:center;background:#3a4356;border:2px solid;border-color:#5a6578 #23283a #23283a #5a6578;font-size:calc(var(--cell) * .5);font-family:ui-monospace,Courier New,monospace;font-weight:700;cursor:none;user-select:none;-webkit-user-select:none;touch-action:manipulation}.cell:hover:not(.revealed){background:#454f66}.cell.revealed{background:#181c26;border:1px solid #23283a;cursor:default}.cell.mine{background:#7a2222}.cell.mine.exploded{background:#f33}.cell.flagged{background:#3a4356}.cell.water{background:transparent;border:none;pointer-events:none}.board.hormuz{background-size:100% 100%;background-repeat:no-repeat}.cell[data-n="1"]{color:#4fa8ff}.cell[data-n="2"]{color:#4caf50}.cell[data-n="3"]{color:#ff5252}.cell[data-n="4"]{color:#ab47bc}.cell[data-n="5"]{color:#a1887f}.cell[data-n="6"]{color:#26c6da}.cell[data-n="7"]{color:#eee}.cell[data-n="8"]{color:#9e9e9e}.status{margin-top:14px;text-align:center;font-weight:400;font-size:11px;color:#fff;min-height:16px}.status.win{color:#4caf50}.status.lose{color:#ff5252}#earn-panel{display:flex;gap:15px;margin-top:24px;flex-wrap:wrap;justify-content:center;padding:16px;background:#ffd7000f;border:3px solid var(--gold)}#earn-panel a{padding:12px 18px;font-size:10px;background:var(--gold);border:3px solid #8b7a1a;color:#000;text-decoration:none;font-weight:400;text-transform:uppercase;letter-spacing:1px;font-family:"Press Start 2P",ui-monospace,monospace;cursor:none}#earn-panel a:hover{background:#ffe958}@media (max-width:768px){body{overflow-y:auto;padding:12px}.table{width:100vw;max-width:100%;padding:10px;margin:0 -12px}h1{font-size:clamp(11px,3vw,14px)}header{flex-direction:column;gap:6px}:root{--cell: 22px}.controls-row{gap:6px}.diff-btn{font-size:8px;padding:6px 8px}.betbox input{width:50px;font-size:9px}button{font-size:9px;padding:8px 12px}#strubles-badge{top:calc(8px + env(safe-area-inset-top));left:calc(8px + env(safe-area-inset-left));padding:6px 8px}#strubles-badge img{width:22px;height:22px}}
