@font-face { font-family: "Instrument Sans"; src: url("./assets/fonts/instrument.woff2") format("woff2"); font-style: normal; font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("./assets/fonts/barlow-bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
:root {
  color-scheme: dark; --bg: #10151b; --rail: #11171d; --surface: #192129; --surface-hi: #222c35; --line: #2c363e; --edge: #43515b;
  --ink: #f1f4ef; --muted: #abb6bd; --dim: #939fa7; --lime: #c2f875; --accent: #c2f875; --on-accent: #152015;
  --font: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --rail-width: clamp(195px, 15.6vw, 246px); --page-pad: clamp(22px, 2.65vw, 48px);
}
:root[data-theme="light"] {
  color-scheme: light; --bg: #f4f6f3; --rail: #ecefec; --surface: #fff; --surface-hi: #e1e7df; --line: #d4dbd4; --edge: #9da99e;
  --ink: #17201d; --muted: #485750; --dim: #5d6963; --accent: #345916;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-weight: 620; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { padding: 0; border: 0; cursor: pointer; background: none; }
button:disabled { cursor: default; }
select { cursor: pointer; }
input { min-width: 0; }
img { display: block; max-width: 100%; }
.glyph { display: inline-block; vertical-align: middle; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main:focus { outline: 0; }
::selection { color: #111a17; background: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; padding: 0; margin: -1px; border: 0; }
.skip-link { position: fixed; z-index: 9; left: 10px; top: -80px; padding: 10px 14px; color: var(--on-accent); background: var(--lime); }
.skip-link:focus { top: 8px; }
.rail { position: fixed; inset: 0 auto 0 0; z-index: 4; width: var(--rail-width); display: flex; flex-direction: column; padding: 26px 15px 18px; overflow-y: auto; overscroll-behavior: contain; background: var(--rail); border-right: 1px solid var(--line); scrollbar-width: thin; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 520; letter-spacing: -.055em; }
.rail-brand { margin: 3px 7px 31px; }
.rail-brand > span { font-size: 18px; line-height: .98; }
.rail-brand strong { display: block; font-size: 20px; font-weight: 690; }
.rail-nav, .rail-categories nav, .rail-foot { display: grid; gap: 3px; }
.rail-nav a, .rail-categories nav a, .rail-foot > *, .more-links > * { display: flex; align-items: center; gap: 11px; text-align: left; padding: 10px 12px; min-height: 42px; color: var(--muted); border-radius: 5px; font-size: 14px; font-weight: 540; }
.rail-nav a:hover, .rail-categories nav a:hover, .rail-foot > :hover, .more-links > :hover { color: var(--ink); background: var(--surface); }
.rail-nav a[aria-current], .rail-categories nav a[aria-current] { background: var(--surface-hi); color: var(--ink); }
.rail-nav a[aria-current] .glyph, .rail-categories nav a[aria-current] .glyph { color: var(--accent); }
.nav-count, .item-count { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 500; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 21px; border-radius: 4px; background: var(--surface-hi); }
.nav-count { margin-left: auto; }
.rail-categories { margin: 23px 0; padding-top: 17px; border-top: 1px solid var(--line); }
.rail-section-link { display: flex; justify-content: space-between; align-items: center; margin: 0 5px 7px; padding: 4px 7px; font-size: 13px; font-weight: 620; color: var(--dim); }
.rail-section-link .glyph { width: 13px; }
.rail-section-link:hover, .rail-section-link[aria-current] { color: var(--accent); }
.rail-categories nav a { font-size: 13px; min-height: 34px; padding-block: 6px; }
.rail-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.rail-foot > * { font-size: 13px; min-height: 34px; }
.canvas { margin-left: var(--rail-width); padding-inline: var(--page-pad); }
main,.site-footer { max-width: 1510px; margin-inline: auto; }
main { min-height: 72vh; }
.mobile-head,.bottom-nav { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 0 22px; }
.page-head h1 { font-size: clamp(27px, 2.15vw, 36px); line-height: 1.12; letter-spacing: -.055em; font-weight: 640; }
.page-head p { margin-top: 7px; color: var(--muted); max-width: 56ch; }
.page-head .back-link { margin-bottom: 8px; }
.inner-page { padding-bottom: 22px; }
.back-link,.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 560; color: var(--muted); }
.back-link:hover,.text-link:hover,.footer-links a:hover { color: var(--accent); }
.text-link { white-space: nowrap; }
.search-form { position: relative; width: 100%; min-width: 0; }
.toolbar-search { flex: 0 1 355px; }
.search-field,.directory-search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); padding: 5px 8px 5px 13px; background: var(--surface); border-radius: 6px; min-height: 42px; color: var(--muted); }
.search-field input, .directory-search input { background: transparent; border: 0; outline: 0; flex: 1; width: 100%; font-size: 14px; color: var(--ink); }
.search-field:focus-within,.directory-search:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.search-field input:focus-visible,.directory-search input:focus-visible { outline: 0; }
input::placeholder { color: var(--dim); opacity: 1; }
.search-field kbd { white-space: nowrap; font: 500 12px/1 var(--font); padding: 4px 6px; border: 1px solid var(--edge); border-radius: 4px; }
.search-submit { display: inline-grid; place-items: center; flex-shrink: 0; width: 31px; height: 29px; color: var(--ink); border-radius: 3px; background: var(--surface-hi); }
.toolbar-search:not(:focus-within) .search-field:has(input:placeholder-shown) .search-submit { display: none; }
.toolbar-search:focus-within kbd, .toolbar-search:has(input:not(:placeholder-shown)) kbd { display: none; }
.suggestions { z-index: 6; position: absolute; top: calc(100% + 5px); left: 0; width: 100%; padding: 5px; max-height: min(46vh, 430px); overflow-y: auto; background: var(--surface); border: 1px solid var(--edge); border-radius: 6px; }
.suggestion { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 8px; border-radius: 3px; text-align: left; cursor: pointer; font-size: 13px; }
.suggestion > span { flex: 1; overflow-wrap: anywhere; }
.suggestion small { color: var(--muted); font-size: 12px; }
.suggestion:hover, .suggestion[aria-selected="true"] { background: var(--surface-hi); }
.solid,.outline,.row-open,.store-visit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 14px; border-radius: 5px; font-size: 14px; line-height: 1.3; font-weight: 640; }
.solid { background: var(--lime); color: var(--on-accent); }
.solid:hover { background: #d7ffa2; }
.outline,.store-visit { border: 1px solid var(--edge); color: var(--ink); }
.outline:hover,.store-visit:hover,.row-open:hover { background: var(--surface-hi); }
.icon-btn { display: inline-grid; place-items: center; flex-shrink: 0; width: 34px; height: 34px; border-radius: 5px; color: var(--muted); }
.icon-btn:hover { color: var(--ink); background: var(--surface-hi); }
.icon-btn[aria-pressed="true"] { color: var(--accent); }
.save-btn[aria-pressed="true"] svg { fill: currentColor; }

.featured { overflow: hidden; border-radius: 9px; background: var(--surface); }
.campaign { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(294px, 24.6vw, 414px); color: #f4f6ef; background: #06151d; }
.campaign-photo { z-index: -1; position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; object-position: 58% 50%; }
.campaign-copy { margin: 30px clamp(24px, 3.1vw, 52px); max-width: 55%; }
.campaign-byline { display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 1.2; color: #e0e8e9; }
.byline-rule { width: 16px; height: 1px; background: #a6b8be; }
.merchant-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 640; }
.merchant-symbol { width: 23px; height: 22px; object-fit: contain; }
[data-theme="dark"] .merchant-symbol,.campaign .merchant-symbol,.store-profile.has-photo .merchant-symbol { filter: invert(1); }
.campaign-byline .merchant-symbol { width: 28px; height: 21px; }
.campaign-byline a:hover { text-decoration: underline; text-underline-offset: 4px; }
.campaign h2 { margin: 11px 0 19px; font: 700 clamp(58px, 5.6vw, 96px)/.88 var(--display); text-transform: uppercase; letter-spacing: -.016em; }
.campaign h2 strong,.campaign h2 span { display: block; font-weight: 700; }
.campaign h2 strong { color: var(--lime); }
.hero-action { padding-inline: 15px; min-height: 39px; }
.hero-save { position: absolute; right: 16px; top: 16px; }
.hero-save button { background: #132029e8; color: #fff; border: 1px solid #4f626c; }
.hero-save button:hover { background: #24333d; }
.hero-save button[aria-pressed="true"] { color: var(--lime); }
.feature-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); }
.feature-tabs button { display: flex; align-items: center; gap: 11px; position: relative; min-width: 0; padding: 12px 18px; text-align: left; color: var(--muted); border-bottom: 2px solid transparent; }
.feature-tabs button + button { border-left: 1px solid var(--line); }
.feature-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--ink); background: var(--surface-hi); }
.feature-tabs button:hover { color: var(--ink); background: var(--surface-hi); }
.feature-tabs button:focus-visible { outline-offset: -4px; }
.feature-tabs img { width: clamp(45px, 4.2vw, 70px); height: 37px; object-fit: cover; object-position: 82% center; border-radius: 3px; }
.feature-tabs span { min-width: 0; }
.feature-tabs b,.feature-tabs small { display: block; }
.feature-tabs b { font-size: 14px; letter-spacing: -.018em; color: var(--ink); }
.feature-tabs small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.home-lower { display: grid; grid-template-columns: minmax(0,1fr) minmax(192px, .3fr); column-gap: clamp(20px,2.3vw,36px); margin-top: 30px; }
.offers-section,.home-side { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; min-height: 34px; }
.section-heading h2,.home-journal h2,.related h2,.matching-stores h2 { display: flex; align-items: center; gap: 9px; font-size: clamp(21px,1.7vw,27px); line-height: 1.17; font-weight: 620; letter-spacing: -.05em; }
.item-count { height: 22px; min-width: 27px; font-size: 13px; letter-spacing: 0; }
.home-side { border-left: 1px solid var(--line); padding-left: clamp(16px,1.6vw,29px); }
.home-side .section-heading { margin-bottom: 13px; }
.home-side h2 { font-size: clamp(17px,1.3vw,22px); }
.popular-list a { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--line); min-height: 45px; }
.popular-list .glyph:first-child,.popular-list img { width: 25px; }
.popular-list .glyph:last-child { margin-left: auto; color: var(--dim); }
.popular-list a:hover { color: var(--accent); }
.popular-list a > span { font-weight: 560; font-size: 14px; }
.home-journal { margin-top: 29px; }
.home-journal > a { display: block; margin-top: 13px; color: var(--muted); }
.home-journal img { aspect-ratio: 2.2; width: 100%; object-fit: cover; border-radius: 4px; margin-bottom: 8px; }
.home-journal span { font-size: 14px; line-height: 1.35; }
.home-journal a:hover { color: var(--ink); }
.feed-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; margin-bottom: 12px; }
.type-tabs, .feed-selects { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.type-tabs { background: var(--surface); padding: 3px; border-radius: 5px; }
.type-tabs button { min-height: 29px; padding: 5px 9px; color: var(--muted); font-size: 12.5px; line-height: 1.2; border-radius: 3px; font-weight: 570; }
.type-tabs button[aria-pressed="true"] { background: var(--surface-hi); color: var(--ink); }
.type-tabs button:hover { color: var(--ink); }
.feed-selects { gap: 10px; }
.select-wrap { position: relative; display: inline-flex; align-items: center; color: var(--muted); }
.select-wrap select { appearance: none; background: transparent; border: 0; border-radius: 3px; color: var(--muted); height: 34px; font-size: 12px; padding: 3px 17px 3px 20px; }
.select-wrap option { background: var(--surface); color: var(--ink); }
.select-wrap .glyph:first-child { position: absolute; pointer-events: none; left: 0; width: 15px; }
.select-wrap .glyph:last-child { position: absolute; pointer-events: none; right: 1px; width: 12px; }
.coupon-grid { border-top: 1px solid var(--line); }
.coupon,.list-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(87px,.22fr) 100px 32px; align-items: center; gap: 13px; }
.list-head { min-height: 28px; padding: 4px 1px; font-size: 12px; color: var(--dim); }
.coupon { min-height: 76px; padding: 10px 1px; border-top: 1px solid var(--line); }
.coupon:last-child { border-bottom: 1px solid var(--line); }
.row-title { min-width: 0; display: flex; align-items: center; gap: 12px; }
.row-title > div { min-width: 0; }
.store-symbol { display: grid; place-items: center; height: 39px; width: 42px; background: var(--surface); border-radius: 5px; flex-shrink: 0; }
.row-title h3 { font-size: 15px; font-weight: 640; letter-spacing: -.015em; line-height: 1.3; }
.row-title h3 a:hover { color: var(--accent); }
.row-title p { color: var(--muted); font-size: 13px; line-height: 1.35; margin-top: 3px; overflow-wrap: anywhere; }
.row-amount { color: var(--accent); font: 700 30px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.row-amount small { font: 500 12px/1 var(--font); letter-spacing: 0; }
.row-amount .amount-prefix,.row-amount .amount-condition { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.row-open { min-height: 33px; border: 1px solid var(--edge); padding: 6px 8px; gap: 6px; white-space: nowrap; font-size: 12px; }
.more-row { display: flex; justify-content: center; gap: 12px; align-items: center; margin-top: 17px; }
.more-row > span,.result-count,.section-heading.sub > span { color: var(--dim); font-size: 13px; }
.more-row .outline { min-height: 34px; font-size: 13px; }
.empty { background: var(--surface); padding: clamp(22px,3vw,43px); border-radius: 6px; }
.empty h3 { font-size: 24px; line-height: 1.22; letter-spacing: -.045em; }
.empty p { color: var(--muted); margin: 6px 0 17px; }
.site-footer { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 46px; padding: 21px 0 25px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.site-footer > div { display: grid; gap: 2px; }
.site-footer nav { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.site-footer a:hover,.site-footer button:hover { color: var(--ink); }

.directory-tools { margin: 4px 0 17px; }
.directory-search { max-width: 460px; }
.alphabet { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 16px; }
.alphabet button { min-width: 30px; height: 33px; padding: 4px; font-size: 13px; border-radius: 3px; color: var(--muted); }
.alphabet button:not(:disabled):hover { background: var(--surface-hi); }
.alphabet button[aria-pressed="true"] { background: var(--lime); color: var(--on-accent); }
.alphabet button:disabled { opacity: .32; }
.directory-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 20px; margin-top: 8px; }
.store-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.store-row small { color: var(--dim); display: block; margin: 3px 0 0 31px; font-size: 12px; }
.store-row:hover,.category-row:hover strong,.journal-row:hover h3 { color: var(--accent); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.category-row { min-height: 87px; padding: 16px; border-radius: 6px; background: var(--surface); display: flex; align-items: center; gap: 15px; }
.category-row .glyph:first-child { color: var(--accent); width: 33px; }
.category-row > span { flex: 1; }
.category-row small,.category-row strong { display: block; }
.category-row strong { font-size: 18px; line-height: 1.25; letter-spacing: -.035em; }
.category-row small { color: var(--muted); font-size: 13px; margin-top: 3px; }
.store-profile { background: var(--surface); position: relative; isolation: isolate; border-radius: 7px; overflow: hidden; min-height: 145px; display: flex; align-items: center; margin: 0 0 24px; }
.store-profile.has-photo { background: #07121a; color: #f3f5ef; min-height: 190px; }
.store-profile > img { width: 100%; height: 100%; position: absolute; z-index: -1; inset: 0; object-fit: cover; }
.store-profile > div { padding: clamp(20px,2.3vw,36px); }
.store-profile p { margin: 6px 0 13px; max-width: 46ch; }
.store-profile.has-photo p { max-width: 39ch; }
.store-profile.has-photo .outline { background: #0f1d24; color: #f4f6f0; border-color: #617078; }
.archive { margin: 25px 0 5px; max-width: 730px; border-bottom: 1px solid var(--line); padding-bottom: 13px; }
.archive summary { cursor: pointer; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.archive summary::-webkit-details-marker { display: none; }
.archive[open] summary svg { transform: rotate(180deg); }
.archive p { margin-block: 12px; }
.archive p span { display: block; color: var(--muted); font-size: 13px; }
.related,.matching-stores { display: flex; align-items: center; flex-wrap: wrap; gap: 11px 17px; margin-top: 25px; }
.related h2,.matching-stores h2 { font-size: 18px; }
.search-page-bar { max-width: 610px; }
.section-heading.sub { margin-top: 25px; }
.section-heading.sub h2 { overflow-wrap: anywhere; }
.section-heading.sub > span { flex-shrink: 0; }
.journal-index { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.journal-index > img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 6px; }
.journal-row { display: grid; align-items: center; grid-template-columns: minmax(0,1fr) auto; gap: 4px 15px; padding: 15px 0; border-top: 1px solid var(--line); }
.journal-category,.reader-meta { font-size: 13px; color: var(--muted); }
.journal-category { grid-column: 1/-1; }
.journal-row h3 { font-size: clamp(18px,1.6vw,24px); line-height: 1.23; letter-spacing: -.035em; }
.reader { max-width: 740px; margin: 0 auto; padding-top: 33px; }
.reader-meta { margin: 22px 0 7px; }
.reader h1 { font: 700 clamp(41px,4.5vw,68px)/1 var(--display); max-width: 21ch; }
.reader-intro { font-size: 18px; margin: 17px 0 24px; color: var(--muted); }
.reader section { margin-block: 21px; }
.reader section h2 { font-size: 22px; letter-spacing: -.035em; margin-bottom: 5px; }
.reader section p { font-size: 16px; line-height: 1.65; }
.reader .outline { margin-top: 9px; }

dialog { padding: 0; margin: auto; color: var(--ink); background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; width: min(480px, calc(100% - 28px)); max-height: min(88dvh, 860px); overscroll-behavior: contain; }
dialog::backdrop { background: rgba(0, 6, 12, .7); }
.dialog-shell { padding: 31px; position: relative; }
.dialog-close { position: absolute; top: 13px; right: 12px; }
#sheet-body > h2 { padding-right: 25px; font-size: 29px; letter-spacing: -.045em; }
.offer-dialog { position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: 100dvh; width: min(435px,100%); max-width: 100%; border: 0; border-left: 1px solid var(--edge); border-radius: 0; }
.offer-dialog .dialog-shell { padding-top: 60px; }
.offer-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
#sheet-body .dialog-value { font: 700 74px/.95 var(--display); letter-spacing: -.01em; color: var(--accent); margin-top: 24px; }
.dialog-value small { font: 640 .37em/1 var(--font); }
.dialog-lede { font-size: 18px; line-height: 1.35; margin: 7px 0 20px; }
.code-box,.automatic { padding: 15px; border-radius: 5px; background: var(--bg); }
.code-box label { font-size: 13px; color: var(--muted); }
.code-box > div { display: flex; align-items: center; gap: 10px; margin-top: 5px; }
.code-box input { width: 100%; background: transparent; border: 0; color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: .04em; }
.code-box .solid { flex-shrink: 0; }
.automatic { display: flex; gap: 12px; align-items: center; }
.automatic p { font-size: 14px; color: var(--muted); margin-top: 2px; }
.copy-status,.sample-note { color: var(--muted); font-size: 13px; }
.copy-status:not(:empty) { margin-top: 7px; }
.store-visit { width: 100%; margin-top: 12px; min-height: 41px; }
.terms { padding: 21px 0 16px; }
.terms h3 { font-size: 16px; }
.terms p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 5px; }
.terms p:last-child { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.vote { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; border-top: 1px solid var(--line); padding-top: 13px; font-size: 14px; }
.vote button { min-width: 40px; min-height: 30px; border: 1px solid var(--edge); border-radius: 4px; }
.vote button[aria-pressed="true"] { background: var(--lime); color: var(--on-accent); }
#vote-status { color: var(--muted); font-size: 12px; }
.sample-note { margin-top: 19px; }
.sample-note a { text-decoration: underline; }
.brand-dialog { width: min(535px,calc(100% - 28px)); }
.brand-display { display: flex; align-items: center; gap: 12px; justify-content: center; background: var(--bg); padding: 19px 12px; margin-top: 14px; }
.brand-display img { width: 62px; height: 62px; }
.brand-display span { font-size: clamp(18px,2vw,28px); letter-spacing: -.065em; }
.dialog-description { color: var(--muted); margin: 14px 0 18px; }
.glyph-gallery { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px 6px; margin: 15px 0 24px; }
.glyph-gallery > div { display: flex; flex-direction: column; gap: 5px; align-items: center; }
.glyph-gallery span { font-size: 12px; color: var(--muted); text-align: center; }
.brand-downloads { display: flex; gap: 8px; flex-wrap: wrap; }
.more-links { display: grid; margin-top: 13px; gap: 4px; }
.quick-picks { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-top: 11px; font-size: 13px; }
.quick-picks > span { color: var(--muted); }
.quick-picks a { text-decoration: underline; text-underline-offset: 3px; }
.search-dialog .search-form { margin-top: 14px; }
.search-dialog .suggestions { position: static; margin-top: 5px; background: var(--bg); }
.email-form { display: grid; gap: 7px; }
.email-form input { min-height: 43px; border-radius: 4px; border: 1px solid var(--edge); background: var(--bg); padding: 7px 10px; }
.email-form .solid { margin-top: 8px; justify-self: start; }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translate(-50%,8px); opacity: 0; pointer-events: none; z-index: 8; background: var(--ink); color: var(--bg); border-radius: 5px; padding: 9px 14px; font-size: 14px; white-space: nowrap; transition: transform .15s ease-out, opacity .15s ease-out; }
.toast.visible { transform: translate(-50%,0); opacity: 1; }
@keyframes feature-in { from { opacity: .74; } to { opacity: 1; } }
@keyframes open-drawer { from { transform: translateX(20px); opacity: .5; } to { transform: translateX(0); opacity: 1; } }
@media (prefers-reduced-motion:no-preference) {
  .campaign-copy,.campaign-photo { animation: feature-in .22s ease-out; }
  .offer-dialog[open] { animation: open-drawer .2s ease-out; }
}
@media (max-width: 1230px) {
  :root { --rail-width: 188px; --page-pad: 25px; }
  .rail { padding-inline: 11px; }
  .home-lower { grid-template-columns: minmax(0,1fr) 185px; column-gap: 19px; }
  .home-side { padding-left: 15px; }
  .coupon,.list-head { grid-template-columns: minmax(0,1fr) 72px 84px 28px; gap: 9px; }
  .row-open { font-size: 12px; padding-inline: 5px; gap: 4px; }
  .feed-selects { gap: 6px; }
}
@media (min-width: 861px) and (max-width: 1090px) {
  .home-lower { grid-template-columns: 1fr; }
  .home-side { margin-top: 30px; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
  .home-journal { margin: 0; }
  .home-journal img { max-height: 140px; }
  .directory-grid,.category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 860px) {
  :root { --page-pad: 22px; }
  .rail { display: none; }
  .mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 10px var(--page-pad); min-height: 56px; border-bottom: 1px solid var(--line); background: var(--rail); }
  .mobile-head .brand { font-size: 19px; gap: 8px; }
  .mobile-head .brand strong { font-weight: 680; }
  .bottom-nav { position: fixed; z-index: 5; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); left: 0; right: 0; bottom: 0; padding: 1px max(env(safe-area-inset-right),8px) env(safe-area-inset-bottom) max(env(safe-area-inset-left),8px); background: var(--rail); border-top: 1px solid var(--line); }
  .bottom-nav > * { min-width: 0; min-height: 54px; color: var(--muted); display: flex; flex-direction: column; gap: 3px; justify-content: center; align-items: center; font-size: 11px; font-weight: 550; }
  .bottom-nav > *[aria-current] { color: var(--accent); }
  .bottom-nav .glyph { width: 19px; height: 19px; }
  .canvas { margin: 0; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .page-head { padding: 18px 0 15px; }
  .home-lower { grid-template-columns: minmax(0,1fr); margin-top: 23px; }
  .home-side { margin-top: 29px; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .home-journal { margin: 0; }
  .feature-tabs button { padding: 9px 12px; gap: 8px; }
  .directory-grid,.category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .toast { bottom: calc(68px + env(safe-area-inset-bottom)); }
}
@media (max-width: 600px) {
  :root { --page-pad: 16px; }
  .toolbar-search { display: none; }
  .page-head h1 { font-size: 28px; }
  .page-head p { font-size: 14px; }
  .featured { border-radius: 6px; }
  .campaign { min-height: 0; display: block; background: #071720; }
  .campaign-photo { position: static; width: 100%; height: auto; aspect-ratio: 2.4; object-fit: cover; object-position: 70% 54%; }
  .campaign-copy { margin: 0; padding: 13px 15px 15px; max-width: 100%; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 9px; align-items: end; }
  .campaign-byline { grid-column: 1/-1; font-size: 12px; gap: 8px; }
  .campaign-byline .merchant-symbol { width: 21px; height: 17px; }
  .campaign h2 { grid-column: 1/-1; grid-row: 2; margin: 0; font-size: clamp(36px,9.5vw,55px); }
  .campaign h2 span { padding-right: 120px; }
  .hero-action { grid-column: 2; grid-row: 2; align-self: end; min-height: 38px; padding: 7px 11px; font-size: 13px; }
  .hero-save { right: 9px; top: 9px; }
  .feature-tabs button { display: block; min-height: 48px; padding: 7px 5px; text-align: center; }
  .feature-tabs img,.feature-tabs small { display: none; }
  .feature-tabs b { font-size: 13px; }
  .feed-bar { gap: 6px; }
  .type-tabs { flex-wrap: nowrap; }
  .feed-selects { width: 100%; justify-content: space-between; }
  .feed-bar { margin-bottom: 7px; }
  .coupon,.list-head { grid-template-columns: minmax(0,1fr) 76px 30px; gap: 4px 8px; }
  .coupon { min-height: 87px; padding-block: 10px; }
  .row-title { grid-row: 1/3; gap: 8px; align-self: center; }
  .row-amount { grid-column: 2; grid-row: 1; font-size: 27px; align-self: end; }
  .row-open { grid-column: 2; grid-row: 2; border: 0; min-height: 27px; padding: 1px 0; align-self: start; justify-self: start; font-size: 12px; color: var(--muted); }
  .coupon .save-btn { grid-column: 3; grid-row: 1/3; width: 30px; height: 38px; }
  .list-head > :last-child { display: none; }
  .store-symbol { width: 34px; height: 35px; }
  .row-title p { font-size: 12px; }
  .home-side { grid-template-columns: 1fr; }
  .popular-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
  .directory-grid,.journal-index { grid-template-columns: 1fr; }
  .category-grid { gap: 9px; }
  .category-row { padding: 13px 10px; gap: 8px; }
  .category-row .glyph:first-child { width: 24px; }
  .category-row .glyph:last-child { width: 13px; }
  .category-row strong { font-size: 15px; }
  .store-profile.has-photo > img { position: static; height: auto; aspect-ratio: 2.5; object-fit: cover; }
  .store-profile.has-photo { display: block; }
  .store-profile > div { padding: 16px; }
  .reader { padding-top: 20px; }
  .site-footer { margin-top: 31px; gap: 12px; }
  .offer-dialog,.more-dialog { inset: auto 0 0; margin: 0; width: 100%; max-width: 100%; height: auto; max-height: 90dvh; padding-bottom: env(safe-area-inset-bottom); border: 0; border-radius: 13px 13px 0 0; }
  .offer-dialog .dialog-shell,.more-dialog .dialog-shell { padding: 27px 20px 23px; }
  .offer-dialog .offer-sheet-head { padding-right: 30px; padding-bottom: 9px; }
  .offer-dialog .dialog-close { top: 23px; }
  #sheet-body .dialog-value { margin-top: 17px; font-size: 60px; }
  .dialog-shell { padding: 27px 19px; }
  .glyph-gallery { grid-template-columns: repeat(4,1fr); }
  .brand-display img { width: 48px; height: 48px; }
  .search-field input,.directory-search input,.email-form input { font-size: 16px; }
  .journal-index > img { aspect-ratio: 2.1; }
}
@media (max-width: 360px) {
  :root { --page-pad: 12px; }
  .category-grid { grid-template-columns: 1fr; }
  .coupon,.list-head { grid-template-columns: minmax(0,1fr) 70px 28px; gap: 4px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
