:root {
  --bg: #ffffff;
  --bg-sub: #f2f4f6;
  --text: #191f28;
  --text-2: #4e5968;
  --text-3: #8b95a1;
  --line: #e5e8eb;
  --ink: #191f28;
  --on-ink: #ffffff;
  --call: #0b8f5a;
  --call-hover: #097a4d;
  --red: #f04452;
  --add: #0b7a4b;
  --add-bg: #e1f5e9;
  --scrim: rgb(0 0 0 / 0.45);
  --tile: #e5e8eb;
  --side: 20px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101013;
    --bg-sub: #1c1c21;
    --text: #ececee;
    --text-2: #b0b3ba;
    --text-3: #7e828b;
    --line: #2a2b31;
    --ink: #ececee;
    --on-ink: #101013;
    --call: #14a368;
    --call-hover: #18b675;
    --add: #4cd394;
    --add-bg: rgb(20 163 104 / 0.18);
    --scrim: rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

.app { width: 100%; max-width: 480px; margin: 0 auto; }
.screen { display: flex; flex-direction: column; }

button { font: inherit; letter-spacing: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.icon {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* tutor illustration on its colour tile */
.photo {
  display: block;
  overflow: hidden;
  background: var(--tile);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.photo.fallback { display: grid; place-items: center; font-weight: 700; color: rgb(0 0 0 / 0.55); }

/* ---------- shared ---------- */

.appbar { display: flex; align-items: center; height: 56px; padding: 0 var(--side); }
.wordmark { font-size: 18px; font-weight: 800; letter-spacing: -0.04em; }

.page-title { margin: 8px var(--side) 0; font-size: 26px; line-height: 1.38; font-weight: 700; letter-spacing: -0.03em; }
.page-sub { margin: 8px var(--side) 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }

.bottom-cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  padding: 24px var(--side) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, transparent, var(--bg) 24px);
}

.btn-call {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 56px;
  border: 0; border-radius: 16px;
  background: var(--call); color: #fff;
  font-size: 17px; font-weight: 600;
  transition: background 120ms ease, transform 120ms ease;
}
.btn-call:hover { background: var(--call-hover); }
.btn-call:active { transform: scale(0.98); }
.btn-call:disabled { opacity: 0.4; cursor: default; }

.btn-plain {
  height: 48px; border: 0; border-radius: 14px;
  background: none; color: var(--text-2);
  font-size: 15px; font-weight: 600;
}
.btn-plain:hover { background: var(--bg-sub); }

.btn-dark {
  height: 48px; padding: 0 20px; border: 0; border-radius: 12px;
  background: var(--ink); color: var(--on-ink);
  font-size: 15px; font-weight: 600;
}

.cta-note { margin: 6px 0 0; font-size: 12.5px; color: var(--text-3); text-align: center; }

/* ---------- 0. login ---------- */

.screen.login { min-height: 100dvh; }
.login-faces { display: flex; margin: 40px var(--side) 24px; }
.login-faces .photo {
  width: 64px; height: 64px; border-radius: 50%; font-size: 24px;
  box-shadow: 0 0 0 3px var(--bg);
}
.login-faces .photo + .photo { margin-left: -14px; }
.google-btn { display: flex; justify-content: center; min-height: 44px; }
.login-error { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--red); text-align: center; }
.cta-note a { color: inherit; }
.login-features { display: flex; flex-direction: column; gap: 16px; margin: 32px var(--side) 0; padding: 0; list-style: none; }
.login-features li { display: flex; flex-direction: column; gap: 2px; }
.login-features b { font-size: 15px; font-weight: 700; }
.login-features span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.login-pricing .section-label { margin-top: 32px; }
.trial-callout {
  display: flex; flex-direction: column; gap: 2px;
  margin: 4px var(--side) 8px; padding: 14px 16px; border-radius: 14px;
  background: var(--add-bg);
}
.trial-callout[hidden] { display: none; }
.trial-callout b { font-size: 16px; font-weight: 700; color: var(--add); }
.trial-callout > span { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.price-list { margin: 4px var(--side) 0; padding: 0; list-style: none; }
.price-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.pack-name { display: flex; flex-direction: column; }
.pack-name small { font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.pack-name small:empty { display: none; }
.price-list .pack-price { color: var(--text-2); }
.price-note { margin: 10px var(--side) 0; font-size: 13px; line-height: 1.5; color: var(--text-3); }

/* ---------- privacy policy ---------- */

.appbar a.wordmark { color: inherit; text-decoration: none; }
.doc { padding: 0 var(--side) 48px; font-size: 15px; line-height: 1.7; color: var(--text-2); }
.doc .page-title { margin: 8px 0 0; color: var(--text); }
.doc-meta { margin: 4px 0 24px; font-size: 13px; color: var(--text-3); }
.doc h2 { margin: 32px 0 8px; font-size: 17px; line-height: 1.5; color: var(--text); }
.doc p, .doc ul, .doc ol { margin: 0 0 12px; }
.doc ul, .doc ol { padding-left: 20px; }
.doc a { color: var(--text); }
.doc table { width: 100%; margin: 0 0 12px; border-collapse: collapse; font-size: 13.5px; line-height: 1.55; }
.doc th, .doc td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ---------- account ---------- */

.avatar {
  display: grid; place-items: center; flex: none; overflow: hidden;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-sub); color: var(--text-2);
  font-size: 14px; font-weight: 700;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.account-btn {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto; padding: 4px 4px 4px 12px;
  border: 1px solid var(--line); border-radius: 999px;
  background: none;
  font-size: 13.5px; font-weight: 600; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.account-btn:hover { background: var(--bg-sub); }
.account-btn.empty { border-color: var(--red); color: var(--red); }
.account-btn .avatar { width: 28px; height: 28px; font-size: 12px; }

#sheet-account { padding-left: var(--side); padding-right: var(--side); }
.account-head { display: flex; align-items: center; gap: 14px; }
.account-head .avatar { width: 48px; height: 48px; font-size: 18px; }
.account-head div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-head b { font-size: 17px; font-weight: 700; }
.account-head small { font-size: 14px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-balance {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 20px; padding: 18px 20px; border-radius: 16px;
  background: var(--bg-sub); font-size: 15px; color: var(--text-2);
}
.account-balance b { font-size: 18px; color: var(--text); font-variant-numeric: tabular-nums; }
.account-logout { width: 100%; margin-top: 12px; }
.account-packs { margin-top: 24px; }
.account-packs h4 { margin: 0 0 10px; font-size: 15px; font-weight: 700; }
.pack-list { display: flex; flex-direction: column; gap: 8px; }
.pack {
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 18px; border: 1px solid var(--line); border-radius: 14px;
  background: none; color: var(--text); font-size: 16px; font-weight: 600;
}
.pack:hover { background: var(--bg-sub); }
.pack:disabled { opacity: 0.5; cursor: default; }
.pack .pack-name { align-items: flex-start; color: var(--text); }
.pack .pack-price { color: var(--text-2); font-variant-numeric: tabular-nums; }
.pay-note { min-height: 1.4em; margin: 10px 0 0; font-size: 13.5px; color: var(--text-3); }
.pay-note:empty { display: none; }

/* ---------- 1. setup ---------- */

#setup-form { display: flex; flex-direction: column; flex: 1; }
.screen.setup { min-height: 100dvh; }

.tutors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 10px;
  margin-top: 28px;
  padding: 0 var(--side);
}
.tutor { position: relative; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.tutor input { position: absolute; opacity: 0; pointer-events: none; }
.tutor .photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  outline: 2.5px solid transparent;
  outline-offset: 3px;
  transition: outline-color 120ms ease, transform 160ms ease;
}
.tutor:hover .photo { transform: translateY(-2px); }
.tutor input:checked + .photo { outline-color: var(--ink); }
.tutor input:focus-visible + .photo { outline-color: var(--ink); outline-style: dashed; }
.tutor-check {
  position: absolute; right: 6px; top: 6px;
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink); color: var(--on-ink);
  opacity: 0; transform: scale(0.6);
  transition: opacity 120ms ease, transform 160ms ease;
}
.tutor-check .icon { width: 14px; height: 14px; stroke-width: 3; }
.tutor input:checked + .photo .tutor-check { opacity: 1; transform: none; }
.tutor-name { margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.tutor-trait { margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--text-3); text-align: center; word-break: keep-all; }

.section-label { margin: 40px var(--side) 4px; font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: 0; }

.rows { display: flex; flex-direction: column; }
.row {
  display: flex; align-items: center; gap: 8px;
  width: 100%; min-height: 56px;
  padding: 0 var(--side);
  border: 0; background: none;
  text-align: left;
  font-size: 16px;
  transition: background 120ms ease;
}
.row:hover { background: var(--bg-sub); }
.row-label { flex: 1; color: var(--text-2); }
.row-value { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.row-chevron { width: 18px; height: 18px; color: var(--text-3); }

/* bottom sheet */
.sheet {
  position: fixed;
  inset: auto 0 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 86dvh;
  margin: 0 auto;
  padding: 8px 0 calc(16px + env(safe-area-inset-bottom));
  border: 0;
  border-radius: 24px 24px 0 0;
  background: var(--bg);
  color: var(--text);
  overflow-y: auto;
}
.sheet::backdrop { background: var(--scrim); }
.sheet[open] { animation: sheet-up 260ms cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet-handle { width: 36px; height: 4px; margin: 4px auto 16px; border-radius: 2px; background: var(--line); }
.sheet h3 { margin: 0 24px 8px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }

.options { display: flex; flex-direction: column; }
.opt {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 120ms ease;
}
.opt:hover { background: var(--bg-sub); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.opt-text b { font-size: 16.5px; font-weight: 500; }
.opt-text small { font-size: 13.5px; line-height: 1.5; color: var(--text-3); word-break: keep-all; }
.opt-example {
  align-self: flex-start;
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-sub);
  font-size: 13px;
  color: var(--text-2);
}
.opt-check { color: transparent; width: 22px; height: 22px; stroke-width: 2.5; }
.opt input:checked ~ .opt-check { color: var(--ink); }
.opt input:checked + .opt-text b { font-weight: 700; }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }

.sheet-custom { display: flex; gap: 8px; padding: 8px 24px 4px; }
.sheet-custom input {
  flex: 1; min-width: 0;
  height: 48px; padding: 0 14px;
  border: 0; border-radius: 12px;
  background: var(--bg-sub); color: var(--text);
  font: inherit; font-size: 16px;
}
.sheet-custom input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---------- 2. call (always dark) ---------- */

body.in-call { height: 100dvh; overflow: hidden; background: #0c0c0e; color: #fff; }

.screen.call { position: relative; height: 100dvh; padding: 0 var(--side); isolation: isolate; }

.call-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--tile); }
.call-backdrop img {
  position: absolute; left: 50%; top: 30%;
  width: 160%; max-width: 900px;
  transform: translate(-50%, -50%);
  filter: blur(56px) saturate(1.4);
  opacity: 0.9;
}
.call-backdrop::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(12 12 14 / 0.55), rgb(12 12 14 / 0.82) 45%, rgb(12 12 14 / 0.94));
}

.call-head { padding-top: 48px; text-align: center; }
.call-head h2 { margin: 0; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.call-line { display: flex; justify-content: center; gap: 8px; margin: 6px 0 0; font-size: 16px; color: rgb(255 255 255 / 0.7); }
.call-line .timer { font-variant-numeric: tabular-nums; }
.call-line .timer::before { content: "·"; margin-right: 8px; }

.call-photo { position: relative; width: 148px; height: 148px; margin: 32px auto 0; }
.call-photo .photo {
  width: 100%; height: 100%; border-radius: 50%;
  box-shadow: 0 0 0 calc(var(--tutor-level, 0) * 12px) rgb(255 255 255 / 0.22);
  transition: box-shadow 90ms linear;
}
.call-photo::before, .call-photo::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.5);
  opacity: 0;
  pointer-events: none;
}
.call-photo.ringing::before { animation: ring 2.4s ease-out infinite; }
.call-photo.ringing::after { animation: ring 2.4s ease-out 1.2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 0.7; } to { transform: scale(1.5); opacity: 0; } }

.call-meta { margin: 16px 0 0; font-size: 13.5px; color: rgb(255 255 255 / 0.5); text-align: center; }

.call-error {
  margin: 16px 0 0; padding: 12px 14px; border-radius: 12px;
  background: rgb(240 68 82 / 0.2); color: #ffb3b9;
  font-size: 14px; line-height: 1.5; text-align: center;
}

.captions {
  position: relative;
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
  margin-top: 12px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 48px);
  mask-image: linear-gradient(to bottom, transparent, #000 48px);
}
.captions.off .transcript { visibility: hidden; }
.captions.off::after {
  content: "자막을 껐어요. 귀로만 들어 보세요.";
  position: absolute; left: 0; right: 0; bottom: 8px;
  font-size: 14px; color: rgb(255 255 255 / 0.45); text-align: center;
}

.transcript { display: flex; flex-direction: column; }
.transcript.live { flex: 1; gap: 14px; overflow-y: auto; padding: 48px 0 8px; scrollbar-width: none; }
.transcript.live::-webkit-scrollbar { display: none; }

.line-who { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 600; color: rgb(255 255 255 / 0.5); }
.line-text { margin: 0; font-size: 17px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.line.user .line-text { color: rgb(255 255 255 / 0.72); }
.line.interim .line-text { color: rgb(255 255 255 / 0.5); }

.call-tip { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: rgb(255 255 255 / 0.5); text-align: center; }

.controls { display: flex; justify-content: center; gap: 32px; padding: 20px 0 calc(28px + env(safe-area-inset-bottom)); }
.ctrl { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: #fff; }
.ctrl-icon {
  display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: background 120ms ease, color 120ms ease, transform 120ms ease;
}
.ctrl-icon .icon { width: 28px; height: 28px; stroke-width: 1.8; }
.ctrl:hover .ctrl-icon { background: rgb(255 255 255 / 0.24); }
.ctrl:active .ctrl-icon { transform: scale(0.94); }
.ctrl[aria-pressed="true"] .ctrl-icon { background: #fff; color: #111; }
.ctrl-label { font-size: 13px; color: rgb(255 255 255 / 0.8); }
.ctrl:focus-visible { outline: none; }
.ctrl:focus-visible .ctrl-icon { outline: 2px solid #fff; outline-offset: 3px; }
.mic-level { box-shadow: 0 0 0 calc(var(--mic-level, 0) * 10px) rgb(255 255 255 / 0.2); }
.ctrl.hangup .ctrl-icon { background: #eb4d3d; }
.ctrl.hangup:hover .ctrl-icon { background: #d8402f; }
.ctrl.hangup .icon { transform: rotate(135deg); fill: currentColor; stroke-width: 0; }

/* ---------- 3. report ---------- */

.screen.report { min-height: 100dvh; }
.report-head { padding-top: 12px; }
.report-photo { width: 64px; height: 64px; margin: 0 var(--side); border-radius: 20px; font-size: 26px; }
.report-kicker { margin: 16px var(--side) 0; font-size: 14px; color: var(--text-3); }
.report-head .page-title { margin-top: 4px; }
.report-ended { margin: 8px var(--side) 0; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }

.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 24px var(--side) 0; padding: 18px 0;
  border-radius: 16px; background: var(--bg-sub);
}
.metrics div { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.metrics div + div { border-left: 1px solid var(--line); }
.metrics dt { font-size: 12.5px; color: var(--text-3); }
.metrics dd { margin: 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }

.report-body { padding: 0 var(--side); }
.report-summary { margin: 28px 0 0; font-size: 16px; line-height: 1.75; color: var(--text); }
.report-h { margin: 40px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }

.fixes, .phrases { margin: 8px 0 0; padding: 0; list-style: none; }
.fixes li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.fixes li:last-child { border-bottom: 0; }
.fix-said { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-3); }
.fix-said del { color: var(--red); text-decoration-thickness: 1.5px; }
.fix-better { display: flex; align-items: flex-start; gap: 12px; margin-top: 6px; }
.fix-better p { flex: 1; margin: 0; font-size: 18px; line-height: 1.5; font-weight: 600; }
.fix-better ins { padding: 1px 3px; border-radius: 4px; background: var(--add-bg); color: var(--add); text-decoration: none; }
.fix-why { margin: 10px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--text-2); }

.phrases li { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.phrases li:last-child { border-bottom: 0; }
.phrases li > div { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.phrases strong { font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.phrases span { font-size: 14px; color: var(--text-3); }

.listen {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: var(--bg-sub); color: var(--text-2);
  transition: background 120ms ease, color 120ms ease;
}
.listen .icon { width: 18px; height: 18px; }
.listen:hover { color: var(--text); }
.listen.playing { background: var(--ink); color: var(--on-ink); }

.tutor-note { display: flex; align-items: flex-end; gap: 10px; margin: 36px 0 0; }
.tutor-note .photo { width: 40px; height: 40px; border-radius: 50%; flex: none; font-size: 16px; }
.tutor-note p {
  margin: 0; padding: 12px 16px;
  border-radius: 20px 20px 20px 6px;
  background: var(--bg-sub);
  font-size: 15px; line-height: 1.6;
}

.report-note { margin: 28px 0 0; padding: 20px; border-radius: 16px; background: var(--bg-sub); font-size: 15px; line-height: 1.65; color: var(--text-2); text-align: center; white-space: pre-line; }
.report-note.error { color: var(--red); }
.report-note .btn-plain { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 0 14px; color: var(--text); }

.report-loading { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 40px 0 8px; text-align: center; }
.spinner { width: 28px; height: 28px; margin-bottom: 10px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--text); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.report-loading b { font-size: 16px; font-weight: 600; }
.report-loading span { font-size: 14px; color: var(--text-3); }

.full-transcript { margin: 32px var(--side) 0; border-top: 1px solid var(--line); }
.full-transcript summary { padding: 18px 0; font-size: 15px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.transcript.static { gap: 8px; padding-bottom: 8px; }
.bubble { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.assistant { align-self: flex-start; background: var(--bg-sub); border-bottom-left-radius: 6px; }
.bubble.user { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 6px; }

@media (max-width: 360px) {
  :root { --side: 16px; }
  .tutors { gap: 16px 8px; }
  .tutor-trait { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
