/* ===================================================================== Session 페이지 전용 스타일 (이 페이지에서만 사용. 공통 ui.css 와 분리) 토큰: tokens.css 변수만 참조. DESIGN_CONCEPT §5 3-column 골격. 철칙: border-left 0 · 이모지 0(아이콘 inline SVG) · 카드격자 덤프 0 · 순흑/순백 금지 · 둥근모서리 과다 금지 · 강조는 weight/tint/kicker/dot · 한 화면 한 목적(= 가상 내담자와 듣고 말하기). 빨강은 종료에만. ===================================================================== */ .sx-page { width: 100%; max-width: none; margin: 0 auto; height: calc(100vh - var(--topbar-h)); height: calc(100dvh - var(--topbar-h)); min-height: 0; padding: var(--sp-5) var(--sp-5) var(--sp-4); overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: var(--sp-4); position: relative; isolation: isolate; word-break: keep-all; overflow-wrap: break-word; background: linear-gradient(135deg, rgba(251, 250, 248, 0.94), rgba(244, 242, 238, 0.9)), var(--asset-warm-elements) center / cover no-repeat; } .sx-page, .sx-page * { box-sizing: border-box; } .sx-page--prestart { grid-template-rows: auto minmax(0, 1fr); overflow: auto; color: #eef4f2; background: radial-gradient(circle at 14% 18%, rgba(95, 150, 139, 0.2), transparent 26%), radial-gradient(circle at 86% 8%, rgba(176, 115, 92, 0.18), transparent 24%), linear-gradient(135deg, rgba(13, 24, 22, 0.96), rgba(28, 39, 36, 0.93)), var(--asset-warm-elements) center / cover no-repeat; } .sx-page--active { height: 100vh; height: 100dvh; grid-template-rows: minmax(0, 1fr) auto; padding: 14px; gap: 12px; background: radial-gradient(circle at 16% 14%, rgba(95, 150, 139, 0.2), transparent 27%), radial-gradient(circle at 82% 8%, rgba(176, 115, 92, 0.18), transparent 24%), linear-gradient(135deg, #111c1a, #1d2926 52%, #15211f); color: #eaf0f1; } .sx-page--active .sx-grid { height: auto; width: min(100%, 1460px); margin: 0 auto; } .sx-page--active .sx-head { display: none; } /* ── 페이지 헤드라인 + 가로 회기 단계 미니 트랙 ── */ .sx-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; } .sx-head__lt .sx-head__kicker { margin-bottom: var(--sp-2); } .sx-head__title { font-size: 28px; font-weight: 700; letter-spacing: 0; color: var(--text-strong); line-height: 1.3; } .sx-head__title em { font-style: normal; color: var(--accent-deep); } .sx-head__sub { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 5px; max-width: 540px; } /* 가로 단계 미니 (헤드 우측) — 현재만 또렷 */ .sx-phases { display: flex; align-items: center; flex: none; } .sx-ph { display: flex; align-items: center; gap: 9px; padding: 0 2px; } .sx-ph__dot { width: 11px; height: 11px; border-radius: 50%; flex: none; position: relative; background: var(--bg-surface); border: 2px solid var(--neutral-200); } .sx-ph.is-done .sx-ph__dot { background: var(--accent-bright); border-color: var(--accent-bright); } .sx-ph.is-cur .sx-ph__dot { border-color: var(--accent); } .sx-ph.is-cur .sx-ph__dot::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); } .sx-ph__meta { display: flex; flex-direction: column; line-height: 1.2; } .sx-ph__name { font-size: 13px; font-weight: 500; color: var(--text-muted); } .sx-ph.is-done .sx-ph__name { color: var(--text-body); } .sx-ph.is-cur .sx-ph__name { color: var(--text-strong); font-weight: 700; } .sx-ph__t { font-size: 10.5px; color: var(--text-muted); font-family: var(--font-num); font-variant-numeric: tabular-nums; margin-top: 1px; } .sx-ph.is-cur .sx-ph__t { color: var(--accent); } .sx-ph__link { width: 28px; height: 1px; background: var(--hair); margin: 0 4px; align-self: center; margin-top: -12px; } .sx-ph__link.is-fill { background: var(--accent-bright); } /* ── 3-region 그리드 ── */ .sx-grid { display: grid; grid-template-columns: minmax(248px, 0.76fr) minmax(500px, 2.12fr) minmax(248px, 0.72fr); gap: 12px; align-items: stretch; width: 100%; min-width: 0; height: 100%; min-height: 0; overflow: hidden; } .sx-mobile-context { display: none; } .sx-mobile-context__brief { display: none; } .sx-mobile-context__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; background: var(--neutral-sig); vertical-align: middle; } .sx-mobile-context__dot.is-pos { background: var(--pos-solid); } .sx-mobile-context__dot.is-warn { background: var(--warn-solid); } .sx-mobile-context__resume { display: none; min-width: 0; padding: 7px 8px; border-radius: var(--radius-sm); background: var(--accent-tint); color: var(--accent-deep); font-size: 11.5px; font-weight: 650; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* 패널 (공통 .vg-panel 과 별개로 세션 패널은 padding 을 영역별 제어) */ .sx-panel { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); } /* 컬럼 공통 */ .sx-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; overflow: hidden; } .sx-col-center { display: grid; grid-template-rows: minmax(164px, 0.34fr) minmax(0, 1fr); gap: 12px; min-height: 0; } .sx-page--active .sx-col-center { grid-template-rows: minmax(230px, 0.42fr) minmax(0, 1fr); } /* ── LEFT: 세로 단계 트랙 ── */ .sx-track { order: 2; flex: 0 0 auto; padding: 14px; overflow: hidden; } .sx-track__head { margin-bottom: 10px; } .sx-vstep { display: grid; grid-template-columns: 14px 1fr; column-gap: 13px; } .sx-vstep__rail { display: flex; flex-direction: column; align-items: center; } .sx-vstep__node { width: 13px; height: 13px; border-radius: 50%; flex: none; position: relative; z-index: 1; background: var(--bg-surface); border: 2px solid var(--neutral-200); } .sx-vstep__line { width: 2px; flex: 1; min-height: 22px; background: var(--hair); } .sx-vstep.is-done .sx-vstep__node { background: var(--accent-bright); border-color: var(--accent-bright); } .sx-vstep.is-done .sx-vstep__line { background: var(--accent-bright); } .sx-vstep.is-cur .sx-vstep__node { border-color: var(--accent); } .sx-vstep.is-cur .sx-vstep__node::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; background: var(--accent); } .sx-vstep__body { padding-bottom: 11px; } .sx-vstep:last-child .sx-vstep__body { padding-bottom: 0; } .sx-vstep__label { font-size: 13px; font-weight: 500; color: var(--text-muted); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; } .sx-vstep.is-done .sx-vstep__label { color: var(--text-body); } .sx-vstep.is-cur .sx-vstep__label { color: var(--text-strong); font-weight: 700; } .sx-vstep__t { font-size: 10.5px; font-family: var(--font-num); font-variant-numeric: tabular-nums; color: var(--text-muted); font-weight: 400; flex: none; } .sx-vstep.is-cur .sx-vstep__t { color: var(--accent); font-weight: 600; } .sx-vstep__desc { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.42; } /* ── LEFT: 내담자 컨텍스트 카드 ── */ .sx-ctx { order: 1; /* 콘텐츠 높이로 hug — 빈 카드가 칩 아래로 늘어나 비어 보이지 않게. 남는 세로 여백은 컬럼 하단으로 모여 우측 컬럼과 같은 호흡을 유지. */ flex: 0 1 auto; min-height: 0; padding: 14px; overflow: auto; } .sx-ctx__head { margin-bottom: 12px; } .sx-ctx__who { display: flex; align-items: center; gap: 10px; } .sx-ctx__pf { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; background: var(--clay-tint); color: var(--clay-deep); } .sx-ctx__nm { font-size: 15px; font-weight: 700; color: var(--text-strong); } .sx-ctx__mt { font-size: 12px; color: var(--text-muted); margin-top: 1px; line-height: 1.35; } .sx-ctx__meta { margin-top: 12px; } .sx-ctx__row { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; border-top: 1px solid var(--paper-2); font-size: 13px; } .sx-ctx__row:first-child { border-top: none; } .sx-ctx__rl { font-size: 11.5px; font-weight: 600; color: var(--text-muted); width: 38px; flex: none; padding-top: 1px; } .sx-ctx__rv { color: var(--text-body); line-height: 1.48; min-width: 0; } .sx-ctx__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4); } .sx-page--active .sx-ctx__chips { margin-top: 10px; } .sx-chip { font-size: 11.5px; font-weight: 500; color: var(--text-body); background: var(--paper-2); padding: 4px 10px; border-radius: 100px; } .sx-chip.is-clay { background: var(--clay-tint); color: var(--clay-deep); } /* ── CENTER: 어두운 STAGE ── */ .sx-stage { position: relative; overflow: hidden; background: var(--bg-stage); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); min-height: 0; padding: 14px 16px; display: grid; grid-template-columns: minmax(136px, 184px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); align-items: center; column-gap: 18px; row-gap: 8px; } .sx-page--active .sx-stage { background: radial-gradient(circle at 28% 50%, rgba(145, 200, 189, 0.18), transparent 42%), linear-gradient(135deg, rgba(11, 22, 20, 0.96), rgba(31, 43, 39, 0.93)), var(--asset-warm-elements) center / cover no-repeat; border-color: rgba(255, 255, 255, 0.11); box-shadow: 0 18px 44px rgba(7, 16, 14, 0.28); grid-template-columns: minmax(184px, 256px) minmax(0, 1fr); padding: 20px 24px; } .sx-page--active .sx-stage::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: calc(var(--radius-lg) - 2px); pointer-events: none; } /* stage 상단 좌측 상태 라벨 (어두운 배경 위 옅은 텍스트) */ .sx-stage__top { width: 100%; grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-on-accent); opacity: 0.72; } .sx-stage__status { min-width: 0; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sx-stage__timer { flex: none; font-family: var(--font-num); font-variant-numeric: tabular-nums; } .sx-stage__state-dot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--clay); } .sx-stage__state-dot.is-learner { background: var(--accent-bright); } .sx-stage__state-dot.is-think { background: var(--neutral-sig); } /* 음성 오브 + 아바타 (오브는 아바타 둘레 링) */ .sx-orb-wrap { position: relative; grid-column: 1; grid-row: 1 / span 2; margin: 0; display: flex; align-items: center; justify-content: center; } /* 오브 링 — 상태별 색/모션. box-shadow 로 glow(절제). */ .sx-orb { position: absolute; inset: -10px; border-radius: 50%; pointer-events: none; --ring: var(--accent-bright); box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 55%, transparent), 0 0 26px 3px color-mix(in srgb, var(--ring) 28%, transparent); transition: box-shadow var(--dur-slow) var(--ease-out); } .sx-orb[data-orb="learner"] { --ring: var(--accent-bright); animation: sxBreathe 1500ms var(--ease-in-out) infinite; } .sx-orb[data-orb="client"] { --ring: var(--clay); /* 음량(--amp)을 JS 가 주입 → blur 미세 모듈레이션 */ box-shadow: 0 0 0 2px color-mix(in srgb, var(--ring) 60%, transparent), 0 0 calc(22px + var(--amp, 0) * 18px) 3px color-mix(in srgb, var(--ring) 32%, transparent); } .sx-orb[data-orb="thinking"] { --ring: var(--neutral-sig); box-shadow: 0 0 0 1px color-mix(in srgb, var(--ring) 40%, transparent), 0 0 16px 1px color-mix(in srgb, var(--ring) 14%, transparent); } .sx-orb[data-orb="idle"] { --ring: var(--accent-bright); animation: sxBreathe 3500ms var(--ease-in-out) infinite; box-shadow: 0 0 0 1px color-mix(in srgb, var(--ring) 35%, transparent), 0 0 18px 1px color-mix(in srgb, var(--ring) 14%, transparent); } @keyframes sxBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } } .sx-stage__now { grid-column: 2; grid-row: 2; font-size: 15px; font-weight: 650; color: var(--text-on-accent); opacity: 0.88; margin-top: 0; text-align: left; line-height: 1.45; min-width: 0; } .sx-page--active .sx-stage .vg-avatar { width: clamp(176px, 15vw, 238px) !important; } .sx-page--active .sx-stage .vg-avatar__label { display: none; } .sx-page--active .sx-stage .vg-avatar__stage { height: clamp(176px, 15vw, 238px) !important; } .sx-page--active .sx-stage .vg-avatar__svg { width: clamp(176px, 15vw, 238px) !important; height: clamp(176px, 15vw, 238px) !important; } .sx-page--active .sx-stage .vg-avatar__meta { display: none; } /* ── CENTER: 실시간 자막 (대본 스타일, 버블 금지) ── */ .sx-transcript { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 14px; display: flex; flex-direction: column; min-height: 0; overflow: hidden; } .sx-page--active .sx-transcript { background: rgba(251, 250, 248, 0.97); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 14px 34px rgba(7, 16, 14, 0.16); } .sx-transcript__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .sx-transcript__live { font-size: 11.5px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-num); font-variant-numeric: tabular-nums; } .sx-transcript__live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neutral-sig); } .sx-transcript__live-dot.is-live { background: var(--pos-solid); animation: sxLivePulse 1400ms var(--ease-in-out) infinite; } @keyframes sxLivePulse { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.35); opacity: 0.5; } } .sx-transcript__scroll { overflow-y: auto; max-height: none; flex: 1; min-height: 160px; padding-right: 4px; display: flex; flex-direction: column; } .sx-transcript__empty { min-height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; align-items: center; gap: var(--sp-3); padding: 12px 8px; color: var(--text-body); } .sx-transcript__empty-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-bright); } .sx-transcript__empty b, .sx-transcript__empty span { display: block; min-width: 0; } .sx-transcript__empty b { color: var(--text-strong); font-size: var(--fs-sm); line-height: 1.45; } .sx-transcript__empty span { margin-top: 3px; color: var(--text-muted); font-size: var(--fs-xs); line-height: 1.45; } .sx-utt { display: flex; flex-direction: column; gap: 4px; padding: 9px 0; } .sx-utt__head { display: flex; align-items: baseline; gap: 8px; } .sx-utt__spk { font-size: 12px; font-weight: 600; } .sx-utt__tc { font-size: 11px; color: var(--text-muted); font-family: var(--font-num); font-variant-numeric: tabular-nums; } .sx-utt__line { font-size: 14.5px; line-height: 1.58; padding: 9px 13px; border-radius: var(--radius); max-width: min(88%, 68ch); overflow-wrap: anywhere; } /* 내담자 = clay-tint 틴트 블록 (외곽선·꼬리·border-left 없음) */ .sx-utt.is-client .sx-utt__spk { color: var(--clay-deep); } .sx-utt.is-client .sx-utt__line { background: var(--clay-tint); color: var(--text-strong); } /* 학습자 = accent-tint, 우측 정렬 */ .sx-utt.is-learner { align-items: flex-end; } .sx-utt.is-learner .sx-utt__head { flex-direction: row-reverse; } .sx-utt.is-learner .sx-utt__spk { color: var(--accent-deep); } .sx-utt.is-learner .sx-utt__line { background: var(--accent-tint); color: var(--text-strong); } /* partial(진행 중 발화) = ink-3 흐릿 + 캐럿 */ .sx-utt.is-partial .sx-utt__line { color: var(--text-muted); } .sx-utt__caret { display: inline-block; width: 2px; height: 1em; background: var(--ink-3); margin-left: 2px; vertical-align: -2px; animation: sxCaret 1s steps(1) infinite; } @keyframes sxCaret { 50% { opacity: 0; } } /* "최신으로" 칩 (위로 스크롤 시) */ .sx-transcript__jump { align-self: center; margin-top: var(--sp-2); font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--accent-deep); background: var(--accent-tint); border: none; padding: 5px 12px; border-radius: 100px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; } /* 텍스트 입력 폴백 (음성 트랙 소관이라 여기선 폴백) */ .sx-compose { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--paper-2); } .sx-compose__field { flex: 1; min-width: 0; } .sx-compose textarea { width: 100%; resize: none; background: var(--bg-surface-2); color: var(--text-strong); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); min-height: 44px; max-height: 96px; padding: 10px 12px; font: var(--fs-body) / 1.5 var(--font-sans); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); } .sx-compose textarea::placeholder { color: var(--neutral-400); } .sx-compose textarea:focus { border-color: var(--border-focus); outline: none; box-shadow: 0 0 0 3px var(--focus-ring); } .sx-turn-error { margin-top: 10px; } /* 보내기 = 1차 액션. 입력창(틴트) 대비 또렷한 진한 accent + 미세 elevation. 비활성(입력 없음)은 표면 톤으로 낮춰 활성 상태와 위계를 분명히. */ .sx-compose .vg-btn--primary { background: var(--accent-deep); color: var(--text-on-accent); box-shadow: 0 1px 3px color-mix(in srgb, var(--accent-deep) 42%, transparent); } .sx-compose .vg-btn--primary:hover:not(:disabled) { background: var(--accent); } /* 비활성(입력 없음): 채움 없는 평면 회색 + 윤곽선으로 명시적 낮은 대비. 활성(진한 accent 채움)과 색·채움 위계를 분명히 갈라 눌러도 되는지 한눈에. */ .sx-compose .vg-btn--primary:disabled { background: var(--neutral-100); color: var(--neutral-400); border-color: var(--border-strong); box-shadow: none; opacity: 1; } /* ── RIGHT: 라이브 신호 ── */ .sx-signal { padding: 14px; overflow: hidden; } .sx-signal__head { margin-bottom: 12px; } /* 앰비언트 도트 1개 + 한 단어 (6초 페이드) */ .sx-signal__one { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--paper-2); border-radius: var(--radius); transition: opacity var(--dur-slow) var(--ease-out); } .sx-signal__one.is-faded { opacity: 0.42; } /* 신호가 아직 없을 때 — 빈 패널 대신 의도된 안내(가짜 데이터 아님) */ .sx-signal__rest { margin: 0; padding: 12px; border-radius: var(--radius); background: var(--paper-2); color: var(--text-muted); font-size: 12.5px; line-height: 1.5; } .sx-feedback-ambient .sx-signal__one { justify-content: space-between; min-height: 42px; } .sx-signal__one-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--neutral-sig); } .sx-signal__one-dot.is-pos { background: var(--pos-solid); } .sx-signal__one-dot.is-warn { background: var(--warn-solid); } .sx-signal__one-text { font-size: 14px; font-weight: 600; color: var(--text-strong); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sx-signal__one-when { font-size: 11.5px; color: var(--text-muted); margin-left: auto; font-family: var(--font-num); font-variant-numeric: tabular-nums; } .sx-feedback-ambient .sx-signal__one-when { margin-left: 0; } /* 최근 흐름 시퀀스 (클릭 가능) */ .sx-signal__seq { display: flex; align-items: center; gap: 7px; margin-top: 12px; } .sx-signal__seq-label { font-size: 11px; color: var(--text-muted); font-family: var(--font-num); letter-spacing: 0.04em; } .sx-signal__seq-dots { display: flex; align-items: center; gap: 6px; } .sx-signal__seq-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--neutral-sig); } .sx-signal__seq-dots i.is-pos { background: var(--pos-solid); } .sx-signal__seq-dots i.is-warn { background: var(--warn-solid); } .sx-signal__seq-dots i.is-now { box-shadow: 0 0 0 3px var(--accent-tint); } .sx-signal__defer { font-size: 12px; color: var(--text-muted); line-height: 1.55; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--paper-2); } .sx-signal__defer b { font-weight: 600; color: var(--text-body); } /* ambient(상태 신호) 모드에서도 본문 안내를 남겨 패널이 비어 보이지 않게 한다. minimal 톤 유지를 위해 여백만 살짝 좁힌다. */ .sx-feedback-ambient .sx-signal__defer { margin-top: 10px; padding-top: 10px; } .sx-signal__coach { display: grid; gap: 4px; margin-top: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--info-tint); color: var(--info-text); font-size: var(--fs-xs); line-height: 1.45; } .sx-signal__coach b { color: var(--info-text); font-size: 12px; } .sx-signal__coach span { min-width: 0; } .sx-feedback-immersive .sx-col-right .sx-meters, .sx-feedback-immersive .sx-col-right .sx-safety { display: none; } /* ── RIGHT: 내담자 상태 미터 ── */ .sx-meters { padding: 14px; overflow: hidden; } .sx-meters__head { margin-bottom: 12px; } .sx-meter { margin-top: 12px; } .sx-meter:first-of-type { margin-top: 0; } .sx-meter__top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; } .sx-meter__label { font-size: 13.5px; color: var(--text-strong); font-weight: 500; } .sx-meter__val { font-size: 12px; font-weight: 600; font-family: var(--font-num); } .sx-meter__val.is-clay { color: var(--clay-deep); } .sx-meter__val.is-accent { color: var(--accent-deep); } .sx-meters__note { font-size: 11.5px; color: var(--text-muted); line-height: 1.55; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--paper-2); } /* ── RIGHT: 안전 점검 콜아웃 (warn, 빨강 아님) ── */ .sx-safety { display: flex; gap: 10px; padding: 12px; background: var(--warn-tint); border-radius: var(--radius); } .sx-safety + .sx-safety { margin-top: var(--sp-3); } .sx-safety--engine { background: var(--info-tint); } .sx-safety--engine .sx-safety__ico, .sx-safety--engine .sx-safety__text { color: var(--info-text); } .sx-safety__ico { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--warn-solid); } .sx-safety__text { font-size: 12.5px; line-height: 1.55; color: var(--warn-text); } .sx-safety__text b { font-weight: 600; } .sx-crisis-resource { display: grid; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--warn-text) 18%, transparent); } .sx-crisis-resource strong { font-size: 12px; color: var(--warn-text); } .sx-crisis-resource a { width: fit-content; color: var(--warn-text); font-family: var(--font-num); font-size: 18px; font-weight: 800; text-decoration: none; } /* ── 하단 컨트롤 바 (80px) ── */ .sx-controlbar { position: static; z-index: 20; margin-top: 0; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 10px 12px; display: flex; align-items: center; gap: 14px; min-width: 0; } .sx-page--active .sx-controlbar { width: min(100%, 1460px); margin: 0 auto; background: rgba(16, 28, 26, 0.94); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 14px 36px rgba(7, 16, 14, 0.24); color: rgba(238, 244, 242, 0.86); } .sx-page--active .sx-mic-block__l, .sx-page--active .sx-seg-block__label { color: #eef4f2; } .sx-page--active .sx-mic-block__h { color: rgba(238, 244, 242, 0.58); } .sx-page--active .sx-segmented { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.1); } .sx-page--active .sx-segmented button { color: rgba(238, 244, 242, 0.68); } .sx-page--active .sx-segmented button:hover { color: #ffffff; background: rgba(255, 255, 255, 0.08); } .sx-page--active .sx-segmented button.is-on { background: rgba(145, 200, 189, 0.2); color: #ffffff; } .sx-page--active .sx-cb-sep { background: rgba(255, 255, 255, 0.12); } .sx-page--active .sx-pause { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); color: #eef4f2; } .sx-page--active .sx-pause:hover { background: rgba(255, 255, 255, 0.12); } /* 마이크 (주 컨트롤, 음성 호흡 펄스) — 원형 예외 허용 */ .sx-mic-block { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; min-width: 0; } .sx-mic { width: 46px; height: 46px; border-radius: 50%; flex: none; border: none; cursor: pointer; position: relative; background: var(--accent); display: flex; align-items: center; justify-content: center; color: var(--text-on-accent); transition: background var(--dur-base) var(--ease-out); } .sx-mic:hover { background: var(--accent-deep); } .sx-mic.is-on::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); opacity: 0.35; animation: sxMicBreathe 1600ms var(--ease-out) infinite; } @keyframes sxMicBreathe { 0%, 100% { transform: scale(1); opacity: 0.35; } 50% { transform: scale(1.22); opacity: 0; } } /* 음소거 = 아웃라인 */ .sx-mic.is-off { background: var(--bg-surface); border: 1px solid var(--border-strong); color: var(--text-body); } .sx-mic.is-off:hover { background: var(--bg-surface-2); } .sx-mic-block__ms { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; } .sx-mic-block__l { font-size: 13.5px; font-weight: 600; color: var(--text-strong); } .sx-mic-block__h { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sx-cb-sep { width: 1px; height: 34px; background: var(--hair); flex: none; } /* 일시정지 (ghost) */ .sx-pause { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-body); background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius); min-height: 40px; padding: 9px 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all var(--dur-fast) var(--ease-out); } .sx-pause:hover { background: var(--bg-surface-2); color: var(--text-strong); } .sx-pause.is-paused { background: var(--accent-tint); color: var(--accent-deep); border-color: transparent; } /* 피드백 모드 segmented */ .sx-seg-block { display: flex; flex-direction: column; gap: 5px; flex: 0 1 auto; min-width: 0; } .sx-seg-block__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--text-muted); font-family: var(--font-num); } .sx-segmented { display: inline-flex; background: var(--paper-2); border-radius: var(--radius); padding: 3px; gap: 2px; min-width: 0; } .sx-segmented button { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--text-body); background: transparent; border: none; padding: 7px 12px; border-radius: 6px; cursor: pointer; transition: all var(--dur-fast) var(--ease-out); white-space: nowrap; } .sx-segmented button:hover { color: var(--text-strong); } .sx-segmented button.is-on { background: var(--bg-surface); color: var(--accent-deep); font-weight: 600; box-shadow: var(--shadow-sm); } .sx-cb-spacer { flex: 1; } /* 밀어서 종료 (slide-to-confirm) — 종료만 유일하게 crit 색 허용 */ .sx-cb-actions { display: flex; align-items: center; gap: 8px; flex: none; } .sx-slide-end { position: relative; width: 176px; height: 40px; border-radius: var(--radius); background: var(--crit-tint); border: 1px solid var(--crit-tint); overflow: hidden; user-select: none; touch-action: none; } .sx-slide-end__track-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--crit-text); pointer-events: none; } .sx-slide-end__fill { position: absolute; inset: 0; background: color-mix(in srgb, var(--crit-solid) 16%, transparent); width: 0; pointer-events: none; } .sx-slide-end__knob { position: absolute; top: 3px; left: 3px; width: 34px; height: 34px; border-radius: 6px; background: var(--surface); border: 1px solid var(--crit-tint); display: flex; align-items: center; justify-content: center; color: var(--crit-text); cursor: grab; box-shadow: var(--shadow-sm); } .sx-slide-end__knob:active { cursor: grabbing; } .sx-slide-end.is-armed .sx-slide-end__track-label { opacity: 0; } /* ── 시작 전 오버레이 (세션 시작) ── */ .sx-prestart { width: min(1060px, 100%); display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr) minmax(210px, 270px); align-items: center; gap: var(--sp-5); max-width: none; margin: clamp(18px, 5vh, 56px) auto 0; padding: clamp(22px, 3vw, 34px); align-self: start; justify-self: center; text-align: left; position: relative; background: linear-gradient(132deg, rgba(15, 28, 26, 0.96), rgba(31, 44, 40, 0.92) 56%, rgba(46, 55, 49, 0.86)), var(--asset-warm-elements) center / cover no-repeat; border: 1px solid rgba(255, 255, 255, 0.11); border-radius: var(--radius-lg); box-shadow: 0 18px 52px rgba(6, 14, 13, 0.34); color: #eef4f2; overflow: hidden; } .sx-page--prestart .sx-head { width: min(1180px, 100%); margin: 0 auto; } .sx-page--prestart .sx-head__title, .sx-page--prestart .sx-ph.is-cur .sx-ph__name { color: #f3f8f6; } .sx-page--prestart .sx-head__title em { color: #91c8bd; } .sx-page--prestart .sx-head__sub, .sx-page--prestart .sx-ph__name, .sx-page--prestart .sx-ph__t { color: rgba(238, 244, 242, 0.62); } .sx-page--prestart .sx-ph__dot { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.22); } .sx-page--prestart .sx-ph__link { background: rgba(255, 255, 255, 0.18); } .sx-page--prestart .sx-ph__link.is-fill { background: rgba(145, 200, 189, 0.74); } .sx-page--prestart .sx-prestart::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 38%), radial-gradient(circle at 20% 22%, rgba(126, 184, 173, 0.22), transparent 32%); pointer-events: none; } .sx-prestart__visual { min-width: 0; display: grid; justify-items: center; gap: var(--sp-3); position: relative; z-index: 1; align-self: stretch; align-content: center; padding: var(--sp-4); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); background: radial-gradient(circle at 50% 45%, rgba(145, 200, 189, 0.2), transparent 52%), rgba(251, 250, 248, 0.06); } .sx-prestart__visual .vg-avatar { justify-self: center; } .sx-page--prestart .sx-prestart__visual .vg-avatar__persona { color: rgba(238, 244, 242, 0.82); } .sx-page--prestart .sx-prestart__visual .vg-avatar__state { color: rgba(238, 244, 242, 0.64); } .sx-page--prestart .sx-prestart__visual .vg-avatar__state b { color: rgba(238, 244, 242, 0.78); } .sx-prestart__main { min-width: 0; position: relative; z-index: 1; } .sx-prestart__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #a8d4ca; font-family: var(--font-num); font-size: var(--fs-kicker); font-weight: 700; } .sx-prestart__eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-bright); flex: none; } .sx-prestart__title { margin-top: var(--sp-3); font-size: var(--fs-h2); font-weight: 700; letter-spacing: 0; color: #f4f8f7; line-height: 1.3; } .sx-prestart__desc { margin-top: var(--sp-3); font-size: var(--fs-sm); color: rgba(238, 244, 242, 0.76); line-height: 1.6; max-width: 58ch; } .sx-prestart__facts { margin: var(--sp-5) 0 0; padding: var(--sp-4) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4); } .sx-page--prestart .sx-prestart__facts { border-color: rgba(255, 255, 255, 0.13); } .sx-prestart__facts div { min-width: 0; } .sx-prestart__facts dt { color: rgba(238, 244, 242, 0.52); font-size: 11.5px; font-weight: 700; } .sx-prestart__facts dd { margin: 6px 0 0; color: #f4f8f7; font-size: 13.5px; font-weight: 650; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .sx-prestart__chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--sp-4); } .sx-prestart__chips span { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--radius-sm); background: rgba(145, 200, 189, 0.16); color: #bfe0d9; font-family: var(--font-num); font-size: 11.5px; font-weight: 700; } .sx-prestart__chips span.is-clay { background: rgba(204, 143, 119, 0.17); color: #f0bda9; } .sx-prestart__note { max-width: 460px; font-size: 12.5px; color: rgba(238, 244, 242, 0.6); line-height: 1.55; margin-top: calc(var(--sp-3) * -1); } .sx-prestart__err { font-size: var(--fs-sm); color: var(--crit-text); } .sx-consent { width: min(100%, 520px); display: grid; gap: var(--sp-3); padding: var(--sp-4); border: 1px solid rgba(132, 203, 179, 0.28); border-radius: var(--radius-sm); background: rgba(30, 86, 77, 0.22); } .sx-consent label { display: flex; align-items: flex-start; gap: var(--sp-3); color: rgba(238, 244, 242, 0.84); font-size: var(--fs-sm); line-height: 1.5; } .sx-consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: #6fc6a8; flex: 0 0 auto; } .sx-consent .vg-btn { justify-self: start; } .sx-prestart__actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-5); } .sx-prestart__actions span { color: rgba(238, 244, 242, 0.58); font-size: var(--fs-xs); line-height: 1.45; } .sx-prestart__plan { min-width: 0; align-self: stretch; display: grid; align-content: center; gap: var(--sp-4); position: relative; z-index: 1; padding: var(--sp-4); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); background: rgba(251, 250, 248, 0.07); } .sx-prestart__plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); } .sx-prestart__plan li { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; } .sx-prestart__plan li span { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); margin-top: 8px; } .sx-prestart__plan p { margin: 0; color: rgba(238, 244, 242, 0.74); font-size: var(--fs-xs); line-height: 1.6; } /* 일시정지 stage 오버레이 (차분) */ .sx-stage.is-paused::after { content: "일시정지"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-on-accent); background: color-mix(in srgb, var(--bg-stage) 62%, transparent); backdrop-filter: blur(1px); } /* ── 반응형 ── */ @media (max-width: 1040px) { .sx-prestart { grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); } .sx-prestart__plan { grid-column: 1 / -1; padding-top: var(--sp-4); border-top: 1px solid var(--hair); } .sx-prestart__plan ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } } @media (max-width: 1180px) { .sx-page--active { grid-template-rows: minmax(0, 1fr) auto; padding: 10px; gap: 10px; } .sx-page--active .sx-head { display: none; } .sx-page--active .sx-grid { grid-template-columns: minmax(216px, 254px) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; height: auto; min-width: 0; min-height: 0; } .sx-page--active .sx-mobile-context { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 0.84fr) minmax(260px, 1.16fr); gap: 8px; padding: 9px; border: 1px solid var(--border-subtle); border-radius: var(--radius); background: var(--bg-surface); box-shadow: var(--shadow-sm); } .sx-page--active .sx-col-left { grid-column: 1; grid-row: 2; } .sx-page--active .sx-col-center { grid-column: 2; grid-row: 2; grid-template-rows: minmax(142px, 0.26fr) minmax(0, 1fr); gap: 10px; } .sx-page--active .sx-col-right { display: none; } .sx-mobile-context__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; } .sx-mobile-context__row:first-child { grid-column: 1; } .sx-mobile-context__row span { min-width: 0; display: grid; gap: 2px; padding: 7px 8px; border-radius: var(--radius-sm); background: var(--bg-surface-2); } .sx-mobile-context__row b { min-width: 0; color: var(--text-strong); font-size: 12.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sx-mobile-context__row small { min-width: 0; color: var(--text-muted); font-size: 10.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sx-mobile-context__brief { display: grid; grid-column: 2; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 7px; } .sx-mobile-context__brief span { min-width: 0; display: grid; gap: 2px; padding: 7px 8px; border-radius: var(--radius-sm); background: var(--bg-surface-2); } .sx-mobile-context__brief b, .sx-mobile-context__brief small { min-width: 0; overflow: hidden; text-overflow: ellipsis; } .sx-mobile-context__brief b { color: var(--text-strong); font-size: 12.5px; line-height: 1.25; white-space: nowrap; } .sx-mobile-context__brief small { color: var(--text-muted); font-size: 10.5px; line-height: 1.2; white-space: nowrap; } .sx-page--active .sx-stage { grid-template-columns: minmax(110px, 132px) minmax(0, 1fr); padding: 10px 12px; column-gap: 12px; } .sx-page--active .sx-stage .vg-avatar { width: 126px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 126px !important; } .sx-page--active .sx-stage .vg-avatar__svg { width: 126px !important; height: 126px !important; } .sx-page--active .sx-stage__now { display: block; font-size: 13px; line-height: 1.35; } .sx-page--active .sx-transcript__head { margin-bottom: 8px; } .sx-page--active .sx-compose { margin-top: 10px; padding-top: 10px; } .sx-mobile-context__row--live { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr); } /* 전폭 신호 행: 라벨(좌)과 상태(우)를 양끝으로 펼쳐 빈 우측을 없앤다. */ .sx-mobile-context__row--live span { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .sx-mobile-context__signal b { min-width: 0; display: inline-flex; align-items: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .sx-mobile-context__signal small { flex: none; } .sx-page--active .sx-mobile-context__row--meters { display: none; } .sx-mobile-context__resume { display: block; } /* 1180↓ 활성 화면: 일시정지는 아이콘만(44px 정사각). 같은 행의 마이크/세그먼트/ 종료와 좁게 맞물리는 1024 부근에서 '|| + 일시정지' 라벨이 끼어 답답해지지 않게. 라벨만 숨기고 터치/클릭 타깃(44px)은 유지한다. */ .sx-page--active .sx-pause { width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 0; } } @media (max-width: 880px) { .sx-page { padding: 9px; gap: 9px; } .sx-page--active .sx-grid, .sx-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 9px; width: auto; max-width: 100%; min-height: 0; } .sx-page--active .sx-mobile-context { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 8px; } .sx-mobile-context__row:first-child, .sx-mobile-context__brief, .sx-mobile-context__row--live { grid-column: 1; } .sx-mobile-context__brief { grid-template-columns: minmax(0, 1fr); } .sx-page--active .sx-col-left, .sx-page--active .sx-col-left { display: none; } .sx-page--active .sx-col-center { grid-column: 1; grid-row: 2; grid-template-rows: minmax(118px, 0.22fr) minmax(0, 1fr); gap: 9px; width: 100%; min-width: 0; } .sx-page--active .sx-stage, .sx-page--active .sx-transcript, .sx-page--active .sx-compose, .sx-page--active .sx-controlbar { min-width: 0; max-width: 100%; } .sx-col-right { flex-direction: column; } .sx-page--active .sx-col-right { display: none; } .sx-head { flex-direction: column; align-items: flex-start; } .sx-phases { flex-wrap: wrap; } .sx-controlbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "mic actions" "mode mode"; gap: 8px; padding: 8px; } .sx-page--active .sx-controlbar { min-height: 0; } .sx-page--active .sx-cb-sep { display: none; } .sx-page--active .sx-mic-block { grid-area: mic; min-width: 0; flex: 1 1 auto; } .sx-page--active .sx-mic-block__ms { min-width: 0; max-width: 112px; display: flex; } .sx-page--active .sx-mic-block__h { display: none; } .sx-page--active .sx-seg-block { grid-area: mode; gap: 3px; width: 100%; } .sx-page--active .sx-seg-block__label { display: none; } .sx-page--active .sx-segmented button { font-size: 12px; flex: 1 1 0; padding: 7px 8px; } .sx-page--active .sx-mic { width: 44px; height: 44px; } .sx-page--active .sx-cb-actions { grid-area: actions; margin-left: 0; gap: 10px; } /* 일시정지 = 일반 액션. 44px 정사각 터치 타깃(아이콘만). */ .sx-page--active .sx-pause { width: 44px; height: 44px; padding: 0; justify-content: center; font-size: 0; } /* 종료 = 위험 액션. 라벨을 노출해 'X / >' 가 미완성처럼 보이지 않게 하고, crit 윤곽으로 일반 액션과 색 위계를 분명히. */ .sx-page--active .sx-slide-end { width: 150px; height: 44px; border-color: color-mix(in srgb, var(--crit-solid) 42%, transparent); } .sx-page--active .sx-slide-end__track-label { justify-content: flex-end; gap: 5px; padding-right: 12px; font-size: 11.5px; font-weight: 700; color: var(--crit-text); } .sx-page--active .sx-slide-end__track-label svg { width: 14px; height: 14px; } .sx-page--active .sx-slide-end__knob { width: 38px; height: 38px; } .sx-cb-spacer { display: none; } } @media (min-width: 1181px) and (max-height: 820px) { .sx-page--active { padding: 10px; gap: 10px; } .sx-page--active .sx-grid { gap: 10px; } .sx-page--active .sx-mobile-context { padding: 8px; gap: 6px; } .sx-mobile-context__row span { padding: 6px 7px; } .sx-page--active .sx-col-center { grid-template-rows: minmax(150px, 0.28fr) minmax(0, 1fr); gap: 10px; } .sx-page--active .sx-stage { padding: 10px 12px; grid-template-columns: minmax(100px, 122px) minmax(0, 1fr); column-gap: 12px; } .sx-page--active .sx-orb-wrap { margin: 5px 0 2px; } .sx-page--active .sx-stage .vg-avatar { width: 116px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 116px !important; } .sx-page--active .sx-stage .vg-avatar__svg { width: 116px !important; height: 116px !important; } .sx-page--active .sx-stage__now { margin-top: 0; font-size: 12px; } .sx-page--active .sx-transcript { padding: 10px 12px; } .sx-page--active .sx-transcript__head { margin-bottom: 6px; } .sx-page--active .sx-transcript__scroll { min-height: 120px; } .sx-page--active .sx-compose { gap: 8px; margin-top: 8px; padding-top: 8px; } .sx-page--active .sx-compose textarea { min-height: 44px; padding: 8px 10px; } } @media (max-width: 720px) { .sx-page--prestart .sx-head { gap: var(--sp-3); } .sx-page--prestart .sx-head__sub, .sx-page--prestart .sx-phases { display: none; } .sx-page--prestart .sx-head__title { font-size: 24px; } .sx-page--prestart .sx-prestart { grid-template-columns: 1fr; gap: var(--sp-3); max-width: none; margin: 0 auto; padding: var(--sp-3); text-align: left; } .sx-page--prestart .sx-prestart__visual { gap: var(--sp-2); } .sx-page--prestart .sx-prestart__visual .vg-avatar { justify-self: center; } .sx-page--prestart .sx-prestart__title { margin-top: var(--sp-2); font-size: 21px; } .sx-page--prestart .sx-prestart__desc { font-size: 13px; line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .sx-page--prestart .sx-prestart__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: var(--sp-4); padding: var(--sp-3) 0; } .sx-page--prestart .sx-prestart__facts dd { font-size: 12.5px; -webkit-line-clamp: 3; } .sx-page--prestart .sx-prestart__chips { display: none; } .sx-page--prestart .sx-prestart__plan { display: none; } .sx-page--prestart .sx-prestart__actions { gap: var(--sp-2); margin-top: var(--sp-4); } .sx-page--prestart .sx-prestart__actions .vg-btn { width: 100%; } .sx-page--prestart .sx-prestart__actions span { display: none; } .sx-page--prestart .vg-avatar { width: 138px !important; } .sx-page--prestart .vg-avatar__stage { height: 138px !important; } .sx-page--prestart .vg-avatar__svg { width: 138px !important; height: 138px !important; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 96px !important; height: 96px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 96px !important; } .sx-page--active .sx-stage { grid-template-columns: minmax(78px, 98px) minmax(0, 1fr); padding: 8px 10px; column-gap: 10px; } .sx-page--active .sx-stage__now { font-size: 12px; margin-top: 0; } .sx-page--active .sx-transcript { padding: 10px; } .sx-page--active .sx-compose { gap: var(--sp-2); margin-top: 9px; padding-top: 9px; } .sx-page--active .sx-compose textarea { min-height: 44px; font-size: 13px; line-height: 1.4; } } @media (max-width: 420px) { .sx-mobile-context__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .sx-mobile-context__row span { padding: 7px 6px; } .sx-page--active .sx-controlbar { padding: 8px; gap: 8px; } .sx-page--active .sx-mic-block { gap: 9px; } .sx-page--active .sx-mic-block__ms { display: none; } .sx-page--active .sx-segmented button { font-size: 11px; padding: 7px 6px; } .sx-page--active .sx-seg-block { min-width: 0; flex: 0 1 auto; } .sx-page--active .sx-cb-actions { min-width: 0; flex: 0 1 auto; gap: 10px; } .sx-page--active .sx-pause { width: 44px; } .sx-page--active .sx-slide-end { width: 148px; } } @media (max-width: 1180px) and (max-height: 820px) { .sx-page--active .sx-mobile-context__row--meters { display: none; } .sx-page--active .sx-col-center { grid-template-rows: minmax(132px, 0.25fr) minmax(0, 1fr); } .sx-page--active .sx-stage { padding: 8px 10px; grid-template-columns: minmax(92px, 118px) minmax(0, 1fr); } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 112px !important; height: 112px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 112px !important; } .sx-page--active .sx-orb-wrap { margin: 4px 0 0; } .sx-page--active .sx-orb { inset: -6px; } .sx-page--active .sx-transcript__scroll { min-height: 110px; } .sx-page--active .sx-compose textarea { min-height: 40px; } } @media (max-width: 380px), (max-height: 620px) { .sx-page--active .sx-mobile-context__row--meters { display: none; } .sx-page--active .sx-mobile-context__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sx-page--active .sx-mobile-context__row--live { display: none; } .sx-page--active .sx-col-center { grid-template-rows: minmax(112px, auto) minmax(0, 1fr); } .sx-page--active .sx-stage { padding: 6px 8px; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 96px !important; height: 96px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 96px !important; } .sx-page--active .sx-stage__now { display: none; } .sx-page--active .sx-mic-block__ms { display: none; } /* 아주 좁거나 낮은 뷰포트: 세로 공간 확보를 위해 40px 로 낮춘다 (390x720 등 여유 있는 폭에서는 44px 유지). 가로 터치 폭은 유지. */ .sx-page--active .sx-mic { width: 40px; height: 40px; } .sx-page--active .sx-pause { width: 44px; height: 40px; } .sx-page--active .sx-slide-end { width: 140px; height: 40px; } .sx-page--active .sx-slide-end__knob { width: 34px; height: 34px; } } @media (max-width: 340px), (max-height: 620px) { .sx-page--active .sx-mobile-context { padding: 6px; gap: 4px; } .sx-page--active .sx-mobile-context__row span { padding: 5px 6px; } .sx-page--active .sx-mobile-context__brief { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } .sx-page--active .sx-mobile-context__brief span { padding: 5px 6px; } .sx-page--active .sx-mobile-context__row--live { display: none; } .sx-page--active .sx-col-center { grid-template-rows: minmax(112px, 0.3fr) minmax(220px, 0.7fr); gap: 8px; } .sx-page--active .sx-stage { justify-content: center; padding: 6px 8px; } .sx-page--active .sx-stage__top { font-size: 11px; } .sx-page--active .sx-orb-wrap { display: flex; margin: 2px 0 0; } .sx-page--active .sx-orb { inset: -6px; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 72px !important; height: 72px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 72px !important; } .sx-page--active .sx-transcript { padding: 10px; } .sx-page--active .sx-compose { margin-top: 8px; padding-top: 8px; } } @media (prefers-reduced-motion: reduce) { .sx-orb, .sx-mic.is-on::after, .sx-utt__caret, .sx-transcript__live-dot.is-live { animation: none !important; } }