/* ゴルフコンペ スコア集計 — 共通スタイル
   スコアカードの見た目（ヘッダー帯・PAR行・○□の記号）を土台にしている。 */

:root {
  --paper: #F2F4EE;
  --surface: #FFFFFF;
  --ink: #14201A;
  --muted: #5A6860;
  --line: #D6DCD2;
  --line-strong: #A9B4A7;
  --head: #0E5A57;
  --head-ink: #FFFFFF;
  --accent: #0E5A57;
  --accent-ink: #FFFFFF;
  --accent-soft: #DDECE7;
  --sand: #EDE4C8;
  --sand-ink: #54461B;
  --under: #C4332A;
  --over: #1E4C8F;
  --good: #2C7549;
  --warn: #9A5F12;
  --bad: #B3261E;
  --focus: #E0A100;
  --shadow: 0 1px 2px rgba(20, 32, 26, .08), 0 6px 20px rgba(20, 32, 26, .08);
  /* 端末に入っているフォントだけを使う（外部フォントの読み込みで初回表示が止まらないように） */
  --f-ui: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --f-num: "Helvetica Neue", "Arial Narrow", Arial, system-ui, sans-serif;
  --tabs-h: 58px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0E1412;
    --surface: #17201D;
    --ink: #E6EDE8;
    --muted: #97A69E;
    --line: #2A3531;
    --line-strong: #435049;
    --head: #0B3634;
    --head-ink: #E6F3EF;
    --accent: #5FC2B5;
    --accent-ink: #062320;
    --accent-soft: #173A36;
    --sand: #37311F;
    --sand-ink: #E7DAB1;
    --under: #FF7B6B;
    --over: #8DB3FF;
    --good: #6FCF97;
    --warn: #F0B45A;
    --bad: #FF8A80;
    --focus: #F5C542;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

/* ---------- 役割ごとの色（ひと目でどの画面かわかるように） ----------
   幹事＝オレンジ／リーダー・サブリーダー＝青／見るだけ＝緑／幹事1台版＝紫。
   html[data-role] は :root より詳しいので、ダークモードも役割ごとに書く。 */
html[data-role="admin"] {
  --head: #9B3C11; --head-ink: #FFF6F0;
  --accent: #9B3C11; --accent-ink: #FFFFFF; --accent-soft: #FBE6D8;
  --paper: #F8F2EC; --line: #E0D5CB; --line-strong: #BCA898;
}
html[data-role="leader"] {
  --head: #16457E; --head-ink: #F2F7FF;
  --accent: #16457E; --accent-ink: #FFFFFF; --accent-soft: #DEE9F7;
  --paper: #EFF2F7; --line: #D3DAE4; --line-strong: #9FAEC2;
}
html[data-role="view"] {
  --head: #0E5A57; --head-ink: #FFFFFF;
  --accent: #0E5A57; --accent-ink: #FFFFFF; --accent-soft: #DDECE7;
}
html[data-role="solo"] {
  --head: #553091; --head-ink: #F6F1FF;
  --accent: #553091; --accent-ink: #FFFFFF; --accent-soft: #EAE1FA;
  --paper: #F4F1F9; --line: #DCD5E8; --line-strong: #AEA2C6;
}

@media (prefers-color-scheme: dark) {
  html[data-role="admin"] {
    --head: #491B06; --head-ink: #FFE9DC;
    --accent: #F0A377; --accent-ink: #2A1206; --accent-soft: #40220F;
    --paper: #140D09; --surface: #201713; --line: #352A23; --line-strong: #524135;
  }
  html[data-role="leader"] {
    --head: #0C2340; --head-ink: #E8F0FB;
    --accent: #8FB7EE; --accent-ink: #08182E; --accent-soft: #16304F;
    --paper: #0A0F16; --surface: #151D27; --line: #26303D; --line-strong: #3D4C5F;
  }
  html[data-role="view"] {
    --head: #0B3634; --head-ink: #E6F3EF;
    --accent: #5FC2B5; --accent-ink: #062320; --accent-soft: #173A36;
  }
  html[data-role="solo"] {
    --head: #291748; --head-ink: #EFE6FF;
    --accent: #BFA3F0; --accent-ink: #1A1030; --accent-soft: #2E2148;
    --paper: #0F0B16; --surface: #1B1626; --line: #2C2539; --line-strong: #453B5A;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.6 var(--f-ui);
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom));
}
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { cursor: default; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
a { color: var(--accent); }
h2 { font-size: 20px; margin: 4px 0 6px; text-wrap: balance; }
h3 { font-size: 15px; margin: 0; }

/* ---------- ヘッダー ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--head); color: var(--head-ink);
  padding: calc(10px + env(safe-area-inset-top)) 16px 12px;
  border-bottom: 5px solid var(--accent);
}
.top-in {
  max-width: 640px; margin: 0 auto;
  display: flex; gap: 12px; align-items: flex-start; justify-content: space-between;
}
.top h1 { margin: 0; font-size: 18px; line-height: 1.3; text-wrap: balance; }
.top p { margin: 2px 0 0; font-size: 12px; opacity: .88; word-break: keep-all; overflow-wrap: anywhere; }
.mode {
  display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.6; padding: 0 9px; margin-left: 5px;
  border: 1px solid rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .18);
  border-radius: 999px; vertical-align: 1px; white-space: nowrap;
}
.sync {
  flex: none; display: flex; align-items: center; gap: 6px;
  font-size: 11px; white-space: nowrap; padding-top: 3px; font-variant-numeric: tabular-nums;
}
.sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8FE0C8; }
.sync[data-s="wait"]::before { background: #F2C14E; }
.sync[data-s="fail"]::before { background: #FF8A7A; }
.sync[data-s="local"]::before { background: rgba(255, 255, 255, .6); }

/* ---------- お知らせ帯（ヘッダーのすぐ下・画面を切り替えても残る） ---------- */
.notice {
  position: sticky; top: 0; z-index: 9;
  max-width: 640px; margin: 0 auto; padding: 10px 14px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; line-height: 1.5;
  background: var(--sand); color: var(--sand-ink);
  border-bottom: 1px solid var(--line-strong);
}
.notice.bad { background: var(--bad); color: #FFFFFF; border-bottom-color: var(--bad); }
.notice.bad .btn { background: rgba(255, 255, 255, .95); color: var(--bad); border-color: transparent; }
.notice span { min-width: 0; }
.notice .btn { min-height: 34px; padding: 4px 12px; font-size: 13px; border-radius: 9px; }

main { max-width: 640px; margin: 0 auto; padding: 14px 14px 28px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- 下のタブ ---------- */
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  background: var(--surface); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabs-in { max-width: 640px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.tabs button {
  position: relative; border: 0; background: none; min-height: var(--tabs-h);
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.tabs button[aria-current="page"] { color: var(--accent); }
.tabs button[aria-current="page"]::before {
  content: ""; position: absolute; top: 0; left: 24%; right: 24%; height: 3px;
  background: var(--accent); border-radius: 0 0 3px 3px;
}

/* ---------- 役割の説明ボックス ---------- */
.rolebar {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-soft); border: 1px solid var(--accent); border-left-width: 6px;
  border-radius: 12px; padding: 11px 13px; font-size: 13px; line-height: 1.6;
}
.rolebar b { font-size: 14px; }
.rolebar p { margin: 0; }
.rolebar.warn { background: var(--sand); color: var(--sand-ink); border-color: var(--warn); }

/* ---------- 共通部品 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 16px;
  border: 1px solid var(--line-strong); background: var(--surface);
  border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink);
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; }
.btn.small { min-height: 38px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn.danger { color: var(--bad); border-color: currentColor; background: transparent; }
.btn:disabled { opacity: .4; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.link { border: 0; background: none; padding: 0; color: var(--accent); font-weight: 700; text-decoration: underline; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.empty {
  background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 14px;
  padding: 22px 18px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.empty p { margin: 0; }
.loading { padding: 40px 0; text-align: center; color: var(--muted); }
.pill {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.pill.wait { background: var(--sand); color: var(--sand-ink); }
.t-under { color: var(--under); }
.t-over { color: var(--over); }

/* ---------- 入力：組とホール ---------- */
.seg-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 6px; }
.seg {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px;
  min-height: 46px; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.seg.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.seg .tick { font-size: 12px; font-style: normal; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.toggle { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.toggle button { border: 0; background: var(--surface); padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.bar .toggle { flex: none; }
.bar .note { min-width: 0; }
.toggle button.on { background: var(--ink); color: var(--paper); }

.holes { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.hole {
  border: 1px solid var(--line); background: var(--surface); border-radius: 8px;
  padding: 5px 0 4px; display: flex; flex-direction: column; align-items: center; line-height: 1.15;
}
.hole b { font-family: var(--f-num); font-size: 19px; font-weight: 600; }
.hole small { font-size: 10px; color: var(--muted); }
.hole.filled { background: var(--accent-soft); border-color: transparent; }
.hole.on { outline: 2.5px solid var(--accent); outline-offset: -1px; background: var(--surface); }

.hole-head { display: flex; align-items: baseline; gap: 12px; padding: 0 2px; }
.hn { font-family: var(--f-num); font-size: 46px; font-weight: 700; line-height: 1; }
.hn small { font-family: var(--f-ui); font-size: 15px; font-weight: 700; margin-left: 2px; }
.hp {
  font-family: var(--f-num); font-size: 18px; font-weight: 600; letter-spacing: .06em;
  background: var(--sand); color: var(--sand-ink); padding: 1px 10px; border-radius: 6px;
}

.plist { display: flex; flex-direction: column; gap: 8px; }
.prow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 14px;
}
.who { min-width: 0; display: flex; flex-direction: column; }
.who .nm { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; line-height: 1.35; }
.who .sub { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.stepper { flex: none; display: flex; align-items: stretch; gap: 6px; }
.st {
  width: 50px; border: 1px solid var(--line-strong); background: var(--paper);
  border-radius: 12px; font-size: 26px; font-weight: 700; line-height: 1;
}
.st:active, .val:active { transform: scale(.96); }
.val {
  width: 74px; height: 66px; border: 2px solid var(--line-strong); background: var(--surface); border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--f-num); font-size: 36px; font-weight: 700; line-height: 1;
}
.val small { font-family: var(--f-ui); font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: -.02em; white-space: nowrap; }
.val.blank { color: var(--muted); border-style: dashed; }
.val.t-under { border-color: var(--under); }
.val.t-over { border-color: var(--over); }

.hole-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.done-note {
  margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 14px;
}

/* ---------- 表（入力・スコア表共通） ---------- */
.scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
table { border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sheet { width: 100%; min-width: 540px; }
.sheet th, .sheet td { border-bottom: 1px solid var(--line); text-align: center; padding: 0; }
.sheet td + td, .sheet th + td, .sheet th + th, .sheet td + th { border-left: 1px solid var(--line); }
.sheet .hdr th {
  background: var(--head); color: var(--head-ink);
  font-family: var(--f-num); font-size: 16px; font-weight: 600; height: 34px; border-color: transparent;
}
.sheet .par td, .sheet .par th {
  background: var(--sand); color: var(--sand-ink); font-family: var(--f-num); font-weight: 600; height: 30px;
}
.sheet th.nm {
  position: sticky; left: 0; z-index: 1; text-align: left; padding: 6px 10px;
  min-width: 96px; max-width: 132px; font-size: 14px; font-weight: 700;
  background: var(--surface); overflow-wrap: anywhere; line-height: 1.3;
}
.sheet .hdr th.nm { background: var(--head); font-family: var(--f-ui); font-size: 12px; }
.sheet .par th.nm { background: var(--sand); font-family: var(--f-num); font-size: 14px; }
.sheet .tot { font-family: var(--f-num); font-size: 18px; font-weight: 700; min-width: 48px; }
.sheet .tot small { display: block; font-size: 12px; font-weight: 600; line-height: 1; }
.sheet .grp th {
  background: var(--paper); color: var(--muted); text-align: left; font-size: 12px; font-weight: 700;
  padding: 5px 10px; position: sticky; left: 0;
}
.gin {
  width: 100%; min-width: 42px; height: 48px; border: 0; background: transparent; border-radius: 0;
  text-align: center; font-family: var(--f-num); font-size: 24px; font-weight: 600; color: var(--ink);
}
.gin.t-under { color: var(--under); }
.gin.t-over { color: var(--over); }
.gin:focus { outline: none; background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }

/* スコアカードの記号：○バーディー ◎イーグル □ボギー ⧈ダブルボギー以上 */
.sc {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: 5px 0;
  font-family: var(--f-num); font-size: 18px; font-weight: 600;
}
.sc.birdie { border: 1.5px solid var(--under); border-radius: 50%; color: var(--under); }
.sc.eagle { border: 1.5px solid var(--under); border-radius: 50%; color: var(--under); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--under); }
.sc.bogey { border: 1.5px solid var(--over); color: var(--over); }
.sc.dbl { border: 1.5px solid var(--over); color: var(--over); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--over); }
.star { color: var(--warn); font-size: 10px; display: block; line-height: 1; margin-top: -2px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); align-items: center; }
.legend .sc { width: 20px; height: 20px; font-size: 13px; margin: 0 4px 0 0; }

/* ---------- 順位 ---------- */
.board-head { display: flex; flex-direction: column; gap: 6px; }
.board-head .method { font-size: 13px; color: var(--muted); margin: 0; }
.board { width: 100%; background: var(--surface); }
.board th {
  font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .04em;
  text-align: right; padding: 8px 10px 6px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.board td { padding: 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: middle; }
.board tr:last-child td { border-bottom: 0; }
.board .rk { width: 52px; text-align: center; font-family: var(--f-num); font-size: 24px; font-weight: 700; line-height: 1; }
.board .rk small { display: block; font-family: var(--f-ui); font-size: 10px; font-weight: 700; color: var(--muted); margin-top: 2px; }
.board .nm { text-align: left; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.board .nm small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.board .num { font-family: var(--f-num); font-size: 21px; font-weight: 600; line-height: 1.05; white-space: nowrap; }
.board .num small { display: block; font-size: 13px; }
.board .net { font-size: 25px; font-weight: 700; color: var(--accent); }
.board tr.first { background: var(--accent-soft); }
.board tr.playing td { color: var(--muted); }
.board tr.sep td {
  background: var(--paper); color: var(--muted); font-size: 12px; font-weight: 700; text-align: left; padding: 6px 10px;
}
.award {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 0 6px; border-radius: 4px; margin-left: 4px;
  background: var(--sand); color: var(--sand-ink); vertical-align: 2px;
}
.tag {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 0 6px; border-radius: 4px;
  background: var(--line); color: var(--muted); margin-left: 4px; vertical-align: 1px;
}
.link.tiny { font-size: 11px; }
.sc.auto { opacity: .45; }
.share-box { display: flex; flex-direction: column; gap: 10px; }
.share-box pre {
  margin: 0; white-space: pre-wrap; font: 13px/1.6 var(--f-ui); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; max-height: 260px; overflow: auto;
}

/* ---------- 幹事メニュー ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 12px;
}
.panel > p { margin: 0; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.inp, .field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 9px 12px; min-height: 44px; width: 100%;
}
.field textarea { min-height: 120px; line-height: 1.6; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pars { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.pars label { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--f-num); font-size: 14px; font-weight: 600; }
.pars select {
  width: 100%; font: 600 17px var(--f-num); color: var(--ink); text-align: center; text-align-last: center;
  background: var(--sand); border: 0; border-radius: 6px; padding: 6px 0; -webkit-appearance: none; appearance: none;
}
.stepper-inline { display: flex; align-items: center; gap: 10px; }
.stepper-inline b { font-family: var(--f-num); font-size: 24px; min-width: 56px; text-align: center; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.gbox { border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.gbox h4 { margin: 0 0 2px; font-size: 13px; }
.nrow { display: grid; grid-template-columns: 1fr; gap: 6px; }
.nrow.with-hc { grid-template-columns: 1fr 76px; }
.nrow.with-st { grid-template-columns: 1fr 104px; }
.nrow select.inp { font-size: 14px; padding: 7px 6px; }
.nrow .inp { min-height: 40px; padding: 7px 10px; }
.choice { display: grid; gap: 8px; }
.opt {
  border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; text-align: left;
  background: var(--paper); display: flex; flex-direction: column; gap: 2px;
}
.opt b { font-size: 15px; }
.opt span { font-size: 12px; color: var(--muted); }
.opt.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.hchips { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.hchip {
  border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 5px 0 3px;
  display: flex; flex-direction: column; align-items: center; line-height: 1.15;
}
.hchip b { font-family: var(--f-num); font-size: 18px; }
.hchip small { font-size: 10px; color: var(--muted); }
.hchip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hchip.on small { color: inherit; opacity: .75; }
.formula { font-size: 12px; color: var(--muted); background: var(--paper); border-radius: 8px; padding: 8px 10px; margin: 0; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.qr { background: #FFFFFF; padding: 12px; border-radius: 12px; width: max-content; }
.qr img, .qr canvas { display: block; }
.url { font-size: 12px; word-break: break-all; background: var(--paper); border-radius: 8px; padding: 8px 10px; margin: 0; }
.danger-zone h3 { color: var(--bad); }
.savebar {
  position: sticky; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom)); z-index: 5;
  padding: 10px 0 12px; background: linear-gradient(to bottom, transparent, var(--paper) 35%);
  display: flex; flex-direction: column; gap: 6px;
}
.savebar .btn { width: 100%; }
.warn-text { color: var(--warn); font-size: 13px; margin: 0; font-weight: 700; }

.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 30;
  bottom: calc(var(--tabs-h) + 16px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow); max-width: 90vw; text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .st:active, .val:active { transform: none; }
}
