/* 르네시스 온에어 화면(/streamer). 색과 간격은 styles.css 의 값을 쓰고, 방송 중 색과 플랫폼 점 색만 여기서 더한다.
   플랫폼은 로고 대신 이름 글자와 색 점으로 나타낸다. */

.streamer-page {
  --st-live: #ff4d5e;
  --st-live-soft: rgba(255, 77, 94, .13);
  --st-live-line: rgba(255, 77, 94, .45);
  --st-chzzk: #12a674;
  --st-yt: #f2575d;
  --st-soop: #3f8cf0;
  --st-fake: #8a93a3;
  --st-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

.st { display: flex; flex-direction: column; gap: clamp(34px, 6vw, 56px); padding-block: clamp(28px, 5vw, 52px) clamp(48px, 8vw, 84px); }
.st h1, .st h2, .st h3, .st p, .st ul, .st ol { margin: 0; }
.st ul, .st ol { padding: 0; list-style: none; }

.st-num { font-family: var(--st-mono); font-variant-numeric: tabular-nums; }
.st-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); }
.st-dot-chzzk, .st-dot-yt, .st-dot-soop { width: 20px; height: 20px; border-radius: 0; background: transparent center / contain no-repeat; image-rendering: pixelated; }
.st-dot-chzzk { background-image: url(/assets/onair/gem-chzzk.png); }
.st-dot-yt { background-image: url(/assets/onair/gem-yt.png); }
.st-dot-soop { background-image: url(/assets/onair/gem-soop.png); }
.st-setup { display: grid; gap: 12px; }
.st-consent { max-width: 68ch; display: grid; gap: 12px; line-height: 1.65; }
.st-consent[hidden] { display: none; }
.st-panel[hidden] { display: none; }
.st-rec-bar[hidden] { display: none; }
.st-consent ol { list-style: decimal; padding-inline-start: 1.5em; margin-block: 12px; }
.st-consent li + li { margin-top: 8px; }
.st-consent button { justify-self: start; }
.st-consent button[data-consent-action] { min-height: 44px; padding: 10px 18px; align-self: flex-start; border-color: var(--accent); color: var(--accent); font-size: 15px; }
.st-widget-preview summary { cursor: pointer; font-weight: 700; }
.st-moments li { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding-block: 8px; border-bottom: 1px solid var(--line); }
.st-moments time { color: var(--accent); }
.st [data-last-moments] summary { cursor: pointer; }
.st-setting[hidden], .st [data-pilot-note][hidden] { display: none; }
.st-dot-fake { background: var(--st-fake); }
.st-copy-buffer { position: fixed; top: 0; left: 0; opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------ 허브 */

.st-hub { display: flex; flex-direction: column; gap: 18px; }
.st-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--text-2); }
/* 방송 등: 게임 칭호와 같은 원화 조각을 여덟 장 띠로 묶었다(한 장 220ms, 게임 글꼴과 같은 박자).
   띠 위치를 백분율로 옮기면 어떤 크기에서도 같은 장이 나온다(k/7). */
.st-lamp { display: inline-block; flex: none; width: 36px; height: 36px; background: url(/assets/onair/lamp-live.png) 0 0 / 100% 800% no-repeat; image-rendering: pixelated; animation: st-lamp 1.76s steps(8) infinite; }
@keyframes st-lamp { to { background-position: 0 114.2857%; } }
.st-hub .st-eyebrow { font-size: 14px; gap: 10px; }
.st-hub h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; max-width: 20ch; }
.st-lede { color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 62ch; }

.st-notice { border: 1px solid var(--line-2); border-left: 3px solid var(--warn); border-radius: var(--radius-s); background: var(--surface); padding: 12px 16px; font-size: 14.5px; color: var(--text); max-width: 72ch; }
.st-notice.is-ok { border-left-color: var(--ok); }
.st-notice[hidden] { display: none; }

.st-who { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.st-who[hidden] { display: none; }
.st-who img { border-radius: 50%; background: var(--surface-2); }

.st-connect { display: flex; flex-wrap: wrap; gap: 10px; }
.st-connect-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 11px 18px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-s);
  color: var(--text); font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.st-connect-btn[hidden] { display: none; }
.st.has-channel .st-show { display: none; }
.st-connect-btn:hover { background: var(--surface-3); border-color: var(--line-3); }
.st-connect-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-connect-btn.is-off { color: var(--text-3); background: transparent; border-style: dashed; cursor: default; }
.st-connect-btn.is-off:hover { background: transparent; border-color: var(--line-2); }
.st-connect-btn.is-off .st-dot { opacity: .45; }
.st-connect-btn.is-done { color: var(--text-2); background: transparent; border-color: var(--accent-line); cursor: default; }
.st-connect-help { font-size: 14px; color: var(--text-3); min-height: 1.5em; }

/* 위젯 고르기에서 꼭 켜 둘 항목(협찬 표시): 포인트의 조건이라 눈에 띄게 */
.st-need { font-weight: 700; }
.st-need em { margin-left: 8px; padding: 2px 8px; border: 1px solid rgba(227, 173, 76, .5); border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--warn); white-space: nowrap; }

/* 방송 신청 순서 (2026-11-21): 다섯 걸음의 지금 상태. 끝남 is-done, 지금 할 일 is-now, 손볼 것 is-warn */
.st-apply { max-width: 780px; padding: 18px 20px 6px; border: 1px solid var(--line-2); border-radius: var(--radius-m, 16px); background: var(--surface); }
.st-apply[hidden] { display: none; }
.st-apply-head h2 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.st-apply-head p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.st-apply-list { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: st-apply; }
.st-apply-step { counter-increment: st-apply; position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-2); }
.st-apply-mark { align-self: start; display: grid; place-items: center; width: 26px; height: 26px; margin-top: 1px; border: 1.5px solid var(--line-3, var(--line-2)); border-radius: 50%; font-family: var(--st-mono); font-size: 13px; font-weight: 700; font-style: normal; color: var(--text-3); transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.st-apply-mark::before { content: counter(st-apply); }
/* 걸음 사이를 잇는 줄: 끝난 걸음 아래는 초록으로 찬다 */
.st-apply-step:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 42px; bottom: -10px; width: 1.5px; background: var(--line-2); }
.st-apply-step.is-done:not(:last-child)::after { background: var(--ok); opacity: .55; }
.st-apply-body b { display: block; font-size: 15px; font-weight: 700; color: var(--text-2); }
.st-apply-body span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: var(--text-3); overflow-wrap: anywhere; }
.st-apply-step.is-now .st-apply-mark { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(116, 227, 247, .14); }
.st-apply-step.is-now .st-apply-body b, .st-apply-step.is-done .st-apply-body b, .st-apply-step.is-warn .st-apply-body b { color: var(--text); }
.st-apply-step.is-now .st-apply-body span { color: var(--text-2); }
.st-apply-step.is-done .st-apply-mark { background: var(--ok); border-color: var(--ok); color: #05130c; box-shadow: none; }
.st-apply-step.is-done .st-apply-mark::before { content: "\2713"; }
.st-apply-step.is-warn .st-apply-mark { border-color: var(--warn); color: var(--warn); box-shadow: 0 0 0 4px rgba(227, 173, 76, .13); }
.st-apply-step.is-warn .st-apply-mark::before { content: "!"; }
.st-apply-step.is-warn .st-apply-body span { color: #f0cf94; }
.st-apply-act { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--accent-line); border-radius: var(--radius-s); background: rgba(116, 227, 247, .08); color: var(--text); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .18s var(--ease), border-color .18s var(--ease); }
.st-apply-act:hover { background: rgba(116, 227, 247, .16); border-color: var(--accent); }
.st-apply-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-apply-act[hidden], .st-apply-step:not(.is-now):not(.is-warn) .st-apply-act { display: none; }
.st-apply.is-complete { border-color: rgba(62, 207, 142, .45); }
#st-connect, #st-widget-title { scroll-margin-top: 96px; }
.st-yt-guide { max-width: 62ch; font-size: 14px; color: var(--text-3); }
.st-yt-guide summary { cursor: pointer; color: var(--text-2); font-weight: 600; }
.st-yt-guide summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-yt-guide .st-note { margin-top: 6px; }
@media (max-width: 640px) {
  .st-apply { padding: 16px 14px 4px; }
  .st-apply-step { grid-template-columns: 28px minmax(0, 1fr); }
  .st-apply-act { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) { .st-apply-mark, .st-apply-act { transition: none; } }
.st-roles { display: flex; align-items: flex-end; gap: 10px; margin-top: 10px; }
.st-roles img { display: block; image-rendering: pixelated; }

/* 게임 채팅 한 줄을 흉내 낸 칭호 견본. 칭호는 게임 글꼴에 넣는 조각 그대로 캔버스에 이어 그린다. */
.st-title-canvas { display: block; flex: none; max-width: 100%; height: auto; image-rendering: pixelated; }
.st-show { margin: 4px 0 0; display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.st-show-chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: rgba(0, 0, 0, .42); border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-show-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 20px; line-height: 1.3; color: #f2f4f8; }
.st-show-line b { font-weight: 800; color: #ffffff; }
.st-show-line b::after { content: ":"; font-weight: 500; color: var(--text-3); }
.st-show-line.is-old { color: var(--text-3); font-size: 15px; }
.st-show-line.is-old b { color: var(--text-2); }
.st-show figcaption { font-size: 13.5px; line-height: 1.55; color: var(--text-3); min-height: 1.55em; }

/* ------------------------------------------------------------ 대시보드 */

.st-dash { display: flex; flex-direction: column; gap: 16px; }
.st-dash[hidden] { display: none; }
.st-dash-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.st-dash-head h2, .st-section-head h2 { font-size: clamp(20px, 3vw, 26px); line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.st-dash-who { font-size: 13.5px; color: var(--text-3); }
.st-tier-emb { display: block; flex: none; width: auto; height: auto; image-rendering: pixelated; }
.st-tier-emb[hidden] { display: none; }
.st-mytitle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; background: rgba(0, 0, 0, .34); border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-mytitle[hidden] { display: none; }
.st-mytitle-cap { font-size: 13px; color: var(--text-3); }
.st-head-preview { padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-head-preview[hidden], .st-head-demo img[hidden], .st-head-controls label[hidden] { display: none; }
.st-head-preview summary, .st-head-preview label { cursor: pointer; }
.st-head-preview label { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; }
.st-head-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.st-head-controls label { min-height: 44px; }
.st-head-controls select { padding: 6px 8px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-s); font: inherit; }
.st-head-preview :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-head-demo { display: grid; justify-items: center; align-content: center; min-height: 85px; gap: 4px; margin: 8px 0; background: var(--bg-deep); }
.st-head-demo span, .st-head-demo strong { max-width: 100%; overflow-wrap: anywhere; padding: 1px 6px; line-height: 1.3; }
.st-head-demo span { display: inline-flex; align-items: center; gap: 5px; color: #ffd989; }
.st-head-demo strong { color: #f7f7f7; }
.st-head-demo img { flex: none; object-fit: contain; }
.st-role-sample { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.st-role-sample b { color: var(--text-2); font-size: .82rem; }
.st-role-sample ul { display: flex; flex-wrap: wrap; gap: 5px; list-style: none; padding: 0; margin: 6px 0; }
.st-role-sample li { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line-2); border-radius: 20px; padding: 3px 9px; font-size: .8rem; color: var(--text); }
.st-role-sample li[hidden] { display: none; }
.st-role-sample li::before { content: ""; width: 16px; height: 8px; flex: none; border-radius: 6px; background: url(/assets/onair/role-swatches.png) 0 var(--swatch-row) / 100% 900% no-repeat; }
.st-role-sample img { object-fit: contain; }
.st-swatch-rookie { --swatch-row: 12.5%; }
.st-swatch-rising { --swatch-row: 25%; }
.st-swatch-star { --swatch-row: 37.5%; }
.st-swatch-partner { --swatch-row: 50%; }
.st-swatch-live { --swatch-row: 62.5%; }
.st-swatch-yt { --swatch-row: 75%; }
.st-swatch-chzzk { --swatch-row: 87.5%; }
.st-swatch-soop { --swatch-row: 100%; }
.st-panel-entry { width: fit-content; }
.st-panel-entry[hidden] { display: none; }
[data-panel-focus], #creator-benefits, #creator-rehearsal { scroll-margin-top: 90px; }
.st-rehearsal { display: grid; justify-items: start; gap: 9px; padding: 6px 14px 14px; }
.st-rehearsal[hidden] { display: none; }
.st-rehearsal .st-head-demo { width: min(100%, 320px); margin: 0; border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-rehearsal select { min-height: 40px; margin-left: 6px; padding: 4px 8px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius-s); font: inherit; }
.st-rehearsal .st-note { margin: 0; }
.st-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; color: var(--text-2); }
.st-pill i { flex: none; width: 18px; height: 18px; background: url(/assets/onair/lamp-idle.png) 0 0 / 100% 800% no-repeat; image-rendering: pixelated; }
.st-pill.is-live { border-color: var(--st-live-line); background: var(--st-live-soft); color: #ffd3d8; }
.st-pill.is-live i { background-image: url(/assets/onair/lamp-live.png); animation: st-lamp 1.76s steps(8) infinite; }
.st-status-line { font-size: 14.5px; line-height: 1.6; color: var(--text-2); max-width: 78ch; }

.st-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 16px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.st-ico { display: block; flex: none; image-rendering: pixelated; }
.st-v { font-size: 15px; font-weight: 700; color: var(--text-2); max-width: 100%; }
.st-v b { font-size: 26px; font-weight: 800; color: var(--text); margin-right: 3px; }
.st-v-code b { letter-spacing: .08em; color: var(--accent); }
.st-v-url { font-family: var(--st-mono); font-size: 14px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; line-height: 1.5; padding-block: 6px; }
.st-s { font-size: 12.5px; color: var(--text-2); }

.st-copy {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; margin-top: 4px;
  background: transparent; border: 1px solid var(--line-2); border-radius: 8px;
  color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.st-copy:hover { background: var(--surface-2); border-color: var(--line-3); }
.st-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-copy .icon { width: 15px; height: 15px; }
.st-copy-quiet { color: var(--text-2); }

.st-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: start; }
.st-panel { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: clamp(16px, 2.6vw, 22px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.st-panel h3 { font-size: 14px; font-weight: 700; color: var(--text-2); }
.st-panel h3:not(:first-child) { margin-top: 10px; }
.st-note { font-size: 13.5px; line-height: 1.6; color: var(--text-3); }
.st-note:empty { display: none; }

.st-links { display: flex; flex-direction: column; }
.st-link { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-link:first-child { border-top: 1px solid var(--line); }
.st-link-copy { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; font-size: 14px; line-height: 1.45; }
.st-link-copy b { font-size: 12.5px; font-weight: 600; color: var(--text-3); }
.st-link-copy a, .st-link-copy span { color: var(--text); font-weight: 700; overflow-wrap: anywhere; text-decoration: none; }
.st-link-copy a:hover { text-decoration: underline; }
.st-unlink { flex: none; min-height: 32px; padding: 5px 12px; background: transparent; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.st-unlink:hover { border-color: var(--line-3); color: var(--text); }
.st-unlink.is-armed { border-color: var(--danger); color: var(--text); }
.st-unlink:disabled { opacity: .55; cursor: default; }
.st-relogin { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 5px 12px; border: 1px solid var(--accent); border-radius: 8px; color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; }
.st-relogin:hover { background: var(--surface-2); }

.st-settings { display: flex; flex-direction: column; }
.st-setting { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.st-setting:first-child { border-top: 1px solid var(--line); }
.st-setting input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); }
.st-setting span { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.st-setting b { display: block; font-size: 14.5px; color: var(--text); }

.st-widget-url { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-widget-url code { font-family: var(--st-mono); font-size: 13px; color: var(--text); overflow-wrap: anywhere; line-height: 1.5; }
.st-widget-url code.is-masked { font-family: inherit; color: var(--text-3); }
.st-widget-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.st-widget-actions .st-copy { margin-top: 0; }

.st-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.st-toggles label { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.st-toggles input { accent-color: var(--accent); }
.st-spots { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.st-spots label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.st-spots select { padding: 5px 28px 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface, transparent); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }

.st-preview { position: relative; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); border-radius: var(--radius-s); overflow: hidden; background: var(--bg-alt); }
.st-preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; }

/* ------------------------------------------------------------ 2판: 인정 칸, 켜고 끄기, 다음 방송, 조작판 */

/* 인정 칸: 지금 이 방송이 인정되는지와 까닭. 인정 중은 초록 줄, 아니면 회색 줄로 한눈에 가른다. */
.st-rec { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(170px, 230px); align-items: center; gap: 10px 16px; padding: 14px 18px 14px 16px; background: var(--surface); border: 1px solid var(--line-2); border-left: 3px solid var(--text-4); border-radius: var(--radius-s); }
.st-rec[hidden] { display: none; }
.st-rec.is-ok { border-color: rgba(62, 207, 142, .34); border-left-color: var(--ok); background: rgba(62, 207, 142, .055); }
.st-rec-mark { align-self: start; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--text-4); }
.st-rec.is-ok .st-rec-mark { background: var(--ok); animation: st-rec-beat 1.8s var(--ease) infinite; }
@keyframes st-rec-beat { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.st-rec-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.st-rec-head { font-size: 16px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.st-rec-lines { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.st-rec-meter { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-rec-cap { font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; text-align: right; }
.st-rec-bar { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.st-rec-bar::-webkit-progress-bar { background: var(--surface-3); border-radius: 999px; }
.st-rec-bar::-webkit-progress-value { background: var(--text-3); border-radius: 999px; }
.st-rec-bar::-moz-progress-bar { background: var(--text-3); border-radius: 999px; }
.st-rec.is-ok .st-rec-bar::-webkit-progress-value { background: var(--ok); }
.st-rec.is-ok .st-rec-bar::-moz-progress-bar { background: var(--ok); }

.st-tiles[hidden] { display: none; }
.st-connect-note { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-3); }

/* 「준비 중」 딱지와 흐리게 둔 칸 */
.st-soon { display: inline-block; margin-left: 8px; padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--text-2); vertical-align: 1px; }
.st-soon[hidden] { display: none; }
.st-setting[hidden] { display: none; }
.st-setting.is-soon { cursor: default; }
.st-setting.is-soon input, .st-setting.is-soon span { opacity: .6; }
.st-setting.is-soon .st-soon { opacity: 1; }
.st-setting input:disabled { cursor: default; }

.st-plan { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 10px 12px; align-items: end; }
.st-plan.is-soon .st-field { opacity: .5; }
.st-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-size: 12.5px; color: var(--text-3); }
.st-field input { width: 100%; min-width: 0; min-height: 38px; padding: 7px 10px; background: var(--bg-alt); border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); font: inherit; font-size: 14px; color-scheme: dark; }
.st-field input::placeholder { color: var(--text-4); }
.st-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.st-field input:disabled { cursor: default; }
.st-plan-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-plan-actions .st-copy { margin-top: 0; }
.st-plan-actions .st-soon { margin-left: 0; }
.st-copy:disabled { opacity: .5; cursor: default; }
.st-copy:disabled:hover { background: transparent; border-color: var(--line-2); }
.st-copy[hidden] { display: none; }

.st-howto { display: flex; flex-direction: column; gap: 6px; counter-reset: st-how; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.st-howto li { counter-increment: st-how; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.st-howto li::before { content: counter(st-how); font-family: var(--st-mono); font-weight: 700; color: var(--accent); }

/* 곧 방송: 스트리머가 적어 둔 다음 방송 */
.st-soon-box { display: flex; flex-direction: column; gap: 8px; }
.st-soon-box[hidden] { display: none; }
.st-soon-box h3 { font-size: 14px; font-weight: 700; color: var(--text-2); }
.st-soon-list { display: flex; flex-direction: column; }
.st-soon-item { display: flex; align-items: center; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.st-soon-item:first-child { border-top: 1px solid var(--line); }
.st-soon-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; flex: 1 1 auto; font-size: 14px; }
.st-soon-copy b { font-weight: 800; color: var(--text); }
.st-soon-copy span { color: var(--text-2); overflow-wrap: anywhere; }
.st-soon-when { flex: none; font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ 지금 방송 중 */

.st-section { display: flex; flex-direction: column; gap: 16px; }
.st-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.st-section-note { font-size: 13.5px; color: var(--text-3); }
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); }
.st-card.is-on { border-color: var(--st-live-line); }
/* 방송 화면 한 장: 카드 맨 위를 가득 채운다 */
.st-card-shot { display: block; margin: -14px -14px 2px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(var(--radius-s) - 1px) calc(var(--radius-s) - 1px) 0 0; background: var(--surface-2); }
.st-card-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-card-shot:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
/* 그림이 없는 방송: 옆 카드에 그림이 있는 넓은 화면에서만 등급 휘장으로 같은 높이를 채운다 */
.st-card-shot.is-blank { display: none; }
.st-card-shot .st-card-emb { flex: none; width: auto; height: 40%; max-width: 46%; object-fit: contain; image-rendering: pixelated; }
.st-card-emb-word { font-size: 12.5px; font-weight: 700; color: var(--text-3); }
@media (min-width: 641px) {
  .st-cards.has-shots .st-card-shot.is-blank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-decoration: none; background: var(--surface-2); }
}
.st-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
.st-card-facts { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; font-size: 12.5px; color: var(--text-2); }
.st-card-fact b { color: var(--text); }
.st-card-fact + .st-card-fact::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 10px 3px 0; border-radius: 50%; background: var(--text-4); }
.st-card-top .st-tier-emb { margin-top: -2px; }
.st-card-plat { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); }
.st-card .st-title-canvas { margin: 0; }
.st-card-plat b { color: var(--text); margin-left: -2px; }
/* 이름 줄은 게임 채팅처럼 방송 칭호 다음에 닉네임 */
.st-card-who { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.st-card-name { font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.st-card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.st-card-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 12.5px; color: var(--text-3); }
.st-card-chip b { color: var(--text-2); font-weight: 600; overflow-wrap: anywhere; }
.st-card-chip.is-join { border-color: var(--accent-line); color: var(--accent); background: rgba(116, 227, 247, .07); }
.st-card-chip.is-join b { color: var(--text); font-weight: 700; }
.st-card-ttl { font-size: 14px; color: var(--text); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.st-card-ing { font-size: 13px; color: var(--accent); min-height: 1.5em; overflow-wrap: anywhere; }
.st-card-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.st-card-act { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.st-card-act.is-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.st-card-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.st-empty { padding: 26px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius-s); text-align: center; }
.st-empty[hidden] { display: none; }
.st-empty-title { font-size: 15px; font-weight: 700; color: var(--text); }
.st-empty-sub { font-size: 13.5px; color: var(--text-3); margin-top: 4px; }

/* ------------------------------------------------------------ 안내 */

.st-notes { display: flex; flex-direction: column; gap: 8px; }
.st-note-box { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface); }
.st-note-box summary { display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-size: 14.5px; font-weight: 700; color: var(--text); cursor: pointer; list-style: none; }
.st-note-box summary::-webkit-details-marker { display: none; }
.st-note-box summary .icon { width: 17px; height: 17px; color: var(--text-3); flex: none; }
.st-note-box summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-note-body { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 16px 41px; font-size: 14px; line-height: 1.65; color: var(--text-2); max-width: 82ch; }

@media (max-width: 860px) {
  .st-cols { grid-template-columns: minmax(0, 1fr); }
  .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .st-tiles, .st-cards, .st-plan { grid-template-columns: minmax(0, 1fr); }
  .st-connect-btn { flex: 1 1 100%; }
  .st-note-body { padding-left: 16px; }
  .st-rec { grid-template-columns: auto minmax(0, 1fr); }
  .st-rec-meter { grid-column: 1 / -1; }
  .st-rec-cap { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .st-lamp, .st-pill.is-live i, .st-rec.is-ok .st-rec-mark { animation: none; }
  .st-connect-btn, .st-copy { transition: none; }
}
