/* AUREA Sugoroku (patch #267) — board-first layout (game-top rule). */
.sg-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.sg-stage { padding: 18px; }
.sg-toprow { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sg-theme { font-weight: 800; color: var(--gold, #FFD700); margin: 0; }
.sg-bgm { background: rgba(127,140,180,.14); border: 1px solid rgba(160,170,210,.35); border-radius: 10px; width: 42px; height: 42px; font-size: 1.05rem; cursor: pointer; }
.sg-bgm[aria-pressed="true"] { border-color: #FFD700; box-shadow: 0 0 10px rgba(255,215,0,.35); }
.sg-soon { text-align: center; padding: 10px 0 2px; }
.sg-board {
  display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr);
  gap: 6px; max-width: 860px; margin: 6px auto 14px; aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 50%, rgba(138,43,226,.16), rgba(10,15,30,.25) 70%);
  border: 1px solid rgba(179,136,255,.35); border-radius: 18px; padding: 10px;
}
.sg-cell {
  position: relative; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, rgba(30,38,66,.95), rgba(16,22,44,.95));
  border: 1px solid rgba(120,130,180,.35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.sg-cell img { width: 62%; height: 62%; object-fit: contain; }
.sg-cell-lab { font-size: clamp(.5rem, 1.4vw, .72rem); font-weight: 800; color: #E8E4FF; letter-spacing: .02em; }
.sg-k-start { border-color: #FFD700; box-shadow: inset 0 0 14px rgba(255,215,0,.35); }
.sg-k-points_l, .sg-k-lucky { border-color: rgba(255,215,0,.65); }
.sg-k-ticket, .sg-k-medal { border-color: rgba(179,136,255,.7); }
.sg-here { outline: 3px solid #FFD700; outline-offset: 1px; box-shadow: 0 0 18px rgba(255,215,0,.55); }
.sg-pin { position: absolute; top: 0; right: 4px; color: #FFD700; font-size: .8rem; }
.sg-panel { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.sg-dice { font-size: 4.2rem; line-height: 1; color: #fff; text-shadow: 0 0 18px rgba(179,136,255,.8); min-width: 76px; text-align: center; }
.sg-stats { min-width: 220px; }
.sg-stat { margin: 4px 0; }
.sg-roll { min-width: 220px; min-height: 54px; }
.sg-roll:disabled { opacity: .45; box-shadow: none; }
.sg-gauge { height: 12px; border-radius: 999px; background: rgba(120,130,180,.25); overflow: hidden; margin: 10px 0; }
.sg-gauge-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #8A2BE2, #FFD700); transition: width .6s ease; }
.sg-table { width: 100%; border-collapse: collapse; }
.sg-table td { padding: 6px 8px; border-bottom: 1px solid rgba(120,130,180,.25); }
.sg-table td:last-child { text-align: right; font-weight: 700; }
@media (max-width: 700px) {
  .sg-board { gap: 3px; padding: 6px; }
  .sg-cell { border-radius: 7px; }
  .sg-panel { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-gauge-fill { transition: none; }
}
