/* しりとり積み木タワー style.css — 構造とクラス名は docs/design.md を参照 */

:root {
  --c-ink: #3b2f2f;
  --c-ink-sub: #7a6a5e;
  --c-paper: #fffdf7;
  --c-cream: #fff4dc;
  --c-purple: #6b5bd6;
  --c-purple-deep: #4a3ca8;
  --c-red: #ff5d5d;
  --c-red-deep: #c93a3a;
  --c-green: #3fa66a;
  --c-green-deep: #2b7a4b;
  --c-orange: #ff9a3c;
  --c-orange-deep: #d0701a;
  --c-gold: #ffc83d;
  --c-gold-deep: #d99a00;
  --c-blue: #4fa8ff;
  --c-blue-deep: #2a6fc0;
  --c-lock: #a7a9b8;
  --c-bg: #dff3ff;
  --c-bg-dot: #c3e6fb;
  --c-wood: #f3d9a8;
  --c-wood-deep: #d4a96a;

  /* 単語の色（Sprites.WORD_COLORS と同じ順） */
  --w0: #ffb3b3; --w0d: #e07f7f;
  --w1: #ffd29a; --w1d: #e0a052;
  --w2: #fff09a; --w2d: #d9c24a;
  --w3: #bfe8a0; --w3d: #86bf5e;
  --w4: #a8e6dc; --w4d: #62bcae;
  --w5: #b3d6ff; --w5d: #6fa3e0;
  --w6: #d5c2ff; --w6d: #9c82e0;
  --w7: #ffc2e0; --w7d: #e07fb0;

  --font-base: "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "BIZ UDPGothic",
    "Hiragino Sans", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --font-num: "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "SF Pro Rounded",
    ui-rounded, system-ui, sans-serif;

  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --btn-depth: 6px;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);

  --dur-fast: 0.15s;
  --dur-mid: 0.35s;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ストックのかなボタン 1 マス（11 列 × 5 段）。幅と高さの両方で縮む */
  --kana: clamp(26px, min(calc((100vw - 16px - 10 * 3px) / 11), 5.4vh), 44px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font-base);
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior: none;
  touch-action: manipulation;
  line-height: 1.5;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  overflow: hidden;
  word-break: auto-phrase;
}
button { font: inherit; color: inherit; }
.num { font-family: var(--font-num); font-weight: 900; font-variant-numeric: tabular-nums; }

.app {
  position: fixed;
  inset: 0;
  margin: 0 auto;
  max-width: 480px;
  overflow: hidden;
  overflow: clip;
  background-color: var(--c-bg);
  background-image: radial-gradient(var(--c-bg-dot) 22%, transparent 24%);
  background-size: 28px 28px;
}
@media (min-width: 481px) {
  body { background: #c9e9fb; }
  .app { border-left: 3px solid var(--c-ink); border-right: 3px solid var(--c-ink); }
}

/* ---------- 画面切替 ---------- */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(16px + var(--safe-top)) calc(16px + var(--safe-right)) calc(16px + var(--safe-bottom)) calc(16px + var(--safe-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur-mid) ease, visibility 0s linear var(--dur-mid);
  overflow-y: auto;
  touch-action: pan-y;
}
.screen.is-active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--dur-mid) ease, visibility 0s;
}
.screen > * { flex-shrink: 0; }

/* ---------- ボタン（押すと沈む） ---------- */
.btn {
  --btn-bg: var(--c-red);
  --btn-edge: var(--c-red-deep);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 56px;
  padding: 10px 26px;
  border: 3px solid var(--c-ink);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 20px; font-weight: 800; letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 var(--btn-depth) 0 var(--btn-edge), 0 var(--btn-depth) 0 3px var(--c-ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter var(--dur-fast);
  margin-bottom: var(--btn-depth);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; top: 5px; left: 18%; right: 18%; height: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.35); pointer-events: none;
}
.btn:hover { filter: brightness(1.05); }
.btn:active, .btn.is-pressed {
  transform: translateY(var(--btn-depth));
  box-shadow: 0 0 0 var(--btn-edge), 0 0 0 3px var(--c-ink);
}
.btn:disabled { filter: grayscale(0.85) opacity(0.55); cursor: not-allowed; transform: none; }
.btn--block { display: flex; width: 100%; }
.btn--purple { --btn-bg: var(--c-purple); --btn-edge: var(--c-purple-deep); }
.btn--green { --btn-bg: var(--c-green); --btn-edge: var(--c-green-deep); }
.btn--orange { --btn-bg: var(--c-orange); --btn-edge: var(--c-orange-deep); }
.btn--blue { --btn-bg: var(--c-blue); --btn-edge: var(--c-blue-deep); }
.btn--gold { --btn-bg: var(--c-gold); --btn-edge: var(--c-gold-deep); --btn-fg: var(--c-ink); }
.btn--ghost { --btn-bg: var(--c-paper); --btn-edge: #d9cdb4; --btn-fg: var(--c-ink); }
.btn--small { min-height: 40px; padding: 6px 14px; font-size: 15px; --btn-depth: 4px; }
.btn:focus-visible, .icon-btn:focus-visible, .kana:focus-visible {
  outline: 4px solid var(--c-blue); outline-offset: 3px;
}
.icon-btn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 3px solid var(--c-ink); border-radius: 50%;
  background: var(--c-paper);
  font-size: 18px; font-weight: 900; line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--c-ink);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.icon-btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--c-ink); }

/* ---------- DOM の積み木（ロゴ・ルール図・結果） ---------- */
.kblock {
  --b: var(--w0); --bd: var(--w0d);
  display: inline-grid; place-items: center;
  width: 1.6em; height: 1.6em;
  border: 0.1em solid var(--c-ink);
  border-radius: 0.28em;
  background:
    repeating-linear-gradient(172deg, transparent 0 0.34em, rgba(120, 80, 40, 0.1) 0.34em 0.38em),
    linear-gradient(var(--b) 86%, var(--bd) 86%);
  box-shadow: 0 0.08em 0 var(--c-ink);
  font-size: 22px; font-weight: 900; line-height: 1;
  color: var(--c-ink);
  vertical-align: middle;
}
.kblock--base { --b: var(--c-wood); --bd: var(--c-wood-deep); }
.kblock--temp { background: rgba(255, 253, 247, 0.6); border-style: dashed; border-color: var(--c-purple); color: var(--c-purple); box-shadow: none; }
.kblock--w0 { --b: var(--w0); --bd: var(--w0d); }
.kblock--w1 { --b: var(--w1); --bd: var(--w1d); }
.kblock--w2 { --b: var(--w2); --bd: var(--w2d); }
.kblock--w3 { --b: var(--w3); --bd: var(--w3d); }
.kblock--w4 { --b: var(--w4); --bd: var(--w4d); }
.kblock--w5 { --b: var(--w5); --bd: var(--w5d); }
.kblock--w6 { --b: var(--w6); --bd: var(--w6d); }
.kblock--w7 { --b: var(--w7); --bd: var(--w7d); }
.kstack { display: inline-flex; flex-direction: column-reverse; gap: 0; align-items: center; }
.kstack .kblock { margin-top: -0.1em; }

/* ---------- カード・モーダル ---------- */
.card {
  width: min(100%, 380px);
  padding: 20px 18px 22px;
  border: 3px solid var(--c-ink);
  border-radius: var(--radius-l);
  background: var(--c-paper);
  box-shadow: 0 8px 0 var(--c-ink);
  text-align: center;
}
.card__title { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
.card__actions { display: flex; flex-direction: column; gap: 12px; }
.modal {
  position: absolute; inset: 0; z-index: 20;
  display: grid; place-items: center;
  padding: calc(16px + var(--safe-top)) 16px calc(16px + var(--safe-bottom));
  background: rgba(59, 47, 47, 0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur-mid) ease, visibility 0s linear var(--dur-mid);
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity var(--dur-mid) ease, visibility 0s; }
.modal.is-open .card { animation: pop-in var(--dur-mid) var(--ease-pop) both; }
@keyframes pop-in { from { transform: scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- タイトル ---------- */
.screen--title { align-items: center; justify-content: center; gap: 16px; text-align: center; }
.title__tower { display: flex; align-items: flex-end; justify-content: center; gap: 10px; height: 150px; }
.title__tower .kstack { animation: sway 3s ease-in-out infinite; transform-origin: 50% 100%; }
.title__tower .kstack:nth-child(2) { animation-delay: -1s; }
.title__tower .kstack:nth-child(3) { animation-delay: -2s; }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.logo { margin: 0; font-weight: 900; line-height: 1.05; }
.logo__sub {
  display: inline-block; padding: 2px 14px;
  border: 3px solid var(--c-ink); border-radius: 999px;
  background: var(--c-purple); color: #fff;
  font-size: clamp(14px, 3.6vmin, 19px);
  transform: rotate(-3deg);
}
.logo__main {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 4px;
  margin-top: 10px;
  font-size: clamp(34px, 10vmin, 58px);
}
.logo__char {
  display: inline-block;
  color: var(--c-paper);
  -webkit-text-stroke: 0.12em var(--c-ink);
  paint-order: stroke fill;
  text-shadow: 0 0.08em 0 var(--c-ink);
  animation: hop 2.2s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.1s);
}
.logo__char.kblock { font-size: 0.62em; -webkit-text-stroke: 0; text-shadow: none; color: var(--c-ink); }
.logo__break { flex-basis: 100%; height: 0; }
@keyframes hop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-8px); } 90% { transform: translateY(1px); } }
.title__actions { display: flex; flex-direction: column; gap: 10px; width: min(80vw, 320px); }
.title__best { margin: 0; font-size: 14px; font-weight: 800; }
.title__best .num { font-size: 22px; color: var(--c-purple); }

/* ---------- ルール ---------- */
.screen--rules { align-items: center; justify-content: center; }
.rules { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; text-align: left; }
.rules__item {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px;
  padding: 8px 12px;
  border: 2px solid var(--c-ink); border-radius: var(--radius-m);
  background: var(--c-cream);
}
.rules__item .kblock { font-size: 16px; }
.rules__text { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.45; }
.rules__text b { color: var(--c-purple); font-size: 1.1em; }
.rules__text .ng { color: var(--c-red); }
.rule-demo {
  display: flex; align-items: flex-end; justify-content: center; gap: 14px;
  padding: 12px 10px 10px; margin-bottom: 14px;
  border: 3px solid var(--c-ink); border-radius: var(--radius-m);
  background: linear-gradient(#bfe6ff, #eef9ff);
}
.rule-demo .kblock { font-size: 18px; }
.rule-demo__arrow { align-self: center; font-size: 22px; font-weight: 900; color: var(--c-purple); }
.rule-demo__word { font-size: 12px; font-weight: 900; text-align: center; margin-top: 4px; }

/* ---------- プレイ ---------- */
.screen--play {
  padding: calc(6px + var(--safe-top)) calc(8px + var(--safe-right)) calc(6px + var(--safe-bottom)) calc(8px + var(--safe-left));
  gap: 6px;
  overflow: hidden;
  touch-action: none;
}
.screen--play > * { flex-shrink: 0; }

.hud { display: flex; align-items: center; gap: 6px; }
.hud__chip {
  display: inline-flex; align-items: baseline; gap: 4px;
  padding: 2px 12px 3px;
  border: 3px solid var(--c-ink); border-radius: 999px;
  background: var(--c-paper);
  box-shadow: 0 3px 0 var(--c-ink);
  font-size: 12px; font-weight: 800; line-height: 1.4;
  white-space: nowrap;
}
.hud__chip .num { font-size: 22px; line-height: 1.1; }
.hud__chip--score { background: var(--c-gold); }
.hud__chip--best .num { color: var(--c-purple); font-size: 17px; }
.hud__chip.is-bump { animation: bump 0.35s var(--ease-pop); }
@keyframes bump { 40% { transform: scale(1.18); } }
.hud__spacer { flex: 1; }
.hud__top {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 800;
}
.hud__top .kblock { font-size: 15px; }

/* タワー canvas の入れ物。最低でも画面の 35% を確保する */
.tower {
  position: relative;
  flex: 1 1 auto;
  min-height: 35vh;
  border: 3px solid var(--c-ink);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: #8fd3ff;
  box-shadow: 0 4px 0 var(--c-ink);
}
.tower__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tower.is-shake { animation: shake 0.4s ease; }
@keyframes shake { 20% { transform: translateX(-5px) rotate(-0.6deg); } 50% { transform: translateX(4px) rotate(0.5deg); } 80% { transform: translateX(-2px); } }

/* 作りかけの単語（タワーの下端に重ねる） */
.preview {
  position: absolute; left: 50%; bottom: 8px; z-index: 2;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 2px;
  padding: 2px 12px;
  border: 3px solid var(--c-ink); border-radius: 999px;
  background: var(--c-paper);
  font-size: 18px; font-weight: 900; white-space: nowrap;
  box-shadow: 0 3px 0 var(--c-ink);
}
.preview__head { color: var(--c-ink-sub); }
.preview__temp { color: var(--c-purple); border-bottom: 3px dotted var(--c-purple); }
.preview__q { margin-left: 4px; font-size: 14px; color: var(--c-ink-sub); }
.preview.is-warn { background: #ffe3e3; }
.preview__warn { margin-left: 6px; font-size: 12px; color: var(--c-red-deep); }

/* ストック */
.stock {
  padding: 6px 6px 4px;
  border: 3px solid var(--c-ink);
  border-radius: var(--radius-m);
  background: var(--c-wood);
  background-image: repeating-linear-gradient(176deg, transparent 0 14px, rgba(150, 100, 50, 0.1) 14px 16px);
  box-shadow: 0 4px 0 var(--c-ink);
}
/* DOM は「あいうえお かきくけこ …」の列順。空きマスは .kana--blank */
.stock__grid {
  display: grid;
  grid-template-rows: repeat(5, var(--kana));
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  gap: 3px;
  justify-content: center;
}
.kana {
  position: relative;
  display: grid; place-items: center;
  width: 100%; height: var(--kana);
  padding: 0;
  border: 2.5px solid var(--c-ink);
  border-radius: 9px;
  background: linear-gradient(var(--c-paper) 82%, #e8dcc4 82%);
  font-size: calc(var(--kana) * 0.54); font-weight: 900; line-height: 1;
  padding-right: 2px;
  color: var(--c-ink);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--c-ink);
  margin-bottom: 3px;
  transition: transform 0.06s ease, box-shadow 0.06s ease;
}
.kana:active { transform: translateY(3px); box-shadow: 0 0 0 var(--c-ink); }
.kana__n {
  position: absolute; top: -7px; right: -6px;
  min-width: 16px; height: 16px; padding: 0 3px;
  border: 2px solid var(--c-ink); border-radius: 999px;
  background: var(--c-red); color: #fff;
  font-family: var(--font-num); font-size: 10px; font-weight: 900; line-height: 12px;
  z-index: 1;
  text-align: center;
}
.kana.is-empty, .kana:disabled {
  background: #e4e2dc; color: #b3b1aa; border-color: var(--c-lock);
  box-shadow: 0 3px 0 var(--c-lock);
  cursor: not-allowed; transform: none;
}
.kana.is-empty .kana__n, .kana:disabled .kana__n { background: var(--c-lock); border-color: var(--c-lock); }
.kana.is-hint { background: linear-gradient(#fff3c0 82%, var(--c-gold) 82%); animation: hint 0.8s ease-in-out infinite alternate; }
@keyframes hint { to { box-shadow: 0 3px 0 var(--c-ink), 0 0 0 4px var(--c-gold); } }
.kana.is-got { animation: got 0.7s var(--ease-pop); }
@keyframes got { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-6deg); background: var(--c-gold); } 100% { transform: none; } }
.kana--blank { visibility: hidden; pointer-events: none; }

.actions {
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1fr 1.5fr;
  gap: 6px;
  margin-top: 6px;
}
.actions .btn { min-height: 44px; padding: 4px 6px; font-size: 15px; --btn-depth: 4px; letter-spacing: 0; }
.actions .btn--decide { font-size: 18px; }
.btn__count {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 4px;
  border: 2px solid var(--c-ink); border-radius: 999px;
  background: var(--c-paper); color: var(--c-ink);
  font-family: var(--font-num); font-size: 11px; line-height: 1;
}

/* 低い画面（360x640 など）: ぎゅっと詰める */
@media (max-height: 700px) {
  .hud__chip { padding: 0 10px 1px; }
  .hud__chip .num { font-size: 19px; }
  .stock { padding: 5px 5px 3px; }
  .kana__n { top: -5px; right: -4px; min-width: 15px; height: 15px; font-size: 10px; line-height: 11px; }
  .actions .btn { min-height: 40px; font-size: 14px; }
  .actions .btn--decide { font-size: 16px; }
}

/* ---------- トースト ---------- */
.toast {
  position: absolute; z-index: 8; left: 50%; top: 26%;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 20px;
  border: 3px solid var(--c-ink); border-radius: 999px;
  background: var(--c-paper); font-weight: 900; font-size: 22px;
  box-shadow: 0 5px 0 var(--c-ink);
  transform: translate(-50%, 12px) scale(0.8); opacity: 0;
  transition: opacity var(--dur-fast), transform var(--dur-mid) var(--ease-pop);
  pointer-events: none; white-space: nowrap;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast--ng { background: var(--c-red); color: #fff; -webkit-text-stroke: 5px var(--c-ink); paint-order: stroke fill; font-size: 28px; }
.toast--ng.is-show { animation: buzz 0.4s ease; }
@keyframes buzz { 20%, 60% { margin-left: -6px; } 40%, 80% { margin-left: 6px; } }
.toast--heal { background: var(--c-gold); }
.toast--heal .kblock { font-size: 18px; }
.toast--end { background: var(--c-purple); color: #fff; font-size: 20px; -webkit-text-stroke: 4px var(--c-ink); paint-order: stroke fill; }
.toast--info { font-size: 16px; }

/* ---------- 結果 ---------- */
.screen--result { align-items: center; gap: 10px; }
.result__title { margin: 0; font-size: 26px; font-weight: 900; color: #fff; -webkit-text-stroke: 6px var(--c-ink); paint-order: stroke fill; }
.result__reason { margin: -6px 0 0; font-size: 13px; font-weight: 800; color: var(--c-ink-sub); }
.result__new {
  display: inline-block; padding: 0 12px;
  border: 3px solid var(--c-ink); border-radius: 999px;
  background: var(--c-red); color: #fff; font-weight: 900; font-size: 15px;
  transform: rotate(-4deg); animation: hop 1.6s ease-in-out infinite;
}
.result__tower {
  position: relative;
  width: min(100%, 380px);
  height: clamp(220px, 46vh, 460px);
  border: 3px solid var(--c-ink); border-radius: var(--radius-l);
  overflow: hidden;
  background: #8fd3ff;
  box-shadow: 0 6px 0 var(--c-ink);
}
.result__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.result__score {
  position: absolute; top: 8px; left: 8px;
  padding: 0 12px 2px;
  border: 3px solid var(--c-ink); border-radius: 999px;
  background: var(--c-gold); font-size: 13px; font-weight: 900;
  box-shadow: 0 3px 0 var(--c-ink);
}
.result__score .num { font-size: 26px; }
.result__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  width: min(100%, 380px);
  margin: 0; padding: 0; list-style: none;
}
.result__stat {
  padding: 4px 6px;
  border: 2px solid var(--c-ink); border-radius: var(--radius-s);
  background: var(--c-paper);
  font-size: 11px; font-weight: 800; color: var(--c-ink-sub); text-align: center;
}
.result__stat .num { display: block; font-size: 22px; color: var(--c-ink); line-height: 1.2; }
.result__stat--wide { grid-column: 1 / -1; }
.result__stat-word { display: block; font-size: 18px; font-weight: 900; color: var(--c-ink); }
.result__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: min(100%, 380px); }

/* ---------- 横向き警告 ---------- */
.rotate {
  position: fixed; inset: 0; z-index: 50;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: var(--c-purple);
  color: #fff; text-align: center;
}
.rotate__phone {
  width: 54px; height: 88px;
  border: 5px solid var(--c-ink); border-radius: 12px;
  background: var(--c-paper);
  box-shadow: 0 6px 0 var(--c-ink);
  animation: turn 2s ease-in-out infinite;
}
@keyframes turn { 0%, 20% { transform: rotate(-90deg); } 50%, 100% { transform: rotate(0); } }
.rotate__text { margin: 0; font-size: 22px; font-weight: 900; -webkit-text-stroke: 5px var(--c-ink); paint-order: stroke fill; }
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .rotate { display: flex; }
}

/* ---------- 動きをへらす ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .rotate__phone { animation: none; transform: rotate(0); }
  .title__tower .kstack, .logo__char { animation: none !important; }
}
