:root {
  --bg: #0b1220;
  --bg2: #111a2e;
  --panel: #152038;
  --panel2: #1b2844;
  --line: #2a3a5c;
  --text: #e9eef8;
  --muted: #93a2c0;
  --accent: #e8b04a;
  --accent2: #f6d68b;
  --blue: #4e8dff;
  --mint: #2fd3a4;
  --red: #ff5a5f;
  --gold: #ffc531;
  --neg: #8d5bd6;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, #1d2f57 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 30%, #16264a 0%, transparent 55%),
    var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; cursor: pointer; }
.shell { max-width: 1180px; margin: 0 auto; padding: 0 16px 120px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header */
.masthead { position: sticky; top: 0; z-index: 30; backdrop-filter: blur(10px); background: rgba(11, 18, 32, .78); border-bottom: 1px solid var(--line); }
.masthead-inner { max-width: 1180px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { white-space: nowrap; background: none; border: 0; display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .04em; font-size: 15px; padding: 0; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--accent2), var(--accent) 55%, #b9771e); position: relative; box-shadow: 0 0 18px rgba(232, 176, 74, .35); }
.brand-mark::after { content: ''; position: absolute; left: 7px; top: 6px; width: 12px; height: 14px; border: 2px solid #0b1220; border-top-width: 4px; border-radius: 2px; }
.header-actions { display: flex; gap: 8px; }
.header-button { white-space: nowrap; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; }
.header-button b { color: var(--accent); margin-left: 4px; }

/* buttons */
.btn { border: 1px solid var(--line); background: var(--panel2); border-radius: 12px; padding: 12px 20px; font-weight: 700; transition: transform .1s, background .2s; }
.btn:hover { background: #22325a; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--accent2), var(--accent)); color: #1a1206; border: 0; box-shadow: 0 6px 24px rgba(232, 176, 74, .3); }
.btn-primary:hover { background: linear-gradient(180deg, #fbe2a6, #efbb5a); }
.btn[disabled] { opacity: .45; cursor: default; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* cover */
.cover { text-align: center; padding: 56px 0 24px; }
.eyebrow { color: var(--accent); letter-spacing: .3em; font-size: 12px; font-weight: 700; margin: 0 0 10px; }
.cover h1 { font-family: 'Zen Old Mincho', serif; font-size: clamp(34px, 7vw, 64px); line-height: 1.2; margin: 0 0 14px; font-weight: 900; }
.cover h1 em { font-style: normal; background: linear-gradient(180deg, #fff3cf, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover .lead { color: var(--muted); margin: 0 auto 28px; max-width: 560px; }
.cover-route { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 0; padding: 0; margin: 0 auto 34px; max-width: 760px; }
.cover-route li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 4px 10px; position: relative; }
.cover-route li + li::before { content: ''; width: 18px; height: 1px; background: var(--line); margin-right: 6px; }
.cover-route i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.cover-stats { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 26px 0 0; }
.cover-stats span { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 12px; color: var(--muted); }
.cover-links { margin-top: 22px; display: flex; justify-content: center; gap: 10px; }
.link-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--muted); position: relative; }
.unread-dot { position: absolute; top: 2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* panels */
.panel { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.section-head h2 { margin: 0; font-size: 18px; }
.section-note { color: var(--muted); font-size: 13px; }

/* hire */
.hire { padding: 28px 0; }
.hire h2 { font-family: 'Zen Old Mincho', serif; font-size: 28px; margin: 0 0 6px; text-align: center; }
.hire .lead { color: var(--muted); text-align: center; margin: 0 0 22px; }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ind-card { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: border-color .2s, transform .15s; }
.ind-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.ind-card .ic { font-size: 30px; }
.ind-card h3 { margin: 6px 0 2px; font-size: 17px; }
.ind-card .co { color: var(--accent); font-size: 13px; font-weight: 700; }
.ind-card p { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.ind-card .tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(232, 176, 74, .12); color: var(--accent2); border: 1px solid rgba(232, 176, 74, .3); }
.start-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 0 auto 26px; max-width: 760px; }
.start-stats div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; text-align: center; }
.start-stats span { display: block; font-size: 11px; color: var(--muted); }
.start-stats strong { font-size: 22px; }

/* game layout */
.game { display: grid; grid-template-columns: 320px 1fr; gap: 16px; padding-top: 18px; align-items: start; }
.sidebar { display: grid; gap: 12px; position: sticky; top: 66px; }
.profile .company { color: var(--accent); font-weight: 700; font-size: 13px; }
.profile .rank { font-family: 'Zen Old Mincho', serif; font-size: 26px; font-weight: 900; margin: 2px 0 6px; line-height: 1.3; }
.profile dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; font-size: 13px; }
.profile dt { color: var(--muted); }
.profile dd { margin: 0; font-weight: 500; }
.ladder { display: flex; gap: 3px; margin: 12px 0 4px; }
.ladder i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.ladder i.on { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.ladder i.now { box-shadow: 0 0 8px var(--accent); }
.ladder-label { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.next-promo { font-size: 12px; color: var(--muted); margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.next-promo b { color: var(--text); }
.ratings { display: flex; flex-wrap: wrap; gap: 4px; }
.rt { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; font-weight: 900; font-size: 13px; background: var(--panel2); color: var(--muted); }
.rt.S { background: linear-gradient(135deg, #ffe08a, #e8a62a); color: #3a2500; }
.rt.A { background: #2a5bd7; color: #fff; }
.rt.B { background: #2b3b5e; color: #dbe4f5; }
.rt.C { background: #3a2f45; color: #c7b6d8; }
.rt.D { background: #4a1f2a; color: #ff9aa2; }
.timeline { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow: auto; font-size: 12.5px; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 6px; padding: 5px 0; border-bottom: 1px solid rgba(42, 58, 92, .5); }
.timeline .age { color: var(--muted); }
.timeline .k-promo { color: var(--accent2); font-weight: 700; }
.timeline .k-abroad { color: #7fc4ff; }
.timeline .k-life { color: #ff9ec7; }
.timeline .k-sub { color: #ff9aa2; }

/* slot */
.slot { padding: 22px; }
.slot-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.year-label { font-size: 14px; color: var(--muted); }
.year-label strong { font-size: 26px; color: var(--text); font-weight: 900; margin-right: 6px; }
.rush-badge { font-size: 13px; font-weight: 900; padding: 4px 12px; border-radius: 999px; background: linear-gradient(90deg, #ff5a5f, #ffb347); color: #2a0a00; animation: pulse 1s infinite alternate; }
.rush-badge.ultra { background: linear-gradient(90deg, #ff4ecd, #7a5cff, #2fd3ff, #4cff9a, #ffe14d); }
@keyframes pulse { to { filter: brightness(1.25); transform: scale(1.04); } }
.banner { min-height: 30px; text-align: center; font-weight: 900; letter-spacing: .08em; margin: 0 0 10px; }
.banner span { display: inline-block; padding: 4px 16px; border-radius: 8px; background: rgba(255, 197, 49, .14); color: var(--gold); border: 1px solid rgba(255, 197, 49, .4); animation: pop .4s ease-out; }
.banner span.rare { background: linear-gradient(90deg, #ff4ecd33, #2fd3ff33, #ffe14d33); color: #fff; border-color: #fff6; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

.reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.reel { background: #0a1122; border: 1px solid var(--line); border-radius: 12px; padding: 10px 8px 12px; text-align: center; position: relative; overflow: hidden; }
.reel .name { font-size: 12px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.reel .name.strong::after { content: '★'; color: var(--accent); margin-left: 2px; font-size: 10px; }
.window { height: 84px; margin: 8px 0; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(180deg, #050a16, #121c33 50%, #050a16); border: 1px solid #22304f; position: relative; overflow: hidden; }
.window .num { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }
.window.spinning .num { filter: blur(1.5px); opacity: .7; animation: spinjit .09s linear infinite; }
@keyframes spinjit { 0% { transform: translateY(-8px); } 100% { transform: translateY(8px); } }
.window.reach { animation: reach .25s infinite alternate; border-color: var(--gold); }
@keyframes reach { to { box-shadow: 0 0 22px var(--gold) inset, 0 0 14px var(--gold); } }
.reel[data-c="plain"] .window .num { color: #cfd6e4; }
.reel[data-c="blue"] .window { background: radial-gradient(circle, #1d4bb0, #0b1a40); border-color: var(--blue); }
.reel[data-c="mint"] .window { background: radial-gradient(circle, #0f8a6a, #052a22); border-color: var(--mint); }
.reel[data-c="red"] .window { background: radial-gradient(circle, #c7262c, #3a0709); border-color: var(--red); box-shadow: 0 0 16px rgba(255, 90, 95, .5); }
.reel[data-c="gold"] .window { background: radial-gradient(circle, #ffe08a, #c88a10 70%); border-color: #fff2b8; box-shadow: 0 0 26px rgba(255, 197, 49, .8); }
.reel[data-c="gold"] .window .num { color: #3a2500; }
.reel[data-c="prism"] .window { background: linear-gradient(120deg, #ff4ecd, #7a5cff, #2fd3ff, #4cff9a, #ffe14d, #ff4ecd); background-size: 300% 300%; animation: prism 2s linear infinite; border-color: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, .7); }
.reel[data-c="prism"] .window .num { color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
@keyframes prism { to { background-position: 300% 0; } }
.reel[data-c="negative"] .window { background: radial-gradient(circle, #4b2a7a, #160a26); border-color: var(--neg); }
.reel.flash { animation: flash .5s ease-out; }
@keyframes flash { from { transform: scale(1.08); } }
.reel .val { font-size: 13px; color: var(--muted); }
.reel .val b { color: var(--text); font-size: 18px; }
.bar { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; margin-top: 4px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 3px; transition: width .6s; }

.slot-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.total { font-size: 14px; color: var(--muted); }
.total strong { font-size: 24px; color: var(--text); margin-left: 6px; }
.rating-now { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.rating-now .rt { width: 34px; height: 34px; font-size: 18px; }
.spin-area { position: sticky; bottom: 0; padding: 14px 0 18px; background: linear-gradient(180deg, transparent, var(--bg) 40%); z-index: 10; display: flex; gap: 10px; justify-content: center; align-items: center; }
.spin-btn { min-width: 260px; font-size: 18px; padding: 16px 28px; border-radius: 999px; }
.auto-btn { border-radius: 999px; padding: 10px 16px; font-size: 13px; }
.auto-btn[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }

.yearlog { margin-top: 14px; display: grid; gap: 6px; }
.yearlog p { margin: 0; font-size: 13.5px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); animation: pop .3s; }
.yearlog p.promo { border-color: var(--accent); color: var(--accent2); }

.stat-dist { margin-top: 18px; }

/* modal */
.modal-back { position: fixed; inset: 0; z-index: 40; background: rgba(3, 6, 14, .72); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(3px); animation: fadein .25s; }
@keyframes fadein { from { opacity: 0; } }
.modal { width: min(640px, 100%); max-height: 90vh; overflow: auto; background: linear-gradient(180deg, #1a2642, #101829); border: 1px solid var(--line); border-radius: 18px; padding: 26px; animation: pop .35s; }
.modal h2 { margin: 0 0 6px; font-family: 'Zen Old Mincho', serif; font-size: 26px; }
.modal .lead { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.opt-grid { display: grid; gap: 10px; }
.opt { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; transition: border-color .2s; }
.opt:hover { border-color: var(--accent); }
.opt .t { font-weight: 900; font-size: 16px; }
.opt .b { font-size: 12px; color: var(--muted); }
.opt.abroad { border-color: #3d6fb8; background: linear-gradient(135deg, #17305a, var(--panel)); }
.opt.abroad .t::after { content: '海外'; font-size: 11px; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: #2f6fe0; color: #fff; vertical-align: middle; }
.opt.secretary .t::after { content: '抜てき'; font-size: 11px; margin-left: 8px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #1a1206; vertical-align: middle; }

.jirei { text-align: center; background: #f7f1e3; color: #2a2015; border-radius: 6px; padding: 30px 20px; margin: 0 0 18px; font-family: 'Zen Old Mincho', serif; box-shadow: inset 0 0 0 6px #f7f1e3, inset 0 0 0 7px #b48a3c; }
.jirei .h { letter-spacing: 1em; font-size: 22px; font-weight: 900; margin-bottom: 12px; padding-left: 1em; }
.jirei .r { font-size: 30px; font-weight: 900; margin: 8px 0; }
.jirei .s { font-size: 14px; }

/* cut-in */
.cutin { position: fixed; inset: 0; z-index: 50; pointer-events: none; display: none; align-items: center; justify-content: center; }
.cutin.show { display: flex; }
.cutin .stripe { position: absolute; left: 0; right: 0; height: 170px; background: linear-gradient(90deg, #000c, #1b2a50ee 30%, #1b2a50ee 70%, #000c); border-top: 3px solid var(--accent); border-bottom: 3px solid var(--accent); animation: slide .35s ease-out; }
.cutin.gold .stripe { background: linear-gradient(90deg, #3a2500ee, #c88a10ee 40%, #c88a10ee 60%, #3a2500ee); border-color: #fff2b8; }
.cutin.prism .stripe { background: linear-gradient(90deg, #ff4ecdcc, #7a5cffcc, #2fd3ffcc, #4cff9acc, #ffe14dcc); border-color: #fff; }
.cutin .inner { position: relative; display: flex; align-items: center; gap: 20px; animation: slide .45s ease-out; }
.cutin .face { font-size: 86px; filter: drop-shadow(0 6px 12px #0008); }
.cutin .cap { font-size: 13px; color: var(--accent2); font-weight: 700; letter-spacing: .2em; }
.cutin .line { font-family: 'Zen Old Mincho', serif; font-size: clamp(22px, 5vw, 38px); font-weight: 900; text-shadow: 0 3px 12px #000a; }
@keyframes slide { from { transform: translateX(-60vw); opacity: 0; } }

/* toast */
.toast { position: fixed; left: 50%; top: 70px; transform: translateX(-50%) translateY(-20px); z-index: 60; background: linear-gradient(90deg, #3a2a08, #5a4210); border: 1px solid var(--accent); color: var(--accent2); padding: 10px 18px; border-radius: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: .35s; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%); }

/* end */
.result { padding: 28px 0; }
.result-hero { text-align: center; padding: 34px 20px; }
.result-hero .route { color: var(--muted); font-size: 14px; }
.result-hero h2 { font-family: 'Zen Old Mincho', serif; font-size: clamp(30px, 6vw, 52px); margin: 6px 0; line-height: 1.25; }
.result-hero .title { display: inline-block; margin-top: 6px; padding: 6px 18px; border-radius: 999px; background: rgba(232, 176, 74, .14); border: 1px solid rgba(232, 176, 74, .4); color: var(--accent2); font-weight: 700; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.kv div { background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.kv span { display: block; font-size: 11px; color: var(--muted); }
.kv strong { font-size: 18px; }
.radar { width: 100%; max-width: 340px; display: block; margin: 0 auto; }
.radar text { fill: var(--muted); font-size: 11px; font-family: inherit; }

/* dialogs */
dialog { border: 1px solid var(--line); border-radius: 16px; background: #121b30; color: var(--text); padding: 0; width: min(560px, calc(100% - 32px)); }
dialog::backdrop { background: rgba(3, 6, 14, .7); }
.dlg { padding: 24px; }
.dlg h2 { margin: 0 0 10px; }
.help-list { padding-left: 1.2em; display: grid; gap: 8px; font-size: 14px; }
.note { color: var(--muted); font-size: 12px; }
.list-wrap { max-height: 55vh; overflow: auto; margin: 10px 0 16px; display: grid; gap: 8px; }
.rec { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.rec b { font-size: 15px; }
.rec .m { color: var(--muted); font-size: 12px; }
.ach { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.ach i { font-style: normal; font-size: 22px; text-align: center; }
.ach.locked { opacity: .45; }
.ach b { display: block; font-size: 14px; }
.ach span { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .game { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .result-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .reels { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .window { height: 70px; }
  .window .num { font-size: 28px; }
  .start-stats { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: 1fr; }
  .slot { padding: 14px; }
  .spin-btn { min-width: 0; flex: 1; }
  .brand span { font-size: 12px; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-mark::after { left: 5px; top: 4px; }
  .header-button { padding: 5px 10px; font-size: 12px; }
}

/* ---------- 色のランク表示（GREAT / GOLDEN / RAINBOW） ---------- */
.window { flex-direction: column; display: flex; align-items: center; justify-content: center; gap: 0; }
.window .grade { font-size: 10px; font-weight: 900; letter-spacing: .14em; height: 14px; line-height: 14px; opacity: .9; }
.reel[data-c="blue"] .grade { color: #a9c6ff; }
.reel[data-c="mint"] .grade { color: #9df5da; }
.reel[data-c="red"] .grade { color: #ffe1e2; }
.reel[data-c="gold"] .grade { color: #5a3a00; }
.reel[data-c="prism"] .grade { color: #fff; text-shadow: 0 1px 4px #000a; }
.reel[data-c="negative"] .grade { color: #d6c2ff; }
.reel[data-c="red"] { border-color: var(--red); box-shadow: 0 0 18px rgba(255, 90, 95, .35); }
.reel[data-c="red"] .window .num { color: #fff; text-shadow: 0 0 10px #ff2d35; }
.reel[data-c="gold"] { border-color: var(--gold); box-shadow: 0 0 26px rgba(255, 197, 49, .55); background: linear-gradient(180deg, #3a2a08, #0a1122); }
.reel[data-c="gold"] .window { animation: goldshine 1.6s linear infinite; background: linear-gradient(110deg, #c88a10 20%, #fff2b8 40%, #ffc531 55%, #c88a10 75%); background-size: 250% 100%; }
@keyframes goldshine { to { background-position: -250% 0; } }
.reel[data-c="prism"] { border-color: #fff; box-shadow: 0 0 30px rgba(255, 255, 255, .45), 0 0 50px rgba(122, 92, 255, .45); }
.reel[data-c="prism"] .name, .reel[data-c="gold"] .name { color: #fff; }

.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.lg { display: inline-flex; align-items: center; gap: 5px; }
.lg i { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); }
.lg-plain i { background: #0a1122; }
.lg-blue i { background: #1d4bb0; }
.lg-mint i { background: #0f8a6a; }
.lg-red i { background: #e0333a; }
.lg-gold i { background: linear-gradient(135deg, #fff2b8, #ffc531, #c88a10); }
.lg-prism i { background: linear-gradient(135deg, #ff4ecd, #7a5cff, #2fd3ff, #4cff9a, #ffe14d); }

/* ---------- やる気爆増ZONE（フィーバー） ---------- */
.slot { position: relative; }
.slot.zone { border-color: transparent; background:
  linear-gradient(180deg, #24154a, #0f1830) padding-box,
  linear-gradient(120deg, #ff4ecd, #7a5cff, #2fd3ff, #4cff9a, #ffe14d, #ff4ecd) border-box;
  border: 2px solid transparent; background-size: 100% 100%, 300% 300%; animation: zoneborder 3s linear infinite;
  box-shadow: 0 0 40px rgba(122, 92, 255, .45), 0 0 80px rgba(255, 78, 205, .2); }
.slot.zone.ultra { animation-duration: 1.2s; box-shadow: 0 0 50px rgba(255, 225, 77, .5), 0 0 100px rgba(255, 78, 205, .35); }
@keyframes zoneborder { to { background-position: 0 0, 300% 0; } }
.slot.zone::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(255, 78, 205, .14), transparent 40%), radial-gradient(circle at 80% 70%, rgba(47, 211, 255, .14), transparent 40%), radial-gradient(circle at 50% 100%, rgba(255, 225, 77, .12), transparent 45%);
  animation: zoneglow 2.4s ease-in-out infinite alternate; }
@keyframes zoneglow { to { opacity: .4; } }
.slot.zone .reel { border-color: rgba(255, 255, 255, .25); }
.slot.zone .window.spinning { background: linear-gradient(120deg, #ff4ecd55, #7a5cff55, #2fd3ff55, #4cff9a55, #ffe14d55); background-size: 300% 300%; animation: prism 1s linear infinite; }
.rush-badge { background: linear-gradient(90deg, #ff4ecd, #7a5cff, #2fd3ff, #4cff9a, #ffe14d); background-size: 300% 100%; color: #fff; text-shadow: 0 1px 4px #0009; animation: pulse 1s infinite alternate, prism 2s linear infinite; }
.rush-badge.ultra { font-size: 14px; padding: 6px 16px; box-shadow: 0 0 20px #ffe14d; }
.zone-line { font-size: clamp(30px, 7vw, 60px) !important; background: linear-gradient(90deg, #fff, #ffe14d, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none !important; filter: drop-shadow(0 4px 10px #000a); line-height: 1.15; }
.cutin.zone-in .stripe { height: 240px; }
.cutin.zone-in .inner { text-align: center; }
.yearlog p.zone { border-color: #ff4ecd; color: #ffc8f0; background: linear-gradient(90deg, rgba(255, 78, 205, .12), rgba(47, 211, 255, .08)); }

/* ---------- アニメ調キャラのカットイン ---------- */
.cutin .stripe { height: 200px; }
.cutin .inner { gap: 10px; width: min(860px, 100%); padding: 0 16px; justify-content: center; }
.cutin .face { font-size: 0; flex: none; width: clamp(150px, 26vw, 240px); margin-top: -30px; filter: drop-shadow(0 8px 18px #000a); animation: facein .45s cubic-bezier(.2, 1.4, .4, 1); }
.cutin .face svg { width: 100%; height: auto; display: block; }
@keyframes facein { from { transform: translateX(-120px) scale(.8); opacity: 0; } }
.cutin .bubble { position: relative; background: #fff; color: #1b1b24; border-radius: 18px; padding: 14px 20px; max-width: 520px; box-shadow: 0 8px 30px #0008; animation: pop .35s .12s both; }
.cutin .bubble::before { content: ''; position: absolute; left: -14px; top: 50%; margin-top: -10px; border: 10px solid transparent; border-right: 16px solid #fff; border-left: 0; }
.cutin .bubble .cap { color: #b8781a; }
.cutin .bubble .line { text-shadow: none; color: #1b1b24; font-size: clamp(18px, 3.6vw, 30px); line-height: 1.35; }
.cutin.red .stripe { background: linear-gradient(90deg, #000c, #6a1218ee 35%, #6a1218ee 65%, #000c); border-color: var(--red); }
.cutin.calm .stripe { background: linear-gradient(90deg, #000c, #3b2b36ee 35%, #3b2b36ee 65%, #000c); border-color: #f0a0a8; }
.cutin.zone-in .face { width: clamp(130px, 20vw, 200px); }
.zone-shout { margin-top: 8px; font-weight: 900; font-size: clamp(14px, 2.4vw, 18px); color: #fff; text-shadow: 0 2px 6px #000; }
@media (max-width: 600px) {
  .cutin .inner { flex-direction: column; gap: 0; text-align: center; }
  .cutin .face { margin-top: 0; width: 140px; }
  .cutin .stripe { height: 320px; }
  .cutin .bubble::before { display: none; }
}

/* 辞令などに出るキャラ */
.speaker { display: flex; align-items: flex-end; gap: 10px; margin: -6px 0 12px; }
.speaker svg { width: 96px; flex: none; }
.bubble-s { position: relative; background: #fff; color: #1b1b24; border-radius: 14px; padding: 10px 14px; font-size: 14.5px; font-weight: 700; margin-bottom: 18px; }
.bubble-s b { display: block; font-size: 11px; color: #b8781a; letter-spacing: .1em; }
.bubble-s::before { content: ''; position: absolute; left: -10px; bottom: 14px; border: 7px solid transparent; border-right: 11px solid #fff; border-left: 0; }

/* ---------- ドカン！演出 ---------- */
.reel, .window { overflow: visible; }
.window .num { position: relative; z-index: 3; }
.num.slam { animation: slam .55s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes slam {
  0% { transform: scale(3.4); opacity: 0; filter: blur(6px); }
  35% { transform: scale(.82); opacity: 1; filter: blur(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.reel[data-c="gold"] .num.slam, .reel[data-c="prism"] .num.slam { animation-duration: .75s; }
.slam-total { display: inline-block; animation: slam .6s cubic-bezier(.2, 1.6, .4, 1); color: var(--gold) !important; text-shadow: 0 0 14px rgba(255, 197, 49, .7); }

.fx { position: fixed; inset: 0; pointer-events: none; z-index: 55; overflow: hidden; }
.spark { position: absolute; border-radius: 50%; transform: translate(-50%, -50%); animation: spark .8s cubic-bezier(.1, .7, .3, 1) forwards; }
.spark-red { background: #ff6b6f; box-shadow: 0 0 8px #ff2d35; }
.spark-gold { background: #ffe07a; box-shadow: 0 0 10px #ffc531; }
.spark-prism { box-shadow: 0 0 12px #fff; }
@keyframes spark { to { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.2); opacity: 0; } }
.ring { position: absolute; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 4px solid; animation: ring .75s ease-out both; }
.ring-red { border-color: #ff5a5f; }
.ring-gold { border-color: #ffd65a; box-shadow: 0 0 16px #ffc531; }
.ring-prism { border-color: #fff; box-shadow: 0 0 20px #ff4ecd, inset 0 0 20px #2fd3ff; }
@keyframes ring { from { transform: scale(.3); opacity: 1; } to { transform: scale(5.5); opacity: 0; } }
.onoma { position: absolute; transform: translate(-50%, -100%) rotate(var(--rot)); font-weight: 900; font-style: italic; white-space: nowrap; letter-spacing: -.02em; line-height: 1;
  -webkit-text-stroke: 2px #1a0d00; paint-order: stroke fill; animation: onoma 1.25s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.onoma-red { color: #ff4048; text-shadow: 0 4px 0 #5a0a0e, 0 0 18px rgba(255, 64, 72, .8); }
.onoma-gold { color: #ffd23f; text-shadow: 0 5px 0 #7a4b00, 0 0 24px rgba(255, 197, 49, .9); }
.onoma-prism { background: linear-gradient(90deg, #ff4ecd, #ffe14d, #4cff9a, #2fd3ff, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 2px #fff; filter: drop-shadow(0 4px 0 #3a1060) drop-shadow(0 0 16px #ff4ecd); }
@keyframes onoma {
  0% { transform: translate(-50%, -100%) rotate(var(--rot)) scale(3); opacity: 0; }
  18% { transform: translate(-50%, -100%) rotate(var(--rot)) scale(.9); opacity: 1; }
  30% { transform: translate(-50%, -100%) rotate(var(--rot)) scale(1.08); }
  75% { transform: translate(-50%, -110%) rotate(var(--rot)) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -135%) rotate(var(--rot)) scale(1); opacity: 0; }
}
.screen-flash { position: absolute; inset: 0; animation: sflash .5s ease-out forwards; }
.flash-gold { background: radial-gradient(circle, rgba(255, 230, 150, .55), rgba(255, 197, 49, .15) 60%, transparent); }
.flash-prism { background: linear-gradient(120deg, rgba(255, 78, 205, .45), rgba(47, 211, 255, .45), rgba(255, 225, 77, .45)); }
@keyframes sflash { to { opacity: 0; } }
.slot.shake { animation: shake .4s; }
.slot.shake-big { animation: shakebig .6s; }
.slot.zone.shake { animation: shake .4s, zoneborder 3s linear infinite; }
.slot.zone.shake-big { animation: shakebig .6s, zoneborder 3s linear infinite; }
@keyframes shake { 0%, 100% { transform: translate(0); } 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-4px, 2px); } 80% { transform: translate(3px, -1px); } }
@keyframes shakebig { 0%, 100% { transform: translate(0) rotate(0); } 15% { transform: translate(-12px, 6px) rotate(-.6deg); } 30% { transform: translate(10px, -8px) rotate(.5deg); } 45% { transform: translate(-8px, 5px); } 60% { transform: translate(6px, -4px); } 80% { transform: translate(-3px, 2px); } }
@media (prefers-reduced-motion: reduce) { .slot.shake, .slot.shake-big { animation: none; } }

/* ---------- イラストキャラのカットイン（斜めの帯＋大きな文字） ---------- */
.cutin .stripe { height: 230px; transform: skewY(-6deg); border-width: 4px; }
.cutin .inner { width: min(980px, 100%); justify-content: space-between; gap: 0; padding: 0 20px; }
.cutin .face.art { width: clamp(230px, 36vw, 400px); margin: -90px 0 -40px; filter: drop-shadow(0 10px 22px #000b); animation: artin .5s cubic-bezier(.2, 1.3, .4, 1); }
.cutin .face.art img { width: 100%; display: block; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
@keyframes artin { from { transform: translateX(160px); opacity: 0; } }
.cutin .bubble { background: none; box-shadow: none; padding: 0; max-width: 560px; transform: rotate(-6deg); animation: linein .45s .1s cubic-bezier(.2, 1.4, .4, 1) both; }
.cutin .bubble::before { display: none; }
@keyframes linein { from { transform: rotate(-6deg) translateX(-140px) scale(1.3); opacity: 0; } }
.cutin .bubble .cap { display: inline-block; color: #fff; background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .35); padding: 2px 12px; border-radius: 999px; font-size: 13px; letter-spacing: .15em; margin-bottom: 6px; }
.cutin .bubble .line { font-family: 'Zen Old Mincho', serif; font-weight: 900; color: #fff; font-size: clamp(24px, 4.6vw, 46px); line-height: 1.25;
  -webkit-text-stroke: 6px #1a0c0c; paint-order: stroke fill; text-shadow: 0 6px 0 rgba(0, 0, 0, .45); }
.cutin.gold .bubble .line { color: #fff3c4; }
.cutin.prism .bubble .line { color: #fff; }
.cutin.calm .bubble .line { color: #ffe6ec; }
.avatar-img { user-select: none; }
.speaker img.avatar-img { width: 104px; height: 104px; flex: none; object-fit: cover; object-position: 50% 8%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3b4d7a, #1a2440); border: 2px solid var(--accent); }
@media (max-width: 600px) {
  .cutin .stripe { height: 360px; }
  .cutin .inner { flex-direction: column-reverse; align-items: center; }
  .cutin .face.art { width: 230px; margin: -40px 0 -10px; }
  .cutin .bubble { text-align: center; transform: rotate(-4deg); }
}
.cutin .bubble { max-width: 640px; flex: 1; }
.cutin .bubble .line { font-size: clamp(22px, 3.6vw, 40px); text-wrap: balance; }
.cutin .face.art + .bubble, .cutin .bubble:has(+ .face.art) { margin-right: -30px; }

/* ---------- 3つずつ2段 ---------- */
.reels { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.window { height: 112px; }
.window .num { font-size: 50px; }
.window .grade { font-size: 11px; }
@media (max-width: 600px) { .window { height: 80px; } .window .num { font-size: 32px; } }

/* ---------- 期待度ランプ ---------- */
.slot::after { content: ''; position: absolute; inset: -5px; border-radius: 18px; pointer-events: none; opacity: 0; }
.slot.lamp-red::after { opacity: 1; border: 3px solid #ff3b3b; box-shadow: 0 0 34px #ff3b3b, inset 0 0 24px rgba(255, 59, 59, .4); animation: lampblink .22s steps(2) infinite; }
.slot.lamp-rainbow::after { opacity: 1; border: 4px solid #ff4ecd; box-shadow: 0 0 44px #ff4ecd, inset 0 0 30px rgba(255, 78, 205, .45); animation: huespin .5s linear infinite; }
@keyframes lampblink { 50% { opacity: .25; } }
@keyframes huespin { to { filter: hue-rotate(360deg); } }

/* ---------- 激アツ予告 ---------- */
.geki { position: absolute; transform: translate(-50%, -50%) rotate(-8deg); font-family: 'Zen Old Mincho', serif; font-weight: 900; white-space: nowrap; font-size: clamp(44px, 9vw, 96px); line-height: 1;
  -webkit-text-stroke: 8px #2a0000; paint-order: stroke fill; animation: geki .75s cubic-bezier(.2, 1.6, .4, 1) both; z-index: 3; }
.geki-1 { color: #ff2b2b; text-shadow: 0 0 30px #ff2b2b, 0 8px 0 #4a0000; }
.geki-2 { background: linear-gradient(90deg, #ff4ecd, #ffe14d, #4cff9a, #2fd3ff, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 8px #fff; filter: drop-shadow(0 0 24px #ff4ecd) drop-shadow(0 8px 0 #3a1060); animation-duration: 1s; }
@keyframes geki { 0% { transform: translate(-50%, -50%) rotate(-8deg) scale(4); opacity: 0; } 25% { transform: translate(-50%, -50%) rotate(-8deg) scale(.9); opacity: 1; } 40% { transform: translate(-50%, -50%) rotate(-8deg) scale(1.1); } 85% { opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-8deg) scale(1); opacity: 0; } }

/* ---------- 紙吹雪 ---------- */
.confetti { position: absolute; top: -20px; width: 9px; height: 14px; border-radius: 2px; animation: confetti 2s cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes confetti { to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); } }

/* ---------- 復活レインボー（ぷちゅん） ---------- */
.reel.revive-tease { animation: tease .09s linear infinite; }
.reel.revive-tease .window { border-color: #fff; box-shadow: 0 0 20px #fff; }
.reel.revive-tease .num { color: #fff !important; }
@keyframes tease { 0% { transform: translate(-2px, 1px); } 50% { transform: translate(2px, -1px); } 100% { transform: translate(-1px, 0); } }
.blackout { position: fixed; inset: 0; z-index: 80; background: #000; }
.blackout::before { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: 50% 50%; animation: crtoff .28s ease-in forwards; }
@keyframes crtoff { 0% { transform: scale(1, 1); opacity: .9; } 55% { transform: scale(1, .006); opacity: 1; } 100% { transform: scale(0, .006); opacity: 1; } }
.blackout.out { animation: boout .7s ease-out forwards; }
.blackout.out::before { display: none; }
@keyframes boout { 0% { background: #fff; } 15% { background: #fff; } 100% { background: #fff; opacity: 0; } }

/* ---------- 能力ランク ---------- */
.srank { display: inline-grid; place-items: center; min-width: 26px; height: 24px; padding: 0 4px; border-radius: 6px; font-weight: 900; font-size: 15px; font-style: italic; line-height: 1; vertical-align: middle;
  color: #fff; text-shadow: 0 1px 2px #0008; border: 1px solid rgba(255, 255, 255, .25); }
.srank.big { min-width: 40px; height: 36px; font-size: 24px; border-radius: 8px; }
.r-G { background: #4b5160; }
.r-F { background: #7a5a3c; }
.r-E { background: #2f8a55; }
.r-D { background: #23879a; }
.r-C { background: #2f63d6; }
.r-B { background: #7a45d6; }
.r-A { background: linear-gradient(135deg, #ffd65a, #e8901a); color: #3a1d00; text-shadow: none; }
.r-S { background: linear-gradient(120deg, #ff4ecd, #ffe14d, #4cff9a, #2fd3ff, #7a5cff); background-size: 200% 200%; animation: prism 2s linear infinite; text-shadow: 0 1px 3px #000a; box-shadow: 0 0 12px rgba(255, 78, 205, .6); }
.reel .val { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.reel .val b { font-size: 22px; }
.reel .val small { flex-basis: 100%; font-size: 10.5px; color: var(--muted); }
.start-stats strong { display: flex; align-items: center; justify-content: center; gap: 6px; }
.reel { position: relative; }
.rankup { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 6; pointer-events: none; text-align: center; white-space: nowrap;
  font-weight: 900; font-style: italic; font-size: 22px; color: #fff; -webkit-text-stroke: 4px #3a1060; paint-order: stroke fill; animation: rankup 1.5s cubic-bezier(.2, 1.5, .4, 1) forwards; }
.rankup b { display: block; font-size: 30px; background: linear-gradient(90deg, #ffe14d, #ff4ecd, #2fd3ff); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; filter: drop-shadow(0 2px 0 #3a1060); }
@keyframes rankup { 0% { transform: translate(-50%, -20%) scale(.4); opacity: 0; } 20% { transform: translate(-50%, -60%) scale(1.15); opacity: 1; } 75% { transform: translate(-50%, -75%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -110%) scale(1); opacity: 0; } }

/* 結果のステータス表 */
.stat-table { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
.stat-table th { text-align: left; font-weight: 700; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.stat-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: right; width: 1%; white-space: nowrap; }
.stat-table .sv { font-size: 22px; font-weight: 900; padding-right: 12px; font-variant-numeric: tabular-nums; }
.rank-legend { margin: 6px 0 12px; }

/* ---------- 復活：巨大な数字が飛び出して枠へ ---------- */
.revive-fly { position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 90; text-align: center; pointer-events: none; animation: flyout .6s cubic-bezier(.2, 1.6, .4, 1) both; }
.revive-fly.go { transition: transform .38s cubic-bezier(.6, 0, .9, .4), opacity .38s; animation: none; }
.rf-cap { display: block; font-weight: 900; font-size: clamp(20px, 4vw, 34px); color: #fff; -webkit-text-stroke: 5px #3a1060; paint-order: stroke fill; letter-spacing: .06em; }
.rf-num { display: block; font-weight: 900; font-style: italic; line-height: 1; font-size: clamp(150px, 30vw, 300px);
  background: linear-gradient(100deg, #ff4ecd, #ffe14d, #4cff9a, #2fd3ff, #7a5cff, #ff4ecd); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 6px #fff; filter: drop-shadow(0 0 30px #ff4ecd) drop-shadow(0 10px 0 #3a1060); animation: prism 1.2s linear infinite; }
@keyframes flyout { 0% { transform: translate(-50%, -50%) scale(.1) rotate(-20deg); opacity: 0; } 45% { transform: translate(-50%, -50%) scale(1.35) rotate(4deg); opacity: 1; } 70% { transform: translate(-50%, -50%) scale(.92) rotate(-2deg); } 100% { transform: translate(-50%, -50%) scale(1) rotate(0); } }
body.body-shake { animation: shakebig .6s; }

/* ---------- スマホのノッチ・公開ページ対応 ---------- */
:root { color-scheme: dark; }
.masthead { top: env(safe-area-inset-top, 0px); }
.shell { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.masthead-inner { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--bg); }
.spin-area { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }

/* ---------- 累計点 ---------- */
.cum { display: flex; align-items: baseline; gap: 8px; margin-left: auto; padding: 6px 14px; border-radius: 12px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.cum-label { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .1em; }
.cum-num { font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.cum-delta { font-size: 15px; font-weight: 900; color: var(--gold); }
.cum-rank { font-size: 12px; color: var(--muted); align-self: center; display: inline-flex; align-items: center; gap: 4px; }
.cum.bump { animation: cumbump .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes cumbump { 40% { transform: scale(1.12); } }
.stat-table tr.sum th, .stat-table tr.sum td { border-top: 2px solid var(--accent); border-bottom: 0; }
.stat-table tr.sum th { color: var(--accent2); }
.stat-table tr.sum .sv { font-size: 26px; color: var(--accent2); }
@media (max-width: 600px) { .cum { margin-left: 0; width: 100%; justify-content: center; } }

/* ---------- 社員5万人中の順位 ---------- */
.cum { flex-direction: column; align-items: flex-end; gap: 2px; }
.cum-row, .pos-row { display: flex; align-items: baseline; gap: 8px; }
.pos-label { font-size: 12px; color: var(--muted); font-weight: 700; }
.pos-num { font-size: 26px; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; line-height: 1; }
.pos-num.top { background: linear-gradient(90deg, #ff4ecd, #ffe14d, #4cff9a, #2fd3ff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: prism 2s linear infinite; }
.pos-unit { font-size: 13px; color: var(--gold); font-weight: 700; }
.pos-up { font-size: 13px; font-weight: 900; color: #4cff9a; }
.pos-down { font-size: 13px; font-weight: 900; color: #ff8a8f; }
.final-pos { margin: 4px 0 10px; color: var(--muted); font-weight: 700; }
.final-pos strong { font-size: 34px; color: var(--gold); margin: 0 4px; font-variant-numeric: tabular-nums; }
.final-pos span { font-size: 13px; margin-left: 6px; }
@media (max-width: 600px) { .cum { align-items: center; } }
