body{background:#0b0e12;color:#f5f0e5}.mg-wrap{max-width:1120px;margin:65px auto;padding:0 24px 90px}.mg-eyebrow,.mg-tag{color:#dcb35d;font-size:12px;letter-spacing:2px;font-weight:800}.mg-wrap h1{font-size:clamp(38px,5vw,64px);font-weight:900;color:#fff}.mg-lead{color:#b5bec8;font-size:17px;margin:12px 0 34px}.mg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px}.mg-card,.mg-game{background:#111b20;border:1px solid #725426;border-radius:17px;overflow:hidden}.mg-cover{height:215px;background:radial-gradient(circle at 30% 25%,#1d5b55,#111722 65%,#341d12);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;text-align:center}.mg-cover span{font-size:65px}.mg-cover strong{font-size:28px;color:#e6bd68;line-height:1.1;letter-spacing:3px}.mg-body{padding:25px}.mg-body h2{color:white;font-size:26px;margin:10px 0}.mg-body p{color:#b5bec8;min-height:68px}.mg-button,.mg-disabled{display:inline-block;background:linear-gradient(#f1ce7a,#b78131);border:1px solid #efcf83;border-radius:9px;color:#171008;font-weight:800;padding:12px 24px;text-decoration:none;cursor:pointer}.mg-disabled{background:#34373c;color:#b4b5b9;border-color:#505157;cursor:default}.mg-back{color:#e4b95e;text-decoration:none}.mg-game{max-width:690px;padding:24px;margin:30px auto;text-align:center}.mg-stats{display:flex;justify-content:space-between;gap:12px;text-align:left;margin-bottom:18px}.mg-stats>div{background:#202c32;border:1px solid #43505a;border-radius:9px;padding:12px 16px;font-size:13px;min-width:90px}.mg-stats strong{display:block;color:#e9c57a;font-size:25px}.mg-board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;max-width:560px;margin:0 auto}.mg-tile{aspect-ratio:1;border:1px solid #725426;border-radius:9px;background:#1c272c;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:5px}.mg-tile img{width:100%;height:100%;object-fit:contain;image-rendering:pixelated}.mg-tile.selected{outline:3px solid #f2d17c;background:#375046}.mg-status{color:#e5c276;margin:20px 0 12px}.mg-note{font-size:12px;color:#a6b0b8;margin-top:20px}@media(max-width:600px){.mg-wrap{padding:0 10px;margin:30px auto}.mg-game{padding:12px}.mg-board{gap:3px}.mg-tile{padding:2px}.mg-stats>div{padding:8px;min-width:0}}
/* Keep drag and click gestures in the arcade from selecting game text. */
:is(#mg-game-screen,#rm-duel-match,#fr-match,#pp-game,#forge-stage,#rf-game,#arena,#rr-cabinet),
:is(#mg-game-screen,#rm-duel-match,#fr-match,#pp-game,#forge-stage,#rf-game,#arena,#rr-cabinet) *{
  -webkit-user-select:none;
  user-select:none;
}
:is(#mg-game-screen,#rm-duel-match,#fr-match,#pp-game,#forge-stage,#rf-game,#arena,#rr-cabinet) :is(input,textarea,[contenteditable=true]){
  -webkit-user-select:text;
  user-select:text;
}
