:root {
  color-scheme: light;
  --page: #f4f7fb;
  --catalog-page: #f6f8fc;
  --text: #172033;
  --heading: #111827;
  --muted: #697386;
  --soft: #7a8494;
  --panel: #fff;
  --panel-rgb: 255,255,255;
  --panel-soft: #f6f8fc;
  --field: #fff;
  --field-line: rgba(23,32,51,.12);
  --line: rgba(23,32,51,.1);
  --line-soft: rgba(23,32,51,.08);
  --shadow: rgba(21,32,55,.08);
  --shadow-strong: rgba(21,32,55,.14);
  --primary: #cb11ab;
  --primary-2: #7c3aed;
  --install-bg: radial-gradient(120% 120% at 50% -12%, #54204e 0%, #24162f 48%, #100f18 100%);
  --install-card: rgba(255,255,255,.06);
  --install-line: rgba(255,255,255,.13);
  --install-text: #fff;
  --install-muted: rgba(255,255,255,.62);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0f1219;
  --catalog-page: #10131b;
  --text: #eef3ff;
  --heading: #fff;
  --muted: #a7b0c2;
  --soft: #8f9aae;
  --panel: #171c26;
  --panel-rgb: 23,28,38;
  --panel-soft: #111722;
  --field: #101620;
  --field-line: rgba(230,236,248,.15);
  --line: rgba(230,236,248,.13);
  --line-soft: rgba(230,236,248,.09);
  --shadow: rgba(0,0,0,.32);
  --shadow-strong: rgba(0,0,0,.48);
  --primary: #f243c8;
  --primary-2: #9b6cff;
  --install-bg: radial-gradient(120% 120% at 50% -12%, #67245b 0%, #171b26 50%, #090b10 100%);
  --install-card: rgba(23,28,38,.72);
  --install-line: rgba(255,255,255,.14);
  --install-text: #f9fbff;
  --install-muted: rgba(240,245,255,.68);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f4f7fb;
}
a { color: inherit; }
.shell { width: min(100%, 1060px); margin: 0 auto; }
.catalog-body {
  background:
    linear-gradient(rgba(246,248,252,.86), rgba(246,248,252,.92)),
    url("/static/site-icon.jpg") right -120px top -130px / 520px 520px no-repeat,
    radial-gradient(60% 50% at 12% 0%, rgba(203,17,171,.18), transparent 62%),
    radial-gradient(55% 45% at 100% 12%, rgba(20,126,251,.14), transparent 58%),
    #f6f8fc;
}
.site-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 46px;
  padding: 10px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111827;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}
.logo img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 6px 16px rgba(21,32,55,.14); }
.site-head nav { display: flex; gap: 8px; }
.site-head nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #3b465a;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-head nav .catalog-cta {
  padding: 11px 17px;
  border: 0;
  color: #fff;
  background: linear-gradient(120deg, #cb11ab, #7c3aed);
  box-shadow: 0 14px 30px rgba(203,17,171,.28);
}
.catalog-cta span {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background:
    linear-gradient(#fff 0 0) left top / 6px 6px no-repeat,
    linear-gradient(#fff 0 0) right top / 6px 6px no-repeat,
    linear-gradient(#fff 0 0) left bottom / 6px 6px no-repeat,
    linear-gradient(#fff 0 0) right bottom / 6px 6px no-repeat;
  opacity: .96;
}
.site-head nav .catalog-cta:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(203,17,171,.34); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}
.hero-copy { max-width: 760px; }
.hero h1 {
  margin-bottom: 14px;
  color: #111827;
  font-size: clamp(38px, 7vw, 72px);
  line-height: .96;
  letter-spacing: 0;
}
.hero-icon {
  width: 210px;
  height: 210px;
  border-radius: 48px;
  object-fit: cover;
  box-shadow: 0 28px 70px rgba(21,32,55,.18);
}
.hero p {
  max-width: 680px;
  color: #5a6578;
  font-size: 18px;
  line-height: 1.55;
}
.rating {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 14px;
  border: 1px solid rgba(203,17,171,.15);
  border-radius: 999px;
  background: #fff;
  color: #cb11ab;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(21,32,55,.08);
}
.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.search-panel input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(23,32,51,.1);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 16px;
  box-shadow: 0 12px 34px rgba(21,32,55,.07);
}
.search-panel div {
  color: #697386;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 24px; }
h1 { font-size: 28px; line-height: 1.15; letter-spacing: 0; }
.top p, .meta, .hint, .row span { color: rgba(255,255,255,.62); }
.ghost {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,.07);
  color: #fff;
  text-decoration: none;
  font: inherit;
}
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 14px; }
.app-card, .row, .upload, .auth {
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(21,32,55,.08);
}
.app-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 116px;
  padding: 18px;
  color: #172033;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.app-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(21,32,55,.13); }
.app-card img, .empty-icon { width: 64px; height: 64px; border-radius: 16px; background: #eef2f7; box-shadow: 0 10px 20px rgba(21,32,55,.12); }
.app-card h2 { font-size: 17px; line-height: 1.25; margin-bottom: 4px; }
.app-card p { color: #7a8494; font-size: 13px; }
.app-card span {
  grid-column: 2;
  width: max-content;
  margin-top: -3px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(203,17,171,.1);
  color: #cb11ab;
  font-size: 12px;
  font-weight: 800;
}
.empty { padding: 20px; color: #697386; }
.hidden { display: none !important; }
.info {
  margin: 36px 0 18px;
  padding-top: 26px;
  border-top: 1px solid rgba(23,32,51,.1);
  color: #5a6578;
}
.info h2 { margin: 18px 0 8px; color: #172033; font-size: 22px; letter-spacing: 0; }
.info p { max-width: 760px; line-height: 1.65; }
.support-link {
  display: inline-flex;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #24a1de;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.install-body { display: flex; align-items: center; justify-content: center; color: #fff; background: radial-gradient(120% 120% at 50% -12%, #54204e 0%, #24162f 48%, #100f18 100%); }
.install-card {
  width: 100%;
  max-width: 390px;
  padding: 38px 28px 28px;
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  backdrop-filter: blur(12px);
}
.safari-warn { display: none; margin-bottom: 20px; padding: 16px; text-align: left; border-radius: 16px; border: 1px solid rgba(255,190,90,.5); background: linear-gradient(180deg, rgba(255,183,77,.18), rgba(255,140,77,.1)); }
.safari-warn.show { display: block; }
.sw-title { margin-bottom: 6px; color: #ffca7a; font-size: 15.5px; font-weight: 800; }
.sw-text { margin-bottom: 10px; color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.5; }
.warn-btn, .auth button, .upload button {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  color: #241300;
  background: #ffb04a;
  font: inherit;
  font-weight: 800;
}
.icon { width: 92px; height: 92px; margin: 0 auto 18px; display: block; border-radius: 22px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.install-card h1 { margin-bottom: 5px; font-size: 23px; font-weight: 800; }
.meta { margin-bottom: 10px; font-size: 13px; }
.badge { display: inline-flex; margin-bottom: 24px; padding: 6px 14px; color: #ffb9df; background: rgba(255,45,146,.14); border: 1px solid rgba(255,45,146,.34); border-radius: 999px; font-size: 12px; font-weight: 700; }
.app-desc {
  margin: 0 auto 14px;
  max-width: 310px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.55;
}
.temp-badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,176,74,.14);
  color: #ffd38a;
  font-size: 12px;
  font-weight: 800;
}
.install-btn { display: block; width: 100%; margin-bottom: 9px; padding: 16px; border: 0; border-radius: 15px; color: #fff; background: linear-gradient(120deg, #cb11ab, #7c3aed); box-shadow: 0 14px 34px rgba(203,17,171,.42); text-decoration: none; font: inherit; font-size: 17px; font-weight: 800; }
.hint { margin-bottom: 16px; font-size: 13px; line-height: 1.5; }
.net { margin-top: -6px; margin-bottom: 14px; color: rgba(255,214,142,.92); }
.support-pill {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin: 0 0 2px;
  padding: 13px;
  border-radius: 13px;
  background: #24a1de;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
hr { margin: 18px 0 16px; border: 0; border-top: 1px solid rgba(255,255,255,.1); }
.foot { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.45); font-size: 12px; }
.install-foot { align-items: center; }
.foot-catalog {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 13px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #cb11ab, #7c3aed);
  box-shadow: 0 10px 24px rgba(203,17,171,.32);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.foot-catalog i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background:
    linear-gradient(#fff 0 0) left top / 5px 5px no-repeat,
    linear-gradient(#fff 0 0) right top / 5px 5px no-repeat,
    linear-gradient(#fff 0 0) left bottom / 5px 5px no-repeat,
    linear-gradient(#fff 0 0) right bottom / 5px 5px no-repeat;
}
.foot-catalog:active { transform: scale(.98); }
.post { position: fixed; inset: 0; z-index: 10; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(9,8,16,.86); backdrop-filter: blur(6px); }
.post.show { display: flex; }
.post-inner { width: 100%; max-width: 360px; padding: 30px 24px 24px; text-align: center; border-radius: 24px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, #3a1740, #191121); box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.post-icon { margin-bottom: 12px; font-size: 46px; line-height: 1; }
.ok { width: 100%; margin-top: 8px; padding: 14px; border: 0; border-radius: 14px; color: #fff; background: rgba(255,255,255,.1); font: inherit; font-weight: 800; }
.auth { width: min(100%, 380px); margin: 12vh auto 0; padding: 24px; display: grid; gap: 12px; color: #fff; background: #18232e; }
.auth input { width: 100%; padding: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: #fff; }
.upload-panel, .admin-panel {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(21,32,55,.08);
}
.admin-panel h2 { margin-bottom: 12px; color: #172033; font-size: 19px; letter-spacing: 0; }
.upload { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.temp-form, .passkey-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px auto;
  gap: 10px;
  align-items: center;
}
.passkey-tools { grid-template-columns: minmax(0, 1fr) 190px auto; }
.temp-form select, .passkey-tools input, .passkey-tools select, .copy-line input, .edit-form input, .edit-form textarea, .note-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(23,32,51,.12);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font: inherit;
}
.note-form { display: grid; gap: 10px; }
.note-form textarea {
  min-height: 150px;
  padding: 12px 13px;
  line-height: 1.45;
  resize: vertical;
}
.note-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.edit-form textarea { min-height: 120px; padding-top: 12px; resize: vertical; }
.temp-form button, .passkey-tools button, .copy-line button, .edit-form button, .note-actions button {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(120deg, #cb11ab, #7c3aed);
  color: #fff;
  font: inherit;
  font-weight: 900;
}
.copy-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}
.link-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #f6f8fc;
  color: #172033;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.link-list span { color: #697386; font-size: 12px; font-weight: 700; }
.panel-note { margin-top: 10px; color: #697386; font-size: 13px; }
.edit-form { display: grid; gap: 14px; }
.edit-form label { display: grid; gap: 7px; color: #3b465a; font-size: 13px; font-weight: 800; }
.edit-icon { width: 92px; height: 92px; border-radius: 22px; object-fit: cover; box-shadow: 0 12px 30px rgba(21,32,55,.16); }
.form-error { padding: 12px; border-radius: 8px; background: #fef3f2; color: #b42318; font-size: 14px; font-weight: 800; }
.dropzone {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px dashed rgba(203,17,171,.38);
  border-radius: 8px;
  background: rgba(203,17,171,.05);
  color: #172033;
  cursor: pointer;
}
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop-title { font-size: 16px; font-weight: 900; }
.drop-sub { color: #697386; font-size: 13px; }
.upload button { width: auto; color: #fff; background: #cb11ab; }
.upload-status { margin-top: 14px; }
.upload-line { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #172033; font-size: 13px; font-weight: 800; }
.progress { height: 9px; overflow: hidden; border-radius: 999px; background: #edf1f7; }
.progress i { display: block; width: 0; height: 100%; background: linear-gradient(120deg, #cb11ab, #7c3aed); transition: width .16s ease; }
.upload-status.error .upload-line { color: #b42318; }
.upload-status.error .progress i { background: #f04438; }
.upload-status.success .upload-line { color: #067647; }
.upload-status.success .progress i { background: #12b76a; }
.list { display: grid; gap: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat-card {
  padding: 16px;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 16px 38px rgba(21,32,55,.08);
}
.stat-card div { margin-bottom: 10px; font-weight: 800; }
.stat-card strong { display: block; font-size: 28px; line-height: 1; color: #cb11ab; }
.stat-card span { display: block; margin: 4px 0 12px; color: #697386; font-size: 12px; }
.row { display: grid; grid-template-columns: 1fr auto auto auto auto; gap: 12px; align-items: center; padding: 14px; }
.row span { display: block; margin-top: 4px; font-size: 12px; }
.row a { color: #ffb9df; text-decoration: none; }
.danger { border: 0; border-radius: 8px; padding: 9px 12px; background: rgba(255,80,80,.18); color: #ffb4b4; }
.table-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(23,32,51,.08);
  border-radius: 8px;
  background: #fff;
  color: #172033;
  box-shadow: 0 16px 38px rgba(21,32,55,.08);
}
.table-card h2 { margin-bottom: 12px; font-size: 20px; letter-spacing: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 11px 10px; border-bottom: 1px solid rgba(23,32,51,.08); text-align: left; }
th { color: #697386; font-size: 12px; text-transform: uppercase; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(var(--panel-rgb),.76);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--shadow);
  cursor: pointer;
}
.theme-toggle i {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffcc66 0 50%, #2f3a58 50% 100%);
  box-shadow: inset -5px -3px 0 rgba(0,0,0,.14);
}
:root[data-theme="dark"] .theme-toggle i {
  background: radial-gradient(circle at 65% 35%, #10131b 0 33%, #e7ecff 35% 36%, #e7ecff 37% 100%);
  box-shadow: none;
}
.floating-theme { position: fixed; top: 18px; right: 18px; z-index: 20; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.privacy-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(var(--panel-rgb),.94);
  color: var(--text);
  box-shadow: 0 18px 50px var(--shadow-strong);
  backdrop-filter: blur(12px);
}
.privacy-banner strong {
  display: block;
  margin-bottom: 4px;
  color: var(--heading);
  font-size: 14px;
}
.privacy-banner p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}
.privacy-banner button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(120deg, #cb11ab, #7c3aed);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

body { color: var(--text); background: var(--page); }
.catalog-body {
  background:
    linear-gradient(rgba(var(--panel-rgb),.82), rgba(var(--panel-rgb),.88)),
    url("/static/site-icon.jpg") right -120px top -130px / 520px 520px no-repeat,
    radial-gradient(60% 50% at 12% 0%, rgba(203,17,171,.18), transparent 62%),
    radial-gradient(55% 45% at 100% 12%, rgba(20,126,251,.14), transparent 58%),
    var(--catalog-page);
}
.logo, .hero h1, .info h2, .admin-panel h2 { color: var(--heading); }
.hero p, .search-panel div, .empty, .info, .drop-sub, .panel-note, .link-list span, .stat-card span, th, .edit-form label { color: var(--muted); }
.app-card p { color: var(--soft); }
.site-head nav a {
  border-color: var(--line-soft);
  background: rgba(var(--panel-rgb),.72);
  color: var(--muted);
}
.search-panel input,
.temp-form select,
.passkey-tools input,
.passkey-tools select,
.copy-line input,
.edit-form input,
.edit-form textarea,
.note-form textarea,
.auth input {
  border-color: var(--field-line);
  background: var(--field);
  color: var(--text);
}
.rating,
.app-card,
.row,
.upload,
.auth,
.upload-panel,
.admin-panel,
.stat-card,
.table-card {
  border-color: var(--line-soft);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 16px 38px var(--shadow);
}
.app-card:hover { box-shadow: 0 20px 44px var(--shadow-strong); }
.app-card img, .empty-icon, .edit-icon { box-shadow: 0 10px 22px var(--shadow-strong); }
.empty-icon, .progress, .link-list a { background: var(--panel-soft); }
.link-list a { color: var(--text); }
.info, th, td { border-color: var(--line-soft); }
.search-panel input { box-shadow: 0 12px 34px var(--shadow); }
.top p, .row span { color: var(--muted); }
.ghost {
  border-color: var(--line-soft);
  background: rgba(var(--panel-rgb),.22);
  color: var(--text);
}
.install-body {
  color: var(--install-text);
  background: var(--install-bg);
}
.install-card {
  background: var(--install-card);
  border-color: var(--install-line);
}
.install-body .meta,
.install-body .hint,
.install-body .foot { color: var(--install-muted); }
.install-body .theme-toggle {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
}
:root[data-theme="light"] .install-card {
  background: rgba(255,255,255,.74);
  color: #172033;
  border-color: rgba(23,32,51,.1);
}
:root[data-theme="light"] .install-card .meta,
:root[data-theme="light"] .install-card .hint,
:root[data-theme="light"] .install-card .foot,
:root[data-theme="light"] .install-card .app-desc {
  color: #5a6578;
}
:root[data-theme="light"] .install-card hr { border-top-color: rgba(23,32,51,.1); }
:root[data-theme="light"] .install-card .foot-catalog { color: #fff; }

@media (max-width: 640px) {
  body { padding: 18px; }
  .site-head { margin-bottom: 28px; }
  .site-head nav a { padding: 9px 11px; font-size: 13px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero-icon { width: 132px; height: 132px; border-radius: 32px; }
  .search-panel { grid-template-columns: 1fr; }
  .top, .upload, .row, .temp-form, .passkey-tools, .copy-line, .top-actions { grid-template-columns: 1fr; display: grid; }
  .site-head { align-items: flex-start; }
  .site-head nav { flex-wrap: wrap; justify-content: flex-end; }
  .theme-toggle { min-height: 38px; padding: 0 11px; }
  .floating-theme { top: 12px; right: 12px; }
  .privacy-banner {
    grid-template-columns: 1fr;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
