/* Cinnery mini-game page (only loaded on /game/ and /nl/spel/) */
.game-page main { padding-bottom: 40px; }
.game-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: 8px; }
.game-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; flex-wrap: wrap; }
.game-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--plum); }
.game-brand .logo-icon { width: 38px; }
.game-brand .logo-word { width: 118px; }
.game-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.game-nav a { font-family: var(--font-display); font-weight: 600; padding: 8px 16px; border-radius: 999px; background: var(--tint); }
.game-nav a:hover { background: var(--pink-soft); }

.game { position: relative; border-radius: var(--r); overflow: hidden; background: var(--pink-soft); border: 1px solid var(--line);
  height: clamp(240px, 62vw, min(560px, 78vh)); margin: 20px 0 36px; }
.game canvas { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; }
.game canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--plum); }
.game-start, .game-result { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 16px;
  background: rgba(255,252,250,.78); text-align: center; }
.game-start { flex-direction: column; }
.game-start[hidden], .game-result[hidden] { display: none; }
.game-how { margin: 0; max-width: 34ch; font-weight: 500; }
.game-how kbd { font: 600 .85em var(--font-body); padding: 1px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.game-slow { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--ink-2); cursor: pointer; }
.game-result { background: rgba(255,252,250,.94); text-align: left; }
.game-result .res-img { width: clamp(90px, 22vw, 180px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.game-result h2 { font-size: clamp(1.3rem, 3.4vw, 2.2rem); margin-bottom: .2em; }
.game-result p { margin: 0 0 .3em; }
.res-flavour { font-family: var(--font-display); font-weight: 600; color: var(--plum); }
.res-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.res-actions .btn { padding: 10px 20px; }
@media (max-width: 560px) {
  .game-result { flex-direction: column; text-align: center; gap: 8px; overflow-y: auto; justify-content: flex-start; }
  .game-result .res-img { width: 72px; }
  .res-actions { justify-content: center; }
  .res-actions .btn { padding: 8px 14px; font-size: .9rem; }
  .game-result .res-short, .game-result .res-record { display: none; }
}
.game-info { display: grid; gap: 28px 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.game-info h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.game-info ul { padding-left: 1.2em; margin: 0 0 1em; }
.game-foot { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--ink-2); }

