/* ロス7日間 — ゲーム大会の祭の見た目（黒地・虹色のライト・ネオンの黄緑・流れるテロップ・チケット形のボタン）。
   実在の大会のロゴ・写真・名前は使わない。 */
:root {
  --bg: #06060b;
  --bg2: #0e0e18;
  --card: rgba(18, 18, 30, .86);
  --line: #2a2a40;
  --text: #f4f4ff;
  --sub: #9d9cbc;
  --lime: #c6ff3d;
  --genki: #ffd23d;
  --miren: #ff3d8b;
  --genjitsu: #3dd8ff;
  --radius: 6px;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --disp: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --en: "Orbitron", "Hiragino Sans", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--jp);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* ===== 背景: 虹色のライト・床のグリッド・走査線 ===== */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.beams { position: absolute; left: 50%; bottom: 18%; width: 0; height: 0; }
.beams i {
  position: absolute; left: -9vmax; bottom: 0; width: 18vmax; height: 120vmax; transform-origin: 50% 100%;
  background: linear-gradient(to top, var(--c) 0%, transparent 85%); opacity: .2; filter: blur(14px);
  clip-path: polygon(44% 100%, 56% 100%, 100% 0, 0 0);
  animation: sweep var(--t) ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) * -1 + var(--o))); } }
.halo { position: absolute; left: 50%; bottom: 14%; width: 140vmax; height: 50vmax; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 255, 255, .16), rgba(120, 90, 255, .08) 40%, transparent 75%); }
.floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 36%;
  background:
    linear-gradient(to top, rgba(6, 6, 11, 0) 0%, var(--bg) 95%),
    repeating-linear-gradient(90deg, rgba(198, 255, 61, .16) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(198, 255, 61, .16) 0 1px, transparent 1px 40px);
  transform: perspective(300px) rotateX(58deg); transform-origin: 50% 100%;
}
.scan { position: fixed; inset: 0; z-index: 60; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
body[data-screen="day"] .beams, body[data-screen="dex"] .beams { opacity: .45; }

#app { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: 20px 16px calc(48px + env(safe-area-inset-bottom)); }
.screen { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

/* 英字の小見出し（// THE ...） */
.kicker { font-family: var(--mono); color: var(--lime); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }

/* ===== 流れるテロップ ===== */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(0, 0, 0, .55); margin: 0 -16px; white-space: nowrap; }
.ticker div { display: inline-block; padding: 7px 0; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .12em; animation: tick 22s linear infinite; }
.ticker b { color: var(--lime); margin: 0 14px; font-weight: 400; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== タイトル ===== */
.title-wrap { min-height: calc(100svh - 70px); display: flex; flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding-top: 10px; }
.title-wrap .kicker { margin-bottom: 6px; }
.logo {
  font-family: var(--disp); font-weight: 400; font-size: clamp(50px, 16vw, 92px); line-height: 1.05; margin: 6px 0 8px; white-space: nowrap;
  transform: skewX(-8deg); letter-spacing: -.02em;
}
.logo .w {
  display: inline-block; color: #fff;
  background: linear-gradient(180deg, #ffffff 0%, #e9e9ff 45%, #9a9ab8 52%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 2px #000) drop-shadow(3px 4px 0 #000) drop-shadow(0 0 18px rgba(255, 255, 255, .35));
  animation: hop .7s calc(var(--i) * 90ms) cubic-bezier(.2, .9, .3, 1.4) both;
}
.logo .seven {
  background: linear-gradient(120deg, #ff3d8b, #ffd23d, #c6ff3d, #3dd8ff, #b06bff, #ff3d8b); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(3px 4px 0 #000) drop-shadow(0 0 22px rgba(255, 61, 139, .7));
  animation: hop .7s calc(var(--i) * 90ms) cubic-bezier(.2, .9, .3, 1.4) both, rgb 4s linear infinite;
  font-size: 1.12em;
}
@keyframes rgb { to { background-position: 300% 0; } }
@keyframes hop { from { opacity: 0; transform: translateY(-30px) rotate(-8deg) scale(1.3); } to { opacity: 1; transform: none; } }
.final-bar { display: inline-flex; align-items: center; gap: 10px; margin: 2px auto 0; padding: 2px 18px; border: 2px solid #fff; border-radius: 999px; font-family: var(--en); font-weight: 900; font-size: 13px; letter-spacing: .5em; text-indent: .5em; background: rgba(0, 0, 0, .5); }
.dates { font-family: var(--en); font-weight: 700; letter-spacing: .18em; font-size: 15px; margin: 18px 0 2px; }
.dates small { display: block; font-size: 12px; color: var(--sub); letter-spacing: .3em; margin-top: 4px; }
.tagline { font-size: 16px; margin: 10px 0 22px; color: var(--sub); }
.note { font-size: 11px; color: var(--sub); margin-top: 16px; }

/* LED の数字（日数・ロス度） */
.led { font-family: var(--en); font-weight: 900; font-variant-numeric: tabular-nums; color: var(--lime); text-shadow: 0 0 12px rgba(198, 255, 61, .7); }

/* ===== ボタン: チケット形 ===== */
.btn {
  position: relative; display: block; width: 100%; padding: 16px 18px; border: 0; cursor: pointer; text-align: center; text-decoration: none;
  background: var(--lime); color: #0a0a0a; font-weight: 800; font-size: 17px; letter-spacing: .04em;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  transition: transform .08s ease, filter .2s;
}
.btn .en { display: block; font-family: var(--en); font-size: 10px; letter-spacing: .35em; opacity: .7; margin-bottom: 1px; }
.btn:active { transform: scale(.98); }
.btn.ghost { background: #ecebf5; color: #0a0a0a; }
.btn.dark { background: #fff; color: #000; }
.btn.line { background: var(--lime); color: var(--lime); font-size: 15px; padding: 12px 18px; isolation: isolate; }
.btn.line::before { content: ""; position: absolute; inset: 2px; z-index: -1; background: #0b0b14; clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 13px 100%, 0 50%); }
.btn + .btn { margin-top: 10px; }
.btn.pulse { animation: pulse 1.8s 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(198, 255, 61, 0)); } 50% { filter: drop-shadow(0 0 16px rgba(198, 255, 61, .8)); } }

/* イントロ */
.intro { padding-top: 12vh; }
.intro p { font-size: 18px; margin: 0 0 20px; opacity: 0; animation: fade .6s ease forwards; }
.intro p:last-of-type { font-family: var(--disp); font-size: 26px; transform: skewX(-6deg); }

/* ===== 日の画面: スコアボード ===== */
.dayhead { position: sticky; top: 0; z-index: 5; margin: -20px -16px 14px; padding: 12px 16px 12px; background: rgba(6, 6, 11, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.dayhead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, #ff3d8b, #ffd23d, #c6ff3d, #3dd8ff, #b06bff); opacity: .8; }
.dayhead .when { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dayhead .when .led { font-size: 24px; font-style: italic; }
.dayhead .when .led small { font-size: 13px; color: var(--sub); text-shadow: none; }
.dayhead .when span { font-size: 13px; color: var(--sub); }
.dots { margin-left: auto; display: flex; gap: 4px; }
.dots i { width: 14px; height: 6px; background: var(--line); transform: skewX(-20deg); }
.dots i.done { background: #5d5d80; }
.dots i.now { background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.bars { display: grid; gap: 7px; }
.bar { display: grid; grid-template-columns: 34px 1fr 30px; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.bar .track { position: relative; height: 10px; background: #15151f; overflow: hidden; transform: skewX(-20deg); }
.bar .track::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(6, 6, 11, .9) 9px 11px); }
.bar .fill { height: 100%; transition: width .5s ease; box-shadow: 0 0 10px currentColor; }
.bar .num { text-align: right; font-family: var(--en); font-weight: 700; font-variant-numeric: tabular-nums; }

.log { display: grid; gap: 10px; }
.entry { position: relative; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--sub); padding: 12px 14px; animation: fade .35s ease both; }
.entry .tag { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--sub); }
.entry p { margin: 4px 0 0; }
.entry.morning { border-left-color: var(--lime); }
.entry.morning .tag { color: var(--lime); }
.entry.me { border-left-color: var(--miren); background: rgba(255, 61, 139, .06); }
.entry.night { border-left-color: var(--genjitsu); background: rgba(10, 14, 40, .85); }
.entry.big { border: 1px solid var(--lime); border-left-width: 3px; box-shadow: 0 0 24px rgba(198, 255, 61, .18), inset 0 0 30px rgba(198, 255, 61, .05); }
.entry.big .tag::after { content: "  SPECIAL"; color: var(--miren); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-family: var(--en); font-weight: 700; font-size: 11px; padding: 2px 9px; background: rgba(0, 0, 0, .55); border: 1px solid currentColor; font-variant-numeric: tabular-nums; animation: pop .38s cubic-bezier(.2, .9, .3, 1.5) both; }
.chip span { font-family: var(--jp); }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

.choices { margin-top: 16px; }
.choices .label { font-family: var(--mono); font-size: 12px; letter-spacing: .15em; color: var(--lime); margin: 0 0 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid2.three { grid-template-columns: 1fr; }
.act {
  position: relative; border: 1px solid #3a3a58; background: linear-gradient(160deg, #191928, #0d0d16); padding: 12px 12px 12px 14px; cursor: pointer;
  text-align: left; font-size: 15px; font-weight: 800; line-height: 1.4; min-height: 66px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  animation: rise .35s ease both; transition: opacity .2s, transform .2s, background .2s;
}
.act::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--lime); opacity: .6; }
.act small { display: block; font-weight: 400; font-size: 11px; color: var(--sub); margin-top: 4px; }
.act:active, .act.picked { background: var(--lime); color: #0a0a0a; }
.act.picked small { color: #2a3a00; }
.act.picked { transform: scale(1.03); }
.act.gone { opacity: 0; transform: scale(.95); }

/* ===== 日の切り替え: DAY の幕 ===== */
#curtain { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; text-align: center; opacity: 0; overflow: hidden; background: #000; }
#curtain::before { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 200deg at 50% 110%, transparent 0deg, rgba(255, 61, 139, .35) 8deg, transparent 16deg, rgba(255, 210, 61, .3) 26deg, transparent 34deg, rgba(198, 255, 61, .3) 44deg, transparent 52deg, rgba(61, 216, 255, .35) 62deg, transparent 70deg, rgba(176, 107, 255, .35) 80deg, transparent 90deg); filter: blur(8px); animation: beamSpin 1.4s ease-out both; }
@keyframes beamSpin { from { transform: rotate(-12deg) scale(.9); opacity: 0; } to { transform: rotate(6deg) scale(1.05); opacity: 1; } }
#curtain.in { animation: curtainIn .3s ease forwards; }
#curtain.out { animation: curtainOut .38s ease forwards; }
#curtain > div { position: relative; }
#curtain .kicker { display: block; margin-bottom: 6px; animation: rise .6s both; }
#curtain b { display: block; font-family: var(--en); font-style: italic; font-weight: 900; font-size: 84px; line-height: 1; letter-spacing: .02em; color: #fff; text-shadow: 3px 0 0 rgba(255, 61, 139, .8), -3px 0 0 rgba(61, 216, 255, .8), 0 0 30px rgba(255, 255, 255, .5); animation: slam .6s cubic-bezier(.2, .9, .3, 1.3) both, glitch 1.1s .5s steps(2) both; }
#curtain span { display: block; margin-top: 10px; font-family: var(--disp); font-size: 24px; color: var(--lime); animation: rise .6s .15s both; }
@keyframes curtainIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes curtainOut { from { opacity: 1; } to { opacity: 0; transform: scale(1.04); } }
@keyframes slam { from { opacity: 0; transform: scale(2.2) skewX(-10deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes glitch { 0% { clip-path: inset(0 0 0 0); } 20% { clip-path: inset(10% 0 60% 0); transform: translateX(-4px); } 40% { clip-path: inset(50% 0 20% 0); transform: translateX(4px); } 60%, 100% { clip-path: inset(0 0 0 0); transform: none; } }

/* ===== 結末 ===== */
.result { text-align: center; }
.result .kicker { margin-top: 26px; }
.result h2 {
  font-family: var(--disp); font-weight: 400; font-size: clamp(34px, 10vw, 46px); line-height: 1.25; margin: 6px 0 10px; transform: skewX(-6deg);
}
.result h2 span { display: inline-block; color: #fff; text-shadow: 3px 4px 0 #000, 0 0 22px rgba(255, 255, 255, .35); animation: hop .6s calc(.3s + var(--i) * 80ms) cubic-bezier(.2, .9, .3, 1.4) both; }
.rank { display: inline-block; font-family: var(--en); font-weight: 900; font-size: 13px; letter-spacing: .2em; padding: 4px 18px; background: var(--miren); color: #fff; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.rank.stamp { animation: stamp .45s 1.1s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes stamp { from { opacity: 0; transform: scale(2.4) rotate(-12deg); } to { opacity: 1; transform: rotate(-3deg); } }
.stats3 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 0; animation: rise .5s 1.3s both; }
.stats3 > div { background: var(--card); border: 1px solid var(--line); padding: 10px 8px; display: grid; gap: 2px; }
.stats3 small { font-family: var(--mono); font-size: 11px; color: var(--sub); letter-spacing: .1em; }
.stats3 b.led { font-size: 40px; line-height: 1.1; color: var(--miren); text-shadow: 0 0 14px rgba(255, 61, 139, .7); }
.stats3 b.small { font-size: 15px; line-height: 1.5; padding-top: 8px; }
.stats3 em { font-style: normal; font-size: 12px; color: var(--sub); }
.result .story { text-align: left; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--lime); padding: 16px; margin: 14px 0; animation: rise .5s 1.5s both; }
.result canvas { width: 100%; height: auto; display: block; margin: 0 0 16px; border: 1px solid var(--line); }
.result .count { font-size: 13px; color: var(--sub); margin: 14px 0 0; }

/* ===== 図鑑 ===== */
.dex h2 { font-family: var(--disp); font-weight: 400; margin: 6px 0 14px; transform: skewX(-6deg); }
.dex ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.dex li { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--lime); padding: 10px 14px; animation: rise .35s ease both; }
.dex li b { display: block; }
.dex li small { color: var(--sub); font-family: var(--mono); letter-spacing: .1em; }
.dex li.locked { opacity: .5; border-left-color: var(--line); }

/* ===== その他 ===== */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 30; }
#mute {
  position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 10px; z-index: 40;
  font-family: var(--en); font-size: 10px; letter-spacing: .15em; padding: 5px 10px; border: 1px solid var(--line);
  background: rgba(6, 6, 11, .8); color: var(--sub); cursor: pointer;
}
body[data-screen="day"] #mute { top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); }
#toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--lime); color: #000; font-weight: 700; padding: 8px 16px; font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 70; }
#toast.show { opacity: 1; }
.boot p { text-align: center; padding: 40px 16px; color: var(--sub); }

/* 力尽きたとき: 画面が傾く */
body.woozy #app { animation: woozy 1.3s ease; }
@keyframes woozy { 20% { transform: rotate(-2deg) translateX(-6px); filter: blur(1px); } 45% { transform: rotate(2.5deg) translateX(6px); filter: blur(2px) brightness(.7) hue-rotate(40deg); } 70% { transform: rotate(-1deg); filter: blur(1px) brightness(.8); } }
.bar.up .track { animation: barUp .6s ease; }
.bar.down .track { animation: barDown .45s ease; }
@keyframes barUp { 30% { box-shadow: 0 0 0 2px rgba(255, 255, 255, .6), 0 0 16px rgba(255, 255, 255, .45); } }
@keyframes barDown { 20% { transform: skewX(-20deg) translateX(-3px); } 40% { transform: skewX(-20deg) translateX(3px); } 60% { transform: skewX(-20deg) translateX(-2px); } }

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

/* ===== 入場 ===== */
.gate {
  width: 100%; min-height: calc(100svh - 80px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: none; border: 0; cursor: pointer; text-align: center;
}
.gate b { font-family: var(--en); font-style: italic; font-weight: 900; font-size: clamp(26px, 8.6vw, 40px); white-space: nowrap; letter-spacing: .06em; color: #fff; text-shadow: 3px 0 0 rgba(255, 61, 139, .8), -3px 0 0 rgba(61, 216, 255, .8), 0 0 24px rgba(255, 255, 255, .45); animation: blink 1.4s steps(2) infinite; }
.gate .jp { font-family: var(--disp); font-size: 20px; color: var(--lime); }
.gate small { color: var(--sub); font-size: 12px; }
@keyframes blink { 50% { opacity: .35; } }
body[data-screen="gate"] #mute { display: none; }

/* ===== 推しチーム ===== */
.team { min-height: calc(100svh - 80px); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.team h2 { font-family: var(--disp); font-weight: 400; font-size: 28px; margin: 8px 0 22px; transform: skewX(-6deg); }
.teams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.teams.one { grid-template-columns: 1fr; }
.teamcard {
  position: relative; padding: 22px 10px; border: 2px solid var(--tc); background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 22%, #0d0d16), #0d0d16 70%); cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--tc) 25%, transparent); animation: rise .4s ease both; transition: transform .15s, background .2s;
}
.teamcard .en { display: block; font-family: var(--en); font-weight: 900; font-size: 12px; letter-spacing: .25em; color: var(--tc); }
.teamcard b { display: block; font-family: var(--disp); font-weight: 400; font-size: 22px; margin-top: 4px; }
.teamcard.picked { background: var(--tc); color: #06060b; transform: scale(1.04); }
.teamcard.picked .en { color: #06060b; }
.team .note { margin-top: 18px; }
.dots i.now { background: var(--team, var(--lime)); box-shadow: 0 0 8px var(--team, var(--lime)); }
.dayhead::after { background: linear-gradient(90deg, var(--team, #ff3d8b), #ffd23d, #c6ff3d, #3dd8ff, var(--team, #b06bff)); }
.chartnote { font-family: var(--mono); color: var(--lime); font-size: 12px; letter-spacing: .12em; margin: 4px 0 8px; text-align: left; }
.dayhead .when { margin-bottom: 0; }

/* ===== みんなの7日間 ===== */
.everyone { text-align: left; background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--lime); padding: 14px 14px 12px; margin: 0 0 16px; animation: rise .5s both; }
.everyone .kicker { margin: 0 0 8px; }
.everyone h3 { font-size: 13px; color: var(--sub); margin: 14px 0 6px; font-weight: 700; }
.ev-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ev-head .led { font-size: 30px; }
.ev-head span { font-size: 13px; color: var(--sub); }
.ev-head span b { color: var(--miren); font-family: var(--en); }
.ev-wait { display: grid; justify-items: center; gap: 2px; padding: 6px 0; text-align: center; }
.ev-wait .led { font-size: 40px; }
.ev-wait small { color: var(--sub); font-size: 12px; }
.ev-bars { display: grid; gap: 6px; }
.ev-row { display: grid; grid-template-columns: minmax(0, 1.25fr) 1fr 4.2em; align-items: center; gap: 8px; font-size: 13px; line-height: 1.35; }
.ev-name { overflow-wrap: anywhere; }
.ev-name em { font-style: normal; font-size: 10px; margin-left: 4px; padding: 0 5px; background: var(--team, var(--lime)); color: #06060b; font-weight: 800; }
.ev-track { height: 10px; background: #15151f; transform: skewX(-20deg); overflow: hidden; }
.ev-track i { display: block; height: 100%; width: var(--w); background: var(--c, #5d5d80); animation: grow .8s var(--d) cubic-bezier(.2, .8, .3, 1) both; }
.ev-row.me .ev-track i { background: var(--c, var(--team, var(--lime))); box-shadow: 0 0 10px var(--c, var(--team, var(--lime))); }
.ev-row.me .ev-name { font-weight: 800; }
.ev-pct { text-align: right; font-family: var(--en); font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
.ev-pct small { font-family: var(--jp); font-weight: 400; color: var(--sub); font-size: 10px; }
@keyframes grow { from { width: 0; } }
.ev-split { display: flex; height: 30px; font-size: 12px; overflow: hidden; transform: skewX(-12deg); }
.ev-split span { display: flex; align-items: center; padding: 0 10px; white-space: nowrap; }
.ev-split span:first-child { width: var(--w); min-width: 34%; max-width: 66%; background: #ffd23d; color: #06060b; }
.ev-split span:last-child { flex: 1; justify-content: flex-end; background: #2a2a40; }
.ev-split b { transform: skewX(12deg); font-weight: 800; }
.ev-note { font-size: 12px; color: var(--sub); margin: 8px 0 0; }

/* ===== 選択肢の上の「自分」（ドット絵） ===== */
.dock { margin-top: 16px; }
.dock .choices { margin-top: 10px; }
.me {
  position: relative; border: 1px solid #3a3a58; background: #07070e; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.me canvas { display: block; width: 100%; height: auto; aspect-ratio: 128 / 44; image-rendering: crisp-edges; image-rendering: pixelated; }
.me span { position: absolute; right: 10px; bottom: 3px; z-index: 1; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--team, var(--lime)); text-shadow: 0 0 6px var(--team, var(--lime)); pointer-events: none; }
.me::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }

.ev-loading { color: var(--sub); font-size: 13px; margin: 6px 0; text-align: center; }
#screen-everyone .everyone .kicker:first-child { display: none; }
#screen-everyone .ev-track i { background: var(--c, var(--lime)); box-shadow: 0 0 8px var(--c, var(--lime)); }
