:root{font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:#182942;background:#f7f9fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}a{color:#195bd5;text-decoration:none}a:hover{text-decoration:none;color:#1147a9}.wrap{max-width:1160px;margin:auto;padding:0 24px}.top{background:#fff;border-bottom:1px solid #e7ecf3}.nav{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:850;color:#14243b;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#205ed7;color:white;font-size:24px;font-weight:900}.nav-links{display:flex;gap:30px;align-items:center}.nav-links a{color:#44546b;font-size:14px;font-weight:600}.nav-links a:hover{color:#175cd3}.hero{padding:48px 0 30px}.hero-home{background:linear-gradient(115deg,#e8f0ff,#f1f6ff 55%,#f8faff);border:1px solid #e4ecfa;border-radius:24px;margin-top:28px;padding:46px 48px}.hero h1{font-size:clamp(30px,3.6vw,45px);letter-spacing:-.035em;line-height:1.14;margin:12px 0 14px;max-width:850px}.muted{color:#65748b}.hero p{margin:0;font-size:15px;line-height:1.65}.eyebrow{color:#215ed1;font-size:11px;font-weight:850;letter-spacing:.12em}.search{display:flex;gap:10px;max-width:680px;margin-top:24px}.search-input{display:flex;align-items:center;gap:11px;flex:1;min-width:0;background:#fff;padding:0 15px;border:1px solid #dbe3ed;border-radius:11px;color:#8592a5}.search-input:focus-within{border-color:#2a67d8;box-shadow:0 0 0 3px #205ed718}.search input{min-width:0;flex:1;border:0;outline:0;padding:15px 0;font-size:15px;background:transparent}.btn{display:inline-flex;justify-content:center;align-items:center;text-align:center;background:#205ed7;color:white;border:0;border-radius:10px;padding:13px 21px;font-size:14px;font-weight:750;cursor:pointer;line-height:1.3}.btn:hover{background:#164eb8;color:#fff}.section{margin:38px 0 46px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-head h2{font-size:25px;letter-spacing:-.025em;margin:0}.all-link{font-size:14px;font-weight:700;white-space:nowrap}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.category-tile{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-height:134px;background:white;border:1px solid #e5eaf1;border-radius:15px;padding:20px;color:#172943;transition:.15s}.category-tile:hover,.store-card:hover{border-color:#b5c9ed;box-shadow:0 8px 24px #142c4b0b;transform:translateY(-1px)}.category-symbol{display:grid;place-items:center;background:#eaf1ff;color:#205ed7;border-radius:10px;width:34px;height:34px;font-size:20px}.category-tile strong{font-size:15px;line-height:1.3}.category-tile small{color:#75839a;font-size:12px;margin-top:auto}.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.store-card{display:flex;align-items:center;gap:14px;min-width:0;min-height:100px;padding:16px;background:white;border:1px solid #e5eaf1;border-radius:15px;color:#172943;transition:.15s}.store-card-logo,.store-logo{flex-shrink:0;display:grid;place-items:center;width:64px;height:64px;border:1px solid #edf0f5;border-radius:12px;background:#fff}.store-card-logo img,.store-logo img{width:90%;height:90%;object-fit:contain}.store-card-text{min-width:0;display:flex;flex-direction:column;gap:7px}.store-card-text strong{font-size:15px;overflow-wrap:anywhere;line-height:1.3}.store-card-text small{color:#75839a;font-size:12px}.store-arrow{margin-left:auto;color:#91a0b7;font-size:19px}.offer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.offer-card{background:#fff;border:1px solid #e4eaf2;border-radius:17px;padding:21px;display:flex;flex-direction:column;gap:14px;min-width:0}.offer-main{flex:1}.offer-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tag{background:#eaf1ff;color:#205ed7;border-radius:7px;padding:6px 9px;font-size:11px;font-weight:750}.offer-merchant{font-size:12px;color:#667790}.offer-card h3{font-size:18px;line-height:1.4;letter-spacing:-.01em;margin:13px 0 9px;overflow-wrap:anywhere}.offer-desc{font-size:14px;color:#52647b;line-height:1.55;margin:0 0 14px;overflow-wrap:anywhere}.expiry{font-size:12px;color:#728199}.offer-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.offer-action .btn{flex:1}.coupon-code{font-weight:800;letter-spacing:.02em;border:1px dashed #a9b9d3;border-radius:9px;padding:12px;background:#f8fbff;overflow-wrap:anywhere}.ad{font-size:11px;line-height:1.5;color:#78869b;overflow-wrap:anywhere;border-top:1px solid #edf1f6;padding-top:12px}.crumb{display:flex;align-items:center;gap:10px;padding-top:26px;color:#7c899d;font-size:13px;flex-wrap:wrap}.hero-store{padding:30px 0 15px}.store-heading{display:flex;align-items:center;gap:22px}.store-logo{width:100px;height:100px;border-radius:18px}.hero-store h1{margin:7px 0}.seo-intro{background:#fff;border:1px solid #e4eaf2;border-radius:14px;padding:22px;line-height:1.7;color:#52647b}.pagination{display:flex;gap:14px;align-items:center;margin:24px 0}.pagination a{padding:9px 13px;background:white;border:1px solid #e3e9f2;border-radius:9px}.notice{background:#fff6e9;padding:18px;border-radius:12px;color:#71512a}.foot{margin-top:60px;background:white;border-top:1px solid #e5eaf2}.footer-inner{padding-top:28px;padding-bottom:28px}.footer-inner strong{font-size:18px}.footer-inner p{font-size:13px;color:#748197;line-height:1.6}.adminform input,.adminform textarea{display:block;width:100%;padding:10px;margin:6px 0 15px;border:1px solid #d0d5dd;border-radius:8px}.adminform textarea{min-height:100px}@media(max-width:950px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.offer-list{grid-template-columns:1fr}}@media(max-width:650px){.wrap{padding:0 16px}.nav{align-items:flex-start;flex-direction:column;gap:12px;padding-top:13px;padding-bottom:13px}.brand{font-size:21px}.nav-links{width:100%;gap:17px;overflow-x:auto;white-space:nowrap;padding-bottom:3px}.nav-links a{font-size:13px}.hero{padding:30px 0 20px}.hero-home{padding:29px 20px;margin-top:18px;border-radius:18px}.hero h1{font-size:31px}.search{flex-direction:column}.search .btn{width:100%}.section{margin:28px 0 36px}.section-head{align-items:flex-start}.section-head h2{font-size:21px}.all-link{font-size:12px}.category-grid,.store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-tile{padding:14px;min-height:128px}.category-tile strong{font-size:13px}.store-card{min-height:130px;padding:12px;flex-direction:column;align-items:flex-start;gap:9px}.store-card-logo{width:50px;height:50px}.store-card-text strong{font-size:13px}.store-arrow{display:none}.offer-card{padding:17px}.store-heading{align-items:flex-start;gap:13px}.store-logo{width:64px;height:64px}.hero-store h1{font-size:26px;overflow-wrap:anywhere}.offer-action{flex-direction:column;align-items:stretch}.offer-action .btn{width:100%}}@media(max-width:370px){.category-grid{grid-template-columns:1fr 1fr}.store-grid{grid-template-columns:1fr}}

/* v0.4: compact coupon listings and store filters */
.store-filters{display:flex;gap:9px;flex-wrap:wrap;margin:23px 0 -15px}
.store-filters a{display:inline-flex;align-items:center;gap:8px;border:1px solid #dce5f2;border-radius:999px;padding:10px 16px;color:#38506e;background:#fff;font-size:14px;font-weight:700}
.store-filters a span{font-size:12px;color:#788ba4}
.store-filters a.selected{background:#205ed7;border-color:#205ed7;color:#fff}
.store-filters a.selected span{color:#dbe8ff}
.store-offers{grid-template-columns:1fr;gap:12px}
.store-offers .offer-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:22px;row-gap:10px;padding:18px 21px;align-items:center}
.store-offers .offer-card h3{margin:8px 0 7px;font-size:17px}
.store-offers .offer-desc{margin:0 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.store-offers .offer-action{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.store-offers .offer-action .btn{width:100%}
.store-offers .coupon-code{text-align:center;padding:10px}
.store-offers .ad{grid-column:1/-1;padding-top:9px;font-size:11px}
.category-symbol{font-size:19px}
.offer-card:not(.offer-card-store) .offer-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
@media(max-width:700px){.store-offers .offer-card{grid-template-columns:1fr;gap:12px}.store-offers .offer-action{flex-direction:row}.store-offers .coupon-code{flex:0 1 auto}.store-offers .offer-action .btn{flex:1}.store-filters{margin-bottom:-7px}.store-filters a{padding:9px 12px;font-size:13px}}
@media(max-width:450px){.store-offers .offer-action{flex-direction:column}.store-offers .coupon-code{width:100%}}

/* v0.5: compact offer layout; advertising disclosures retain their existing sizing */
.store-offers { gap: 10px; }
.store-offers .offer-card { padding-top: 13px; padding-bottom: 12px; }
.store-offers .offer-main h3 { margin-top: 5px; margin-bottom: 4px; }
.store-offers .offer-desc { margin-top: 4px; margin-bottom: 5px; }
.store-offers .expiry { margin-top: 5px; }
.store-offers .offer-action { align-self: center; }
@media (max-width: 700px) { .store-offers .offer-card { padding: 14px; } }

/* v0.7: masked code preview, no full code in page source. Advertising text unchanged. */
.coupon-code-masked{position:relative;user-select:none;white-space:nowrap;letter-spacing:.13em;color:#607b9e;background:repeating-linear-gradient(115deg,#f0f5fc 0,#f0f5fc 7px,#e9f0fa 7px,#e9f0fa 14px);border-style:dashed}
.coupon-code-masked::before{content:"";position:absolute;inset:3px 31% 3px 4px;backdrop-filter:blur(2px);pointer-events:none;border-radius:5px}
.js-reveal-code:disabled{opacity:.7;cursor:wait}

/* v0.9: compact editorial FAQ and contextual internal links */
.seo-faq details{background:#fff;border:1px solid #e5eaf2;border-radius:12px;margin:10px 0;padding:15px 18px}
.seo-faq summary{cursor:pointer;font-weight:650}
.seo-faq details p{color:#475569;line-height:1.65;margin:12px 0 0}
.seo-links{display:flex;flex-wrap:wrap;gap:10px}
.seo-links a{display:inline-block;padding:10px 14px;background:#fff;border:1px solid #e5eaf2;border-radius:10px;text-decoration:none;color:#2563eb}
.seo-links a:hover{border-color:#93c5fd;background:#f8fbff}

/* Promoskop brand v0.9.3 */
.brand-logo{display:block;width:280px;height:auto;max-width:100%}
@media(max-width:600px){.brand-logo{width:215px}}

/* Unified coupon preview: blur only the hidden portion in all card layouts. */
.coupon-code-masked{display:inline-flex;align-items:center;justify-content:center;gap:0;white-space:nowrap;overflow:hidden}
.coupon-code-masked::before{content:none;display:none}
.coupon-code-hidden{display:inline-block;filter:blur(1.5px);opacity:.7;pointer-events:none}
.coupon-code-suffix{display:inline-block;filter:none;color:#375c90;letter-spacing:.06em}

/* /stores/ alphabet filter */
.store-alphabet{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 20px}
.store-alphabet a{display:inline-flex;align-items:center;justify-content:center;min-width:35px;padding:8px 10px;background:#fff;border:1px solid #dce5f2;border-radius:8px;color:#38506e;font-size:13px;font-weight:650}
.store-alphabet a:hover{border-color:#93b6f0;background:#f0f6ff}
.store-alphabet a[aria-current="page"]{background:#205ed7;border-color:#205ed7;color:#fff}
@media(max-width:650px){.store-alphabet{gap:5px}.store-alphabet a{min-width:32px;padding:7px 8px;font-size:12px}}
\n/* Last successful coupon feed sync */\n.footer-inner .sync-updated{margin-top:10px;font-size:12px;color:#64748b}\n
.sync-updated-icon{display:inline-block;vertical-align:-2px;margin-right:4px;flex-shrink:0}


/* Search suggestions: live merchant lookup */
.search-input{position:relative}
.search-suggestions{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:30;background:#fff;border:1px solid #dbe3ed;border-radius:11px;box-shadow:0 12px 30px #142c4b20;max-height:320px;overflow-y:auto;padding:5px}
.search-suggestions[hidden]{display:none}
.search-suggestions a{display:block;padding:11px 12px;color:#263d5b;border-radius:7px;font-size:14px;overflow-wrap:anywhere}
.search-suggestions a:hover,.search-suggestions a:focus{background:#edf4ff;color:#175cd3;outline:none}

/* Store pages: show SEO intro after coupon list on mobile only. */
@media (max-width:767px){
  .store-responsive-layout{display:flex;flex-direction:column}
  .store-responsive-layout > .seo-intro{order:3}
  .store-responsive-layout > .store-filters{order:1}
  .store-responsive-layout > .section:not(.seo-intro){order:2}
  .store-responsive-layout > .seo-faq,
  .store-responsive-layout > .seo-related{order:4}
}

/* Merchant name in coupon cards links to its internal store page. */
.offer-merchant-link{color:#667790;text-decoration:none;text-underline-offset:2px}
.offer-merchant-link:hover,.offer-merchant-link:focus-visible{color:#195bd5;text-decoration:underline}

/* Related active offers on merchant pages */
.related-offers-intro{margin:-.35rem 0 1rem}

/* Theme switcher — frontend only; light styles remain the default. */
.nav{position:relative}.theme-toggle{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border:1px solid #dbe3ed;border-radius:12px;background:#fff;color:#344b69;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.theme-toggle:hover{background:#edf4ff;border-color:#adc5eb}.theme-toggle:focus-visible{outline:3px solid #80aaff;outline-offset:2px}.theme-sun{display:none}html[data-theme="dark"] .theme-sun{display:block}html[data-theme="dark"] .theme-moon{display:none}
@media(max-width:650px){.nav{padding-right:70px}.theme-toggle{position:absolute;right:16px;top:13px;width:40px;height:40px}}
html[data-theme="dark"]{color-scheme:dark;background:#101827;color:#e7edf8}
html[data-theme="dark"] body{background:#101827;color:#e7edf8}
html[data-theme="dark"] a{color:#8fbaff}html[data-theme="dark"] a:hover{color:#bdd6ff}
html[data-theme="dark"] .top,html[data-theme="dark"] .foot{background:#151f30;border-color:#2a3950}
html[data-theme="dark"] .nav-links a{color:#c4d0e2}
html[data-theme="dark"] .hero-home{background:linear-gradient(115deg,#192d4b,#1a2941 55%,#192336);border-color:#344967}
html[data-theme="dark"] .category-tile,html[data-theme="dark"] .store-card,html[data-theme="dark"] .offer-card,html[data-theme="dark"] .seo-intro,html[data-theme="dark"] .seo-faq details,html[data-theme="dark"] .seo-links a,html[data-theme="dark"] .pagination a,html[data-theme="dark"] .store-alphabet a:not([aria-current="page"]){background:#1b283b;border-color:#33435b;color:#e7edf8}
html[data-theme="dark"] .category-tile:hover,html[data-theme="dark"] .store-card:hover{border-color:#678ac0;box-shadow:0 8px 24px #0004}
html[data-theme="dark"] .muted,html[data-theme="dark"] .offer-desc,html[data-theme="dark"] .seo-intro,html[data-theme="dark"] .seo-faq details p{color:#b4c3d8}
html[data-theme="dark"] .category-tile small,html[data-theme="dark"] .store-card-text small,html[data-theme="dark"] .offer-merchant,html[data-theme="dark"] .expiry,html[data-theme="dark"] .ad,html[data-theme="dark"] .footer-inner p,html[data-theme="dark"] .footer-inner .sync-updated,html[data-theme="dark"] .crumb{color:#9cacc4}
html[data-theme="dark"] .category-symbol,html[data-theme="dark"] .tag{background:#253e64;color:#b4d1ff}
html[data-theme="dark"] .search-input,html[data-theme="dark"] .search-suggestions,html[data-theme="dark"] .coupon-code,html[data-theme="dark"] .theme-toggle{background:#202f45;border-color:#40516a;color:#e7edf8}
html[data-theme="dark"] .search input,html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{color:#e7edf8}
html[data-theme="dark"] input::placeholder{color:#a6b5c9}
html[data-theme="dark"] .search-suggestions a{color:#dce8f8}html[data-theme="dark"] .search-suggestions a:hover,html[data-theme="dark"] .search-suggestions a:focus{background:#304563;color:#fff}
html[data-theme="dark"] .coupon-code-masked{background:repeating-linear-gradient(115deg,#273a55 0,#273a55 7px,#314662 7px,#314662 14px);color:#c3d7f2}
html[data-theme="dark"] .coupon-code-suffix{color:#b9d5ff}
html[data-theme="dark"] .store-logo,html[data-theme="dark"] .store-card-logo{background:#fff;border-color:#4a5b70}
html[data-theme="dark"] .notice{background:#433422;color:#ffe0a9}
html[data-theme="dark"] .seo-links a:hover,html[data-theme="dark"] .store-alphabet a:hover{background:#2b4262;border-color:#789bd2}
html[data-theme="dark"] .ad{border-color:#34445b}
html[data-theme="dark"] .theme-toggle:hover{background:#304563}
html[data-theme="dark"] .btn,html[data-theme="dark"] .store-alphabet a[aria-current="page"]{background:#326cdd;color:#fff}
html[data-theme="dark"] .btn:hover{background:#4c83ee}
html[data-theme="dark"] .adminform input,html[data-theme="dark"] .adminform textarea{background:#202f45;border-color:#40516a}

/* Dark theme refinements: brand contrast and store filter tabs */
.brand-logo-dark{display:none}
html[data-theme="dark"] .brand-logo-light{display:none}
html[data-theme="dark"] .brand-logo-dark{display:block}
html[data-theme="dark"] .store-filters a{background:#202f45;border-color:#40516a;color:#d6e3f5}
html[data-theme="dark"] .store-filters a span{color:#aabed9}
html[data-theme="dark"] .store-filters a:hover{background:#2b405d;border-color:#6685b4;color:#fff}
html[data-theme="dark"] .store-filters a.selected{background:#2858b7;border-color:#366bd0;color:#fff}
html[data-theme="dark"] .store-filters a.selected span{color:#e0ebff}
