  /* 画像が無いとき＝テーマ色の“幕”（::before・テーマ配色に追従・常時可視）。★テーマ色自体は下地色で置き換えない（不変）。 */
  /* 背景グラデ(::before)＝テーマ配色＋明るさ暗幕（--tsp-fb-dim）を合成。テキストは最前面のまま暗くしない。 */
  /* テーマ色の“幕”＝下から立ち上がる（幕が上がる）。session の s-curtain-rise と同挙動を移植（要素ごと1回・fill both・ちらつき無し）。
     幕が上がる前の“素地”＝下地(--tsp-bg・濃色/テーマ追従/色指定)が一瞬見える＝下地設定が実際に効いていることも確認できる。
     ★グラデ＋タイトルは「順序内の1スライド(.tsp-slide--grad)」としても再生されるため、同じ見た目・幕アニメを共有する。 */
  /* 0.5s のディレイ後に立ち上げる（both＝待機中は from＝下地が見える）。アクセス直後の“早すぎる”開始を避ける。 */
  .tsp-fallback .bg-animation::before,
  .tsp-slide--grad .bg-animation::before { background: linear-gradient(rgba(0,0,0,var(--tsp-fb-dim,0)), rgba(0,0,0,var(--tsp-fb-dim,0))), linear-gradient(30deg, var(--theme-p1,#0A1F3C), var(--theme-p2,#0E5A78), var(--theme-p3,#1591B3)) !important; animation: tsp-curtain-rise .7s cubic-bezier(.22,.61,.36,1) .5s both !important; }
  @keyframes tsp-curtain-rise { from { transform: translate(0, 100%); } to { transform: translate(0, 0); } }
  @media (prefers-reduced-motion: reduce){ .tsp-fallback .bg-animation::before, .tsp-slide--grad .bg-animation::before{ animation: none !important; transform: translate(0,0) !important; } }
  /* 順序内グラデスライド：枠いっぱいに下地＋幕＋タイトルを敷く（フォールバックと同等の見た目）。 */
  .tsp-slide--grad{ background: var(--tsp-bg,#0a121b); }
  .tsp-slide--grad .bg-animation{ position:absolute; inset:0; width:100% !important; height:100% !important; aspect-ratio:auto !important; background:transparent !important; }
  .tsp-slide--grad .bg-animation > div, .tsp-slide--grad .bg-animation > div * { opacity:1 !important; transform:none !important; }
  .tsp-fallback .bg-animation > div, .tsp-fallback .bg-animation > div * { opacity: 1 !important; transform: none !important; }
  /* 下地（幕前の背景色）：幕の背後の下地。既定は濃色（--tsp-bg 未設定時 #0a121b）。 */
  .tsp-fallback{ background: var(--tsp-bg,#0a121b); }
  /* ★グラデの背景に「何をするところか」を出すときの体裁。素材が無い背景なので、文字だけで成立させる。
     行長は読みやすい範囲に抑え、狭い画面では自動で縮む（vw連動・上限あり）。
     ★セレクタに祖先（.tsp-slide--grad）を付けない：このプレイヤーはスライドを**複製して**回すため、
       複製側は祖先の条件から外れることがあり、そこだけ素の <a>（inline）に戻る。すると親のflexで
       ブロック化され、align-items が効かず**文字が上に寄る**（実測：上1px／下23px＝10px高い位置）。
       クラス名だけで指定すれば、複製でも必ず同じ体裁になる。 */
  .tsp-grad-copy{ position:absolute; inset:0; z-index:2; display:flex; flex-direction:column;
    align-items:center; justify-content:center; gap:14px; padding:24px 28px; text-align:center; }
  .tsp-grad-eyebrow{ color:rgba(255,255,255,.82); font-size:clamp(11px,1.1vw,14px);
    font-weight:700; letter-spacing:.10em; }
  .tsp-grad-lead{ color:#fff; font-weight:700; line-height:1.35; text-wrap:balance;
    font-size:clamp(20px,2.6vw,40px); max-width:22em; text-shadow:0 2px 14px rgba(0,0,0,.35); }
  /* フレーズ未登録＝社名だけを大きく出す表紙（.fs-1）。包み替え（.tsp-grad-copy）後も白・中央・影を明示して従来の見た目を保つ。 */
  .tsp-grad-titleonly{ color:#fff; text-align:center; text-wrap:balance; max-width:22em; text-shadow:0 2px 14px rgba(0,0,0,.35); }
  .tsp-grad-cta{ display:inline-flex !important; align-items:center; justify-content:center; gap:.5rem;
    min-height:44px; line-height:1; padding:0 22px; border-radius:999px; border:1.5px solid rgba(255,255,255,.8);
    color:#fff !important; font-weight:700; font-size:14px; text-decoration:none;
    background:rgba(255,255,255,.10); transition:background .16s ease; }
  /* ★タイトルとの間隔を確保（密着回避＋ガタつき防止・2026-08-24オーナー指示）。
     真因＝グローバル規則 .bg-animation.-visible div *{margin:0}（詳細度0,2,1）が .tsp-grad-cta（0,1,0）に勝つ。
       ・ヒーロー可視中（.-visible あり）は margin:0 が当たり密着
       ・開幕スキップで枠が視界外→.-visible が外れ→1rem へ復帰＝ボタンが跳ねる（ガタつき）
     対策＝可視/非可視の両状態で必ず勝つよう詳細度(0,3,0)＋!important で固定＝常に一定間隔＝跳ねない。
     クローン（プレイヤーはスライドを複製して回す）も同じ祖先クラス（.tsp/.bg-animation）を持つため一致する。 */
  .tsp .bg-animation .tsp-grad-cta{ margin-top:1.25rem !important; }
  /* 浮き上がりは使わない：この領域の子孫には transform:none !important が掛かっており（上の幕演出の巻き添え防止）、
     translateY は必ず負ける＝効かない演出を書かない。色の変化だけで反応を示す。 */
  .tsp-grad-cta:hover{ background:rgba(255,255,255,.24); }
  .tsp-grad-cta:focus-visible{ outline:3px solid #fff; outline-offset:3px; }
  /* ★タイトル文字の縦中央化：.bg-animation は既定 aspect-ratio:1.91/1 のため、高さ(≈670px)がシアター設定高さ(300/500/700px)を
     超えて枠からはみ出し（overflow:hidden・上寄せ）、中央がズレていた。フォールバック内では枠の高さに一致させ、
     既存の place-content:center で常に上下中央に保つ。高さを変えても中央のまま。 */
  .tsp-fallback .bg-animation{ height:100% !important; aspect-ratio:auto !important; background:transparent !important; }
  /* スマホ・タブレット（<992px）は固定px（各ページのインライン height）を解除し、横幅に対して1.91:1に。PCは固定pxのまま。 */
  @media (max-width:991.98px){ .tsp-fallback{ height: auto !important; max-height: none !important; aspect-ratio: 1.91 / 1; } }

  /* 明るい下地（2026-11-15 オーナー指示）：下地に明るい色を選ぶと .tsp--light が付く（判定は TheaterSetting::isLightUnderlay の1か所）。
     幕（テーマ色のグラデーション）と黒の重ねを使わず、選んだ色の上にイベント名をテーマの濃い色で表示する。幕が上がる動きも無くなる。 */
  .tsp--light .tsp-fallback .bg-animation::before,
  .tsp--light .tsp-slide--grad .bg-animation::before{ display:none !important; animation:none !important; }
  .tsp--light .tsp-grad-titleonly, .tsp--light .tsp-grad-lead,
  .tsp--light .tsp-fallback .bg-animation .fs-1, .tsp--light .tsp-fallback .bg-animation .fs-1 *{ color:var(--theme-p1,#0A1F3C) !important; text-shadow:none !important; }
  .tsp--light .tsp-grad-eyebrow{ color:var(--theme-p2,#0E5A78) !important; }
  .tsp--light .tsp-grad-cta{ color:var(--theme-p1,#0A1F3C) !important; border-color:color-mix(in srgb, var(--theme-p2,#0E5A78) 55%, transparent) !important; background:rgba(255,255,255,.7) !important; }
  .tsp--light .tsp-grad-cta:hover, .tsp--light .tsp-grad-cta:focus-visible{ background:var(--theme-p2,#0E5A78) !important; color:#fff !important; }