/* ============================================================
   ISOLANCE -アイソランス-（ぺげ No.10）
   週刊誌の表紙：黄色い紙に黒いインク、赤いスタンプ。
   ネタはデスクに置いたメモ。見せ場は「SCOOP!」と「ISOLANCE!」
   ============================================================ */
:root {
  --yellow: #ffd83a;
  --yellow-2: #f2bd16;
  --ink: #1a1a1a;
  --red: #e8222b;
  --red-dark: #a8121a;
  --paper: #ffffff;
  --memo: #fffdf5;
  --blue: #2463e6;
  --blue-dark: #153f9e;
  --pink: #f0388c;
  --purple: #7a3cf0;
  --sub: #5b564d;
  --line: #e4ddcc;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-s: 3px 3px 0 var(--ink);
  --round: 16px;
  --font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --display: "Dela Gothic One", "M PLUS Rounded 1c", sans-serif;
  --en: "Anton", "Dela Gothic One", Impact, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
  background: var(--yellow);
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
/* 週刊誌の網点（角だけ。iPhone でも動かないように固定の層） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--yellow-2) 30%, transparent 33%);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(155deg, #000 0%, rgba(0, 0, 0, .25) 30%, transparent 46%, transparent 62%, rgba(0, 0, 0, .3) 82%, #000 100%);
  mask-image: linear-gradient(155deg, #000 0%, rgba(0, 0, 0, .25) 30%, transparent 46%, transparent 62%, rgba(0, 0, 0, .3) 82%, #000 100%);
}
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hidden { display: none !important; }

#app {
  max-width: 520px;
  margin: 0 auto;
  padding: 14px 14px 110px;
}
.scr { display: none; animation: fadein .25s ease; }
.scr.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- 文字 ---------- */
.center { text-align: center; }
.title-s { font-size: 15px; font-weight: 800; margin: 0 0 8px; color: var(--ink); }
.note { font-size: 12.5px; color: var(--sub); line-height: 1.6; }
h2.head {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  margin: 6px 0 14px;
  text-align: center;
  line-height: 1.45;
}

/* ---------- カード（白い紙） ---------- */
.card {
  background: var(--paper);
  border-radius: var(--round);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  padding: 16px;
  margin: 0 0 16px;
}

/* ---------- ボタン ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s ease, box-shadow .08s ease, opacity .15s;
  margin: 12px 0 0;
  line-height: 1.35;
  text-align: center;
}
.btn:active { transform: translateY(3px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-red { color: #fff; background: var(--red); box-shadow: 0 5px 0 var(--ink); }
.btn-red:active { box-shadow: 0 2px 0 var(--ink); }
.btn-white { color: var(--ink); background: #fff; box-shadow: 0 5px 0 var(--ink); }
.btn-white:active { box-shadow: 0 2px 0 var(--ink); }
.btn-ink { color: #fff; background: var(--ink); box-shadow: 0 5px 0 var(--red); }
.btn-ink:active { box-shadow: 0 2px 0 var(--red); }
.btn-ink[disabled] { opacity: 1; background: #fff; color: var(--sub); border-style: dashed; box-shadow: none; }
.btn-gold { color: var(--ink); background: var(--yellow); box-shadow: 0 5px 0 var(--ink); }
.btn-gold:active { box-shadow: 0 2px 0 var(--ink); }
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, .45);
  border: 2px solid var(--ink);
  min-height: 46px;
  font-size: 15px;
}
.btn-s { font-size: 14px; min-height: 46px; }
.btn-link {
  display: inline-block;
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: underline;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 4px;
  cursor: pointer;
}
.card .btn-link { color: var(--sub); }
.btn-row { display: flex; gap: 10px; }
.btn-row .btn { flex: 1; }
.btn-line { background: #06c755; color: #fff; box-shadow: 0 5px 0 var(--ink); }
.btn-x { background: #111; color: #fff; box-shadow: 0 5px 0 var(--ink); }

/* ---------- タイトル画面 ---------- */
.top-logo { width: 84%; margin: 0 auto; filter: drop-shadow(5px 6px 0 rgba(26, 26, 26, .9)); }
.catch {
  text-align: center;
  margin: 10px 0 4px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.2;
}
.catch span {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 5px 14px 7px;
  margin: 3px 0;
}
.catch span:first-child { transform: rotate(-2deg); }
.catch span:last-child { background: var(--red); transform: rotate(1.5deg); border: 3px solid var(--ink); }
.catch-sub { text-align: center; font-size: 14px; font-weight: 800; margin: 8px 0 12px; }
.kv-wrap { margin: 0; }
.kv { width: 100%; border-radius: 12px; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.how .title-s { font-family: var(--display); font-weight: 400; font-size: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: 0 0 10px 34px; font-size: 14px; line-height: 1.65; }
.steps li::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps b { display: block; font-size: 15px; color: var(--ink); }
.steps small { display: block; font-size: 13px; color: var(--sub); line-height: 1.6; margin-top: 2px; font-weight: 700; }
/* ルールの説明 */
.rules-lead {
  font-size: 14px; font-weight: 800; line-height: 1.7; background: #fff7d1; border-radius: 12px;
  padding: 10px 12px; margin: 0 0 14px;
}
.rules-lead b { color: var(--red); }
.rules-sub { font-size: 13.5px; font-weight: 800; margin: 6px 0 2px; }
.rules-tip {
  font-size: 13px; line-height: 1.65; font-weight: 700; border: 2px solid var(--ink); border-radius: 12px;
  padding: 8px 12px; margin: 0 0 12px;
}
.rules-tip b { display: inline-block; background: var(--red); color: #fff; font-size: 11.5px; padding: 1px 8px; border-radius: 6px; margin-right: 6px; }
.out-table { width: 100%; border-collapse: collapse; margin: 2px 0 12px; font-size: 13px; }
.out-table th, .out-table td { padding: 9px 3px; border-bottom: 2px dashed var(--line); vertical-align: top; text-align: left; }
.out-table th { width: 76px; font-size: 14px; line-height: 1.45; font-weight: 800; }
.out-table tr.hd th, .out-table tr.hd td { font-size: 11.5px; color: var(--sub); padding: 2px 3px 4px; border-bottom-style: solid; }
.out-table td { line-height: 1.55; font-weight: 800; }
.out-table td .st { margin: 0 6px 3px 0; }
.out-table td small { display: block; font-size: 12px; color: var(--sub); font-weight: 700; margin-top: 2px; line-height: 1.55; }
.st { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; border: 2px solid var(--ink); white-space: nowrap; }
.st-hit { background: var(--yellow); color: var(--ink); }
.st-iso { background: var(--red); color: #fff; }
.st-miss { background: #d8d4cb; color: var(--ink); }
.extra { background: #fff7d1; border-radius: 12px; padding: 4px 12px; }
.extra p { font-size: 13px; line-height: 1.6; margin: 8px 0; }
.extra b { display: inline-block; background: var(--ink); color: #fff; font-size: 11.5px; padding: 1px 8px; border-radius: 6px; margin-right: 6px; }
.premium-card { display: flex; gap: 12px; align-items: center; }
.premium-card img { width: 108px; border-radius: 12px; flex: none; border: 2px solid var(--ink); }
.premium-card .txt { font-size: 13.5px; line-height: 1.6; }
.premium-card .price { color: var(--red); font-weight: 800; }
.footer { text-align: center; padding: 14px 0 0; }
.footer a { color: var(--ink); font-size: 13px; margin: 0 8px; font-weight: 800; }
.pege-mark { font-weight: 800; }

/* ---------- 入力 ---------- */
label.lb { display: block; font-size: 14px; font-weight: 800; margin: 12px 0 6px; }
input.tx {
  width: 100%;
  font: inherit;
  font-size: 18px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 3px solid var(--ink);
  background: #fff;
  outline: none;
}
input.tx:focus { border-color: var(--blue); }
input.code {
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: .35em;
  text-align: center;
  padding-left: .35em;
  color: var(--red);
}
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
/* アイコンの絵は、まわりに余白があるので、少し大きく表示する */
.icon-grid button {
  border: 3px solid transparent;
  border-radius: 16px;
  background: #fff6d0;
  padding: 0;
  cursor: pointer;
  overflow: visible;
}
.icon-grid button img { width: 100%; transform: scale(1.12); }
.icon-grid button.sel { border-color: var(--red); background: #ffe1e1; }
.icon-grid button[disabled] { opacity: .25; }
.seg { display: flex; gap: 8px; }
.seg button {
  flex: 1;
  padding: 10px 6px;
  border-radius: 14px;
  border: 3px solid #d6d0c2;
  background: #fff;
  font-weight: 800;
  font-size: 15px;
  color: var(--sub);
  cursor: pointer;
  line-height: 1.35;
}
.seg button small { display: block; font-size: 11.5px; font-weight: 500; }
.seg button.sel { border-color: var(--ink); color: #fff; background: var(--ink); }
.seg button.sel[data-v="premium"] { background: var(--pink); }
.seg button[disabled] { cursor: default; }

/* ---------- 待合室 ---------- */
.room-code {
  font-family: var(--display);
  font-size: 54px;
  letter-spacing: .25em;
  text-align: center;
  color: var(--red);
  margin: 2px 0 0;
  padding-left: .25em;
}
.players { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pchip { text-align: center; font-size: 12.5px; font-weight: 800; position: relative; }
.pchip img { width: 86%; margin: 6px auto 4px; transform: scale(1.12); }
.pchip .nm { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pchip .host-tag {
  position: absolute; top: 0; left: 0;
  background: var(--ink); color: var(--yellow); font-size: 10.5px; padding: 1px 6px; border-radius: 99px;
}
.pchip.me .nm { color: var(--red); }
.wait-msg { text-align: center; font-weight: 800; font-size: 15px; margin: 16px 0 4px; line-height: 1.6; }
.dots::after { content: ""; animation: dots 1.4s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }
.small-actions { text-align: center; margin-top: 4px; }

/* ---------- ゲームの上の帯（黒い見出し） ---------- */
.bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 7px 12px;
  margin-bottom: 12px;
  box-shadow: 3px 3px 0 var(--red);
}
.bar .no { font-family: var(--display); font-size: 20px; color: var(--yellow); white-space: nowrap; }
.bar .info { flex: 1; min-width: 0; font-size: 12px; line-height: 1.4; overflow: hidden; }
.bar .info b { color: #fff; font-size: 13px; }
.bar .info .ell { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .mine { text-align: right; font-size: 11px; line-height: 1.35; white-space: nowrap; }
.bar .pip { background-color: #5a5a5a; }
.bar .pip.on { background-color: var(--yellow); }

/* ---------- 信用（ペン先の形） ---------- */
.pips { display: inline-flex; gap: 2px; vertical-align: middle; }
.pip {
  width: 12px;
  height: 17px;
  background:
    radial-gradient(circle at 50% 44%, rgba(26, 26, 26, .6) 0 1.5px, transparent 2px),
    linear-gradient(90deg, transparent calc(50% - .6px), rgba(26, 26, 26, .55) calc(50% - .6px) calc(50% + .6px), transparent calc(50% + .6px)) 0 100% / 100% 52% no-repeat,
    #d9d2c1;
  clip-path: polygon(18% 0, 82% 0, 100% 32%, 50% 100%, 0 32%);
}
.pip.on { background-color: var(--red); }
.pip.lost { animation: pipLost 1s ease .3s both; }
@keyframes pipLost {
  0% { background-color: var(--red); transform: none; }
  30% { background-color: var(--ink); transform: translateY(-4px) rotate(-14deg); }
  100% { background-color: #d9d2c1; transform: none; }
}

/* ---------- 記者の番 ---------- */
.turn-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 8px 12px;
  box-shadow: var(--shadow);
  margin: 0 0 12px;
}
.turn-banner img { width: 58px; flex: none; transform: scale(1.12); }
.turn-banner .tb-t { font-family: var(--display); font-size: 19px; margin: 0; line-height: 1.3; }
.turn-banner .tb-s { margin: 3px 0 0; font-size: 12.5px; color: var(--sub); font-weight: 700; line-height: 1.5; }
.turn-banner.me { background: var(--red); color: #fff; }
.turn-banner.me .tb-s { color: #fff; }
.hint { font-size: 12.5px; font-weight: 700; line-height: 1.6; margin: -2px 2px 12px; }
.hint b { background: var(--ink); color: var(--yellow); padding: 0 5px; border-radius: 4px; }

/* ---------- デスク（ネタのメモが4枚） ---------- */
.desk {
  background:
    repeating-linear-gradient(177deg, rgba(92, 46, 14, .14) 0 2px, transparent 2px 15px, rgba(255, 232, 196, .12) 15px 17px, transparent 17px 29px),
    linear-gradient(180deg, #cf8f57, #b4703e);
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
  margin: 0 0 16px;
}
.desk-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0 2px 10px; color: #fff; }
.desk-head b { font-family: var(--display); font-weight: 400; font-size: 18px; text-shadow: 2px 2px 0 var(--ink); }
.desk-head small { font-size: 11.5px; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); line-height: 1.45; }
.desk.sub .desk-head b { font-size: 15px; }
.grid4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nc {
  --rot: 0deg;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  min-height: 124px;
  width: 100%;
  padding: 22px 10px 10px;
  border: 2.5px solid var(--ink);
  border-radius: 6px;
  background: repeating-linear-gradient(180deg, transparent 0 21px, rgba(36, 99, 230, .14) 21px 22px) var(--memo);
  box-shadow: 2px 3px 0 rgba(26, 26, 26, .85);
  font-family: inherit;
  color: var(--ink);
  text-align: left;
  transform: rotate(var(--rot));
}
button.nc { cursor: pointer; }
button.nc:active { transform: rotate(var(--rot)) translateY(2px); box-shadow: 1px 1px 0 rgba(26, 26, 26, .85); }
.nc.r0 { --rot: -1.2deg; }
.nc.r1 { --rot: 1deg; }
.nc.r2 { --rot: .8deg; }
.nc.r3 { --rot: -.9deg; }
.nc.adult { background: repeating-linear-gradient(180deg, transparent 0 21px, rgba(240, 56, 140, .16) 21px 22px) #fff2f8; }
.nc .pin {
  position: absolute; top: 5px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff9196, var(--red) 60%, #8c0f15); border: 2px solid var(--ink);
}
.nc.adult .pin { background: radial-gradient(circle at 35% 35%, #ffb3d5, var(--pink) 60%, #8f1350); }
.nc .tt { font-weight: 800; line-height: 1.42; word-break: break-all; }
.tt.t1 { font-size: 17px; }
.tt.t2 { font-size: 15.5px; }
.tt.t3 { font-size: 14.5px; }
.tt.t4 { font-size: 13.5px; }
.tags { display: flex; flex-wrap: wrap; gap: 3px; }
.tag { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 5px; border: 1.5px solid var(--ink); background: #fff; line-height: 1.5; white-space: nowrap; }
.tag.adult { background: var(--pink); color: #fff; }
.tag.blank { background: var(--yellow); }
.tag.show { background: #d8e6ff; }
.tag.pair { background: #e9ddff; }
/* 【　】（空欄）と、入れた言葉 */
.bx { display: inline-block; min-width: 3em; height: 1.05em; border-bottom: 3px solid var(--ink); background: var(--yellow); vertical-align: -.12em; margin: 0 2px; border-radius: 2px; }
.fill { background: linear-gradient(transparent 52%, var(--yellow) 52%); padding: 0 2px; }
/* 新しく置かれたメモ */
.nc.drop { animation: drop .55s cubic-bezier(.2, 1.4, .5, 1) backwards; }
@keyframes drop {
  from { transform: translateY(-26px) rotate(calc(var(--rot) - 9deg)); opacity: 0; }
  to { transform: rotate(var(--rot)); opacity: 1; }
}

/* ---------- 記事（撃たれたネタ） ---------- */
.article {
  position: relative;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px 14px 14px;
  margin: 0 0 14px;
}
.article.adult { background: #fff2f8; }
.ar-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; }
.ar-head img { width: 36px; flex: none; transform: scale(1.12); }
.ar-head .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-q { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.5; margin: 10px 0 2px; word-break: break-all; }
.ar-q.t3 { font-size: 20px; }
.ar-q.t4 { font-size: 18px; }
.ar-note { font-size: 12px; font-weight: 800; color: var(--blue-dark); margin: 6px 0 0; line-height: 1.5; }
.ar-note.pair { color: var(--purple); }
.late-btn {
  display: block; margin: 10px 0 0 auto; background: var(--ink); color: #fff; border: 0; border-radius: 99px;
  font-size: 12.5px; font-weight: 800; padding: 7px 14px; cursor: pointer; box-shadow: 0 3px 0 var(--red);
}

/* ---------- 答える ---------- */
.ans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ans button {
  min-height: 96px; border-radius: 18px; border: 3px solid var(--ink); background: #fff;
  font-family: var(--display); font-size: 22px; cursor: pointer; box-shadow: 0 5px 0 var(--ink);
  transition: transform .08s ease, box-shadow .08s ease; line-height: 1.25; padding: 8px 4px;
}
.ans button small { display: block; font-family: var(--font); font-size: 11px; font-weight: 800; margin-top: 6px; color: var(--sub); }
.ans .ans-yes { color: var(--red); }
.ans .ans-no { color: var(--blue); }
.ans button.sel { transform: translateY(3px); box-shadow: 0 2px 0 var(--ink); color: #fff; }
.ans button.sel small { color: #fff; }
.ans .ans-yes.sel { background: var(--red); }
.ans .ans-no.sel { background: var(--blue); }
.ans-note { text-align: center; font-size: 12px; font-weight: 700; margin: 8px 0 0; }
.locked {
  text-align: center; background: var(--ink); color: #fff; border-radius: 16px; padding: 14px 12px;
  box-shadow: 3px 3px 0 var(--red);
}
.locked b { display: block; font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--yellow); }
.locked small { display: block; font-size: 12.5px; margin-top: 4px; line-height: 1.6; }
.prog { margin: 14px 0 14px; text-align: center; }
.prog .btn { width: auto; display: inline-flex; padding: 8px 18px; margin-top: 10px; }
.prog-t { font-size: 13px; font-weight: 800; margin: 0 0 6px; }
.prog-t b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.prog-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pg { position: relative; width: 46px; }
.pg img { width: 100%; transform: scale(1.12); opacity: .4; filter: grayscale(.7); transition: opacity .2s; }
.pg.ok img { opacity: 1; filter: none; }
.pg.ok::after {
  content: ""; position: absolute; right: -2px; bottom: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23ffd83a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 2px solid #fff;
}

/* ---------- 記者クラブ（みんなの信用） ---------- */
.club {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px 10px 6px;
  margin: 0 0 16px;
}
.club .ttl { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 4px 4px; }
.club .ttl b { font-family: var(--display); font-weight: 400; font-size: 15px; }
.club .ttl small { font-size: 11px; color: var(--sub); font-weight: 700; }
.club ul { list-style: none; margin: 0; padding: 0; }
.club li { display: flex; align-items: center; gap: 8px; padding: 5px 4px; border-top: 2px dashed var(--line); }
.club li:first-child { border-top: 0; }
.club li img { width: 40px; flex: none; transform: scale(1.12); }
.club .nm { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; }
.club .nm-t { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.club .lf { flex: none; text-align: right; }
.club li.par { background: #fff3c4; border-radius: 10px; }
.club li.me .nm-t { color: var(--red); }
.club li.out { opacity: .45; }
.club li.hit { animation: hitshake .45s ease .25s; }
.badge {
  display: inline-block; font-size: 10.5px; font-weight: 800; color: #fff; background: var(--ink);
  padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 1px; white-space: nowrap;
}
.badge.par { background: var(--red); }
.badge.next { background: var(--blue); }
.badge.host { background: var(--ink); color: var(--yellow); }
.badge.used { background: #8d877b; }
.badge.out { background: #8d877b; }
.badge.lose { background: var(--red); }
.badge.king { background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); }
.badge.neta { background: var(--purple); }
.badge.iso { background: var(--ink); color: #ff8d92; }
.badge.ok { background: #2a9d55; }

/* ---------- 結果（スクープ・ISOLANCE・ガセネタ） ---------- */
.res { text-align: center; margin: 4px 0 14px; }
.res-en {
  font-family: var(--en); font-size: min(66px, 16vw); line-height: 1.02; margin: 0; letter-spacing: .01em;
  -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
}
.res.hit .res-en { color: var(--yellow); text-shadow: 4px 4px 0 var(--red), 7px 7px 0 var(--ink); }
.res.iso .res-en { color: var(--red); text-shadow: 4px 4px 0 var(--ink); }
.res.miss .res-en { font-family: var(--display); font-size: min(46px, 12vw); color: #fff; text-shadow: 3px 3px 0 var(--ink); -webkit-text-stroke: 2px var(--ink); }
.res-ja { font-family: var(--display); font-weight: 400; font-size: 19px; margin: 10px 0 2px; line-height: 1.45; }
.res-icons { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 2px; }
.ri { position: relative; display: block; width: 74px; }
.ri .face { position: relative; display: block; border-radius: 50%; }
.ri img { width: 100%; transform: scale(1.12); }
.ri .m1 {
  position: absolute; right: -8px; top: -2px; background: var(--red); color: #fff; font-family: var(--display);
  font-size: 14px; padding: 1px 7px; border-radius: 99px; border: 2px solid var(--ink);
}
.ri .n { display: block; font-size: 12px; font-weight: 800; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ri.q img { opacity: 0; }
.ri.q .face::before {
  content: "？"; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); color: #fff; border: 3px solid #fff;
  font-family: var(--display); font-size: 32px; display: flex; align-items: center; justify-content: center; z-index: 1;
}
.res-sub { font-size: 13.5px; font-weight: 800; margin: 6px 0 0; line-height: 1.6; }
.res-warn {
  display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 800; padding: 7px 12px;
  border-radius: 10px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.5;
}
.show-me { display: inline-block; background: var(--blue); color: #fff; font-weight: 800; padding: 6px 12px; border-radius: 10px; margin: 8px 0 0; font-size: 13px; border: 2px solid var(--ink); }
.over {
  background: var(--red); color: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 10px 12px;
  text-align: center; font-family: var(--display); font-size: 18px; box-shadow: var(--shadow); margin: 0 0 14px; line-height: 1.45;
}
.over small { display: block; font-family: var(--font); font-size: 12.5px; font-weight: 800; }

/* ---------- 最後の結果（謝罪会見） ---------- */
.kaiken {
  position: relative; overflow: hidden; text-align: center; background: var(--ink); color: #fff;
  border-radius: 18px; padding: 18px 12px 18px; margin: 0 0 16px; box-shadow: 4px 4px 0 var(--red);
}
.kaiken::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .5) 0 3px, transparent 26px),
    radial-gradient(circle at 88% 26%, rgba(255, 255, 255, .45) 0 3px, transparent 22px),
    radial-gradient(circle at 20% 82%, rgba(255, 255, 255, .35) 0 2px, transparent 18px),
    radial-gradient(circle at 84% 78%, rgba(255, 255, 255, .4) 0 3px, transparent 24px);
}
.kk-ja { position: relative; font-family: var(--display); font-weight: 400; font-size: 42px; margin: 0 0 4px; color: #fff; line-height: 1.2; }
.kk-icons { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.kk-icons img { width: 96px; transform: scale(1.12); }
.kk-name { position: relative; font-size: 22px; font-weight: 800; margin: 8px 0 0; line-height: 1.4; }
.kk-sub { position: relative; font-size: 13px; color: #e9e4d8; margin: 4px 0 0; line-height: 1.6; }
.mic { display: block; width: 44px; height: 30px; margin: 4px auto 0; position: relative; }
.awards { display: grid; gap: 8px; }
.aw { display: flex; align-items: center; gap: 8px; border: 2px solid var(--ink); border-radius: 12px; padding: 6px 10px; background: #fffbea; }
.aw img { width: 42px; flex: none; transform: scale(1.12); }
.aw .aw-t { flex: none; width: 92px; font-size: 13px; font-weight: 800; line-height: 1.3; }
.aw .aw-t small { display: block; font-size: 10px; color: var(--sub); font-weight: 700; }
.aw .aw-n { flex: 1; min-width: 0; font-weight: 800; font-size: 14px; line-height: 1.35; }
.aw .aw-n small { display: block; font-size: 11px; color: var(--sub); }
.board { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 2px dashed var(--line); }
.board li:last-child { border-bottom: 0; }
.board img { width: 46px; flex: none; transform: scale(1.12); }
.board .nm { flex: 1; min-width: 0; font-weight: 800; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 3px; }
.board .nm-t { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .rk { width: 24px; text-align: center; font-family: var(--display); font-size: 18px; color: var(--sub); flex: none; }
.board .lf { flex: none; text-align: right; font-size: 11px; font-weight: 800; color: var(--sub); }
.board li.me .nm-t { color: var(--red); }
.board li.lose { background: #ffe9ea; border-radius: 10px; }
.stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.stats span { font-size: 12px; font-weight: 800; }
.share-preview { width: 100%; border-radius: 10px; border: 2px solid var(--ink); margin: 0 0 4px; }
.reco { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reco a {
  display: block; text-align: center; background: #fffbea; border: 2px solid var(--ink); border-radius: 14px; padding: 10px 6px;
  color: var(--ink); font-weight: 800; text-decoration: none; font-size: 14px;
}
.reco a small { display: block; font-weight: 500; color: var(--sub); font-size: 11.5px; }
.join-cta { text-align: center; }

/* ---------- これまでの記事 ---------- */
details.card > summary { font-weight: 800; cursor: pointer; font-size: 14px; }
details.card[open] > summary { margin-bottom: 8px; }
.hist { list-style: none; margin: 0; padding: 0; }
.hist li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-bottom: 2px dashed var(--line); font-size: 13px; line-height: 1.5; }
.hist li:last-child { border-bottom: 0; }
.hist .st { flex: none; margin-top: 1px; }
.hist .tx { flex: 1; min-width: 0; }
.hist .tx b { font-weight: 800; }
.hist .tx small { display: block; color: var(--sub); font-size: 11.5px; font-weight: 700; }
.hist .empty { color: var(--sub); font-size: 13px; }
details.rule .body { margin-top: 12px; }
.tools { text-align: center; margin: 6px 0 0; }
.tools .btn { margin-top: 10px; }
.watch-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 12px; padding: 6px 10px; margin: 0 0 12px; font-size: 13px; font-weight: 800; }
.watch-bar span { flex: 1; min-width: 0; line-height: 1.5; }
.watch-bar .btn-link { flex: none; white-space: nowrap; padding: 4px; }

/* ---------- 下から出る画面（ネタ・外す・シェア） ---------- */
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  max-width: 520px; margin: 0 auto;
  background: #fff; border-radius: 22px 22px 0 0; border: 3px solid var(--ink); border-bottom: 0;
  box-shadow: 0 -6px 0 rgba(26, 26, 26, .15);
  padding: 16px 16px calc(24px + env(safe-area-inset-bottom)); max-height: 86vh; overflow: auto;
  transform: translateY(105%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s;
}
.sheet.open { transform: none; visibility: visible; transition: transform .22s ease; }
.sheet-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 39; display: none; }
.sheet-bg.open { display: block; }
.sheet .btn-link { display: block; margin: 10px auto 0; color: var(--sub); }
.sh-card {
  position: relative; border: 3px solid var(--ink); border-radius: 8px; padding: 26px 14px 14px; margin: 4px 0 6px;
  background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(36, 99, 230, .14) 25px 26px) var(--memo);
  transform: rotate(-.8deg);
}
.sh-card.adult { background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(240, 56, 140, .16) 25px 26px) #fff2f8; }
.sh-card .pin { position: absolute; top: 6px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9196, var(--red) 60%, #8c0f15); border: 2px solid var(--ink); }
.sh-card .tt { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.5; margin: 6px 0 0; word-break: break-all; }
.sh-lb { font-size: 13.5px; font-weight: 800; margin: 14px 0 6px; }
.word-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.word-btns button {
  border: 2px solid var(--ink); background: #fff; border-radius: 99px; padding: 7px 12px; font-size: 14px; font-weight: 800;
  cursor: pointer; color: var(--ink);
}
.word-btns button.sel { background: var(--yellow); }
#word-in { margin-top: 8px; font-size: 16px; }
.word-note { font-size: 12px; font-weight: 800; margin: 6px 0 0; color: var(--sub); }
.word-note.ng { color: var(--red); }
.sh-q { text-align: center; font-family: var(--display); font-weight: 400; font-size: 19px; margin: 14px 0 4px; }
.kick-list { display: grid; gap: 8px; }
.kick-list button { display: flex; align-items: center; gap: 10px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; padding: 6px 10px; font-weight: 800; font-size: 15px; cursor: pointer; font-family: inherit; color: var(--ink); text-align: left; }
.kick-list button img { width: 44px; transform: scale(1.12); }
.kick-list button span { flex: 1; }
.kick-list button em { font-style: normal; font-size: 12px; color: var(--red); }
#share-sheet .share-go.wait { opacity: .45; pointer-events: none; }
#share-sheet .note { text-align: center; margin: 12px 0 0; }

/* ---------- 演出 ---------- */
#fx {
  position: fixed; inset: 0; z-index: 60; display: none; overflow: hidden; isolation: isolate;
  align-items: center; justify-content: center; flex-direction: column;
  background: var(--yellow); color: var(--ink); text-align: center; padding: 20px;
}
#fx.show { display: flex; animation: fadein .15s ease; }
#fx::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26, 26, 26, .12) 30%, transparent 33%);
  background-size: 12px 12px;
}
.fx-en {
  font-family: var(--en); font-size: min(86px, 19vw); line-height: 1; letter-spacing: .01em; white-space: nowrap;
  color: var(--yellow); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--red), 9px 9px 0 var(--ink);
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.fx-en.red { color: var(--red); text-shadow: 5px 5px 0 var(--ink); }
.fx-en.white { color: #fff; text-shadow: 5px 5px 0 var(--ink); }
.fx-ja {
  font-family: var(--display); font-weight: 400; font-size: min(46px, 11.5vw); line-height: 1.15; color: #fff;
  -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink);
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both;
}
.fx-ja.red { color: var(--red); }
.fx-mid { font-family: var(--display); font-weight: 400; font-size: 24px; margin-top: 14px; animation: pop .5s .2s both; line-height: 1.35; }
.fx-sub { font-size: 16px; font-weight: 800; margin-top: 12px; animation: fadein .3s .4s both; line-height: 1.65; }
.fx-sub small { font-size: 13.5px; }
.fx-sub .w { display: inline-block; background: var(--ink); color: #fff; padding: 0 8px; border-radius: 6px; margin: 2px; }
.fx-pts { font-family: var(--display); font-size: 34px; color: var(--red); margin-top: 8px; animation: pop .45s .35s both; }
.fx-icons { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin: 14px 0 0; animation: pop .5s .45s both; max-width: 420px; }
.fx-icons .ri { width: 84px; }
.fx-tap { position: absolute; bottom: 22px; left: 0; right: 0; font-size: 12px; font-weight: 800; opacity: .6; }
.fx-memo {
  margin: 14px auto 0; max-width: 330px; text-align: left; border: 3px solid var(--ink); border-radius: 8px; padding: 18px 14px 14px;
  background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(36, 99, 230, .14) 23px 24px) var(--memo); color: var(--ink);
  font-weight: 800; font-size: 16px; line-height: 1.5; transform: rotate(-1.5deg); position: relative; word-break: break-all;
  animation: pop .45s .15s both;
}
.fx-memo.adult { background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(240, 56, 140, .16) 23px 24px) #fff2f8; }

/* 撃った！（記事が出た） */
#fx.fx-shot { background: #fff; }
/* スクープ：赤い背景に光の線、カメラのフラッシュ */
#fx.fx-hit { background: radial-gradient(circle at 50% 42%, #ff4a52, var(--red) 45%, #8f0d14); color: #fff; }
#fx.fx-hit::before { background-image: radial-gradient(circle, rgba(0, 0, 0, .14) 30%, transparent 33%); }
.rays {
  position: absolute; left: 50%; top: 42%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax; z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255, 216, 58, .3) 0deg 7deg, rgba(255, 216, 58, 0) 7deg 18deg);
  animation: spin 10s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fx-hit .fx-en { font-size: min(96px, 22vw); animation: pop .55s .1s cubic-bezier(.2, 1.6, .4, 1) both, shake .5s .7s both; }
.fx-hit .fx-mid, .fx-hit .fx-sub { color: #fff; text-shadow: 2px 2px 0 var(--ink); }
.fx-hit .ri .n { color: #fff; text-shadow: 1px 1px 0 var(--ink); }
/* ISOLANCE：ペンが1人に当たって、記者にはね返る */
#fx.fx-iso { background: var(--yellow); }
/* 記者のペンが、1人（？）に当たって、くるっと記者にもどってくる */
.iso-stage { position: relative; width: 340px; height: 124px; margin: 14px auto 0; }
.iso-parent { position: absolute; left: 0; top: 10px; width: 100px; animation: hitshake .45s ease 1.6s; }
.iso-parent img { width: 100%; transform: scale(1.12); }
.iso-parent .m1 {
  position: absolute; right: -10px; top: -4px; background: var(--red); color: #fff; font-family: var(--display);
  font-size: 20px; padding: 2px 9px; border-radius: 99px; border: 3px solid var(--ink); animation: pop .4s 1.65s both;
}
.iso-target {
  position: absolute; right: 0; top: 14px; width: 94px; height: 94px; border-radius: 50%; background: var(--ink); color: #fff;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--ink); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 46px; animation: hitshake .35s ease .9s;
}
.iso-target::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 6px solid var(--red); opacity: 0;
  animation: ring .5s ease .88s both;
}
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.iso-nib {
  position: absolute; left: 100px; top: 42px; width: 96px; height: 38px; color: var(--red); overflow: visible;
  filter: drop-shadow(3px 3px 0 rgba(26, 26, 26, .35)); animation: nibfly 1.5s cubic-bezier(.35, .1, .3, 1) .3s both;
}
@keyframes nibfly {
  0% { transform: translateX(-44px); opacity: 0; }
  10% { opacity: 1; }
  38% { transform: translateX(53px); }
  44% { transform: translateX(46px) rotate(-30deg); }
  52% { transform: translateX(38px) rotate(-180deg); }
  86% { transform: translateX(-7px) rotate(-180deg); opacity: 1; }
  100% { transform: translateX(0) rotate(-200deg); opacity: 0; }
}
.fx-iso .fx-en { animation: pop .5s 1.45s cubic-bezier(.2, 1.6, .4, 1) both; }
.fx-iso .fx-mid { animation-delay: 1.7s; }
.fx-iso .fx-sub { animation-delay: 1.85s; }
/* ガセネタ：灰色の紙 */
#fx.fx-miss { background: #cfcac0; }
.fx-miss .fx-ja { color: #fff; animation: pop .5s cubic-bezier(.2, 1.6, .4, 1) both, wobble 1s .5s ease both; }
@keyframes wobble { 0%, 100% { transform: none; } 25% { transform: rotate(-4deg); } 50% { transform: rotate(3deg); } 75% { transform: rotate(-2deg); } }
/* 証拠隠滅・ボツ・間に合わなかった：黒い背景 */
#fx.fx-ink { background: var(--ink); color: #fff; }
#fx.fx-ink::before { background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 30%, transparent 33%); }
.fx-ink .fx-ja { color: var(--yellow); -webkit-text-stroke: 0; text-shadow: 4px 4px 0 var(--red); }
.fx-ink .fx-sub b { color: var(--yellow); }
.shred { position: relative; width: 300px; height: 214px; margin: 18px auto 0; }
.shred .slot { position: absolute; left: -10px; right: -10px; top: 88px; height: 16px; border-radius: 6px; background: #555; border: 3px solid #fff; z-index: 2; }
.shred .strip {
  position: absolute; left: 0; top: 0; width: 300px; height: 96px; border: 3px solid var(--ink); border-radius: 6px;
  background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(36, 99, 230, .14) 23px 24px) var(--memo);
  color: var(--ink); font-weight: 800; font-size: 15px; line-height: 1.5; padding: 12px; text-align: left; overflow: hidden; word-break: break-all;
  animation: shredin .55s ease-in .35s both, shredfall .9s ease-in forwards;
}
.shred.adult .strip { background: repeating-linear-gradient(180deg, transparent 0 23px, rgba(240, 56, 140, .16) 23px 24px) #fff2f8; }
/* 1）紙が丸ごとシュレッダーに入る　2）細切れになって落ちる */
@keyframes shredin { from { transform: translateY(0); } to { transform: translateY(54px); } }
@keyframes shredfall {
  from { transform: translateY(54px); }
  to { transform: translateY(190px) rotate(var(--r, 6deg)); opacity: 0; }
}
.stamp {
  position: absolute; right: -6px; top: -14px; font-family: var(--display); font-size: 30px; color: var(--red);
  border: 4px solid var(--red); border-radius: 10px; padding: 0 10px; background: rgba(255, 255, 255, .85);
  transform: rotate(-12deg); animation: slam .35s .55s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes slam { from { transform: rotate(-12deg) scale(2.4); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
/* あなたの番・最初の記者 */
#fx.fx-turn { background: var(--yellow); }
.fx-turn .ri { width: 120px; }
.roul { display: grid; grid-template-columns: repeat(4, 74px); gap: 10px; justify-content: center; margin: 16px 0 0; }
.roul .ri { width: 74px; transition: transform .08s; }
.roul .ri.on { transform: scale(1.16); }
.roul .ri.on .face::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 5px solid var(--red); }
.roul .ri.win .face::after { box-shadow: 0 0 0 4px var(--ink); }
.roul .ri .n { margin-top: 6px; }
/* 謝罪会見：暗い会見場に、カメラのフラッシュ */
#fx.fx-kaiken { background: radial-gradient(circle at 50% 40%, #3b3b3b, #121212 70%); color: #fff; }
#fx.fx-kaiken::before { background-image: none; }
.fx-kaiken .fx-ja { color: #fff; text-shadow: 4px 4px 0 var(--red); -webkit-text-stroke: 0; font-size: 52px; }
.fx-kaiken .fx-sub, .fx-kaiken .fx-mid { color: #fff; }
.fx-kaiken .ri .n { color: #fff; }
.bulb {
  position: absolute; width: 60px; height: 60px; border-radius: 50%; z-index: -1; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, .7) 28%, rgba(255, 255, 255, 0) 70%);
  animation: bulb 1.6s ease-out infinite;
}
@keyframes bulb { 0%, 70% { opacity: 0; transform: scale(.4); } 75% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes pop { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shake {
  0%, 100% { transform: none; }
  20% { transform: translate(-7px, 3px) rotate(-2deg); }
  40% { transform: translate(7px, -3px) rotate(2deg); }
  60% { transform: translate(-4px, 2px); }
  80% { transform: translate(4px, -2px); }
}
@keyframes hitshake {
  0%, 100% { transform: none; }
  20% { transform: translateX(-8px) rotate(-6deg); }
  45% { transform: translateX(7px) rotate(5deg); }
  70% { transform: translateX(-4px); }
}
.fx-flash { position: fixed; inset: 0; background: #fff; z-index: 61; pointer-events: none; animation: flash .45s ease forwards; }
@keyframes flash { from { opacity: .9; } to { opacity: 0; } }

/* 自分に関係うすい出来事は、上に細い帯で出す（会話をじゃましない） */
#ticker {
  position: fixed; left: 50%; top: 10px; z-index: 55; width: min(94vw, 500px);
  transform: translate(-50%, -160%); opacity: 0; visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
  background: var(--ink); color: #fff; border: 3px solid #fff;
  border-radius: 16px; padding: 10px 14px; font-size: 14px; font-weight: 800; line-height: 1.55; box-shadow: 3px 3px 0 var(--red);
}
#ticker.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }
#ticker b { color: var(--yellow); }

/* ---------- 確認ダイアログ ---------- */
#modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .45); padding: 20px; }
#modal.show { display: flex; }
#modal .box { background: #fff; border-radius: 20px; padding: 20px; max-width: 380px; width: 100%; box-shadow: var(--shadow); border: 3px solid var(--ink); }
#modal .msg { font-size: 16px; line-height: 1.7; font-weight: 800; text-align: center; white-space: pre-line; margin: 0 0 4px; }

/* ---------- プレミアム（ログイン・購入） ---------- */
#premium {
  position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .5); padding: 16px; overflow-y: auto;
}
#premium.show { display: flex; }
#premium .box {
  background: #fff; border-radius: 20px; padding: 18px 18px 12px; max-width: 400px; width: 100%;
  box-shadow: var(--shadow); border: 3px solid var(--ink); margin: auto;
}
.premium-kv { width: 70%; margin: 0 auto; border-radius: 14px; border: 3px solid var(--ink); }
.premium-title { font-family: var(--display); font-size: 22px; text-align: center; margin: 12px 0 8px; }
.premium-list { list-style: none; margin: 0; padding: 0; }
.premium-list li { font-size: 13px; line-height: 1.6; color: var(--sub); padding: 8px 0 8px 22px; position: relative; border-bottom: 2px dashed var(--line); }
.premium-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); }
.premium-list li b { display: block; font-size: 15px; color: var(--ink); }
.teaser { margin: 10px 0 0; text-align: center; }
.teaser-t { font-size: 12.5px; font-weight: 800; color: #a0185a; margin: 0 0 6px; }
.teaser-list span {
  display: inline-block; background: #fff2f8; border: 2px solid var(--pink); color: #a0185a; border-radius: 10px;
  padding: 3px 8px; margin: 3px; font-size: 12.5px; font-weight: 800;
}
.premium-price { font-family: var(--display); font-size: 30px; color: var(--red); text-align: center; margin: 12px 0 2px; }
.premium-price small { font-family: var(--font); font-size: 13px; font-weight: 800; color: var(--sub); margin-left: 4px; }
.premium-warn { background: #fff3d6; border-radius: 12px; padding: 8px 10px; font-size: 12.5px; line-height: 1.6; color: #7a5a12; font-weight: 800; }
.premium-owned { text-align: center; font-weight: 800; line-height: 1.7; margin: 10px 0 0; }
.premium-foot { display: flex; justify-content: center; gap: 18px; margin-top: 6px; }
#premium .btn-link { color: var(--sub); }
#premium .note { margin: 8px 0 0; }

/* ---------- 規約などのリンク ---------- */
.legal { text-align: center; margin: 14px 0 0; line-height: 2; }
.legal a { color: var(--ink); font-size: 11.5px; margin: 0 6px; text-decoration: underline; font-weight: 500; }

/* ---------- お知らせ ---------- */
/* 出ていないときは、画面の上に少しも見えないようにする */
#toast {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 200%);
  background: rgba(26, 26, 26, .92); color: #fff; font-weight: 800; font-size: 14px;
  padding: 10px 18px; border-radius: 99px; z-index: 90;
  opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
  max-width: 92vw; text-align: center;
}
#toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .25s ease, opacity .25s ease; }

@media (max-width: 360px) {
  .catch { font-size: 22px; }
  .tt.t1 { font-size: 15.5px; }
  .tt.t2 { font-size: 14.5px; }
  .tt.t3 { font-size: 13.5px; }
  .tt.t4 { font-size: 12.5px; }
  .nc { padding: 22px 8px 8px; }
  .fx-en { font-size: 70px; }
  .fx-hit .fx-en { font-size: 78px; }
  .fx-ja { font-size: 40px; }
  .iso-stage { transform: scale(.9); }
  .roul { grid-template-columns: repeat(4, 64px); }
  .roul .ri { width: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .rays, .bulb { animation: none; }
  .fx-hit .fx-en { animation: pop .3s both; }
  .nc.drop { animation-duration: .01s; }
}
