:root {
  --ink: #182033;
  --muted: #667085;
  --line: rgba(59, 76, 116, 0.13);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #fff;
  --blue: #3977e9;
  --violet: #7657d6;
  --pink: #c9539d;
  --cyan: #2daeb1;
  --green: #147a63;
  --danger: #b53b55;
  --shadow: 0 18px 55px rgba(52, 63, 105, 0.1);
  --radius: 24px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brief-image { display: block; width: 100%; height: auto; border-radius: 18px; object-fit: contain; }
.brief-card h3 a { text-decoration: none; }
.brief-grid { margin-top: 20px; }
.editorial-link { display: inline-block; text-decoration: none; margin: 8px 0; }
.deal-form .check-row, .check-row { display: flex; flex-direction: row; align-items: start; gap: 10px; }
.deal-form .check-row input, .check-row input { width: 22px; height: 22px; flex: 0 0 auto; }
.editorial-entry { border-top: 1px solid var(--line); padding: 18px 0; overflow-wrap: anywhere; }
.editorial-entry summary { font-weight: 750; cursor: pointer; }
.social-caption { width: 100%; margin: 10px 0; padding: 12px; font: inherit; border: 1px solid var(--line); border-radius: 12px; }
.batch-list { display: grid; gap: 16px; max-height: 450px; overflow: auto; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fafbff 0, #f7f9fd 45%, #fbfbfe 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.aurora {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.13;
  pointer-events: none;
}
.aurora-one {
  top: -10rem;
  right: -10rem;
  background: conic-gradient(from 30deg, var(--blue), var(--violet), var(--pink), var(--cyan), var(--blue));
}
.aurora-two {
  top: 35rem;
  left: -16rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--pink));
  opacity: 0.08;
}

.site-header,
.admin-header {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.05em;
  text-decoration: none;
  position: relative;
}
.brand > span > span {
  background: linear-gradient(100deg, var(--blue), var(--violet) 46%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand small {
  padding: 2px 6px;
  border: 1px solid rgba(88, 94, 190, 0.17);
  border-radius: 999px;
  background: rgba(110, 91, 210, 0.07);
  color: #67609a;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.brand-glow {
  width: 14px;
  height: 14px;
  border-radius: 5px 9px 5px 9px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 38%, var(--violet) 67%, var(--pink));
  box-shadow: 0 0 18px rgba(99, 91, 210, 0.3);
  transform: rotate(18deg);
}
.header-note { display: none; color: var(--muted); font-size: 0.78rem; }

main { width: min(100% - 28px, 1120px); margin: 0 auto; }

.hero { padding: 58px 0 34px; text-align: center; }
.eyebrow,
.section-kicker {
  color: #665ca0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 13px; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(45, 174, 177, 0.09); }
.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2.55rem, 11vw, 5.4rem);
  line-height: 0.97;
  letter-spacing: -0.07em;
  font-weight: 820;
}
.hero h1 em {
  font-style: normal;
  font-weight: inherit;
  background: linear-gradient(94deg, var(--blue) 2%, var(--violet) 48%, var(--pink) 80%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy { max-width: 610px; margin: 22px auto 0; color: var(--muted); font-size: 1rem; }

.search {
  max-width: 650px;
  margin: 30px auto 0;
  padding: 7px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(52, 63, 105, 0.09), inset 0 1px rgba(255,255,255,.8);
  backdrop-filter: blur(16px);
}
.search:focus-within { border-color: rgba(80, 101, 210, 0.38); box-shadow: 0 14px 42px rgba(71, 81, 170, 0.14), 0 0 0 4px rgba(75, 104, 210, 0.06); }
.search svg { width: 21px; margin-left: 8px; fill: none; stroke: #75809a; stroke-width: 1.8; stroke-linecap: round; }
.search input { width: 100%; min-width: 0; padding: 10px 3px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search input::placeholder { color: #9299aa; }
.search button,
.primary-button {
  border: 0;
  border-radius: 13px;
  background: linear-gradient(105deg, #376ed2, #7459c7);
  color: white;
  padding: 11px 16px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(74, 82, 174, 0.2);
}
.search button:hover,
.primary-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.search button:focus-visible,
.primary-button:focus-visible,
.deal-cta:focus-visible,
.chip:focus-visible { outline: 3px solid rgba(57,119,233,.28); outline-offset: 3px; }
button:disabled { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.signal-row { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; color: #788094; font-size: 0.72rem; }
.signal-row strong { color: #555e75; }
.signal-live { display: inline-flex; align-items: center; gap: 6px; }
.signal-live i { width: 6px; height: 6px; border-radius: 50%; background: #36a982; box-shadow: 0 0 0 4px rgba(54,169,130,.1); }

.category-scroll {
  margin: 8px -14px 32px;
  padding: 4px 14px 10px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: #667087;
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.chip small { margin-left: 4px; opacity: .65; }
.chip.active { background: #273149; color: white; border-color: #273149; }

.deals-section { padding: 12px 0 54px; }
.section-heading { margin-bottom: 18px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.section-heading h2,
.panel-heading h2 { margin: 4px 0 0; font-size: clamp(1.65rem, 6vw, 2.35rem); letter-spacing: -0.045em; line-height: 1.05; }
.section-heading > p { margin: 0; color: var(--muted); font-size: .78rem; }

.deal-grid { display: grid; gap: 14px; }
.deal-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(57, 68, 108, 0.06);
  backdrop-filter: blur(18px);
}
.deal-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(57,119,233,.55), rgba(118,87,214,.3), rgba(201,83,157,.4), rgba(45,174,177,.3));
  opacity: .65;
}
.card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.shop { color: #4d5670; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; }
.category { color: #80879a; font-size: .7rem; }
.trend-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 999px; background: rgba(107,85,206,.07); color: #6b5ca7; font-size: .65rem; font-weight: 800; }
.trend-badge i { width: 5px; height: 5px; border-radius: 50%; background: linear-gradient(var(--blue), var(--pink)); }
.deal-card h3 { margin: 13px 0 8px; font-size: 1.16rem; line-height: 1.26; letter-spacing: -0.025em; }
.product-image { width: 100%; height: 155px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 15px; background: rgba(245,247,252,.9); overflow: hidden; }
.product-image img,
img.product-image { width: 100%; height: 100%; object-fit: contain; }
.uvp-saving { margin: 8px 0 0; color: var(--green); font-size: .7rem; font-weight: 750; }
.found-at { margin: 5px 0 12px; color: var(--muted); font-size: .68rem; }
.card-title-link { text-decoration: none; }
.card-title-link:hover { color: #5d58a3; }
.card-title-link:focus-visible { outline: 3px solid rgba(57,119,233,.28); outline-offset: 3px; border-radius: 4px; }
.description { margin: 0 0 15px; color: var(--muted); font-size: .84rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }

.coupon { width: 100%; margin: 4px 0 15px; padding: 11px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed rgba(137,103,193,.29); border-radius: 14px; background: linear-gradient(100deg, rgba(74,119,226,.045), rgba(191,73,163,.05)); color: var(--ink); cursor: pointer; text-align: left; }
.coupon span { display: flex; flex-direction: column; }
.coupon small { color: var(--muted); font-size: .62rem; }
.coupon strong { letter-spacing: .06em; }
.coupon b { color: #655cad; font-size: .71rem; }

.price-panel { min-height: 58px; margin-top: auto; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.price-panel > div { display: flex; flex-direction: column; }
.price-panel small { color: var(--muted); font-size: .67rem; }
.price-panel strong { font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.05em; }
.price-panel .saving { align-items: end; }
.saving b { color: var(--green); font-size: .82rem; }
.calculation { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; color: #737c90; font-size: .65rem; }
.calculation span { padding: 4px 7px; border-radius: 7px; background: rgba(61,74,113,.045); }
.deal-cta { margin-top: 16px; padding: 12px 15px; display: flex; justify-content: space-between; align-items: center; border-radius: 14px; background: #253047; color: white; text-decoration: none; font-size: .86rem; font-weight: 750; }
.deal-cta:hover span { transform: translateX(3px); }
.deal-cta span { transition: transform .16s ease; }
.sponsored-note { margin: 8px 4px 0; color: #9298a8; font-size: .58rem; text-align: center; }
.price-checked { margin: 7px 0 0; color: #9298a8; font-size: .61rem; }

.empty-state { padding: 58px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-align: center; }
.empty-state > span { font-size: 2rem; color: #7468a6; }
.empty-state h3 { margin: 8px 0 4px; }
.empty-state p { max-width: 420px; margin: 0 auto 18px; color: var(--muted); }
.empty-state a { color: #5f5aa2; font-weight: 750; }

.pagination {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: .75rem;
}
.pagination a {
  min-height: 44px;
  padding: 11px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: #565f78;
  font-weight: 750;
  text-decoration: none;
}
.pagination a:last-child { justify-self: end; }
.pagination a:focus-visible { outline: 3px solid rgba(57,119,233,.28); outline-offset: 3px; }

.method-card { margin: 0 0 70px; padding: 20px; display: flex; gap: 15px; border: 1px solid rgba(60,133,183,.12); border-radius: 20px; background: linear-gradient(105deg, rgba(49,165,177,.06), rgba(99,89,207,.045), rgba(200,85,157,.035)); }
.method-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: rgba(78,101,194,.08); color: #5d62a9; }
.method-card strong { font-size: .87rem; }
.method-card p { margin: 4px 0 0; color: var(--muted); font-size: .75rem; }

footer { padding: 34px 20px 45px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); }
.footer-brand { justify-content: center; }
footer > p { margin: 8px 0 0; font-size: .78rem; }
.footer-small { opacity: .72; font-size: .66rem !important; }
.footer-links { margin: 15px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 7px 16px; }
.footer-links a { color: #5e6678; font-size: .72rem; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: #5d58a3; text-decoration: underline; }
.social-links {
  margin: 20px auto 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.social-links a {
  min-height: 44px;
  padding: 9px 13px 9px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .68);
  color: #555e75;
  font-size: .75rem;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(102, 87, 196, .24);
  background: rgba(255, 255, 255, .94);
}
.social-links a:focus-visible { outline: 3px solid rgba(57,119,233,.28); outline-offset: 3px; }
.social-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(57,119,233,.12), rgba(118,87,214,.11), rgba(201,83,157,.1));
  color: #5d5c94;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icon-x {
  display: grid;
  place-items: center;
  padding: 0;
  font-size: .68rem;
  font-weight: 850;
  line-height: 1;
}
.social-dot { fill: currentColor; stroke: none; }

/* Public detail and information pages */
.header-back { color: var(--muted); font-size: .76rem; font-weight: 750; text-decoration: none; }
.header-back:hover { color: #5d58a3; }
.detail-main,
.content-main { padding: 38px 0 78px; }
.breadcrumbs { margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: .7rem; }
.breadcrumbs a { font-weight: 700; text-decoration: none; }
.detail-card { padding: 22px; display: grid; gap: 22px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); }
.detail-copy h1,
.content-main h1 { margin: 7px 0 16px; max-width: 850px; font-size: clamp(2.15rem, 9vw, 4.6rem); line-height: 1; letter-spacing: -.06em; }
.detail-description,
.content-main .lead { color: #4f596d; font-size: 1.02rem; line-height: 1.7; }
.deal-facts { margin: 24px 0 0; display: grid; gap: 8px; }
.detail-image { width: min(100%, 420px); max-height: 310px; margin: 12px 0 18px; object-fit: contain; border-radius: 18px; background: #f7f8fc; }
.image-credit { display: block; margin: -13px 0 16px; color: var(--muted); font-size: .62rem; }
.expired-banner { margin-bottom: 16px; padding: 11px 13px; border-radius: 12px; background: rgba(102,112,135,.1); color: #596174; font-size: .78rem; font-weight: 700; }
.expired-cta { background: #7a8190; }
.review-links ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.review-links li { padding: 11px; border: 1px solid var(--line); border-radius: 12px; }
.review-links a { display: block; color: #5851a0; font-weight: 750; text-decoration: none; }
.review-links small { display: block; margin-top: 3px; color: var(--muted); }
.deal-facts > div { padding: 10px 0; display: grid; grid-template-columns: 110px 1fr; gap: 12px; border-bottom: 1px solid var(--line); }
.deal-facts dt { color: var(--muted); font-size: .7rem; }
.deal-facts dd { margin: 0; font-size: .76rem; font-weight: 750; }
.detail-offer { align-self: start; padding: 19px; border: 1px solid rgba(89,91,176,.14); border-radius: 20px; background: linear-gradient(135deg, rgba(57,119,233,.055), rgba(118,87,214,.04), rgba(201,83,157,.035)); }
.detail-offer > small { display: block; color: var(--muted); font-size: .68rem; }
.detail-offer > strong { display: block; margin-top: 3px; font-size: 1.85rem; letter-spacing: -.05em; }
.detail-code { margin-top: 15px; padding: 10px 12px; display: flex; justify-content: space-between; border: 1px dashed rgba(137,103,193,.29); border-radius: 12px; }
.detail-code small { color: var(--muted); }
.detail-note { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.68); }
.detail-note h2,
.related-section h2,
.content-main h2 { margin: 0 0 8px; font-size: 1.35rem; letter-spacing: -.035em; }
.detail-note p,
.content-main p { margin: 0 0 24px; color: var(--muted); line-height: 1.7; }
.related-section { margin-top: 42px; }
.related-section h2 { margin-top: 4px; }
.related-grid { margin-top: 15px; display: grid; gap: 10px; }
.related-grid a { padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.72); text-decoration: none; }
.related-grid span { color: var(--muted); font-size: .64rem; }
.related-grid strong { margin-top: 5px; font-size: .9rem; }
.related-grid b { margin-top: 12px; color: #5d58a3; font-size: .8rem; }
.content-main { width: min(100%, 780px); }
.content-main h2 { margin-top: 32px; }
.content-main code { padding: 2px 5px; border-radius: 5px; background: #eef0f6; }
.editor-warning { margin: 20px 0 30px; padding: 16px; border: 1px solid rgba(181,59,85,.2); border-radius: 15px; background: rgba(181,59,85,.06); color: #873247; }
.editor-warning p { margin: 5px 0 0; color: inherit; }

/* Admin */
.admin-body { min-height: 100vh; background: #f5f7fb; }
.admin-header { width: min(100% - 28px, 1120px); border-bottom: 1px solid var(--line); }
.text-button { padding: 8px; border: 0; background: transparent; color: var(--muted); font-size: .8rem; cursor: pointer; }
.admin-main { padding: 42px 0 80px; }
.admin-title { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 24px; }
.admin-title h1 { margin: 5px 0 0; font-size: clamp(2rem, 8vw, 3.5rem); letter-spacing: -.06em; line-height: 1; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.admin-stats > div { padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 17px; background: var(--surface-solid); }
.admin-stats strong { font-size: 1.45rem; }
.admin-stats span { color: var(--muted); font-size: .7rem; }
.admin-panel { margin-top: 16px; padding: 19px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-solid); box-shadow: 0 8px 30px rgba(55,65,98,.045); }
details.admin-panel > summary { cursor: pointer; font-weight: 800; }
.panel-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }
.panel-heading h2 { font-size: 1.55rem; }
.panel-heading > b { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 999px; background: rgba(100,86,199,.08); color: #665dac; font-size: .78rem; }
.deal-form { margin-top: 18px; display: grid; gap: 12px; }
.snapshot-form { margin-top: 16px; display: grid; gap: 12px; }
.import-help { color: var(--muted); font-size: .76rem; line-height: 1.55; }
.import-help p { margin: 10px 0 0; }
.import-help a { color: #625baa; font-weight: 700; }
.snapshot-form .confirm-row { flex-direction: row; align-items: center; font-weight: 600; }
.snapshot-form .confirm-row input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #665dac; }
.deal-form label,
.snapshot-form label,
.stack-form label { display: flex; flex-direction: column; gap: 5px; color: #555e72; font-size: .72rem; font-weight: 700; }
.deal-form input,
.deal-form textarea,
.deal-form select,
.snapshot-form input,
.stack-form input { width: 100%; padding: 11px 12px; border: 1px solid #dce0ea; border-radius: 11px; background: #fbfcfe; color: var(--ink); outline: 0; }
.deal-form input:focus,
.deal-form textarea:focus,
.deal-form select:focus,
.snapshot-form input:focus,
.stack-form input:focus { border-color: rgba(72,98,199,.52); box-shadow: 0 0 0 3px rgba(75,104,210,.07); }
.draft-list { display: grid; gap: 10px; }
.draft-card { padding: 15px; display: flex; flex-direction: column; gap: 15px; border: 1px solid var(--line); border-radius: 15px; background: #fcfcfe; }
.draft-card h3 { margin: 5px 0 3px; font-size: .95rem; }
.draft-copy { flex: 1; min-width: 0; }
.enrichment-note { margin-top: 8px !important; padding: 8px 10px; border-radius: 9px; background: rgba(181,59,85,.06); color: #8b4152 !important; }
.deal-editor { margin-top: 10px; }
.deal-editor summary { color: #625baa; cursor: pointer; font-size: .72rem; font-weight: 750; }
.compact-form { padding-top: 8px; }
.compact-form textarea { width: 100%; padding: 11px 12px; border: 1px solid #dce0ea; border-radius: 11px; resize: vertical; }
.draft-card p { margin: 0; color: var(--muted); font-size: .76rem; }
.draft-card a,
.missing-link { margin-top: 7px; display: inline-block; color: #625baa; font-size: .72rem; font-weight: 700; }
.missing-link { color: var(--danger); }
.source-label { padding: 3px 6px; border-radius: 6px; background: #eef1f7; color: #667087; font-size: .59rem; }
.draft-actions { display: flex; gap: 8px; }
.draft-actions form { flex: 1; }
.draft-actions button { width: 100%; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-size: .7rem; font-weight: 750; }
.approve-button { border: 0; background: rgba(26,135,105,.1); color: #16745e; }
.danger-button { border: 0; background: rgba(181,59,85,.08); color: var(--danger); }
.log-list { display: grid; gap: 0; }
.log-list > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.log-list > div:last-child { border-bottom: 0; }
.log-list strong { font-size: .78rem; }
.log-list p { grid-column: 2; margin: 0; color: var(--muted); font-size: .7rem; overflow-wrap: anywhere; }
.log-list time { grid-column: 2; color: #9a9fad; font-size: .6rem; }
.log-status { align-self: start; padding: 3px 6px; border-radius: 7px; font-size: .56rem; font-weight: 800; text-transform: uppercase; }
.log-status.success { background: rgba(25,139,106,.09); color: #15745d; }
.log-status.error { background: rgba(181,59,85,.08); color: var(--danger); }
.panel-empty { color: var(--muted); font-size: .78rem; }
.notice { margin: 12px 0; padding: 12px 14px; border-radius: 12px; font-size: .78rem; }
.notice.error { background: rgba(181,59,85,.08); color: #96344b; }
.notice.success { background: rgba(25,139,106,.08); color: #12634f; }

.archive-main { padding: 48px 0 90px; }
.archive-main h1 { margin: 5px 0 10px; font-size: clamp(2.2rem, 9vw, 4.8rem); letter-spacing: -.06em; }
.archive-lead { max-width: 650px; margin: 0 0 30px; color: var(--muted); }
.expired-grid { margin-top: 25px; }
.expired-card { filter: grayscale(.75); opacity: .7; }
.expired-card h2 { margin: 10px 0 6px; font-size: 1rem; }
.expired-card h2 a { text-decoration: none; }
.expired-card p { margin: 0 0 10px; color: var(--muted); font-size: .72rem; }
.expired-label { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #e4e6eb; color: #596174; font-size: .62rem; font-weight: 800; }
.archive-link { display: block; margin-top: 15px; color: #596174; font-size: .72rem; font-weight: 750; }

.login-shell { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(100%, 430px); padding: 27px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.9); box-shadow: var(--shadow); }
.login-card .eyebrow { margin: 30px 0 8px; }
.login-card h1 { margin: 0; font-size: 2rem; letter-spacing: -.05em; }
.login-card > p:not(.eyebrow) { color: var(--muted); font-size: .82rem; }
.stack-form { margin-top: 22px; display: grid; gap: 12px; }

@media (min-width: 620px) {
  .header-note { display: block; }
  .hero { padding-top: 82px; }
  .deal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
  .admin-title { flex-direction: row; align-items: end; justify-content: space-between; }
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
  .deal-form { grid-template-columns: repeat(2, 1fr); }
  .deal-form .wide { grid-column: 1 / -1; }
  .deal-form > button { justify-self: start; }
  .snapshot-form { grid-template-columns: repeat(2, 1fr); }
  .snapshot-form .confirm-row,
  .snapshot-form > button { grid-column: 1 / -1; justify-self: start; }
  .draft-card { flex-direction: row; align-items: center; justify-content: space-between; }
  .draft-card > div:first-child { min-width: 0; }
  .draft-actions { flex: 0 0 auto; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
  .deal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .deal-card { padding: 21px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
  .deal-card:hover { transform: translateY(-3px); border-color: rgba(85,94,173,.22); box-shadow: 0 18px 48px rgba(57,68,108,.1); }
  .detail-card { padding: 38px; grid-template-columns: minmax(0, 1fr) 310px; gap: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Aurora offer presentation: readable prices over translucent colour. */
.product-image { position: relative; display: grid; place-items: center; height: auto; aspect-ratio: 4 / 3; padding: 22px; border-radius: 20px; background: radial-gradient(ellipse at 5% 5%, rgba(62,163,233,.09), transparent 70%), radial-gradient(ellipse at 95% 85%, rgba(185,106,209,.09), transparent 65%), #fff; overflow: hidden; }
.product-image img { width: 100%; height: 100%; max-height: 240px; object-fit: contain; }
.detail-image { width: 100%; max-height: 380px; object-fit: contain; padding: 24px; border-radius: 24px; background: #fff; }
.aurora-price { margin: 16px 0; padding: 20px; border: 1px solid rgba(104,102,211,.17); border-radius: 20px; background: linear-gradient(120deg, rgba(64,163,223,.10), rgba(134,105,217,.10) 60%, rgba(220,126,181,.09)); color: #202a48; }
.price-label { display: block; font-size: .72rem; font-weight: 750; letter-spacing: .04em; }
.price-headline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 8px 0; }
.aurora-price .price-headline > strong { display: block; margin: 0; font-size: clamp(1.65rem, 6vw, 2.25rem); font-weight: 850; line-height: 1.15; letter-spacing: -.045em; overflow-wrap: anywhere; }
.discount-pill { display: inline-flex; flex-direction: column; padding: 9px 13px; border-radius: 13px; color: #fff; background: linear-gradient(120deg, #245db9, #7850b4); font-size: 1.25rem; font-weight: 800; line-height: 1.1; }
.discount-pill small { color: #fff; font-size: .6rem; margin-top: 4px; }
.uvp-reference { margin: 9px 0 0; font-size: .74rem; color: #535d75; }
.saving-total { margin: 5px 0; font-size: .84rem; color: #33346c; font-weight: 750; }
.uvp-source { display: inline-block; margin-top: 4px; color: #51508d; font-size: .7rem; text-underline-offset: 3px; }
.admin-product-preview { display: block; width: 160px; height: 130px; object-fit: contain; padding: 12px; margin: 12px 0; background: #fff; border: 1px solid #e0e4ee; border-radius: 14px; }
.image-preview-message { font-size: .75rem; color: #675781; }
.admin-product-preview[hidden] { display: none; }
.draft-actions { flex-wrap: wrap; max-width: 360px; }
.draft-actions form { min-width: 130px; }
.detail-offer .found-at strong { display: inline; font-size: inherit; }
@media (max-width: 619px) { .draft-actions { max-width: none; } .deal-card { padding: 16px; } }

/* Editorial studio: mobile navigation and restrained Aurora previews. */
.admin-tabs{display:flex;gap:.5rem;overflow-x:auto;padding:.75rem 0;margin:1rem 0;position:sticky;top:0;background:rgba(247,248,255,.96);z-index:3}
.admin-tabs a{white-space:nowrap;padding:.7rem 1rem;border:1px solid #d9daf0;border-radius:999px;color:#243252;text-decoration:none}
.admin-tabs a[aria-current],.admin-tabs a:hover{background:linear-gradient(110deg,#e1efff,#eee3ff);border-color:#8e85ce}
[data-admin-panel][hidden]{display:none!important}.studio-main{max-width:1100px}.studio-main h1{overflow-wrap:anywhere;font-size:clamp(1.6rem,4vw,2.5rem)}
.studio-main textarea{width:100%;box-sizing:border-box}.studio-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem}.studio-images figure{margin:0}.studio-images img{max-width:100%;height:auto;border-radius:20px}.admin-main{min-width:0}.admin-header{gap:1rem;flex-wrap:wrap}.review-links img{width:240px;max-width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block}.review-links ul{display:flex;flex-wrap:wrap;gap:1.5rem;list-style:none;padding:0}.review-links li{max-width:260px}

/* Otto: reusable original brand mascot, no additional third-party requests. */
.otto-intro { display:flex; align-items:center; gap:12px; max-width:620px; margin:20px auto; text-align:left; }
.otto-intro img { width:112px; height:112px; object-fit:contain; flex-shrink:0; }
.otto-intro p { font-size:.95rem; line-height:1.5; color:#48546d; }
.otto-gallery { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; }
.otto-gallery img { width:100%; height:auto; }
@media(max-width:600px) { .otto-gallery { grid-template-columns:repeat(3,minmax(0,1fr)); } .otto-intro img { width:80px; height:80px; } }
