/*
Theme Name: THE CHALLENGE
Description: Custom theme for THE CHALLENGE — Deep Dungeon Solo Challenge
Version: 1.5.1
Author: THE CHALLENGE
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #1c1c1c;
  --bg-2:     #242424;
  --bg-3:     #2c2c2c;
  --bg-hover: #303030;
  --line:     #3a3a3a;
  --line-2:   #4a4a4a;
  --white:    #ffffff;
  --text-1:   #ffffff;    /* 見出し・強調：純白 */
  --text-2:   #e8e8e8;    /* 本文：はっきり白寄り（旧 #d0d0d0） */
  --text-3:   #b8b8b8;    /* サブ本文：明るめグレー（旧 #a0a0a0） */
  --text-4:   #888888;    /* メタ情報：中間グレー（旧 #707070） */
  --text-5:   #555555;    /* 装飾線・装飾要素（旧 #484848） */
  --accent:   #f0c060;
  --accent-2: #c9a84c;
  --font-ja:  'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-en:  Georgia, 'Times New Roman', serif;
  --font-ui:  'Helvetica Neue', Arial, sans-serif;
  --max-w:    820px;
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-ja);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }

/* 本文内の強調：純白＋微グロー */
p strong, li strong, dd strong {
  color: var(--white);
  font-weight: 500;
}

::selection { background: rgba(240, 192, 96, 0.25); color: var(--white); }

/* =============================================
   TOPBAR
============================================= */
.tc-topbar-outer {
  background: rgba(36, 36, 36, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.tc-topbar {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  gap: 20px;
}

.tc-topbar__logo {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.45em;
  color: var(--white);
  font-weight: 300;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: opacity 0.2s var(--ease);
}

.tc-topbar__logo:hover { opacity: 0.7; }

.tc-topbar__nav {
  display: flex;
  gap: 28px;
  list-style: none;
  margin-left: auto;
}

.tc-topbar__nav a {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-3);
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 4px 0;
}

.tc-topbar__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width 0.3s var(--ease);
}

.tc-topbar__nav a:hover,
.tc-topbar__nav .current-menu-item a { color: var(--white); }
.tc-topbar__nav a:hover::after { width: 100%; }

.tc-topbar__lang {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-4);
  display: flex;
  gap: 8px;
}

.tc-topbar__lang a { color: var(--text-4); transition: color 0.2s var(--ease); }
.tc-topbar__lang a:hover,
.tc-topbar__lang .current-lang { color: var(--white); }

.tc-topbar__menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  padding: 7px 14px;
  font-size: 9px;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  font-family: var(--font-ui);
  text-transform: uppercase;
}

.tc-topbar__menu-btn:hover { color: var(--white); border-color: var(--text-3); background: rgba(255,255,255,0.04); }

/* Mobile drawer */
.tc-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  padding: 72px 32px 32px;
  overflow-y: auto;
}

.tc-mobile-menu.is-open { transform: translateX(0); }

.tc-mobile-menu__close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: 1px solid var(--line);
  color: var(--text-3);
  padding: 6px 12px;
  font-size: 9px;
  letter-spacing: 0.25em;
  cursor: pointer;
  font-family: var(--font-ui);
}

.tc-mobile-menu__close:hover { color: var(--white); border-color: var(--text-3); }

.tc-mobile-menu ul { list-style: none; }
.tc-mobile-menu li { border-bottom: 1px solid var(--line); }
.tc-mobile-menu a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text-2);
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.tc-mobile-menu a:hover { color: var(--white); }

.tc-mobile-menu__lang {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-4);
  display: flex;
  gap: 16px;
}

.tc-mobile-menu__lang a { padding: 0; border: none; display: inline; }

.tc-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.tc-backdrop.is-open { display: block; opacity: 1; }

/* =============================================
   HERO
============================================= */
.tc-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tc-hero__line {
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,0.04);
}

.tc-hero__line:nth-child(1) { left: 10%; }
.tc-hero__line:nth-child(2) { left: 25%; }
.tc-hero__line:nth-child(3) { left: 50%; }
.tc-hero__line:nth-child(4) { left: 75%; }
.tc-hero__line:nth-child(5) { left: 90%; }

.tc-hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  /* 動画読み込み完了前 / 失敗時の見た目フォールバック (LCP 改善) */
  background:
    radial-gradient(ellipse at 50% 35%, rgba(60,60,60,0.25) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 90%, rgba(20,20,20,0.5) 0%, transparent 60%),
    linear-gradient(180deg, #1a1a1a 0%, #050505 100%);
}

.tc-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  background: #0a0a0a;     /* video 自体の透過時にもベース色 */
}

.tc-hero__video.is-active {
  opacity: 1;
}

.tc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.75) 100%),
    rgba(0, 0, 0, 0.35);
}

.tc-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tc-hero__season {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.8em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 36px;
  padding: 8px 20px 8px 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
}

.tc-hero__season-pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%   { opacity: 1;   transform: scale(1); }
  50%  { opacity: 0.35; transform: scale(0.7); }
  100% { opacity: 1;   transform: scale(1); }
}

.tc-hero__subtitle {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.45em;
  color: var(--text-4);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tc-hero__title {
  font-family: 'Zen Kaku Gothic New', var(--font-ja);
  font-size: clamp(32px, 5.8vw, 76px);
  color: var(--white);
  font-weight: 400;
  letter-spacing: 0.22em;
  line-height: 1;
  margin-top: 32px;
  margin-bottom: 4px;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  text-shadow:
    0 0 40px rgba(255,255,255,0.08),
    0 2px 12px rgba(0,0,0,0.7);
}

/* Phase 5-F #21: 動画切替時の glitch flicker (RGB 分離 + ランダムスライス displacement) */
.tc-hero__title {
  --gx: 0px;
  --gcl-top: 0%;
  --gcl-bottom: 0%;
  --gop: 0;
}
.tc-hero__title::before,
.tc-hero__title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  pointer-events: none;
  opacity: var(--gop);
  mix-blend-mode: screen;
  text-shadow: none;
  /* font 等は親から継承 */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
}
.tc-hero__title::before {
  color: #ff3a3a;
  transform: translateX(calc(-1 * var(--gx) - 2px));
  clip-path: inset(var(--gcl-top) 0 var(--gcl-bottom) 0);
}
.tc-hero__title::after {
  color: #3affff;
  transform: translateX(calc(var(--gx) + 2px));
  clip-path: inset(var(--gcl-bottom) 0 var(--gcl-top) 0);
}
.tc-hero__title.is-glitching {
  transform: translateX(var(--gx));
}
@media (prefers-reduced-motion: reduce) {
  .tc-hero__title::before,
  .tc-hero__title::after { opacity: 0 !important; }
  .tc-hero__title.is-glitching { transform: none !important; }
}

/* 文字ごとにフェード＋ふわっと登場 */
.tc-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(6px);
  animation: tcCharIn 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0ms);
}

.tc-char--space {
  animation: none;
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes tcCharIn {
  0%   { opacity: 0; transform: translateY(10px); filter: blur(8px); }
  60%  { opacity: 1; transform: translateY(-2px); filter: blur(0); text-shadow: 0 0 30px rgba(255,255,255,0.5); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.tc-hero__title strong {
  display: inline;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--white);
}

#tc-title-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10;
}

.tc-hero__rule {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-4), transparent);
  margin: 36px auto;
}

.tc-hero__copy { margin-top: 4px; text-align: center; }

.tc-copy-line {
  display: block;
  font-size: 15px;
  color: var(--text-2);
  line-height: 2.2;
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.tc-copy-line.is-visible { opacity: 1; transform: translateY(0); }

.tc-copy-line--accent {
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.tc-copy-line--en {
  font-family: var(--font-en);
  font-size: 13px;
  font-style: italic;
  color: var(--text-3);
  letter-spacing: 0.06em;
  line-height: 2;
}

.tc-copy-line--strong {
  color: var(--text-1);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.tc-copy-divider {
  width: 1px;
  height: 32px;
  background: var(--text-5);
  margin: 20px auto;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.tc-copy-divider.is-visible { opacity: 1; }

/* =============================================
   Hero CTA buttons (監査 B-1, 2026-05)
   - 詩的コピー直後に置く
   - primary (gold) + ghost の 2 ボタン
   - ログイン状態で ghost 側が Discord ↔ MyPage に切り替わる
   ============================================= */
.tc-hero__ctas {
  margin: 22px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  /* Hero は above-the-fold なので page load 後に直接フェードイン
     詩的コピー (data-delay 0〜7) が出揃った後に滑り込む遅延 */
  opacity: 0;
  transform: translateY(8px);
  animation: tcHeroCtaIn 0.7s var(--ease) 1.6s forwards;
}
@keyframes tcHeroCtaIn {
  to { opacity: 1; transform: translateY(0); }
}

.tc-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s var(--ease),
              background 0.25s var(--ease),
              border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.tc-hero-cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* primary: 金色塗り */
.tc-hero-cta--primary {
  background: var(--accent);
  color: #0e0c12;
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgba(0,0,0,0.3), 0 0 0 rgba(240,192,96,0);
}
.tc-hero-cta--primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 22px rgba(240, 192, 96, 0.32);
  transform: translateY(-1px);
}

/* ghost: 透明地に枠 */
.tc-hero-cta--ghost {
  background: rgba(7, 6, 11, 0.42);
  color: #f3eede;
  border-color: rgba(232, 228, 214, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tc-hero-cta--ghost:hover {
  color: var(--accent);
  border-color: rgba(240, 192, 96, 0.6);
  box-shadow: 0 0 14px rgba(240, 192, 96, 0.18);
  transform: translateY(-1px);
}

.tc-hero-cta__icon {
  flex: none;
}
.tc-hero-cta__arrow {
  font-size: 9px;
  letter-spacing: 0;
  transform: translateY(0);
  transition: transform 0.25s var(--ease);
}
.tc-hero-cta--primary:hover .tc-hero-cta__arrow {
  transform: translateX(2px);
}

/* モバイル: ボタンを縦積みにせず横でも収まるように */
@media (max-width: 640px) {
  .tc-hero__ctas {
    margin-top: 16px;
    gap: 8px;
  }
  .tc-hero-cta {
    font-size: 10px;
    letter-spacing: 0.18em;
    padding: 10px 18px;
  }
  .tc-hero-cta--primary { padding: 10px 20px; }
}
@media (max-width: 380px) {
  /* 極小幅では縦並びに */
  .tc-hero__ctas { flex-direction: column; gap: 10px; }
  .tc-hero-cta { width: 100%; max-width: 260px; justify-content: center; }
}

/* prefers-reduced-motion: アニメーションを抑制 */
@media (prefers-reduced-motion: reduce) {
  .tc-hero__ctas {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .tc-hero-cta:hover { transform: none; }
}

/* Scroll indicator */
.tc-hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: scrollFloat 2.5s ease-in-out infinite;
}

.tc-hero__scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* =============================================
   SECTION COMMON — seamless transitions
============================================= */
.tc-section {
  position: relative;
  scroll-margin-top: 60px;
}

/* セクション間のシームレスな継ぎ目：
   隣接セクションの上に薄く光るグラデーションライン */
.tc-section + .tc-section {
  position: relative;
}

.tc-section + .tc-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--line-2) 20%,
    var(--line-2) 80%,
    transparent 100%);
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

/* 各セクションの上下にソフトなフェード影：隣と溶け合う */
.tc-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ヒーローからAboutへの入りは特に滑らかに */
.tc-hero {
  border-bottom: none;
}

.tc-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 95%);
  pointer-events: none;
  z-index: 1;
}

.tc-section__header {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line), var(--line), transparent) 1;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.tc-section__num {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-4);
  background: var(--bg-2);
  padding: 16px 28px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  min-width: 90px;
}

.tc-section__title {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--text-1);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 500;
}

.tc-section__body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

/* =============================================
   TAGS
============================================= */
.tc-tag {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border: 1px solid;
  text-transform: uppercase;
}

.tc-tag--open {
  color: var(--white);
  border-color: var(--text-3);
  background: rgba(255,255,255,0.06);
}

.tc-tag--closed {
  color: var(--text-5);
  border-color: var(--text-5);
}

/* =============================================
   DUNGEON LIST
============================================= */
.tc-dd-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tc-dd-item {
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transition: background 0.3s var(--ease);
}

.tc-dd-item:hover { background: #1f1f1f; }

.tc-dd-item__header {
  position: relative;
  overflow: hidden;
  min-height: 96px;
  /* 監査 P1: <button> 化に伴うデフォルト見栄え除去
     - <div role=button> から <button type=button> に変えたので
       browser default の枠 / 背景 / フォントを打ち消す */
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
          appearance: none;
}
.tc-dd-item__header:focus-visible {
  outline: 2px solid var(--gold, #f0c060);
  outline-offset: -2px;
}

.tc-dd-item__header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,28,28,0.9) 0%,
    rgba(28,28,28,0.55) 50%,
    rgba(28,28,28,0.25) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.tc-dd-item__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(15%);
  transition: opacity 0.5s var(--ease), transform 0.8s var(--ease);
}

.tc-dd-item:hover .tc-dd-item__bg { opacity: 0.5; transform: scale(1.04); }

.tc-dd-item__header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  gap: 14px;
}

.tc-dd-item__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}

.tc-dd-item__index {
  font-family: var(--font-en);
  font-size: 30px;
  color: var(--text-3);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.tc-dd-item:hover .tc-dd-item__index { opacity: 0.85; color: var(--white); }

.tc-dd-item__ja {
  font-size: 16px;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.tc-dd-item__ja--closed { color: var(--text-5); font-weight: 400; }

.tc-dd-item__en {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-dd-item__badges {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.tc-dd-item__badges .tc-tag {
  min-width: 82px;
  text-align: center;
  font-size: 8px;
  padding: 4px 10px;
  letter-spacing: 0.12em;
}

/* DD TABS */
.tc-dd-tabs {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.tc-dd-tab {
  flex: 1;
  padding: 15px 6px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-3);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  background: none;
  border: none;
  border-right: 1px solid var(--line);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  font-weight: 500;
}

/* 4 タブ時は字間をやや詰めて窮屈さを抑える */
.tc-dd-tabs--4col .tc-dd-tab {
  letter-spacing: 0.1em;
  padding: 15px 4px;
}

.tc-dd-tab:last-child { border-right: none; }

.tc-dd-tab::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease), left 0.3s var(--ease);
}

.tc-dd-tab.active {
  color: var(--white);
  background: var(--bg-3);
}

.tc-dd-tab.active::after { width: 100%; left: 0; }
.tc-dd-tab:hover { color: var(--white); }

/* DD PANEL */
.tc-dd-panel { display: none; padding: 20px; }

.tc-dd-panel.active {
  display: block;
  animation: tcFadeIn 0.3s var(--ease);
}

@keyframes tcFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tc-dd-panel__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
  border-radius: 2px;
  opacity: 0.92;
  cursor: zoom-in;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  display: block;
}

.tc-dd-panel__img:hover { opacity: 1; }

.tc-dd-panel__img-wrap {
  position: relative;
  display: block;
  cursor: zoom-in;
}

.tc-dd-panel__img-wrap:hover .tc-dd-panel__img { transform: scale(1.01); }

.tc-dd-panel__img-wrap.is-closed img {
  filter: grayscale(100%) brightness(0.3);
  cursor: zoom-in;
}

.tc-dd-panel__closed-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.tc-dd-panel__img-wrap:hover .tc-dd-panel__closed-badge { opacity: 1; }
.tc-dd-panel__img-wrap.is-closed .tc-dd-panel__closed-badge { opacity: 1; }

.tc-dd-panel__note {
  font-size: 13px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--accent-2);
}

/* DD WINNER */
.tc-dd-winner-list { display: flex; flex-direction: column; }

.tc-dd-winner-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.tc-dd-winner-row:last-child { border-bottom: none; }

.tc-dd-winner-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-3);
  text-transform: uppercase;
  min-width: 32px;
  font-weight: 500;
}

.tc-dd-winner-name {
  font-size: 14px;
  color: var(--text-1);
  letter-spacing: 0.06em;
}

.tc-dd-winner-name.is-empty {
  color: var(--text-5);
  font-style: italic;
  font-size: 11px;
}

/* 該当者無し：未踏破（空欄）とは区別する、明示的に「出なかった」状態 */
.tc-dd-winner-name.is-none {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
  padding: 3px 10px;
  border: 1px dashed var(--text-5);
  background: rgba(255,255,255,0.02);
  font-style: normal;
}

.tc-dd-winner-name--nm {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.1em;
  font-style: italic;
}

.tc-dd-winner-name--sp {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.12em;
  font-style: italic;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
  position: relative;
}

.tc-dd-winner-name--sp::before { content: '— '; color: rgba(255,255,255,0.3); font-weight: 300; }
.tc-dd-winner-name--sp::after  { content: ' —'; color: rgba(255,255,255,0.3); font-weight: 300; }

.tc-dd-winner-name--cm {
  font-family: var(--font-en);
  font-size: 15px;
  letter-spacing: 0.14em;
  font-style: italic;
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(240,192,96,0.5);
  position: relative;
}

.tc-dd-winner-name--cm::before { content: '✦ '; font-size: 10px; vertical-align: middle; color: var(--accent-2); }
.tc-dd-winner-name--cm::after  { content: ' ✦'; font-size: 10px; vertical-align: middle; color: var(--accent-2); }

.tc-dd-winner-label--sp { color: var(--text-3); }
.tc-dd-winner-label--cm { color: var(--accent-2); }

/* =============================================
   STEPS — numbered journey
============================================= */
.tc-steps { list-style: none; position: relative; }

/* 縦に通る進行ライン */
.tc-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 40px;
  bottom: 40px;
  width: 1px;
  background: linear-gradient(to bottom,
    var(--line-2) 0%,
    var(--line-2) 50%,
    transparent 100%);
  opacity: 0.5;
}

.tc-step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  position: relative;
}

.tc-step:last-child { border-bottom: none; }

.tc-step__num {
  font-family: var(--font-en);
  font-size: 42px;
  color: var(--accent-2);
  font-weight: 700;
  line-height: 1;
  min-width: 54px;
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding-right: 8px;
  opacity: 0.75;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}

.tc-step:hover .tc-step__num { opacity: 1; color: var(--accent); }

.tc-step__num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 24px;
  height: 1px;
  background: var(--accent-2);
  opacity: 0.5;
}

.tc-step__body { flex: 1; padding-top: 5px; }

.tc-step__title {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--white);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tc-step__text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.03em;
}

.tc-step__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-2);
  border: 1px solid var(--text-5);
  padding: 9px 20px;
  text-transform: uppercase;
  margin-top: 16px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tc-step__btn:hover {
  color: var(--white);
  border-color: var(--text-2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.tc-submission {
  position: relative;
  border: 1px solid rgba(240,192,96,0.35);
  margin-top: 44px;
  padding: 0;
  background:
    linear-gradient(135deg, rgba(240,192,96,0.06) 0%, rgba(240,192,96,0) 60%),
    rgba(255,255,255,0.025);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(240,192,96,0.05), 0 8px 32px rgba(0,0,0,0.25);
}

.tc-submission::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent, var(--accent-2), var(--accent), var(--accent-2), transparent);
  animation: tcSlamShine 5s ease-in-out infinite;
}

.tc-submission__title {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(240,192,96,0.2);
  background:
    linear-gradient(90deg, rgba(240,192,96,0.12) 0%, rgba(240,192,96,0.04) 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
}

.tc-submission__title::before {
  content: '!';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  color: var(--bg);
  background: var(--accent);
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(240,192,96,0.5);
}

.tc-submission__title::after {
  content: 'Required';
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-style: italic;
  text-transform: none;
  margin-left: auto;
  padding: 3px 10px;
  border: 1px solid rgba(240,192,96,0.4);
  background: rgba(240,192,96,0.08);
  font-weight: 400;
}

.tc-submission__list {
  padding: 4px 24px 18px;
}

.tc-submission__item {
  display: flex;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}

.tc-submission__item:last-child { border-bottom: none; }

.tc-submission__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--white);
  min-width: 140px;
  flex-shrink: 0;
  padding: 6px 12px;
  background: rgba(240,192,96,0.15);
  border-left: 2px solid var(--accent);
  align-self: flex-start;
  font-weight: 500;
  text-transform: uppercase;
}

.tc-submission__text {
  font-size: 14px;
  color: var(--text-1);
  line-height: 2;
  letter-spacing: 0.04em;
  padding-top: 5px;
  flex: 1;
}

/* =============================================
   PRIZE — tiered card layout
============================================= */
.tc-prize-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.tc-prize-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}

.tc-prize-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--line-2);
  transition: background 0.35s var(--ease);
}

.tc-prize-card:hover {
  border-color: var(--line-2);
  background: #282828;
  transform: translateY(-2px);
}

.tc-prize-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-prize-card__tier {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--text-4);
  text-transform: uppercase;
}

.tc-prize-card__type {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-1);
  text-transform: uppercase;
  line-height: 1.5;
}

.tc-prize-card__amount-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tc-prize-card__amount {
  font-family: var(--font-en);
  font-size: 38px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tc-prize-card__unit {
  font-family: var(--font-ja);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.08em;
}

.tc-prize-card__detail {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tc-prize-card__detail li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.tc-prize-card__dot {
  width: 4px;
  height: 4px;
  background: var(--text-4);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* NM card */
.tc-prize-card--nm::before { background: var(--text-5); }

/* SP card */
.tc-prize-card--sp::before { background: var(--text-3); }
.tc-prize-card--sp .tc-prize-card__amount {
  color: var(--white);
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

/* Grand Slam card — 最上位 */
.tc-prize-card--slam {
  grid-column: 1 / -1;
  padding: 32px 32px 28px;
  background:
    linear-gradient(135deg, rgba(240,192,96,0.06) 0%, rgba(240,192,96,0) 50%),
    var(--bg-2);
  border-color: rgba(240,192,96,0.25);
}

.tc-prize-card--slam::before {
  background: linear-gradient(90deg,
    transparent,
    var(--accent),
    var(--accent-2),
    var(--accent),
    transparent
  );
  height: 1px;
  animation: tcSlamShine 5s ease-in-out infinite;
}

@keyframes tcSlamShine {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.tc-prize-card--slam:hover {
  border-color: rgba(240,192,96,0.45);
  background:
    linear-gradient(135deg, rgba(240,192,96,0.1) 0%, rgba(240,192,96,0) 60%),
    var(--bg-2);
}

.tc-prize-card--slam .tc-prize-card__tier {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.4em;
}

.tc-prize-card--slam .tc-prize-card__type {
  font-family: var(--font-en);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: var(--text-2);
}

.tc-prize-card--slam .tc-prize-card__amount {
  font-size: 54px;
  color: var(--accent);
  text-shadow: 0 0 40px rgba(240,192,96,0.35);
}

.tc-prize-card--slam .tc-prize-card__unit {
  color: var(--accent-2);
  font-size: 14px;
}

.tc-prize-card--slam .tc-prize-card__dot {
  background: var(--accent-2);
}

/* Grand Slam crown */
.tc-prize-card__crown {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-en);
  font-size: 16px;
  color: var(--accent);
  opacity: 0.6;
  animation: tcSparkle 3s ease-in-out infinite;
}

.tc-prize-note {
  font-size: 12px;
  color: var(--text-3);
  line-height: 2;
  letter-spacing: 0.04em;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 12px 16px;
  border-left: 2px solid var(--line);
  background: rgba(255,255,255,0.015);
}

/* =============================================
   RULES — badge-style labels
============================================= */
.tc-rules { list-style: none; }

.tc-rule-item {
  display: flex;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
  transition: background 0.25s var(--ease);
}

.tc-rule-item:last-child { border-bottom: none; }

.tc-rule-item:hover {
  background: rgba(255,255,255,0.015);
}

.tc-rule-item__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  min-width: 76px;
  flex-shrink: 0;
  position: relative;
  padding: 5px 12px;
  background: rgba(255,255,255,0.05);
  border-left: 2px solid var(--accent-2);
  text-align: center;
  font-weight: 500;
  align-self: flex-start;
  margin-top: 2px;
}

.tc-rule-item__text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.04em;
  flex: 1;
}

.tc-rule-item__text strong {
  color: var(--white);
  font-weight: 500;
  background: linear-gradient(180deg, transparent 60%, rgba(240,192,96,0.12) 60%);
  padding: 0 2px;
}

/* =============================================
   FAQ — accordion
============================================= */
.tc-faq { list-style: none; }

.tc-faq__item {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease);
}
.tc-faq__item:last-child { border-bottom: none; }

.tc-faq__item.is-open {
  background: rgba(255,255,255,0.015);
}

.tc-faq__q {
  font-size: 15px;
  color: var(--white);
  letter-spacing: 0.05em;
  font-weight: 500;
  padding: 22px 36px 22px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.2s var(--ease);
  user-select: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.tc-faq__q::before {
  content: 'Q.';
  font-family: var(--font-en);
  color: var(--accent-2);
  font-style: italic;
  font-weight: 400;
  flex-shrink: 0;
  font-size: 16px;
}

.tc-faq__q::after {
  content: '+';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--text-3);
  font-weight: 300;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
  line-height: 1;
}

.tc-faq__item.is-open .tc-faq__q::after {
  transform: translateY(-50%) rotate(45deg);
  color: var(--accent);
}

.tc-faq__q:hover { color: var(--white); }

.tc-faq__a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.04em;
  padding-left: 44px;
  padding-right: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), opacity 0.35s var(--ease);
  opacity: 0;
  position: relative;
}

.tc-faq__a::before {
  content: 'A.';
  position: absolute;
  left: 16px;
  top: 0;
  font-family: var(--font-en);
  color: var(--text-4);
  font-style: italic;
  font-size: 16px;
}

.tc-faq__item.is-open .tc-faq__a {
  max-height: 600px;
  padding-bottom: 24px;
  opacity: 1;
}

/* =============================================
   ABOUT — poetic centered layout
============================================= */
.tc-about {
  text-align: center;
  padding-top: 48px !important;
  padding-bottom: 64px !important;
}

.tc-about__poem {
  max-width: 560px;
  margin: 0 auto;
}

.tc-about__poem--ja {
  font-family: var(--font-ja);
  color: var(--text-2);
}

.tc-about__poem--en {
  font-family: var(--font-en);
  color: var(--text-3);
  font-style: italic;
}

.tc-about__stanza {
  font-size: 15px;
  line-height: 2.6;
  letter-spacing: 0.14em;
  padding: 8px 0;
  margin: 0;
}

.tc-about__poem--en .tc-about__stanza {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.tc-about__poem--en .tc-about__stanza strong {
  color: var(--text-1);
  font-weight: 400;
  font-style: italic;
}

.tc-about__poem--en .tc-about__stanza em {
  color: var(--white);
  font-style: italic;
  font-weight: 400;
}

/* キーワード行（頭脳／勇気／運、経験） */
.tc-about__key {
  color: var(--text-3);
  letter-spacing: 0.18em;
  font-weight: 500;
  transition: color 1.2s var(--ease), text-shadow 1.2s var(--ease);
}

/* スタンザがビューに入るとキーワードが白く点灯 */
.tc-about__stanza.is-visible .tc-about__key,
.tc-about__stanza.is-visible strong,
.tc-about__stanza.is-visible em {
  color: var(--white);
  text-shadow: 0 0 24px rgba(255,255,255,0.35);
}

/* 英語パラグラフの em だけは少し抑えめ、アクセントカラーで */
.tc-about__poem--en .tc-about__stanza.is-visible em {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(240,192,96,0.4);
}

/* 最終連の strong は金色で強く */
.tc-about__stanza--final.is-visible strong {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(240,192,96,0.45);
}

/* 最終連（クライマックス） */
.tc-about__stanza--final {
  margin-top: 8px;
  padding-top: 20px;
  color: var(--text-2);
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--line-2), transparent) 1;
}

.tc-about__stanza--final strong {
  color: var(--white);
}

/* スタンザ間の装飾（◆ ✦ 等） */
.tc-about__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto;
  width: 140px;
}

.tc-about__ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-5), transparent);
}

.tc-about__ornament i {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 10px;
  color: var(--text-4);
  line-height: 1;
  letter-spacing: 0;
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}

.tc-about:hover .tc-about__ornament i,
.tc-about__ornament:hover i {
  color: var(--accent);
  transform: rotate(180deg) scale(1.2);
}

/* 日英を分けるセントラル・ディバイダー */
.tc-about__divider {
  width: 1px;
  height: 56px;
  margin: 48px auto;
  background: linear-gradient(to bottom, transparent, var(--text-4), transparent);
  position: relative;
}

.tc-about__divider::before,
.tc-about__divider::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 4px;
  height: 4px;
  border: 1px solid var(--text-5);
  transform: translateX(-50%) rotate(45deg);
  background: var(--bg);
}

.tc-about__divider::before { top: -4px; }
.tc-about__divider::after { bottom: -4px; }

.tc-about__links {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.tc-about__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-2);
  border: 1px solid var(--text-5);
  padding: 10px 22px;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tc-about__link:hover {
  color: var(--white);
  border-color: var(--text-2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

/* 小さい画面 */
@media (max-width: 680px) {
  .tc-about { padding-top: 36px !important; padding-bottom: 48px !important; }
  .tc-about__stanza { font-size: 14px; line-height: 2.4; letter-spacing: 0.1em; }
  .tc-about__poem--en .tc-about__stanza { font-size: 13px; }
  .tc-about__ornament { margin: 22px auto; width: 110px; }
  .tc-about__divider { margin: 36px auto; height: 42px; }
}

/* =============================================
   PAST SEASON
============================================= */
.tc-past {
  text-align: center;
}

.tc-past__text {
  font-size: 15px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

/* 案2: 額装風 Double-frame Button */
.tc-past__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  border: 1px solid var(--accent-2);
  padding: 18px 44px;
  text-transform: uppercase;
  margin-bottom: 48px;
  background: rgba(240, 192, 96, 0.04);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.tc-past__btn::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid rgba(240, 192, 96, 0.4);
  pointer-events: none;
  transition: border-color 0.3s var(--ease);
}

.tc-past__btn:hover {
  color: #fff3d0;
  border-color: var(--accent);
  background: rgba(240, 192, 96, 0.1);
  transform: translateY(-1px);
}

.tc-past__btn:hover::before {
  border-color: rgba(240, 192, 96, 0.75);
}

/* 注意書きのみ左揃えに戻す */
.tc-past__notice-text {
  text-align: left;
}

.tc-past__notice {
  position: relative;
  border: 1px solid var(--line);
  padding: 0;
  margin-top: 8px;
  background: rgba(255,255,255,0.02);
  overflow: hidden;
}

.tc-past__notice::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.tc-past__notice-title {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-past__notice-title::before {
  content: '◆';
  color: var(--text-4);
  font-size: 8px;
}

.tc-past__notice-text {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-2);
  line-height: 2;
  font-style: italic;
  letter-spacing: 0.04em;
  padding: 18px 22px;
  margin: 0;
}

/* =============================================
   NEWS & TIMER
============================================= */
.tc-news__item {
  display: flex;
  gap: 24px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  align-items: baseline;
  background: rgba(255,255,255,0.015);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tc-news__item:hover {
  background: rgba(255,255,255,0.03);
  border-color: var(--line-2);
}

.tc-news__date {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  min-width: 100px;
  padding-right: 14px;
  border-right: 1px solid var(--line-2);
  flex-shrink: 0;
}

.tc-news__body {
  font-size: 14px;
  color: var(--text-1);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.tc-timer { margin-top: 36px; }

.tc-timer__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
}

.tc-timer__blocks {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.tc-timer__block {
  flex: 1;
  background: var(--bg-2);
  padding: 22px 12px;
  text-align: center;
  transition: background 0.25s var(--ease);
}

.tc-timer__block:hover { background: var(--bg-3); }

.tc-timer__num {
  display: block;
  font-family: var(--font-en);
  font-size: 34px;
  color: var(--white);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.tc-timer__unit {
  font-family: var(--font-ui);
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--text-4);
}

/* =============================================
   CM NOTE — structured info block
============================================= */
.tc-cm-note {
  position: relative;
  border: 1px solid rgba(240,192,96,0.2);
  padding: 0;
  margin-top: 40px;
  background:
    linear-gradient(135deg, rgba(240,192,96,0.04) 0%, rgba(240,192,96,0) 50%),
    rgba(255,255,255,0.015);
  overflow: hidden;
}

.tc-cm-note::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--accent-2), var(--accent), var(--accent-2), transparent);
  opacity: 0.7;
}

.tc-cm-note__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(240,192,96,0.15);
  background: rgba(240,192,96,0.03);
}

.tc-cm-note__badge {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  font-style: italic;
  padding: 4px 12px;
  border: 1px solid rgba(240,192,96,0.35);
  background: rgba(240,192,96,0.05);
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(240,192,96,0.3);
}

.tc-cm-note__title {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--text-1);
  text-transform: none;
  margin: 0;
  font-weight: 500;
}

.tc-cm-note__body {
  padding: 22px 26px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tc-cm-note__row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.tc-cm-note__row:last-child { border-bottom: none; }

.tc-cm-note__row-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--accent-2);
  text-transform: uppercase;
  min-width: 56px;
  padding-top: 5px;
  flex-shrink: 0;
}

.tc-cm-note__row-text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.05em;
  margin: 0;
}

.tc-cm-note__row-text strong {
  color: var(--white);
  font-weight: 500;
}

.tc-cm-note__tagline {
  margin: 8px 26px 20px;
  padding: 14px 18px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-align: center;
  border-left: 2px solid var(--accent-2);
  border-right: 2px solid var(--accent-2);
  background: rgba(240,192,96,0.04);
}

.tc-cm-note__note {
  font-size: 11px;
  color: var(--text-4);
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin: 0;
  padding: 14px 26px 20px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.15);
}

.tc-discord-note {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-2);
  text-align: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.025);
  line-height: 1.8;
}

/* =============================================
   ABOUT ME — card layout
============================================= */
.tc-aboutme__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}

.tc-aboutme__inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.tc-aboutme__avatar {
  flex-shrink: 0;
  text-align: center;
  position: relative;
}

.tc-aboutme__avatar::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 124px;
  height: 124px;
  border: 1px solid rgba(240,192,96,0.15);
  border-radius: 50%;
  pointer-events: none;
  animation: tcBreathe 6s ease-in-out infinite;
}

.tc-aboutme__img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
  display: block;
  margin-bottom: 12px;
  transition: border-color 0.25s var(--ease), transform 0.35s var(--ease);
  position: relative;
  z-index: 1;
}

.tc-aboutme__img:hover {
  border-color: var(--accent-2);
  transform: scale(1.03);
}

.tc-aboutme__caption {
  font-size: 10px;
  color: var(--text-4);
  letter-spacing: 0.15em;
  font-family: var(--font-ui);
  font-style: italic;
}

.tc-aboutme__text p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.tc-aboutme__text p:first-child {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.tc-aboutme__note {
  font-size: 11px;
  color: var(--text-4);
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-style: italic;
}

/* =============================================
   DISCORD CTA BANNER
============================================= */
.tc-cta-banner-outer {
  position: relative;
  background: linear-gradient(180deg, rgba(12, 12, 16, 0.92) 0%, var(--bg-2) 100%);
  border-top: 1px solid rgba(240, 192, 96, 0.14);
  padding: clamp(56px, 8vw, 96px) 24px;
  overflow: hidden;
}

.tc-cta-banner-outer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(240, 192, 96, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.tc-cta-banner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.tc-cta-banner__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 160px;
  margin-bottom: 6px;
}

.tc-cta-banner__ornament span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--text-5), transparent);
}

.tc-cta-banner__ornament i {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--accent, #f0c060);
  opacity: 0.7;
}

.tc-cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 28px);
  color: var(--text-1);
  letter-spacing: 0.06em;
  margin: 0;
  font-weight: 400;
}

.tc-cta-banner__tagline {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-4);
  letter-spacing: 0.15em;
  line-height: 1.9;
  max-width: 520px;
  margin: 0;
}

.tc-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-1);
  background: rgba(240, 192, 96, 0.05);
  border: 1px solid rgba(240, 192, 96, 0.38);
  padding: 18px 40px;
  margin-top: 14px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow:
    0 0 20px rgba(240, 192, 96, 0.08),
    0 0 40px rgba(240, 192, 96, 0.04);
  position: relative;
  overflow: hidden;
  animation: tcCtaBreathe 3.5s ease-in-out infinite;
}

.tc-cta-banner__btn:hover {
  color: #fff;
  background: rgba(240, 192, 96, 0.12);
  border-color: rgba(240, 192, 96, 0.75);
  transform: translateY(-2px);
  box-shadow:
    0 0 28px rgba(240, 192, 96, 0.28),
    0 0 56px rgba(240, 192, 96, 0.12);
  animation: none;
}

.tc-cta-banner__btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s var(--ease);
}

.tc-cta-banner__btn:hover .tc-cta-banner__btn-icon {
  transform: scale(1.1);
}

.tc-cta-banner__btn-arrow {
  transition: transform 0.3s var(--ease);
  letter-spacing: 0;
}

.tc-cta-banner__btn:hover .tc-cta-banner__btn-arrow {
  transform: translateX(4px);
}

@keyframes tcCtaBreathe {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(240, 192, 96, 0.08),
      0 0 40px rgba(240, 192, 96, 0.04);
  }
  50% {
    box-shadow:
      0 0 24px rgba(240, 192, 96, 0.16),
      0 0 48px rgba(240, 192, 96, 0.08);
  }
}

@media (max-width: 640px) {
  .tc-cta-banner-outer { padding: 52px 20px; }
  .tc-cta-banner__title { font-size: 18px; }
  .tc-cta-banner__tagline { font-size: 11px; line-height: 1.8; }
  .tc-cta-banner__btn { padding: 16px 30px; font-size: 10px; letter-spacing: 0.24em; }
}

/* =============================================
   FOOTER
============================================= */
.tc-footer-outer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.tc-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.tc-footer__copy {
  font-family: var(--font-ui);
  font-size: 9px;
  color: var(--text-5);
  letter-spacing: 0.2em;
}

.tc-footer__discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-2);
  border: 1px solid var(--text-5);
  padding: 10px 22px;
  text-transform: uppercase;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tc-footer__discord:hover {
  color: var(--white);
  border-color: var(--text-2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}

.tc-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.tc-footer__legal-link {
  color: var(--text-5);
  transition: color 0.25s var(--ease);
  text-decoration: none;
}

.tc-footer__legal-link:hover {
  color: var(--text-2);
}

.tc-footer__legal-sep {
  color: var(--text-5);
  opacity: 0.5;
}

@media (max-width: 640px) {
  .tc-footer__legal { font-size: 9px; gap: 8px; }
}

/* =============================================
   BACK TO TOP
============================================= */
.tc-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  background: rgba(36, 36, 36, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.25s var(--ease);
  font-family: var(--font-ui);
  letter-spacing: 0.1em;
}

.tc-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.tc-to-top:hover {
  color: var(--white);
  border-color: var(--text-3);
  transform: translateY(-2px);
}

/* =============================================
   IMAGE MODAL
============================================= */
.tc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: tcModalBg 0.25s var(--ease);
}

.tc-modal.is-open { display: flex; }

@keyframes tcModalBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tc-modal__inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  animation: tcModalIn 0.3s var(--ease);
}

@keyframes tcModalIn {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

.tc-modal__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--line);
  display: block;
}

.tc-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-2);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line-2);
  padding: 6px 16px;
  cursor: pointer;
  text-transform: uppercase;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tc-modal__close:hover { color: var(--white); border-color: var(--text-3); }

.tc-modal__label {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-align: center;
  text-transform: uppercase;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 820px) {
  .tc-topbar__nav { gap: 20px; }
  .tc-topbar__nav a { font-size: 9px; }
}

@media (max-width: 680px) {
  .tc-topbar { padding: 12px 16px; gap: 12px; }
  .tc-topbar__nav { display: none; }
  .tc-topbar__lang { display: none; }
  .tc-topbar__menu-btn { display: block; }

  .tc-mobile-menu { display: block; }

  .tc-hero { padding: 70px 16px 60px; min-height: 70vh; }
  .tc-hero__title { letter-spacing: 0.18em; }
  .tc-hero__scroll { display: none; }

  .tc-section__body { padding: 24px 16px 32px; }
  .tc-section__num { padding: 12px 14px; min-width: 56px; font-size: 8px; }
  .tc-section__title { padding: 12px 14px; font-size: 9px; letter-spacing: 0.3em; }

  .tc-dd-list { grid-template-columns: 1fr; }
  .tc-dd-item__index { font-size: 24px; }
  .tc-dd-item__ja { font-size: 14px; }
  .tc-dd-item__badges .tc-tag { min-width: 74px; }
  .tc-dd-tab { padding: 14px 4px; font-size: 9px; letter-spacing: 0.1em; }
  .tc-dd-tabs--4col .tc-dd-tab { padding: 14px 2px; font-size: 9px; letter-spacing: 0.06em; }
  .tc-dd-panel__img { height: 180px; }

  .tc-prize-grid { grid-template-columns: 1fr; gap: 10px; }
  .tc-prize-card { padding: 22px 20px 20px; }
  .tc-prize-card--slam { padding: 26px 24px 22px; }
  .tc-prize-card--slam .tc-prize-card__amount { font-size: 44px; }
  .tc-prize-card__amount { font-size: 32px; }

  .tc-cm-note__head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 20px; }
  .tc-cm-note__body { padding: 18px 20px 4px; }
  .tc-cm-note__row { flex-direction: column; gap: 6px; padding: 10px 0; }
  .tc-cm-note__row-label { min-width: auto; padding-top: 0; }
  .tc-cm-note__tagline { margin: 6px 20px 16px; padding: 12px 14px; font-size: 12px; }
  .tc-cm-note__note { padding: 14px 20px 18px; }

  .tc-step { gap: 18px; padding: 26px 0; }
  .tc-step__num { font-size: 32px; min-width: 44px; }

  .tc-rule-item { gap: 18px; padding: 20px 0; flex-direction: column; }
  .tc-rule-item__label { min-width: auto; padding-top: 0; }
  .tc-rule-item__label::after { display: none; }

  .tc-submission__title { font-size: 11px; letter-spacing: 0.22em; padding: 14px 18px; gap: 10px; }
  .tc-submission__title::after { font-size: 9px; padding: 2px 8px; }
  .tc-submission__list { padding: 4px 18px 14px; }
  .tc-submission__item { flex-direction: column; gap: 8px; padding: 14px 0; }
  .tc-submission__label { min-width: auto; align-self: flex-start; }

  .tc-news__item { flex-direction: column; gap: 6px; align-items: flex-start; }
  .tc-news__date { min-width: auto; }
  .tc-timer__num { font-size: 22px; }
  .tc-timer__block { padding: 16px 8px; }

  .tc-aboutme__inner { flex-direction: column; align-items: center; }
  .tc-aboutme__text { text-align: left; }

  .tc-footer { padding: 22px 16px; flex-direction: column; gap: 14px; text-align: center; }

  .tc-to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .tc-hero__title { font-size: clamp(28px, 9vw, 44px); }
  .tc-section__num { min-width: 48px; padding: 10px 10px; }
}

/* =============================================
   SCROLL REVEAL
============================================= */
.tc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.tc-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 方向バリアント */
.tc-reveal--slide-left {
  transform: translateX(-20px);
}
.tc-reveal--slide-left.is-visible {
  transform: translateX(0);
}

.tc-reveal--scale {
  transform: scale(0.96);
  opacity: 0;
}
.tc-reveal--scale.is-visible {
  transform: scale(1);
  opacity: 1;
}

/* セクションヘッダの数字は縦フェード＋色の変化で */
.tc-section__header.tc-reveal { transform: translateX(-16px); }
.tc-section__header.tc-reveal.is-visible { transform: translateX(0); }

/* DDカードは少し強めに */
.tc-dd-item.tc-reveal { transform: translateY(26px) scale(0.985); }
.tc-dd-item.tc-reveal.is-visible { transform: translateY(0) scale(1); }

/* タイマーブロックはスケール */
.tc-timer__block.tc-reveal { transform: translateY(16px) scale(0.9); }
.tc-timer__block.tc-reveal.is-visible { transform: translateY(0) scale(1); }

/* ルールは左からスライドで流れるように */
.tc-rule-item.tc-reveal { transform: translateX(-14px); opacity: 0; }
.tc-rule-item.tc-reveal.is-visible { transform: translateX(0); opacity: 1; }

/* Aboutのスタンザは下からふわっと、長めに */
.tc-about__stanza.tc-reveal,
.tc-about__ornament.tc-reveal {
  transform: translateY(18px);
  transition-duration: 1.2s;
}

/* リビール前もレイアウトに影響を与えないよう注意 */
.tc-reveal { backface-visibility: hidden; }

/* =============================================
   AMBIENT ANIMATIONS (subtle, global)
============================================= */

/* Hero video overlay: ゆっくり明暗の呼吸 */
.tc-hero__overlay {
  animation: tcBreathe 8s ease-in-out infinite;
}

@keyframes tcBreathe {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.86; }
}

/* Heroのvertical lines: 明滅 */
.tc-hero__line {
  animation: tcLineGlow 6s ease-in-out infinite;
}
.tc-hero__line:nth-child(1) { animation-delay: 0s; }
.tc-hero__line:nth-child(2) { animation-delay: 1.2s; }
.tc-hero__line:nth-child(3) { animation-delay: 2.4s; }
.tc-hero__line:nth-child(4) { animation-delay: 3.6s; }
.tc-hero__line:nth-child(5) { animation-delay: 4.8s; }

@keyframes tcLineGlow {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* Hero title: 微かな明暗の揺らぎ */
.tc-hero__title {
  animation: tcTitleGlow 7s ease-in-out infinite;
}

@keyframes tcTitleGlow {
  0%, 100% {
    text-shadow:
      0 0 40px rgba(255,255,255,0.08),
      0 2px 12px rgba(0,0,0,0.7);
  }
  50% {
    text-shadow:
      0 0 60px rgba(255,255,255,0.18),
      0 0 20px rgba(255,255,255,0.05),
      0 2px 12px rgba(0,0,0,0.7);
  }
}

/* ボタン：hover時に光沢スイープ */
.tc-about__link,
.tc-past__btn,
.tc-step__btn,
.tc-footer__discord,
.tc-cta-banner__btn {
  position: relative;
  overflow: hidden;
}

.tc-about__link::before,
.tc-past__btn::before,
.tc-step__btn::before,
.tc-footer__discord::before,
.tc-cta-banner__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.08) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}

.tc-about__link:hover::before,
.tc-past__btn:hover::before,
.tc-step__btn:hover::before,
.tc-footer__discord:hover::before,
.tc-cta-banner__btn:hover::before {
  left: 120%;
}

/* DDカードのインデックス番号：微かなフロート */
.tc-dd-item__index {
  animation: tcIndexFloat 6s ease-in-out infinite;
}

@keyframes tcIndexFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

/* CMの ✦ マークに呼吸 */
.tc-dd-winner-name--cm::before,
.tc-dd-winner-name--cm::after {
  display: inline-block;
  animation: tcSparkle 3s ease-in-out infinite;
}
.tc-dd-winner-name--cm::after { animation-delay: 1.5s; }

@keyframes tcSparkle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

/* タイマー数字：カウント時の微かな色の変化 */
.tc-timer__num {
  transition: color 0.3s var(--ease);
}

/* セクション番号の呼吸 */
.tc-section__num {
  position: relative;
  overflow: hidden;
}

.tc-section__num::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--text-3);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}

.tc-section:hover .tc-section__num::after,
.tc-section__header.is-visible .tc-section__num::after {
  transform: scaleY(1);
}

/* FAQ hover時にQ.マークが動く */
.tc-faq__q:hover::before {
  color: var(--accent);
  transition: color 0.25s var(--ease);
}

/* =============================================
   SCROLL PROGRESS DOTS (right edge)
============================================= */
.tc-progress {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  pointer-events: none;
}

.tc-progress.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tc-progress__dot {
  position: relative;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tc-progress__dot span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-5);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tc-progress__dot:hover span {
  background: var(--text-3);
  transform: scale(1.3);
}

.tc-progress__dot.is-active span {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 14px rgba(240,192,96,0.55);
}

/* Hoverでラベルをちょこっと出す */
.tc-progress__dot::before {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-2);
  background: rgba(36, 36, 36, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 5px 12px;
  white-space: nowrap;
  border: 1px solid var(--line-2);
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.tc-progress__dot:hover::before {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* モバイルでは非表示（邪魔になる） */
@media (max-width: 820px) {
  .tc-progress { display: none; }
}

/* =============================================
   STEPS — progress line fill
============================================= */
.tc-steps { --tc-steps-progress: 0; }

.tc-steps::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 40px;
  width: 1px;
  height: calc((100% - 80px) * var(--tc-steps-progress, 0));
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(240,192,96,0.45);
  transition: height 0.08s linear;
  z-index: 0;
  pointer-events: none;
}

/* =============================================
   REDUCED MOTION
============================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tc-reveal { opacity: 1 !important; transform: none !important; }
  .tc-char { opacity: 1 !important; filter: none !important; transform: none !important; animation: none !important; }
}
/* =============================================
   Apply Page (踏破申請)  -- Phase 1
   ============================================= */

/* --- Hero --- */
.tc-apply-hero {
  position: relative;
  padding: clamp(80px, 14vw, 160px) 24px clamp(50px, 8vw, 90px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 192, 96, 0.10), transparent 60%),
    #1c1c1c;
  color: #e8e8e8;
  overflow: hidden;
}
.tc-apply-hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #1c1c1c);
  pointer-events: none;
}
.tc-apply-hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.tc-apply-hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f0c060;
  margin: 0 0 12px;
  opacity: 0.85;
}
.tc-apply-hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  color: #ffffff;
}
.tc-apply-hero__desc {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(232, 232, 232, 0.8);
  margin: 0;
}

/* --- Body section wrapper --- */
.tc-apply-section {
  background: #1c1c1c;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(80px, 12vw, 140px);
}
.tc-apply-app {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Loading --- */
.tc-apply-loading {
  text-align: center;
  padding: 80px 20px;
  color: rgba(232, 232, 232, 0.6);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* --- Card (login prompt / success) --- */
.tc-apply-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 8px;
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  color: #e8e8e8;
}
.tc-apply-card--center { text-align: center; }
.tc-apply-card__title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin: 0 0 16px;
}
.tc-apply-card__desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(232, 232, 232, 0.8);
  margin: 0 0 32px;
}

/* --- Buttons --- */
.tc-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  text-decoration: none;
  line-height: 1;
}
.tc-apply-btn:focus-visible {
  outline: 2px solid #f0c060;
  outline-offset: 3px;
}

.tc-apply-btn--discord {
  background: #5865F2;
  color: #fff;
}
.tc-apply-btn--discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
}

.tc-apply-btn--primary {
  background: #f0c060;
  color: #1c1c1c;
  font-weight: 700;
  padding: 16px 36px;
  min-width: 220px;
}
.tc-apply-btn--primary:hover:not(:disabled) {
  background: #ffd080;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(240, 192, 96, 0.3);
}
.tc-apply-btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tc-apply-btn--ghost {
  background: transparent;
  color: #e8e8e8;
  border-color: rgba(232, 232, 232, 0.3);
}
.tc-apply-btn--ghost:hover {
  border-color: #f0c060;
  color: #f0c060;
}

/* --- Rule 2/3 confirmation modal (Phase 3-P2) --- */
.tc-apply-conflict-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 20px;
}
.tc-apply-conflict-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.tc-apply-conflict-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.tc-apply-conflict-modal__card {
  position: relative;
  background: #1c1c1c;
  border: 1px solid rgba(240, 192, 96, 0.45);
  border-radius: 4px;
  max-width: 520px;
  width: 100%;
  padding: 28px 28px 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 192, 96, 0.08);
  transform: translateY(12px);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}
.tc-apply-conflict-modal.is-open .tc-apply-conflict-modal__card {
  transform: translateY(0);
}
.tc-apply-conflict-modal__title {
  margin: 0 0 12px;
  font-family: var(--font-en, Georgia), serif;
  font-size: 20px;
  color: #f0c060;
  letter-spacing: 0.02em;
}
.tc-apply-conflict-modal__desc {
  margin: 0 0 18px;
  color: #d8d8d8;
  font-size: 14px;
  line-height: 1.7;
}
.tc-apply-conflict-modal__list-label {
  margin: 0 0 8px;
  font-family: var(--font-ui, sans-serif);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(240, 192, 96, 0.8);
  text-transform: uppercase;
}
.tc-apply-conflict-modal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  border-top: 1px solid rgba(240, 192, 96, 0.15);
}
.tc-apply-conflict-modal__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(240, 192, 96, 0.12);
  font-size: 13px;
  color: #e8e8e8;
}
.tc-apply-conflict-modal__mission {
  font-weight: 600;
  color: #f0c060;
  min-width: 80px;
}
.tc-apply-conflict-modal__dd {
  flex: 1 1 auto;
  color: #c8c8c8;
}
.tc-apply-conflict-modal__date {
  font-size: 11px;
  color: rgba(232, 232, 232, 0.5);
  font-family: var(--font-ui, sans-serif);
  letter-spacing: 0.05em;
}
.tc-apply-conflict-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.tc-apply-conflict-modal__actions .tc-apply-btn {
  min-width: 140px;
}
@media (max-width: 540px) {
  .tc-apply-conflict-modal__card { padding: 22px 18px 18px; }
  .tc-apply-conflict-modal__title { font-size: 18px; }
  .tc-apply-conflict-modal__actions .tc-apply-btn { flex: 1 1 auto; min-width: 0; }
}

/* --- User bar (ログイン中表示) --- */
.tc-apply-userbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 8px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.02);
}
.tc-apply-userbar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(240, 192, 96, 0.4);
  flex-shrink: 0;
}
.tc-apply-userbar__info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  flex: 1;
  min-width: 0;
}
.tc-apply-userbar__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.5);
}
.tc-apply-userbar__name {
  font-size: 0.95rem;
  color: #ffffff;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc-apply-userbar__logout {
  background: transparent;
  border: 1px solid rgba(232, 232, 232, 0.2);
  color: rgba(232, 232, 232, 0.7);
  padding: 7px 14px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tc-apply-userbar__logout:hover {
  border-color: rgba(240, 192, 96, 0.5);
  color: #f0c060;
}

/* --- Form --- */
.tc-apply-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.tc-apply-form__row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tc-apply-form__label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #e8e8e8;
  letter-spacing: 0.04em;
}
.tc-apply-form__required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(240, 192, 96, 0.15);
  color: #f0c060;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  vertical-align: middle;
}
.tc-apply-form__optional {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(232, 232, 232, 0.08);
  color: rgba(232, 232, 232, 0.6);
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  vertical-align: middle;
}
.tc-apply-form__input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 232, 232, 0.15);
  border-radius: 5px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
  line-height: 1.5;
}
.tc-apply-form__input::placeholder {
  color: rgba(232, 232, 232, 0.35);
}
.tc-apply-form__input:hover {
  border-color: rgba(240, 192, 96, 0.4);
}
.tc-apply-form__input:focus {
  outline: none;
  border-color: #f0c060;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(240, 192, 96, 0.12);
}
.tc-apply-form__textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}
select.tc-apply-form__input {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23f0c060' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
select.tc-apply-form__input option {
  background: #1c1c1c;
  color: #ffffff;
}
.tc-apply-form__hint {
  font-size: 0.8rem;
  color: rgba(232, 232, 232, 0.5);
  margin: 2px 0 0;
  line-height: 1.5;
}
.tc-apply-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* --- Error banner --- */
.tc-apply-error {
  padding: 14px 18px;
  background: rgba(220, 70, 70, 0.08);
  border: 1px solid rgba(220, 70, 70, 0.3);
  border-radius: 5px;
  color: #ff8080;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* --- Success --- */
.tc-apply-success__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(240, 192, 96, 0.12);
  color: #f0c060;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-apply-success__id {
  font-size: 0.82rem;
  color: rgba(232, 232, 232, 0.5);
  margin: 0 0 32px;
  letter-spacing: 0.03em;
}
.tc-apply-success__id code {
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 10px;
  border-radius: 3px;
  font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  color: #f0c060;
  font-size: 0.85rem;
  user-select: all;
}
.tc-apply-success__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .tc-apply-userbar {
    flex-wrap: wrap;
  }
  .tc-apply-userbar__info {
    order: 1;
  }
  .tc-apply-userbar__logout {
    order: 2;
    margin-left: auto;
  }
  .tc-apply-btn--primary {
    width: 100%;
    min-width: 0;
  }
  .tc-apply-btn--discord {
    width: 100%;
  }
}
/* =============================================
   Apply Page - Image Upload & Video List  (Phase 1 拡張)
   ============================================= */

/* --- ラベル右の件数ヒント --- */
.tc-apply-form__count-hint {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.75rem;
  color: rgba(232, 232, 232, 0.5);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* --- Dropzone --- */
.tc-apply-dropzone {
  position: relative;
  border: 2px dashed rgba(240, 192, 96, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 32px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.tc-apply-dropzone:hover,
.tc-apply-dropzone.is-dragover {
  border-color: #f0c060;
  background: rgba(240, 192, 96, 0.06);
}
/* Phase 5-F #24: drag-over 中の強化された視覚フィードバック (hover より遥かに目立つ状態) */
.tc-apply-dropzone.is-dragover {
  border-style: solid;
  border-width: 2px;
  border-color: #f0c060;
  background: rgba(240, 192, 96, 0.14);
  transform: scale(1.025) translateY(-2px);
  box-shadow:
    0 0 0 4px rgba(240, 192, 96, 0.15),
    0 14px 32px rgba(0, 0, 0, 0.45);
  animation: tc-dropzone-pulse 1.2s ease-in-out infinite;
}
@keyframes tc-dropzone-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 4px rgba(240, 192, 96, 0.15),
      0 0 18px rgba(240, 192, 96, 0.30),
      0 14px 32px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 12px rgba(240, 192, 96, 0),
      0 0 28px rgba(240, 192, 96, 0.55),
      0 14px 32px rgba(0, 0, 0, 0.45);
  }
}
/* Phase 5-F #24: drop 直後の青→金 flash (JS で is-just-dropped を 320ms 付ける) */
.tc-apply-dropzone.is-just-dropped {
  animation: tc-dropzone-flash 360ms ease-out 1;
}
@keyframes tc-dropzone-flash {
  0%   { background: rgba(133, 183, 235, 0.40); border-color: #85b7eb; transform: scale(1.04); }
  50%  { background: rgba(240, 192, 96, 0.22); border-color: #f0c060; transform: scale(1.015); }
  100% { background: rgba(255, 255, 255, 0.03); border-color: rgba(240, 192, 96, 0.35); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .tc-apply-dropzone.is-dragover,
  .tc-apply-dropzone.is-just-dropped { animation: none; }
}
.tc-apply-dropzone__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.tc-apply-dropzone__icon {
  color: rgba(240, 192, 96, 0.7);
  transition: opacity 0.25s, transform 0.25s;
}
.tc-apply-dropzone.is-dragover .tc-apply-dropzone__icon {
  color: #f0c060;
  transform: scale(1.12);
}
.tc-apply-dropzone__text {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(232, 232, 232, 0.85);
  letter-spacing: 0.03em;
}
.tc-apply-dropzone__hint {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(232, 232, 232, 0.45);
  letter-spacing: 0.02em;
}

/* --- サムネイル一覧 --- */
.tc-apply-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.tc-apply-thumbs:empty {
  display: none;
}

.tc-apply-thumb {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 232, 232, 0.12);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}
.tc-apply-thumb.is-uploaded {
  border-color: rgba(240, 192, 96, 0.4);
}
.tc-apply-thumb.is-failed {
  border-color: rgba(220, 70, 70, 0.4);
}
.tc-apply-thumb__imgwrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0e0e0e;
  overflow: hidden;
}
.tc-apply-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tc-apply-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
}
.tc-apply-thumb.is-uploaded .tc-apply-thumb__overlay {
  display: none;
}
.tc-apply-thumb__spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(240, 192, 96, 0.25);
  border-top-color: #f0c060;
  border-radius: 50%;
  animation: tc-apply-spin 0.9s linear infinite;
}
@keyframes tc-apply-spin {
  to { transform: rotate(360deg); }
}
.tc-apply-thumb__status {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(232, 232, 232, 0.85);
  text-align: center;
  padding: 0 8px;
  line-height: 1.4;
}
.tc-apply-thumb__status--ok {
  color: #f0c060;
  font-weight: 500;
}
.tc-apply-thumb__status--err {
  color: #ff8080;
}
.tc-apply-thumb__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}
.tc-apply-thumb__remove:hover {
  background: rgba(220, 70, 70, 0.85);
  transform: scale(1.1);
}
.tc-apply-thumb__meta {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.75rem;
  line-height: 1.3;
}
.tc-apply-thumb__name {
  color: rgba(232, 232, 232, 0.85);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc-apply-thumb__size {
  color: rgba(232, 232, 232, 0.5);
  font-size: 0.7rem;
}

/* --- 動画URL リスト --- */
.tc-apply-video-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tc-apply-video-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tc-apply-video-input {
  flex: 1;
  min-width: 0;
}
.tc-apply-video-remove {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(232, 232, 232, 0.15);
  color: rgba(232, 232, 232, 0.5);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1;
}
.tc-apply-video-remove:hover {
  border-color: rgba(220, 70, 70, 0.6);
  color: #ff8080;
  background: rgba(220, 70, 70, 0.1);
}
.tc-apply-video-add {
  align-self: flex-start;
  margin-top: 10px;
  padding: 8px 18px;
  background: transparent;
  border: 1px dashed rgba(240, 192, 96, 0.4);
  border-radius: 4px;
  color: #f0c060;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  letter-spacing: 0.04em;
}
.tc-apply-video-add:hover {
  background: rgba(240, 192, 96, 0.08);
  border-style: solid;
}

/* --- Responsive --- */
@media (max-width: 480px) {
  .tc-apply-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
  .tc-apply-dropzone {
    padding: 24px 16px;
  }
}
/* =============================================
   Phase 1.5: Multi-language additions
   ============================================= */

/* --- Rule 見出し（英語版のみ表示される小見出し） --- */
.tc-rule-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tc-rule-item__heading {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 192, 96, 0.85);
  line-height: 1.3;
}

/* --- 言語切替ボタン（トップバー） --- */
.tc-topbar__lang {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(232, 232, 232, 0.6);
}
.tc-topbar__lang ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tc-topbar__lang ul li {
  display: inline-flex;
}
.tc-topbar__lang ul li + li::before {
  content: '／';
  color: rgba(232, 232, 232, 0.3);
  padding: 0 6px;
}
.tc-topbar__lang a {
  color: rgba(232, 232, 232, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.tc-topbar__lang a:hover {
  color: #f0c060;
}
.tc-topbar__lang .current-lang a,
.tc-topbar__lang li.current-lang a {
  color: #f0c060;
  font-weight: 500;
  pointer-events: none;
  cursor: default;
}

/* --- 言語切替ボタン（モバイルメニュー内） --- */
.tc-mobile-menu__lang ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.tc-mobile-menu__lang ul li {
  display: inline-flex;
}
.tc-mobile-menu__lang a {
  color: rgba(232, 232, 232, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(232, 232, 232, 0.15);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.tc-mobile-menu__lang a:hover {
  color: #f0c060;
  border-color: rgba(240, 192, 96, 0.4);
}
.tc-mobile-menu__lang .current-lang a,
.tc-mobile-menu__lang li.current-lang a {
  color: #f0c060;
  border-color: #f0c060;
  background: rgba(240, 192, 96, 0.08);
  pointer-events: none;
}

/* --- モバイルで言語メニューの「／」を非表示にする --- */
@media (max-width: 760px) {
  .tc-topbar__lang {
    font-size: 0.7rem;
  }
}
/* =============================================
   Phase 1.5b: 言語切替ピル型セグメント（改訂版2 / ul なし構造対応）
   ============================================= */

/* --- トップバーのピル型 --- */
.tc-topbar__lang {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 232, 232, 0.12);
  border-radius: 999px;
  gap: 0;
  height: 30px;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  list-style: none;
}
.tc-topbar__lang:hover {
  border-color: rgba(240, 192, 96, 0.35);
}

/* もしulで囲まれていた場合もサポート */
.tc-topbar__lang > ul {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  height: 100%;
}

/* li要素（ul直下でもdiv直下でも効くように） */
.tc-topbar__lang .lang-item,
.tc-topbar__lang > ul > li {
  display: inline-flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 区切り「／」を消す（過去のスタイルへの上書き） */
.tc-topbar__lang .lang-item + .lang-item::before,
.tc-topbar__lang > ul > li + li::before {
  content: none !important;
}

.tc-topbar__lang .lang-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 0 12px;
  height: 100%;
  border-radius: 999px;
  color: rgba(232, 232, 232, 0.55);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
  line-height: 1;
  box-sizing: border-box;
  position: relative;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.tc-topbar__lang .lang-item a:hover {
  color: #f0c060;
}

/* テキスト差替え：日本語→JA、English→EN */
.tc-topbar__lang .lang-item-ja a::after {
  content: 'JA';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  letter-spacing: 0.14em;
}
.tc-topbar__lang .lang-item-en a::after {
  content: 'EN';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  letter-spacing: 0.14em;
}

/* 現在選択中の言語：ゴールド塗り */
.tc-topbar__lang .lang-item.current-lang a,
.tc-topbar__lang .lang-item.current-lang a:hover {
  background: #f0c060;
  color: #1c1c1c;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 1px 8px rgba(240, 192, 96, 0.35);
}

/* --- モバイルメニュー内の言語切替もピル型に --- */
.tc-mobile-menu__lang {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* 親要素に直接スタイルを当てる（ul有無の両対応） */
.tc-mobile-menu__lang,
.tc-mobile-menu__lang > ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tc-mobile-menu__lang {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 232, 232, 0.15);
  border-radius: 999px;
  gap: 0;
  height: 44px;
  box-sizing: border-box;
  width: auto;
  align-self: center;
  margin: 32px auto 0;
}

.tc-mobile-menu__lang .lang-item {
  display: inline-flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tc-mobile-menu__lang .lang-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0 22px;
  height: 100%;
  border: none;
  border-radius: 999px;
  color: rgba(232, 232, 232, 0.65);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s ease, background-color 0.2s ease;
  line-height: 1;
  position: relative;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.tc-mobile-menu__lang .lang-item-ja a::after {
  content: 'JA';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  letter-spacing: 0.16em;
}
.tc-mobile-menu__lang .lang-item-en a::after {
  content: 'EN';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: 0;
  letter-spacing: 0.16em;
}

.tc-mobile-menu__lang .lang-item a:hover {
  color: #f0c060;
  background: transparent;
}

.tc-mobile-menu__lang .lang-item.current-lang a,
.tc-mobile-menu__lang .lang-item.current-lang a:hover {
  background: #f0c060;
  color: #1c1c1c;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(240, 192, 96, 0.3);
  border: none;
}
/* =============================================
   Phase 2: reviewing ステータス（審査中バッジ）
   申請受理〜踏破判定の間に表示される青パルス
   ============================================= */

.tc-tag--reviewing {
  background: rgba(96, 160, 240, 0.15);
  color: #a0c8ff;
  border: 1px solid rgba(96, 160, 240, 0.45);
  position: relative;
  overflow: hidden;
}

/* 青いパルスアニメーション */
.tc-tag--reviewing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(96, 160, 240, 0.4) 0%,
    transparent 70%
  );
  opacity: 0;
  animation: tc-reviewing-pulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* 文字が上に来るよう z-index */
.tc-tag--reviewing > * {
  position: relative;
  z-index: 1;
}

@keyframes tc-reviewing-pulse {
  0%, 100% {
    opacity: 0;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* タイトル部分の rev 表示（ダンジョン名の隣にも出す） */
.tc-dd-item__ja--reviewing {
  color: #a0c8ff;
  text-shadow: 0 0 12px rgba(96, 160, 240, 0.45);
  position: relative;
}

.tc-dd-item__ja--reviewing::after {
  content: '● REVIEWING';
  display: inline-block;
  margin-left: 14px;
  font-size: 0.55em;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #60a0f0;
  vertical-align: middle;
  animation: tc-reviewing-dot 2.2s ease-in-out infinite;
}

@keyframes tc-reviewing-dot {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}

/* モーション制限ユーザー向け：アニメーションを停止 */
@media (prefers-reduced-motion: reduce) {
  .tc-tag--reviewing::before,
  .tc-dd-item__ja--reviewing::after {
    animation: none;
    opacity: 0.8;
  }
}
/* =============================================
   MY PAGE
============================================= */
.tc-mypage {
  padding: 48px 24px 80px;
  min-height: 70vh;
}

.tc-mypage__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tc-mypage__header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.tc-mypage__title {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: normal;
  color: var(--text-1);
  letter-spacing: 0.05em;
  margin: 0 0 8px;
}

.tc-mypage__subtitle {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-4);
  margin: 0;
  letter-spacing: 0.05em;
}

.tc-mypage__root {
  min-height: 240px;
}

/* ---- ローディング ---- */
.tc-mypage-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-4);
}

.tc-mypage-loading__spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: tc-mypage-spin 0.8s linear infinite;
  margin-bottom: 16px;
}

@keyframes tc-mypage-spin {
  to { transform: rotate(360deg); }
}

/* ---- カード共通 ---- */
.tc-mypage-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 32px 28px;
}

.tc-mypage-card--center {
  text-align: center;
  padding: 48px 28px;
}

.tc-mypage-card__title {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: normal;
  color: var(--text-1);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.tc-mypage-card__desc {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  margin: 0 0 24px;
}

/* ---- ボタン ---- */
.tc-mypage-btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 28px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.tc-mypage-btn:hover {
  background: var(--bg-hover);
  color: var(--white);
  border-color: var(--text-3);
}

.tc-mypage-btn--discord {
  background: #5865f2;
  border-color: #5865f2;
  color: #fff;
}

.tc-mypage-btn--discord:hover {
  background: #4752c4;
  border-color: #4752c4;
  color: #fff;
}

.tc-mypage-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1c1c1c;
}

.tc-mypage-btn--primary:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: #1c1c1c;
}

.tc-mypage-btn--ghost {
  border-color: var(--line-2);
  color: var(--text-3);
}

.tc-mypage-btn--cancel {
  border-color: rgba(220, 100, 100, 0.4);
  color: #e08080;
}

.tc-mypage-btn--cancel:hover {
  background: rgba(220, 100, 100, 0.1);
  border-color: rgba(220, 100, 100, 0.7);
}

.tc-mypage-item__actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.tc-mypage-item__appid {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tc-mypage-item__appid-label {
  font-size: 0.75rem;
  color: var(--text-3);
  white-space: nowrap;
}

.tc-mypage-item__appid-code {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: monospace;
  word-break: break-all;
}

/* ---- ユーザーバー ---- */
.tc-mypage-userbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin-bottom: 32px;
}

.tc-mypage-userbar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-3);
}

.tc-mypage-userbar__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tc-mypage-userbar__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
}

.tc-mypage-userbar__name {
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-mypage-userbar__logout {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  background: transparent;
  color: var(--text-4);
  border: 1px solid var(--line-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tc-mypage-userbar__logout:hover {
  color: var(--white);
  border-color: var(--text-3);
  background: var(--bg-hover);
}

/* ---- セクション見出し + 件数 ---- */
.tc-mypage-list__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}

.tc-mypage-section__title {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: normal;
  color: var(--text-1);
  letter-spacing: 0.08em;
  margin: 0;
}

.tc-mypage-list__count {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-4);
}

/* ---- カードリスト ---- */
.tc-mypage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ---- 申請カード ---- */
.tc-mypage-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 22px 24px;
  transition: border-color 0.2s var(--ease);
}

.tc-mypage-item:hover {
  border-color: var(--line-2);
}

.tc-mypage-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.tc-mypage-item__meta {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-4);
}

.tc-mypage-item__title {
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-1);
  margin: 0 0 14px;
  line-height: 1.4;
}

.tc-mypage-item__sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--text-4);
}

.tc-mypage-item__body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-family: var(--font-ja);
  font-size: 13px;
}

.tc-mypage-item__body dt {
  color: var(--text-4);
  font-size: 11px;
  letter-spacing: 0.05em;
  align-self: center;
}

.tc-mypage-item__body dd {
  color: var(--text-2);
  margin: 0;
}

.tc-mypage-item__comment {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tc-mypage-item__comment strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
  font-weight: normal;
  margin-bottom: 6px;
}

.tc-mypage-item__comment p {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
}

/* ---- ステータスバッジ拡張 ---- */
.tc-tag--pending {
  background: rgba(240, 192, 96, 0.12);
  color: var(--accent);
  border: 1px solid rgba(240, 192, 96, 0.4);
}

.tc-tag--approved {
  background: rgba(120, 200, 120, 0.12);
  color: #98d89a;
  border: 1px solid rgba(120, 200, 120, 0.4);
}

.tc-tag--rejected {
  background: rgba(220, 100, 100, 0.12);
  color: #e08080;
  border: 1px solid rgba(220, 100, 100, 0.4);
}

.tc-tag--cancelled {
  background: rgba(150, 150, 150, 0.12);
  color: #a0a0a0;
  border: 1px solid rgba(150, 150, 150, 0.4);
}

.tc-tag--completed {
  background: rgba(100, 160, 220, 0.12);
  color: #80b8e0;
  border: 1px solid rgba(100, 160, 220, 0.4);
}

/* ---- 空状態 ---- */
.tc-mypage-empty {
  text-align: center;
  padding: 48px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.tc-mypage-empty__title {
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--text-1);
  margin: 0 0 8px;
}

.tc-mypage-empty__desc {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  margin: 0 0 24px;
}

/* ---- もっと見るボタンエリア ---- */
.tc-mypage-loadmore {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* ---- 戻るリンク ---- */
.tc-mypage__back {
  margin-top: 48px;
  text-align: center;
}

.tc-mypage__back-link {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.tc-mypage__back-link:hover {
  color: var(--white);
}

.tc-mypage-error {
  font-family: var(--font-ja);
  font-size: 13px;
  color: #e08080;
  margin: 0;
}

/* ---- モバイル ---- */
@media (max-width: 640px) {
  .tc-mypage {
    padding: 32px 16px 60px;
  }
  .tc-mypage__title {
    font-size: 26px;
  }
  .tc-mypage-item {
    padding: 18px 18px;
  }
  .tc-mypage-userbar {
    padding: 14px 14px;
    gap: 12px;
  }
  .tc-mypage-userbar__avatar {
    width: 36px;
    height: 36px;
  }
  .tc-mypage-userbar__name {
    font-size: 14px;
  }
  .tc-mypage-card {
    padding: 24px 20px;
  }
  .tc-mypage-card--center {
    padding: 32px 20px;
  }
}

/* =============================================
   NEWS ITEMS (Phase 3-B)
   News list + Grand Slam banner
============================================= */

/* NEWS コンテナ全体（既存 .tc-news の上で付加スタイル） */
.tc-news {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- NEWS アイテム共通 ---- */
.tc-news__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  font-family: var(--font-ja);
}

.tc-news__item:last-child,
.tc-news__item + .tc-timer {
  border-bottom: none;
}

.tc-news__date {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-4);
  flex-shrink: 0;
  min-width: 82px;
}

.tc-news__body {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
}

.tc-news__body--link {
  color: var(--text-2);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.tc-news__body--link:hover {
  color: var(--accent);
}

.tc-news__arrow {
  color: var(--text-4);
  transition: color 0.2s var(--ease);
}

.tc-news__body--link:hover .tc-news__arrow {
  color: var(--accent);
}

/* ---- NEWS 種別モディファイア ---- */

/* シーズン開始: 控えめ */
.tc-news__item--season_start .tc-news__body {
  color: var(--text-3);
}

/* 踏破ログ: 通常 */
.tc-news__item--clear .tc-news__body {
  color: var(--text-2);
}

/* 手動お知らせ: 少し強調 */
.tc-news__item--manual .tc-news__body {
  color: var(--text-1);
  font-weight: 500;
}

/* 空状態 */
.tc-news__item--empty {
  justify-content: center;
  border-bottom: none;
  padding: 24px 0;
}

.tc-news__item--empty .tc-news__body {
  color: var(--text-4);
  font-style: italic;
}

/* =============================================
   NEWS TAG (🏆踏破 / 📢お知らせ)
============================================= */
.tc-news__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 2px 10px 2px 6px;
  border-radius: 2px;
  line-height: 1.6;
  user-select: none;
}

.tc-news__tag-icon {
  font-size: 12px;
  line-height: 1;
  /* 絵文字のベースライン補正 */
  transform: translateY(0.5px);
}

.tc-news__tag-label {
  font-weight: 500;
}

/* 踏破タグ: ゴールド系 */
.tc-news__tag--clear {
  background: rgba(240, 192, 96, 0.1);
  color: var(--accent);
  border: 1px solid rgba(240, 192, 96, 0.25);
}

/* お知らせタグ: 控えめ */
.tc-news__tag--announce {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-3);
  border: 1px solid var(--line);
}

@media (max-width: 640px) {
  .tc-news__tag {
    font-size: 10px;
    padding: 2px 8px 2px 5px;
  }
  .tc-news__tag-icon {
    font-size: 11px;
  }
}

/* ---- Grand Slam バナー ---- */
.tc-news__grand-slam {
  margin: 8px 0 16px;
  padding: 20px 24px;
  background: linear-gradient(
    135deg,
    rgba(240, 192, 96, 0.12),
    rgba(201, 168, 76, 0.05)
  );
  border: 1px solid rgba(240, 192, 96, 0.45);
  position: relative;
  overflow: hidden;
}

.tc-news__grand-slam::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(
    circle at 20% 30%,
    rgba(240, 192, 96, 0.25) 0%,
    transparent 60%
  );
  pointer-events: none;
  animation: tc-grand-slam-glow 4s ease-in-out infinite;
}

@keyframes tc-grand-slam-glow {
  0%, 100% { opacity: 0.6; }
  50%      { opacity: 1; }
}

.tc-news__grand-slam-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.tc-news__grand-slam-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 8px 14px;
  color: var(--accent);
  border: 1px solid var(--accent);
  background: rgba(28, 28, 28, 0.5);
  flex-shrink: 0;
  white-space: nowrap;
}

.tc-news__grand-slam-body {
  flex: 1;
  min-width: 0;
}

.tc-news__grand-slam-winner {
  font-family: var(--font-ja);
  font-size: 20px;
  font-weight: 500;
  color: var(--white);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.tc-news__grand-slam-subtitle {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-2);
  margin: 0 0 4px;
  line-height: 1.5;
}

.tc-news__grand-slam-date {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-4);
  margin: 0;
}

/* ---- モバイル ---- */
@media (max-width: 640px) {
  .tc-news__item {
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
  }

  .tc-news__date {
    min-width: 0;
    font-size: 10px;
  }

  .tc-news__body {
    font-size: 13px;
  }

  .tc-news__grand-slam {
    padding: 18px 18px;
  }

  .tc-news__grand-slam-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .tc-news__grand-slam-badge {
    font-size: 9px;
    padding: 6px 12px;
  }

  .tc-news__grand-slam-winner {
    font-size: 17px;
  }

  .tc-news__grand-slam-subtitle {
    font-size: 12px;
  }
}

/* =============================================
   NEWS CARD LAYOUT + TZ TOOLTIP (Phase 3-B+)
============================================= */

/* ---- NEWS リスト全体をカード化 ---- */
.tc-news {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 8px 24px;
}

/* モバイルでは左右パディング控えめに */
@media (max-width: 640px) {
  .tc-news {
    padding: 6px 16px;
  }
}

/* ---- インタラクティブな日時（カーソル変化） ---- */
.tc-news__date--interactive {
  cursor: help;
  border-bottom: 1px dotted var(--text-5);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.tc-news__date--interactive:hover {
  color: var(--text-2);
  border-bottom-color: var(--text-3);
}

/* ---- タイムゾーン ツールチップ ---- */
.tc-tz-tooltip {
  position: absolute;
  z-index: 9999;
  min-width: 260px;
  max-width: 340px;
  background: #1a1a1a;
  border: 1px solid var(--line-2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  padding: 14px 16px;
  font-family: var(--font-ui);
  pointer-events: none;
  animation: tc-tz-fadein 0.15s ease-out;
}

@keyframes tc-tz-fadein {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tc-tz-tooltip__header {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-4);
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.tc-tz-tooltip__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tc-tz-tooltip__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 4px 0;
  font-size: 12px;
}

.tc-tz-tooltip__item--user {
  color: var(--accent);
  font-weight: 600;
}

.tc-tz-tooltip__item--user .tc-tz-tooltip__city::before {
  content: '▸ ';
  color: var(--accent);
}

.tc-tz-tooltip__city {
  color: var(--text-3);
  font-size: 12px;
  font-family: var(--font-ja);
}

.tc-tz-tooltip__item--user .tc-tz-tooltip__city {
  color: var(--accent);
}

.tc-tz-tooltip__time {
  color: var(--text-2);
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 11px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.tc-tz-tooltip__item--user .tc-tz-tooltip__time {
  color: var(--accent);
}

/* モバイルでツールチップを画面にフィット */
@media (max-width: 640px) {
  .tc-tz-tooltip {
    min-width: 220px;
    max-width: calc(100vw - 32px);
    padding: 12px 14px;
  }
  .tc-tz-tooltip__item {
    font-size: 11px;
  }
  .tc-tz-tooltip__city,
  .tc-tz-tooltip__time {
    font-size: 11px;
  }
}

/* ---- 日付カラムの幅調整（カード化に合わせて） ---- */
.tc-news__date {
  min-width: 164px; /* "2025.11.14 19:00 JST" が収まる幅 */
}

@media (max-width: 640px) {
  .tc-news__date {
    min-width: 0;
  }
}

/* =============================================
   NEWS CARD - 余白微調整 (Phase 3-B+ 微修正)
============================================= */

/* カード全体の左右パディングをもう少し広げる */
.tc-news {
  padding: 12px 32px;
}

/* モバイルはそのまま */
@media (max-width: 640px) {
  .tc-news {
    padding: 10px 20px;
  }
}

/* アイテムの上下に少しだけ余白 */
.tc-news__item {
  padding: 12px 0;
}

/* =============================================
   NEWS - 既存スタイルとの整合性修正 (最終調整)
============================================= */

/* 
 * 問題: Phase 1 時代の .tc-news__item には
 *   padding: 14px 16px / border / background が既に設定されていた。
 * これと Phase 3-B のカード全体化スタイルが競合していた。
 * 
 * 解決: アイテム個別のカード装飾を消し、親 .tc-news をカードにする。
 */

/* アイテム個別のボーダー/背景/パディングを打ち消し */
.tc-news__item {
  padding: 14px 4px !important;
  border: none !important;
  background: transparent !important;
  border-bottom: 1px dotted var(--line) !important;
}

.tc-news__item:last-child {
  border-bottom: none !important;
}

.tc-news__item:hover {
  background: transparent !important;
  border-color: transparent !important;
  border-bottom: 1px dotted var(--line-2) !important;
}

/* 親カードの余白を増やす */
.tc-news {
  padding: 16px 36px !important;
}

@media (max-width: 640px) {
  .tc-news {
    padding: 12px 20px !important;
  }
  .tc-news__item {
    padding: 12px 0 !important;
  }
}

/* 日付と本文の区切りラインを再導入（既存デザインのエッセンスは残す） */
.tc-news__date {
  padding-right: 16px;
  border-right: 1px solid var(--line);
  margin-right: 4px;
}

@media (max-width: 640px) {
  .tc-news__date {
    padding-right: 0;
    border-right: none;
    margin-right: 0;
  }
}

/* =============================================
   THE RECORD (Phase 3-C)
============================================= */

/* ---- Hero ---- */
.tc-record-hero {
  position: relative;
  padding: clamp(80px, 14vw, 160px) 24px clamp(50px, 8vw, 90px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 192, 96, 0.10), transparent 60%),
    var(--bg);
  color: var(--text-2);
  overflow: hidden;
}

.tc-record-hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.tc-record-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tc-record-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  opacity: 0.85;
}

.tc-record-hero__title {
  font-family: var(--font-ja);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  color: var(--white);
}

.tc-record-hero__desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-3);
  margin: 0 auto;
  max-width: 560px;
}

.tc-record-hero__notice {
  font-family: var(--font-en);
  font-size: 12px;
  font-style: italic;
  color: var(--accent);
  margin: 18px auto 0;
  padding: 10px 16px;
  border: 1px solid rgba(240, 192, 96, 0.3);
  background: rgba(240, 192, 96, 0.06);
  display: inline-block;
  letter-spacing: 0.03em;
}

.tc-record-hero__actions {
  margin-top: 32px;
}

.tc-record-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--white);
  background: var(--accent);
  padding: 14px 32px;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}

.tc-record-hero__cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(240, 192, 96, 0.35);
}

/* ---- Section wrapper ---- */
.tc-record-section {
  background: var(--bg);
  padding: clamp(30px, 5vw, 56px) 20px clamp(80px, 12vw, 140px);
}

.tc-record-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---- タブ共通 ---- */
.tc-record-tabs {
  display: flex;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 2px;
}

.tc-record-tabs--dc {
  margin-bottom: 1px;
}

.tc-record-tabs--dd {
  margin-bottom: 32px;
}

.tc-record-tab {
  flex: 1;
  padding: 14px 8px;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  background: var(--bg-2);
  border: none;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  position: relative;
  font-weight: 500;
}

.tc-record-tab:hover {
  color: var(--white);
  background: var(--bg-3);
}

.tc-record-tab.is-active {
  color: var(--white);
  background: var(--bg-3);
}

.tc-record-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* DD タブは少し薄く */
.tc-record-tabs--dd .tc-record-tab {
  font-size: 11px;
  padding: 12px 8px;
  background: rgba(36, 36, 36, 0.6);
}

.tc-record-tabs--dd .tc-record-tab.is-active {
  background: var(--bg-3);
  color: var(--accent);
}

.tc-record-tabs--dd .tc-record-tab.is-active::after {
  background: var(--accent-2);
}

/* ---- パネル ---- */
.tc-record-panel {
  display: none;
}

.tc-record-panel.is-active {
  display: block;
  animation: tc-record-fade 0.3s var(--ease);
}

@keyframes tc-record-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tc-record-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-bottom: none;
}

.tc-record-panel__title {
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-1);
  text-transform: uppercase;
  font-weight: 500;
}

.tc-record-panel__sep {
  color: var(--text-4);
  margin: 0 8px;
}

.tc-record-panel__count {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-4);
}

/* ---- 空状態 ---- */
.tc-record-empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: none;
}

.tc-record-empty__text {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--text-4);
  margin: 0;
  font-style: italic;
}

/* ---- レコードリスト ---- */
.tc-record-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-top: none;
  background: var(--bg-2);
}

.tc-record-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.tc-record-item:last-child {
  border-bottom: none;
}

.tc-record-item:hover {
  background: var(--bg-3);
}

/* 現在1位: ゴールド強調 */
.tc-record-item--current {
  background: linear-gradient(
    90deg,
    rgba(240, 192, 96, 0.12),
    rgba(240, 192, 96, 0.02) 50%,
    transparent
  );
  position: relative;
}

.tc-record-item--current::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}

.tc-record-item--current:hover {
  background: linear-gradient(
    90deg,
    rgba(240, 192, 96, 0.18),
    rgba(240, 192, 96, 0.04) 50%,
    transparent
  );
}

/* ---- ランク表示 ---- */
.tc-record-item__rank {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 64px;
}

.tc-record-item__crown {
  font-size: 24px;
  line-height: 1;
}

.tc-record-item__label-current {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.tc-record-item__label-past {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-5);
  text-transform: uppercase;
}

/* ---- メイン情報 ---- */
.tc-record-item__main {
  flex: 1;
  min-width: 0;
}

.tc-record-item__top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tc-record-item__name {
  font-family: var(--font-ja);
  font-size: 16px;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tc-record-item--current .tc-record-item__name {
  color: var(--accent);
  text-shadow: 0 0 16px rgba(240, 192, 96, 0.25);
}

.tc-record-item__job {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  background: var(--bg);
}

.tc-record-item__score-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.tc-record-item__score-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-5);
  text-transform: uppercase;
}

.tc-record-item__score {
  font-family: var(--font-en);
  font-size: 22px;
  color: var(--white);
  font-weight: 300;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}

.tc-record-item--current .tc-record-item__score {
  color: var(--accent);
  font-weight: 400;
  text-shadow: 0 0 20px rgba(240, 192, 96, 0.35);
}

/* ---- サイド情報 ---- */
.tc-record-item__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  text-align: right;
}

.tc-record-item__date {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
}

.tc-record-item__links {
  display: flex;
  gap: 8px;
}

.tc-record-item__link {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 5px 10px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.tc-record-item__link:hover {
  color: var(--white);
  border-color: var(--accent);
  background: rgba(240, 192, 96, 0.08);
}

/* ---- モバイル対応 ---- */
@media (max-width: 640px) {
  .tc-record-hero {
    padding: 60px 16px 40px;
  }
  .tc-record-section {
    padding: 24px 12px 60px;
  }
  .tc-record-tabs {
    flex-wrap: wrap;
  }
  .tc-record-tab {
    font-size: 9px;
    padding: 11px 4px;
    letter-spacing: 0.15em;
  }
  .tc-record-tabs--dd .tc-record-tab {
    font-size: 10px;
    padding: 10px 4px;
  }

  .tc-record-panel__head {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .tc-record-panel__title {
    font-size: 11px;
  }
  .tc-record-panel__count {
    font-size: 9px;
  }

  .tc-record-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .tc-record-item__rank {
    flex-direction: row;
    min-width: 0;
  }
  .tc-record-item__main {
    width: 100%;
  }
  .tc-record-item__top {
    gap: 8px;
  }
  .tc-record-item__name {
    font-size: 15px;
  }
  .tc-record-item__score {
    font-size: 20px;
  }
  .tc-record-item__aside {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }
  .tc-record-item__links {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* =============================================
   RECORD APPLY NOTICE (Phase 3-C)
============================================= */

.tc-apply-notice {
  padding: 14px 18px;
  background: rgba(240, 192, 96, 0.06);
  border-left: 3px solid var(--accent-2);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-family: var(--font-ja);
}

@media (max-width: 640px) {
  .tc-apply-notice {
    font-size: 12px;
    padding: 12px 14px;
  }
}
/* =============================================
   THE RECORD - 折りたたみ式 過去履歴 (Phase 3-C+)
============================================= */

/* ---- 最新記録リスト（強調） ---- */
.tc-record-list--latest {
  margin-bottom: 0; /* details と密着させる */
}

.tc-record-list--latest .tc-record-item {
  border-bottom: none;
  padding: 22px 24px; /* 通常より少し大きめ */
}

/* ---- 折りたたみ全体 ---- */
.tc-record-past-wrap {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin-top: -1px; /* 最新リストの下線と重ねる */
}

/* ---- 折りたたみトグル（summary） ---- */
.tc-record-past-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.2s var(--ease);
  list-style: none; /* デフォルト三角を消す */
  border-bottom: 1px solid transparent;
}

/* Safari 用: summary のデフォルトマーカー消し */
.tc-record-past-toggle::-webkit-details-marker {
  display: none;
}

.tc-record-past-toggle:hover {
  background: rgba(255, 255, 255, 0.03);
}

.tc-record-past-toggle__label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tc-record-past-toggle__count {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--text-4);
  font-weight: 400;
}

.tc-record-past-toggle__icon {
  font-size: 10px;
  color: var(--text-4);
  transition: transform 0.25s var(--ease);
  display: inline-block;
}

/* 開いてる時: アイコン回転 + ホバー色維持 */
.tc-record-past-wrap[open] .tc-record-past-toggle {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.tc-record-past-wrap[open] .tc-record-past-toggle__icon {
  transform: rotate(180deg);
  color: var(--text-3);
}

.tc-record-past-wrap[open] .tc-record-past-toggle__label {
  color: var(--text-2);
}

/* ---- 過去リスト（折りたたみ内） ---- */
.tc-record-list--past {
  background: var(--bg-2);
}

/* =============================================
   HALL OF FAME (Phase 3-D)
============================================= */

/* ---- 共通ヒーロー ---- */
.tc-hof-hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 24px clamp(28px, 4vw, 50px);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 192, 96, 0.10), transparent 60%),
    var(--bg);
  color: var(--text-2);
  overflow: hidden;
}

.tc-hof-hero--detail {
  padding: clamp(40px, 6vw, 70px) 24px clamp(20px, 3vw, 36px);
}

.tc-hof-hero::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.tc-hof-hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tc-hof-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
  opacity: 0.85;
}

.tc-hof-hero__back-link {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s var(--ease);
}

.tc-hof-hero__back-link:hover {
  opacity: 0.7;
}

.tc-hof-hero__title {
  font-family: var(--font-ja);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  color: var(--white);
}

.tc-hof-hero--detail .tc-hof-hero__title {
  font-family: var(--font-en);
  font-weight: 300;
  letter-spacing: 0.15em;
}

.tc-hof-hero__period {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}

.tc-hof-hero__desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-3);
  margin: 0 auto;
  max-width: 620px;
}

.tc-hof-hero__actions {
  margin-top: 30px;
}

.tc-hof-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  padding: 12px 24px;
  border: 1px solid var(--line-2);
  transition: all 0.25s var(--ease);
}

.tc-hof-hero__back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- 一覧セクション ---- */
.tc-hof-section {
  background: var(--bg);
  padding: clamp(30px, 5vw, 56px) 20px clamp(80px, 12vw, 140px);
}

.tc-hof-container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tc-hof-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-4);
  font-style: italic;
}

/* ---- シーズンリスト（一覧ページ） ---- */
.tc-hof-season-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .tc-hof-season-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .tc-hof-season-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tc-hof-season {
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.tc-hof-season:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tc-hof-season--current {
  border-color: var(--accent-2);
  background: linear-gradient(
    180deg,
    rgba(240, 192, 96, 0.08) 0%,
    var(--bg-2) 40%
  );
}

.tc-hof-season--current::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
}

.tc-hof-season__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tc-hof-season__num-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tc-hof-season__num-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-4);
  text-transform: uppercase;
}

.tc-hof-season__num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  line-height: 1;
}

.tc-hof-season--current .tc-hof-season__num {
  color: var(--accent);
}

.tc-hof-season__badge {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 5px 10px;
  font-weight: 600;
}

.tc-hof-season__body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tc-hof-season__period {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tc-hof-season__period-label,
.tc-hof-season__stat-label {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-5);
  text-transform: uppercase;
}

.tc-hof-season__period-value {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.tc-hof-season__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.tc-hof-season__stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.tc-hof-season__stat--gs {
  color: var(--accent);
}

.tc-hof-season__stat-value {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--white);
}

.tc-hof-season__stat--gs .tc-hof-season__stat-value {
  color: var(--accent);
}

.tc-hof-season__footer {
  border-top: 1px solid var(--line);
  padding: 14px 24px;
  background: var(--bg);
}

.tc-hof-season__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.tc-hof-season__link:hover {
  color: var(--accent);
}

.tc-hof-season__link-arrow {
  transition: transform 0.2s var(--ease);
}

.tc-hof-season__link:hover .tc-hof-season__link-arrow {
  transform: translateX(4px);
}

/* =============================================
   HALL OF FAME — TROPHY HALL (一覧ページ)
   開催中シーズンのヒーローカード + 過去シーズンのトロフィーグリッド
============================================= */

/* ---- FEATURED (開催中) ---- */
.tc-hof-featured {
  padding: clamp(40px, 6vw, 80px) 20px clamp(32px, 4vw, 56px);
  background: var(--bg);
}

.tc-hof-featured__wrap {
  max-width: 980px;
  margin: 0 auto;
}

.tc-hof-featured__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 0 22px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.tc-hof-featured__eyebrow-flourish {
  flex: 0 0 auto;
  width: clamp(40px, 8vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2) 50%, transparent);
}

.tc-hof-featured__eyebrow-text {
  flex: 0 0 auto;
}

.tc-hof-featured__card {
  position: relative;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 56px) clamp(36px, 5vw, 64px);
  background:
    radial-gradient(ellipse at top, rgba(240, 192, 96, 0.06), transparent 65%),
    linear-gradient(180deg, #2a2a2a 0%, #1e1e1e 100%);
  border: 1px solid var(--accent-2);
  box-shadow:
    inset 0 0 0 4px var(--bg-2),
    inset 0 0 0 5px rgba(201, 168, 76, 0.55),
    0 20px 60px rgba(0, 0, 0, 0.6);
}

/* コーナー装飾 (ダイヤモンド) */
.tc-hof-featured__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(240, 192, 96, 0.55);
}
.tc-hof-featured__corner--tl { top: -7px;    left: -7px; }
.tc-hof-featured__corner--tr { top: -7px;    right: -7px; }
.tc-hof-featured__corner--bl { bottom: -7px; left: -7px; }
.tc-hof-featured__corner--br { bottom: -7px; right: -7px; }

.tc-hof-featured__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tc-hof-featured__num-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tc-hof-featured__num-label {
  font-family: var(--font-en);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.tc-hof-featured__num-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 36px);
  color: var(--accent);
  margin: 4px 0 2px;
}

.tc-hof-featured__laurel {
  flex: 0 0 auto;
  width: clamp(50px, 8vw, 90px);
  height: auto;
  color: var(--accent);
  filter: drop-shadow(0 0 4px rgba(240, 192, 96, 0.25));
}

.tc-hof-featured__num {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(5.5rem, 16vw, 11rem);
  line-height: 0.9;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow:
    0 0 30px rgba(240, 192, 96, 0.25),
    0 4px 24px rgba(0, 0, 0, 0.6);
}

.tc-hof-featured__badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 16px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #1c1c1c;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  font-weight: 700;
}

.tc-hof-featured__divider {
  width: 100%;
  max-width: 480px;
  margin: clamp(26px, 4vw, 40px) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--accent-2);
}

.tc-hof-featured__divider::before,
.tc-hof-featured__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
}

.tc-hof-featured__divider span {
  font-size: 1.1rem;
  color: var(--accent);
}

.tc-hof-featured__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  width: 100%;
}

.tc-hof-featured__period {
  margin: 0;
  font-family: var(--font-en);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  letter-spacing: 0.08em;
  color: var(--text-2, #c8c8c8);
}

.tc-hof-featured__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(24px, 5vw, 64px);
  width: 100%;
}

.tc-hof-featured__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 140px;
}

.tc-hof-featured__stat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-4, #888);
}

.tc-hof-featured__stat-value {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--accent);
  line-height: 1.1;
}

.tc-hof-featured__stat--gs .tc-hof-featured__stat-value {
  font-family: var(--font-ja);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  color: #fff;
  font-weight: 500;
  text-shadow: 0 0 12px rgba(240, 192, 96, 0.25);
}

.tc-hof-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 14px 36px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  border: 1px solid var(--accent-2);
  text-decoration: none;
  transition: all 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.tc-hof-featured__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 192, 96, 0.15), rgba(201, 168, 76, 0.08));
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.tc-hof-featured__cta:hover {
  color: #1c1c1c;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(240, 192, 96, 0.4);
}

.tc-hof-featured__cta:hover::before { opacity: 0; }

.tc-hof-featured__cta-label,
.tc-hof-featured__cta-arrow {
  position: relative;
  z-index: 1;
}

.tc-hof-featured__cta-arrow {
  transition: transform 0.2s var(--ease);
}

.tc-hof-featured__cta:hover .tc-hof-featured__cta-arrow {
  transform: translateX(4px);
}

/* ---- ARCHIVE (過去シーズン トロフィーグリッド) ---- */
.tc-hof-archive {
  padding: clamp(40px, 6vw, 80px) 20px clamp(60px, 8vw, 100px);
  background: var(--bg-2);
}

.tc-hof-archive__header {
  text-align: center;
  margin: 0 auto clamp(36px, 5vw, 56px);
  max-width: 720px;
}

.tc-hof-archive__eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.tc-hof-archive__title {
  margin: 0 0 18px;
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 400;
}

.tc-hof-archive__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--accent-2);
  max-width: 320px;
  margin: 0 auto;
}

.tc-hof-archive__divider::before,
.tc-hof-archive__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.6), transparent);
}

.tc-hof-archive__divider span {
  font-size: 0.95rem;
  color: var(--accent);
}

.tc-hof-trophy-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1240px;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 36px);
}

@media (min-width: 640px) {
  .tc-hof-trophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .tc-hof-trophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tc-hof-trophy {
  margin: 0;
  position: relative;
}

.tc-hof-trophy__link {
  /* Phase 5-F #20: マウス追従の光沢用 CSS 変数 (JS が更新) */
  --mx: 50%;
  --my: 50%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 24px 24px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  background:
    linear-gradient(180deg, #2b2b2b 0%, #1f1f1f 100%);
  border: 1px solid var(--line-2);
  box-shadow:
    inset 0 0 0 3px #202020,
    inset 0 0 0 4px rgba(201, 168, 76, 0.28),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}

/* Phase 5-F #20: マウス追従の光沢層 (radial + conic) */
.tc-hof-trophy__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at var(--mx) var(--my),
                              rgba(240, 192, 96, 0.20),
                              rgba(240, 192, 96, 0) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.tc-hof-trophy__link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at var(--mx) var(--my),
                             rgba(255, 255, 255, 0.08),
                             rgba(255, 255, 255, 0) 100deg,
                             rgba(255, 255, 255, 0) 260deg,
                             rgba(255, 255, 255, 0.06) 360deg);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}
.tc-hof-trophy__link:hover::before { opacity: 1; }
.tc-hof-trophy__link:hover::after  { opacity: 1; }
/* 光沢層が最前面に行かないよう、コンテンツは relative + z-index */
.tc-hof-trophy__link > * { position: relative; z-index: 1; }

.tc-hof-trophy__link:hover {
  border-color: var(--accent-2);
  box-shadow:
    inset 0 0 0 3px #202020,
    inset 0 0 0 4px rgba(240, 192, 96, 0.55),
    0 16px 44px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(240, 192, 96, 0.15);
  transform: translateY(-3px);
}

@media (hover: none) {
  /* タッチデバイスではマウス追従光沢は無効 (常時 OFF) */
  .tc-hof-trophy__link::before,
  .tc-hof-trophy__link::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tc-hof-trophy__link::before,
  .tc-hof-trophy__link::after { transition: none; }
}

/* トロフィーカード コーナー装飾 */
.tc-hof-trophy__corner {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent-2);
  transform: rotate(45deg);
  transition: all 0.3s var(--ease);
}
.tc-hof-trophy__corner--tl { top: -5px;    left: -5px; }
.tc-hof-trophy__corner--tr { top: -5px;    right: -5px; }
.tc-hof-trophy__corner--bl { bottom: -5px; left: -5px; }
.tc-hof-trophy__corner--br { bottom: -5px; right: -5px; }

.tc-hof-trophy__link:hover .tc-hof-trophy__corner {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(240, 192, 96, 0.6);
}

/* プラーク (SEASON 番号) */
.tc-hof-trophy__plaque {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.tc-hof-trophy__plaque-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.tc-hof-trophy__plaque-num {
  font-family: var(--font-en);
  font-size: clamp(3rem, 6vw, 4.2rem);
  line-height: 0.95;
  color: var(--accent);
  font-weight: 400;
  text-shadow: 0 0 20px rgba(240, 192, 96, 0.2);
}

.tc-hof-trophy__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 70%;
  margin-bottom: 14px;
  color: var(--accent-2);
}

.tc-hof-trophy__divider::before,
.tc-hof-trophy__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.55), transparent);
}

.tc-hof-trophy__divider span {
  font-size: 0.85rem;
  color: var(--accent);
}

.tc-hof-trophy__period {
  margin: 0 0 18px;
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--text-3, #a8a8a8);
  text-align: center;
}

/* チャンピオンチップ (🏆 数字 ラベル) */
.tc-hof-trophy__chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 18px;
  background: rgba(240, 192, 96, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 999px;
}

.tc-hof-trophy__chip-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.tc-hof-trophy__chip-val {
  font-family: var(--font-en);
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}

.tc-hof-trophy__chip-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3, #a8a8a8);
}

/* Grand Slam 封蝋シール */
.tc-hof-trophy__seal {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(240, 192, 96, 0.1), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.4);
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.3);
}

.tc-hof-trophy__seal-emblem {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, #e5b85a, #a8802a 65%, #6a4d16 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.5),
    inset 0 1px 2px rgba(255, 220, 160, 0.8),
    inset 0 -2px 4px rgba(60, 40, 10, 0.6);
  position: relative;
}

.tc-hof-trophy__seal-emblem::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 220, 160, 0.35);
}

.tc-hof-trophy__seal-emblem-inner {
  font-size: 1.2rem;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6));
}

.tc-hof-trophy__seal-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tc-hof-trophy__seal-label {
  font-family: var(--font-ui);
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
}

.tc-hof-trophy__seal-winner {
  font-family: var(--font-ja);
  font-size: 0.98rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.tc-hof-trophy__seal--empty {
  justify-content: center;
  background: transparent;
  border-style: dashed;
  border-color: rgba(90, 90, 90, 0.5);
  box-shadow: none;
}

.tc-hof-trophy__seal-empty-label {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-4, #888);
  text-align: center;
}

/* CTA */
.tc-hof-trophy__cta {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-2);
  transition: color 0.25s var(--ease);
}

.tc-hof-trophy__link:hover .tc-hof-trophy__cta {
  color: var(--accent);
}

.tc-hof-trophy__cta-arrow {
  transition: transform 0.2s var(--ease);
}

.tc-hof-trophy__link:hover .tc-hof-trophy__cta-arrow {
  transform: translateX(4px);
}

/* =============================================
   HALL OF FAME DETAIL
============================================= */

.tc-hof-detail {
  background: var(--bg);
  padding-bottom: clamp(60px, 10vw, 120px);
}

/* ---- 共通ブロック ---- */
.tc-hof-block {
  padding: clamp(28px, 4vw, 56px) 20px;
}

.tc-hof-block:nth-child(even) {
  background: var(--bg-2);
}

.tc-hof-block__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tc-hof-block__title {
  font-family: var(--font-ja);
  font-size: clamp(18px, 2.4vw, 24px);
  letter-spacing: 0.08em;
  color: var(--white);
  margin: 0 0 22px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}

.tc-hof-block__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* ---- タイムライン ---- */
.tc-hof-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border-left: 1px solid var(--line-2);
  padding-left: 24px;
}

.tc-hof-timeline__item {
  position: relative;
  padding: 10px 0;
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.tc-hof-timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 16px;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  border-radius: 50%;
}

.tc-hof-timeline__dt {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
  min-width: 120px;
  letter-spacing: 0.05em;
}

.tc-hof-timeline__text {
  font-family: var(--font-ja);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ---- Grand Slam ブロック ---- */
.tc-hof-block--gs {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(240, 192, 96, 0.08), transparent 70%),
    var(--bg-2);
}

.tc-hof-gs {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
  padding: 36px;
  background: var(--bg);
  border: 1px solid rgba(240, 192, 96, 0.3);
  position: relative;
}

.tc-hof-gs::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
}

.tc-hof-gs__icon {
  font-size: 60px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 20px rgba(240, 192, 96, 0.4));
}

.tc-hof-gs__body {
  flex: 1;
}

.tc-hof-gs__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.tc-hof-gs__winner {
  font-family: var(--font-ja);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.tc-hof-gs__note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 10px;
}

.tc-hof-gs__date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
  margin: 0;
  letter-spacing: 0.05em;
}

/* ---- 踏破者ブロック ---- */
/* ===== DD セクション (トップページのミッションカード風) ===== */
.tc-hof-block--dungeon {
  padding: clamp(18px, 2.5vw, 28px) 20px;
}

.tc-hof-block--dungeon .tc-hof-block__inner {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

/* 左ボーダーの色で DD を識別 */
.tc-hof-block--dungeon[data-dd="potd"]    .tc-hof-block__inner { border-left: 3px solid #b08040; }
.tc-hof-block--dungeon[data-dd="hoh"]     .tc-hof-block__inner { border-left: 3px solid #6a8bc4; }
.tc-hof-block--dungeon[data-dd="eo"]      .tc-hof-block__inner { border-left: 3px solid #8bbf5a; }
.tc-hof-block--dungeon[data-dd="pilgrim"] .tc-hof-block__inner { border-left: 3px solid #c47a9e; }

/* DD ヘッダーストリップ */
.tc-hof-dd-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(240, 192, 96, 0.07);
  border-bottom: 1px solid rgba(240, 192, 96, 0.18);
}

.tc-hof-dd-header__roman {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
  text-align: center;
  opacity: 0.8;
}

.tc-hof-dd-header__names {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tc-hof-dd-header__ja {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tc-hof-dd-header__en {
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-4);
  line-height: 1.2;
}

.tc-hof-dd-header__count {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(240, 192, 96, 0.1);
  border: 1px solid rgba(240, 192, 96, 0.25);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.tc-hof-dd-header__count-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  font-weight: 400;
  text-transform: uppercase;
}

/* 偶数ブロックの背景色は card 側で統制しているので解除 */
.tc-hof-block--dungeon:nth-child(even) { background: transparent; }

/* シーズン別ミッション定義 (殿堂入り詳細ページ) */
.tc-hof-missions {
  padding: 20px 20px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.tc-hof-missions__title {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #f0c060;
  margin: 0 0 14px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== ミッション定義タブ (count>=2 時) ===== */
/* タブナビ — アンダーライン系のミニマルデザイン */
.tc-hof-missions__tabs {
  display: flex;
  gap: 0;
  margin: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  flex-wrap: wrap;
}
.tc-hof-missions__tab {
  position: relative;
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.4);
  padding: 12px 22px 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  font-family: inherit;
  line-height: 1.3;
  outline: none;
}
/* アクティブインジケータ (下部ゴールド線) */
.tc-hof-missions__tab::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -1px;
  height: 2px;
  background: #f0c060;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tc-hof-missions__tab:hover {
  color: rgba(255, 255, 255, 0.85);
}
.tc-hof-missions__tab.is-active {
  color: #f0c060;
}
.tc-hof-missions__tab.is-active::after {
  transform: scaleX(1);
}
.tc-hof-missions__tab:focus-visible {
  color: rgba(255, 255, 255, 0.95);
}
.tc-hof-missions__tab:focus-visible::after {
  transform: scaleX(0.4);
  background: rgba(240, 192, 96, 0.5);
}

/* パネルコンテナ — CSS Grid で全パネルを同じセルに重ねる
   → 高さは最も背の高いパネルに自動で揃い、切替時の縦カクつきゼロ */
.tc-hof-missions__panels {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  grid-template-rows: auto;
  position: relative;
}
.tc-hof-missions__panel {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.tc-hof-missions__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.tc-hof-missions__panel .tc-mission-card {
  max-width: 100%;
  margin: 0;
}
.tc-hof-missions__panels .tc-hof-missions__image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* CSS Grid 重ね置きが効かない古いブラウザ保険: JS が走らない場合 .is-active 以外を非表示 */
@supports not (grid-template-columns: minmax(0, 680px)) {
  .tc-hof-missions__panel { display: none; }
  .tc-hof-missions__panel.is-active { display: block; opacity: 1; visibility: visible; }
}

/* タブ: 狭幅での調整 */
@media (max-width: 540px) {
  .tc-hof-missions__tab {
    padding: 10px 12px 12px;
    font-size: 11px;
    letter-spacing: 0.06em;
    flex: 1 1 auto;
    text-align: center;
  }
  .tc-hof-missions__tab::after {
    left: 10px;
    right: 10px;
  }
}

.tc-hof-missions__grid {
  display: grid;
  gap: 16px;
}
/* ミッション数に応じてレイアウトを変える (data-count は PHP 側で出力) */
.tc-hof-missions__grid[data-count="1"] {
  grid-template-columns: minmax(0, 520px);
}
.tc-hof-missions__grid[data-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tc-hof-missions__grid[data-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* デフォルト (data-count 不明 / 4以上の保険) */
.tc-hof-missions__grid:not([data-count="1"]):not([data-count="2"]):not([data-count="3"]) {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.tc-hof-missions__item {
  min-width: 0;
}
.tc-hof-missions__item .tc-mission-card {
  max-width: 100%;
  margin: 0;
}
.tc-hof-missions__image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
/* 中幅: 3ミッションは 2カラム + 3枚目フル幅で半端回避 */
@media (max-width: 1100px) {
  .tc-hof-missions__grid[data-count="3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tc-hof-missions__grid[data-count="3"] > .tc-hof-missions__item:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    justify-self: center;
  }
}
/* 狭幅: 全部1カラム */
@media (max-width: 720px) {
  .tc-hof-missions__grid,
  .tc-hof-missions__grid[data-count="1"],
  .tc-hof-missions__grid[data-count="2"],
  .tc-hof-missions__grid[data-count="3"] {
    grid-template-columns: 1fr;
  }
  .tc-hof-missions__grid[data-count="3"] > .tc-hof-missions__item:nth-child(3) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

.tc-hof-winners {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 20px 22px;
}

.tc-hof-winner {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding: 18px 20px 20px;
  position: relative;
}

/* 称号ごとの色分け (左ボーダーを主役に) */
.tc-hof-winner[data-title="proven"]      { border-left-color: rgba(176, 176, 176, 0.55); }
.tc-hof-winner[data-title="transcended"] { border-left-color: rgba(240, 192, 96, 0.65); }
.tc-hof-winner[data-title="champion"]    {
  border-left-color: var(--accent);
  background: linear-gradient(
    90deg,
    rgba(240, 192, 96, 0.05),
    rgba(255, 255, 255, 0.02) 30%
  );
}

/* ============================================================
   SP / CM  踏破者カード COMBO エフェクト
   (E2 グローブリージング + E3 エンバー粒子 + E4 ウォーターマーク光流)
   ============================================================ */
.tc-hof-winner[data-mission="sp"],
.tc-hof-winner[data-mission="cm"] {
  overflow: hidden;
  border-color: rgba(240, 192, 96, 0.25);
  animation: tc-hof-winner-breath 4s ease-in-out infinite;
}

@keyframes tc-hof-winner-breath {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(240, 192, 96, 0.06),
      0 0 0 1px rgba(240, 192, 96, 0.1),
      0 12px 40px -16px rgba(240, 192, 96, 0.35);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(240, 192, 96, 0.15),
      0 0 0 1px rgba(240, 192, 96, 0.25),
      0 12px 60px -10px rgba(240, 192, 96, 0.55);
  }
}

/* 静的ラジアル オーラ (::before) */
.tc-hof-winner[data-mission="sp"]::before,
.tc-hof-winner[data-mission="cm"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top left, rgba(240, 192, 96, 0.08), transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(240, 192, 96, 0.06), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* ウォーターマーク文字光流 (::after) — 14 秒周期で光が通過 */
.tc-hof-winner[data-mission="sp"]::after,
.tc-hof-winner[data-mission="cm"]::after {
  content: attr(data-watermark);
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-family: var(--font-en);
  font-size: clamp(80px, 12vw, 130px);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    110deg,
    rgba(240, 192, 96, 0.04) 0%,
    rgba(240, 192, 96, 0.04) 42%,
    rgba(240, 192, 96, 0.22) 50%,
    rgba(240, 192, 96, 0.04) 58%,
    rgba(240, 192, 96, 0.04) 100%
  );
  background-size: 220% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: tc-hof-winner-wm-shimmer 14s ease-in-out infinite;
}

@keyframes tc-hof-winner-wm-shimmer {
  0%, 35%   { background-position: 220% 0; }
  65%, 100% { background-position: -120% 0; }
}

/* コンテンツが ::before / ::after / embers より前に来るよう z-index */
.tc-hof-winner[data-mission="sp"] > :not(.tc-hof-winner__embers),
.tc-hof-winner[data-mission="cm"] > :not(.tc-hof-winner__embers) {
  position: relative;
  z-index: 1;
}

/* エンバー粒子 (金の粉が下から上昇) */
.tc-hof-winner__embers {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.tc-hof-winner__ember {
  position: absolute;
  bottom: -10px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd080 0%, #f0c060 40%, transparent 100%);
  box-shadow: 0 0 6px rgba(240, 192, 96, 0.8);
  opacity: 0;
  animation: tc-hof-winner-rise 6s linear infinite;
}
@keyframes tc-hof-winner-rise {
  0%   { transform: translate(0, 0) scale(0.6); opacity: 0; }
  10%  { opacity: 0.9; }
  90%  { opacity: 0.6; }
  100% { transform: translate(var(--dx, 0), -400px) scale(0.3); opacity: 0; }
}
.tc-hof-winner__ember:nth-child(1) { left: 8%;  --dx: 20px;  animation-delay: 0s;   }
.tc-hof-winner__ember:nth-child(2) { left: 22%; --dx: -10px; animation-delay: 1.2s; }
.tc-hof-winner__ember:nth-child(3) { left: 38%; --dx: 15px;  animation-delay: 2.4s; }
.tc-hof-winner__ember:nth-child(4) { left: 55%; --dx: -20px; animation-delay: 0.6s; }
.tc-hof-winner__ember:nth-child(5) { left: 70%; --dx: 10px;  animation-delay: 3.0s; }
.tc-hof-winner__ember:nth-child(6) { left: 85%; --dx: -15px; animation-delay: 1.8s; }
.tc-hof-winner__ember:nth-child(7) { left: 92%; --dx: 8px;   animation-delay: 4.2s; }

/* アクセシビリティ: モーション削減環境では全アニメ停止 + 粒子非表示 */
@media (prefers-reduced-motion: reduce) {
  .tc-hof-winner[data-mission="sp"],
  .tc-hof-winner[data-mission="cm"],
  .tc-hof-winner[data-mission="sp"]::after,
  .tc-hof-winner[data-mission="cm"]::after,
  .tc-hof-winner__ember {
    animation: none !important;
  }
  .tc-hof-winner__embers { display: none; }
}

/* レイアウト本体: 上=水平プロフィールバー / 下=フルワイドメディア */
.tc-hof-winner__layout {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.tc-hof-winner__media-col {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

/* 動画と X の両方がある時だけ、メディア列を 2 サブカラムに分割
   (動画は左、X は右 / スクショ・notes は全幅スパン) */
@media (min-width: 900px) {
  .tc-hof-winner__media-col:has(> .tc-hof-winner__videos):has(> .tc-hof-winner__twitter) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 14px;
  }
  .tc-hof-winner__media-col:has(> .tc-hof-winner__videos):has(> .tc-hof-winner__twitter) > .tc-hof-winner__screenshots,
  .tc-hof-winner__media-col:has(> .tc-hof-winner__videos):has(> .tc-hof-winner__twitter) > .tc-hof-winner__notes {
    grid-column: 1 / -1;
  }
  .tc-hof-winner__media-col:has(> .tc-hof-winner__videos):has(> .tc-hof-winner__twitter) > .tc-hof-winner__videos {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }
  .tc-hof-winner__media-col:has(> .tc-hof-winner__videos):has(> .tc-hof-winner__twitter) > .tc-hof-winner__twitter {
    grid-column: 2;
    align-self: start;
    max-width: 100%;
  }
}

.tc-hof-winner__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.tc-hof-winner__title {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.08em;
  margin: 0;
  font-weight: 400;
  flex: 1;
  min-width: 0;
}

.tc-hof-winner[data-title="transcended"] .tc-hof-winner__title {
  color: var(--accent);
}

.tc-hof-winner[data-title="champion"] .tc-hof-winner__title {
  color: var(--accent);
  font-weight: 500;
}

.tc-hof-winner__mission {
  display: inline-block;
  padding: 2px 8px;
  font-family: var(--font-ui);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  flex-shrink: 0;
  white-space: nowrap;
}

.tc-hof-winner[data-mission="sp"] .tc-hof-winner__mission,
.tc-hof-winner[data-mission="cm"] .tc-hof-winner__mission {
  color: var(--accent);
  background: rgba(240, 192, 96, 0.08);
  border-color: rgba(240, 192, 96, 0.2);
}

/* 水平プロフィールバー (アバター + 名前 + メタ + congrats) */
.tc-hof-winner__main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

/* congrats がないときは 2カラム */
.tc-hof-winner__main:not(:has(.tc-hof-winner__congrats)) {
  grid-template-columns: auto minmax(0, 1fr);
}

/* メディア列がないときは下ボーダーなし (プロフィールだけで完結) */
.tc-hof-winner.no-media .tc-hof-winner__main {
  padding-bottom: 0;
  border-bottom: none;
}

.tc-hof-winner__avatar {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  max-width: 96px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--bg-3);
}

.tc-hof-winner__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(255, 255, 255, 0.15);
}

.tc-hof-winner__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tc-hof-winner__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tc-hof-winner__name {
  font-family: var(--font-ja);
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--white);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-weight: 600;
}

.tc-hof-winner__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  flex-wrap: wrap;
}

.tc-hof-winner__job {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  padding: 2px 7px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}

.tc-hof-winner__date {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--text-4);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

.tc-hof-winner__congrats {
  font-family: var(--font-ja);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-2);
  margin: 0;
  padding: 10px 14px;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent);
  font-style: italic;
  justify-self: end;
}

@media (max-width: 780px) {
  .tc-hof-winner__main,
  .tc-hof-winner__main:not(:has(.tc-hof-winner__congrats)) {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 14px;
  }
  .tc-hof-winner__congrats {
    grid-column: 1 / -1;
    justify-self: stretch;
    max-width: none;
  }
}

/* ---- スクリーンショット (メディア列内グリッド + ライトボックス) ----
   data-ss-count で件数に応じたレイアウト (1枚→大きく / 2枚→2カラム / 3枚以上→auto-fit) */
.tc-hof-winner__screenshots {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}

.tc-hof-winner__screenshots[data-ss-count="1"] {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
}

.tc-hof-winner__screenshots[data-ss-count="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

.tc-hof-winner__screenshots[data-ss-count="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tc-hof-winner__screenshots[data-ss-count="4"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
}

/* videos と X が併存する時、スクショは左カラム (fit-content) で動画と並ぶように幅を制限 */
.tc-hof-winner__media-col:has(> .tc-hof-winner__videos):has(> .tc-hof-winner__twitter) .tc-hof-winner__screenshots[data-ss-count="1"] {
  max-width: 100%;
}

@media (max-width: 900px) {
  .tc-hof-winner__screenshots[data-ss-count="3"],
  .tc-hof-winner__screenshots[data-ss-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tc-hof-winner__screenshots,
  .tc-hof-winner__screenshots[data-ss-count="1"],
  .tc-hof-winner__screenshots[data-ss-count="2"],
  .tc-hof-winner__screenshots[data-ss-count="3"],
  .tc-hof-winner__screenshots[data-ss-count="4"] {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 6px;
  }
}

.tc-hof-winner__ss-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: zoom-in;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.tc-hof-winner__ss-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent 40%);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
}

.tc-hof-winner__ss-item:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.tc-hof-winner__ss-item:hover::after {
  opacity: 1;
}

.tc-hof-winner__ss-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s var(--ease);
}

.tc-hof-winner__ss-item:hover img {
  transform: scale(1.04);
}

.tc-hof-winner__ss-zoom {
  position: absolute;
  right: 8px;
  bottom: 6px;
  z-index: 1;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.tc-hof-winner__ss-item:hover .tc-hof-winner__ss-zoom {
  opacity: 0.9;
}

/* ---- ライトボックス ---- */
.tc-hof-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 40px;
  animation: tc-hof-lb-fade 0.15s ease-out;
}

.tc-hof-lightbox.is-open {
  display: flex;
}

@keyframes tc-hof-lb-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tc-hof-lightbox__stage {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-hof-lightbox__img {
  max-width: min(1600px, 100%);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.tc-hof-lightbox__close,
.tc-hof-lightbox__prev,
.tc-hof-lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
  font-family: var(--font-en);
}

.tc-hof-lightbox__close:hover,
.tc-hof-lightbox__prev:hover,
.tc-hof-lightbox__next:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--accent);
  color: var(--accent);
}

.tc-hof-lightbox__close {
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tc-hof-lightbox__prev,
.tc-hof-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 72px;
  font-size: 32px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tc-hof-lightbox__prev { left: 18px; }
.tc-hof-lightbox__next { right: 18px; }

.tc-hof-lightbox__counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 640px) {
  .tc-hof-lightbox { padding: 12px; }
  .tc-hof-lightbox__close { top: 10px; right: 10px; width: 36px; height: 36px; font-size: 22px; }
  .tc-hof-lightbox__prev,
  .tc-hof-lightbox__next { width: 40px; height: 56px; font-size: 26px; }
  .tc-hof-lightbox__prev { left: 8px; }
  .tc-hof-lightbox__next { right: 8px; }
}

/* ---- 動画埋め込み (メディア列内 2カラム) ---- */
.tc-hof-winner__videos {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.tc-hof-winner__video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}

.tc-hof-winner__video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tc-hof-winner__video-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--text-2);
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}

.tc-hof-winner__video-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- Twitter / X 埋め込み ---- */
.tc-hof-winner__twitter {
  margin-top: 0;
  max-width: 550px;
}

.tc-hof-winner__twitter .twitter-tweet {
  margin: 0 !important;
}

/* oEmbed 取得失敗時のフォールバックカード */
.tc-hof-winner__twitter--fallback {
  max-width: 550px;
}
.tc-hof-winner__twitter-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text-2);
  transition: all 0.2s var(--ease);
}
.tc-hof-winner__twitter-card:hover {
  border-color: var(--accent, #f0c060);
  background: rgba(240, 192, 96, 0.05);
}
.tc-hof-winner__twitter-card-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
}
.tc-hof-winner__twitter-card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tc-hof-winner__twitter-card-handle {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
}
.tc-hof-winner__twitter-card-url {
  font-size: 11px;
  color: var(--text-3);
  word-break: break-all;
  overflow-wrap: anywhere;
}
.tc-hof-winner__twitter-card-cta {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent, #f0c060);
  font-family: var(--font-ui);
}
@media (max-width: 560px) {
  .tc-hof-winner__twitter-card-cta { display: none; }
}

/* ---- 備考 ---- */
.tc-hof-winner__notes {
  margin-top: 0;
  padding: 12px 14px;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-3);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-hof-winner__notes p {
  margin: 0;
}

.tc-hof-winner__notes-text {
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.tc-hof-winner__notes-text a {
  color: var(--accent, #f0c060);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* notes 内に埋め込まれた X/Twitter ツイート */
.tc-hof-winner__notes-twitter {
  margin: 0;
}
.tc-hof-winner__notes-twitter .twitter-tweet {
  margin: 0 !important;
}

/* ---- フッター（一覧へ戻る） ---- */
.tc-hof-detail__footer {
  padding: clamp(30px, 5vw, 48px) 20px;
  text-align: center;
  max-width: var(--max-w);
  margin: 0 auto;
}

.tc-hof-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  padding: 12px 28px;
  border: 1px solid var(--line-2);
  transition: all 0.25s var(--ease);
}

.tc-hof-detail__back:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---- モバイル対応 ---- */
@media (max-width: 640px) {
  .tc-hof-winner {
    padding: 20px 16px;
  }

  .tc-hof-winner__avatar {
    width: 84px;
    height: 84px;
    max-width: 84px;
  }

  .tc-hof-gs {
    padding: 24px;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .tc-hof-gs__icon {
    font-size: 50px;
  }

  .tc-hof-timeline {
    padding-left: 20px;
  }

  .tc-hof-timeline__item {
    flex-direction: column;
    gap: 4px;
  }

  .tc-hof-timeline__dt {
    min-width: 0;
  }

  .tc-hof-season__header {
    padding: 16px 20px;
  }

  .tc-hof-season__body {
    padding: 16px 20px;
  }

  .tc-hof-season__footer {
    padding: 12px 20px;
  }
}

/* ===== Phase 3-J: Hall of Fame 進行中バッジ / バナー / NEWS ===== */

.tc-hof-hero__ongoing-badge {
  display: inline-block;
  margin-left: 14px;
  padding: 4px 12px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bg);
  background: var(--accent);
  vertical-align: middle;
  animation: tc-hof-ongoing-pulse 2.4s ease-in-out infinite;
}

@keyframes tc-hof-ongoing-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 200, 60, 0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(255, 200, 60, 0);    }
}

.tc-hof-hero--current .tc-hof-hero__title {
  color: var(--accent);
}

.tc-hof-hero__ongoing-banner {
  margin: 14px auto 0;
  max-width: 620px;
  padding: 8px 14px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 200, 60, 0.08);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-2);
  text-align: left;
}

/* ===== NEWS ブロック（タイムライン・カード型） ===== */
.tc-hof-block--news { padding-top: clamp(20px, 3vw, 32px); }

.tc-hof-news {
  max-width: 860px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tc-hof-news__item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 14px 18px 14px 14px;
  border-left: 3px solid var(--line-2);
  background: transparent;
  transition: background 0.2s var(--ease);
}

.tc-hof-news__item + .tc-hof-news__item {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tc-hof-news__item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.tc-hof-news__item--auto_approval   { border-left-color: #3cc87a; }
.tc-hof-news__item--auto_grand_slam { border-left-color: #f0c060; }
.tc-hof-news__item--announcement    { border-left-color: #4a90e2; }
.tc-hof-news__item--maintenance     { border-left-color: #e05656; }
.tc-hof-news__item--event           { border-left-color: #a37bd4; }
.tc-hof-news__item--system          { border-left-color: #888; }

/* 左カラム: 日時 */
.tc-hof-news__time {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-top: 3px;
  font-family: var(--font-en);
  font-variant-numeric: tabular-nums;
  color: var(--text-4);
  line-height: 1.2;
}

.tc-hof-news__date {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.tc-hof-news__hm {
  font-size: 11px;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

/* 右カラム: 内容 */
.tc-hof-news__body-wrap {
  min-width: 0;
}

.tc-hof-news__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.tc-hof-news__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-ui);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
}

.tc-hof-news__item--auto_approval   .tc-hof-news__chip { background: rgba(60, 200, 122, 0.14); color: #7fe0a5; }
.tc-hof-news__item--auto_grand_slam .tc-hof-news__chip { background: rgba(240, 192, 96, 0.16); color: #f0c060; }
.tc-hof-news__item--announcement    .tc-hof-news__chip { background: rgba(74, 144, 226, 0.14); color: #8bb9ef; }
.tc-hof-news__item--maintenance     .tc-hof-news__chip { background: rgba(224, 86, 86, 0.14); color: #ef9090; }
.tc-hof-news__item--event           .tc-hof-news__chip { background: rgba(163, 123, 212, 0.14); color: #c7a9ee; }

.tc-hof-news__icon { font-size: 13px; line-height: 1; }

.tc-hof-news__title {
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-1);
}

.tc-hof-news__body {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-3);
  white-space: pre-wrap;
}

.tc-hof-news__link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-decoration: none;
}

.tc-hof-news__link:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .tc-hof-news__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }
  .tc-hof-news__time {
    flex-direction: row;
    align-items: baseline;
    align-self: flex-start;
    gap: 6px;
  }
}

/* =============================================
   THE RECORD — 拡張セクション
   Poem / TOC / About / Rules / Prizes
============================================= */

/* ---- Poem（Hero 内の詩） ---- */
.tc-record-poem {
  margin: 36px auto 0;
  max-width: 560px;
  text-align: center;
}

.tc-record-poem__line {
  font-family: var(--font-ja);
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin: 0;
}
.tc-record-poem__line:nth-child(odd) {
  color: var(--accent);
  opacity: 0.95;
}

/* 英語版 hero の場合は serif を使う */
[lang="en"] .tc-record-poem__line,
html:lang(en) .tc-record-poem__line {
  font-family: var(--font-en);
  font-style: italic;
  letter-spacing: 0.03em;
}

.tc-record-poem--alt {
  margin: 28px auto 0;
  max-width: 520px;
  opacity: 0.5;
}
.tc-record-poem--alt p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-4);
  letter-spacing: 0.03em;
  margin: 4px 0;
  font-style: italic;
}

/* ---- 目次 (TOC) ---- */
.tc-record-toc-outer {
  background: var(--bg-2);
  padding: clamp(40px, 6vw, 60px) 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tc-record-toc {
  max-width: var(--max-w);
  margin: 0 auto;
}
.tc-record-toc__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  text-align: center;
  opacity: 0.85;
}
.tc-record-toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.tc-record-toc__list li {
  background: var(--bg);
}
.tc-record-toc__list a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
  min-height: 80px;
  justify-content: center;
}
.tc-record-toc__list a:hover {
  background: var(--bg-hover);
  color: var(--white);
}
.tc-record-toc__num {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  opacity: 0.85;
}
.tc-record-toc__text {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-2);
  font-weight: 500;
}
@media (max-width: 720px) {
  .tc-record-toc__list {
    grid-template-columns: 1fr 1fr;
  }
  .tc-record-toc__list a {
    padding: 14px 16px;
    min-height: 70px;
  }
}

/* ---- 汎用セクション（Block） ---- */
.tc-record-block {
  background: var(--bg);
  padding: clamp(60px, 9vw, 100px) 20px;
  border-bottom: 1px solid var(--line);
}
.tc-record-block__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.tc-record-block__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 40px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tc-record-block__num {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--accent);
  flex: 0 0 auto;
  opacity: 0.9;
}
.tc-record-block__title {
  font-family: var(--font-ja);
  font-size: clamp(22px, 3.5vw, 30px);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
  color: var(--white);
  line-height: 1.3;
}

.tc-record-block__body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-2);
  margin: 0 0 16px;
}
.tc-record-block__body p:last-child {
  margin-bottom: 0;
}
.tc-record-block__body strong {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* About ブロックはヒーロー詩の流れを汲む短文 3 行構成なので中央揃え */
.tc-record-block--about .tc-record-block__body {
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.tc-record-block--about .tc-record-block__body p {
  line-height: 1.9;
}

.tc-record-block__quote {
  font-family: var(--font-ja);
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 36px 0 0;
  text-align: center;
  opacity: 0.9;
}

.tc-record-block__lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
  margin: 0 0 28px;
}

.tc-record-block__note {
  font-size: 12px;
  color: var(--text-4);
  letter-spacing: 0.02em;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  line-height: 1.7;
}

.tc-record-block__cta {
  margin-top: 32px;
  text-align: center;
}

/* ---- Steps（参加条件リスト） ---- */
.tc-record-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  counter-reset: record-step;
}

.tc-record-step {
  display: flex;
  gap: 20px;
  padding: 22px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.tc-record-step:hover {
  background: var(--bg-3);
  border-left-color: var(--accent-2);
}

.tc-record-step__num {
  flex: 0 0 auto;
  font-family: var(--font-en);
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.85;
  line-height: 1.3;
  min-width: 36px;
}

.tc-record-step__body {
  flex: 1;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
}
.tc-record-step__body strong {
  color: var(--accent);
  font-weight: 500;
}
.tc-record-step__body code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12.5px;
  color: var(--white);
  background: var(--bg);
  padding: 2px 8px;
  border: 1px solid var(--line);
  letter-spacing: 0.02em;
}
.tc-record-step__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 192, 96, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tc-record-step__link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ---- Discord CTA button（参加条件末尾） ---- */
.tc-record-discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-ja);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.tc-record-discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(88, 101, 242, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.tc-record-discord-btn__icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ---- Encourage（#クリア報告 チャンネル共有への軽い促し） ---- */
.tc-record-encourage {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(88, 101, 242, 0.06);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.tc-record-encourage__icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1.5;
}
.tc-record-encourage__text {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.tc-record-encourage__text code {
  font-family: var(--font-en);
  font-size: 12px;
  padding: 1px 6px;
  margin: 0 2px;
  color: var(--accent);
  background: rgba(240, 192, 96, 0.1);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 4px;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .tc-record-encourage {
    padding: 14px 16px;
    gap: 10px;
  }
  .tc-record-encourage__text {
    font-size: 12.5px;
  }
}

/* ---- Prizes ---- */
.tc-record-prizes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tc-prize-card {
  position: relative;
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tc-prize-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}
.tc-prize-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.tc-prize-card__badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.3em;
  color: var(--bg);
  background: var(--accent);
  padding: 5px 12px;
  margin-bottom: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

/* 非スペシャルカード側のプレースホルダー:
   バッジ高さぶんの空きを確保し、GIL 金額の縦位置を揃える。 */
.tc-prize-card__badge-slot {
  display: block;
  /* font-size(10px) * line-height(1.2) = 12px  +  padding 5px×2 = 22px  +  margin-bottom 18px = 40px */
  height: 22px;
  margin-bottom: 18px;
  visibility: hidden;
}

.tc-prize-card__label {
  font-family: var(--font-ja);
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  min-height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-prize-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}
.tc-prize-card__num {
  font-family: var(--font-en);
  font-size: clamp(26px, 4.5vw, 36px);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tc-prize-card__unit {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}

.tc-prize-card__sub {
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.tc-prize-card--special {
  background: linear-gradient(155deg, var(--bg-2) 0%, var(--bg-3) 100%);
  border-color: rgba(240, 192, 96, 0.3);
}
.tc-prize-card--special::before {
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 1;
}

@media (max-width: 640px) {
  .tc-record-prizes {
    grid-template-columns: 1fr;
  }
  .tc-prize-card {
    padding: 26px 22px;
  }
  .tc-prize-card__label {
    min-height: auto;
  }
  /* モバイルは縦並びなので高さ揃えのプレースホルダーは不要 */
  .tc-prize-card__badge-slot {
    display: none;
  }
}

/* ---- Hashtag ---- */
.tc-record-hashtag {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.tc-record-hashtag__label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-4);
}
.tc-record-hashtag__tag {
  font-family: var(--font-en);
  font-size: clamp(15px, 2vw, 18px);
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 500;
  user-select: all;
}

/* ---- WINNER セクション見出し調整 ---- */
.tc-record-block__head--winner {
  margin-bottom: clamp(24px, 3vw, 32px);
}

/* ---- スクロールオフセット（ヘッダー分） ---- */
#about,
#rules,
#prizes,
#winner {
  scroll-margin-top: 80px;
}

/* =============================================================
   TC NAVIGATION — Sigil Rail (Desktop) + Tab Bar (Mobile)
   2026-04 本実装
   ============================================================= */

:root {
  --tc-topbar-h:      36px;
  --tc-rail-w:        72px;
  --tc-rail-w-open:   260px;
  --tc-tabbar-h:      72px;
  --tc-nav-line:      rgba(255, 255, 255, 0.08);
  --tc-nav-line-2:    rgba(255, 255, 255, 0.14);
  --tc-nav-dim:       rgba(232, 228, 214, 0.55);
  --tc-nav-faint:     rgba(232, 228, 214, 0.28);
  --tc-nav-fg:        #e8e4d6;
  --tc-nav-bg:        #0d0c10;
  --tc-nav-bg-deep:   #07060b;
}

/* ---- Body padding (space for topbar / rail / tab bar) --------- */
body { padding-top: var(--tc-topbar-h); }

@media (min-width: 1024px) {
  body { padding-left: var(--tc-rail-w); }
}
@media (max-width: 1023.98px) {
  body { padding-bottom: var(--tc-tabbar-h); }
}

/* 旧 topbar 要素を非表示 (新しい .tc-topbar は header role banner で区別) */
.tc-topbar-outer,
.tc-mobile-menu,
.tc-backdrop { display: none !important; }

/* =============================================
   TOP BAR (全ビューポート共通、sticky / ミニマル)
   — 反対言語へのトグルボタンのみ、バーそのものは完全透過
   ============================================= */
.tc-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--tc-topbar-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
  pointer-events: none; /* Hero の操作を邪魔しない */
  background: transparent;
}

/* 一方向トグルボタン: 現在が JA なら "EN"、EN なら "JA" を出す */
.tc-lang-toggle {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 11px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tc-nav-fg);
  text-decoration: none;
  line-height: 1;
  border: 1px solid rgba(232, 228, 214, 0.22);
  border-radius: 999px;
  background: rgba(7, 6, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.tc-lang-toggle__icon {
  width: 13px;
  height: 13px;
  opacity: 0.6;
  transition: opacity 0.2s;
  flex: none;
}
.tc-lang-toggle__tx {
  /* 末尾の letter-spacing による右ズレを視覚的に補正 */
  padding-left: 1px;
}
.tc-lang-toggle:hover {
  color: var(--accent);
  border-color: rgba(240, 192, 96, 0.5);
  background: rgba(15, 12, 20, 0.78);
}
.tc-lang-toggle:hover .tc-lang-toggle__icon { opacity: 0.95; }
.tc-lang-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Phase 5-E #31: ヘッダ Help (FAQ) アイコン — tc-lang-toggle と同系統 */
.tc-help-link {
  /* topbar 親が pointer-events: none なので必ず auto に戻す */
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 11px;
  margin-right: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tc-nav-fg);
  text-decoration: none;
  line-height: 1;
  border: 1px solid rgba(232, 228, 214, 0.22);
  border-radius: 999px;
  background: rgba(7, 6, 11, 0.62);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tc-help-link__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;        /* flex 内で絶対固定 */
  display: block;
  opacity: 0.85;
}
.tc-help-link__tx {
  font-weight: 500;
  white-space: nowrap;
}
.tc-help-link:hover {
  color: var(--accent, #f0c060);
  border-color: rgba(240,192,96,0.5);
  background: rgba(240,192,96,0.06);
}
.tc-help-link:hover .tc-help-link__icon { opacity: 1; }
.tc-help-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  /* モバイルではテキスト隠してアイコンのみの円形ボタンに */
  .tc-help-link {
    padding: 0;
    margin-right: 6px;
    width: 32px;
    height: 32px;
    justify-content: center;
    gap: 0;
  }
  .tc-help-link__tx { display: none; }
  .tc-help-link__icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
  }
}

/* Phase 5-D #12: 言語切替時のフリッカー抑止 — html.tc-lang-switching でフェード */
html.tc-lang-switching body {
  transition: opacity 180ms ease, filter 180ms ease;
  opacity: 0.4;
  filter: blur(2px);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  html.tc-lang-switching body { transition: none; opacity: 1; filter: none; }
}

/* モバイル微調整 */
@media (max-width: 640px) {
  .tc-topbar { padding: 0 14px; }
  .tc-lang-toggle {
    font-size: 10px;
    padding: 4px 11px 4px 9px;
    gap: 6px;
  }
  .tc-lang-toggle__icon { width: 12px; height: 12px; }
}

/* =============================================
   TOP BAR — Login / User block (監査 B-1, 2026-05)
   - 言語トグルの **左隣** に配置
   - 未ログイン: .tc-topbar-login (ボタン)
   - ログイン中: .tc-topbar-user  (アバター + 名前)
   - 並び: [ Login or User ] [ gap ] [ Lang Toggle ]
   ============================================= */
.tc-topbar { gap: 8px; }   /* Login と Lang の隙間用 */

/* HTML5 [hidden] が display:inline-flex 等で上書きされない様、明示的に隠す
   (これが無いと未ログイン/ログイン中で両方のボタンが同時表示される) */
.tc-topbar-login[hidden],
.tc-topbar-user-wrap[hidden],
.tc-topbar-user-menu[hidden],
.tc-hero-cta[hidden] {
  display: none !important;
}

/* User wrapper (avatar + name + caret + dropdown 親) */
.tc-topbar-user-wrap {
  pointer-events: auto;
  position: relative;
  display: inline-block;
}

/* --- 未ログイン: Discord Login button --- */
.tc-topbar-login {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  line-height: 1;
  border: 1px solid rgba(240, 192, 96, 0.42);
  border-radius: 999px;
  background: rgba(7, 6, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.tc-topbar-login__icon {
  width: 13px; height: 13px;
  flex: none;
}
.tc-topbar-login:hover {
  color: #fff8e0;
  border-color: var(--accent);
  background: rgba(15, 12, 20, 0.78);
  box-shadow: 0 0 12px rgba(240, 192, 96, 0.22);
}
.tc-topbar-login:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- ログイン中: User block (button) --- */
.tc-topbar-user {
  /* button のデフォルトを潰す */
  font: inherit;
  cursor: pointer;
  /* スタイル本体 */
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 4px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--tc-nav-fg);
  text-decoration: none;
  line-height: 1;
  border: 1px solid rgba(232, 228, 214, 0.18);
  border-radius: 999px;
  background: rgba(7, 6, 11, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  max-width: 220px;
}
.tc-topbar-user__caret {
  font-size: 9px;
  color: var(--text-3, #707070);
  margin-left: 1px;
  transition: transform 0.2s var(--ease);
}
.tc-topbar-user[aria-expanded="true"] .tc-topbar-user__caret {
  transform: rotate(180deg);
}
.tc-topbar-user:hover {
  color: var(--accent);
  border-color: rgba(240, 192, 96, 0.45);
  background: rgba(15, 12, 20, 0.78);
}
.tc-topbar-user:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.tc-topbar-user__avatar {
  position: relative;
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  border: 1px solid rgba(240, 192, 96, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tc-topbar-user__avatar-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tc-topbar-user__avatar-fallback {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
}
.tc-topbar-user__name {
  display: inline-block;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Dropdown menu --- */
.tc-topbar-user-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  background: rgba(15, 12, 20, 0.96);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  z-index: 1010;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: tcUserMenuIn 0.18s var(--ease);
}
@keyframes tcUserMenuIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tc-topbar-user-menu__item {
  /* button + a 共通 */
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--tc-nav-fg, #e8e4d6);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}
.tc-topbar-user-menu__item:hover,
.tc-topbar-user-menu__item:focus-visible {
  background: rgba(240, 192, 96, 0.08);
  color: var(--accent);
  outline: none;
}
.tc-topbar-user-menu__item--danger {
  color: rgba(243, 200, 200, 0.85);
}
.tc-topbar-user-menu__item--danger:hover,
.tc-topbar-user-menu__item--danger:focus-visible {
  background: rgba(220, 80, 80, 0.12);
  color: #ffb8b8;
}
.tc-topbar-user-menu__ico {
  flex: none;
  opacity: 0.85;
}

/* モバイル: User block で名前を省略 (アバターのみ) */
@media (max-width: 640px) {
  .tc-topbar-login {
    font-size: 10px;
    padding: 4px 10px 4px 8px;
  }
  .tc-topbar-login__icon { width: 12px; height: 12px; }
  .tc-topbar-user__name {
    /* 名前は完全に隠してアバターのみ。タップヒットエリアは確保 */
    display: none;
  }
  .tc-topbar-user {
    padding: 3px 4px;
    gap: 4px;
  }
  .tc-topbar-user__caret {
    font-size: 8px;
    margin-left: 0;
  }
  .tc-topbar-user-menu {
    min-width: 180px;
    /* モバイル右端で見切れないよう余白 */
    right: -4px;
  }
}

/* --- WordPress 管理バー対応 --------------------------------
   ログイン中は WP の admin bar (≥601px: 32px / 601–782px: 46px) が
   top:0 に position:fixed で被せられるので、TopBar / Rail をその分下げる。
   ≤600px では admin bar が position:absolute に変わるので追従不要。
------------------------------------------------------------- */
@media screen and (min-width: 783px) {
  .admin-bar .tc-topbar { top: 32px; }
}
@media screen and (min-width: 601px) and (max-width: 782px) {
  .admin-bar .tc-topbar { top: 46px; }
}
@media screen and (min-width: 1024px) {
  .admin-bar .tc-rail { top: calc(var(--tc-topbar-h) + 32px); }
}

/* =============================================
   DESKTOP SIGIL RAIL (≥1024px)
   ============================================= */
.tc-rail {
  display: none;
}

@media (min-width: 1024px) {
  .tc-rail {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--tc-topbar-h); left: 0; bottom: 0;
    width: var(--tc-rail-w);
    background: linear-gradient(180deg, #0d0c10 0%, #07060b 100%);
    border-right: 1px solid var(--tc-nav-line-2);
    z-index: 900;
    transition: width 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
    color: var(--tc-nav-fg);
    font-family: var(--font-ui);
  }
  .tc-rail:hover,
  .tc-rail:focus-within {
    width: var(--tc-rail-w-open);
  }

  /* --- nav 全体 --- */
  .tc-rail__nav {
    flex: 1;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: visible;
  }

  /* --- nav アイテム --- */
  .tc-rail__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 24px;
    color: var(--tc-nav-dim);
    border-left: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
    text-decoration: none;
    outline: none;
  }
  .tc-rail__item:hover,
  .tc-rail__item:focus-visible {
    background: rgba(240, 192, 96, 0.06);
    color: var(--tc-nav-fg);
    border-left-color: var(--accent);
  }
  .tc-rail__item.is-current {
    background: rgba(240, 192, 96, 0.08);
    color: var(--accent);
    border-left-color: var(--accent);
  }

  .tc-rail__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
  }
  .tc-rail__icon svg { width: 22px; height: 22px; }

  .tc-rail__label {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    opacity: 0;
    transition: opacity 0.2s 0.08s;
  }
  .tc-rail:hover .tc-rail__label,
  .tc-rail:focus-within .tc-rail__label { opacity: 1; }

  .tc-rail__label-ja {
    font-family: var(--font-ja);
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: inherit;
  }
  .tc-rail__label-en {
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--tc-nav-faint);
    line-height: 1;
  }
  .tc-rail__item.is-current .tc-rail__label-en { color: var(--accent-2); }

  .tc-rail__caret {
    margin-left: auto;
    font-family: var(--font-ui);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s 0.08s, transform 0.25s;
    color: var(--tc-nav-faint);
  }
  .tc-rail:hover .tc-rail__caret,
  .tc-rail:focus-within .tc-rail__caret { opacity: 0.6; }
  .tc-rail__item--has-sub:hover .tc-rail__caret,
  .tc-rail__item--has-sub.is-open .tc-rail__caret { opacity: 1; color: var(--accent); }

  /* --- STUDIO flyout submenu --- */
  .tc-rail__sub {
    position: absolute;
    top: 0;
    left: 100%;
    width: 270px;
    background: #0e0d12;
    border: 1px solid var(--tc-nav-line-2);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(240, 192, 96, 0.06);
    padding: 12px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.25s, transform 0.25s;
    z-index: 5;
  }
  .tc-rail__item--has-sub:hover > .tc-rail__sub,
  .tc-rail__item--has-sub.is-open > .tc-rail__sub,
  .tc-rail__sub:hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .tc-rail__sub-title {
    padding: 4px 20px 10px;
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 0.25em;
    color: var(--tc-nav-faint);
    border-bottom: 1px solid var(--tc-nav-line);
    margin-bottom: 6px;
  }
  .tc-rail__sub-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    color: var(--tc-nav-fg);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
  }
  .tc-rail__sub-item:hover,
  .tc-rail__sub-item:focus-visible {
    background: rgba(240, 192, 96, 0.08);
    outline: none;
  }
  .tc-rail__sub-item.is-current {
    background: rgba(240, 192, 96, 0.10);
    color: var(--accent);
  }
  .tc-rail__sub-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent-2);
    display: flex; align-items: center; justify-content: center;
  }
  .tc-rail__sub-icon svg { width: 20px; height: 20px; }
  .tc-rail__sub-m {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .tc-rail__sub-m .m-ja {
    font-family: var(--font-ja);
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.2;
  }
  .tc-rail__sub-m .m-en {
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 0.22em;
    color: var(--tc-nav-dim);
    line-height: 1;
  }

}

/* =============================================
   MOBILE TAB BAR (< 1024px)
   ============================================= */
.tc-tabbar {
  display: none;
}

@media (max-width: 1023.98px) {
  .tc-tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: var(--tc-tabbar-h);
    padding: 8px 2px calc(8px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, rgba(7, 6, 11, 0.92), rgba(7, 6, 11, 0.98));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--tc-nav-line-2);
    justify-content: space-around;
    z-index: 900;
    font-family: var(--font-ui);
    /* Phase 5-D #13: input focus 中は退避 (footer.php JS が body にクラスを付ける) */
    transform: translateY(0);
    transition: transform 240ms cubic-bezier(0.22,1,0.36,1), opacity 200ms ease;
  }
  body.tc-tabbar-hidden .tc-tabbar {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }

  .tc-tabbar__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 2px;
    color: var(--tc-nav-faint);
    text-decoration: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    min-width: 0;
    font: inherit;
  }
  .tc-tabbar__item:hover,
  .tc-tabbar__item:focus-visible {
    color: var(--accent);
    outline: none;
  }
  .tc-tabbar__item.is-current { color: var(--accent); }
  .tc-tabbar__item.is-current::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 24px; height: 2px;
    background: var(--accent);
  }

  .tc-tabbar__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
  }
  .tc-tabbar__icon svg { width: 22px; height: 22px; }

  .tc-tabbar__tx {
    font-size: 9px;
    letter-spacing: 0.14em;
    font-family: var(--font-ja);
    white-space: nowrap;
  }
}

/* =============================================
   STUDIO BOTTOM SHEET (mobile only)
   ============================================= */
.tc-sheet,
.tc-sheet-back { display: none; }

@media (max-width: 1023.98px) {
  .tc-sheet-back {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 950;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .tc-sheet-back.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .tc-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0; right: 0;
    bottom: 0;
    background: #0e0d12;
    border-top: 1px solid var(--tc-nav-line-2);
    border-radius: 20px 20px 0 0;
    padding: 6px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 960;
    transform: translateY(110%);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    color: var(--tc-nav-fg);
    font-family: var(--font-ui);
    max-height: 85vh;
    overflow-y: auto;
  }
  .tc-sheet.is-open { transform: translateY(0); }

  .tc-sheet__handle-btn {
    background: transparent;
    border: 0;
    padding: 6px 0 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    width: 100%;
  }
  .tc-sheet__handle {
    display: block;
    width: 40px;
    height: 4px;
    background: var(--tc-nav-line-2);
    border-radius: 2px;
  }

  .tc-sheet__title {
    padding: 6px 20px 4px;
    font-family: var(--font-ui);
    font-size: 10px;
    letter-spacing: 0.25em;
    color: var(--accent);
  }
  .tc-sheet__sub-desc {
    padding: 0 20px 12px;
    font-family: var(--font-ja);
    font-size: 19px;
    letter-spacing: 0.04em;
    color: var(--tc-nav-fg);
    border-bottom: 1px solid var(--tc-nav-line);
  }

  .tc-sheet__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    color: var(--tc-nav-fg);
    text-decoration: none;
    border-bottom: 1px solid var(--tc-nav-line);
    transition: background 0.15s;
  }
  .tc-sheet__item:hover,
  .tc-sheet__item:focus-visible {
    background: rgba(240, 192, 96, 0.05);
    outline: none;
  }
  .tc-sheet__item.is-current {
    background: rgba(240, 192, 96, 0.10);
  }
  .tc-sheet__item-ico {
    width: 26px; height: 26px;
    color: var(--accent-2);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .tc-sheet__item-ico svg { width: 26px; height: 26px; }

  .tc-sheet__item-m {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }
  .tc-sheet__item-t {
    font-family: var(--font-ja);
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 1.2;
  }
  .tc-sheet__item-s {
    font-family: var(--font-ui);
    font-size: 9px;
    letter-spacing: 0.2em;
    color: var(--tc-nav-dim);
    line-height: 1;
  }
  .tc-sheet__item-arrow {
    color: var(--tc-nav-faint);
    font-family: var(--font-ui);
    font-size: 14px;
  }

  /* シート open 時に背景スクロール抑止 */
  body.tc-sheet-open { overflow: hidden; }
}

/* =============================================
   旧スクロールプログレス (.tc-progress) の位置調整
   — 右下の tab bar と重ならないように ---------- */
@media (max-width: 1023.98px) {
  .tc-progress { bottom: calc(var(--tc-tabbar-h) + 12px) !important; }
  .tc-to-top   { bottom: calc(var(--tc-tabbar-h) + 16px) !important; }
}

/* =================================================================
   Phase 4-A1: 下書き復元モーダル (apply.js / record-apply.js)
================================================================= */
.tc-apply-draft-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tc-draft-fade 220ms ease;
}
@keyframes tc-draft-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.tc-apply-draft-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(3px);
}
.tc-apply-draft-modal__panel {
  position: relative;
  background: var(--bg-2);
  border: 1px solid rgba(240,192,96,0.25);
  padding: 32px 28px 24px;
  max-width: 380px;
  width: calc(100% - 32px);
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 16px 60px rgba(0,0,0,0.6),
              inset 0 0 0 1px rgba(255,255,255,0.04);
  animation: tc-draft-slide 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes tc-draft-slide {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.tc-apply-draft-modal__icon {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1;
}
.tc-apply-draft-modal__title {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 500;
}
.tc-apply-draft-modal__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 20px;
}
.tc-apply-draft-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.tc-apply-draft-modal__actions .tc-apply-btn {
  flex: 1;
  max-width: 140px;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 10px 16px;
}

/* =================================================================
   Phase 3-P: MyPage Dashboard (mypage.js が描画する)
   モックアップ v4 と同じ class 構造を維持
================================================================= */

.tc-mypage-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
}
.tc-mypage-loading__spinner {
  width: 24px; height: 24px;
  margin: 0 auto 16px;
  border: 2px solid var(--line-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: tc-dash-spin 0.9s linear infinite;
}
@keyframes tc-dash-spin { to { transform: rotate(360deg); } }

.tc-mypage-error {
  padding: 32px 24px;
  text-align: center;
  color: var(--text-2);
}
.tc-mypage-error__detail { color: var(--text-4); margin-top: 12px; }

/* ---- Dashboard root ---- */
.tc-dash {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 28px;
  color: var(--text-2);
  font-family: var(--font-ja);
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  overflow: hidden;
}

/* 細い金アクセント (左上エッジ) */
.tc-dash::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.6;
}

/* ---- エントランスアニメーション ---- */
.tc-dash__anim-wrap > * {
  animation: tc-dash-fade-up 500ms var(--ease, ease) both;
}
.tc-dash__header      { animation-delay: 0ms; }
.tc-dash__archive-banner { animation-delay: 80ms; }
.tc-dash__section--1  { animation-delay: 140ms; }
.tc-dash__section--2  { animation-delay: 220ms; }
.tc-dash__section--3  { animation-delay: 300ms; }
.tc-dash__section--4  { animation-delay: 380ms; }
.tc-dash__sidebar     { animation: tc-dash-fade-up 500ms var(--ease, ease) 260ms both; }

@keyframes tc-dash-fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* グリッドセル stagger */
.tc-prog-grid__cell {
  animation: tc-dash-fade-up 420ms var(--ease, ease) both;
}
.tc-sub-row {
  animation: tc-dash-fade-up 360ms var(--ease, ease) both;
}
.tc-news-item {
  animation: tc-dash-fade-up 360ms var(--ease, ease) both;
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  .tc-dash__anim-wrap > *,
  .tc-prog-grid__cell,
  .tc-sub-row,
  .tc-news-item,
  .tc-dash__sidebar {
    animation: none !important;
  }
  a.tc-st.tc-st--apply { animation: none !important; }
}

/* ---- Phase 3-P2: Test Mode (管理者プレビュー) ---- */
.tc-dash__test-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, rgba(220, 80, 80, 0.18), rgba(220, 80, 80, 0.05));
  border: 1px solid rgba(220, 80, 80, 0.55);
  border-radius: 3px;
  padding: 10px 16px;
  margin-bottom: 18px;
  color: #ff9f9f;
  font-family: var(--font-ui, sans-serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.tc-dash__test-banner-dot {
  color: #ff5050;
  animation: tc-dash-test-pulse 1.6s ease-in-out infinite;
}
@keyframes tc-dash-test-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
.tc-dash__test-banner strong {
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffb9b9;
}

.tc-dash__test-panel {
  background: #141414;
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 3px;
  margin-bottom: 18px;
  font-family: var(--font-ui, sans-serif);
  color: #d8d8d8;
}
.tc-dash__test-panel.is-active {
  border-color: rgba(220, 80, 80, 0.45);
  box-shadow: 0 0 0 1px rgba(220, 80, 80, 0.08) inset;
}
.tc-dash__test-summary {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 192, 96, 0.9);
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  user-select: none;
}
.tc-dash__test-summary::-webkit-details-marker { display: none; }
.tc-dash__test-summary::before {
  content: '▶';
  font-size: 9px;
  color: rgba(240, 192, 96, 0.5);
  transition: transform 0.2s ease;
}
.tc-dash__test-panel[open] .tc-dash__test-summary::before { transform: rotate(90deg); }
.tc-dash__test-badge {
  background: rgba(220, 80, 80, 0.25);
  color: #ff9f9f;
  border: 1px solid rgba(220, 80, 80, 0.55);
  border-radius: 2px;
  padding: 2px 8px;
  font-size: 9px;
  letter-spacing: 0.3em;
  margin-left: auto;
}
.tc-dash__test-body {
  padding: 6px 16px 16px;
  border-top: 1px solid rgba(240, 192, 96, 0.12);
}
.tc-dash__test-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(240, 192, 96, 0.1);
}
.tc-dash__test-row:last-child { border-bottom: none; }
.tc-dash__test-row-label {
  flex: 0 0 auto;
  min-width: 120px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(240, 192, 96, 0.8);
}
.tc-dash__test-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tc-dash__test-check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border: 1px solid rgba(240, 192, 96, 0.2);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 12px;
  color: #b8b8b8;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tc-dash__test-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(240, 192, 96, 0.4);
  border-radius: 1px;
  margin: 0;
  position: relative;
  background: transparent;
}
.tc-dash__test-check input[type="checkbox"]:checked {
  background: var(--accent, #f0c060);
  border-color: var(--accent, #f0c060);
}
.tc-dash__test-check input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 3px;
  height: 6px;
  border: solid #1c1c1c;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.tc-dash__test-check.is-on {
  background: rgba(240, 192, 96, 0.1);
  border-color: rgba(240, 192, 96, 0.6);
  color: var(--accent, #f0c060);
}
.tc-dash__test-check:hover { color: var(--accent, #f0c060); }
.tc-dash__test-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}
.tc-dash__test-btn {
  background: transparent;
  border: 1px solid rgba(240, 192, 96, 0.3);
  color: rgba(232, 232, 232, 0.8);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  cursor: pointer;
  border-radius: 2px;
  text-transform: uppercase;
}
.tc-dash__test-btn:hover {
  color: var(--accent, #f0c060);
  border-color: rgba(240, 192, 96, 0.6);
}
@media (max-width: 540px) {
  .tc-dash__test-row-label { min-width: 0; flex: 1 1 100%; }
}

/* ---- Header ---- */
.tc-dash__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tc-dash__greet { flex: 1; min-width: 240px; }
.tc-dash__eyebrow {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tc-dash--past .tc-dash__eyebrow { color: var(--info, #85b7eb); }
.tc-dash__greet-line {
  font-size: 20px;
  color: var(--white);
  letter-spacing: 0.04em;
}
.tc-dash__name { color: var(--accent); }

.tc-dash__header-right {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.tc-dash__logout {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-3);
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 10px 14px;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}
.tc-dash__logout:hover { color: var(--white); border-color: var(--text-3); }

/* ---- Season selector ---- */
.tc-season-select {
  position: relative;
  display: inline-block;
  min-width: 200px;
}
.tc-season-select__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-4);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tc-season-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: rgba(240,192,96,0.04);
  border: 1px solid rgba(240,192,96,0.3);
  color: var(--accent);
  padding: 10px 34px 10px 14px;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  border-radius: 2px;
}
.tc-season-select select:focus { outline: none; border-color: var(--accent); }
.tc-season-select::after {
  content: '▾';
  position: absolute;
  right: 14px;
  bottom: 11px;
  color: var(--accent);
  pointer-events: none;
  font-size: 12px;
}

/* ---- Archive banner ---- */
.tc-dash__archive-banner {
  background: rgba(133,183,235,0.06);
  border-left: 2px solid var(--info, #85b7eb);
  padding: 12px 16px;
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--text-2);
}
.tc-dash__archive-banner strong {
  color: var(--info, #85b7eb);
  font-weight: 400;
  letter-spacing: 0.05em;
}

/* ---- Two-column layout ---- */
.tc-dash__two-col {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
}
/* サイドバー不要時（審査中なし + 現行シーズン）は 1 カラムに広げる */
.tc-dash--no-sidebar .tc-dash__two-col {
  grid-template-columns: 1fr;
}
@media (max-width: 860px) {
  .tc-dash__two-col { grid-template-columns: 1fr; }
  .tc-dash__header  { align-items: flex-start; }
}

/* ---- Slam Bar ---- */
.tc-slam-bar {
  background: linear-gradient(90deg, rgba(240,192,96,0.12), rgba(240,192,96,0));
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  margin-bottom: 22px;
}
.tc-slam-bar--past {
  background: linear-gradient(90deg, rgba(133,183,235,0.08), rgba(133,183,235,0));
  border-left-color: var(--info, #85b7eb);
}
.tc-slam-bar__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.tc-slam-bar__title {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
}
.tc-slam-bar--past .tc-slam-bar__title { color: var(--info, #85b7eb); }
.tc-slam-bar__sub {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 2px;
}
.tc-slam-bar__sub strong { color: var(--accent); font-weight: 400; }
.tc-slam-bar__pct {
  font-family: var(--font-en);
  font-size: 26px;
  color: var(--accent);
}
.tc-slam-bar--past .tc-slam-bar__pct { color: var(--info, #85b7eb); }
.tc-slam-bar__track {
  margin-top: 10px;
  height: 3px;
  background: rgba(255,255,255,0.06);
}
.tc-slam-bar__fill {
  height: 100%;
  background: var(--accent);
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}
/* 進行バーの shimmer (微かに流れる光) */
.tc-slam-bar__fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );
  transform: translateX(-100%);
  animation: tc-slam-shimmer 2.6s ease-in-out infinite;
}
@keyframes tc-slam-shimmer {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}
.tc-slam-bar--past .tc-slam-bar__fill { background: var(--info, #85b7eb); }
.tc-slam-bar__hint {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-4);
  margin-top: 8px;
}

/* ---- Section Title ---- */
.tc-section-title {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--text-2);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 500;
  position: relative;
  padding-bottom: 8px;
}
.tc-section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

/* ---- Sections spacing ---- */
.tc-dash__section { margin-bottom: 28px; }
.tc-dash__section:last-child { margin-bottom: 0; }
.tc-dash__section--1 { margin-bottom: 24px; }
.tc-dash__section--3:empty { margin: 0; }

/* ---- Progress Board ---- */
.tc-prog { margin-bottom: 26px; }
.tc-prog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
@media (max-width: 540px) {
  .tc-prog-grid { grid-template-columns: repeat(2, 1fr); }
}
.tc-prog-grid__cell {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  padding: 14px 8px 12px;
  text-align: center;
  transition: transform 0.25s var(--ease, ease), border-color 0.25s var(--ease, ease), background 0.25s var(--ease, ease);
}
.tc-prog-grid__cell:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.tc-prog-grid__cell.is-slam-dd {
  background: rgba(240,192,96,0.06);
  border-color: rgba(240,192,96,0.25);
  position: relative;
}
/* Grand Slam point DD に王冠ワンポイント */
.tc-prog-grid__cell.is-slam-dd::before {
  content: '✦';
  position: absolute;
  top: 6px; right: 8px;
  font-size: 10px;
  color: var(--accent);
  opacity: 0.8;
}
.tc-prog-grid__name {
  font-size: 12px;
  color: var(--white);
  font-family: var(--font-ui);
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  font-weight: 500;
  line-height: 1.3;
}
.tc-prog-grid__name small {
  display: block;
  font-size: 9px;
  color: var(--text-4);
  letter-spacing: 0.04em;     /* was 0.1em — 日本語で改行を減らす */
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.35;
  word-break: keep-all;        /* 日本語の不自然な 1 文字改行を抑止 */
  overflow-wrap: break-word;
  padding: 0 2px;
}
/* ---- Progress Board: Mission rows（高さ揃え + 洗練） ---- */
.tc-prog-grid__miss {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
}
.tc-cell__row {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  font-size: 10px;
  font-family: var(--font-ui);
  letter-spacing: 0.18em;
  color: var(--text-4);
  gap: 10px;
  padding: 7px 4px;
  text-align: left;
  min-height: 34px;                       /* 全行の高さを強制揃え */
  border-bottom: 1px solid rgba(255,255,255,0.035);
  transition: color 0.2s ease;
}
.tc-cell__row:last-child { border-bottom: none; }
.tc-cell__label {
  color: var(--text-4);
  transition: color 0.2s ease;
}

/* ---- Status tokens: 全状態で同一サイズの円形 pill に統一 ---- */
.tc-st {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  font-weight: 500;
  flex-shrink: 0;
  user-select: none;
}

/* 踏破済 */
.tc-st--clear {
  color: var(--accent);
  background: rgba(240,192,96,0.1);
  box-shadow: inset 0 0 0 1px rgba(240,192,96,0.22);
  font-size: 12px;
}

/* 審査中 */
.tc-st--review {
  color: var(--info, #85b7eb);
  background: rgba(133,183,235,0.08);
  box-shadow: inset 0 0 0 1px rgba(133,183,235,0.22);
}

/* 他者踏破済 (LOCKED) — 赤の主張を弱めて上品に */
.tc-st--locked {
  color: rgba(226,75,74,0.7);
  background: rgba(226,75,74,0.04);
  box-shadow: inset 0 0 0 1px rgba(226,75,74,0.14);
  font-size: 9px;
}

/* 未踏破 or 参加資格なし */
.tc-st--ineli {
  color: rgba(255,255,255,0.22);
  font-size: 12px;
  background: transparent;
  box-shadow: none;
}

/* 申請可能 — 金色グロー付き pill + 穏やかなパルス（サイズは .tc-st 共通） */
a.tc-st.tc-st--apply {
  color: var(--accent);
  background: rgba(240,192,96,0.08);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(240,192,96,0.5),
              0 0 0 2px rgba(240,192,96,0.04),
              0 0 8px rgba(240,192,96,0.1);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  animation: tc-apply-pulse 3.2s ease-in-out infinite;
}
a.tc-st.tc-st--apply:hover {
  transform: scale(1.12);
  background: rgba(240,192,96,0.2);
  box-shadow: inset 0 0 0 1px var(--accent),
              0 0 0 2px rgba(240,192,96,0.1),
              0 0 12px rgba(240,192,96,0.4);
  animation: none;
}
/* Phase 5-D #22: a11y - キーボード focus 時の outline 強化 */
a.tc-st:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  animation: none;
}
.tc-st:focus-visible {
  outline: 2px solid rgba(240,192,96,0.7);
  outline-offset: 3px;
}
@keyframes tc-apply-pulse {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(240,192,96,0.5),
                0 0 0 2px rgba(240,192,96,0.04),
                0 0 8px rgba(240,192,96,0.1);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(240,192,96,0.72),
                0 0 0 3px rgba(240,192,96,0.07),
                0 0 14px rgba(240,192,96,0.28);
  }
}

/* APPLY を含む行はラベル側も金色にハイライト */
.tc-cell__row:has(a.tc-st--apply) .tc-cell__label {
  color: var(--accent);
  opacity: 0.9;
}
/* :has() 非対応ブラウザでも effective にするため、cell 全体にも微かな tint */
.tc-prog-grid__cell:has(a.tc-st--apply) {
  background: rgba(240,192,96,0.035);
}

/* ---- Legend ---- */
.tc-legend {
  margin-top: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  font-size: 10px;
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
  color: var(--text-3);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 16px;
}
.tc-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 540px) {
  .tc-legend { grid-template-columns: 1fr; }
}

/* ---- Rule Note ---- */
.tc-rule-note {
  margin-top: 0;
  padding: 12px 16px;
  border-left: 2px solid rgba(240,192,96,0.25);
  background: rgba(240,192,96,0.03);
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.7;
}
.tc-rule-note__title {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tc-rule-note__history {
  margin-bottom: 8px;
  color: var(--text-3);
}
.tc-rule-note__history strong { color: var(--text-2); font-weight: 500; }
.tc-rule-note__list {
  margin: 0;
  padding-left: 16px;
  color: var(--text-4);
}
.tc-rule-note__list li { margin-bottom: 4px; }
.tc-rule-note__list strong { color: var(--text-2); font-weight: 500; }

/* ---- Submissions ---- */
.tc-sub { margin-top: 0; }
.tc-sub__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tc-sub__new-link {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-decoration: none;
}
.tc-sub__new-link:hover { text-decoration: underline; }
.tc-sub__list { border: 1px solid var(--line); }
.tc-sub-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}
.tc-sub-row:last-child { border-bottom: none; }
.tc-sub-row__title { font-size: 13px; color: var(--white); }
.tc-sub-row__date {
  font-size: 11px;
  color: var(--text-4);
  font-family: var(--font-ui);
  letter-spacing: 0.08em;
}
/* Phase 5-C #25: status を chip 風に強調 */
.tc-sub-row__status {
  font-size: 9px;
  letter-spacing: 0.22em;
  font-family: var(--font-ui);
  padding: 3px 10px;
  border-radius: 2px;
  border: 1px solid currentColor;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
.tc-sub-row--empty {
  color: var(--text-4);
  justify-content: center;
  text-align: center;
  display: block;
  padding: 20px 16px;
}
/* 文字色のみ (アイコン用) */
.tc-c-clear  { color: var(--accent); }
.tc-c-review { color: var(--info, #85b7eb); }
.tc-c-locked { color: var(--danger, #e24b4a); }
.tc-c-muted  { color: var(--text-4); }
/* chip にしたときは背景色も付ける (.tc-sub-row__status に当たった時のみ) */
.tc-sub-row__status.tc-c-clear  { background: rgba(240,192,96,0.10); }
.tc-sub-row__status.tc-c-review { background: rgba(133,183,235,0.10); }
.tc-sub-row__status.tc-c-locked { background: rgba(226,75,74,0.10); }
.tc-sub-row__status.tc-c-muted  { background: rgba(255,255,255,0.04); }

/* ---- Sidebar: Callout ---- */
.tc-dash__sidebar { display: flex; flex-direction: column; gap: 18px; }
.tc-callout {
  padding: 14px 14px;
  background: rgba(133,183,235,0.06);
  border-left: 2px solid var(--info, #85b7eb);
}
.tc-callout__eyebrow {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--info, #85b7eb);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tc-callout__title { font-size: 12px; color: var(--white); line-height: 1.5; }
.tc-callout__body  { font-size: 11px; color: var(--text-3); margin-top: 4px; }

/* ---- Sidebar: News Widget ---- */
.tc-news-widget {
  padding: 0 2px;
}
.tc-news-widget__title {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tc-news-widget__list {
  border-top: 1px solid var(--line);
}
.tc-news-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.tc-news-item:last-child { border-bottom: none; }
.tc-news-item--empty {
  color: var(--text-4);
  font-size: 11px;
  font-style: italic;
  padding: 14px 0;
  text-align: center;
  border-bottom: none;
}
.tc-news-item__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.tc-news-item__icon {
  font-size: 11px;
  line-height: 1;
  transform: translateY(0.5px);
}
.tc-news-item__date {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-3);
}
/* Phase 5-F #19: NEW バッジ (24h 以内 + 未読のエントリ) */
.tc-news-item__new-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 6px;
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #1c1c1c;
  background: var(--accent, #f0c060);
  border-radius: 2px;
  line-height: 1.4;
  animation: tc-news-new-pulse 1.6s ease-in-out infinite;
}
@keyframes tc-news-new-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,192,96,0.6); }
  50%      { box-shadow: 0 0 0 4px rgba(240,192,96,0); }
}
.tc-news-item.is-new {
  position: relative;
}
.tc-news-item.is-new::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: var(--accent, #f0c060);
  border-radius: 1px;
  opacity: 0.7;
}
@media (prefers-reduced-motion: reduce) {
  .tc-news-item__new-badge { animation: none; }
}
/* 1 行目: DD 名 or 告知本文 */
.tc-news-item__title {
  font-size: 12.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
  letter-spacing: 0.02em;
}
/* 2 行目: ミッション種別 踏破報告 (クリア系のみ) */
.tc-news-item__sub {
  font-size: 11px;
  color: var(--text-4);
  line-height: 1.4;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
/* 旧 body 宣言は後方互換で残す (キャッシュ跨ぎで古い JS が動いた時の保険) */
.tc-news-item__body {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

/* ---- Sidebar: Season Summary ---- */
.tc-summary {
  padding: 14px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
}
.tc-summary__title {
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.tc-summary__list {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-2);
}
.tc-summary__list dt, .tc-summary__list dd {
  display: inline-block;
  margin: 0;
}
.tc-summary__list dt { color: var(--text-4); width: 50%; }
.tc-summary__list dd {
  width: 50%;
  text-align: right;
  color: var(--text-2);
  margin-bottom: 6px;
}
.tc-summary__list dd.tc-summary__num { color: var(--accent); }
.tc-hof-link {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(133,183,235,0.3);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--info, #85b7eb);
  text-align: center;
  font-family: var(--font-ui);
  text-decoration: none;
  text-transform: uppercase;
}
.tc-hof-link:hover { color: var(--white); border-color: var(--info, #85b7eb); }

/* ---- Login card (dashboard 前の状態) ---- */
.tc-mypage-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 32px;
}
.tc-mypage-card--center { text-align: center; }
.tc-mypage-card__title {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.tc-mypage-card__desc {
  color: var(--text-2);
  margin-bottom: 24px;
}
.tc-mypage-btn {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text-2);
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.25em;
  padding: 12px 28px;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 2px;
}
.tc-mypage-btn--discord {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #fff;
  border-color: transparent;
  padding: 14px 32px;
  font-size: 12px;
}
.tc-mypage-btn:hover { border-color: var(--text-3); color: var(--white); }
.tc-mypage-btn--discord:hover { filter: brightness(1.1); }

/* =================================================================
   Phase 4-A2: 送信中オーバーレイ + 送信失敗モーダル + リッチサンクス
================================================================= */

/* --- 送信中オーバーレイ --- */
.tc-apply-submit-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.tc-apply-submit-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.tc-apply-submit-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.tc-apply-submit-overlay__panel {
  position: relative;
  background: var(--bg-2);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 4px;
  padding: 36px 32px 28px;
  min-width: 280px;
  max-width: 360px;
  width: calc(100% - 40px);
  text-align: center;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6),
              inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(8px) scale(0.98);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tc-apply-submit-overlay.is-open .tc-apply-submit-overlay__panel {
  transform: translateY(0) scale(1);
}
.tc-apply-submit-overlay__spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border: 3px solid rgba(240, 192, 96, 0.18);
  border-top-color: #f0c060;
  border-radius: 50%;
  animation: tc-submit-spin 0.9s linear infinite;
}
@keyframes tc-submit-spin {
  to { transform: rotate(360deg); }
}
.tc-apply-submit-overlay__title {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f0c060;
  margin: 0 0 8px;
  font-weight: 500;
}
.tc-apply-submit-overlay__step {
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.05em;
  min-height: 1.6em;
  transition: opacity 180ms ease;
}

/* Phase 5-C #11: 送信オーバーレイの 3 stage 進捗 dots */
.tc-apply-submit-overlay__steps {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.tc-apply-submit-overlay__steps-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
}
.tc-apply-submit-overlay__steps-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 8px;
  left: calc(100% + 4px);
  width: 16px;
  height: 1px;
  background: rgba(240,192,96,0.18);
}
.tc-apply-submit-overlay__steps-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(240,192,96,0.35);
  background: transparent;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms cubic-bezier(0.22,1,0.36,1);
  position: relative;
}
.tc-apply-submit-overlay__steps-lbl {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(232,232,232,0.45);
  text-transform: uppercase;
  font-family: var(--font-ui);
  white-space: nowrap;
}
/* 完了 stage */
.tc-apply-submit-overlay__steps[data-active="1"] .tc-apply-submit-overlay__steps-item[data-step="0"] .tc-apply-submit-overlay__steps-mark,
.tc-apply-submit-overlay__steps[data-active="2"] .tc-apply-submit-overlay__steps-item[data-step="0"] .tc-apply-submit-overlay__steps-mark,
.tc-apply-submit-overlay__steps[data-active="2"] .tc-apply-submit-overlay__steps-item[data-step="1"] .tc-apply-submit-overlay__steps-mark {
  background: var(--accent, #f0c060);
  border-color: var(--accent, #f0c060);
}
.tc-apply-submit-overlay__steps[data-active="1"] .tc-apply-submit-overlay__steps-item[data-step="0"] .tc-apply-submit-overlay__steps-mark::after,
.tc-apply-submit-overlay__steps[data-active="2"] .tc-apply-submit-overlay__steps-item[data-step="0"] .tc-apply-submit-overlay__steps-mark::after,
.tc-apply-submit-overlay__steps[data-active="2"] .tc-apply-submit-overlay__steps-item[data-step="1"] .tc-apply-submit-overlay__steps-mark::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 6px;
  width: 4px;
  height: 8px;
  border: solid #1c1c1c;
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
/* 現在進行中 stage はパルス */
.tc-apply-submit-overlay__steps[data-active="0"] .tc-apply-submit-overlay__steps-item[data-step="0"] .tc-apply-submit-overlay__steps-mark,
.tc-apply-submit-overlay__steps[data-active="1"] .tc-apply-submit-overlay__steps-item[data-step="1"] .tc-apply-submit-overlay__steps-mark,
.tc-apply-submit-overlay__steps[data-active="2"] .tc-apply-submit-overlay__steps-item[data-step="2"] .tc-apply-submit-overlay__steps-mark {
  border-color: var(--accent, #f0c060);
  animation: tc-submit-step-pulse 1.4s ease-in-out infinite;
}
.tc-apply-submit-overlay__steps[data-active="0"] .tc-apply-submit-overlay__steps-item[data-step="0"] .tc-apply-submit-overlay__steps-lbl,
.tc-apply-submit-overlay__steps[data-active="1"] .tc-apply-submit-overlay__steps-item[data-step="1"] .tc-apply-submit-overlay__steps-lbl,
.tc-apply-submit-overlay__steps[data-active="2"] .tc-apply-submit-overlay__steps-item[data-step="2"] .tc-apply-submit-overlay__steps-lbl {
  color: var(--accent, #f0c060);
}
@keyframes tc-submit-step-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240,192,96,0.4); }
  50%      { box-shadow: 0 0 0 5px rgba(240,192,96,0); }
}
/* spinner は ステップ dots と並ぶので少し小さく */
.tc-apply-submit-overlay__panel .tc-apply-submit-overlay__spinner {
  width: 28px;
  height: 28px;
}
@media (max-width: 540px) {
  .tc-apply-submit-overlay__steps-lbl { font-size: 8px; letter-spacing: 0.12em; }
  .tc-apply-submit-overlay__steps { gap: 8px; }
  .tc-apply-submit-overlay__steps-item:not(:last-child)::after { width: 8px; }
}

/* --- 送信失敗モーダル --- */
.tc-apply-submit-error-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}
.tc-apply-submit-error-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.tc-apply-submit-error-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}
.tc-apply-submit-error-modal__panel {
  position: relative;
  background: var(--bg-2);
  border: 1px solid rgba(220, 80, 80, 0.4);
  border-radius: 4px;
  padding: 32px 28px 24px;
  max-width: 400px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.6),
              inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(12px) scale(0.96);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tc-apply-submit-error-modal.is-open .tc-apply-submit-error-modal__panel {
  transform: translateY(0) scale(1);
}
.tc-apply-submit-error-modal__icon {
  font-size: 30px;
  color: #ff8080;
  margin-bottom: 14px;
  line-height: 1;
}
.tc-apply-submit-error-modal__title {
  font-family: var(--font-ui);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #ff8080;
  margin: 0 0 12px;
  font-weight: 500;
}
.tc-apply-submit-error-modal__desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0 0 22px;
}
.tc-apply-submit-error-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.tc-apply-submit-error-modal__actions .tc-apply-btn {
  flex: 1;
  max-width: 150px;
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 10px 16px;
}

/* --- リッチサンクスページ --- */
.tc-apply-card--success {
  position: relative;
  overflow: hidden;
}
.tc-apply-success__icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 26px;
}
.tc-apply-success__icon-wrap .tc-apply-success__icon {
  width: 96px;
  height: 96px;
  margin: 0;
  background: rgba(240, 192, 96, 0.14);
  box-shadow: 0 0 0 1px rgba(240, 192, 96, 0.35),
              0 0 28px rgba(240, 192, 96, 0.25);
  animation: tc-thx-pop 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes tc-thx-pop {
  from { opacity: 0; transform: scale(0.6); }
  60%  { transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
.tc-apply-success__sparkle {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 80% 20%, rgba(240, 192, 96, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 28%, rgba(240, 192, 96, 0.4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 78%, rgba(240, 192, 96, 0.45) 0 2px, transparent 3px),
    radial-gradient(circle at 12% 80%, rgba(240, 192, 96, 0.35) 0 1.5px, transparent 2.5px);
  pointer-events: none;
  animation: tc-thx-sparkle 1.6s ease-in-out 0.2s both;
}
@keyframes tc-thx-sparkle {
  0%   { opacity: 0; transform: scale(0.7) rotate(-6deg); }
  35%  { opacity: 1; }
  100% { opacity: 0.6; transform: scale(1.1) rotate(6deg); }
}
.tc-apply-success__summary {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: rgba(240, 192, 96, 0.04);
  border: 1px solid rgba(240, 192, 96, 0.18);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tc-apply-success__summary-label {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
}
.tc-apply-success__summary-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
}
.tc-apply-success__dd {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--white);
}
.tc-apply-success__mission {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  background: rgba(240, 192, 96, 0.1);
  color: #f0c060;
  border: 1px solid rgba(240, 192, 96, 0.3);
}
.tc-apply-success__mission--nm {
  background: rgba(120, 180, 240, 0.1);
  color: #9ec5f5;
  border-color: rgba(120, 180, 240, 0.35);
}
.tc-apply-success__mission--sp,
.tc-apply-success__mission--cm {
  background: rgba(240, 192, 96, 0.12);
  color: #f0c060;
  border-color: rgba(240, 192, 96, 0.4);
}
.tc-apply-success__mission--score {
  background: rgba(240, 192, 96, 0.18);
  color: #ffd680;
  border-color: rgba(240, 192, 96, 0.55);
  font-feature-settings: 'tnum' 1;
}
.tc-apply-success__mission--dc,
.tc-apply-success__mission--job {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  border-color: rgba(255, 255, 255, 0.12);
}
.tc-apply-success__warning {
  margin: 0 0 18px;
  padding: 8px 12px;
  font-size: 11px;
  color: rgba(232, 232, 232, 0.55);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.tc-apply-success__next {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tc-apply-success__next-label {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.tc-apply-card--success .tc-apply-success__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.tc-apply-card--success .tc-apply-success__actions .tc-apply-btn {
  flex: 1 1 200px;
  max-width: 240px;
  min-width: 0;
}

@media (max-width: 600px) {
  .tc-apply-submit-overlay__panel { padding: 28px 22px 22px; }
  .tc-apply-submit-error-modal__panel { padding: 26px 20px 20px; }
  .tc-apply-submit-error-modal__actions .tc-apply-btn { flex: 1 1 auto; }
  .tc-apply-success__icon-wrap { width: 80px; height: 80px; }
  .tc-apply-success__icon-wrap .tc-apply-success__icon { width: 80px; height: 80px; }
  .tc-apply-card--success .tc-apply-success__actions .tc-apply-btn {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* =================================================================
   Phase 4-B: Mobile Redesign
   - B1: Status Strip (Hero 直下)
   - B2: Mobile DD card (4 DD 縦積み + tap で展開)
   - B3: tc-mobile-accordion セクション (About / Join / Prize / Rules / FAQ / AboutMe)
   - B4: Hero モバイル最適化
   - B5: News / Past モバイル微調整

   ━━━ ブレイクポイント方針 (A11) ━━━
   "モバイル UX" の主境界:           max-width: 720px
     → DD card collapse / accordion / Status Strip 表示 / Hero 縮小
     → 同一の matchMedia('(max-width: 720px)') を front-page JS でも使用
   "MyPage 2 カラム → 1 カラム":     max-width: 860px
     → サイドバー幅 (240px) + メインに余裕がある下限。720px ではない理由は
        サイドバーがあると DD カードが極端に細くなるため早めに 1 カラム化
   "Phase 4-C モバイル微調整":        max-width: 640px
     → padding 圧縮や header 縦積み等、より密度の高いモバイル仕上げ
   "極小スマホ":                       max-width: 420px
     → 1 列レイアウトへの完全切替、フォントサイズ最終調整
================================================================= */

/* ---- B1: Status Strip ---- */
/* Mobile only — PC では非表示 */
.tc-status-strip {
  display: none;
}
@media (max-width: 720px) {
  .tc-status-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(240, 192, 96, 0.07), rgba(240, 192, 96, 0.01));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-en);
    /* Hero 直下に追従 */
    position: relative;
    z-index: 5;
  }
  .tc-status-strip__day {
    flex-shrink: 0;
    font-size: 9.5px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
  }
  .tc-status-strip__day strong {
    color: #f0c060;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
  .tc-status-strip__bar {
    flex: 1;
    min-width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
  }
  .tc-status-strip__bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a84c 0%, #f0c060 100%);
    transition: width 800ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .tc-status-strip__count {
    flex-shrink: 0;
    font-size: 9.5px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
  }
  .tc-status-strip__count strong {
    color: #f0c060;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
  }
}

/* ---- B2: Mobile DD card (tap で展開) ---- */
@media (max-width: 720px) {
  /* DD body (tabs + panels) を初期は閉じる */
  .tc-dd-item[data-dd-mobile-collapse] .tc-dd-item__body {
    display: none;
  }
  .tc-dd-item.is-mobile-open .tc-dd-item__body {
    display: block;
    animation: tc-dd-mobile-expand 280ms ease;
  }
  @keyframes tc-dd-mobile-expand {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* ヘッダはタップ可能に */
  .tc-dd-item[data-dd-mobile-collapse] .tc-dd-item__header {
    cursor: pointer;
    transition: background 0.2s;
  }
  .tc-dd-item[data-dd-mobile-collapse] .tc-dd-item__header:hover,
  .tc-dd-item[data-dd-mobile-collapse] .tc-dd-item__header:focus-visible {
    background: rgba(240, 192, 96, 0.04);
    outline: none;
  }

  /* 右側のシェブロン */
  .tc-dd-item__chev {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    transition: transform 0.25s ease, color 0.2s;
    flex-shrink: 0;
    padding: 0 6px;
  }
  .tc-dd-item.is-mobile-open .tc-dd-item__chev {
    transform: rotate(90deg);
    color: #f0c060;
  }

  /* badges を横に余裕がない時は折り返し */
  .tc-dd-item__badges {
    flex-wrap: wrap;
    gap: 4px;
  }
}
/* PC ではシェブロン非表示 */
@media (min-width: 721px) {
  .tc-dd-item__chev { display: none; }
  /* PC は body 常に表示 */
  .tc-dd-item .tc-dd-item__body { display: block; }
}

/* ---- B3: Mobile Accordion (tc-mobile-accordion セクション) ---- */
@media (max-width: 720px) {
  .tc-mobile-accordion .tc-section__header {
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background 0.2s;
  }
  /* シェブロン領域: title の padding-right を拡張 */
  .tc-mobile-accordion .tc-section__title {
    padding-right: 36px;
  }
  .tc-mobile-accordion .tc-section__header:hover,
  .tc-mobile-accordion .tc-section__header:focus-visible {
    background: rgba(240, 192, 96, 0.03);
    outline: none;
  }
  /* シェブロン (header の右端に擬似要素で配置) */
  .tc-mobile-accordion .tc-section__header::after {
    content: '▶';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    transition: transform 0.25s ease, color 0.2s;
  }
  .tc-mobile-accordion.is-mobile-open .tc-section__header::after {
    transform: translateY(-50%) rotate(90deg);
    color: #f0c060;
  }

  /* body は閉じている時非表示、開いたら slide */
  .tc-mobile-accordion .tc-section__body {
    display: none;
  }
  .tc-mobile-accordion.is-mobile-open .tc-section__body {
    display: block;
    animation: tc-acc-expand 280ms ease;
  }
  @keyframes tc-acc-expand {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ---- B4: Hero モバイル最適化 ---- */
@media (max-width: 720px) {
  /* Hero の高さ短縮 + タイトル/コピー縮小 */
  .tc-hero {
    min-height: 480px;
  }
  .tc-hero__title {
    font-size: clamp(28px, 9vw, 40px) !important;
    letter-spacing: 0.06em;
  }
  .tc-hero__copy { font-size: 12px; }
  /* .tc-hero__rule は元の 1px 縦線のまま (width 上書きしない) */

  /* SEASON IV — IN PROGRESS のピル: モバイルでは枠線を撤去してテキストのみに */
  .tc-hero__season {
    font-size: 9px;
    letter-spacing: 0.28em;
    padding: 0;
    margin-bottom: 22px;
    gap: 8px;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: rgba(255,255,255,0.65);
  }

  /* 2 本目の動画も表示する → cross-fade を効かせるため display:none は撤去 */
}

/* ---- B5: News / Past モバイル微調整 ---- */
@media (max-width: 720px) {
  /* Past Notice - モバイルでは余白圧縮 */
  .tc-past__notice { padding: 10px 12px; font-size: 11.5px; }
  /* Discord note 等 - 中央揃えで読みやすく */
  .tc-discord-note { font-size: 11px; padding: 14px 14px; }
}

/* =================================================================
   Phase 4-C1: MyPage モバイル最適化
   既存の 860px (two-col → 1 col) と 540px (prog-grid 4→2) は維持。
   ここでは ≤640px をターゲットに、ヘッダ / 申請履歴 / サイドバー /
   テストパネル / 内側余白 を仕上げる。
================================================================= */

@media (max-width: 640px) {
  /* 外側余白圧縮 */
  .tc-mypage { padding: 24px 14px 60px; }
  .tc-mypage__header { margin-bottom: 28px; padding-bottom: 16px; }
  .tc-mypage__title { font-size: 22px; }
  .tc-mypage__subtitle { font-size: 12px; }

  /* Dashboard ヘッダ: greet + season + logout を縦積み */
  .tc-dash__header {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 18px;
  }
  .tc-dash__greet { min-width: 0; }
  .tc-dash__greet-line { font-size: 16px; }
  .tc-dash__eyebrow { font-size: 9px; letter-spacing: 0.28em; }
  .tc-dash__header-right {
    width: 100%;
    align-items: stretch;
    gap: 8px;
  }
  .tc-season-select {
    flex: 1;
    min-width: 0;
  }
  .tc-season-select select {
    width: 100%;
    box-sizing: border-box;
  }
  .tc-dash__logout {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 9px;
  }

  /* 二カラム → 一カラムは 860px で既に切替済 */
  /* セクション間の余白圧縮 */
  .tc-dash__section { margin-bottom: 22px; }
  .tc-dash__section--1 { margin-bottom: 18px; }

  /* Slam Bar */
  .tc-slam-bar { padding: 12px 14px; margin-bottom: 18px; }

  /* Submissions list: 4 列 grid だと縦長になりすぎるので、2 行に分割 */
  .tc-sub-row {
    grid-template-columns: 24px 1fr auto;
    grid-template-rows: auto auto;
    gap: 4px 10px;
    padding: 10px 12px;
  }
  .tc-sub-row__title { grid-column: 2 / 3; grid-row: 1; font-size: 12.5px; }
  .tc-sub-row__date  { grid-column: 2 / 3; grid-row: 2; font-size: 10px; }
  .tc-sub-row__status {
    grid-column: 3 / 4; grid-row: 1 / 3;
    align-self: center;
    font-size: 9.5px;
    letter-spacing: 0.15em;
  }

  /* Sidebar (1 カラムスタック後): widget の余白圧縮 */
  .tc-dash__sidebar { gap: 14px; }
  .tc-callout { padding: 12px 12px; }

  /* テストパネル (admin only): モバイルでチェックボックス行が崩れないよう */
  .tc-dash__test-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .tc-dash__test-checks {
    flex-wrap: wrap;
    gap: 6px;
  }
  .tc-dash__test-banner {
    flex-wrap: wrap;
    font-size: 11px;
  }

  /* Progress Board: 2 列レイアウトの余白を更に詰める */
  .tc-prog-grid { gap: 5px; }
  .tc-prog-grid__cell { padding: 12px 6px 10px; }
  .tc-prog-grid__name { font-size: 11.5px; letter-spacing: 0.16em; }
  .tc-prog-grid__name small { font-size: 8.5px; }

  /* Back link (フッタ) */
  .tc-mypage__back { margin-top: 32px; }
  .tc-mypage__back-link { font-size: 11px; }
}

/* ≤420px (極小画面): スコア表示のサイズ更に絞る */
@media (max-width: 420px) {
  .tc-mypage { padding: 20px 12px 48px; }
  .tc-dash__greet-line { font-size: 14px; }
  .tc-prog-grid__cell { padding: 10px 4px 8px; }
  .tc-prog-grid__name { font-size: 10.5px; }
  .tc-cell__row { font-size: 9px; min-height: 28px; padding: 5px 2px; }
  .tc-st { width: 18px; height: 18px; }
}

/* =================================================================
   Phase 4-C2: 申請フォーム モバイル UI 仕上げ
   apply.js / record-apply.js が描画する .tc-apply-* に対する
   モバイル ≤640px / ≤420px の余白・サイズ調整
================================================================= */

@media (max-width: 640px) {
  /* Card 余白圧縮 */
  .tc-apply-card { padding: 22px 18px; }
  .tc-apply-card--center { padding: 28px 18px; }
  .tc-apply-card__title { font-size: 14px; letter-spacing: 0.22em; }
  .tc-apply-card__desc { font-size: 12.5px; line-height: 1.7; }

  /* Form: 行間 + フィールド余白を圧縮 */
  .tc-apply-form { gap: 20px; }
  .tc-apply-form__label { font-size: 0.85rem; }
  .tc-apply-form__input {
    padding: 11px 13px;
    font-size: 0.9rem;
  }
  select.tc-apply-form__input {
    padding-right: 38px;
    background-position: right 12px center;
  }
  .tc-apply-form__textarea { min-height: 84px; }
  .tc-apply-form__hint { font-size: 0.75rem; }
  .tc-apply-form__count-hint { font-size: 0.7rem; }

  /* Required / Optional バッジ サイズダウン */
  .tc-apply-form__required,
  .tc-apply-form__optional {
    font-size: 0.62rem;
    padding: 1px 6px;
    margin-left: 6px;
  }

  /* Dropzone */
  .tc-apply-dropzone { padding: 22px 14px; }
  .tc-apply-dropzone__text { font-size: 0.85rem; }
  .tc-apply-dropzone__hint { font-size: 0.7rem; }
  .tc-apply-dropzone__icon { width: 30px; height: 30px; }

  /* サムネイル grid: 2 列固定 */
  .tc-apply-thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 10px;
  }
  .tc-apply-thumb__meta { padding: 6px 8px; font-size: 0.7rem; }

  /* Video URL 行 */
  .tc-apply-video-row {
    gap: 6px;
  }
  .tc-apply-video-input { font-size: 0.85rem; padding: 10px 12px; }
  .tc-apply-video-add {
    font-size: 0.78rem;
    padding: 8px 12px;
    width: 100%;
    text-align: center;
  }

  /* Submit / Login ボタン: フル幅 + 大きめタップターゲット */
  .tc-apply-form__actions { margin-top: 8px; }
  .tc-apply-btn {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
  }
  .tc-apply-btn--primary,
  .tc-apply-btn--discord,
  .tc-apply-btn--ghost,
  .tc-apply-btn--secondary {
    width: 100%;
    min-width: 0;
  }

  /* Userbar (ログイン中ユーザ表示) */
  .tc-apply-userbar { padding: 10px 12px; }
  .tc-apply-userbar__avatar { width: 32px; height: 32px; }
  .tc-apply-userbar__name { font-size: 13px; }
  .tc-apply-userbar__label { font-size: 10px; }

  /* 送信中オーバーレイ */
  .tc-apply-submit-overlay__panel {
    padding: 28px 22px 22px;
    min-width: 240px;
    max-width: calc(100vw - 40px);
  }

  /* リッチサンクス - DD/Mission サマリ余白 */
  .tc-apply-success__summary { padding: 12px 14px; }
  .tc-apply-success__id { font-size: 0.78rem; margin-bottom: 22px; }

  /* Conflict modal */
  .tc-apply-conflict-modal__card { padding: 22px 18px 18px; }
  .tc-apply-conflict-modal__title { font-size: 16px; }
  .tc-apply-conflict-modal__desc { font-size: 12px; }
  .tc-apply-conflict-modal__actions .tc-apply-btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ≤420px: 極小画面の更なるタイトニング */
@media (max-width: 420px) {
  .tc-apply-card { padding: 18px 14px; }
  .tc-apply-form { gap: 16px; }
  .tc-apply-thumbs {
    grid-template-columns: 1fr;
  }
  .tc-apply-dropzone { padding: 18px 12px; }
}

/* =================================================================
   Phase 4-D: 洗練アニメーション (C 系)
   - C1: Reduce-motion ガード
   - C2: Section number 刻印
   - C3: Settle Cascade (Quote Bookend variant)
   - C4: Aurora Underline
   - C5: Winner card 一閃
   - C6: State Ribbon
   - C7: Status Strip 呼吸点
   - C8: ボタン 2-axis スイープ
   - C9: Slam DD ✦ 連鎖
   - C10: Grand Slam Crown Trace
================================================================= */

/* ---- C4: Aurora Underline (タイトル下のヘアライン) ----
   既存の .tc-hero__rule (1px × 48px の縦線) はそのままに、
   モバイル幅でない時のみ下のグラデーションスイープを乗せる。
   PC で目立ちすぎないよう超低彩度。
================================================================= */
.tc-hero__copy::before {
  content: "";
  display: block;
  width: 220px;
  max-width: 60%;
  height: 1px;
  margin: 0 auto 22px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(240, 192, 96, 0) 25%,
    rgba(240, 192, 96, 0.45) 50%,
    rgba(240, 192, 96, 0) 75%,
    transparent 100%
  );
  background-size: 300% 100%;
  background-repeat: no-repeat;
  animation: tc-aurora 9s linear infinite;
  pointer-events: none;
}
@keyframes tc-aurora {
  0%   { background-position: 300% 50%; }
  100% { background-position: -300% 50%; }
}
@media (max-width: 720px) {
  .tc-hero__copy::before { width: 50%; max-width: 200px; }
}

/* ---- C7: Status Strip 呼吸点 (モバイル進捗バー右端) ---- */
.tc-status-strip__bar { position: relative; }
.tc-status-strip__bar-fill {
  position: relative;
}
.tc-status-strip__bar-fill::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f0c060;
  opacity: 0.55;
  animation: tc-breathe 2.6s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(240, 192, 96, 0.4);
}
@keyframes tc-breathe {
  0%, 100% { transform: translateY(-50%) scale(1);   opacity: 0.55; }
  50%      { transform: translateY(-50%) scale(1.5); opacity: 1; }
}

/* ---- C8: ボタン 2-axis スイープ ----
   既存の水平 ::before は別途定義されている前提。ここは縦軸の補助光だけ。
   主要ボタン (.tc-apply-btn--primary, .tc-apply-btn--discord, .tc-past__btn) に対象を絞る。
================================================================= */
.tc-apply-btn--primary,
.tc-apply-btn--discord,
.tc-past__btn,
.tc-step__btn {
  position: relative;
  overflow: hidden;
}
.tc-apply-btn--primary::after,
.tc-apply-btn--discord::after,
.tc-past__btn::after,
.tc-step__btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -120%;
  height: 35%;
  background: linear-gradient(
    0deg,
    transparent,
    rgba(240, 192, 96, 0.14),
    transparent
  );
  pointer-events: none;
  transition: bottom 0.7s cubic-bezier(0.22, 1, 0.36, 1) 60ms;
}
.tc-apply-btn--primary:hover::after,
.tc-apply-btn--discord:hover::after,
.tc-past__btn:hover::after,
.tc-step__btn:hover::after {
  bottom: 130%;
}

/* ---- C9: Slam DD ✦ マークの遅延フェード ----
   既存 .tc-prog-grid__cell.is-slam-dd::before に animation-delay を上書き。
================================================================= */
.tc-prog-grid__cell.is-slam-dd::before {
  opacity: 0;
  animation: tc-slam-mark-arrive 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
@keyframes tc-slam-mark-arrive {
  0%   { opacity: 0; transform: translateY(2px) scale(0.85); }
  60%  { opacity: 0.95; transform: translateY(-1px) scale(1.05); }
  100% { opacity: 0.85; transform: translateY(0)    scale(1); }
}

/* ---- C2: Section number 刻印 ----
   既存テキスト (例 "01") に背景 gradient + background-clip:text で
   左から右に gold で「描かれる」風の reveal。文字が静かに刻印される印象。
   IO 連動で .tc-section__header.is-visible 付与時に発火。
================================================================= */
.tc-section__num {
  background: linear-gradient(
    90deg,
    var(--accent, #f0c060) 0%,
    var(--accent, #f0c060) 50%,
    rgba(240, 192, 96, 0.15) 50%,
    rgba(240, 192, 96, 0.15) 100%
  );
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 1.3s cubic-bezier(0.7, 0, 0.2, 1) 0.15s;
}
.tc-section__header.is-visible .tc-section__num {
  background-position: 0 0;
}

/* ---- C3: Settle Cascade — Quote Bookend variant ----
   既存 .tc-char (文字フェード) を上書き。
   "THE CHALLENGE" の文字を順次出現 → 最後の E は余韻 1.8s + glow 残響 →
   その後 1.5s 経過時点で両端の " (.tc-quote-bookend) が fade-in。
================================================================= */
@keyframes tcCharIn {
  0%   { opacity: 0; transform: translateY(10px); filter: blur(8px); text-shadow: 0 0 0 rgba(240,192,96,0); }
  60%  { opacity: 1; transform: translateY(-2px); filter: blur(0);   text-shadow: 0 0 22px rgba(240,192,96,0.45); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0);   text-shadow: 0 0 0 rgba(240,192,96,0); }
}
@keyframes tcCharLinger {
  0%   { opacity: 0; transform: translateY(10px); filter: blur(8px); text-shadow: 0 0 0 rgba(240,192,96,0); }
  35%  { opacity: 1; transform: translateY(-2px); filter: blur(0);   text-shadow: 0 0 28px rgba(240,192,96,0.65); }
  70%  { text-shadow: 0 0 36px rgba(240,192,96,0.50); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0);   text-shadow: 0 0 14px rgba(240,192,96,0.20); }
}
@keyframes tcQuoteLeft {
  0%   { opacity: 0; transform: translateX(-14px) scale(0.85); filter: blur(4px); }
  100% { opacity: 1; transform: translateX(0)     scale(1);    filter: blur(0); }
}
@keyframes tcQuoteRight {
  0%   { opacity: 0; transform: translateX(14px)  scale(0.85); filter: blur(4px); }
  100% { opacity: 1; transform: translateX(0)     scale(1);    filter: blur(0); }
}
.tc-char--last { animation: tcCharLinger 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards !important; animation-delay: var(--d, 0ms) !important; }
.tc-quote-bookend {
  display: inline-block;
  color: var(--accent, #f0c060);
  margin: 0 6px;
  opacity: 0;
}
.tc-quote-bookend--l { animation: tcQuoteLeft  0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards; }
.tc-quote-bookend--r { animation: tcQuoteRight 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.5s forwards; }

/* ---- C5: Hall of Fame Winner カード一閃 ----
   featured カード + archive trophy カード初出時に斜光が 1 度だけ走る。
   IO は inline JS (page-hall-of-fame.php) で .tc-hof-sweep--played を付与。
================================================================= */
.tc-hof-featured__card,
.tc-hof-trophy__link { position: relative; }
.tc-hof-featured__card::after,
.tc-hof-trophy__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(240, 192, 96, 0.36) 48%,
    rgba(255, 236, 176, 0.72) 50%,
    rgba(240, 192, 96, 0.36) 52%,
    transparent 70%
  );
  clip-path: polygon(-30% 100%, 0% 100%, 0% 100%, -30% 100%);
  pointer-events: none;
  opacity: 0;
  border-radius: inherit;
}
.tc-hof-featured__card.tc-hof-sweep--played::after {
  opacity: 1;
  animation: tc-hof-sweep 1.05s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}
.tc-hof-trophy__link.tc-hof-sweep--played::after {
  opacity: 0.7;
  animation: tc-hof-sweep 0.85s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}
@keyframes tc-hof-sweep {
  0%   { clip-path: polygon(-30% 100%, 0% 100%, 0% 100%, -30% 100%); }
  100% { clip-path: polygon(100% 0%, 130% 0%, 130% 0%, 100% 0%); }
}

/* ---- C6: State Ribbon (MyPage 申請ステート) ----
   .tc-sub-row は grid なので grid-column: 1 / -1 で全幅にする
================================================================= */
.tc-state-ribbon {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0 0;
  grid-column: 1 / -1;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.tc-state-ribbon__row {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}
.tc-state-ribbon__node {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: background 0.35s, border-color 0.35s;
}
.tc-state-ribbon__node.is-done    { background: var(--accent, #f0c060); border-color: var(--accent, #f0c060); }
.tc-state-ribbon__node.is-current { background: var(--accent, #f0c060); border-color: var(--accent, #f0c060); animation: tc-state-pulse 1.4s ease-in-out infinite; }
.tc-state-ribbon__node.is-locked  { background: rgba(220, 80, 80, 0.18); border-color: rgba(220, 80, 80, 0.5); }
.tc-state-ribbon__node.is-locked::after { content: "✕"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 8px; color: rgba(255, 130, 130, 0.85); }
@keyframes tc-state-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(240, 192, 96, 0.55); }
  50%      { box-shadow: 0 0 0 7px rgba(240, 192, 96, 0); }
}
.tc-state-ribbon__line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 100%, rgba(255, 255, 255, 0.1) 100%);
  transition: background 1.0s cubic-bezier(0.22, 1, 0.36, 1);
}
.tc-state-ribbon__line[data-fill="full"] {
  background: linear-gradient(90deg, var(--accent, #f0c060) 100%, var(--accent, #f0c060) 100%);
}
.tc-state-ribbon__line[data-fill="half"] {
  background: linear-gradient(90deg, var(--accent, #f0c060) 50%, rgba(255, 255, 255, 0.1) 50%);
}
.tc-state-ribbon__labels {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}
.tc-state-ribbon__labels span.is-active { color: var(--accent, #f0c060); }

/* ---- C10: Grand Slam Crown Trace ---- */
.tc-news__grand-slam { position: relative; }
.tc-grand-slam-crown {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 50px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.tc-news__grand-slam.is-crown-played .tc-grand-slam-crown { opacity: 1; }
.tc-grand-slam-crown path.tc-crown-stroke {
  fill: none;
  stroke: var(--accent, #f0c060);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}
.tc-grand-slam-crown path.tc-crown-fill {
  fill: var(--accent, #f0c060);
  fill-opacity: 0;
}
.tc-news__grand-slam.is-crown-played .tc-crown-stroke {
  animation: tc-crown-draw 1.6s ease forwards;
}
.tc-news__grand-slam.is-crown-played .tc-crown-fill {
  animation: tc-crown-fill 0.9s ease 1.4s forwards;
}
@keyframes tc-crown-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes tc-crown-fill {
  0%   { fill-opacity: 0; }
  60%  { fill-opacity: 0.18; }
  100% { fill-opacity: 0; }
}

/* =================================================================
   Phase 4-D: B 系 UX 改善
================================================================= */

/* ---- B3: Toast (右下スライドイン) ---- */
.tc-toast-host {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 12000;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.tc-toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
  max-width: 380px;
  padding: 12px 14px 12px 16px;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 2px solid var(--accent, #f0c060);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-jp, sans-serif);
  font-size: 12.5px;
  line-height: 1.55;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 240ms cubic-bezier(0.22,1,0.36,1), transform 280ms cubic-bezier(0.22,1,0.36,1);
}
.tc-toast.is-open { opacity: 1; transform: translateX(0); }
.tc-toast--success { border-left-color: #f0c060; }
.tc-toast--info    { border-left-color: rgba(255,255,255,0.4); }
.tc-toast--warn    { border-left-color: #ffa847; }
.tc-toast--error   { border-left-color: #e24b4a; }
.tc-toast__msg { flex: 1; min-width: 0; }
.tc-toast__action {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(240, 192, 96, 0.4);
  color: var(--accent, #f0c060);
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
}
.tc-toast__action:hover { background: rgba(240, 192, 96, 0.1); }
.tc-toast__close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 18px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
  transition: color 0.2s;
}
.tc-toast__close:hover { color: var(--accent, #f0c060); }
@media (max-width: 640px) {
  /* Phase 5-C #26: モバイルでは bottom tabbar / SafeArea と被るので上中央へ。
     新しい toast を上に重ねる動きを保つため flex-direction も column に切替。 */
  .tc-toast-host {
    bottom: auto;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    right: 14px;
    left: 14px;
    align-items: center;
    flex-direction: column;
  }
  .tc-toast { min-width: 0; max-width: 100%; transform: translateY(-20px); }
  .tc-toast.is-open { transform: translateY(0); }
}

/* ---- B4: Empty state テーマ化 ---- */
.tc-empty {
  text-align: center;
  padding: 36px 22px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(255, 255, 255, 0.55);
}
.tc-empty__icon {
  display: block;
  margin: 0 auto 14px;
  width: 48px;
  height: 48px;
  opacity: 0.55;
  color: var(--accent, #f0c060);
}
.tc-empty__poetic {
  font-family: var(--font-en, Georgia, serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
}
.tc-empty__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.tc-empty__cta {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 18px;
  border: 1px solid rgba(240, 192, 96, 0.4);
  color: var(--accent, #f0c060);
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
}
.tc-empty__cta:hover { background: rgba(240, 192, 96, 0.08); border-color: rgba(240, 192, 96, 0.6); }

/* ---- B5: Onboarding Coach Mark (浮動 CTA) ---- */
.tc-coach-cta {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 10px 16px;
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 192, 96, 0.5);
  color: var(--accent, #f0c060);
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px);
  animation: tc-coach-in 0.5s cubic-bezier(0.22,1,0.36,1) 1.6s forwards;
}
.tc-coach-cta:hover { background: rgba(240, 192, 96, 0.08); }
.tc-coach-cta__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 14px;
  margin-left: 4px;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
}
.tc-coach-cta__close:hover { color: var(--accent, #f0c060); }
@keyframes tc-coach-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .tc-coach-cta { right: 14px; bottom: 86px; font-size: 10px; padding: 8px 12px; }
}

/* ---- B6: HoF 探索性 (Past Season ミニトロフィー横スクロール) ---- */
.tc-past__archive-strip {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  text-align: left;
}
.tc-past__archive-label {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin: 0 0 12px;
}
.tc-past__archive-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}
.tc-past__archive-row::-webkit-scrollbar { height: 4px; }
.tc-past__archive-row::-webkit-scrollbar-thumb { background: rgba(240, 192, 96, 0.25); border-radius: 2px; }
.tc-past__mini {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 14px 10px;
  min-width: 110px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.tc-past__mini:hover {
  border-color: rgba(240, 192, 96, 0.5);
  background: rgba(240, 192, 96, 0.04);
  transform: translateY(-1px);
}
.tc-past__mini-num {
  font-family: var(--font-en, Georgia, serif);
  font-size: 18px;
  color: var(--accent, #f0c060);
  letter-spacing: 0.06em;
  line-height: 1;
}
.tc-past__mini-label {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}
.tc-past__mini-gs {
  font-size: 14px;
  color: rgba(240, 192, 96, 0.65);
  margin-top: 2px;
}

/* HoF detail: 前後シーズンリボン (page-hall-of-fame の archive 内に配置するなら別途 PHP 編集) */
.tc-hof-prev-next {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tc-hof-prev-next__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-ui, 'Inter', sans-serif);
  transition: border-color 0.2s, background 0.2s;
}
.tc-hof-prev-next__link:hover {
  border-color: rgba(240, 192, 96, 0.5);
  background: rgba(240, 192, 96, 0.03);
}
.tc-hof-prev-next__dir {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.tc-hof-prev-next__season { color: var(--accent, #f0c060); font-size: 13px; }
.tc-hof-prev-next__link--next { text-align: right; align-items: flex-end; }
.tc-hof-prev-next__link--disabled { opacity: 0.3; pointer-events: none; }

/* ---- B8: Inline validation + character counter ---- */
.tc-apply-form__counter {
  display: block;
  text-align: right;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  margin-top: 4px;
  transition: color 0.2s;
}
.tc-apply-form__counter.is-near { color: rgba(240, 192, 96, 0.8); }
.tc-apply-form__counter.is-over { color: #ff8080; }
.tc-apply-form__inline-status {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-top: 4px;
  min-height: 1.4em;
  transition: color 0.2s;
}
.tc-apply-form__inline-status.is-ok    { color: rgba(180, 220, 160, 0.75); }
.tc-apply-form__inline-status.is-warn  { color: rgba(240, 192, 96, 0.85); }
.tc-apply-form__inline-status.is-error { color: #ff8080; }
.tc-apply-form__autosave {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 192, 96, 0.55);
  margin-left: auto;
}
.tc-apply-form__autosave--saving { color: rgba(255, 255, 255, 0.4); }

/* ---- B2: MyPage Skeleton ---- */
.tc-mypage-skeleton {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 0 4px;
  animation: tc-skel-fade 240ms ease;
}
@keyframes tc-skel-fade { from { opacity: 0; } to { opacity: 1; } }
.tc-skel-block {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 0%,
    rgba(255,255,255,0.07) 50%,
    rgba(255,255,255,0.04) 100%
  );
  background-size: 200% 100%;
  animation: tc-skel-shimmer 1.4s ease-in-out infinite;
  border-radius: 3px;
}
@keyframes tc-skel-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.tc-skel-block--header { height: 48px; }
.tc-skel-block--slam   { height: 56px; }
.tc-skel-block--prog   { height: 180px; }
.tc-skel-block--subs   { height: 96px; }

/* ---- B2: Achievement chips ---- */
.tc-achievements {
  margin-top: 18px;
  padding: 14px 16px;
  background: rgba(240, 192, 96, 0.03);
  border: 1px solid rgba(240, 192, 96, 0.12);
  border-radius: 3px;
}
.tc-achievements__title {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent, #f0c060);
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 500;
}
.tc-achievements__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tc-achievement {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 9px;
  background: rgba(240, 192, 96, 0.06);
  border: 1px solid rgba(240, 192, 96, 0.25);
  border-radius: 999px;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(240, 192, 96, 0.85);
}
.tc-achievement--locked {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.3);
}
.tc-achievement__icon { font-size: 11px; line-height: 1; }

/* ---- C1: Reduce-motion ガード (全 Phase 4-D を一括 disable) ---- */
@media (prefers-reduced-motion: reduce) {
  .tc-char, .tc-char--last, .tc-quote-bookend,
  .tc-hero__line, .tc-hero__overlay,
  .tc-status-strip__bar-fill::after,
  .tc-prog-grid__cell.is-slam-dd::before,
  .tc-news__grand-slam .tc-grand-slam-crown path,
  .tc-section__num,
  .tc-state-ribbon__node.is-current,
  .tc-state-ribbon__line, .tc-state-ribbon__line[data-fill],
  .tc-hero__copy::before,
  .tc-hof-winner::after {
    animation: none !important;
    transition: none !important;
  }
  /* Hero タイトル文字は最終形にスナップ */
  .tc-char, .tc-char--last { opacity: 1 !important; transform: none !important; filter: none !important; text-shadow: none !important; }
  .tc-quote-bookend { opacity: 1 !important; transform: none !important; filter: none !important; }
  /* Section number 刻印は最終 fill 形態にスナップ */
  .tc-section__num { background-position: 0 0 !important; }
  /* Polygon canvas エフェクトは完全停止 */
  #tc-title-canvas { display: none !important; }
}

/* =================================================================
   監査 A-6 (2026-05): 申請取消 UI
   - Submission row に出る「取消」ボタン
   - 確認 modal (overlay + dialog)
   ================================================================= */

/* --- Sub row のグリッドに 5 カラム目 (Cancel ボタン用) を許容 --- */
/* 既存: grid-template-columns: 24px 1fr auto auto;
   ボタンが「ribbon」の前 / status の後に挿入される。auto auto auto に変更すると
   既存 4 列レイアウトでも崩れないので拡張する。 */
.tc-sub-row {
  grid-template-columns: 24px 1fr auto auto auto;
}

/* --- Cancel ボタン本体 (Submission row 内のミニ button) --- */
.tc-sub-row__cancel {
  /* ベース button reset */
  font: inherit;
  cursor: pointer;
  /* スタイル */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: transparent;
  border: 1px solid rgba(226, 75, 74, 0.4);
  color: rgba(226, 75, 74, 0.85);
  border-radius: 2px;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
  white-space: nowrap;
}
.tc-sub-row__cancel svg { flex: none; }
.tc-sub-row__cancel:hover:not(:disabled) {
  background: rgba(226, 75, 74, 0.12);
  border-color: rgba(226, 75, 74, 0.65);
  color: #ffb8b8;
  transform: translateY(-1px);
}
.tc-sub-row__cancel:focus-visible {
  outline: 2px solid var(--accent, #f0c060);
  outline-offset: 2px;
}
.tc-sub-row__cancel:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* モバイル: テキストを隠してアイコンのみに (ヒットエリアは保持) */
@media (max-width: 540px) {
  .tc-sub-row__cancel {
    padding: 6px 8px;
    font-size: 0;  /* テキストを隠す */
    gap: 0;
  }
  .tc-sub-row__cancel svg {
    width: 13px; height: 13px;
  }
}

/* Phase 5-D #16: 拒否/取消申請の非表示ボタン + フッター復元 */
.tc-sub-row__hide {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(232,232,232,0.5);
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.tc-sub-row__hide:hover {
  color: var(--accent, #f0c060);
  border-color: rgba(240,192,96,0.4);
}
.tc-sub-row__hide svg { flex: none; }
@media (max-width: 540px) {
  .tc-sub-row__hide {
    padding: 4px 6px;
    font-size: 0;
    gap: 0;
  }
  .tc-sub-row__hide svg {
    width: 12px; height: 12px;
  }
}
.tc-sub__hidden-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: 3px;
  background: rgba(255,255,255,0.015);
  font-size: 11px;
  color: rgba(232,232,232,0.45);
  font-family: var(--font-ui);
  letter-spacing: 0.06em;
}
.tc-sub__restore-btn {
  background: transparent;
  border: 1px solid rgba(240,192,96,0.3);
  color: rgba(240,192,96,0.9);
  font-family: var(--font-ui);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 11px;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, border-color 0.15s;
}
.tc-sub__restore-btn:hover {
  background: rgba(240,192,96,0.08);
  border-color: rgba(240,192,96,0.6);
}

/* --- Confirm dialog overlay --- */
.tc-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(7, 6, 11, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: tcConfirmOverlayIn 0.18s var(--ease, ease);
}
@keyframes tcConfirmOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
body.tc-confirm-open { overflow: hidden; }

.tc-confirm {
  width: 100%;
  max-width: 460px;
  background: linear-gradient(180deg, rgba(28, 26, 32, 0.98), rgba(20, 18, 24, 0.98));
  border: 1px solid rgba(240, 192, 96, 0.32);
  border-radius: 6px;
  padding: 24px 26px 22px;
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  animation: tcConfirmIn 0.22s var(--ease, ease);
}
@keyframes tcConfirmIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.tc-confirm__title {
  font-family: var(--font-en, Georgia, serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.04em;
  color: var(--accent, #f0c060);
  margin: 0 0 12px;
}
.tc-confirm__body {
  font-family: var(--font-jp, sans-serif);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 16px;
}
.tc-confirm__error {
  font-family: var(--font-jp, sans-serif);
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
  margin: 0 0 14px;
  background: rgba(226, 75, 74, 0.12);
  border-left: 2px solid rgba(226, 75, 74, 0.7);
  color: #ffb8b8;
  border-radius: 2px;
}
.tc-confirm__busy {
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 0;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tc-confirm__busy::before {
  content: '';
  width: 10px; height: 10px;
  border: 2px solid rgba(240, 192, 96, 0.3);
  border-top-color: var(--accent, #f0c060);
  border-radius: 50%;
  animation: tcConfirmSpin 0.7s linear infinite;
}
@keyframes tcConfirmSpin { to { transform: rotate(360deg); } }

.tc-confirm__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}
.tc-confirm__btn {
  font: inherit;
  cursor: pointer;
  font-family: var(--font-ui, 'Inter', sans-serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}
.tc-confirm__btn:focus-visible {
  outline: 2px solid var(--accent, #f0c060);
  outline-offset: 2px;
}
.tc-confirm__btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }
.tc-confirm__btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.18);
}
.tc-confirm__btn--ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.tc-confirm__btn--danger {
  background: rgba(226, 75, 74, 0.18);
  color: #ffd4d4;
  border-color: rgba(226, 75, 74, 0.55);
}
.tc-confirm__btn--danger:hover:not(:disabled) {
  background: rgba(226, 75, 74, 0.32);
  color: #fff;
  border-color: rgba(226, 75, 74, 0.85);
  transform: translateY(-1px);
}

/* モバイル: ボタンを縦積みして tap しやすく */
@media (max-width: 480px) {
  .tc-confirm { padding: 22px 20px 18px; }
  .tc-confirm__title { font-size: 16px; }
  .tc-confirm__body  { font-size: 12.5px; }
  .tc-confirm__actions { flex-direction: column-reverse; gap: 8px; }
  .tc-confirm__btn { width: 100%; padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-confirm-overlay, .tc-confirm { animation: none; }
  .tc-sub-row__cancel:hover { transform: none; }
  .tc-confirm__btn--danger:hover { transform: none; }
}
