/* HUNDRED YEN's page: the shared skin and stage are ../module.css (site/public/module.css); this is only what's its own
   (HAMMERSCHLAG's style.css, copied). The page is gold like every module's; only the panel's own lights keep their colour: the sky,
   a summer afternoon, gold, then sunset as KEY lifts her. */

/* 20 HP at the line's scale */
.stage { --panel-ratio: 101.3 / 128.5; --panel-max: 560px; --panel-max-narrow: 520px; overflow-x: clip; }
.stage:focus { outline: none; }

/* the lights: each strip of sky a glow (a piece of assets/lights.png, light as alpha) in the sky's colour over the face's bare FR4,
   at the engine's level; neighbours add as light does */
.panel2d { isolation: isolate; }
.p2-win { position: absolute; pointer-events: none; opacity: 0; z-index: 2; mix-blend-mode: screen; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }   /* no colour transition: a pad's colour follows its level frame by frame */
.p2 { z-index: 4; }
.p2-button:focus-visible { outline: 2px solid rgba(212, 175, 55, 0.7); outline-offset: 2px; border-radius: 50%; }

/* beside the panel: her line, in kana with each syllable's romaji and the English under it, and the pitch line */
#scope { display: block; width: 100%; height: 250px; }
.status { min-height: 2.8em; }
.readout { min-height: 1.6em; font: 400 0.74rem/1.4 "Space Mono", ui-monospace, monospace; color: var(--ink); }
#patch-note { min-height: 8.6em; }
/* the chart: TOPIC's twelve across the top, the topic's twenty-eight WORDs under them, four across (seven rows); press a word and she sings it */
.chart-note { max-width: 62ch; }
.chart-wrap { max-width: 640px; margin-top: 12px; }
#chart-topics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
#chart-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
#chart-topics button, #chart-grid button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; padding: 5px 2px; border: 1px solid rgba(212,175,55,.28); border-radius: 3px; background: transparent; color: rgba(240,216,120,.92); font: inherit; cursor: pointer; }
#chart-grid button { min-height: 54px; }
#chart-topics .n { font: 10px "Space Mono", ui-monospace, monospace; color: rgba(163,160,148,.85); }
#chart-topics .k, #chart-grid .k { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", "Meiryo", sans-serif; font-size: 15px; line-height: 1.2; }
#chart-topics .e, #chart-grid .e { font: 10px/1.2 "Space Mono", ui-monospace, monospace; color: rgba(163,160,148,.85); text-align: center; overflow-wrap: anywhere; }
#chart-topics button[aria-pressed="true"] { border-color: rgba(240,216,120,.85); background: rgba(212,175,55,.12); }
#chart-topics button.on .n { color: rgba(240,216,120,.95); }
#chart-topics button:hover, #chart-grid button:hover { background: rgba(212,175,55,.14); }
#chart-topics button:focus-visible, #chart-grid button:focus-visible { outline: 2px solid rgba(240,216,120,.95); outline-offset: 1px; }
#chart-grid button.on { background: rgba(240,216,120,.9); color: #0d0d0c; }
#chart-grid button.on .e { color: #3a3628; }
@media (max-width: 520px) { #chart-topics { grid-template-columns: repeat(4, minmax(0, 1fr)); } #chart-grid .k { font-size: 13px; } }
