/* 아하브 AI 녹음 */
:root {
  --bg: #F1F9FB; --surface: #FFFFFF; --sunk: #E2F1F5; --ink: #0B2630; --muted: #4F6B75; --line: #D3E8EE;
  --accent: #0F8FA8; --accent-2: #18A9C4; --accent-ink: #FFFFFF; --accent-soft: #DDF3F8;
  --in: #1C6FD1; --out: #D6402F; --gold: #E0A92E; --ok: #0F7B5F; --bad: #C2362B; --new: #E8590C; --hl: #FFF4D1;
  --shadow: 0 1px 2px rgba(11,38,48,.04), 0 8px 24px rgba(11,38,48,.06);
  --hero: radial-gradient(120% 120% at 100% 0%, #7FE3F0 0%, transparent 55%), linear-gradient(135deg, #062B38 0%, #0F8FA8 60%, #38C6DA 100%);
  --hero-shadow: 0 12px 32px rgba(15,143,168,.28); --hero-ink: #0A5566;
  --font-ui: "Pretendard", "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; --radius: 18px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #08161B; --surface: #102229; --sunk: #173039; --ink: #E3F4F8; --muted: #9BBBC5; --line: #21404A;
  --accent: #5FD6EA; --accent-2: #38C6DA; --accent-ink: #032029; --accent-soft: #123E49; --hl: #33301A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
} }
.recbox { text-align: center; padding: 24px 0 10px; }
.rtime { font-size: 46px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.rstate { font-size: 14px; color: rgba(255,255,255,.85); margin-top: 4px; min-height: 20px; }
.rbtn { width: 96px; height: 96px; border-radius: 50%; border: 6px solid rgba(255,255,255,.35); background: #fff; display: inline-flex; align-items: center; justify-content: center; margin: 18px auto 6px; box-shadow: 0 8px 24px rgba(0,0,0,.25); padding: 0; }
.rbtn i { width: 40px; height: 40px; border-radius: 50%; background: #E5384F; display: block; transition: all .2s; }
.rbtn.on i { border-radius: 8px; width: 34px; height: 34px; }
.rbtn.on { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(229,56,79,.18), 0 8px 24px rgba(0,0,0,.25); } }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 46px; margin-top: 8px; }
.wave i { width: 4px; border-radius: 2px; background: rgba(255,255,255,.8); height: 4px; transition: height .08s; }
.racts { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.racts .btn { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); }
.kindsel { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.kindsel button { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; }
.kindsel button.on { background: #fff; color: var(--hero-ink); }
.recs .rc { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); cursor: pointer; }
.recs .rc:first-child { border-top: 0; }
.recs .rc .ri { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.recs .rc b { display: block; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recs .rc small { color: var(--muted); font-size: 12.5px; }
.st { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.st.s0 { background: var(--sunk); color: var(--muted); } .st.s1 { background: var(--hl); color: #8A6200; } .st.s2 { background: var(--accent); color: #fff; }
.player { display: flex; align-items: center; gap: 10px; }
.player button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; font-size: 18px; flex: none; padding: 0; }
.player input { flex: 1; accent-color: var(--accent); }
.player span { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prog { height: 8px; background: var(--sunk); border-radius: 4px; overflow: hidden; margin: 8px 0; }
.prog i { display: block; height: 100%; background: var(--accent); transition: width .4s; }
.tr { white-space: pre-wrap; font-size: 15px; line-height: 1.75; max-height: 420px; overflow: auto; background: var(--sunk); border-radius: 12px; padding: 12px 14px; }
.tr .ts { color: var(--accent); font-weight: 800; font-size: 12px; }
.sum h4 { margin: 14px 0 6px; font-size: 14px; color: var(--accent); }
.sum h4:first-child { margin-top: 0; }
.sum ul { margin: 0; padding-left: 20px; } .sum li { margin: 3px 0; }
.sum .todo { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.sum .todo small { display: block; color: var(--muted); font-size: 12.5px; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; } .kw span { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12.5px; border-radius: 999px; padding: 3px 10px; }
.meter { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; }
.meter .mb { flex: 1; height: 8px; background: var(--sunk); border-radius: 4px; overflow: hidden; }
.meter .mb i { display: block; height: 100%; background: var(--accent); }
.seg2 { display: flex; gap: 6px; flex-wrap: wrap; }
.seg2 button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 700; }
.seg2 button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
