/* ===== ホーム・予測・実績画面(predict担当)— ネオンサイバー刷新 ===== */

/* ----- 汎用 ----- */
.page-title { font-size: 18px; font-weight: 900; margin: 2px 0 12px; letter-spacing: 0.02em; }
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--text-dim); text-decoration: none;
  font-size: 12.5px; font-weight: 800; margin-bottom: 10px;
}
.back-link:active { color: var(--cyan); }
.mt-4 { margin-top: 4px; }
.kv {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 12.5px; padding: 6px 0;
  border-top: 1px solid var(--border);
}
.kv .k { color: var(--text-dim); flex: none; }
.kv .v { text-align: right; word-break: break-all; }
.section-link { margin-left: 4px; font-size: 11.5px; font-weight: 800; color: var(--cyan); text-decoration: none; }
.empty-card { text-align: center; padding: 26px 14px; }
.empty-emoji { font-size: 40px; margin-bottom: 8px; }

/* ----- ホーム: あいさつ ----- */
.home-greeting { margin: 2px 0 12px; }
.home-greeting .hello { font-size: 11.5px; color: var(--text-dim); font-weight: 700; }
.home-greeting .uname { font-size: 17px; font-weight: 900; margin-top: 2px; }

/* ----- ホーム: イベントバナー ----- */
.event-banner {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 18px; margin-bottom: 14px; padding: 18px 16px 16px;
  background: linear-gradient(120deg, rgba(77, 91, 255, 0.5), rgba(139, 92, 246, 0.38) 50%, rgba(255, 61, 154, 0.32));
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.25);
  transition: transform 0.08s;
}
.event-banner:active { transform: scale(0.985); }
.banner-art { position: absolute; inset: 0; z-index: 0; }
.banner-art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.banner-art .asset-fallback { position: absolute; right: 4px; bottom: -10px; font-size: 68px; opacity: 0.4; }
.banner-body { position: relative; z-index: 1; }
.banner-kicker {
  display: inline-block; font-size: 9.5px; font-weight: 900; letter-spacing: 0.14em;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.38); color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.5);
}
.banner-title { font-size: 18px; font-weight: 900; margin-top: 8px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55); }
.banner-sub { font-size: 12.5px; font-weight: 800; color: #dbe4ff; margin-top: 3px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.banner-sub .num { font-size: 20px; color: var(--yellow); text-shadow: 0 0 12px rgba(255, 193, 77, 0.55); }
.banner-go { margin-top: 9px; font-size: 12px; font-weight: 900; color: var(--cyan); }

/* ----- ホーム: 受取可能報酬 ----- */
.claim-card {
  border-color: rgba(52, 211, 153, 0.65);
  background: linear-gradient(150deg, rgba(52, 211, 153, 0.16), rgba(15, 20, 42, 0.94));
  box-shadow: 0 0 22px rgba(52, 211, 153, 0.18);
}
.claim-head { display: flex; align-items: center; gap: 14px; }
.claim-gift { font-size: 40px; line-height: 1; filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.6)); }
.claim-label { font-size: 11px; font-weight: 900; color: var(--green); letter-spacing: 0.06em; }
.claim-total {
  font-size: 27px; font-weight: 900; color: var(--green); margin-top: 2px;
  text-shadow: 0 0 14px rgba(52, 211, 153, 0.5);
}
.claim-count { font-size: 11.5px; color: var(--text-dim); font-weight: 700; margin-top: 2px; }
.claim-count b { color: var(--text); font-size: 13.5px; }

/* ----- ホーム: ショートカットタイル ----- */
.home-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.home-tile {
  border-radius: 18px; padding: 16px 10px 13px; text-align: center; cursor: pointer;
  border: 1px solid var(--border); transition: transform 0.08s;
}
.home-tile:active { transform: scale(0.96); }
.tile-city {
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.16), rgba(15, 20, 42, 0.94));
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.12);
}
.tile-battle {
  background: linear-gradient(160deg, rgba(255, 61, 122, 0.18), rgba(15, 20, 42, 0.94));
  border-color: rgba(255, 61, 122, 0.45);
  box-shadow: 0 0 16px rgba(255, 61, 122, 0.12);
}
.tile-icon { font-size: 36px; line-height: 1; display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); }
.tile-name { font-size: 14px; font-weight: 900; margin-top: 7px; }
.tile-desc { font-size: 10.5px; color: var(--text-dim); font-weight: 700; margin-top: 2px; }
.tile-go { margin-top: 9px; font-size: 11px; font-weight: 900; }
.tile-city .tile-go { color: var(--cyan); }
.tile-battle .tile-go { color: var(--magenta); }

/* ----- 予測一覧: タブ・チップ ----- */
.tabs {
  display: flex; gap: 4px;
  background: rgba(13, 18, 38, 0.9);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 4px; margin-bottom: 10px;
}
.tab {
  flex: 1; text-align: center; padding: 9px 0; border-radius: 10px;
  font-size: 12.5px; font-weight: 800; color: var(--text-dim);
  cursor: pointer; border: none; background: transparent; font-family: inherit;
  transition: all 0.15s; white-space: nowrap;
}
.tab.active {
  background: var(--grad-cta); color: #04101c; font-weight: 900;
  box-shadow: 0 2px 12px rgba(46, 144, 255, 0.4);
}

.chips {
  display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(20, 27, 52, 0.85); border: 1px solid var(--border);
  color: var(--text-dim); font-size: 12px; font-weight: 800;
  cursor: pointer; white-space: nowrap; font-family: inherit;
  transition: all 0.15s;
}
.chip.active {
  color: #fff;
  border-color: var(--cat, var(--cyan));
  background: color-mix(in srgb, var(--cat, var(--cyan)) 24%, rgba(20, 27, 52, 0.9));
  box-shadow: 0 0 12px color-mix(in srgb, var(--cat, var(--cyan)) 45%, transparent);
}

/* ----- テーマカード(ホーム/一覧共通)----- */
.theme-card { cursor: pointer; transition: transform 0.08s; padding: 13px 14px 12px; }
.theme-card:active { transform: scale(0.985); }
.tc-main { display: flex; gap: 11px; align-items: center; margin: 9px 0 10px; }
.tc-thumb {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: color-mix(in srgb, var(--cat, var(--accent)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat, var(--accent)) 38%, transparent);
}
.tc-thumb img { width: 46px; height: 46px; object-fit: cover; }
.tc-thumb .asset-fallback { font-size: 26px; }
.tc-q { font-size: 14.5px; font-weight: 800; line-height: 1.45; flex: 1; min-width: 0; }
.tc-pct { margin-top: 5px; font-size: 11.5px; }
.ratio-empty { opacity: 0.35; }
.tc-bottom { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.tc-deadline {
  display: inline-flex; gap: 4px; align-items: center;
  font-size: 11px; color: var(--text-dim); font-weight: 700;
}
.tc-deadline .countdown { font-size: 13px; }
.tc-meta { color: var(--text-dim); font-weight: 700; font-size: 11px; white-space: nowrap; }
.bet-mini {
  margin-left: auto; flex: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 11.5px; font-weight: 900; color: #04101c;
  padding: 8px 13px; border-radius: 999px;
  background: var(--grad-cta);
  box-shadow: 0 2px 12px rgba(46, 144, 255, 0.45);
  white-space: nowrap;
}
.bet-mini:active { transform: scale(0.94); }
.my-entry-badge { color: var(--cyan); border-color: var(--cyan); background: rgba(34, 211, 238, 0.1); }

/* ----- 詳細: カテゴリヒーローカード ----- */
.hero-card {
  position: relative; overflow: hidden; border-radius: 20px; margin-bottom: 12px;
  border: 1px solid color-mix(in srgb, var(--cat, var(--accent)) 50%, transparent);
  background: linear-gradient(165deg,
    color-mix(in srgb, var(--cat, var(--accent)) 24%, rgba(16, 22, 46, 0.95)),
    rgba(10, 14, 30, 0.96));
  box-shadow: 0 0 26px color-mix(in srgb, var(--cat, var(--accent)) 18%, transparent);
}
.hero-art { position: absolute; inset: 0; z-index: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero-art .asset-fallback {
  position: absolute; right: -10px; top: 2px;
  font-size: 100px; opacity: 0.16; transform: rotate(-8deg);
}
.hero-body { position: relative; z-index: 1; padding: 14px; }
.hero-q {
  font-size: 17.5px; font-weight: 900; line-height: 1.5; margin-top: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-desc { font-size: 12px; color: var(--text-dim); margin-top: 6px; line-height: 1.55; }
.hero-deadline { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.hero-deadline .countdown { font-size: 21px; letter-spacing: 0.04em; }
.hd-label { color: var(--text-dim); font-size: 11.5px; font-weight: 800; }
.hd-closed { color: var(--text-dim); font-size: 12px; font-weight: 700; }
.hero-resolve { margin-top: 5px; font-size: 11px; color: var(--text-dim); font-weight: 700; }

/* ----- 詳細: YES vs NO 対決 ----- */
.vs-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: stretch; }
.vs-grid .vs-badge { align-self: center; }
.vs-side {
  position: relative; border-radius: 14px; padding: 13px 6px 11px; text-align: center;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 2px; justify-content: center;
}
.vs-yes {
  background: linear-gradient(165deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.03));
  border-color: rgba(34, 211, 238, 0.45);
}
.vs-no {
  background: linear-gradient(165deg, rgba(255, 61, 122, 0.15), rgba(255, 61, 122, 0.03));
  border-color: rgba(255, 61, 122, 0.45);
}
.vs-label { font-size: 13px; font-weight: 900; letter-spacing: 0.06em; }
.vs-yes .vs-label, .vs-yes .vs-pct { color: var(--yes); }
.vs-no .vs-label, .vs-no .vs-pct { color: var(--no); }
.vs-pct { font-size: 27px; font-weight: 900; line-height: 1.15; }
.vs-yes .vs-pct { text-shadow: 0 0 14px rgba(34, 211, 238, 0.45); }
.vs-no .vs-pct { text-shadow: 0 0 14px rgba(255, 61, 122, 0.45); }
.vs-pool { font-size: 11.5px; font-weight: 800; }
.vs-odds { font-size: 10.5px; color: var(--yellow); font-weight: 800; }
.vs-winner { border-color: var(--yellow); box-shadow: 0 0 18px rgba(255, 193, 77, 0.35); }
.vs-loser { opacity: 0.45; filter: grayscale(0.4); }
.vs-crown {
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  font-size: 10px; font-weight: 900; white-space: nowrap;
  background: linear-gradient(95deg, #ffc14d, #ff7a3d); color: #211200;
  padding: 2px 10px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(255, 193, 77, 0.55);
}
.vs-pool-row {
  display: flex; justify-content: space-between; margin-top: 9px;
  font-size: 12px; color: var(--text-dim); font-weight: 800;
}
.vs-pool-row b { color: var(--yellow); font-size: 14px; }

/* ----- 詳細: ベットパネル ----- */
.bet-card { border-color: var(--border-glow); }
.choice-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 12px; }
.choice-btn { flex-direction: column; gap: 2px; padding: 13px 0; border-radius: 14px; }
.choice-btn .cb-label { font-size: 17px; font-weight: 900; line-height: 1.1; }
.choice-btn .cb-pct { font-size: 11px; font-weight: 800; opacity: 0.85; }
.bet-info {
  display: flex; justify-content: space-between; gap: 8px;
  font-size: 10.5px; color: var(--text-dim); font-weight: 700; margin-bottom: 6px;
}
.bet-card input[type="number"] {
  font-size: 21px; font-weight: 900; text-align: center; letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
.bet-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none; margin: 14px 0 2px; cursor: pointer;
}
.bet-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #b9f3ff, #22d3ee 60%, #0ea5c4);
  border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  cursor: pointer;
}
.bet-slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: #22d3ee; border: 2px solid #fff;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.8);
  cursor: pointer;
}
.quick-chips { display: flex; gap: 8px; margin-top: 12px; }
.qchip {
  flex: 1; padding: 10px 0; border-radius: 11px;
  border: 1px solid var(--border-glow);
  background: rgba(31, 40, 74, 0.9); color: var(--cyan);
  font-size: 13px; font-weight: 900; cursor: pointer; font-family: inherit;
  transition: transform 0.06s;
}
.qchip:active { transform: scale(0.93); background: rgba(34, 211, 238, 0.18); }
.qchip-max { color: var(--yellow); border-color: rgba(255, 193, 77, 0.55); }
.qchip-max:active { background: rgba(255, 193, 77, 0.16); }

.est-payout {
  margin-top: 12px; padding: 11px 14px; border-radius: 13px;
  background: linear-gradient(120deg, rgba(255, 193, 77, 0.1), rgba(255, 122, 61, 0.06));
  border: 1px solid rgba(255, 193, 77, 0.4);
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  font-size: 12px;
}
.est-label { color: var(--text-dim); font-weight: 800; }
.est-value { font-weight: 800; }
.est-num {
  color: var(--yellow); font-size: 19px; font-weight: 900;
  text-shadow: 0 0 12px rgba(255, 193, 77, 0.45);
}
.est-mult { color: var(--orange); font-size: 11.5px; font-weight: 800; }
.bet-note { margin-top: 10px; font-size: 10.5px; color: var(--text-dim); line-height: 1.6; }

/* ----- 詳細: ベット確認モーダル ----- */
.confirm-modal {
  width: min(340px, calc(100vw - 48px));
  padding: 22px 18px 18px; border-radius: 22px; text-align: center;
  background: linear-gradient(165deg, rgba(30, 40, 80, 0.97), rgba(14, 19, 40, 0.98));
  border: 1.5px solid var(--border-glow);
  box-shadow: 0 0 50px rgba(77, 163, 255, 0.3);
  animation: pop-in 0.3s cubic-bezier(.2, 1.2, .3, 1);
}
.cm-title { font-size: 13px; font-weight: 900; color: var(--text-dim); letter-spacing: 0.08em; }
.cm-choice { margin-top: 12px; font-size: 14px; font-weight: 800; }
.cm-choice .yes-text, .cm-choice .no-text { font-size: 22px; margin-right: 2px; }
.cm-amount {
  font-size: 31px; font-weight: 900; color: var(--yellow); margin-top: 2px;
  text-shadow: 0 0 16px rgba(255, 193, 77, 0.5);
}
.cm-est { margin-top: 6px; font-size: 12px; }
.cm-warn { margin-top: 10px; font-size: 11.5px; font-weight: 800; color: var(--red); }

/* ----- 詳細: 結果待ち/結果カード ----- */
.locked-card { text-align: center; padding: 24px 14px 20px; }
.locked-emoji { font-size: 44px; line-height: 1; }
.locked-title { font-size: 16px; font-weight: 900; margin: 8px 0 4px; }
.locked-count { margin-top: 12px; font-size: 13px; font-weight: 800; }
.locked-count .countdown { font-size: 19px; }

.result-card { border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 0 18px rgba(34, 211, 238, 0.12); }
.result-card-void { border-color: rgba(255, 193, 77, 0.5); box-shadow: none; }
.result-winner { font-size: 19px; font-weight: 900; margin: 2px 0 10px; }
.result-win { color: var(--green); font-weight: 900; }
.result-lose { color: var(--red); font-weight: 800; }
.result-void { color: var(--yellow); font-weight: 800; }
.result-pending { color: var(--text-dim); }

.rule-text { font-size: 13px; line-height: 1.6; white-space: pre-wrap; }

/* ----- 詳細: 自分のベット一覧 ----- */
.entry-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 0; border-top: 1px solid var(--border); font-size: 13.5px;
}
.entry-main b { font-size: 14px; }
.entry-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font-size: 12px; font-weight: 800;
}
.entry-payout { color: var(--green); font-weight: 900; }
.claim-entry-btn { margin: 4px 0 10px; }

/* ----- 実績: プロフィールヘッダー ----- */
.profile-head { display: flex; gap: 14px; align-items: center; }
.p-avatar {
  width: 64px; height: 64px; border-radius: 20px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #4da3ff, #8b5cf6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}
.p-meta { flex: 1; min-width: 0; }
.p-name {
  font-size: 18px; font-weight: 900;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.p-sub { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.xp-note { font-size: 10.5px; color: var(--text-dim); font-weight: 700; margin-top: 4px; }

/* ----- 実績: 残高デカ数字 ----- */
.balance-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.balance-item {
  background: var(--bg-panel); border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 4px 12px; text-align: center;
}
/* 絵文字(LIFE)と画像アイコン(COIN/MEDAL)で行高が変わり値がずれるため、ラベルは固定高で中央寄せに揃える */
.b-label {
  display: flex; align-items: center; justify-content: center; gap: 3px;
  height: 18px; line-height: 1;
  font-size: 10px; color: var(--text-dim); font-weight: 800; letter-spacing: 0.04em;
}
.b-label .cur-ic, .b-label .cur-ic img { width: 14px; height: 14px; }
.b-label .asset-fallback { font-size: 13px; line-height: 1; }
.b-value { font-size: 21px; font-weight: 900; margin-top: 3px; }
.b-life { color: #5af0b0; text-shadow: 0 0 12px rgba(90, 240, 176, 0.4); }
.b-coin { color: var(--yellow); text-shadow: 0 0 12px rgba(255, 193, 77, 0.4); }
.b-medal { color: #74b6ff; text-shadow: 0 0 12px rgba(116, 182, 255, 0.4); }

/* ----- 実績: 素材コレクション ----- */
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mat-card {
  border-radius: 16px; padding: 12px 4px 10px; text-align: center;
  background: color-mix(in srgb, var(--cat, var(--accent)) 10%, rgba(20, 27, 52, 0.85));
  border: 1px solid color-mix(in srgb, var(--cat, var(--accent)) 40%, transparent);
}
.mat-art { width: 64px; height: 64px; align-items: center; justify-content: center; }
.mat-art img { width: 64px; height: 64px; object-fit: contain; }
.mat-art .asset-fallback { font-size: 44px; }
/* ドッグタグは縦長なのでアスペクト維持で少し高め */
.dt-art { width: 52px; height: 68px; }
.dt-art img { width: 52px; height: 68px; object-fit: contain; }
.mat-name { font-size: 10px; font-weight: 800; color: var(--text-dim); margin-top: 4px; }
.mat-count { font-size: 15px; font-weight: 900; color: var(--cat, var(--text)); margin-top: 1px; }
.mat-empty { opacity: 0.38; filter: grayscale(0.6); }
/* 次の素材までの進捗(素材ポイント / 100) */
.mat-progress {
  margin: 6px 8px 0; height: 5px; border-radius: 3px; overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.mat-progress-bar {
  height: 100%; border-radius: 3px; transition: width 0.4s ease;
  background: var(--cat, var(--accent));
}
.mat-progress-label { font-size: 9px; font-weight: 700; color: var(--text-dim); margin-top: 2px; }

/* ----- 実績: カテゴリ別成績カード ----- */
.cat-stat-card { display: flex; align-items: center; gap: 13px; padding: 12px 14px; }
.win-ring {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.win-ring-inner {
  width: 42px; height: 42px; border-radius: 50%;
  background: #11172e;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900; color: var(--cat, var(--text));
}
.cs-main { flex: 1; min-width: 0; }
.cs-name { font-size: 13px; font-weight: 900; }
.cs-row {
  display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px;
  font-size: 11px; color: var(--text-dim); font-weight: 700;
}
.cs-row b { color: var(--text); font-size: 12.5px; }
.profit-plus { color: var(--green); font-weight: 900; }
.profit-minus { color: var(--red); font-weight: 900; }

/* ----- 実績: 対戦成績 ----- */
.battle-card { display: flex; align-items: center; gap: 16px; }
.battle-rate {
  text-align: center; flex: none; width: 110px; padding: 12px 0;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(116, 182, 255, 0.14), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(116, 182, 255, 0.4);
}
.br-num {
  font-size: 30px; font-weight: 900; color: #74b6ff; line-height: 1.1;
  text-shadow: 0 0 16px rgba(116, 182, 255, 0.5);
}
.br-label { font-size: 10px; font-weight: 800; color: var(--text-dim); margin-top: 3px; letter-spacing: 0.08em; }
.battle-counts { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.bc-row { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.bc-row b { font-size: 13.5px; }
.bc-win { color: var(--green); }
.bc-lose { color: var(--red); }

/* ----- 実績: 報酬タイムライン ----- */
.timeline { position: relative; padding-left: 18px; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--accent-2), transparent);
  opacity: 0.5;
}
.tl-item { position: relative; padding: 7px 0 9px; }
.tl-dot {
  position: absolute; left: -16px; top: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.8);
}
.tl-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tl-time { font-size: 10.5px; }
.tl-text { font-size: 12.5px; font-weight: 700; margin-top: 4px; }

/* ===== Reference mock visual pass ===== */
.home-greeting { display: none; }
.event-banner {
  min-height: 140px;
  padding: 18px 17px;
  border-radius: 11px;
  border-color: rgba(107, 57, 255, .75);
  background: #060d25;
  box-shadow: 0 0 24px rgba(80, 37, 255, .28), inset 0 0 22px rgba(233, 49, 255, .08);
}
.banner-art img { opacity: .96; object-position: center; }
.event-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(2,7,20,.97) 0%, rgba(3,8,23,.76) 38%, rgba(3,8,23,.05) 75%);
}
.banner-body { z-index: 2; max-width: 54%; }
.banner-kicker { color: #fff; border-color: #ff3d9a; background: rgba(255,61,154,.22); }
.banner-title { font-size: 20px; line-height: 1.2; }
.banner-go { color: #6ee7ff; }

.theme-card {
  padding: 10px 10px 9px;
  border-radius: 9px;
  border-left-width: 2px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--cat) 17%, rgba(5,17,42,.98)), rgba(4,11,29,.98));
}
.theme-card + .theme-card { margin-top: 7px; }
.tc-main { margin: 7px 0; gap: 9px; }
.tc-thumb, .tc-thumb img { width: 50px; height: 50px; border-radius: 8px; }
.tc-q { font-size: 13px; line-height: 1.35; }
.ratio-bar { height: 6px; }
.tc-bottom { margin-top: 7px; gap: 7px; }
.bet-mini {
  padding: 7px 14px; border-radius: 7px; color: #fff;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cat) 72%, white), color-mix(in srgb, var(--cat) 74%, #071020));
  border: 1px solid color-mix(in srgb, var(--cat) 75%, white);
  box-shadow: 0 0 13px color-mix(in srgb, var(--cat) 42%, transparent);
}
.cat-chip { border-radius: 5px; }

.home-mission-grid {
  display: grid; grid-template-columns: 1fr 1.12fr; gap: 8px; margin: 13px 0 2px;
}
.mission-card {
  min-height: 105px; border-radius: 9px; border: 1px solid rgba(60,142,255,.42);
  overflow: hidden; position: relative;
  padding: 12px; background: linear-gradient(145deg, #071b3c, #050d20);
}
.mission-card-weekly { border-color: rgba(255,200,77,.45); background: linear-gradient(145deg, #1f1633, #100a20); }
.mission-card-weekly .mission-progress i { background: linear-gradient(90deg, #ffc04d, #ff7dbf); box-shadow: 0 0 9px #ffc04d; }
.mission-title { font-size: 11px; font-weight: 900; color: #dcecff; }
.mission-copy { margin-top: 10px; font-size: 10px; color: var(--text-dim); }
.mission-progress { height: 6px; margin-top: 8px; border-radius: 9px; background: #101a32; overflow: hidden; }
.mission-progress i { display: block; height: 100%; background: linear-gradient(90deg, #22d3ee, #4da3ff); box-shadow: 0 0 9px #22d3ee; }
.mission-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; font-size: 9px; color: #9fb1d5; }
.mission-foot b { color: #ff7dbf; font-size: 9px; text-align: right; }
.mission-done { color: #5fe39a; font-weight: 900; }
.mission-claim {
  margin-top: 8px; width: 100%; padding: 7px 8px; border: none; border-radius: 7px;
  font-size: 9px; font-weight: 900; color: #08121f; cursor: pointer;
  background: linear-gradient(90deg, #ffd24d, #ff9f43); box-shadow: 0 0 10px rgba(255,180,77,.5);
  animation: mission-claim-pulse 1.1s infinite;
}
.mission-claim:disabled { opacity: .6; cursor: default; animation: none; }
@keyframes mission-claim-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.03); } }

.home-tile {
  min-height: 140px; display: flex; flex-direction: column; justify-content: flex-end;
  text-align: left; padding: 14px; border-radius: 10px; overflow: hidden; position: relative;
}
.home-tile::before { content: ""; position: absolute; inset: 0; opacity: .55; z-index: 0; }
.tile-city::before { background: linear-gradient(0deg, #051026 0%, transparent 75%), url('/assets/img/city-diorama.png') center/cover; }
.tile-battle::before { background: linear-gradient(0deg, #16051d 0%, transparent 75%), url('/assets/img/battle-arena.png') center/cover; }
.home-tile > * { position: relative; z-index: 1; }
.tile-icon { display: none; }
.tile-name { font-size: 15px; text-shadow: 0 2px 7px #000; }
.tile-desc { color: #d1dcf3; }

/* ベット送信中(二重送信防止の視覚フィードバック) */
.cta-btn.is-loading { opacity: 0.65; pointer-events: none; }

/* ===== 無料予想イベント(スイープステークス: W杯優勝予想) ===== */
.wc-chip { background: linear-gradient(90deg,#f5b301,#ff7a00); color:#1a1207; border:none; }
.wc-tile-main { display:flex; gap:12px; align-items:center; margin:8px 0; }
.wc-tile-trophy { font-size:40px; line-height:1; filter: drop-shadow(0 2px 6px rgba(245,179,1,0.5)); }
.wc-tile-body { flex:1; min-width:0; }
.wc-tile-prize { font-size:12px; font-weight:800; color:#ffd35b; margin-top:4px; }
.wc-tile { border-color: color-mix(in srgb,#f5b301 45%,transparent); }

.wc-banner { display:flex; gap:14px; align-items:center; padding:14px;
  border-radius:16px; background:linear-gradient(120deg,rgba(245,179,1,0.18),rgba(255,122,0,0.10));
  border:1px solid color-mix(in srgb,#f5b301 40%,transparent); }
.wc-trophy { font-size:46px; line-height:1; filter:drop-shadow(0 2px 8px rgba(245,179,1,0.6)); }
.wc-prize { font-size:20px; font-weight:900; color:#ffd35b; }
.wc-sub { font-size:11px; color:var(--text-dim); margin-top:2px; }
.wc-meta { display:flex; justify-content:space-between; font-size:12px; color:var(--text-dim); margin:10px 2px; }
.wc-mypick { font-size:14px; font-weight:800; padding:8px 12px; border-radius:10px;
  background:rgba(77,163,255,0.12); border:1px solid rgba(77,163,255,0.3); margin-bottom:8px; }
.wc-mypick b { color:#7cc0ff; }
.wc-result { font-size:14px; font-weight:800; padding:10px 12px; border-radius:10px; margin-bottom:8px; }
.wc-win { background:rgba(46,204,113,0.16); border:1px solid rgba(46,204,113,0.4); color:#7fe3a6; }
.wc-lose { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); color:var(--text-dim); }
.wc-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:8px; margin-top:6px; }
.wc-team { display:flex; flex-direction:column; align-items:flex-start; gap:2px;
  padding:10px 12px; border-radius:12px; cursor:pointer; text-align:left;
  background:rgba(20,27,52,0.85); border:1px solid rgba(255,255,255,0.12); color:var(--text);
  transition:transform .12s, border-color .12s, background .12s; }
.wc-team:not(:disabled):hover { transform:translateY(-2px); border-color:#f5b301; background:rgba(245,179,1,0.10); }
.wc-team:disabled { cursor:default; opacity:0.85; }
.wc-team-name { font-size:14px; font-weight:800; }
.wc-team-cnt { font-size:11px; color:var(--text-dim); }
.wc-picked { border-color:#7cc0ff; background:rgba(77,163,255,0.14); box-shadow:0 0 0 1px #7cc0ff inset; }
.wc-picked .wc-team-name::after { content:' ✓'; color:#7cc0ff; }
.wc-winner { border-color:#f5b301; background:rgba(245,179,1,0.16); }
.wc-winner .wc-team-name::before { content:'👑 '; }
.wc-hint { font-size:11px; margin-top:10px; text-align:center; }

/* ===== 多選択(3択以上)カード ===== */
/* ベット選択ボタン: 3択以上は1列スタック(横並びだとラベルが潰れるため) */
.choice-btns-multi { grid-template-columns: 1fr; }
.choice-btns-multi .choice-btn { flex-direction: row; justify-content: space-between; align-items: center; padding: 13px 16px; }
.choice-btns-multi .choice-btn .cb-label { font-size: 15px; }

/* 詳細: 多選択メインカード */
.multi-card { padding: 14px; }
.mc-head { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 10px; }
.mc-badge { font-size: 11px; font-weight: 900; padding: 3px 9px; border-radius: 999px;
  background: var(--grad-cta); color: #04101c; }
.mc-list { display: flex; flex-direction: column; gap: 10px; }
.mc-row { padding: 10px 12px; border-radius: 12px; background: rgba(20,27,52,0.7);
  border: 1px solid rgba(255,255,255,0.10); }
.mc-row-top { display: flex; justify-content: space-between; align-items: center; }
.mc-label { font-size: 14.5px; font-weight: 800; }
.mc-odds { font-size: 14px; font-weight: 900; color: var(--cyan); }
.mc-bar { height: 6px; border-radius: 4px; margin: 7px 0 4px; overflow: hidden; background: rgba(255,255,255,0.08); }
.mc-bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad-cta); transition: width .4s; }
.mc-bar-empty { opacity: 0.4; }
.mc-sub { font-size: 11px; color: var(--text-dim); }
.mc-win { border-color: rgba(245,179,1,0.6); background: rgba(245,179,1,0.12); }
.mc-win .mc-odds { color: #ffd35b; }
.mc-lose { opacity: 0.5; }

/* 一覧: 多選択タイルのチップ */
.mc-count-badge { color: var(--cyan); border-color: var(--cyan); background: rgba(34,211,238,0.1); }
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 2px; }
.mc-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px;
  background: rgba(20,27,52,0.85); border: 1px solid var(--border); font-size: 11.5px; font-weight: 800; }
.mc-chip-label { color: var(--text); }
.mc-chip-odds { color: var(--cyan); }

/* ===== 締切・結果確定予定の時刻表示(全カード共通) ===== */
.tc-times { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 2px;
  font-size: 11px; font-weight: 700; color: var(--text-dim); }
.tc-times .num, .tc-times span { white-space: nowrap; }
.times-card { display: flex; flex-direction: column; gap: 8px; }
.tcd-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.tcd-k { color: var(--text-dim); font-weight: 700; }
.tcd-v { font-weight: 800; }
