:root {
  --night: #15121f;
  --night-2: #261c33;
  --ink: #1b1b1b;
  --paper: #f8f2e2;
  --text: #f3eee2;
  --muted: #cdc5d6;
  --gold: #e2b65a;
  --vermilion: #c73a2b;
  --vermilion-dark: #a3281d;
  --paper-red: #ad281c;
  --focus: #ffd27a;
  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "BIZ UDPMincho", serif;
  /* レア度の色 */
  --r-blue: #1d4fa8;
  --sr-gold: #8a5a00;
  --sr-gold-bright: #f0b429;
  --sr-dark: #4b2a73;
  --rainbow: linear-gradient(90deg, #ff5f6d, #ffc371, #7cf29a, #5ec8ff, #c58cff, #ff5f6d);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d0b14 0%, var(--night) 45%, var(--night-2) 100%);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: .02em;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 32% 8%, #fff9 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 22%, #fffa 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 12%, #fff7 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 34%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 40%, #fff5 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 35%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 68% 46%, #fff4 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 56%, #fff4 50%, transparent 51%);
}

a { color: var(--gold); }
a:hover { color: #f3d48c; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
}
.skip-link:focus { top: 8px; }

/* ヘッダー */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) 16px 4px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}
.brand:hover { color: var(--text); }

.sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #ffffff10;
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  white-space: nowrap;
  cursor: pointer;
}
.sound-icon {
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10L5 10H2z'/%3E%3Cpath d='M11 5c1.5 1.5 1.5 4.5 0 6M13 3c2.5 2.5 2.5 7.5 0 10' stroke='black' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10L5 10H2z'/%3E%3Cpath d='M11 5c1.5 1.5 1.5 4.5 0 6M13 3c2.5 2.5 2.5 7.5 0 10' stroke='black' fill='none' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.sound-toggle[aria-pressed="false"] .sound-icon {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10L5 10H2z'/%3E%3Cpath d='M11 6l4 4M15 6l-4 4' stroke='black' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 6h3l4-3v10L5 10H2z'/%3E%3Cpath d='M11 6l4 4M15 6l-4 4' stroke='black' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
}

/* メイン */
main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}
main:focus { outline: none; }

.scene { animation: fade-in .45s ease both; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.draw-head { text-align: center; }
.eyebrow { margin: 0; color: var(--gold); font-size: .95rem; letter-spacing: .1em; }
.site-title {
  margin: .05em 0 .1em;
  font-size: clamp(1.9rem, 9vw, 3rem);
  letter-spacing: .1em;
  white-space: nowrap;
  line-height: 1.3;
  text-shadow: 0 0 24px rgba(199, 58, 43, .45);
}
h1:focus, h2:focus { outline: none; }
.lead { margin: .4em auto; max-width: 34em; }
.hl-rare {
  background: var(--rainbow);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  font-weight: 800;
}
.guide { min-height: 3.6em; text-align: center; }

.illust {
  display: block;
  width: 100%;
  max-height: 38vh;
  margin: 0 auto;
}

.panel { text-align: center; padding: 4px 4px 0; }

.actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 16px 0 8px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  min-width: min(100%, 300px);
  padding: 10px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn-primary {
  background: var(--vermilion-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(199, 58, 43, .35), inset 0 0 0 1px #ffffff26;
}
.btn-primary:hover:not(:disabled) { background: #8f2117; }
.btn-ghost { background: transparent; color: var(--text); border-color: #e2b65a99; }
.btn-ghost:hover:not(:disabled) { background: #e2b65a1f; }
.btn-small {
  min-height: 44px;
  min-width: 0;
  padding: 6px 18px;
  font-size: .95rem;
  background: #ffffff14;
  color: var(--text);
  border-color: #ffffff40;
}

.link-btn {
  min-height: 44px;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.today-link { margin: 4px 0 0; }

/* 出現率 */
.odds { max-width: 420px; margin: 10px auto 0; text-align: left; font-size: .92rem; }
.odds summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
}
.odds table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.odds th, .odds td { padding: 4px 8px; border-bottom: 1px solid #ffffff1f; text-align: left; }
.odds thead th { color: var(--muted); font-weight: 400; }
.odds tbody th { font-weight: 700; }
.odds tr[data-rarity="R"] .rarity-cell { color: #8fb4ff; }
.odds tr[data-rarity="SR"][data-tone="home"] .rarity-cell { color: #ffd76a; }
.odds tr[data-rarity="SR"][data-tone="doku"] .rarity-cell { color: #c9a2ff; }
.odds tr[data-rarity="UR"] .rarity-cell { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }

/* おみくじ筒 */
.shop-stage { position: relative; margin-top: 4px; }
.illust-box { max-height: 34vh; overflow: visible; }
.box-body { transform-origin: 100px 125px; transform-box: view-box; transition: transform 1.1s cubic-bezier(.5, 0, .3, 1); }
.illust-box.shaking .box-body { animation: shake-box .45s ease-in-out; }
@keyframes shake-box {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-16deg) translateY(-6px); }
  45% { transform: rotate(14deg) translateY(4px); }
  70% { transform: rotate(-8deg); }
}
.stick { fill: #e8d3a6; stroke: #9c7b45; transform: translateY(0); transition: transform .5s ease .9s; }
.illust-box.flipped .box-body { transform: rotate(180deg); }
.illust-box.flipped .stick { transform: translateY(-46px); }

.shop-stage[data-rarity="R"] .stick { fill: #9cc1ff; stroke: #3a6fd0; }
.shop-stage[data-rarity="SR"][data-tone="home"] .stick { fill: #ffd76a; stroke: #b07d00; }
.shop-stage[data-rarity="SR"][data-tone="doku"] .stick { fill: #3a2352; stroke: #9b6bd6; }
.shop-stage[data-rarity="UR"] .stick { fill: #fff; stroke: #c58cff; animation: hue 1.2s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }

.shop-stage[data-rarity="R"] .illust-box.flipped { filter: drop-shadow(0 0 14px #5e8fff); }
.shop-stage[data-rarity="SR"][data-tone="home"] .illust-box { filter: drop-shadow(0 0 22px #ffcf4d); }
.shop-stage[data-rarity="SR"][data-tone="doku"] .illust-box { filter: drop-shadow(0 0 22px #7b3fc4) saturate(.6); }
.shop-stage[data-rarity="UR"] .illust-box { filter: drop-shadow(0 0 26px #ff7ad9) drop-shadow(0 0 40px #5ec8ff); }
.illust-box.charging .box-body { animation: charge .18s linear infinite; }
@keyframes charge { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }

.stick-number {
  width: fit-content;
  margin: 2px auto 0;
  padding: 6px 18px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .15em;
  box-shadow: 0 6px 20px #0008;
  animation: pop .4s ease both;
}
.shop-stage[data-rarity="R"] .stick-number { box-shadow: 0 0 0 3px #5e8fff, 0 6px 20px #0008; }
.shop-stage[data-rarity="SR"][data-tone="home"] .stick-number { background: #fff3c4; box-shadow: 0 0 0 3px var(--sr-gold-bright), 0 0 30px #ffcf4d; }
.shop-stage[data-rarity="SR"][data-tone="doku"] .stick-number { background: #2a1d3a; color: #efe6ff; box-shadow: 0 0 0 3px #7b3fc4, 0 0 30px #7b3fc4; }
.shop-stage[data-rarity="UR"] .stick-number { box-shadow: 0 0 0 3px #fff, 0 0 30px #ff7ad9, 0 0 50px #5ec8ff; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }

.shake-meter { display: flex; justify-content: center; gap: 10px; margin: 2px 0 0; }
.shake-meter .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: background-color .2s;
}
.shake-meter .dot.on { background: var(--gold); }

/* 広告で引き直し */
.ad-gate {
  max-width: 420px;
  margin: 8px auto 0;
  padding: 14px 16px 4px;
  border: 1px solid #e2b65a66;
  border-radius: 12px;
  background: #ffffff0d;
}
.ad-gate-title { margin: 0; font-weight: 700; color: var(--gold); }
.ad-gate-title:focus { outline: none; }
.ad-gate-msg { margin: 6px 0 0; font-size: .95rem; }
.quota-note { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }

/* ローカル確認用のテスト広告 */
.mock-ad {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #000d;
}
.mock-ad-box {
  width: min(100%, 420px);
  padding: 24px 20px 12px;
  border: 2px dashed #e2b65a;
  border-radius: 12px;
  background: #1f1a2b;
  text-align: center;
}
.mock-ad-title { margin: 0; font-size: 1.4rem; font-weight: 800; color: var(--gold); }
.mock-ad-note { margin: 8px 0; font-size: .92rem; }
.mock-ad-count { margin: 0; font-size: 1.1rem; font-variant-numeric: tabular-nums; }

/* 全画面演出 */
.fx-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  overflow: hidden;
}
.fx-layer.flash::before {
  content: "";
  position: absolute;
  inset: 0;
  animation: flash 1.6s ease-out forwards;
}
.fx-layer[data-rarity="R"].flash::before { background: radial-gradient(circle at 50% 40%, #5e8fff55, transparent 60%); }
.fx-layer[data-rarity="SR"][data-tone="home"].flash::before { background: radial-gradient(circle at 50% 40%, #ffd76acc, #ffcf4d33 40%, transparent 70%); }
.fx-layer[data-rarity="SR"][data-tone="doku"].flash::before { background: radial-gradient(circle at 50% 40%, transparent 20%, #000000cc 80%); animation-duration: 2.2s; }
.fx-layer[data-rarity="UR"].flash::before { background: conic-gradient(from 0deg, #ff5f6d88, #ffc37188, #7cf29a88, #5ec8ff88, #c58cff88, #ff5f6d88); }
@keyframes flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: 0; } }

.confetti {
  position: absolute;
  top: -20px;
  left: var(--x);
  width: 8px;
  height: 14px;
  background: var(--c);
  border-radius: 2px;
  animation: fall var(--d) var(--delay) cubic-bezier(.3, .1, .6, 1) forwards;
}
@keyframes fall {
  to { transform: translate(var(--dx), 110vh) rotate(var(--r)); }
}

/* 結果：おみくじ本体 */
.paper-wrap { display: flex; justify-content: center; padding: 12px 0 4px; }
.omikuji {
  --accent: var(--paper-red);
  --rank-color: #2b2b2b;
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 22px 18px 18px;
  color: var(--ink);
  background: radial-gradient(ellipse at 20% 10%, #fffdf6 0%, transparent 60%), var(--paper);
  border-radius: 4px;
  box-shadow: 0 18px 50px #000a;
  outline: 3px double var(--accent);
  outline-offset: -10px;
}
.omikuji:focus { outline: 3px double var(--accent); }
.omikuji:focus-visible { box-shadow: 0 0 0 4px var(--focus), 0 18px 50px #000a; }
.omikuji.unfold { animation: unfold .9s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes unfold {
  0% { clip-path: inset(0 0 92% 0); transform: scale(.96); }
  100% { clip-path: inset(0 0 0 0); transform: none; }
}
.omikuji.shock { animation: unfold .9s cubic-bezier(.3, .7, .3, 1) both, shock .6s .9s ease-in-out; }
@keyframes shock {
  0%, 100% { transform: none; }
  20% { transform: translateX(-8px) rotate(-1deg); }
  40% { transform: translateX(7px) rotate(1deg); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(3px); }
}

/* レア度ごとの紙 */
.omikuji[data-rarity="R"] { --accent: var(--r-blue); --rank-color: var(--r-blue); }
.omikuji[data-rarity="SR"][data-tone="home"] {
  --accent: #7a5200;
  --rank-color: var(--sr-gold);
  background: radial-gradient(ellipse at 30% 0%, #fffbe8 0%, transparent 60%), linear-gradient(160deg, #fff6d6, #f8e7ae);
  box-shadow: 0 0 0 4px var(--sr-gold-bright), 0 0 40px #ffcf4d88, 0 18px 50px #000a;
}
.omikuji[data-rarity="SR"][data-tone="doku"] {
  --accent: #9b6bd6;
  --rank-color: #d8b8ff;
  color: #efe6ff;
  background: radial-gradient(ellipse at 50% 0%, #3a2352 0%, transparent 60%), #1c1526;
  box-shadow: 0 0 0 3px #4b2a73, 0 0 40px #7b3fc455, 0 18px 50px #000;
}
.omikuji[data-rarity="UR"] {
  --accent: #8a2fb0;
  background: radial-gradient(ellipse at 50% 0%, #ffffff 0%, transparent 60%), linear-gradient(160deg, #fff7fb, #f2f6ff);
  box-shadow: 0 0 0 4px #fff, 0 0 30px #ff7ad9aa, 0 0 60px #5ec8ff88, 0 18px 50px #000a;
}
.omikuji[data-rarity="UR"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 4px;
  background: var(--rainbow);
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: rainbow-move 3s linear infinite;
  pointer-events: none;
}
@keyframes rainbow-move { to { background-position: 200% 0; } }

.omikuji-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  padding: 0 8px 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.omikuji-head p { margin: 0; white-space: nowrap; }
.omikuji-shrine { color: var(--accent); font-weight: 700; letter-spacing: .15em; }
.omikuji[data-rarity="SR"][data-tone="doku"] .omikuji-shrine { color: #c9a2ff; }
.omikuji-year { font-size: .9rem; }

.o-top { text-align: center; padding: 12px 0 4px; }
.o-top p { margin: 0; }
.o-rarity {
  display: inline-block;
  padding: 2px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: #e5dfd0;
  color: #333;
}
.omikuji[data-rarity="R"] .o-rarity { background: var(--r-blue); color: #fff; }
.omikuji[data-rarity="SR"][data-tone="home"] .o-rarity { background: var(--sr-gold-bright); color: #2b1d00; }
.omikuji[data-rarity="SR"][data-tone="doku"] .o-rarity { background: #4b2a73; color: #fff; }
.omikuji[data-rarity="UR"] .o-rarity { background: var(--rainbow); color: #1b1b1b; }
.o-no { margin-top: 6px !important; font-size: 1rem; font-weight: 700; letter-spacing: .2em; }
.o-rank {
  color: var(--rank-color);
  font-size: clamp(3.6rem, 18vw, 5.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .1em;
}
.omikuji[data-rarity="SR"][data-tone="home"] .o-rank { text-shadow: 0 2px 0 #fff6, 0 0 18px #ffcf4d; }
.omikuji[data-rarity="SR"][data-tone="doku"] .o-rank { text-shadow: 0 0 18px #7b3fc4; }
.omikuji[data-rarity="UR"] .o-rank {
  background: linear-gradient(90deg, #d6283b, #c46a00, #1c8a3f, #1867b0, #7a3cc0, #d6283b);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation: rainbow-move 3s linear infinite;
}
.o-reading { font-size: .85rem; letter-spacing: .3em; opacity: .75; }

.o-teach { margin: 8px 0 10px; padding: 12px 10px 0; border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.o-oracle { margin: 0; color: var(--accent); font-weight: 800; font-size: 1.12rem; line-height: 1.6; }
.omikuji[data-rarity="SR"][data-tone="doku"] .o-oracle { color: #d8b8ff; }
.o-message { margin: 6px 0 0; font-size: 1rem; line-height: 1.85; }

.o-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 8px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.o-items > div {
  display: grid;
  grid-template-columns: 4.6em minmax(0, 1fr);
  gap: 8px;
  padding: 8px 6px;
  border-bottom: 1px dotted color-mix(in srgb, var(--accent) 40%, transparent);
}
.o-items dt { color: var(--accent); font-weight: 700; font-size: .95rem; }
.omikuji[data-rarity="SR"][data-tone="doku"] .o-items dt { color: #c9a2ff; }
.o-items dd { margin: 0; font-size: .95rem; line-height: 1.6; }
.o-foot { margin: 12px 6px 0; font-size: .82rem; opacity: .85; }

.result-actions .actions { margin-top: 18px; }
.share-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 4px 0 10px; }

/* フッター */
.site-footer {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px max(24px, env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
  border-top: 1px solid #ffffff1a;
}
.site-footer p { margin: .3em 0; }
.site-footer nav a { display: inline-block; padding: 10px 4px; }

/* 補助ページ */
.doc { max-width: 680px; margin: 0 auto; padding: 8px 4px 24px; }
.doc h1 { font-size: clamp(1.6rem, 6vw, 2.1rem); letter-spacing: .1em; margin: .4em 0; }
.doc h2 { font-size: 1.25rem; margin-top: 1.6em; border-left: 4px solid var(--vermilion); padding-left: .6em; }
.doc table { border-collapse: collapse; width: 100%; margin: .6em 0; }
.doc th, .doc td { border: 1px solid #ffffff33; padding: 6px 10px; text-align: left; }
.doc thead th { background: #ffffff10; }

@media (min-width: 640px) {
  .actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .btn { min-width: 0; }
  .omikuji { padding: 28px 28px 22px; }
  .o-items { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}

@media (max-width: 360px) {
  main { padding-left: 12px; padding-right: 12px; }
  .btn { padding: 10px 14px; font-size: 1rem; letter-spacing: 0; }
  .omikuji { padding: 20px 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}

@media (max-width: 340px) {
  .sound-toggle .sound-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .brand { font-size: .98rem; }
}
