/* 坑口十二番: the game's look on top of the standard theme "paper-light" (tokens only; the game's own components are in css/ext.css).
   <html data-theme="paper-light kouguchi"> (game.json "theme"). Anything not set here is the standard paper-light value. */
[data-theme~="kouguchi"] {
  /* the record binder of the mine office: cream paper (windows), ink, the green of the board */
  --gf-bg: #05070a; --gf-surface: #f3efe3; --gf-surface-2: #e9e3d2; --gf-panel: rgba(243, 239, 227, 0.98); --gf-panel-soft: rgba(243, 239, 227, 0.94);
  --gf-text: #23292b; --gf-text-dim: #5a625d; --gf-heading: #2f6a55; --gf-accent: #2f6a55; --gf-accent-hover: #2a5f4b; --gf-accent-ink: #ffffff; --gf-accent-2: #c98a2b;
  --gf-accent-soft: #dfe9df; --gf-highlight: #f7ecd0; --gf-danger: #9a3b2a; --gf-ok: #2f6a55; --gf-border: #c8c0aa; --gf-border-strong: #7f8a83;
  --gf-goal: #7a4a08; --gf-scrim: rgba(3, 5, 5, 0.5); --gf-overlay: rgba(3, 5, 5, 0.66); --gf-overlay-strong: rgba(3, 5, 5, 0.8);
  --gf-font: "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif; --gf-font-serif: "Zen Old Mincho", "Yu Mincho", serif; --gf-font-hand: "Yomogi", "Zen Kurenaido", cursive;
  --gf-radius: 6px; --gf-radius-lg: 8px; --gf-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
  --gf-hud-bg: #f3efe3;
  /* the puzzle boards and terminals: the green glass of the mine office machines */
  --gf-mg-bg: #1d2a24; --gf-mg-bg-2: #0d1612; --gf-mg-line: #3a6a50; --gf-mg-btn: #12261a; --gf-mg-ink: #c8ffd8; --gf-mg-accent: #6fb595; --gf-mg-warn: #e8cf7a; --gf-mg-dim: #6aa880;
  /* the map: cool rooms, warm corridors */
  --gf-map-room: #dbe8e0; --gf-map-corridor: #e9e3d2; --gf-map-outdoor: #d6e8cc; --gf-map-stairs: #f0d9b8; --gf-map-door: #8a5a00;
}

/* a phone held sideways: the closing button row of a panel (the opening card 「はじめる」) stays at the foot of the window while the text above scrolls
   (kit 1.16.2 does this for rows up to two levels deep; the panel body here sits one level deeper) */
@media (orientation: landscape) and (max-height: 500px) {
  .wm-body #pbody > .row2:last-child { position: sticky; bottom: 0; z-index: 2; margin-top: 8px; background: var(--gf-surface, var(--panel, #fffdf6)); box-shadow: 0 0 0 6px var(--gf-surface, var(--panel, #fffdf6)), 0 -14px 14px 4px var(--gf-surface, var(--panel, #fffdf6)); }
}
