@font-face {
  font-family: Manrope;
  src: url('manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  font-family: Manrope, 'Segoe UI', sans-serif;
  color-scheme: dark;
  color: #f5f3ef;
  background: #131313;
  --accent: #ff963e;
  --muted: #aaa8a4;
  --line: #343332;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  scroll-padding-bottom: calc(90px + var(--safe-bottom));
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; border-top: 3px solid var(--accent); }
p, h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.shell { width: min(calc(100% - 32px), 640px); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead-content { min-height: 59px; display: flex; align-items: center; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 800; letter-spacing: -.035em; }
.wordmark img { border-radius: 50%; }
.wordmark b { color: var(--accent); }
main { padding-block: 24px calc(92px + var(--safe-bottom)); }
.feed-heading { margin-bottom: 16px; }
h1 { font-size: clamp(25px, 6vw, 34px); line-height: 1.15; letter-spacing: -.05em; font-weight: 800; }
.feed-heading p, #status { margin-top: 4px; font-size: 12px; color: var(--muted); }
.feed { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.offer {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 11px;
  min-height: 85px;
  padding: 8px 10px 8px 8px;
  border: 1px solid #30302e;
  border-radius: 10px;
  background: #1a1a1a;
}
@media (hover: hover) { .offer:hover { background: #222120; border-color: #67503e; } }
.photo { display: grid; place-items: center; width: 62px; height: 62px; background: #282726; border-radius: 6px; overflow: hidden; }
.photo:has(img:not([hidden])) { background: #f8f7f5; }
.photo img { display: block; width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.product { min-width: 0; }
.product h2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.27;
  font-weight: 650;
}
.store { margin-bottom: 2px; color: var(--muted); font-size: 10px; line-height: 1.2; }
.terms { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 8px; margin-top: 5px; }
.price { color: var(--accent); font-size: 17px; font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.coupon { max-width: 100%; padding: 2px 5px; border: 1px dashed #a76534; border-radius: 4px; background: #39261a; color: #ffbf8b; font-size: 10px; line-height: 1.25; }
.coupon code { font: 800 10px Manrope, sans-serif; margin-left: 4px; overflow-wrap: anywhere; user-select: all; }
.external { width: 16px; height: 16px; color: #e4a16b; }
.disclosure { margin-top: 12px; color: var(--muted); font-size: 11px; }
.dock { position: fixed; inset: auto 0 0; background: #131313; border-top: 1px solid var(--line); padding-block: 9px calc(9px + var(--safe-bottom)); }
.join { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 47px; max-width: 420px; margin-inline: auto; border-radius: 8px; padding: 8px 12px; background: #258451; color: #fff; font-size: 14px; font-weight: 800; }
.join:hover { background: #22764a; }
.join img { flex: none; }
.join-status { display: block; text-align: center; padding-block: 8px; color: var(--muted); font-size: 13px; }
@media (min-width: 600px) {
  .offer { grid-template-columns: 72px minmax(0, 1fr) 18px; min-height: 92px; gap: 14px; }
  .photo { width: 72px; height: 72px; }
  .product h2 { font-size: 14px; }
  .price { font-size: 18px; }
}
