/* styles.css — Onderweg, lichte iOS-stijl (geport uit Claude Design).
   Sora (display) + Plus Jakarta Sans (body), blauw/paars palet. */

:root {
  --blue-700: #1E3FE6;
  --blue-600: #2F5BFF;
  --blue-500: #3D67FF;
  --blue-400: #5B82FF;
  --blue-300: #83A2FF;
  --purple-600: #5A4BFF;
  --purple-500: #7A4DFF;
  --orange-500: #FF6B4A;
  --orange-400: #FF8C6B;
  --green-500: #1FA971;

  --ink: #141A2B;
  --t2: #6B7689;
  --t3: #9AA4B5;
  --t-soft: #7C86A0;

  --line: #E7EBF3;
  --line2: #EEF1F8;
  --line3: #EAEEF6;

  --tile-blue: #E8EEFF;
  --tile-orange: #FFEDE7;
  --tile-green: #E4F6EC;
  --tile-purple: #F1ECFF;

  --grad-primary: linear-gradient(150deg, #3D67FF, #1E3FE6);

  --display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;

  --tap: 44px;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: #E7ECF6;
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

@keyframes ogspin { to { transform: rotate(360deg); } }
@keyframes ogfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ogsheet { from { transform: translateY(101%); } to { transform: none; } }
@keyframes ogscrim { from { opacity: 0; } to { opacity: 1; } }

/* App-container: telefoonkolom, gecentreerd op breed scherm. */
.app {
  position: relative;
  width: min(460px, 100%);
  height: 100svh;
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(125% 55% at 50% -8%, #FBEFFF 0%, rgba(251, 239, 255, 0) 52%),
    linear-gradient(180deg, #F2F6FF 0%, #EAEFF9 100%);
  color: var(--ink);
}

/* Schermen vullen de container; één tegelijk zichtbaar. */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top) + 14px) 20px calc(env(safe-area-inset-bottom) + 10px);
  animation: ogfade .4s ease both;
}
.screen-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.screen-center { align-items: center; justify-content: center; text-align: center; padding-left: 36px; padding-right: 36px; }

/* ── Typografie ── */
.h1 { font-family: var(--display); font-weight: 700; font-size: 25px; line-height: 1.2; letter-spacing: -.6px; margin: 0; text-wrap: balance; }
.center { text-align: center; }
.sub { color: var(--t-soft); font-size: 15px; line-height: 1.5; margin: 9px 0 0; }
.eyebrow { font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: .14em; color: var(--blue-600); }
.eyebrow.tight { font-size: 11px; letter-spacing: .16em; }
.muted-eyebrow { color: var(--t3); font-size: 12px; letter-spacing: .12em; }
.section-gap { margin-top: 24px; }

/* ── Knoppen ── */
.btn-primary {
  width: 100%;
  border: none;
  border-radius: 16px;
  padding: 16px;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(47, 91, 255, .34);
  transition: transform .08s ease;
}
.btn-primary:active { transform: scale(.99); }
.btn-primary:disabled { opacity: .5; box-shadow: none; cursor: not-allowed; }
.btn-ghost {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 14px; padding: 13px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}
.btn-ghost.full { width: 100%; }
.btn-ghost:active { background: #F4F7FF; }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.icon-btn.round40 { width: 40px; height: 40px; }
.icon-btn:active { background: #F4F7FF; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn.round40 svg { width: 18px; height: 18px; }

.link-strong { background: none; border: none; color: var(--blue-600); font-weight: 700; font-family: inherit; font-size: inherit; cursor: pointer; padding: 0; }

/* ── Merkteken (brandmark) ── */
.brandmark { display: inline-flex; }

/* ════════ LOGIN ════════ */
.screen-login { padding: calc(env(safe-area-inset-top) + 10px) 26px calc(env(safe-area-inset-bottom) + 18px); overflow-y: auto; }
.login-center { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.brand-row { display: flex; justify-content: center; }
.login-form { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
.input {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 15px 16px;
}
.input svg { width: 18px; height: 18px; flex-shrink: 0; }
.input input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--body); font-size: 15px; color: var(--ink); }
#btn-login { margin-top: 18px; }
.forgot { font-size: 13.5px; color: #8A93A6; margin: 16px 0 0; }
.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; }
.divider span { flex: 1; height: 1px; background: #DCE2EE; }
.divider em { font-style: normal; font-size: 12.5px; color: var(--t3); }
.social-row { display: flex; gap: 11px; }
.btn-social {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px;
  cursor: pointer; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ink);
}
.btn-social:active { background: #F4F7FF; }
.btn-social svg { width: 17px; height: 17px; }
.login-footer { text-align: center; font-size: 13.5px; color: #8A93A6; margin: 18px 0 0; flex-shrink: 0; }
.privacy-mini {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; line-height: 1.45; color: var(--t2);
  background: rgba(255, 255, 255, .55); border: 1px solid var(--line2);
  border-radius: 13px; padding: 10px 12px; margin: 14px 0 0;
}
.privacy-mini svg { width: 17px; height: 17px; flex-shrink: 0; }
.privacy-mini.center { justify-content: center; text-align: center; }
.privacy-mini.subtle { background: none; border: none; padding: 8px 0 0; color: var(--t3); }

/* ════════ TOPBAR (upload/archief) ════════ */
.topbar { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.brand-left { display: flex; align-items: center; gap: 9px; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.3px; }
.topbar-right { display: flex; align-items: center; gap: 9px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(145deg, #FFC9A0, #FF8C6B);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 14px; color: #fff;
}
.archief-title { font-size: 24px; letter-spacing: -.5px; }

/* ════════ UPLOAD ════════ */
.greeting { margin: 22px 2px 14px; }
.greeting .eyebrow { display: block; }
.greeting .h1 { margin-top: 7px; }

.hero {
  position: relative; overflow: hidden; border: none; border-radius: 26px;
  padding: 28px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px;
  cursor: pointer; text-align: center; font-family: inherit;
  background: linear-gradient(150deg, #EBF1FF 0%, #F3ECFF 100%);
  box-shadow: 0 14px 30px rgba(80, 110, 220, .13);
  transition: transform .08s ease;
}
.hero:active { transform: scale(.985); }
.hero-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-blob-blue { top: -30px; right: -26px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(47, 91, 255, .16), rgba(47, 91, 255, 0) 70%); }
.hero-blob-orange { bottom: -34px; left: -20px; width: 110px; height: 110px; background: radial-gradient(circle, rgba(255, 107, 74, .13), rgba(255, 107, 74, 0) 70%); }
.hero-badge {
  position: relative; width: 60px; height: 60px; border-radius: 19px;
  background: var(--grad-primary); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px rgba(47, 91, 255, .36);
}
.hero-badge svg { width: 27px; height: 27px; }
.hero-text { position: relative; }
.hero-title { display: block; font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); }
.hero-sub { display: block; font-size: 13px; color: var(--t-soft); margin-top: 4px; }

.quick-row { display: flex; gap: 10px; margin-top: 13px; }
.quick {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 4px;
  cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
}
.quick:active { background: #F4F7FF; }
.quick svg { width: 16px; height: 16px; }

.section-head { display: flex; align-items: center; justify-content: space-between; margin: 28px 2px 12px; }
.section-link { background: none; border: none; font-family: inherit; font-size: 12.5px; color: var(--t3); cursor: pointer; }

/* ── Lijstrijen (recent / archief) ── */
.list { display: flex; flex-direction: column; gap: 10px; }
.list.compact { gap: 8px; }
.row {
  display: flex; align-items: center; gap: 13px; width: 100%;
  background: #fff; border: 1px solid var(--line2); border-radius: 18px; padding: 12px;
  cursor: pointer; font-family: inherit; text-align: left;
  box-shadow: 0 4px 14px rgba(80, 110, 180, .05);
}
.row:active { background: #F7F9FF; }
.row-tile { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.row-tile svg { width: 20px; height: 20px; }
.row-body { flex: 1; min-width: 0; }
.row-title { font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.row-source { font-size: 12.5px; color: #8A93A6; }
.row-bar-track { height: 4px; background: #EDF1F8; border-radius: 9999px; margin-top: 8px; overflow: hidden; }
.row-bar { height: 100%; background: linear-gradient(90deg, #2F5BFF, #5B82FF); border-radius: 9999px; }
.row-dur { font-size: 12.5px; font-weight: 600; color: var(--t3); flex-shrink: 0; }
.badge { font-size: 11px; font-weight: 700; border-radius: 9999px; padding: 2px 8px; }
.badge-done { color: var(--green-500); background: var(--tile-green); }
.badge-busy { color: var(--orange-500); background: var(--tile-orange); }

.row-remove {
  flex-shrink: 0; width: 34px; height: 34px; border: none; background: #F2F5FB; color: var(--t2);
  border-radius: 10px; font-size: 20px; line-height: 1; cursor: pointer;
}
.row-remove:active { background: #E8ECF5; }

.empty-note { font-size: 13px; line-height: 1.5; color: var(--t3); margin: 6px 2px 0; }
.empty-note.small { font-size: 12px; margin: 10px 2px; }

.tab-spacer { height: 104px; flex-shrink: 0; }

/* ════════ ARCHIEF ════════ */
.stat-card {
  position: relative; overflow: hidden; border-radius: 22px; padding: 18px 20px; margin-top: 16px;
  background: linear-gradient(140deg, #3D67FF 0%, #5A4BFF 60%, #7A4DFF 100%);
  box-shadow: 0 14px 30px rgba(70, 90, 220, .32);
}
.stat-blob { position: absolute; top: -30px; right: -20px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 70%); }
.stat-eyebrow { position: relative; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .82); }
.stat-main { position: relative; display: flex; align-items: flex-end; gap: 10px; margin-top: 6px; }
.stat-total { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -1px; color: #fff; line-height: 1; }
.stat-count { font-size: 12.5px; color: rgba(255, 255, 255, .8); padding-bottom: 4px; }
.stat-bars { position: relative; display: flex; align-items: flex-end; gap: 7px; height: 34px; margin-top: 14px; }
.stat-bars i { flex: 1; background: rgba(255, 255, 255, .4); border-radius: 4px; min-height: 6px; }
.stat-bars i.peak { background: #fff; }

.filter-row { display: flex; gap: 8px; margin-top: 18px; }
.chip {
  border: 1px solid var(--line); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
  border-radius: 9999px; padding: 8px 15px; background: #fff; color: var(--t2);
}
.chip.active { background: var(--blue-600); color: #fff; border-color: transparent; box-shadow: 0 8px 16px rgba(47, 91, 255, .28); }

/* ════════ VERWERKEN ════════ */
.spinner { position: relative; width: 88px; height: 88px; }
.spinner-ring { position: absolute; inset: 0; border-radius: 50%; border: 5px solid #E2E9F8; border-top-color: var(--blue-600); animation: ogspin .9s linear infinite; }
.spinner-glyph { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; }
.proc-title { font-family: var(--display); font-weight: 600; font-size: 20px; margin-top: 30px; letter-spacing: -.3px; }
.proc-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; max-width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 9999px; padding: 9px 16px;
}
.proc-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.proc-pill span { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proc-status { font-size: 13px; color: var(--t3); margin-top: 16px; min-height: 18px; }
.proc-status[data-kind="bad"] { color: var(--orange-500); }

/* ════════ PLAYER ════════ */
.screen-player { padding: calc(env(safe-area-inset-top) + 14px) 22px calc(env(safe-area-inset-bottom) + 108px); overflow-y: auto; }
.player-top { display: flex; align-items: center; justify-content: space-between; padding: 2px 0; flex-shrink: 0; }
.source-wrap { display: flex; justify-content: center; margin-top: 14px; flex-shrink: 0; }
.source-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--tile-blue); border-radius: 9999px; padding: 8px 15px; }
.source-pill svg { width: 14px; height: 14px; }
.source-pill span { font-size: 12.5px; font-weight: 600; color: var(--blue-700); }
.player-title { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.28; letter-spacing: -.5px; text-align: center; text-wrap: balance; margin: 12px 8px 0; flex-shrink: 0; }

.dial-area { display: flex; flex-direction: column; align-items: center; margin: auto 0; padding: 8px 0; flex-shrink: 0; }
.dial-host { display: flex; justify-content: center; }
.time-row { display: flex; justify-content: space-between; width: 248px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #8A93A6; }

.transport { display: flex; align-items: center; justify-content: center; gap: 20px; flex-shrink: 0; }
.transport-btn {
  width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  cursor: pointer; color: var(--blue-600);
}
.transport-btn:active { background: #F4F7FF; }
.transport-btn svg { width: 22px; height: 22px; }
.transport-num { font-size: 9.5px; font-weight: 700; }
.transport-btn.speed { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }

.learn-card {
  display: flex; gap: 13px; align-items: center;
  background: linear-gradient(135deg, #F1ECFF, #EAF0FF); border: 1px solid #E6E1FA; border-radius: 18px;
  padding: 13px 15px; margin-top: 18px; flex-shrink: 0;
}
.learn-body { flex: 1; min-width: 0; }
.learn-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; color: var(--purple-500); }
.learn-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 3px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.learn-pct { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--purple-600); }
.learn-track { height: 5px; background: #E2DAF7; border-radius: 9999px; margin-top: 7px; overflow: hidden; }
.learn-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #7A4DFF, #5A4BFF); border-radius: 9999px; transition: width .25s linear; }
.player-status { text-align: center; font-size: 12.5px; color: var(--t3); margin: 10px 0 0; min-height: 16px; flex-shrink: 0; }
.player-status[data-kind="bad"] { color: var(--orange-500); }

/* ════════ TAB BAR ════════ */
.tabbar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px 38px calc(env(safe-area-inset-bottom) + 18px);
  display: flex; align-items: flex-end; justify-content: space-between;
  background: linear-gradient(180deg, rgba(234, 239, 249, 0), #EAEFF9 44%);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px; width: 54px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  color: var(--t3); margin-bottom: 6px; font-size: 10.5px; font-weight: 600;
}
.tab svg { width: 23px; height: 23px; }
.tab.active { color: var(--blue-600); }
.tab-fab {
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-primary); box-shadow: 0 12px 24px rgba(47, 91, 255, .4);
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
  transition: transform .08s ease;
}
.tab-fab:active { transform: scale(.95); }
.tab-fab svg { width: 26px; height: 26px; }

/* ════════ SHEETS ════════ */
.sheet-layer { position: absolute; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: flex-end; }
.scrim { position: absolute; inset: 0; background: rgba(20, 26, 43, .4); animation: ogscrim .25s ease both; }
.sheet {
  position: relative; background: #fff; border-radius: 30px 30px 0 0; max-height: 86%;
  display: flex; flex-direction: column; box-shadow: 0 -16px 40px rgba(20, 26, 43, .18);
  animation: ogsheet .32s cubic-bezier(.22, 1, .36, 1) both;
}
.sheet-handle { display: flex; justify-content: center; padding: 12px 0 4px; flex-shrink: 0; }
.sheet-handle span { width: 42px; height: 5px; border-radius: 9999px; background: #E2E7F0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 14px; flex-shrink: 0; }
.sheet-title { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.4px; }
.sheet-x { width: 34px; height: 34px; border-radius: 50%; background: #F2F5FB; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sheet-x svg { width: 15px; height: 15px; }
.sheet-body { overflow-y: auto; padding: 0 22px calc(env(safe-area-inset-bottom) + 26px); }
.sheet-done { margin-top: 24px; }
.settings-privacy { margin: 16px 2px 0; font-size: 11.5px; line-height: 1.5; color: var(--t3); }

/* STEM */
.voice-list { display: flex; flex-direction: column; gap: 8px; }
.voice-row {
  display: flex; align-items: center; gap: 12px; width: 100%; cursor: pointer; font-family: inherit;
  border-radius: 16px; padding: 11px 13px; background: #fff; border: 1px solid var(--line3); text-align: left;
}
.voice-row.selected { background: #F2F6FF; border: 1.5px solid var(--blue-600); }
.voice-tile { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--display); font-weight: 700; font-size: 15px; }
.voice-info { flex: 1; min-width: 0; }
.voice-name { font-size: 14.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.voice-desc { font-size: 12px; color: #8A93A6; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.radio { width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid #D3DAE8; }
.voice-row.selected .radio { border-color: var(--blue-600); }
.radio i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-600); display: none; }
.voice-row.selected .radio i { display: block; }

/* AFSPEELSNELHEID */
.speed-row { display: flex; gap: 7px; }
.speed-chip {
  flex: 1; border: none; cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 13.5px;
  border-radius: 13px; padding: 11px 0; background: #F2F5FB; color: var(--t2);
}
.speed-chip.active { background: var(--blue-600); color: #fff; }

/* LENGTE */
.length-head { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 2px 10px; }
.length-hint { font-size: 11.5px; color: var(--t3); }
.length-row { display: flex; gap: 9px; }
.length-card {
  flex: 1; cursor: pointer; font-family: inherit; text-align: left; border-radius: 16px; padding: 13px 12px;
  background: #fff; border: 1px solid var(--line3);
}
.length-card.selected { background: #F2F6FF; border: 1.5px solid var(--blue-600); }
.length-name { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.length-card.selected .length-name { color: var(--blue-600); }
.length-min { font-size: 12.5px; font-weight: 600; color: var(--blue-600); margin-top: 5px; }
.length-desc { font-size: 11.5px; color: var(--t3); margin-top: 2px; }

/* SPELER toggles */
.toggle-group { background: #F7F9FD; border-radius: 18px; padding: 4px 16px; }
.toggle-item { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line3); }
.toggle-item.no-border { border-bottom: none; }
.toggle-text { flex: 1; }
.toggle-name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.toggle-desc { font-size: 12px; color: #8A93A6; margin-top: 2px; }
.switch {
  width: 48px; height: 28px; border-radius: 9999px; border: none; cursor: pointer; flex-shrink: 0;
  padding: 3px; display: flex; justify-content: flex-start; background: #D3DAE8; transition: background .2s;
}
.switch[aria-checked="true"] { justify-content: flex-end; background: var(--blue-600); }
.switch .knob { width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }

.paste-area {
  width: 100%; min-height: 160px; resize: vertical; font-family: var(--body); font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px; outline: none; background: #fff;
}
.paste-area:focus { border-color: var(--blue-400); }

/* ── Toast ── */
.toast {
  position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 96px); transform: translateX(-50%);
  z-index: 90; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
  padding: 11px 18px; border-radius: 9999px; box-shadow: 0 10px 28px rgba(20, 26, 43, .3);
  max-width: 84%; text-align: center; animation: ogfade .25s ease both;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
