/* ===================================================================== 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 { height: auto; min-height: 0; grid-template-rows: auto auto; overflow: visible; color: var(--text-strong); background: transparent; padding: 0; } .sx-page--active { --paper-2: #1b2b27; --bg-surface: #14231f; --bg-surface-2: #1d2d29; --bg-stage: #0c1714; --text-strong: #edf7f4; --text-body: #c9d9d5; --text-muted: #8fa29c; --text-on-accent: #071411; --border-subtle: rgba(169, 215, 204, 0.15); --border-strong: rgba(169, 215, 204, 0.24); --border-focus: #7cc8b8; --focus-ring: rgba(124, 200, 184, 0.32); --accent: #79bfae; --accent-deep: #9ad3c7; --accent-tint: rgba(121, 191, 174, 0.16); --accent-bright: #79c8b7; --clay: #d08b70; --clay-deep: #ebb196; --clay-tint: rgba(208, 139, 112, 0.15); height: 100vh; height: 100dvh; grid-template-rows: min-content minmax(0, 1fr) min-content; padding: 10px 14px 14px; gap: 10px; background: radial-gradient(circle at 18% 8%, rgba(121, 191, 174, 0.12), transparent 28%), radial-gradient(circle at 86% 12%, rgba(208, 139, 112, 0.1), transparent 24%), linear-gradient(135deg, #0a1210 0%, #0e1714 48%, #101d19 100%); color: var(--text-strong); color-scheme: dark; } .sx-page--active .sx-grid { height: auto; width: min(100%, 1460px); margin: 0 auto; } .sx-page--active .sx-head { display: none; } .sx-sessionbar { width: min(100%, 1460px); min-height: 44px; margin: 0 auto; padding: 6px 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(169, 215, 204, 0.16); border-radius: var(--radius); background: rgba(13, 24, 21, 0.92); color: rgba(238, 244, 242, 0.88); box-shadow: 0 12px 34px rgba(4, 12, 10, 0.26); backdrop-filter: blur(12px); min-width: 0; } .sx-sessionbar button { min-height: 32px; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.06); color: #eef4f2; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 700 12.5px/1 var(--font-sans); white-space: nowrap; cursor: pointer; } .sx-sessionbar button:hover { background: rgba(255, 255, 255, 0.11); } .sx-sessionbar__back { flex: none; } .sx-sessionbar__meta { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; text-align: left; } .sx-sessionbar__meta span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; } .sx-sessionbar__meta b { color: #f4faf7; font-size: 13px; line-height: 1.15; } .sx-sessionbar__meta small { color: rgba(238, 244, 242, 0.55); font: 600 11px/1.2 var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sx-sessionbar__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--pos-solid); box-shadow: 0 0 0 4px rgba(69, 165, 127, 0.14); } .sx-sessionbar__dot.is-ended { background: var(--warn-solid); box-shadow: 0 0 0 4px rgba(181, 123, 45, 0.16); } .sx-sessionbar__actions { flex: none; display: flex; align-items: center; gap: 7px; } .sx-sessionbar .sx-sessionbar__review { border-color: rgba(145, 200, 189, 0.3); background: rgba(145, 200, 189, 0.14); color: #c6efe4; } /* ── 페이지 헤드라인 + 가로 회기 단계 미니 트랙 ── */ .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; position: relative; } .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-page--active .sx-panel, .sx-page--active .sx-mobile-context { background: linear-gradient(180deg, rgba(23, 39, 35, 0.94), rgba(13, 25, 22, 0.96)); border-color: var(--border-subtle); box-shadow: 0 18px 42px rgba(2, 8, 7, 0.3), inset 0 1px 0 rgba(237, 247, 244, 0.045); color: var(--text-body); } /* 컬럼 공통 */ .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(250px, 0.44fr) 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 50% 47%, rgba(121, 191, 174, 0.22), transparent 36%), radial-gradient(circle at 50% 82%, rgba(208, 139, 112, 0.12), transparent 24%), linear-gradient(145deg, rgba(11, 22, 19, 0.98), rgba(20, 34, 30, 0.96) 56%, rgba(10, 19, 17, 0.98)); border-color: rgba(169, 215, 204, 0.18); box-shadow: 0 22px 52px rgba(2, 8, 7, 0.42), inset 0 1px 0 rgba(237, 247, 244, 0.05); 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(169, 215, 204, 0.1); 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-muted); opacity: 1; } .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); box-shadow: 0 0 0 4px rgba(208, 139, 112, 0.12); } .sx-stage__state-dot.is-learner { background: var(--accent-bright); box-shadow: 0 0 0 4px rgba(121, 200, 183, 0.12); } .sx-stage__state-dot.is-think { background: var(--neutral-sig); box-shadow: none; } /* 음성 오브 + 아바타 (오브는 아바타 둘레 링) */ .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 1px color-mix(in srgb, var(--ring) 58%, transparent), 0 0 30px 2px color-mix(in srgb, var(--ring) 22%, 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 1px color-mix(in srgb, var(--ring) 62%, transparent), 0 0 calc(24px + var(--amp, 0) * 18px) 2px color-mix(in srgb, var(--ring) 28%, 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-strong); opacity: 0.9; 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; } .sx-page--active .sx-stage .vg-raster[data-raster-art-set="seoyeon-live2d-psd-v2"] { --vg-raster-top: -8%; --vg-raster-h: 122%; } @media (min-width: 1181px) { .sx-page--active .sx-col-center { grid-template-rows: minmax(320px, 0.5fr) minmax(0, 1fr); } .sx-page--active .sx-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; justify-items: center; align-items: center; padding: 18px 24px 16px; } .sx-page--active .sx-stage__top { grid-column: 1; grid-row: 1; position: relative; z-index: 2; } .sx-page--active .sx-orb-wrap { grid-column: 1; grid-row: 2; place-self: center; margin: 0; } .sx-page--active .sx-stage__now { grid-column: 1; grid-row: 3; position: relative; right: auto; bottom: auto; place-self: center; width: min(100%, 520px); max-width: calc(100% - 48px); padding: 7px 10px; border: 1px solid rgba(169, 215, 204, 0.15); border-radius: var(--radius-sm); background: rgba(7, 18, 15, 0.62); color: var(--text-strong); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; z-index: 2; } .sx-page--active .sx-stage .vg-avatar { width: clamp(184px, 14vw, 204px) !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: clamp(184px, 14vw, 204px) !important; } .sx-page--active .sx-stage .vg-avatar__svg { width: clamp(184px, 14vw, 204px) !important; height: clamp(184px, 14vw, 204px) !important; } } /* ── 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: linear-gradient(180deg, rgba(19, 34, 30, 0.97), rgba(10, 22, 19, 0.98)); border-color: rgba(169, 215, 204, 0.16); box-shadow: 0 18px 44px rgba(2, 8, 7, 0.34), inset 0 1px 0 rgba(237, 247, 244, 0.04); color: var(--text-body); } .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__body { display: flex; align-items: flex-end; gap: 7px; max-width: 100%; } .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__body { 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); } .sx-utt__coach-mark { position: relative; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent-deep) 36%, transparent); background: var(--paper); color: var(--accent-deep); font-size: 11px; font-weight: 800; line-height: 1; display: inline-grid; place-items: center; cursor: pointer; box-shadow: 0 5px 14px rgba(35, 42, 48, 0.1); } .sx-utt__coach-mark.is-pos { border-color: color-mix(in srgb, var(--pos-solid) 42%, transparent); color: var(--pos-text); } .sx-utt__coach-mark.is-warn { border-color: color-mix(in srgb, var(--warn-solid) 48%, transparent); color: var(--warn-text); } .sx-utt__coach-mark:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(35, 42, 48, 0.16); } .sx-utt__coach-mark span { position: absolute; right: -4px; top: -5px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 999px; background: var(--accent-deep); color: var(--text-on-accent); font-size: 9px; line-height: 14px; font-weight: 800; } /* partial(진행 중 발화) = ink-3 흐릿 + 캐럿 */ .sx-utt.is-partial .sx-utt__line { color: var(--text-muted); } .sx-utt.is-thinking .sx-utt__line { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); border: 1px dashed color-mix(in srgb, var(--clay-deep) 24%, transparent); } .sx-utt__dots { display: inline-flex; align-items: center; gap: 3px; flex: none; } .sx-utt__dots i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.35; animation: sxThinkingDot 900ms var(--ease-in-out) infinite; } .sx-utt__dots i:nth-child(2) { animation-delay: 120ms; } .sx-utt__dots i:nth-child(3) { animation-delay: 240ms; } .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; } } @keyframes sxThinkingDot { 0%, 100% { opacity: 0.25; transform: translateY(0); } 50% { opacity: 0.9; transform: translateY(-2px); } } /* "최신으로" 칩 (위로 스크롤 시) */ .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-page--active button:focus-visible, .sx-page--active textarea:focus-visible { outline: 2px solid rgba(124, 200, 184, 0.88); outline-offset: 2px; } .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: 1px solid transparent; 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); border: 1px solid transparent; 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-coach-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; margin-top: 12px; align-items: start; } .sx-coach-avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; background: #e8edf0; border: 1px solid color-mix(in srgb, var(--text-muted) 24%, transparent); box-shadow: 0 8px 20px rgba(28, 35, 42, 0.12); } .sx-coach-card.is-pos .sx-coach-avatar { background: #e5f1eb; border-color: color-mix(in srgb, var(--pos-solid) 38%, transparent); } .sx-coach-card.is-warn .sx-coach-avatar { background: #f4eadc; border-color: color-mix(in srgb, var(--warn-solid) 45%, transparent); } .sx-coach-avatar__lens { position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(35, 45, 54, 0.12); background: rgba(255, 255, 255, 0.58); } .sx-coach-avatar__face { position: absolute; left: 11px; right: 11px; top: 15px; display: flex; justify-content: space-between; } .sx-coach-avatar__face i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-strong); } .sx-coach-bubble { position: relative; display: grid; gap: 7px; padding: 11px 12px; border-radius: var(--radius); background: var(--paper-2); border: 1px solid color-mix(in srgb, var(--text-muted) 16%, transparent); color: var(--text-body); min-width: 0; } .sx-coach-bubble::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; transform: rotate(45deg); background: var(--paper-2); border-left: 1px solid color-mix(in srgb, var(--text-muted) 16%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--text-muted) 16%, transparent); } .sx-coach-card.is-pos .sx-coach-bubble { border-color: color-mix(in srgb, var(--pos-solid) 32%, transparent); } .sx-coach-card.is-warn .sx-coach-bubble { border-color: color-mix(in srgb, var(--warn-solid) 42%, transparent); } .sx-coach-bubble__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--text-muted); } .sx-coach-bubble__meta b { color: var(--text-strong); font-size: 12px; } .sx-coach-bubble strong { display: block; color: var(--text-strong); font-size: 14px; line-height: 1.28; } .sx-coach-bubble p { margin: 0; color: var(--text-body); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; } .sx-coach-bubble blockquote { margin: 0; padding: 8px 10px; border-radius: 6px; background: color-mix(in srgb, var(--paper) 78%, var(--info-tint)); color: var(--text-strong); font-size: 12.5px; line-height: 1.45; overflow-wrap: anywhere; } .sx-coach-bubble__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; } .sx-coach-bubble button { justify-self: start; border: 1px solid color-mix(in srgb, var(--text-muted) 24%, transparent); background: var(--paper); color: var(--text-strong); border-radius: 6px; padding: 6px 9px; font-size: 12px; font-weight: 650; cursor: pointer; } .sx-coach-bubble button:hover { border-color: color-mix(in srgb, var(--accent-deep) 42%, transparent); } .sx-coach-card.is-loading .sx-coach-avatar__lens { animation: sxCoachThinking 1100ms var(--ease-in-out) infinite; } @keyframes sxCoachThinking { 0%, 100% { opacity: 0.45; } 50% { opacity: 0.9; } } .sx-coach-history { position: fixed; inset: 0; z-index: 84; display: grid; place-items: center; padding: 20px; background: rgba(25, 31, 37, 0.42); backdrop-filter: blur(8px); } .sx-coach-history__panel { width: min(760px, calc(100vw - 32px)); max-height: min(78vh, 720px); display: grid; grid-template-rows: auto minmax(0, 1fr); border-radius: 12px; border: 1px solid color-mix(in srgb, var(--accent-deep) 18%, var(--border)); background: var(--paper); box-shadow: 0 24px 70px rgba(22, 28, 34, 0.28); overflow: hidden; } .sx-coach-history__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 18px 20px 14px; border-bottom: 1px solid var(--paper-2); } .sx-coach-history__head h2 { margin: 0; color: var(--text-strong); font-size: 18px; line-height: 1.3; } .sx-coach-history__head p { margin: 4px 0 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.45; } .sx-coach-history__head button { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 8px; background: var(--paper-2); color: var(--text-strong); display: inline-grid; place-items: center; cursor: pointer; } .sx-coach-history__body { min-height: 0; overflow-y: auto; padding: 14px 16px 18px; display: grid; gap: 11px; } .sx-coach-history__item { display: grid; gap: 9px; padding: 13px 14px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--text-muted) 16%, transparent); background: color-mix(in srgb, var(--paper) 86%, var(--paper-2)); } .sx-coach-history__item.is-pos { border-color: color-mix(in srgb, var(--pos-solid) 30%, transparent); } .sx-coach-history__item.is-warn { border-color: color-mix(in srgb, var(--warn-solid) 40%, transparent); } .sx-coach-history__item-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: var(--text-muted); font-size: 11.5px; } .sx-coach-history__item-top time { font-family: var(--font-num); font-variant-numeric: tabular-nums; white-space: nowrap; } .sx-coach-history__item h3 { margin: 0; color: var(--text-strong); font-size: 15px; line-height: 1.3; } .sx-coach-history__item p { margin: 0; color: var(--text-body); font-size: 13px; line-height: 1.55; } .sx-coach-history__trigger, .sx-coach-history__next blockquote { margin: 0; padding: 9px 10px; border-radius: 7px; background: var(--paper-2); color: var(--text-strong); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; } .sx-coach-history__next { display: grid; gap: 5px; } .sx-coach-history__next b { color: var(--text-strong); font-size: 12px; } .sx-coach-history__why { color: var(--text-muted) !important; } .sx-coach-history__empty { padding: 24px 14px; border-radius: 8px; background: var(--paper-2); color: var(--text-muted); font-size: 13px; text-align: center; } .sx-coach-source-list--compact { margin-top: 0 !important; } .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: 1px solid color-mix(in srgb, var(--warn-solid) 24%, transparent); 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--ok { background: var(--accent-tint); border-color: rgba(121, 200, 183, 0.2); } .sx-safety--ok .sx-safety__ico, .sx-safety--ok .sx-safety__text { color: #9ed6ca; } .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(11, 22, 19, 0.96); border-color: rgba(169, 215, 204, 0.16); box-shadow: 0 16px 40px rgba(2, 8, 7, 0.34), inset 0 1px 0 rgba(237, 247, 244, 0.04); 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(237, 247, 244, 0.07); border: 1px solid rgba(169, 215, 204, 0.1); } .sx-page--active .sx-segmented button { color: rgba(238, 244, 242, 0.68); } .sx-page--active .sx-segmented button:hover { color: var(--text-strong); background: rgba(237, 247, 244, 0.08); } .sx-page--active .sx-segmented button.is-on { background: rgba(121, 200, 183, 0.24); color: var(--text-strong); } .sx-page--active .sx-cb-sep { background: rgba(255, 255, 255, 0.12); } .sx-page--active .sx-pause { background: rgba(237, 247, 244, 0.07); border-color: rgba(169, 215, 204, 0.14); color: #eef4f2; } .sx-page--active .sx-pause:hover { background: rgba(237, 247, 244, 0.11); } .sx-page--active .sx-review-button { background: rgba(145, 200, 189, 0.14); border-color: rgba(145, 200, 189, 0.3); color: #c6efe4; } .sx-page--active .sx-review-button:hover { background: rgba(145, 200, 189, 0.2); color: #ecfffa; } .sx-page--active .sx-ctx__row, .sx-page--active .sx-compose, .sx-page--active .sx-meter + .sx-meter, .sx-page--active .sx-safety { border-color: rgba(203, 227, 220, 0.1); } .sx-page--active .sx-chip, .sx-page--active .sx-signal__one, .sx-page--active .sx-signal__rest, .sx-page--active .sx-mobile-context__row span, .sx-page--active .sx-mobile-context__brief span { background: rgba(237, 247, 244, 0.055); border-color: rgba(169, 215, 204, 0.09); color: rgba(234, 240, 241, 0.76); } .sx-page--active .sx-chip.is-clay, .sx-page--active .sx-ctx__pf { background: rgba(204, 143, 119, 0.16); color: #e5ad95; } .sx-page--active .sx-ctx__nm, .sx-page--active .sx-vstep.is-cur .sx-vstep__label, .sx-page--active .sx-mobile-context__row b, .sx-page--active .sx-mobile-context__brief b { color: #eaf0f1; } .sx-page--active .sx-ctx__rv, .sx-page--active .sx-vstep.is-done .sx-vstep__label, .sx-page--active .sx-meter__label, .sx-page--active .sx-signal__txt { color: rgba(234, 240, 241, 0.74); } .sx-page--active .sx-ctx__mt, .sx-page--active .sx-ctx__rl, .sx-page--active .sx-vstep__desc, .sx-page--active .sx-vstep__t, .sx-page--active .sx-mobile-context__row small, .sx-page--active .sx-mobile-context__brief small, .sx-page--active .sx-safety__desc { color: rgba(234, 240, 241, 0.52); } .sx-page--active .sx-utt.is-client .sx-utt__line { background: rgba(204, 143, 119, 0.12); color: #edf5f2; } .sx-page--active .sx-utt.is-thinking .sx-utt__line { color: rgba(234, 240, 241, 0.62); border-color: rgba(229, 173, 149, 0.22); } .sx-page--active .sx-utt.is-learner .sx-utt__line { background: rgba(111, 179, 164, 0.13); color: #edf5f2; } .sx-page--active .sx-utt.is-client .sx-utt__spk { color: #e5ad95; } .sx-page--active .sx-utt.is-learner .sx-utt__spk { color: #9ed1c6; } .sx-page--active .sx-compose textarea { background: rgba(7, 18, 15, 0.58); color: #eef6f3; border-color: rgba(169, 215, 204, 0.22); } .sx-page--active .sx-compose textarea::placeholder { color: rgba(234, 240, 241, 0.36); } .sx-page--active .sx-compose .vg-btn--primary:disabled { background: rgba(237, 247, 244, 0.055); color: rgba(234, 240, 241, 0.38); border-color: rgba(169, 215, 204, 0.14); } .sx-page--active .sx-compose .vg-btn--primary:not(:disabled) { background: var(--accent); color: var(--text-on-accent); border-color: transparent; box-shadow: 0 0 0 1px rgba(237, 247, 244, 0.08), 0 10px 22px rgba(3, 12, 10, 0.24); } .sx-page--active .sx-compose .vg-btn--primary:hover:not(:disabled) { background: #8ad1c2; } /* 마이크 (주 컨트롤, 음성 호흡 펄스) — 원형 예외 허용 */ .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-voice-skip { flex: none; height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--bg-surface-2); color: var(--text-body); display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-sans); font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; } .sx-voice-skip:hover { border-color: var(--border-focus); color: var(--text-strong); } .sx-page--active .sx-voice-skip { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.14); color: rgba(238, 244, 242, 0.86); } .sx-page--active .sx-voice-skip:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; } .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: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color 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; } .sx-review-button { font-family: var(--font-sans); font-size: 14px; font-weight: 700; color: var(--accent-deep); background: var(--accent-tint); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border-subtle)); border-radius: var(--radius); min-height: 40px; padding: 9px 13px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); } .sx-review-button:hover { background: color-mix(in srgb, var(--accent-tint) 80%, var(--bg-surface)); color: var(--accent-deep); } /* 피드백 모드 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: background var(--dur-fast) var(--ease-out), color 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; } .sx-cb-actions { display: flex; align-items: center; gap: 8px; flex: none; } .sx-end-button { min-height: 40px; padding: 9px 13px; border: 1px solid color-mix(in srgb, var(--crit-solid) 34%, var(--border-subtle)); border-radius: var(--radius); background: color-mix(in srgb, var(--crit-tint) 72%, var(--bg-surface)); color: var(--crit-text); display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out); } .sx-end-button:hover:not(:disabled) { background: color-mix(in srgb, var(--crit-tint) 86%, var(--bg-surface)); border-color: var(--crit-solid); } .sx-end-button:disabled { cursor: not-allowed; opacity: 0.6; } .sx-page--active .sx-end-button { background: rgba(216, 100, 89, 0.13); border-color: rgba(232, 144, 134, 0.32); color: #f1b2aa; } .sx-page--active .sx-end-button:hover:not(:disabled) { background: rgba(216, 100, 89, 0.19); border-color: rgba(232, 144, 134, 0.5); color: #ffd1cc; } .sx-coach-modal { position: fixed; inset: 0; z-index: 78; display: grid; place-items: center; padding: var(--sp-4); background: rgba(3, 9, 8, 0.58); backdrop-filter: blur(8px); } .sx-coach-modal__panel { width: min(100%, 560px); max-height: min(720px, calc(100vh - 32px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border: 1px solid rgba(203, 227, 220, 0.16); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--bg-surface) 94%, #17201d); color: var(--text-body); box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42); overflow: hidden; } .sx-coach-modal__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3); align-items: start; padding: var(--sp-5) var(--sp-5) var(--sp-3); border-bottom: 1px solid rgba(203, 227, 220, 0.12); } .sx-coach-modal__avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: #e8edf0; color: var(--text-strong); } .sx-coach-modal__avatar span { width: 17px; height: 9px; border-radius: 999px; border: 2px solid currentColor; border-top-color: transparent; } .sx-coach-modal h2 { margin: 0; color: var(--text-strong); font-size: 19px; font-weight: 760; line-height: 1.35; } .sx-coach-modal p { margin: 5px 0 0; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.55; } .sx-coach-modal__body { overflow: auto; padding: var(--sp-4) var(--sp-5); display: grid; gap: var(--sp-3); } .sx-coach-evidence-block { display: grid; gap: 8px; } .sx-coach-evidence-block b { color: var(--text-strong); font-size: 13px; } .sx-coach-evidence-block p { margin: 0; color: var(--text-body); overflow-wrap: anywhere; } .sx-coach-evidence-block p.is-warn { color: var(--warn-text); } .sx-coach-evidence-block blockquote { margin: 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); color: var(--text-strong); font-size: var(--fs-sm); line-height: 1.55; overflow-wrap: anywhere; } .sx-coach-source-list { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; } .sx-coach-source-list li { display: grid; gap: 3px; padding: 9px 10px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); } .sx-coach-source-list span { color: var(--text-strong); font-size: var(--fs-sm); font-weight: 650; } .sx-coach-source-list small { color: var(--text-muted); font-size: 12px; overflow-wrap: anywhere; } .sx-coach-modal__actions { display: flex; justify-content: flex-end; padding: var(--sp-3) var(--sp-5) var(--sp-5); border-top: 1px solid rgba(203, 227, 220, 0.12); } .sx-coach-modal__actions button { min-height: 40px; padding: 9px 13px; border-radius: var(--radius); border: 1px solid rgba(203, 227, 220, 0.16); background: rgba(255, 255, 255, 0.07); color: var(--text-body); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; cursor: pointer; } .sx-coach-modal__actions button:hover { background: rgba(255, 255, 255, 0.11); color: var(--text-strong); } .sx-end-dialog { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: var(--sp-4); background: rgba(3, 9, 8, 0.62); backdrop-filter: blur(8px); } .sx-end-dialog__panel { width: min(100%, 420px); padding: var(--sp-5); border: 1px solid rgba(203, 227, 220, 0.16); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(24, 38, 35, 0.98), rgba(13, 24, 21, 0.98)), var(--asset-warm-elements) center / cover no-repeat; box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42); color: var(--text-body); } .sx-end-dialog__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3); align-items: start; } .sx-end-dialog__icon { width: 36px; height: 36px; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; background: rgba(216, 100, 89, 0.15); color: #f1b2aa; } .sx-end-dialog h2 { margin: 0; color: var(--text-strong); font-size: 19px; font-weight: 760; line-height: 1.35; } .sx-end-dialog p { margin: 6px 0 0; color: var(--text-muted); font-size: var(--fs-sm); line-height: 1.55; } .sx-end-dialog__actions { display: flex; justify-content: flex-end; gap: var(--sp-2); margin-top: var(--sp-5); flex-wrap: wrap; } .sx-end-dialog__secondary, .sx-end-dialog__danger { min-height: 40px; padding: 9px 13px; border-radius: var(--radius); font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 700; } .sx-end-dialog__secondary { border: 1px solid rgba(203, 227, 220, 0.16); background: rgba(255, 255, 255, 0.06); color: var(--text-body); } .sx-end-dialog__danger { border: 1px solid transparent; background: var(--crit-solid); color: #fff; } .sx-end-dialog__secondary:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); color: var(--text-strong); } .sx-end-dialog__danger:hover:not(:disabled) { background: var(--crit-text); } .sx-end-dialog__secondary:disabled, .sx-end-dialog__danger:disabled { cursor: not-allowed; opacity: 0.62; } /* ── 시작 전 오버레이 (세션 시작) ── */ .sx-prestart { width: min(1120px, 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: 0; padding: clamp(16px, 2vw, 24px); 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: 100%; margin: 0; } .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__case { width: 100%; min-width: 0; display: grid; gap: var(--sp-4); } .sx-prestart__case-initial { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--clay-tint); color: var(--clay-deep); font-size: 28px; font-weight: 780; box-shadow: inset 0 0 0 1px rgba(204, 143, 119, 0.25); } .sx-prestart__case b { display: block; color: #f4f8f7; font-size: 18px; line-height: 1.35; } .sx-prestart__case p { margin: 5px 0 0; color: rgba(238, 244, 242, 0.68); font-size: 13px; line-height: 1.45; } .sx-prestart__case ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .sx-prestart__case li { min-width: 0; display: grid; gap: 3px; padding: 9px 10px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.055); } .sx-prestart__case li span { color: rgba(238, 244, 242, 0.52); font-size: 11px; font-weight: 760; } .sx-prestart__case li em { color: rgba(244, 248, 247, 0.94); font-size: 12.5px; font-style: normal; font-weight: 680; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .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-4) 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-theory { width: min(100%, 520px); margin: var(--sp-4) 0 0; padding: 0; border: 0; display: grid; gap: 8px; } .sx-theory legend { padding: 0; color: rgba(238, 244, 242, 0.54); font-size: 11.5px; font-weight: 760; } .sx-theory__seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 4px; border-radius: var(--radius-sm); background: rgba(6, 15, 14, 0.26); border: 1px solid rgba(255, 255, 255, 0.1); } .sx-theory__seg button { min-width: 0; min-height: 56px; display: grid; align-content: center; gap: 3px; padding: 8px 7px; border: 1px solid transparent; border-radius: calc(var(--radius-sm) - 2px); background: transparent; color: rgba(238, 244, 242, 0.72); text-align: center; cursor: pointer; } .sx-theory__seg button:hover { border-color: rgba(145, 200, 189, 0.3); color: #f4f8f7; } .sx-theory__seg button:focus-visible { outline: 2px solid rgba(145, 200, 189, 0.7); outline-offset: 2px; } .sx-theory__seg button.is-selected { background: rgba(145, 200, 189, 0.18); border-color: rgba(145, 200, 189, 0.46); color: #f4f8f7; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); } .sx-theory__seg span, .sx-theory__seg small { min-width: 0; overflow-wrap: anywhere; line-height: 1.2; } .sx-theory__seg span { font-size: 13px; font-weight: 760; } .sx-theory__seg small { color: rgba(238, 244, 242, 0.56); font-size: 11px; font-weight: 650; } .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: 12px; display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: #f4faf7; border: 1px solid rgba(203, 227, 220, 0.14); border-radius: calc(var(--radius-lg) - 2px); background: linear-gradient(135deg, rgba(238, 244, 242, 0.08), rgba(145, 200, 189, 0.06)); backdrop-filter: blur(0.5px); text-shadow: 0 1px 2px rgba(7, 16, 14, 0.5); } /* ── 반응형 ── */ @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: min-content minmax(0, 1fr) min-content; 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(154px, 0.28fr) 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: 12px 14px; 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 { padding: 8px 9px 9px; gap: 8px; } .sx-sessionbar { min-height: 40px; padding: 5px 6px; gap: 7px; } .sx-sessionbar button { min-height: 30px; padding: 6px 8px; font-size: 12px; } .sx-sessionbar__meta { justify-content: flex-start; } .sx-sessionbar__actions { gap: 6px; } .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(132px, 0.24fr) 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-page--active .sx-stage { padding: 8px 10px; grid-template-columns: minmax(88px, 104px) minmax(0, 1fr); column-gap: 10px; } .sx-page--active .sx-orb { inset: -5px; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 92px !important; height: 92px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 92px !important; } .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; } .sx-page--active .sx-end-button { height: 44px; padding: 0 12px; font-size: 12px; } .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-sessionbar__meta small { display: none; } .sx-sessionbar__actions button:not(.sx-sessionbar__review) { width: 32px; padding: 0; font-size: 0; } .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: 22px; } .sx-page--prestart .sx-prestart { grid-template-columns: 140px minmax(0, 1fr); gap: 10px; max-width: none; margin: 0 auto; padding: 10px; text-align: left; } .sx-page--prestart .sx-prestart__visual { gap: 0; padding: 8px; align-self: start; } .sx-page--prestart .sx-prestart__visual .vg-avatar { justify-self: center; } .sx-page--prestart .sx-prestart__case { display: none; } .sx-page--prestart .sx-prestart__title { margin-top: 6px; font-size: 18px; } .sx-page--prestart .sx-prestart__desc { font-size: 12.5px; line-height: 1.45; 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: 6px; margin-top: 8px; padding: 8px 0; } .sx-page--prestart .sx-prestart__facts dd { font-size: 11.5px; -webkit-line-clamp: 2; } .sx-page--prestart .sx-prestart__chips { display: none; } .sx-page--prestart .sx-theory { margin-top: 8px; } .sx-page--prestart .sx-theory__seg { gap: 4px; padding: 3px; } .sx-page--prestart .sx-theory__seg button { min-height: 50px; padding: 6px 4px; } .sx-page--prestart .sx-theory__seg span { font-size: 12px; } .sx-page--prestart .sx-theory__seg small { font-size: 10.5px; } .sx-page--prestart .sx-prestart__plan { display: none; } .sx-page--prestart .sx-prestart__actions { gap: var(--sp-2); margin-top: 8px; } .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: 128px !important; } .sx-page--prestart .vg-avatar__stage { height: 128px !important; } .sx-page--prestart .vg-avatar__svg { width: 128px !important; height: 128px !important; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 84px !important; height: 84px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 84px !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; } .sx-voice-skip span { display: none; } .sx-voice-skip { width: 34px; padding: 0; justify-content: center; } } @media (max-width: 420px) { .sx-sessionbar { grid-template-columns: auto minmax(0, 1fr) auto; } .sx-sessionbar__back { width: 34px; padding: 0; font-size: 0; } .sx-sessionbar__meta b { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sx-page--active .sx-stage { padding: 6px 8px; } .sx-page--active .sx-orb { inset: -5px; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 88px !important; height: 88px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 88px !important; } .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-end-button { min-width: 116px; } .sx-page--active .sx-review-button { min-width: 116px; } } @media (max-width: 1180px) and (max-height: 820px) { .sx-sessionbar { min-height: 38px; padding: 4px 6px; } .sx-sessionbar button { min-height: 28px; padding: 5px 8px; } .sx-page--active .sx-mobile-context__row--meters { display: none; } .sx-page--active .sx-mobile-context__row--live { display: none; } .sx-page--active .sx-mobile-context__resume { position: absolute; right: 6px; bottom: 6px; z-index: 2; display: block; max-width: min(220px, calc(100% - 12px)); padding: 3px 6px; border: 1px solid rgba(145, 200, 189, 0.26); border-radius: 999px; background: rgba(11, 24, 21, 0.9); color: rgba(228, 250, 244, 0.9); font-size: 10px; line-height: 1.15; pointer-events: 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-transcript { padding: 8px 10px; } .sx-page--active .sx-transcript__head { margin-bottom: 6px; } .sx-page--active .sx-compose { margin-top: 7px; padding-top: 7px; } .sx-page--active .sx-compose textarea { min-height: 38px; padding: 7px 10px; } .sx-page--active .sx-compose .vg-btn { min-height: 38px; } } @media (max-width: 380px), (max-height: 620px) { .sx-sessionbar { min-height: 36px; } .sx-sessionbar__meta small, .sx-sessionbar__dot { display: none; } .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(82px, auto) minmax(0, 1fr); } .sx-page--active .sx-stage { grid-template-columns: minmax(60px, 70px) minmax(0, 1fr); padding: 5px 7px; column-gap: 8px; } .sx-page--active .sx-orb { inset: -3px; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 62px !important; height: 62px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 62px !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-end-button { min-width: 104px; height: 40px; padding: 0 10px; } } @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(78px, auto) minmax(0, 1fr); gap: 8px; } .sx-page--active .sx-stage { justify-content: center; grid-template-columns: minmax(58px, 66px) minmax(0, 1fr); padding: 5px 7px; column-gap: 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: -3px; } .sx-page--active .sx-stage .vg-avatar, .sx-page--active .sx-stage .vg-avatar__svg { width: 58px !important; height: 58px !important; } .sx-page--active .sx-stage .vg-avatar__stage { height: 58px !important; } .sx-page--active .sx-transcript { padding: 6px 8px; } .sx-page--active .sx-transcript__head { margin-bottom: 4px; } .sx-page--active .sx-compose { margin-top: 5px; padding-top: 5px; } .sx-page--active .sx-compose textarea { min-height: 36px; padding: 7px 9px; } .sx-page--active .sx-compose .vg-btn { min-height: 36px; padding: 7px 10px; } } @media (prefers-reduced-motion: reduce) { .sx-orb, .sx-mic.is-on::after, .sx-utt__caret, .sx-utt__dots i, .sx-transcript__live-dot.is-live { animation: none !important; } }