:root {
  --ink: #12202f;
  --muted: #6e7885;
  --line: #dfe4e8;
  --soft-line: #edf0f2;
  --paper: #f7f8f7;
  --white: #ffffff;
  --signal: #ff5c35;
  --signal-dark: #dc3c1b;
  --teal: #0b756d;
  --deep: #071821;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono-ui: "Courier New", monospace;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.app-shell { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

.topbar {
  height: 82px;
  padding: 0 clamp(22px, 4vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(18, 32, 47, .1);
  background: rgba(247, 248, 247, .88);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: -1.6px;
}

.brand sup {
  color: var(--signal);
  font: 600 8px/1 var(--font-mono-ui);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: -13px 0 0 -6px;
}

.brand-mark {
  width: 29px;
  height: 29px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark::after {
  content: "";
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: var(--signal);
  position: absolute;
  right: -7px;
  bottom: 0;
  transform: rotate(44deg);
}

.brand-mark span { width: 7px; height: 7px; background: var(--signal); border-radius: 50%; }

.topbar-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #65717d;
  font: 500 11px/1 var(--font-mono-ui);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fae79; box-shadow: 0 0 0 4px rgba(47, 174, 121, .12); }
.divider { width: 1px; height: 13px; background: #cbd1d6; margin: 0 5px; }

.topbar-actions { display: flex; align-items: center; gap: 22px; }
.language-switch {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 10px;
  border: 1px solid #d4d9dd;
  border-radius: 6px;
  background: rgba(255,255,255,.7);
  color: #53616c;
}
.language-icon { color: var(--teal); font: 650 11px/1 var(--font-mono-ui); }
.language-switch select { border: 0; outline: 0; color: inherit; background: transparent; font: 600 10px/1 var(--font-mono-ui); cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero {
  flex: 1;
  min-height: 670px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 72px 22px 84px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  width: min(900px, 90vw);
  height: 520px;
  background: radial-gradient(ellipse, rgba(255, 92, 53, .09), transparent 67%);
  top: 37%; left: 50%; transform: translate(-50%, -50%);
  z-index: -2;
}

.depth-field { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; opacity: .75; }
.depth-field::before, .depth-field::after, .depth-field i {
  content: ""; position: absolute; border: 1px solid rgba(18, 32, 47, .075); border-radius: 50%; left: 50%; top: 46%; transform: translate(-50%, -50%);
}
.depth-field::before { width: 980px; height: 420px; }
.depth-field::after { width: 720px; height: 310px; }
.depth-field i:nth-child(1) { width: 470px; height: 205px; }
.depth-field i:nth-child(2) { width: 1240px; height: 540px; border-style: dashed; }
.depth-field i:nth-child(3) { width: 1480px; height: 650px; }
.depth-field i:nth-child(4) { width: 9px; height: 9px; background: var(--signal); border: none; margin: -103px 0 0 354px; box-shadow: 0 0 0 7px rgba(255,92,53,.1); }
.depth-field i:nth-child(5) { width: 5px; height: 5px; background: var(--teal); border: none; margin: 154px 0 0 -300px; }

.hero-content { width: min(870px, 100%); text-align: center; }
.eyebrow {
  color: var(--teal);
  font: 650 10px/1.4 var(--font-mono-ui);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.eyebrow span { display: inline-block; width: 19px; height: 1px; background: var(--teal); vertical-align: middle; margin: 0 7px 3px 0; }

.hero h1 {
  font-size: clamp(49px, 7vw, 82px);
  line-height: .98;
  letter-spacing: clamp(-4.8px, -.06em, -2px);
  font-weight: 650;
  margin: 0;
}
.hero h1 em { color: var(--signal); font-style: normal; }
.hero-copy { max-width: 690px; margin: 27px auto 34px; color: #65717d; font-size: 17px; line-height: 1.65; }

.search-box {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 7px;
  border: 1px solid #cfd5da;
  border-radius: 10px;
  background: white;
  box-shadow: 0 18px 55px rgba(17, 31, 45, .12), 0 2px 8px rgba(17, 31, 45, .05);
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within { border-color: #8c979f; box-shadow: 0 20px 60px rgba(17, 31, 45, .16), 0 0 0 3px rgba(255,92,53,.08); }
.search-glyph { width: 21px; height: 21px; border: 2px solid #52616d; border-radius: 50%; margin: 0 18px 0 17px; flex: 0 0 auto; position: relative; }
.search-glyph::after { content: ""; width: 8px; height: 2px; background: #52616d; position: absolute; right: -6px; bottom: -3px; transform: rotate(46deg); }
.search-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; color: var(--ink); font-size: 18px; background: transparent; }
.search-box input::placeholder { color: #9aa2a9; }
.search-button {
  height: 54px;
  min-width: 112px;
  border: 0;
  border-radius: 7px;
  background: var(--signal);
  color: white;
  font-weight: 680;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.search-button:hover:not(:disabled) { background: var(--signal-dark); transform: translateY(-1px); }
.search-button:disabled { opacity: .58; cursor: not-allowed; }
.clear-button { border: 0; background: none; color: #7c8790; font-size: 25px; width: 42px; height: 42px; cursor: pointer; }
.spinner { display: inline-block; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.mode-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hero .mode-tabs { justify-content: center; margin-top: 18px; }
.mode-tabs::-webkit-scrollbar { display: none; }
.mode-tabs button { border: 0; background: transparent; color: #78838c; font-size: 12px; font-weight: 590; padding: 9px 12px; cursor: pointer; white-space: nowrap; border-radius: 5px; }
.mode-tabs button:hover { color: var(--ink); background: rgba(18,32,47,.04); }
.mode-tabs button.active { color: var(--signal-dark); background: rgba(255,92,53,.09); }

.source-spectrum { margin: 43px auto 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; color: #879099; font: 570 9px/1 var(--font-mono-ui); letter-spacing: 1.4px; }
.source-spectrum b { width: 3px; height: 3px; background: #bdc4c9; border-radius: 50%; }

.search-header { padding: 24px clamp(22px, 4vw, 70px) 0; background: white; border-bottom: 1px solid var(--line); }
.search-header .search-box { width: min(840px, 100%); height: 58px; box-shadow: 0 7px 22px rgba(17,31,45,.07); }
.search-header .search-button { height: 44px; min-width: 94px; }
.search-header .search-glyph { margin-left: 12px; }
.search-header .mode-tabs { margin-top: 14px; }

.results-layout { display: grid; grid-template-columns: 255px minmax(0, 850px); gap: 52px; width: min(1210px, calc(100% - 44px)); margin: 0 auto; padding: 42px 0 90px; flex: 1; }
.source-rail { border-right: 1px solid var(--line); padding-right: 31px; }
.source-rail h2 { margin: -11px 0 21px; font-size: 18px; letter-spacing: -.35px; }
.source-list { display: grid; gap: 3px; }
.source-row { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 8px; min-height: 35px; font-size: 12px; color: #586570; }
.source-row small { color: #969ea5; font: 500 9px/1 var(--font-mono-ui); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #c5cbd0; }
.status-dot.ok, .status-dot.ready { background: #29a776; box-shadow: 0 0 0 3px rgba(41,167,118,.09); }
.status-dot.error, .status-dot.timeout { background: #e59c3b; }
.privacy-card { margin-top: 30px; padding: 17px; display: flex; gap: 11px; background: #edf5f2; border: 1px solid #dcebe6; border-radius: 8px; }
.privacy-icon { color: var(--teal); font-size: 9px; margin-top: 4px; }
.privacy-card strong { font-size: 11px; }
.privacy-card p { margin: 5px 0 0; font-size: 10px; line-height: 1.45; color: #697873; }

.results-panel { min-width: 0; }
.results-summary { display: flex; justify-content: space-between; gap: 30px; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 5px; }
.results-summary .eyebrow { margin-bottom: 8px; }
.results-summary h1 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: -.9px; overflow-wrap: anywhere; }
.results-summary > p { margin: 0; color: #889198; font: 500 10px/1 var(--font-mono-ui); white-space: nowrap; }
.result-list { display: grid; }
.result-card { padding: 24px 0; border-bottom: 1px solid var(--soft-line); display: flex; gap: 20px; min-width: 0; }
.result-thumb { width: 145px; height: 104px; flex: 0 0 auto; border: 0; padding: 0; border-radius: 6px; overflow: hidden; background: #e8ebed; position: relative; cursor: pointer; }
.result-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-badge { position: absolute; left: 9px; bottom: 9px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: white; background: rgba(7,24,33,.78); font-size: 9px; padding-left: 2px; }
.result-body { min-width: 0; flex: 1; }
.result-source { display: flex; align-items: center; gap: 8px; min-width: 0; color: #717d86; font-size: 10px; margin-bottom: 8px; }
.result-domain { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #9ba2a8; }
.network-badge { font: 650 8px/1 var(--font-mono-ui); letter-spacing: .8px; text-transform: uppercase; color: var(--teal); border: 1px solid #b9d8d2; background: #f1f8f6; padding: 4px 6px; border-radius: 3px; }
.network-badge.tor, .network-badge.i2p { color: #6b4694; border-color: #d9c8e9; background: #f7f2fb; }
.network-badge.usenet { color: #9b6518; border-color: #e9d4b2; background: #fcf7ed; }
.result-title { color: #17354c; font-size: 18px; line-height: 1.3; font-weight: 650; letter-spacing: -.3px; text-decoration: none; }
.result-title:hover { color: var(--signal-dark); }
.result-title span { color: #a4abb0; font-size: 11px; margin-left: 7px; }
.result-title-button { display: inline; max-width: 100%; padding: 0; border: 0; background: transparent; text-align: left; font-family: inherit; cursor: pointer; }
.result-card p { color: #69757f; font-size: 13px; line-height: 1.55; margin: 8px 0 0; }
.result-card time { display: block; color: #a0a7ad; font: 500 9px/1 var(--font-mono-ui); margin-top: 10px; }
.result-actions { display: flex; align-items: center; gap: 9px; margin-top: 13px; }
.preview-button { min-height: 36px; padding: 0 12px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cbd4d9; border-radius: 6px; background: white; color: #42535f; font-size: 11px; font-weight: 650; cursor: pointer; }
.preview-button:hover { border-color: var(--signal); color: var(--signal-dark); background: #fff8f5; }
.preview-button span { color: var(--signal); font-size: 15px; }

.image-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; padding-top: 18px; }
.image-results .result-card { display: block; padding: 0 0 19px; }
.image-results .result-thumb { display: block; width: 100%; height: 180px; margin-bottom: 12px; }
.image-results .result-card p, .image-results .result-domain, .image-results time { display: none; }
.image-results .result-title { font-size: 13px; display: block; }
.image-results .result-source { flex-wrap: wrap; }
.image-results .result-actions { margin-top: 10px; }

.preview-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(5, 18, 26, .72); backdrop-filter: blur(8px); }
.preview-dialog { width: min(1040px, 100%); max-height: min(860px, calc(100svh - 48px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: #f8f9f8; box-shadow: 0 35px 90px rgba(0,0,0,.35); }
.preview-header { min-height: 76px; padding: 16px 18px 15px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.preview-header > div { min-width: 0; }
.preview-header span { display: block; margin-bottom: 5px; color: var(--teal); font: 650 9px/1 var(--font-mono-ui); letter-spacing: 1px; text-transform: uppercase; }
.preview-header h2 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; letter-spacing: -.25px; }
.preview-close { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid #d6dcdf; border-radius: 50%; background: white; color: #53616c; font-size: 25px; line-height: 1; cursor: pointer; }
.preview-close:hover { color: var(--signal-dark); border-color: var(--signal); }
.preview-stage { min-height: 300px; display: grid; place-items: center; overflow: auto; background: #0a1820; }
.preview-stage img { display: block; max-width: 100%; max-height: calc(100svh - 210px); object-fit: contain; }
.preview-stage video { width: 100%; max-height: calc(100svh - 210px); background: #000; }
.preview-stage audio { width: min(680px, calc(100% - 44px)); }
.preview-stage iframe { width: 100%; height: min(680px, calc(100svh - 210px)); border: 0; background: white; }
.preview-stage.is-audio { background: radial-gradient(circle at 50% 30%, #17424a, #071821 62%); }
.preview-stage.is-unavailable { background: #f2f4f3; }
.preview-stage.is-local, .preview-stage.is-network { background: radial-gradient(circle at 50% 18%, #173c43, #071821 64%); }
.local-player-panel { width: min(590px, calc(100% - 40px)); margin: 34px auto; padding: 30px; border: 1px solid rgba(255,255,255,.15); border-radius: 11px; background: rgba(255,255,255,.96); color: var(--ink); text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.2); }
.local-player-mark { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,92,53,.12); color: var(--signal); font-size: 19px; padding-left: 3px; }
.local-player-panel > strong { display: block; font-size: 20px; }
.local-player-panel > p { margin: 9px auto 20px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.local-player-panel label { display: grid; gap: 7px; text-align: left; color: #53616c; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; }
.local-player-panel input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cbd4d9; border-radius: 7px; background: white; color: var(--ink); font-size: 14px; text-transform: none; letter-spacing: normal; }
.local-player-panel > button { width: 100%; min-height: 48px; margin-top: 11px; border: 0; border-radius: 7px; background: var(--signal); color: white; font-weight: 700; cursor: pointer; }
.local-player-panel > button:disabled { opacity: .55; cursor: not-allowed; }
.local-player-status { margin-top: 14px; display: grid; gap: 7px; color: #62707a; font-size: 11px; }
.local-player-status progress { width: 100%; height: 6px; accent-color: var(--signal); }
.local-player-links { margin-top: 15px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 9px 16px; }
.local-player-links a { color: var(--teal); font-size: 11px; font-weight: 680; }
.local-player-panel small { display: block; margin-top: 16px; color: #8a5d31; font-size: 10px; line-height: 1.45; }
.network-launcher-panel .local-player-mark { background: rgba(107,70,148,.12); color: #6b4694; padding-left: 0; }
.network-launcher-panel .local-player-status { padding: 10px; border-radius: 6px; background: #f2f5f5; }
.preview-unavailable { width: min(550px, calc(100% - 40px)); padding: 56px 20px; text-align: center; }
.preview-unavailable > span { width: 55px; height: 55px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid #cbd4d7; border-radius: 50%; color: var(--signal); font-size: 29px; }
.preview-unavailable strong { display: block; font-size: 18px; }
.preview-unavailable p { margin: 10px auto 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.preview-footer { min-height: 62px; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); }
.preview-footer p { margin: 0; color: #758089; font-size: 11px; line-height: 1.4; }
.preview-footer a { min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; border-radius: 6px; background: var(--signal); color: white; font-size: 11px; font-weight: 680; text-decoration: none; }

.search-progress, .empty-card, .error-card { padding: 66px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.search-progress h2 { font-size: 20px; margin: 25px 0 8px; }
.search-progress p, .empty-card p, .error-card p { color: var(--muted); font-size: 13px; margin: 7px 0; }
.progress-line { width: min(360px, 80%); height: 2px; background: #e4e8ea; margin: auto; overflow: hidden; }
.progress-line::after { content: ""; display: block; height: 100%; width: 38%; background: var(--signal); animation: progress 1.2s ease-in-out infinite; }
@keyframes progress { from { transform: translateX(-110%); } to { transform: translateX(300%); } }
.error-card { background: #fff6f2; color: #9c321c; }

footer { min-height: 62px; padding: 18px clamp(22px, 4vw, 70px); border-top: 1px solid var(--line); display: flex; align-items: center; gap: 25px; justify-content: space-between; color: #8a939a; font: 500 9px/1.4 var(--font-mono-ui); text-transform: uppercase; letter-spacing: .7px; }
footer nav { display: flex; gap: 19px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

.policy-page { width: min(790px, calc(100% - 44px)); margin: 0 auto; padding: 65px 0 100px; }
.policy-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 80px; }
.policy-brand { display: inline-block; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.6px; }
.policy-page > h1 { margin: 0 0 25px; font-size: clamp(42px, 7vw, 67px); line-height: 1.02; letter-spacing: -.055em; }
.policy-lead { color: #53616c; font-size: 19px; line-height: 1.65; margin: 0 0 55px; }
.policy-page section { border-top: 1px solid var(--line); padding: 28px 0 18px; display: grid; grid-template-columns: 190px 1fr; gap: 30px; }
.policy-page section h2 { margin: 0; font-size: 15px; }
.policy-page section p { margin: 0; color: #65717b; font-size: 14px; line-height: 1.65; }
.policy-notice { margin-top: 35px; padding: 18px 20px; background: #fff5ef; border: 1px solid #f1d9cc; color: #87432d; font-size: 12px; line-height: 1.55; border-radius: 7px; }
.policy-attribution { display: inline-block; margin-top: 25px; color: #8a939a; font: 500 9px/1.4 var(--font-mono-ui); text-transform: uppercase; letter-spacing: .7px; text-decoration: none; }

@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; gap: 28px; }
  .source-rail { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 25px; }
  .source-list { grid-template-columns: repeat(2, 1fr); column-gap: 25px; }
  .privacy-card { display: none; }
}

@media (max-width: 650px) {
  .topbar { min-height: 64px; height: auto; padding: 10px 14px; }
  .brand { gap: 8px; font-size: 23px; letter-spacing: -1.2px; }
  .brand-mark { width: 25px; height: 25px; border-width: 2px; }
  .topbar-note { display: none; }
  .topbar-actions { gap: 11px; }
  .language-switch { min-height: 44px; padding-left: 9px; }
  .language-switch select { width: 86px; min-height: 40px; }
  .hero { min-height: calc(100svh - 64px); padding: 44px 14px 58px; place-items: start center; }
  .hero h1 { font-size: clamp(40px, 13vw, 52px); }
  .hero-copy { margin: 22px auto 27px; font-size: 14px; line-height: 1.55; }
  .search-box { height: 61px; }
  .search-box input { font-size: 15px; }
  .search-glyph { margin: 0 13px 0 10px; width: 18px; height: 18px; }
  .search-button { min-width: 78px; height: 47px; font-size: 13px; }
  .clear-button { display: none; }
  .mode-tabs button { min-height: 44px; padding: 10px 12px; }
  .hero .mode-tabs { justify-content: flex-start; margin-left: -2px; margin-right: -2px; }
  .source-spectrum { gap: 8px; }
  .source-spectrum b { display: none; }
  .search-header { padding: 14px 14px 0; }
  .search-header .mode-tabs { margin-left: -4px; margin-right: -4px; }
  .results-layout { width: calc(100% - 28px); padding: 25px 0 64px; gap: 24px; }
  .source-rail h2 { margin-bottom: 13px; }
  .results-summary { display: block; }
  .results-summary > p { margin-top: 10px; }
  .result-thumb { width: 104px; height: 82px; }
  .result-title { font-size: 16px; }
  .result-card p { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .image-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-results .result-thumb { height: 145px; }
  .preview-overlay { align-items: end; padding: 0; }
  .preview-dialog { width: 100%; max-height: 92svh; border-radius: 14px 14px 0 0; border-bottom: 0; }
  .preview-header { min-height: 66px; padding: 11px 12px 10px 16px; }
  .preview-header h2 { font-size: 15px; }
  .preview-stage { min-height: 250px; }
  .preview-stage img, .preview-stage video { max-height: calc(92svh - 190px); }
  .preview-stage iframe { height: calc(92svh - 190px); min-height: 360px; }
  .preview-footer { align-items: stretch; flex-direction: column; gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
  .preview-footer a { justify-content: center; min-height: 44px; }
  .local-player-panel { width: calc(100% - 24px); margin: 12px auto; padding: 22px 16px; }
  .local-player-panel > strong { font-size: 18px; }
  .local-player-panel input, .local-player-panel > button { min-height: 48px; }
  footer { align-items: flex-start; flex-direction: column; gap: 10px; padding: 20px 14px calc(20px + env(safe-area-inset-bottom)); }
  footer nav { flex-wrap: wrap; gap: 14px 18px; }
  .policy-page { padding-top: 35px; }
  .policy-topline { margin-bottom: 55px; }
  .policy-page section { grid-template-columns: 1fr; gap: 9px; }
}

@media (max-width: 430px) {
  .search-glyph { display: none; }
  .search-box { padding-left: 7px; }
  .search-box input { padding: 0 8px; }
  .source-list { grid-template-columns: 1fr; }
  .result-card { display: grid; gap: 13px; }
  .result-card.has-media .result-thumb { width: 100%; height: 190px; }
  .result-title { font-size: 16px; }
  .preview-button { min-height: 44px; }
  .image-results { grid-template-columns: 1fr; }
  .image-results .result-thumb { height: 220px; }
}

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