/* FX人生スロット：黒＋ゴールド。スマホの片手操作が基準（ボタンは下・1画面に収める）。サイト本体の style.css は読まない */
:root {
  --bg: #07060a; --panel: #121017; --panel2: #1a1722; --line: #2c2636;
  --gold: #e8c46a; --gold2: #b8862c; --gold-soft: #f6e3a8; --text: #f3efe6; --dim: #a39c8c;
  --up: #4fd18b; --down: #ff5d6c; --rare: #b78cff; --rush: #ff9d2e;
  --cell: 62px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", system-ui, sans-serif; font-size: 15px; line-height: 1.6; -webkit-text-size-adjust: 100%; overscroll-behavior-y: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; touch-action: manipulation; }
[hidden] { display: none !important; }
b { font-weight: 800; }

.app { position: relative; max-width: 480px; min-height: 100dvh; margin: 0 auto; display: flex; flex-direction: column; background: radial-gradient(120% 60% at 50% 0%, #1b1524 0%, var(--bg) 60%); overflow: hidden; }
@media (min-width: 520px) { .app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }

.top { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; padding-top: max(8px, env(safe-area-inset-top)); }
.top-logo { font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif; font-weight: 800; font-size: 14px; letter-spacing: .12em; color: var(--gold); }
.top-btns { display: flex; gap: 6px; }
.top-btn { font-size: 11px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); min-height: 30px; }
.top-btn[aria-pressed="true"] { color: var(--gold); border-color: var(--gold2); }

.scr { display: none; flex: 1; flex-direction: column; padding: 0 14px; padding-bottom: max(14px, env(safe-area-inset-bottom)); min-height: 0; }
.scr.on { display: flex; }

/* ボタン */
.btn-main { width: 100%; min-height: 60px; border-radius: 16px; font-size: 19px; font-weight: 800; letter-spacing: .06em; color: #201400; background: linear-gradient(180deg, #ffe9a6 0%, #e8c46a 45%, #b8862c 100%); box-shadow: 0 2px 0 #7a5716, 0 10px 28px rgba(232, 196, 106, .28), inset 0 1px 0 rgba(255, 255, 255, .7); transition: transform .06s, filter .15s; }
.btn-main:active { transform: translateY(2px) scale(.99); filter: brightness(1.1); }
.btn-main:disabled { filter: grayscale(.6) brightness(.7); }
.btn-sub { flex: 1; min-height: 50px; border-radius: 14px; border: 1px solid var(--gold2); color: var(--gold); font-weight: 700; background: rgba(232, 196, 106, .06); }
.btn-sub:active { background: rgba(232, 196, 106, .18); }
.btn-x { border-color: #5b5b66; color: var(--text); background: #0f0f14; }
.btn-ghost { align-self: center; margin-top: 12px; padding: 10px 16px; font-size: 13px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }

/* ── はじめの画面 ── */
.scr-title { align-items: center; text-align: center; justify-content: center; gap: 6px; }
.t-kicker { margin: 0; font-size: 11px; letter-spacing: .5em; color: var(--gold2); }
.t-logo { margin: 4px 0 0; font-family: "Hiragino Mincho ProN", "Noto Serif JP", "Yu Mincho", serif; font-weight: 900; font-size: clamp(44px, 14vw, 64px); line-height: 1.12; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff3c4 0%, #e8c46a 40%, #9b6a16 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(232, 196, 106, .35)); }
.t-catch { margin: 8px 0 0; font-size: 17px; font-weight: 700; color: var(--gold-soft); }
.t-reels { display: flex; gap: 8px; margin: 16px 0 10px; }
.t-seven { width: 64px; height: 76px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--gold2); background: linear-gradient(180deg, #221b2c, #0c0a11); font-family: Georgia, "Times New Roman", serif; font-weight: 900; font-style: italic; font-size: 48px; color: var(--gold); text-shadow: 0 0 16px rgba(232, 196, 106, .7); animation: sevenPulse 2.4s ease-in-out infinite; }
.t-seven:nth-child(2) { animation-delay: .3s; } .t-seven:nth-child(3) { animation-delay: .6s; }
@keyframes sevenPulse { 0%, 100% { transform: translateY(0); filter: brightness(1); } 50% { transform: translateY(-4px); filter: brightness(1.35); } }
.t-points { list-style: none; margin: 4px 0 16px; padding: 0; font-size: 14px; color: var(--text); }
.t-points b { color: var(--gold); }
.t-meta { margin: 10px 0 0; font-size: 12px; color: var(--dim); }
.t-record { margin: 8px 0 0; font-size: 13px; color: var(--gold-soft); }
.t-note { margin: 16px 0 0; font-size: 10.5px; line-height: 1.6; color: #7d766a; }

/* ── あそぶ画面 ── */
.scr-game { gap: 8px; }
.hud { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; background: linear-gradient(180deg, var(--panel2), var(--panel)); }
.hud-row { display: flex; align-items: center; justify-content: space-between; }
.hud-age { font-size: 13px; color: var(--dim); } .hud-age b { font-size: 24px; color: var(--text); margin-right: 2px; }
.hud-years { display: flex; gap: 4px; }
.hud-years i { width: 12px; height: 6px; border-radius: 3px; background: #2c2636; }
.hud-years i.done { background: var(--gold2); } .hud-years i.now { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.hud-asset { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.hud-asset-label { font-size: 12px; color: var(--dim); }
.hud-asset-num { font-size: 32px; font-weight: 900; line-height: 1.2; color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: .01em; text-shadow: 0 0 18px rgba(232, 196, 106, .25); }
.hud-asset-num.up { color: #fff0b8; } .hud-asset-num.down { color: var(--down); }
.hud-tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 3px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--dim); min-height: 26px; display: inline-flex; align-items: center; }
.tag-btn { border-color: var(--gold2); color: var(--gold); min-height: 30px; padding: 3px 12px; }
.tag-btn::after { content: " ⇄"; opacity: .7; margin-left: 3px; }
.tag-btn.agg { border-color: var(--down); color: #ff9aa4; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; }
.stat { position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); text-align: left; min-height: 36px; }
.stat svg { width: 20px; height: 20px; }
.stat-name { font-size: 11.5px; color: var(--dim); line-height: 1.2; }
.stat-bar { grid-column: 2 / 4; height: 4px; border-radius: 2px; background: #2a2533; overflow: hidden; margin-top: -2px; }
.stat-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.stat-val { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat.focus { border-color: var(--gold); background: rgba(232, 196, 106, .1); }
.stat.focus .stat-name { color: var(--gold); }
.stat.focus::after { content: "重点"; position: absolute; top: -7px; right: 6px; font-size: 9px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: #201400; font-weight: 800; }
.stat.skill .stat-val { color: var(--rare); }
.stat.pop { animation: statPop .45s; }
@keyframes statPop { 0% { transform: scale(1); } 40% { transform: scale(1.06); box-shadow: 0 0 16px rgba(232, 196, 106, .5); } 100% { transform: scale(1); } }
.stat-plus { position: absolute; right: 34px; top: 2px; font-size: 12px; font-weight: 800; color: var(--up); animation: plusUp .9s forwards; pointer-events: none; }
.stat-plus.minus { color: var(--down); }
@keyframes plusUp { 0% { opacity: 0; transform: translateY(6px); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-12px); } }
.stats-hint { margin: -2px 0 0; font-size: 10.5px; color: #7d766a; text-align: center; }

.machine { position: relative; border-radius: 16px; padding: 10px; border: 1px solid var(--gold2); background: linear-gradient(180deg, #2a2030, #100d15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 8px 30px rgba(0, 0, 0, .5); }
.reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: calc(var(--cell) * 1.5); }
.reel { position: relative; overflow: hidden; border-radius: 10px; background: linear-gradient(180deg, #000 0%, #17131d 30%, #17131d 70%, #000 100%); border: 1px solid #3a3145; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .85) 0%, transparent 28%, transparent 72%, rgba(0, 0, 0, .85) 100%); pointer-events: none; }
.strip { will-change: transform; }
.strip.blur { filter: blur(2.5px); }
.cell { height: var(--cell); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.cell svg { width: 30px; height: 30px; }
.cell span { font-size: 10.5px; font-weight: 700; color: var(--gold-soft); letter-spacing: .04em; }
.cell.seven b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 44px; line-height: 1; color: #ff4d5e; text-shadow: 0 0 14px rgba(255, 77, 94, .8), 0 2px 0 #7a0c18; }
.reel.hit { border-color: var(--gold); box-shadow: 0 0 18px rgba(232, 196, 106, .6), inset 0 0 14px rgba(232, 196, 106, .25); animation: hitFlash .5s 2; }
.reel.hit7 { border-color: #ff4d5e; box-shadow: 0 0 22px rgba(255, 77, 94, .7), inset 0 0 14px rgba(255, 77, 94, .3); animation: hitFlash .4s 4; }
@keyframes hitFlash { 50% { filter: brightness(1.7); } }
.payline { position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(232, 196, 106, .55), transparent); pointer-events: none; }
.machine.reach .reel:last-of-type { animation: reachGlow .35s infinite alternate; }
@keyframes reachGlow { from { box-shadow: 0 0 4px rgba(232, 196, 106, .3); } to { box-shadow: 0 0 22px rgba(232, 196, 106, .9); border-color: var(--gold); } }
.match { margin: 6px 0 0; min-height: 20px; text-align: center; font-size: 13px; font-weight: 800; color: var(--gold); letter-spacing: .06em; }
.match.big { animation: matchIn .4s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes matchIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.rush-banner { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; padding: 2px 16px; border-radius: 99px; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: #2a1200; background: linear-gradient(90deg, #ffd34d, #ff9d2e, #ffd34d); background-size: 200% 100%; animation: rushSlide 1.2s linear infinite; box-shadow: 0 0 16px rgba(255, 157, 46, .7); }
@keyframes rushSlide { to { background-position: -200% 0; } }
.app.rush .machine { border-color: var(--rush); box-shadow: 0 0 0 1px rgba(255, 157, 46, .5), 0 0 34px rgba(255, 157, 46, .35); }
.app.rush { background: radial-gradient(120% 60% at 50% 0%, #3a2208 0%, var(--bg) 62%); }

.app.playing { height: 100dvh; }
.card { flex: 1 1 0; min-height: 0; border-radius: 14px; border: 1px solid var(--line); background: var(--panel); padding: 10px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.card-idle { margin: auto; color: #6f685d; font-size: 13px; text-align: center; }
.card-head { display: flex; align-items: center; gap: 8px; }
.badge { flex: none; font-size: 10.5px; font-weight: 900; padding: 2px 9px; border-radius: 6px; letter-spacing: .08em; }
.badge.P { background: linear-gradient(90deg, #ffe9a6, #e8c46a); color: #201400; } .badge.S { background: #1d3a2b; color: var(--up); }
.badge.N { background: #2a2733; color: var(--dim); } .badge.F { background: #3a1d23; color: #ff9aa4; }
.badge.B, .badge.D { background: var(--down); color: #25040a; } .badge.R { background: var(--rare); color: #170a2c; }
.badge.G { background: linear-gradient(90deg, #ff4d5e, #ffd34d, #4fd18b, #6fb7ff, #b78cff); color: #000; }
.card-title { margin: 0; font-size: 15.5px; font-weight: 800; line-height: 1.35; }
.card-text { margin: 0; font-size: 12.5px; line-height: 1.55; color: #cfc8ba; }
.card-delta { margin: 2px 0 0; font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.3; }
.card-delta.up { color: var(--up); } .card-delta.down { color: var(--down); } .card-delta small { font-size: 11px; font-weight: 500; color: var(--dim); margin-left: 6px; }
.card-sub { margin: 2px 0 0; padding: 6px 8px; border-radius: 8px; background: #1b1823; font-size: 12px; line-height: 1.5; color: #cfc8ba; }
.card-sub b { color: var(--gold-soft); }
.card-sub .amt { font-weight: 800; margin-left: 4px; } .card-sub .amt.up { color: var(--up); } .card-sub .amt.down { color: var(--down); }
.card-memo { margin: 0; font-size: 10.5px; color: #8d8679; }
.card-memo b { color: var(--dim); }
.card-cash { margin: 0; font-size: 10.5px; color: #8d8679; }
.card-stamp { align-self: center; margin: 4px 0; padding: 2px 22px; border: 3px solid var(--down); color: var(--down); font-size: 24px; font-weight: 900; letter-spacing: .3em; transform: rotate(-6deg); animation: stampIn .35s cubic-bezier(.2, 1.8, .4, 1); }
@keyframes stampIn { from { transform: rotate(-6deg) scale(3); opacity: 0; } }
.card.in { animation: cardIn .28s ease-out; }
@keyframes cardIn { from { transform: translateY(8px); opacity: 0; } }
.card.tier-P { border-color: var(--gold); box-shadow: 0 0 22px rgba(232, 196, 106, .25); }
.card.tier-R, .card.tier-G { border-color: var(--rare); box-shadow: 0 0 22px rgba(183, 140, 255, .3); }
.card.tier-B, .card.tier-D { border-color: var(--down); }

.act { padding-top: 2px; }
.btn-spin.stop { background: linear-gradient(180deg, #4a4353, #2a2533); color: var(--gold-soft); box-shadow: 0 2px 0 #15121b; }

/* ── 画面全体の演出 ── */
.fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 20; }
.fx-flash { position: absolute; inset: 0; opacity: 0; animation: flash .6s ease-out; }
.fx-flash.gold { background: radial-gradient(circle at 50% 45%, rgba(255, 233, 166, .85), rgba(232, 196, 106, .2) 55%, transparent 75%); }
.fx-flash.red { background: radial-gradient(circle at 50% 50%, transparent 30%, rgba(255, 30, 50, .55) 100%); animation-duration: .9s; }
.fx-flash.rare { background: radial-gradient(circle at 50% 45%, rgba(183, 140, 255, .8), transparent 70%); }
.fx-flash.god { background: conic-gradient(from 0deg at 50% 45%, #ff4d5e, #ffd34d, #4fd18b, #6fb7ff, #b78cff, #ff4d5e); animation-duration: 1.6s; mix-blend-mode: screen; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.fx-coin { position: absolute; top: 46%; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6cf, #e8c46a 55%, #8a5f12); animation: coin 1s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes coin { 0% { transform: translate(0, 0) scale(.4); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1); opacity: 0; } }
.fx-word { position: absolute; left: 0; right: 0; top: 34%; text-align: center; font-family: "Hiragino Mincho ProN", "Noto Serif JP", serif; font-weight: 900; font-size: clamp(34px, 11vw, 52px); letter-spacing: .08em; color: #fff3c4; text-shadow: 0 0 24px rgba(255, 157, 46, .9), 0 3px 0 #7a3a00; animation: word 1.5s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.fx-word.bad { color: #ffd0d5; text-shadow: 0 0 24px rgba(255, 30, 50, .9), 0 3px 0 #5a000c; }
@keyframes word { 0% { transform: scale(.2); opacity: 0; } 18% { transform: scale(1.1); opacity: 1; } 75% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.app.shake { animation: shake .5s; }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-7px); } 40%, 60% { transform: translateX(7px); } }

/* ── 分岐のシート ── */
.sheet { position: fixed; inset: 0; z-index: 30; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .66); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.sheet-box { width: 100%; max-width: 480px; max-height: 92dvh; overflow-y: auto; padding: 18px 14px; padding-bottom: max(18px, env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; border: 1px solid var(--gold2); border-bottom: 0; background: linear-gradient(180deg, #221b2c, #100d15); animation: sheetUp .28s cubic-bezier(.2, .9, .3, 1); }
@keyframes sheetUp { from { transform: translateY(40%); opacity: 0; } }
.sheet-kicker { margin: 0; font-size: 11px; letter-spacing: .3em; color: var(--gold2); text-align: center; }
.sheet h2 { margin: 4px 0 6px; font-size: 19px; text-align: center; color: var(--gold-soft); line-height: 1.4; }
.sheet-text { margin: 0 0 6px; font-size: 13px; color: #cfc8ba; text-align: center; }
.sheet-memo { margin: 0 0 8px; font-size: 11px; color: #8d8679; text-align: center; }
.sheet-opts { display: grid; gap: 10px; margin-top: 10px; }
.opt { display: block; width: 100%; text-align: left; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--gold2); background: rgba(232, 196, 106, .06); min-height: 62px; }
.opt:active { background: rgba(232, 196, 106, .2); transform: scale(.99); }
.opt-label { display: block; font-size: 17px; font-weight: 800; color: var(--gold); }
.opt-pro, .opt-con { display: block; font-size: 12px; line-height: 1.5; color: #cfc8ba; }
.opt-pro::before { content: "◎ "; color: var(--up); } .opt-con::before { content: "△ "; color: var(--down); }
.sheet-full { align-items: center; }
.sheet-full .sheet-box { border-radius: 20px; border-bottom: 1px solid var(--gold2); max-height: 86dvh; margin: 0 10px; }
.col-list { list-style: none; margin: 10px 0 14px; padding: 0; display: grid; gap: 6px; }
.col-list li { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: center; padding: 7px 10px; border-radius: 10px; background: #15121b; font-size: 13px; }
.col-list li.locked { color: #5d574d; }
.col-list small { display: block; font-size: 10.5px; color: var(--dim); }
.rar { font-size: 10px; font-weight: 900; text-align: center; padding: 2px 0; border-radius: 6px; letter-spacing: .06em; }
.rar.N { background: #2a2733; color: var(--dim); } .rar.R { background: #173049; color: #7cc0ff; } .rar.SR { background: #2c1d49; color: var(--rare); }
.rar.SSR { background: linear-gradient(90deg, #ffe9a6, #e8c46a); color: #201400; } .rar.UR { background: linear-gradient(90deg, #ff4d5e, #ffb04d); color: #1c0500; }
.rar.LEGEND { background: linear-gradient(90deg, #ff4d5e, #ffd34d, #4fd18b, #6fb7ff, #b78cff); color: #000; }
.col-list li.locked .rar { filter: grayscale(1) brightness(.6); }

/* ── 結果の画面 ── */
.scr-result { overflow-y: auto; gap: 12px; padding-bottom: 28px; }
.result-canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 40px rgba(0, 0, 0, .7); animation: cardIn .5s ease-out; }
.r-btns { display: grid; gap: 10px; }
.r-btns-row { display: flex; gap: 10px; }
.r-new { margin: 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--gold); }
.cta { border-radius: 14px; border: 1px solid var(--line); background: var(--panel); padding: 14px; text-align: center; }
.cta-text { margin: 0 0 10px; font-size: 13.5px; line-height: 1.7; }
.cta-text b { color: var(--gold); }
.cta-link { display: block; padding: 13px 10px; border-radius: 12px; border: 1px solid var(--gold); color: var(--gold); font-weight: 800; text-decoration: none; background: rgba(232, 196, 106, .08); }
.cta-link:active { background: rgba(232, 196, 106, .22); }
.cta-note { margin: 8px 0 0; font-size: 10.5px; line-height: 1.6; color: #7d766a; }
.r-sec h2 { margin: 6px 0 8px; font-size: 14px; color: var(--gold); letter-spacing: .1em; }
.r-note { margin: 0; font-size: 11.5px; line-height: 1.7; color: #8d8679; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.timeline li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 8px 10px; border-radius: 10px; background: var(--panel); border-left: 3px solid var(--line); }
.timeline li.P { border-left-color: var(--gold); } .timeline li.S { border-left-color: var(--up); } .timeline li.F { border-left-color: #a2525b; }
.timeline li.B, .timeline li.D { border-left-color: var(--down); } .timeline li.R, .timeline li.G { border-left-color: var(--rare); }
.tl-age { font-size: 13px; font-weight: 800; color: var(--dim); }
.tl-title { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.tl-num { margin: 0; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.tl-num .up { color: var(--up); } .tl-num .down { color: var(--down); }
.tl-tag { display: inline-block; margin-left: 6px; font-size: 9.5px; font-weight: 900; padding: 0 6px; border-radius: 4px; vertical-align: 1px; }
.tl-tag.rush { background: var(--rush); color: #2a1200; } .tl-tag.rare { background: var(--rare); color: #170a2c; } .tl-tag.bankrupt { background: var(--down); color: #25040a; }

/* サーバーが全ページの下に入れる案内（このゲームでは小さく） */
.seo-foot { max-width: 480px; margin: 0 auto; padding: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: center; font-size: 10.5px; background: var(--bg); }
.seo-foot a { color: #6f685d; text-decoration: none; }

/* 背の低いスマホ：1画面に収める */
@media (max-height: 700px) {
  :root { --cell: 54px; }
  .hud-asset-num { font-size: 27px; } .hud-age b { font-size: 20px; } .hud { padding: 7px 12px; }
  .stat { min-height: 32px; padding: 3px 8px; } .stats-hint { display: none; }
  .btn-main { min-height: 54px; font-size: 18px; }
  .t-seven { width: 54px; height: 62px; font-size: 40px; } .t-reels { margin: 8px 0 6px; } .t-points { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .t-seven, .rush-banner, .machine.reach .reel:last-of-type { animation: none; } .app.shake { animation: none; } }
