/* =========================================================
   浮光 · 抖音下载
   A quiet, dark interface for keeping fleeting moments.
   ========================================================= */

:root {
  --bg: #07080b;
  --bg-soft: #0b0d12;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.11);
  --panel: rgba(15, 17, 23, 0.86);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3efe7;
  --text-soft: #d8d3ca;
  --muted: #a0a2ab;
  --dim: #71747e;
  --coral: #ff7163;
  --coral-deep: #f0544b;
  --amber: #ffb45f;
  --gold: #ffe0a3;
  --teal: #58d6c7;
  --violet: #a78bfa;
  --danger: #ff7b7b;
  --gradient: linear-gradient(135deg, #ff7a66 0%, #ffb45f 52%, #ffe0a3 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255, 122, 102, 0.18), rgba(255, 180, 95, 0.08));
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --radius: 22px;
  --radius-lg: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(255, 180, 95, 0.28);
  color: #fff;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid rgba(255, 180, 95, 0.75);
  outline-offset: 3px;
}

.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;
}

/* ---------- ambient background ---------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(255, 140, 90, 0.08), transparent 55%),
    linear-gradient(180deg, #08090d 0%, #07080b 45%, #060709 100%);
}

.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: drift 18s var(--ease) infinite alternate;
}

.orb-a {
  width: 44vw;
  height: 44vw;
  min-width: 320px;
  min-height: 320px;
  top: -18vw;
  right: -10vw;
  background: radial-gradient(circle, rgba(255, 116, 92, 0.32), transparent 68%);
}

.orb-b {
  width: 36vw;
  height: 36vw;
  min-width: 260px;
  min-height: 260px;
  top: 38vh;
  left: -16vw;
  background: radial-gradient(circle, rgba(88, 214, 199, 0.13), transparent 68%);
  animation-delay: -6s;
}

.orb-c {
  width: 30vw;
  height: 30vw;
  min-width: 220px;
  min-height: 220px;
  right: 12vw;
  bottom: -14vw;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12), transparent 68%);
  animation-delay: -11s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-4%, 5%, 0) scale(1.12); }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  transition: padding 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -100vw;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 8, 11, 0.9), rgba(7, 8, 11, 0.45) 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  color: #1a1008;
  background: var(--gradient);
  box-shadow: 0 8px 26px -10px rgba(255, 145, 90, 0.8);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.status-pill:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.status-pill:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 180, 120, 0.14);
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dim);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
  transition: background 0.3s, box-shadow 0.3s;
}

.status-pill.is-ok i {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(88, 214, 199, 0.12), 0 0 12px rgba(88, 214, 199, 0.55);
}

.status-pill.is-warn i {
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(255, 180, 95, 0.12);
}

.status-pill.is-error i {
  background: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 123, 123, 0.12);
}

.ghost-button,
.icon-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.ghost-button {
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
}

.ghost-button svg {
  width: 15px;
  height: 15px;
}

.ghost-button:hover,
.icon-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.07);
}

.ghost-button.compact {
  height: 32px;
  padding: 0 11px;
  font-size: 12px;
}

.icon-button {
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 10px;
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.text-button {
  gap: 6px;
  padding: 4px 2px;
  color: var(--dim);
  font-size: 12.5px;
}

.text-button svg {
  width: 15px;
  height: 15px;
}

.text-button:hover {
  color: var(--text-soft);
}

.text-button.danger:hover {
  color: var(--danger);
}

.history-count {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
}

/* ---------- layout ---------- */

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.eyebrow > span {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), transparent);
}

.eyebrow.small {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
}

/* ---------- hero ---------- */

.hero {
  padding: clamp(64px, 10vw, 112px) 0 42px;
  text-align: center;
}

.hero .eyebrow {
  justify-content: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7.2vw, 82px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero h1 em {
  display: inline-block;
  padding-right: 0.08em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
  text-shadow: 0 0 60px rgba(255, 160, 100, 0.14);
}

.hero-copy {
  margin: 24px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.9;
  letter-spacing: 0.01em;
}

/* ---------- composer ---------- */

.composer {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.022)),
    rgba(10, 11, 15, 0.55);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.composer::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 145, 100, 0.22), transparent 34%, transparent 65%, rgba(88, 214, 199, 0.14));
  opacity: 0.75;
}

.composer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.composer-head label {
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.char-count {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.char-count b {
  color: var(--muted);
  font-weight: 500;
}

.input-wrap {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.input-wrap:focus-within {
  border-color: rgba(255, 170, 110, 0.36);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 150, 95, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.input-glow {
  position: absolute;
  right: 14%;
  bottom: -1px;
  left: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 95, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.input-wrap:focus-within .input-glow {
  opacity: 1;
}

#link-input {
  display: block;
  width: 100%;
  min-height: 128px;
  max-height: 300px;
  padding: 16px 18px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.01em;
}

#link-input::placeholder {
  color: #5e616b;
}

.composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
}

.secondary-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 148px;
  height: 46px;
  padding: 0 22px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--gradient);
  color: #1c1007;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px -16px rgba(255, 140, 80, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, filter 0.25s;
}

.primary-button::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}

.primary-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 42px -16px rgba(255, 140, 80, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.primary-button:hover::after {
  left: 120%;
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.primary-button:hover svg {
  transform: translateX(3px);
}

.primary-button:disabled {
  cursor: wait;
  filter: saturate(0.75);
  opacity: 0.8;
}

.primary-button.full {
  width: 100%;
  margin-top: 4px;
}

.button-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(28, 16, 7, 0.25);
  border-top-color: #1c1007;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.primary-button.is-loading .button-label,
.primary-button.is-loading > svg {
  display: none;
}

.primary-button.is-loading .button-spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.composer-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--dim);
  font-size: 11px;
}

.composer-foot kbd {
  display: inline-block;
  min-width: 20px;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-bottom-color: var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--dim);
}

/* ---------- feature row ---------- */

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 26px 0 0;
  padding: 18px 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.feature-row article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 2px 20px;
}

.feature-row article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.055);
}

.feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.feature-icon svg {
  width: 18px;
  height: 18px;
}

.feature-icon.coral { color: var(--coral); }
.feature-icon.teal { color: var(--teal); }
.feature-icon.amber { color: var(--amber); }

.feature-row strong {
  display: block;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 550;
  letter-spacing: 0.02em;
}

.feature-row small {
  display: block;
  margin-top: 1px;
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

/* ---------- notice ---------- */

.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 123, 123, 0.2);
  border-radius: 13px;
  background: rgba(255, 95, 95, 0.06);
  color: #f3b4ae;
  font-size: 12.5px;
  line-height: 1.7;
}

.notice::before {
  content: "!";
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(255, 123, 123, 0.18);
  color: #ffb1a9;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

/* ---------- results ---------- */

.results-section {
  padding: 64px 0 30px;
  scroll-margin-top: 88px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.section-head h2 b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 6px;
  padding: 0 7px;
  vertical-align: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* ---------- result card ---------- */

.result-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  box-shadow: 0 24px 60px -40px rgba(0, 0, 0, 0.9);
  animation: card-in 0.55s var(--ease) both;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.result-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 32px 70px -42px rgba(0, 0, 0, 0.95);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.055), transparent 60%),
    #050609;
}

.media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--dim);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.media-placeholder span {
  position: relative;
  z-index: 1;
}

.result-media video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.result-media > img.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.type-badge,
.duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(8, 9, 12, 0.66);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.type-badge {
  border-color: rgba(255, 180, 95, 0.24);
  background: rgba(28, 17, 9, 0.72);
  color: var(--gold);
}

.duration-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.live-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 21px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(8, 9, 12, 0.72);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}

.live-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 8px var(--coral);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  width: 100%;
  height: 100%;
  background: #050609;
}

.media-grid[data-count="1"] {
  grid-template-columns: 1fr;
}

.media-grid[data-count="3"] .media-cell:first-child {
  grid-row: span 2;
}

.media-cell {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #08090c;
  cursor: zoom-in;
}

.media-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), opacity 0.3s;
}

.media-cell:hover img {
  transform: scale(1.035);
}

.media-cell .more-count {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 7, 9, 0.62);
  color: #fff;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(3px);
}

.media-cell.is-broken {
  cursor: default;
}

.media-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
}

.result-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 18px 19px 19px;
}

.author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.avatar {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  object-fit: cover;
}

.avatar-fallback {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--gradient-soft);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
}

.author-meta {
  min-width: 0;
  line-height: 1.35;
}

.author-meta strong {
  display: block;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12.5px;
  font-weight: 560;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-meta span {
  display: block;
  overflow: hidden;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  margin-left: auto;
  flex-shrink: 0;
}

.result-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.7;
  letter-spacing: 0.005em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-break: break-word;
}

.result-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -4px;
}

.result-tags span {
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.result-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.01em;
}

.result-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.result-stats b {
  color: var(--muted);
  font-weight: 500;
}

.result-stats svg {
  width: 12px;
  height: 12px;
  opacity: 0.75;
}

/* quality selector */

.quality-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.quality-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.quality-head b {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
}

.quality-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.quality-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.01em;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.quality-chip:hover {
  border-color: var(--line-strong);
  color: var(--text-soft);
}

.quality-chip.is-active {
  border-color: rgba(255, 180, 95, 0.42);
  background: rgba(255, 160, 90, 0.1);
  color: var(--gold);
}

.quality-chip small {
  color: var(--dim);
  font-size: 8.5px;
}

/* actions */

.result-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 2px;
}

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 15px;
  border-radius: 11px;
  background: var(--gradient);
  color: #1b0f07;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.015em;
  box-shadow: 0 10px 24px -14px rgba(255, 145, 90, 0.8);
  transition: transform 0.2s var(--ease), filter 0.2s, box-shadow 0.2s;
}

.download-button svg {
  width: 14px;
  height: 14px;
}

.download-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px -14px rgba(255, 145, 90, 0.9);
}

.asset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 11.5px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.asset-button svg {
  width: 13px;
  height: 13px;
}

.asset-button:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.asset-button.is-image-download {
  padding: 0 9px;
}

.asset-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.asset-proxy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 38px;
  border: 1px dashed var(--line);
  border-radius: 9px;
  color: var(--dim);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.asset-proxy svg {
  width: 12px;
  height: 12px;
}

.asset-proxy:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.asset-button.proxy-download {
  color: var(--text-soft);
  border-style: dashed;
}

.result-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.02em;
}

/* ---------- skeleton ---------- */

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.skeleton-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.skeleton-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.03) 20%, rgba(255, 255, 255, 0.075) 40%, rgba(255, 255, 255, 0.03) 60%);
  background-size: 220% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.skeleton-lines i {
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
}

.skeleton-lines i:nth-child(2) { width: 72%; }
.skeleton-lines i:nth-child(3) { width: 46%; }

@keyframes shimmer {
  from { background-position: 120% 0; }
  to { background-position: -100% 0; }
}

/* ---------- empty state ---------- */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 50px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.075);
  border-radius: var(--radius);
  text-align: center;
}

.empty-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 98px;
  height: 98px;
  margin-bottom: 20px;
  color: rgba(255, 190, 130, 0.55);
}

.empty-art svg {
  width: 52px;
  height: 52px;
}

.empty-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 180, 120, 0.11);
  border-radius: 50%;
}

.empty-ring::before,
.empty-ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 180, 120, 0.07);
  border-radius: 50%;
}

.empty-ring::before { inset: 10px; }
.empty-ring::after { inset: 20px; }

.empty-state h3 {
  margin: 0 0 6px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 520;
  letter-spacing: 0.02em;
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--dim);
  font-size: 12px;
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 48px));
  margin: 54px auto 0;
  padding: 26px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.brand-mini {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--dim);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ---------- modal / auth ---------- */

.modal,
.drawer,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.modal {
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop,
.drawer-backdrop,
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.auth-card {
  position: relative;
  width: min(408px, 100%);
  padding: 30px 28px 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background:
    radial-gradient(120% 100% at 50% -20%, rgba(255, 150, 95, 0.12), transparent 60%),
    rgba(14, 16, 21, 0.95);
  box-shadow: 0 44px 100px -24px rgba(0, 0, 0, 0.95);
  animation: modal-in 0.45s var(--ease) both;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 15%;
  left: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 190, 130, 0.55), transparent);
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 180, 120, 0.2);
  border-radius: 15px;
  background: var(--gradient-soft);
  color: var(--amber);
}

.auth-mark svg {
  width: 26px;
  height: 26px;
}

.auth-card .eyebrow {
  margin-bottom: 9px;
}

.auth-card h2 {
  margin: 0;
  font-size: 23px;
  font-weight: 560;
  letter-spacing: -0.02em;
}

.auth-copy {
  margin: 8px 0 22px;
  color: var(--muted);
  font-size: 12.5px;
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.password-wrap:focus-within {
  border-color: rgba(255, 180, 120, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 160, 95, 0.06);
}

.password-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 46px 0 14px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13.5px;
  letter-spacing: 0.08em;
}

.password-wrap input::placeholder {
  color: var(--dim);
  letter-spacing: 0.04em;
}

.password-wrap .icon-button {
  position: absolute;
  top: 6px;
  right: 6px;
}

.auth-error {
  margin: 9px 0 0;
  color: #ff9e96;
  font-size: 11.5px;
}

.auth-foot {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 10px;
  text-align: center;
}

.auth-card.shake {
  animation: shake 0.38s ease;
}

@keyframes shake {
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.cookie-card {
  width: min(560px, 100%);
  max-height: min(88vh, 780px);
  padding: 26px 28px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cookie-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-head .eyebrow {
  margin-bottom: 7px;
}

.cookie-input {
  display: block;
  width: 100%;
  min-height: 118px;
  padding: 12px 14px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cookie-input::placeholder {
  color: var(--dim);
}

.cookie-input:focus {
  border-color: rgba(255, 180, 120, 0.4);
  box-shadow: 0 0 0 4px rgba(255, 160, 95, 0.06);
}

.cookie-error {
  margin: 9px 0 0;
  color: #ff9e96;
  font-size: 11.5px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.cookie-actions .primary-button {
  margin-left: auto;
}

.cookie-hint {
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 10.5px;
  line-height: 1.6;
}

.cookie-hint code,
.cookie-guide code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.92em;
}

.cookie-guide {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cookie-guide h3 {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 560;
}

.cookie-guide ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.cookie-guide li {
  margin-bottom: 6px;
  padding-left: 3px;
}

.cookie-guide a {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 180, 120, 0.28);
}

.cookie-guide a:hover {
  border-bottom-color: rgba(255, 180, 120, 0.7);
}

.cookie-guide kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: 0.92em;
}

.guide-note {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 10.5px;
}

.guide-warning {
  margin: 14px 0 0;
  padding: 9px 11px;
  border: 1px solid rgba(255, 180, 120, 0.16);
  border-radius: 9px;
  background: rgba(255, 160, 90, 0.06);
  color: #e7b18b;
  font-size: 10.5px;
  line-height: 1.6;
}

/* ---------- drawer ---------- */

.drawer {
  z-index: 90;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  border-left: 1px solid var(--line);
  background: rgba(11, 13, 17, 0.97);
  box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.9);
  animation: drawer-in 0.38s var(--ease) both;
}

@keyframes drawer-in {
  from { transform: translateX(30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.drawer-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 560;
}

.history-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.history-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
}

.history-item:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.history-thumb {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 10px;
  background: #050609;
}

.history-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-thumb span {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.68);
  color: #ddd;
  font-family: var(--mono);
  font-size: 7.5px;
}

.history-text {
  min-width: 0;
  line-height: 1.4;
}

.history-text strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 480;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.history-text small {
  display: block;
  margin-top: 5px;
  color: var(--dim);
  font-size: 9.5px;
}

.history-empty {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 220px;
  padding: 30px;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
  white-space: pre-line;
}

.drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.drawer-foot span {
  color: var(--dim);
  font-size: 9.5px;
}

/* ---------- lightbox ---------- */

.lightbox {
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 48px;
}

.lightbox-backdrop {
  background: rgba(3, 4, 6, 0.9);
}

.lightbox-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 1080px;
  max-height: 100%;
  animation: modal-in 0.35s var(--ease) both;
}

#lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lightbox-actions .icon-button:disabled {
  cursor: default;
  opacity: 0.3;
}

/* ---------- toast ---------- */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  max-width: min(380px, calc(100% - 40px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: rgba(18, 20, 26, 0.94);
  color: var(--text-soft);
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.8);
  font-size: 11.5px;
  line-height: 1.55;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: toast-in 0.35s var(--ease) both;
  pointer-events: auto;
}

.toast::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.toast.is-error::before { background: var(--danger); }
.toast.is-warn::before { background: var(--amber); }

.toast.is-leaving {
  animation: toast-out 0.28s ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(6px); }
}

/* ---------- scrollbar ---------- */

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  background-clip: padding-box;
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .results-grid,
  .skeleton-grid {
    grid-template-columns: 1fr;
  }

  .result-media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 820px) {
  .feature-row article {
    padding: 2px 12px;
  }

  .feature-row small {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    padding: 16px 0;
  }

  .status-pill {
    width: 30px;
    height: 30px;
    padding: 0;
    justify-content: center;
  }

  .status-pill span {
    display: none;
  }

  .ghost-button span {
    display: none;
  }

  .ghost-button {
    width: 34px;
    padding: 0;
  }

  .hero {
    padding: 50px 0 32px;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 13px;
  }

  .desktop-only {
    display: none;
  }

  .composer {
    padding: 17px;
    border-radius: 23px;
  }

  #link-input {
    min-height: 112px;
    padding: 14px;
    font-size: 13px;
  }

  .composer-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .secondary-actions {
    justify-content: space-between;
  }

  .primary-button {
    width: 100%;
    height: 48px;
  }

  .composer-foot {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 10px;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 5px 0;
  }

  .feature-row article {
    justify-content: flex-start;
    gap: 12px;
    padding: 11px 8px;
  }

  .feature-row article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 0;
  }

  .feature-row small {
    display: block;
  }

  .results-section {
    padding-top: 46px;
  }

  .section-head h2 {
    font-size: 21px;
  }

  .result-body {
    padding: 15px 15px 16px;
  }

  .result-desc {
    font-size: 13.5px;
  }

  .result-stats {
    gap: 12px;
  }

  .result-actions {
    flex-wrap: wrap;
  }

  .download-button {
    flex: 1;
    min-width: 120px;
  }

  .asset-button {
    flex: 0 0 auto;
  }

  .result-note {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 34px;
  }

  .footer-meta {
    font-size: 8px;
  }

  .modal {
    padding: 16px;
  }

  .auth-card {
    padding: 24px 20px 20px;
  }

  .lightbox {
    padding: 16px;
  }

  #lightbox-image {
    max-height: calc(100vh - 140px);
  }

  .lightbox-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .toast-stack {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 420px) {
  .brand-text small {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .quality-chip small {
    display: none;
  }

  .result-media {
    aspect-ratio: 4 / 3;
  }

  .cookie-card {
    padding: 22px 18px 20px;
  }

  .cookie-actions .ghost-button,
  .cookie-actions .primary-button {
    flex: 1 1 100%;
    justify-content: center;
    margin-left: 0;
  }
}

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