.room-mines { background:#06151f; --game-accent:#76ffe0; --game-glow:#25d5b52b; }
.mines-arena { border:1px solid #77eddb40; border-radius:22px; overflow:hidden; background:linear-gradient(#06141f0a,#06141fbb),url("../../../images/mines/cavern-v1.0890a722a4a2.webp") center/cover; box-shadow:0 10px 35px #0007,inset 0 1px #b0fff344; margin-top:17px; padding:0 13px 12px; }
.room-mines .room-arena-heading { text-shadow:0 3px 10px #00121f; }
.room-mines .room-arena-heading h1 { color:#ecfffc; background:linear-gradient(#fff,#9df9ec 50%,#34bcaf); background-clip:text; -webkit-text-fill-color:transparent; filter:drop-shadow(0 3px 0 #123e4c); }
.mines-frame { position:relative; padding:9px; border-radius:17px; background:linear-gradient(135deg,#467e8c,#0a2435 25%,#0a2435 75%,#3c697a); border:1px solid #5b9da9; box-shadow:0 5px 20px #000b,inset 0 1px 2px #b9ffff88; }
.mines-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:7px; padding:4px; border-radius:11px; background:#03101bcc; }
.mines-cell { position:relative; aspect-ratio:1; padding:0; border-radius:9px; border:1px solid #5794ab77; background:linear-gradient(145deg,#375c77,#17334b 50%,#102239); box-shadow:inset 0 2px 1px #bbd9f13b,0 3px 0 #020e1b,0 4px 6px #0007; cursor:pointer; touch-action:manipulation; }
.mines-cell::before { content:''; position:absolute; inset:21%; border:1px solid #6d9ebd38; transform:rotate(45deg); border-radius:3px; background:linear-gradient(135deg,#7bb1d222,#173b53); box-shadow:inset 1px 1px #bfd5e217; }
.mines-cell:disabled { cursor:default; }
.mines-cell:not(:disabled):active { transform:translateY(2px); background:#245573; }
.mines-cell svg { display:none; position:absolute; inset:3%; width:94%; height:94%; margin:0; }
.mines-cell.is-safe { background:radial-gradient(#1e898b88,#0a2a39); border-color:#4af2d7aa; box-shadow:inset 0 0 12px #4ce8c51a,0 2px 0 #02161c; }
.mines-cell.is-safe::before,.mines-cell.is-mine::before { display:none; }
.mines-cell.is-safe .mines-diamond,.mines-cell.is-mine .mines-bomb { display:block; }
.mines-cell.is-mine { background:radial-gradient(#a2443f,#301c2d); border-color:#ff8875aa; }
.mines-cell.is-muted { opacity:.4; }
.mines-cell.is-hit { box-shadow:0 0 22px #ff583a88,inset 0 0 14px #ff492f44; opacity:1; }
.mines-board-caption { display:flex; justify-content:space-between; color:#cefff1; font-size:10px; margin:11px 5px 0; text-shadow:0 2px 5px #000; }
.mines-board-caption span:last-child { color:#ffb88e; }
.mines-celebration { position:absolute; inset:35% 8% auto; z-index:3; display:flex; align-items:center; justify-content:center; gap:10px; border:1px solid #8dffe2; border-radius:14px; background:linear-gradient(#194a4bf2,#092a39f2); box-shadow:0 5px 30px #0009,0 0 18px #4bffd344; padding:16px 8px; pointer-events:none; }
.mines-celebration span { color:#75ffe1; font-size:25px; }
.mines-celebration strong { color:#ebfff9; font-size:28px; letter-spacing:-1px; }
.mines-spark { position:absolute; width:5px; height:5px; border-radius:1px; background:#a1ffe9; box-shadow:0 0 7px #00ffd9; pointer-events:none; z-index:4; left:50%; top:50%; }
@media(max-width:340px) { .mines-grid { gap:5px; padding:2px; }.mines-frame { padding:6px; }.mines-arena { padding-inline:9px; } }
