/* キャストページ専用。店舗ページの CSS・表示は変えない。 */
.online-cast .page { padding-bottom: var(--cp-bar-height, calc(140px + env(safe-area-inset-bottom, 0px))); }
.online-cast.no-phone .page { padding-bottom: 20px; }
.cp-back { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 16px; font-size: 13px; color: var(--theme-deep); text-decoration: none; }
.online-cast .hd .shop { flex: 1; }
.online-cast .hd .cp-back { flex: none; padding-inline: 5px; font-size: 12px; white-space: nowrap; }
/* 画像に文字を重ねない。店舗一覧のヘッダー寸法には影響しない。 */
.online-cast .hdimg { aspect-ratio: auto; }
.online-cast .hdimg > img, .online-cast .hdimg.custom img { width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; }
.online-cast .hdimg.custom .hdframe { width: 100%; aspect-ratio: auto; max-width: none; }
.cp-heading { margin-bottom: 14px; }
.cp-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cp-title-row .cp-name { margin: 0; font-size: 28px; letter-spacing: .025em; }
.cp-title-row .tags { display: contents; }
.cp-title-row .cast-ended-status { margin: 0; }
.cp-title-row .cast-next-shift { display: none; }
.cp .cp-basic { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; }
.cp .cp-shift-line { margin: 6px 0 0; color: var(--theme-deep); font-size: 16px; font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.cp .cp-catch { margin: 7px 0 0; font-size: 14px; line-height: 1.7; }
.cp-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.cp-jumps a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--theme-soft); border-radius: 999px; background: var(--theme-tint); color: var(--theme-deep); font-size: 12px; font-weight: 700; text-decoration: none; }
.cp h2 { scroll-margin-top: 116px; }
.cp-shifts h2 { margin-bottom: 8px; }
.cp-shift-summary { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 16px; font-weight: 700; line-height: 1.6; }
.cp-shift-summary.is-working { color: var(--theme-deep); }
.cp-shift-summary.is-undecided { font-size: 14px; }
.cp-working-dot { width: 8px; height: 8px; flex: none; fill: currentColor; }
.cp-shift-hint { margin: 4px 0 0; color: #3f3539; font-size: 12px; font-weight: 500; }
.cp-shift-track { display: flex; gap: 12px; margin: 16px -20px 0; padding: 0 20px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; list-style: none; scrollbar-width: none; }
.cp-shift-track::-webkit-scrollbar { display: none; }
.cp-shift-card { flex: 0 0 calc((100% - 30px) / 3.5); min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 14px 5px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-align: center; scroll-snap-align: start; font-variant-numeric: tabular-nums; }
.cp-shift-card time { display: flex; flex-direction: column; line-height: 1.45; }
.cp-shift-card time span { font-size: 11px; color: var(--mist); }
.cp-shift-card time b { font-size: 17px; }
.cp-shift-time { display: flex; flex-direction: column; margin-top: 12px; font-size: 13px; line-height: 1.55; white-space: nowrap; }
.cp-shift-card .room { margin-top: 10px; padding: 2px 4px; max-width: 100%; background: var(--theme); color: var(--theme-text); font-size: 9px; white-space: normal; overflow-wrap: anywhere; }
.cp-shift-card.is-off { background: #f2eff0; color: var(--mist); }
/* 出勤予定のカードは全カード同じ段組み：曜日・日付・「今日」の段（今日以外は空で高さだけ取る）・状態。状態は全カード同じ高さから始める（2026-11-05） */
.cp-shift-off { margin: 12px 0 15px; font-size: 12px; }
.cp-shift-today { display: block; height: 15px; margin-top: 3px; color: var(--mist); font-size: 10px; line-height: 1.5; }
.cp-shift-card.is-next { border-color: var(--theme-deep); box-shadow: inset 0 3px var(--theme-deep); background: var(--theme-tint); }
.cp-shift-card.is-next time span, .cp-shift-card.is-next time b, .cp-shift-card.is-next .cp-shift-time { color: var(--theme-deep); }
.cp .tags { gap: 6px; }
.cp .tag.today { background: var(--theme); }
.cp-track { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-right: 36px; }
.cp-track::-webkit-scrollbar { display: none; }
.cp-photo { position: relative; aspect-ratio: 3 / 4; }
.cp-photo img { width: 100%; height: 100%; max-width: none; }
.cp-track .cp-photo { flex: 0 0 calc(100% - 36px); scroll-snap-align: start; }
@media (max-width: 480px) {
  .cp-track { padding-right: 0; }
  .cp-track .cp-photo { flex-basis: 100%; }
}
.cp-dots { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 2px; }
.cp-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--theme-soft); cursor: pointer; }
.cp-dots svg { width: 12px; height: 12px; fill: currentColor; }
.cp-dots button[aria-pressed="true"] { color: var(--theme-deep); }
.online-cast .cp-bar { gap: 8px; padding: 7px 12px calc(10px + env(safe-area-inset-bottom, 0px)); }
.cp-call-note { display: block; margin: 0; text-align: center; font-size: 10px; line-height: 1.5; color: var(--mist); }
.cp-bar-content { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.cp-bar-cast { display: flex; align-items: center; gap: 9px; min-width: 0; }
.cp-bar-photo { display: block; width: 48px; aspect-ratio: 1; flex: none; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--theme-tint); }
.cp-bar-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.cp-bar-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cp-bar-name { color: var(--ink); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.cp-bar-next { color: var(--mist); font-size: 10px; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.online-cast .cp-bar .bar-contact { display: flex; flex-direction: column; gap: 6px; }
.online-cast .cp-bar .call { min-width: 108px; height: 48px; padding: 0 10px; gap: 5px; font-size: 14px; white-space: nowrap; text-shadow: none; }
.online-cast .cp-bar .call .i { width: 17px; height: 17px; }
.online-cast .cp-bar.demo-booking .booking-soon { min-height: 44px; font-size: 11px; }
.cp-peers { margin-top: 30px; }
.cp-peers h2 { margin: 0 0 13px; font-size: 17px; line-height: 1.5; }
.cp-peer-track { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; list-style: none; scrollbar-width: none; }
.cp-peer-track::-webkit-scrollbar { display: none; }
.cp-peer-track > li { flex: 0 0 calc((100% - 44px) / 2); min-width: 0; scroll-snap-align: start; }
.cp-peer-card { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; height: 100%; color: var(--ink); text-decoration: none; }
.cp-peer-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--theme-tint); }
.cp-peer-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.cp-peer-new { position: absolute; top: 8px; left: 0; padding: 3px 8px; border-radius: 0 4px 4px 0; font-size: 10px; line-height: 1.5; }
/* 新人バッジは店のページと同じ金（online-shop-tabs.css と同じ値。2026-11-05）。同じ日に出勤の札（.cp-peer-new）は形・位置はそのまま、色だけ金。 */
.online-cast .cp-photo [data-attendance-badge="new"] { border-radius: 4px; }
.online-cast :is(.cp-photo [data-attendance-badge="new"], .cp-peer-new) {
  background: linear-gradient(135deg, #F6E7B0 0%, #C9A24A 45%, #8C6A22 55%, #E9D08A 100%);
  color: #3B2A08; font-weight: 900; letter-spacing: 0.12em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -1px 0 rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.3);
}
.cp-peer-name { margin-top: 2px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.cp-peer-time { color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1.5; }
.cp-peer-card .room { max-width: 100%; background: var(--theme); color: var(--theme-text); font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { .cp-peer-track, .cp-track, .cp-shift-track { scroll-behavior: auto !important; } }
.cp-rows li { flex-wrap: wrap; }
.cp-rows li { gap: 8px; }
.cp-rows .d { min-width: 6em; }
.cp-rows b { font-size: 15px; }
.cp-rows .room { margin-left: auto; }
.cp-rows li small { flex-basis: 100%; }
.cp-basic, .cp-introduction, .cp-comment, .cp-qa { margin: 24px 0; }
.cp-basic h2, .cp-introduction h2, .cp-comment h2, .cp-qa h2 { margin: 0 0 12px; font-size: 17px; }
.cp-catch { margin: 0 0 14px; color: var(--theme-deep); font-size: 16px; font-weight: 700; line-height: 1.7; overflow-wrap: anywhere; }
.cp-basic dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 14px 0; border-block: 1px solid var(--line); gap: 12px; }
.cp-basic dl div { min-width: 0; }
.cp-basic dt { margin-bottom: 6px; color: var(--mist); font-size: 12px; }
.cp-basic dd { margin: 0; font-size: 17px; font-weight: 700; }
.cp-profile-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cp-profile-icon { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border: 1px solid #fff; border-radius: 6px; background: var(--theme); color: var(--theme-text); font-size: 12px; line-height: 1.5; }
.cp-profile-icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cp-introduction-text { margin: 0; font-size: 15px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.cp-introduction-text.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.cp-read-more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; width: 100%; margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--theme-deep); font: inherit; font-size: 14px; cursor: pointer; }
.cp-read-more[hidden] { display: none; }
.cp-read-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cp-read-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.cp-qa dl { margin: 0; }
.cp-qa dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.cp-qa dt { display: flex; align-items: baseline; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.8; overflow-wrap: anywhere; }
.cp-qa-letter { flex: 0 0 auto; color: var(--theme-deep); font-size: 16px; }
.cp-qa dd { margin: 8px 0 0 24px; font-size: 15px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Cast cards: schedule/room on the photo, name/age below. Existing square peer photos stay square. */
.cp-peer-overlay { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 28px 8px 8px; background: linear-gradient(transparent,rgba(0,0,0,.72) 45%,rgba(0,0,0,.82)); color: #fff; }
.cp-peer-overlay .cp-peer-time { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; border-radius: 0; background: none; color: #fff; }
.cp-peer-time .shift-dot { width: 8px; height: 8px; flex: none; color: #6fe08d; }
.cp-peer-name .cast-age { font-size: 12px; font-weight: 400; white-space: nowrap; }
