/* Wimmer Community V6.12 - Gratis Spillehjørne */
.wc-games-page{max-width:1180px;margin:0 auto;display:grid;gap:18px}
.wc-games-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid rgba(94,234,212,.18);background:linear-gradient(135deg,rgba(8,20,32,.96),rgba(5,13,22,.94));border-radius:28px;padding:24px}
.wc-games-hero h1{margin:0;font-size:36px}.wc-games-hero p{color:#a8b7ca;line-height:1.5}
.wc-games-warning{border:1px solid rgba(247,191,69,.25);background:rgba(247,191,69,.10);color:#f9dd88;border-radius:20px;padding:16px}.wc-games-warning strong,.wc-games-warning span{display:block}
.wc-games-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wc-game-card{text-decoration:none;color:#eaf6ff;border:1px solid rgba(148,163,184,.16);background:rgba(9,20,33,.82);border-radius:24px;padding:20px;display:grid;gap:8px;min-height:180px}
.wc-game-card:hover{border-color:rgba(94,234,212,.35);transform:translateY(-2px)}
.wc-game-card span{font-size:34px}.wc-game-card strong{font-size:20px;color:#fff}.wc-game-card em{font-style:normal;color:#a8b7ca}.wc-game-card small{color:#8affc3;font-weight:900}
.wc-games-panel{border:1px solid rgba(148,163,184,.16);background:rgba(9,20,33,.82);border-radius:24px;padding:20px}
.wc-score-list{display:grid;gap:10px}.wc-score-list>div{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:16px;padding:12px}.wc-score-list strong,.wc-score-list span{display:block}.wc-score-list span{color:#9fb0c6;margin-top:3px}
.wc-game-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px;flex-wrap:wrap}.memory-board{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.memory-card{aspect-ratio:1;border-radius:18px;border:1px solid rgba(94,234,212,.20);background:rgba(255,255,255,.06);color:#fff;font-size:34px;font-weight:1000}.memory-card.open,.memory-card.done{background:rgba(94,234,212,.16)}
.reaction-box{width:100%;min-height:220px;border-radius:24px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff;font-size:34px;font-weight:1000}.reaction-box.wait{background:rgba(247,191,69,.16)}.reaction-box.go{background:rgba(35,220,135,.22)}.reaction-box.fail{background:rgba(255,95,122,.18)}.reaction-box.done{background:rgba(59,130,246,.18)}
.guess-box{display:grid;grid-template-columns:1fr auto auto;gap:10px}.guess-box input{border:1px solid rgba(148,163,184,.18);background:#07111d;color:#eef7ff;border-radius:16px;padding:13px}
.ttt-board{display:grid;grid-template-columns:repeat(3,110px);gap:10px;justify-content:center}.ttt-board button{width:110px;height:110px;border-radius:20px;border:1px solid rgba(94,234,212,.20);background:rgba(255,255,255,.06);color:#fff;font-size:44px;font-weight:1000}
@media(max-width:900px){.wc-games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wc-games-hero{display:grid}.guess-box{grid-template-columns:1fr}.wc-games-panel{padding:15px;border-radius:20px}}
@media(max-width:520px){.wc-games-grid{grid-template-columns:1fr}.memory-board{grid-template-columns:repeat(4,1fr);gap:7px}.memory-card{font-size:26px;border-radius:14px}.ttt-board{grid-template-columns:repeat(3,86px)}.ttt-board button{width:86px;height:86px}.wc-games-hero h1{font-size:28px}}


/* V6.13 ekstra spil */
.wc-games-types{display:flex;gap:8px;flex-wrap:wrap}
.wc-games-types span{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055);color:#dbeafe;border-radius:999px;padding:8px 11px;font-weight:900;font-size:13px}
.game-canvas{width:100%;max-width:420px;aspect-ratio:1/1;background:#020812;border:1px solid rgba(94,234,212,.20);border-radius:20px;display:block;margin:0 auto;touch-action:none}
.game-canvas.wide{max-width:640px;aspect-ratio:64/42}
.mine-board{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;max-width:520px;margin:auto}
.mine-board button{aspect-ratio:1;border-radius:10px;border:1px solid rgba(94,234,212,.18);background:rgba(255,255,255,.07);color:#fff;font-weight:1000;font-size:18px}
.mine-board button.open{background:rgba(94,234,212,.16)}
.word-display{font-size:36px;letter-spacing:10px;text-align:center;font-weight:1000;color:#fff;margin:14px 0}
.letters{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}
.letters button{width:42px;height:42px;border-radius:12px;border:1px solid rgba(94,234,212,.18);background:rgba(255,255,255,.07);color:#fff;font-weight:1000}
.letters button:disabled{opacity:.35}
.math-question{font-size:42px;text-align:center;font-weight:1000;color:#fff;margin:18px 0}
.rps-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.rps-buttons button{font-size:46px;width:110px;height:100px;border-radius:22px;border:1px solid rgba(94,234,212,.20);background:rgba(255,255,255,.07)}
.color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:520px;margin:auto}
.color-grid button{height:110px;border-radius:22px;border:1px solid rgba(255,255,255,.20)}
@media(max-width:560px){
  .word-display{font-size:28px;letter-spacing:6px}
  .letters button{width:36px;height:36px}
  .math-question{font-size:32px}
  .rps-buttons button{width:88px;height:82px;font-size:36px}
  .color-grid{grid-template-columns:repeat(2,1fr)}
  .color-grid button{height:86px}
}


/* V6.14 click-fix: tydelige spilknapper */
.wc-game-card{cursor:pointer;position:relative}
.wc-game-card .wc-game-play-btn{margin-top:auto;justify-content:center;text-align:center}
.wc-games-hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.wc-games-direct-links{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:700px){
  .wc-games-hero-actions{display:grid;justify-content:stretch}
  .wc-games-hero-actions .wc-btn,.wc-game-card .wc-game-play-btn{width:100%}
}
