/*
 * プレイヤー（撮影）画面の見た目 ―― patterns/player.php のページ内 <style> を
 * 外へ出したもの（2026-08-26）。**中身は1文字も変えていない**（字下げのみ）。
 *
 * **ページ側に残したものが2つある。読み込み位置を動かさないこと。**
 *   1. サイト全体の動的CSS（hs_general_style_css）… DBの値なのでファイルにできない
 *   2. SPA同梱かどうかで分かれる規則（overscroll / overflow）
 *      … PHPの分岐なのでファイルにできない。TOPに同梱したときは
 *        body.fp-spa-open にだけ効かせ、TOPのスクロールを止めない
 *   3. 管理バーを隠す規則 … is_admin_bar_showing() のときだけ出す
 *
 * この <link> は元の <style> があった位置に置く（CLAUDE.md の決まり）。
 * 後ろの宣言が前に勝つので、位置を動かすと勝ち負けが変わる。
 */
#dialog{
  position: absolute;
  top:0;
  width: 100%; height:100vh; 
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
}
#dialog .header{
  text-align: center;
}

p.userid{
  position: fixed !important;
    bottom: 15px !important;
    right: 60px !important;
}
@media only screen and (max-width: 480px) {
  p.userid{
    bottom: 15px !important;
    right: auto !important;
    left: 30px !important;
  }
}
@media only screen and (max-height: 480px) {
  p.userid{
    bottom: 5px !important;
    left: 30px !important;
    right: auto !important;
    font-size: 14px;
  }
}

/* ---------------------------------------------------------------
   視聴用パスワードの入力面（.hs-pw-gate）。
   プレイヤーは全画面の黒いアプリ画面。その中で読めるよう最小限だけ指定する。
   --------------------------------------------------------------- */
/* プレイヤーは全画面の黒いアプリ画面。その中で読めるよう、最小限だけ指定する。 */
.hs-pw-gate {
  position: fixed; inset: 0; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box; background: #000;
  font-family: 'Helvetica Neue', Helvetica, Arial, 'Noto Sans JP', sans-serif;
}
.hs-pw-panel { width: 100%; max-width: 340px; text-align: center; }
.hs-pw-title { color: #fff !important; font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.hs-pw-lead  { color: rgba(255,255,255,.72) !important; font-size: 13.5px; margin: 0 0 22px; line-height: 1.8; }
.hs-pw-panel form { display: flex; flex-direction: column; gap: 12px; }
.hs-pw-panel input {
  width: 100%; box-sizing: border-box; padding: 13px 15px; font-size: 16px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff;
}
.hs-pw-panel input::placeholder { color: rgba(255,255,255,.45); }
.hs-pw-panel input:focus { outline: 2px solid #f2c14e; outline-offset: 1px; }
.hs-pw-panel button {
  width: 100%; padding: 13px 15px; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; background: #f2c14e; color: #1a1a1a !important;
  cursor: pointer;
}
.hs-pw-back {
  display: inline-block; margin-top: 20px; font-size: 13px;
  color: rgba(255,255,255,.6) !important; text-decoration: underline;
}
