:root {
  color-scheme: dark;
  --bg: #101210;
  --surface: #171a17;
  --surface-raised: #1d211e;
  --line: #2a302b;
  --line-soft: #222723;
  --text: #f0f1eb;
  --muted: #8d958d;
  --quiet: #5e675f;
  --acid: #d3ef75;
  --acid-dim: #b7d65d;
  --coral: #ff876a;
  --blue: #79b9ff;
  --green: #84d9a2;
  --font: "DM Sans", sans-serif;
  --display: "Space Grotesk", sans-serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(ellipse at 82% 0%, rgba(107, 124, 77, .12), transparent 34rem),
    linear-gradient(135deg, rgba(255,255,255,.018) 25%, transparent 25%) 0 0 / 4px 4px,
    var(--bg);
}
button, select, input { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
.app-shell { min-height: 100vh; }
.topbar {
  height: 72px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(16,18,16,.78);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: var(--acid); border: 1px solid #48513d; border-radius: 9px; background: #20261a; }
.brand-mark svg { width: 19px; height: 19px; stroke-width: 1.7; }
.brand-name { display: flex; align-items: baseline; gap: 7px; font: 700 15px var(--display); letter-spacing: 0; }
.brand-divider { color: var(--acid); font-weight: 500; }
.brand-sub { color: #a4aaa2; font: 500 9px var(--mono); letter-spacing: 1px; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.privacy-pill { display: inline-flex; align-items: center; gap: 8px; color: #a5ada3; font: 400 9px var(--mono); letter-spacing: .45px; }
.privacy-dot, .engine-indicator { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(132,217,162,.42); }
.icon-button { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; color: #a4aaa2; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; transition: color .18s ease, border-color .18s ease, background .18s ease; }
.icon-button:hover { color: var(--text); border-color: #596258; background: rgba(255,255,255,.04); }
.icon-button svg { width: 16px; height: 16px; }
.main-content { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.intro-row { min-height: 192px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 31px 0 27px; animation: rise-in .55s both; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: var(--acid); font: 400 9px var(--mono); letter-spacing: 1.05px; }
.eyebrow-line { display: inline-block; width: 20px; height: 1px; background: var(--acid); }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; color: var(--text); font: 600 39px/1.1 var(--display); letter-spacing: 0; }
h1 span { color: #aeb8a1; font-weight: 500; }
.intro-copy { margin: 0; color: var(--muted); font-size: 13px; }
.engine-status { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 7px; background: rgba(23,26,23,.66); }
.engine-status .engine-indicator { background: #d39b55; box-shadow: 0 0 9px rgba(211,155,85,.3); }
.engine-status.is-ready .engine-indicator { background: var(--green); box-shadow: 0 0 10px rgba(132,217,162,.42); }
.engine-status.is-busy .engine-indicator { background: var(--blue); box-shadow: 0 0 10px rgba(121,185,255,.45); animation: pulse 1.2s ease-in-out infinite; }
.engine-label { color: var(--muted); font: 400 9px var(--mono); letter-spacing: .4px; white-space: nowrap; }
.engine-label strong { margin-left: 5px; color: #d2a15f; font-weight: 500; }
.engine-status.is-ready .engine-label strong { color: var(--green); }
.engine-status.is-busy .engine-label strong { color: var(--blue); }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 22px; align-items: start; }
.work-column { min-width: 0; }
.drop-zone { position: relative; min-height: 274px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 21px 20px 19px; overflow: hidden; border: 1px dashed #596347; border-radius: 8px; background: linear-gradient(135deg, rgba(211,239,117,.055), transparent 52%), rgba(25,29,25,.75); cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; animation: rise-in .55s .06s both; }
.drop-zone:hover, .drop-zone.is-dragging { border-color: var(--acid); background: linear-gradient(135deg, rgba(211,239,117,.1), transparent 56%), #1a2018; }
.drop-zone.is-dragging { transform: scale(1.006); }
.drop-art { position: relative; width: 70px; height: 62px; display: grid; place-items: center; margin-bottom: 13px; }
.art-ring { position: absolute; width: 48px; height: 48px; border: 1px solid rgba(211,239,117,.2); border-radius: 15px; transform: rotate(45deg); }
.ring-back { transform: rotate(22deg) scale(.8); border-color: rgba(211,239,117,.12); }
.ring-front { transform: rotate(45deg); }
.art-core { position: relative; z-index: 1; width: 35px; height: 35px; display: grid; place-items: center; color: var(--acid); border: 1px solid rgba(211,239,117,.36); border-radius: 11px; background: #242a1c; box-shadow: 0 0 28px rgba(211,239,117,.1); }
.art-core svg { width: 17px; height: 17px; stroke-width: 1.7; }
.art-spark { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px var(--acid); }
.spark-one { top: 4px; right: 7px; }
.spark-two { bottom: 4px; left: 7px; opacity: .6; }
.drop-copy { text-align: center; }
.drop-copy h2 { margin: 0 0 4px; font: 600 16px var(--display); letter-spacing: 0; }
.drop-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.browse-button { padding: 0; color: var(--acid); background: none; border: 0; border-bottom: 1px solid rgba(211,239,117,.4); cursor: pointer; }
.browse-button:hover { color: #e7ffa0; }
.drop-formats { width: min(425px, 100%); display: flex; align-items: center; gap: 7px; margin-top: 21px; }
.drop-formats > span:not(.format-spacer) { color: #788075; font: 400 8px var(--mono); letter-spacing: .35px; }
.drop-formats b { padding: 4px 6px; color: #adb5aa; font: 400 8px var(--mono); border: 1px solid #353d34; border-radius: 3px; background: rgba(255,255,255,.02); }
.format-spacer { flex: 1; }
.queue-section { padding-top: 25px; animation: rise-in .55s .12s both; }
.section-heading { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 10px; }
.queue-title { display: flex; align-items: center; gap: 9px; }
.queue-title h2 { margin: 0; font: 600 14px var(--display); letter-spacing: 0; }
.queue-count { min-width: 21px; height: 20px; display: inline-grid; place-items: center; padding: 0 5px; color: #b9c9a0; font: 400 10px var(--mono); border: 1px solid #414a38; border-radius: 4px; background: #20261c; }
.queue-actions { display: flex; align-items: center; gap: 14px; }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 0; color: var(--muted); font-size: 10px; background: none; border: 0; cursor: pointer; }
.text-button:hover:not(:disabled) { color: var(--coral); }
.text-button:disabled { opacity: .42; }
.text-button svg { width: 13px; height: 13px; }
.bulk-download-button { color: var(--acid); }
.bulk-download-button:hover:not(:disabled) { color: #efffa9; }
.queue-list { display: grid; gap: 7px; }
.empty-queue { min-height: 83px; display: flex; align-items: center; justify-content: center; gap: 9px; color: #747d73; font-size: 11px; border: 1px solid var(--line-soft); border-radius: 6px; background: rgba(23,26,23,.43); }
.empty-icon { width: 27px; height: 27px; display: grid; place-items: center; color: #7e877c; border: 1px solid #343b34; border-radius: 6px; }
.empty-icon svg { width: 14px; height: 14px; }
.file-row { min-height: 78px; display: grid; grid-template-columns: 39px minmax(0,1fr) 93px 28px; gap: 11px; align-items: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(24,28,24,.82); animation: rise-in .25s both; }
.file-thumb { width: 38px; height: 38px; display: grid; place-items: center; overflow: hidden; color: var(--acid); border: 1px solid #353d34; border-radius: 5px; background: #20251f; }
.file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.file-thumb svg { width: 17px; height: 17px; }
.file-info { min-width: 0; }
.file-name { overflow: hidden; margin: 0 0 4px; color: #e3e5de; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { display: flex; align-items: center; gap: 6px; color: #828a81; font: 400 9px var(--mono); }
.file-type { color: #bbc2b8; }
.file-size::before { content: "·"; margin-right: 6px; color: #596158; }
.file-progress { grid-column: 2 / 4; width: 100%; height: 3px; margin-top: -6px; overflow: hidden; border-radius: 2px; background: #2d342d; }
.file-progress > span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--acid); transition: width .2s ease; }
.file-row.is-processing .file-progress > span { background: var(--blue); }
.file-row.is-complete .file-progress > span { background: var(--green); }
.file-row.is-error .file-progress > span { background: var(--coral); }
.file-status { justify-self: end; color: #929a90; font: 400 9px var(--mono); white-space: nowrap; }
.file-row.is-processing .file-status { color: var(--blue); }
.file-row.is-complete .file-status { color: var(--green); }
.file-row.is-error .file-status { color: var(--coral); }
.download-button, .remove-button { width: 27px; height: 27px; display: grid; place-items: center; color: #a8b19f; border: 1px solid #394338; border-radius: 5px; background: #22281f; cursor: pointer; }
.download-button:hover { color: var(--acid); border-color: #68764e; }
.download-button svg, .remove-button svg { width: 13px; height: 13px; }
.remove-button { color: #788075; border-color: transparent; background: transparent; }
.remove-button:hover { color: var(--coral); background: rgba(255,135,106,.08); }
.file-actions { justify-self: end; }
.settings-panel { min-height: 424px; display: flex; flex-direction: column; padding: 20px 19px 16px; border: 1px solid #303730; border-radius: 7px; background: linear-gradient(155deg, rgba(211,239,117,.035), transparent 38%), #181b18; animation: rise-in .55s .09s both; }
.panel-heading { margin-bottom: 23px; }
.panel-kicker { color: #95a184; font: 400 8px var(--mono); letter-spacing: .8px; }
.panel-heading h2 { margin: 6px 0 0; font: 600 18px var(--display); letter-spacing: 0; }
.field-group { margin-bottom: 21px; }
.field-group > label, .label-row > label { display: block; margin-bottom: 9px; color: #a6aea2; font: 400 9px var(--mono); letter-spacing: .5px; }
.select-wrap { position: relative; }
.select-wrap select { width: 100%; height: 39px; appearance: none; padding: 0 34px 0 11px; color: #e2e5dc; font-size: 11px; border: 1px solid #3a4239; border-radius: 5px; background: #20241f; cursor: pointer; }
.select-wrap select option, .select-wrap select optgroup { color: var(--text); background: #20241f; }
.select-wrap > svg { position: absolute; top: 12px; right: 11px; width: 14px; height: 14px; color: #9da69a; pointer-events: none; }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.label-row > label { margin-bottom: 9px; }
.quality-value { color: var(--acid); font: 500 11px var(--mono); }
.quality-value span { margin-left: 1px; color: #a6b588; font-size: 9px; }
input[type="range"] { width: 100%; height: 4px; display: block; margin: 5px 0 8px; appearance: none; border-radius: 5px; background: linear-gradient(to right, var(--acid) 0%, var(--acid) 84%, #394035 84%, #394035 100%); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { width: 13px; height: 13px; appearance: none; border: 2px solid #161916; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 1px var(--acid); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border: 2px solid #161916; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 1px var(--acid); }
.range-labels { display: flex; justify-content: space-between; color: #727b70; font-size: 9px; }
.quality-note { min-height: 36px; display: flex; align-items: flex-start; gap: 7px; margin-top: -6px; color: #858e81; font-size: 9px; line-height: 1.55; }
.quality-note svg { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 1px; color: #b4c292; }
.video-option { margin: 4px 0 4px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.toggle-copy { display: grid; gap: 4px; }
.toggle-copy strong { color: #dfe4d8; font-size: 10px; font-weight: 500; }
.toggle-copy small { color: #849080; font-size: 9px; }
.toggle-control { position: relative; flex: 0 0 auto; width: 33px; height: 18px; }
.toggle-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track { position: absolute; inset: 0; border: 1px solid #485044; border-radius: 10px; background: #292e28; transition: .18s ease; }
.toggle-track::after { position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; content: ""; border-radius: 50%; background: #899184; transition: .18s ease; }
.toggle-control input:checked + .toggle-track { border-color: #81944f; background: #3a452a; }
.toggle-control input:checked + .toggle-track::after { left: 18px; background: var(--acid); }
.toggle-control input:focus-visible + .toggle-track { outline: 2px solid var(--acid); outline-offset: 3px; }
.panel-divider { height: 1px; margin: 15px 0 13px; background: #2c322c; }
.privacy-note { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 17px; }
.privacy-icon { flex: 0 0 auto; width: 26px; height: 26px; display: grid; place-items: center; color: var(--green); border: 1px solid #34463a; border-radius: 6px; background: #1d2920; }
.privacy-icon svg { width: 14px; height: 14px; }
.privacy-note p { margin: 0; color: #929b8f; font-size: 9px; line-height: 1.55; }
.privacy-note strong { color: #cbd6c5; font-weight: 600; }
.convert-button { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: auto; padding: 0 12px; color: #1a2014; font-size: 11px; font-weight: 700; border: 1px solid #def78a; border-radius: 5px; background: var(--acid); box-shadow: 0 3px 14px rgba(190,223,105,.08); cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.convert-button:hover:not(:disabled) { transform: translateY(-1px); background: #e0f894; box-shadow: 0 5px 18px rgba(190,223,105,.15); }
.convert-button:disabled { color: #77806b; border-color: #3c4436; background: #292e25; box-shadow: none; }
.convert-button svg { width: 15px; height: 15px; }
.convert-button .button-arrow { width: 13px; height: 13px; margin-left: auto; }
.engine-footnote { margin: 10px 0 0; color: #747d72; font-size: 9px; text-align: center; line-height: 1.45; }
.app-footer { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #646d63; font: 400 8px var(--mono); letter-spacing: .35px; }
.footer-dot { padding: 0 4px; color: #9cac73; }
.footer-right { display: inline-flex; align-items: center; gap: 6px; }
.footer-right svg { width: 12px; height: 12px; color: #b97967; }
.toast { position: fixed; right: 22px; bottom: 20px; z-index: 5; max-width: min(380px, calc(100vw - 32px)); padding: 12px 15px; color: #e8eee1; font-size: 11px; border: 1px solid #46533c; border-radius: 6px; background: #232a20; box-shadow: 0 10px 35px rgba(0,0,0,.32); opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast.is-error { border-color: #754d42; background: #30221e; }
.info-dialog { width: min(430px, calc(100% - 32px)); padding: 22px; color: var(--text); border: 1px solid #3b4439; border-radius: 8px; background: #1b201b; box-shadow: 0 20px 70px rgba(0,0,0,.6); }
.info-dialog::backdrop { background: rgba(4,6,4,.72); backdrop-filter: blur(4px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 19px; }
.dialog-icon { width: 36px; height: 36px; display: grid; place-items: center; color: var(--green); border: 1px solid #394a3b; border-radius: 8px; background: #1f2c21; }
.dialog-icon svg { width: 18px; height: 18px; }
.info-dialog h2 { margin: 0 0 9px; font: 600 20px var(--display); }
.info-dialog p { margin: 0 0 12px; color: #aab2a7; font-size: 12px; line-height: 1.7; }
.info-dialog .dialog-warning { padding-top: 11px; color: #d5b987; font-size: 10px; border-top: 1px solid #323a31; }
.dialog-done { width: 100%; height: 38px; margin-top: 4px; color: #1b2015; font-size: 11px; font-weight: 700; border: 0; border-radius: 5px; background: var(--acid); cursor: pointer; }
.completion-dialog { text-align: center; }
.completion-mark { width: 46px; height: 46px; display: grid; place-items: center; margin: 2px auto 17px; color: var(--green); border: 1px solid #3c5742; border-radius: 13px; background: #1d2b20; }
.completion-mark svg { width: 22px; height: 22px; }
.completion-dialog h2 { margin-bottom: 8px; }
.completion-dialog > p { margin-bottom: 20px; }
.completion-actions { display: grid; gap: 8px; }
.completion-actions .dialog-done { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.completion-actions .dialog-done svg { width: 15px; height: 15px; }
.dialog-secondary { min-height: 38px; color: #c1c9bd; font-size: 11px; border: 1px solid #3a4439; border-radius: 5px; background: #222822; cursor: pointer; }
.dialog-secondary:hover { color: var(--text); border-color: #687261; background: #292f28; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a, .legal-bottom-links a { color: #929b8f; text-decoration: underline; text-decoration-color: #58634f; text-underline-offset: 3px; }
.footer-links a:hover, .legal-bottom-links a:hover, .legal-home:hover { color: var(--acid); }
.ad-slot { width: 100%; min-height: 90px; margin: 8px 0 18px; overflow: hidden; }
.legal-page { padding: 32px 20px 60px; }
.legal-shell { width: min(760px, 100%); margin: 0 auto; padding: 32px clamp(20px, 5vw, 52px); border: 1px solid var(--line); border-radius: 8px; background: rgba(23,26,23,.88); }
.legal-home { display: inline-block; margin-bottom: 32px; color: #b7c1af; font-size: 12px; text-decoration: none; }
.legal-page .eyebrow { margin-bottom: 14px; }
.legal-page h1 { margin-bottom: 12px; font-size: clamp(30px, 6vw, 39px); }
.legal-page .legal-updated { margin-bottom: 25px; color: var(--quiet); font: 400 10px var(--mono); }
.legal-page .legal-shell > p:not(.eyebrow):not(.legal-updated) { color: #b5bdb1; font-size: 13px; line-height: 1.8; }
.legal-page h2 { margin: 29px 0 9px; color: #e4e9dd; font: 600 17px var(--display); }
.legal-page strong { color: #dce5d6; }
.legal-notice { margin-top: 28px; padding: 13px 15px; color: #d5b987 !important; font-size: 11px !important; border: 1px solid #494336; border-radius: 5px; background: #24231d; }
.legal-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; padding-top: 18px; font-size: 12px; border-top: 1px solid var(--line); }
.contact-card { margin-top: 24px; padding: 18px; border: 1px solid #3a4439; border-radius: 6px; background: #1b201b; }
.contact-card strong { color: var(--acid); font-size: 12px; }
.contact-card p { margin: 9px 0; color: #e2e5dc; font-size: 13px; }
.contact-card small { color: var(--muted); font-size: 11px; line-height: 1.6; }
[hidden] { display: none !important; }

@keyframes rise-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 50% { opacity: .45; transform: scale(.82); } }

@media (min-width: 1400px) { .main-content { width: min(1180px, calc(100% - 100px)); } }
@media (max-width: 820px) {
  .workspace { grid-template-columns: minmax(0,1fr) 285px; gap: 15px; }
  .main-content { width: calc(100% - 40px); }
  .settings-panel { padding-right: 15px; padding-left: 15px; }
  .file-row { grid-template-columns: 36px minmax(0,1fr) 78px 27px; gap: 8px; }
  .file-thumb { width: 35px; height: 35px; }
}
@media (max-width: 650px) {
  .topbar { height: 62px; padding: 0 18px; }
  .privacy-pill { font-size: 0; gap: 0; }
  .privacy-dot { width: 8px; height: 8px; }
  .topbar-right { gap: 14px; }
  .main-content { width: calc(100% - 32px); }
  .intro-row { min-height: 166px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 16px; padding: 25px 0 21px; }
  .eyebrow { margin-bottom: 10px; }
  h1 { font-size: 34px; }
  .intro-copy { font-size: 12px; }
  .engine-status { padding: 7px 10px; }
  .engine-label { font-size: 8px; }
  .workspace { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .drop-zone { min-height: 253px; }
  .settings-panel { min-height: 0; padding: 18px; }
  .panel-heading { margin-bottom: 19px; }
  .field-group { margin-bottom: 18px; }
  .panel-divider { margin-top: 13px; }
  .privacy-note { margin-bottom: 14px; }
  .convert-button { margin-top: 0; }
  .queue-section { padding-top: 22px; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; }
  .queue-actions { width: 100%; justify-content: space-between; gap: 10px; }
  .app-footer { min-height: 62px; font-size: 7px; }
  .footer-links { gap: 12px; font-size: 9px; }
  .legal-page { padding: 16px 12px 32px; }
  .legal-shell { padding: 22px 18px; }
  .legal-home { margin-bottom: 25px; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand-name { gap: 5px; font-size: 13px; }
  .brand-sub { font-size: 8px; }
  .drop-zone { padding-right: 12px; padding-left: 12px; }
  .drop-formats { gap: 5px; }
  .drop-formats > span:not(.format-spacer) { font-size: 7px; }
  .drop-formats b { padding: 4px; font-size: 7px; }
  .file-row { grid-template-columns: 32px minmax(0,1fr) 63px 26px; gap: 7px; padding: 8px; }
  .file-thumb { width: 31px; height: 31px; }
  .file-name { font-size: 10px; }
  .file-meta { font-size: 8px; }
  .file-status { font-size: 8px; }
  .app-footer { align-items: flex-start; justify-content: center; flex-direction: column; gap: 4px; padding: 12px 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

body { font-size: 15px; }
.brand-name { font-size: 16px; }
.privacy-pill, .engine-label, .eyebrow { font-size: 10px; }
.intro-copy { font-size: 15px; }
.drop-copy h2 { font-size: 19px; }
.drop-copy p { font-size: 14px; }
.drop-formats > span:not(.format-spacer), .drop-formats b { font-size: 10px; }
.queue-title h2 { font-size: 16px; }
.queue-count, .file-status { font-size: 11px; }
.text-button, .empty-queue, .convert-button { font-size: 12px; }
.file-name { font-size: 13px; }
.file-meta { flex-wrap: wrap; font-size: 10px; line-height: 1.4; }
.panel-kicker, .field-group > label, .label-row > label { font-size: 10px; }
.select-wrap select { font-size: 13px; }
.quality-value { font-size: 13px; }
.range-labels, .engine-footnote { font-size: 11px; }
.quality-note, .privacy-note p { font-size: 12px; }
.toggle-copy strong { font-size: 12px; }
.toggle-copy small { font-size: 11px; }
.app-footer { font-size: 10px; }
.footer-links { font-size: 12px; }
.info-dialog h2 { font-size: 22px; }
.info-dialog p { font-size: 14px; }
.info-dialog .dialog-warning { font-size: 12px; }
.dialog-done, .dialog-secondary { font-size: 13px; }
.legal-home { font-size: 14px; }
.legal-page .legal-updated { font-size: 11px; }
.legal-page .legal-shell > p:not(.eyebrow):not(.legal-updated) { font-size: 15px; }
.legal-page h2 { font-size: 19px; }
.legal-notice { font-size: 13px !important; }
.legal-bottom-links, .contact-card p { font-size: 14px; }
.contact-card strong { font-size: 14px; }
.contact-card small { font-size: 13px; }
.ad-slot { min-height: 100px; display: grid; place-items: center; border: 1px dashed #353d34; border-radius: 6px; background: rgba(23,26,23,.4); }
.ad-slot .adsbygoogle { width: 100%; }
.ad-placeholder { color: #788075; font: 400 11px var(--mono); letter-spacing: .4px; }

@media (max-width: 650px) {
  .brand-name { font-size: 14px; }
  .privacy-pill { font-size: 0; }
  .drop-formats { flex-wrap: wrap; justify-content: center; }
  .format-spacer { display: none; }
}
@media (max-width: 360px) {
  html, body { min-width: 0; }
}
