/* Gnasher's Rigcast — fishing & gaming PC affiliate storefront.
   Light, friendly, fast: no frameworks, no webfonts, no build step. */

:root {
  --bg: #f6f4ef;
  --bg2: #ffffff;
  --card: #ffffff;
  --line: #e4e0d6;
  --txt: #161b22;
  --mut: #5e6a78;
  --fishing: #b45309;
  --gaming: #1d4e89;
  --ink: #12171f;
  --ok: #1f9d63;
  --radius: 14px;
  --head-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--txt);
  font: 15px/1.55 system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(10, 162, 214, .25); }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; }

/* ---------- per-page themed background designs ---------- */
body[data-page="featured"] {
  background-color: #f7f9fc;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='180'%3E%3Cpath d='M40 40 L43 49 L52 52 L43 55 L40 64 L37 55 L28 52 L37 49 Z' fill='%23f58a1f' fill-opacity='.14'/%3E%3Cpath d='M170 90 L173 99 L182 102 L173 105 L170 114 L167 105 L158 102 L167 99 Z' fill='%230aa2d6' fill-opacity='.13'/%3E%3Ccircle cx='110' cy='30' r='2' fill='%230aa2d6' fill-opacity='.18'/%3E%3Ccircle cx='205' cy='40' r='1.6' fill='%23f58a1f' fill-opacity='.16'/%3E%3Ccircle cx='30' cy='140' r='1.6' fill='%230aa2d6' fill-opacity='.14'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fdeede, rgba(253, 238, 222, 0) 420px);
  background-size: auto, 100% 420px;
  background-repeat: repeat, no-repeat;
}
body[data-page="fishing"] {
  background-color: #ecf5fb;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='44'%3E%3Cpath d='M0 22 Q20 10 40 22 T80 22 T120 22 T160 22' fill='none' stroke='%232f8dbb' stroke-opacity='.17' stroke-width='2.5'/%3E%3Cpath d='M0 36 Q20 26 40 36 T80 36 T120 36 T160 36' fill='none' stroke='%232f8dbb' stroke-opacity='.10' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #d9edf9, rgba(217, 237, 249, 0) 400px);
  background-size: auto, 100% 400px;
  background-repeat: repeat, no-repeat;
}
body[data-page="gaming"] {
  background-color: #eaf6fc;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Crect x='8' y='8' width='10' height='10' rx='2.5' fill='%230aa2d6' fill-opacity='.11'/%3E%3Crect x='46' y='24' width='10' height='10' rx='2.5' fill='%230aa2d6' fill-opacity='.07'/%3E%3Crect x='20' y='50' width='10' height='10' rx='2.5' fill='%230aa2d6' fill-opacity='.09'/%3E%3Ccircle cx='56' cy='56' r='2.6' fill='%23f58a1f' fill-opacity='.15'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ddf1fb, rgba(221, 241, 251, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="camping"] {
  background-color: #f3f8f1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='230' height='100'%3E%3Cpath d='M34 88 L48 30 L62 88 Z' fill='%23467a42' fill-opacity='.14'/%3E%3Cpath d='M150 100 L160 58 L170 100 Z' fill='%23467a42' fill-opacity='.08'/%3E%3Cpath d='M196 88 L222 88 L209 64 Z' fill='%23f58a1f' fill-opacity='.13'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #e9f3e4, rgba(233, 243, 228, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="anime"] {
  background-color: #fdf4f9;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='170'%3E%3Cpath d='M46 30 L49 39 L58 42 L49 45 L46 54 L43 45 L34 42 L43 39 Z' fill='%23e75fa8' fill-opacity='.13'/%3E%3Cpath d='M150 96 L153 105 L162 108 L153 111 L150 120 L147 111 L138 108 L147 105 Z' fill='%23946bd6' fill-opacity='.10'/%3E%3Ccircle cx='100' cy='20' r='1.8' fill='%23e75fa8' fill-opacity='.20'/%3E%3Ccircle cx='30' cy='120' r='1.5' fill='%23946bd6' fill-opacity='.18'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fbe9f3, rgba(251, 233, 243, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="horror"] {
  background-color: #f8f6fb;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='190'%3E%3Cpath d='M22 46 a16 16 0 0 1 32 0 v22 q-4-4-8 0 q-4 4-8 0 q-4-4-8 0 q-4 4-8 0 z' fill='%236b5d8e' fill-opacity='.10'/%3E%3Cpath d='M180 116 a10 10 0 0 1 20 0 v14 q-2.5-2.5-5 0 q-2.5 2.5-5 0 q-2.5-2.5-5 0 q-2.5 2.5-5 0 z' fill='%236b5d8e' fill-opacity='.06'/%3E%3Ccircle cx='120' cy='30' r='2' fill='%236b5d8e' fill-opacity='.12'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #efebf6, rgba(239, 235, 246, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="night"] {
  background-color: #eff2fa;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='250'%3E%3Ccircle cx='64' cy='52' r='24' fill='%238ea2d8' fill-opacity='.16'/%3E%3Ccircle cx='54' cy='42' r='3.4' fill='%238ea2d8' fill-opacity='.12'/%3E%3Ccircle cx='72' cy='60' r='2.4' fill='%238ea2d8' fill-opacity='.10'/%3E%3Cpath d='M190 40 L192.6 46.4 L199 49 L192.6 51.6 L190 58 L187.4 51.6 L181 49 L187.4 46.4 Z' fill='%238ea2d8' fill-opacity='.20'/%3E%3Ccircle cx='250' cy='110' r='2' fill='%238ea2d8' fill-opacity='.18'/%3E%3Ccircle cx='140' cy='160' r='1.6' fill='%238ea2d8' fill-opacity='.14'/%3E%3Ccircle cx='290' cy='190' r='1.8' fill='%238ea2d8' fill-opacity='.12'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #e2e9f6, rgba(226, 233, 246, 0) 440px);
  background-size: auto, 100% 440px;
  background-repeat: repeat, no-repeat;
}
body[data-page="lego"] {
  background-color: #fbf8f0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='28' cy='28' r='13' fill='%23d94b3a' fill-opacity='.12'/%3E%3Ccircle cx='92' cy='28' r='13' fill='%23e8b21f' fill-opacity='.13'/%3E%3Ccircle cx='28' cy='92' r='13' fill='%232f7fc4' fill-opacity='.10'/%3E%3Ccircle cx='92' cy='92' r='13' fill='%233f9455' fill-opacity='.10'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fbf0d3, rgba(251, 240, 211, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="collectables"] {
  background-color: #fcf8f1;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='210'%3E%3Cpath transform='translate(24,18) scale(1.2)' d='M12 2 L14.6 8.6 21.5 9.2 16.3 13.9 17.9 20.7 12 17 6.1 20.7 7.7 13.9 2.5 9.2 9.4 8.6 Z' fill='%23c9962b' fill-opacity='.13'/%3E%3Cpath transform='translate(160,110) scale(.8)' d='M12 2 L14.6 8.6 21.5 9.2 16.3 13.9 17.9 20.7 12 17 6.1 20.7 7.7 13.9 2.5 9.2 9.4 8.6 Z' fill='%23946bd6' fill-opacity='.08'/%3E%3Ccircle cx='120' cy='60' r='1.8' fill='%23c9962b' fill-opacity='.16'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f8eeda, rgba(248, 238, 218, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="deals"] {
  background-color: #fdf7ef;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='220'%3E%3Ctext x='30' y='70' font-family='Georgia,serif' font-size='44' fill='%23f58a1f' fill-opacity='.12'%3E%C2%A3%3C/text%3E%3Ctext x='180' y='150' font-family='Georgia,serif' font-size='34' fill='%231e9d63' fill-opacity='.10'%3E%C2%A3%3C/text%3E%3Crect x='190' y='30' width='74' height='36' rx='8' fill='none' stroke='%23f58a1f' stroke-opacity='.16' stroke-dasharray='7 5'/%3E%3Ccircle cx='227' cy='48' r='7' fill='none' stroke='%23f58a1f' stroke-opacity='.16'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #fcebd4, rgba(252, 235, 212, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}
body[data-page="about"] {
  background-color: #f7f9fc;
  background-image:
    radial-gradient(rgba(28, 39, 57, .05) 1px, rgba(28, 39, 57, 0) 1.4px),
    linear-gradient(120deg, #fdeede, rgba(253, 238, 222, 0) 42%),
    linear-gradient(240deg, #ddf1fb, rgba(221, 241, 251, 0) 42%);
  background-size: 26px 26px, 100% 100%, 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
}
body[data-page="disclosure"] {
  background-color: #f6f8fa;
  background-image: radial-gradient(rgba(28, 39, 57, .045) 1px, rgba(28, 39, 57, 0) 1.3px);
  background-size: 28px 28px;
}
body[data-page="membership"] {
  background-color: #f8f5fc;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='150'%3E%3Cpath transform='translate(44,38)' d='M0 -16 L16 0 L0 16 L-16 0 Z' fill='%238e5bd0' fill-opacity='.11'/%3E%3Cpath transform='translate(140,104)' d='M0 -10 L10 0 L0 10 L-10 0 Z' fill='%238e5bd0' fill-opacity='.07'/%3E%3Ccircle cx='100' cy='20' r='1.6' fill='%238e5bd0' fill-opacity='.16'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #efe8f9, rgba(239, 232, 249, 0) 360px);
  background-size: auto, 100% 360px;
  background-repeat: repeat, no-repeat;
}
body[data-page="account"] {
  background-color: #f7f6fc;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='160'%3E%3Cpath transform='translate(40,36)' d='M0 -12 L12 0 L0 12 L-12 0 Z' fill='%238e5bd0' fill-opacity='.09'/%3E%3Cpath transform='translate(150,110)' d='M0 -8 L8 0 L0 8 L-8 0 Z' fill='%230aa2d6' fill-opacity='.09'/%3E%3Ccircle cx='110' cy='30' r='1.5' fill='%238e5bd0' fill-opacity='.15'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ece9f7, rgba(236, 233, 247, 0) 340px);
  background-size: auto, 100% 340px;
  background-repeat: repeat, no-repeat;
}
body[data-page="premium"] {
  background-color: #fdf9ef;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200'%3E%3Cpath transform='translate(26,16) scale(1.1)' d='M12 2 L14.6 8.6 21.5 9.2 16.3 13.9 17.9 20.7 12 17 6.1 20.7 7.7 13.9 2.5 9.2 9.4 8.6 Z' fill='%23b8860b' fill-opacity='.13'/%3E%3Cpath transform='translate(160,104) scale(.7)' d='M12 2 L14.6 8.6 21.5 9.2 16.3 13.9 17.9 20.7 12 17 6.1 20.7 7.7 13.9 2.5 9.2 9.4 8.6 Z' fill='%23b8860b' fill-opacity='.09'/%3E%3Ccircle cx='120' cy='40' r='1.8' fill='%23b8860b' fill-opacity='.18'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #f8ecc8, rgba(248, 236, 200, 0) 360px);
  background-size: auto, 100% 360px;
  background-repeat: repeat, no-repeat;
}
body[data-page="tools"] {
  background-color: #eef5fb;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36'%3E%3Cpath d='M0 .5 H36 M.5 0 V36' fill='none' stroke='%230aa2d6' stroke-opacity='.13'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #ddf0fb, rgba(221, 240, 251, 0) 380px);
  background-size: auto, 100% 380px;
  background-repeat: repeat, no-repeat;
}

/* ---------- header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 10px clamp(14px, 4vw, 40px);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;
  white-space: nowrap;
}
.logo b {
  background: linear-gradient(90deg, var(--fishing), var(--gaming));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-head nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-head nav a {
  text-decoration: none;
  color: var(--mut);
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.site-head nav a:hover { color: var(--txt); background: var(--bg2); }
.site-head nav a.active { color: var(--txt); background: var(--bg2); border: 1px solid var(--line); }

.searchbox { margin-left: auto; position: relative; min-width: 200px; flex: 0 1 320px; }
.searchbox input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--txt);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.searchbox input::placeholder { color: #5c7092; }
.searchbox input:focus { border-color: var(--gaming); box-shadow: 0 0 0 3px rgba(10, 162, 214, .15); }
.searchbox::before {
  content: "\1F50D";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  opacity: .7;
  pointer-events: none;
}
.search-stack {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 1 320px;
  min-width: 200px;
}
.search-stack .searchbox { margin-left: 0; width: 100%; min-width: 0; flex: none; }
.search-stack .visitcount { margin: 6px 0 0; align-self: flex-end; }
.visitcount {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
  font-size: .85rem;
  color: #f6f3ec;
  padding: 6px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: #12171f;
  line-height: 1.2;
}
.shop-top {
  flex: 1 0 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  order: -1;
}
.shop-top .scan { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 240px; }
.shop-top .scan label { font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.shop-top .scan input { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; min-width: 140px; }
.shop-top .scan button { border: 0; border-radius: 999px; padding: 7px 12px; background: var(--ink); color: #fff; cursor: pointer; }
.shop-top .scan-out { flex: 1 0 100%; margin: 0; font-size: 13px; }
.offer-row { flex: 1 0 100%; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.offer-row a { flex: 0 0 auto; color: #f6f3ec; text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 10px; font-size: 12px; }
.visitcount i, .vc i { display: block; font-style: normal; font-size: 11px; font-weight: 600; opacity: .8; }
.foot-base .vc { color: inherit; }
.foot-base .vc b { font-weight: 800; }

/* ---------- top-right corner buttons ---------- */
.top-right-btns { margin-left: auto; }
.btn-top {
  position: relative;
  z-index: 52;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--fishing);
  background: rgba(245, 138, 31, .08);
  color: var(--fishing);
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn-top:hover { transform: translateY(-2px); background: rgba(245, 138, 31, .18); border-color: var(--fishing); }

/* ---------- notice strip ---------- */
.notice {
  background: linear-gradient(90deg, rgba(255, 159, 67, .16), rgba(10, 162, 214, .12));
  border-bottom: 1px solid var(--line);
  color: var(--mut);
  font-size: .82rem;
  text-align: center;
  padding: 7px 14px;
}
.notice b { color: var(--txt); font-weight: 600; }
.notice a { color: var(--gaming); text-decoration: underline; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 8vw, 90px) clamp(16px, 5vw, 48px) clamp(30px, 5vw, 56px);
  text-align: center;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
  pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px;
  background: #f58a1f40;
  top: -220px; left: -120px;
}
.hero::after {
  width: 520px; height: 520px;
  background: #0aa2d633;
  top: -180px; right: -140px;
}
.hero h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.5px;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--fishing), var(--gaming));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  position: relative;
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--mut);
  font-size: clamp(.95rem, 2.3vw, 1.12rem);
}
.hero .cta-row {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.cat-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 860px;
  margin: clamp(34px, 6vw, 60px) auto 0;
}
.cat-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 210px;
  padding: 22px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile .big { font-size: 2.6rem; }
.cat-tile h2 { margin: 0; font-size: 1.4rem; color: #fff; }
.cat-tile p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.cat-tile.tile-fishing:hover { border-color: var(--fishing); box-shadow: 0 14px 44px -18px rgba(255, 159, 67, .5); }
.cat-tile.tile-gaming:hover { border-color: var(--gaming); box-shadow: 0 14px 44px -18px rgba(10, 162, 214, .45); }

/* ---------- sections ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px) clamp(14px, 4vw, 40px);
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.section-head h2 { margin: 0; font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.section-head a { color: var(--mut); font-size: .88rem; text-decoration: none; }
.section-head a:hover { color: var(--gaming); }

.pagehead {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 50px) clamp(14px, 4vw, 40px) 4px;
}
.pagehead h1 { margin: 0 0 6px; font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.pagehead p { margin: 0; color: var(--mut); max-width: 720px; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
.how-steps .step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: left;
}
.how-steps .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  font-weight: 800;
  color: #06121a;
  background: linear-gradient(135deg, var(--fishing), var(--gaming));
  margin-bottom: 10px;
}
.how-steps h3 { margin: 0 0 6px; font-size: 1.02rem; }
.how-steps p { margin: 0; color: var(--mut); font-size: .9rem; }

/* ---------- chips & filters ---------- */
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 6px;
  padding: 0 clamp(14px, 4vw, 40px);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.chipbtn {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--mut);
  cursor: pointer;
  font-size: .84rem;
  transition: color .15s, border-color .15s, background .15s;
}
.chipbtn:hover { color: var(--txt); }
.chipbtn.active {
  color: #06121a;
  font-weight: 700;
  background: linear-gradient(135deg, var(--fishing), var(--gaming));
  border-color: transparent;
}

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 0 clamp(14px, 4vw, 40px);
}
.grid.company-stack { display: block; max-width: none; padding: 0; }
.company-jump {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 1180px;
  margin: 0 auto 4px;
  padding: 2px clamp(14px, 4vw, 40px) 8px;
}
.company-jump a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--txt);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
}
.brand-main {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 1180px;
  margin: 8px auto 0;
  padding: 4px clamp(14px, 4vw, 40px) 0;
}
.brand-main a {
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-decoration: none;
  background: #12171f;
  color: #fff;
  border-radius: 16px;
  padding: 16px 18px;
  min-width: 132px;
  font-weight: 800;
  font-size: 1.05rem;
  border-bottom: 5px solid transparent;
}
.brand-main a.active { outline: 3px solid #fff; outline-offset: 2px; }
.company-block[data-co] {
  border-top: 8px solid var(--co, #1f9d63);
  background: linear-gradient(180deg, var(--co-soft, #f4f7f5) 0, #fff 150px);
}
.company-block[data-co] > h2 { color: var(--co-ink, #12171f); }
.company-jump a[data-co],
.brand-main a[data-co] { background: var(--co, #12171f); color: var(--co-on, #fff); }
.company-block[data-co="esim-for-u"], .company-jump a[data-co="esim-for-u"], .brand-main a[data-co="esim-for-u"] { --co: #0e8f86; --co-soft: #e5f7f5; --co-ink: #0b5c57; }
.company-block[data-co="1pmobile"], .company-jump a[data-co="1pmobile"], .brand-main a[data-co="1pmobile"] { --co: #2f9e44; --co-soft: #e9f8ec; --co-ink: #1b6b2c; }
.company-block[data-co="gnasher-s-internet"], .company-jump a[data-co="gnasher-s-internet"], .brand-main a[data-co="gnasher-s-internet"] { --co: #111827; --co-soft: #e7f6ee; --co-ink: #111827; }
.company-block[data-co="three"], .company-jump a[data-co="three"], .brand-main a[data-co="three"] { --co: #e20074; --co-soft: #fde8f3; --co-ink: #9d0052; }
.company-block[data-co="o2"], .company-jump a[data-co="o2"], .brand-main a[data-co="o2"] { --co: #0019a5; --co-soft: #e7eaf8; --co-ink: #0019a5; }
.company-block[data-co="tesco-mobile"], .company-jump a[data-co="tesco-mobile"], .brand-main a[data-co="tesco-mobile"] { --co: #00539f; --co-soft: #e6f0fa; --co-ink: #00539f; }
.company-block[data-co="ee"], .company-jump a[data-co="ee"], .brand-main a[data-co="ee"] { --co: #00947a; --co-soft: #fff8cc; --co-ink: #06705c; --co-on: #111; }
.company-block[data-co="apple"], .company-jump a[data-co="apple"], .brand-main a[data-co="apple"] { --co: #1d1d1f; --co-soft: #f3f3f4; --co-ink: #1d1d1f; }
.company-block[data-co="samsung"], .company-jump a[data-co="samsung"], .brand-main a[data-co="samsung"] { --co: #1428a0; --co-soft: #e8ebf8; --co-ink: #1428a0; }
.company-block[data-co="google"], .company-jump a[data-co="google"], .brand-main a[data-co="google"] { --co: #1a73e8; --co-soft: #e8f0fe; --co-ink: #174ea6; }
.company-block[data-co="motorola"], .company-jump a[data-co="motorola"], .brand-main a[data-co="motorola"] { --co: #001e60; --co-soft: #e7eef8; --co-ink: #001e60; }
.company-block[data-co="xiaomi"], .company-jump a[data-co="xiaomi"], .brand-main a[data-co="xiaomi"] { --co: #ff6900; --co-soft: #fff1e6; --co-ink: #c24100; }
.company-block[data-co="honor"], .company-jump a[data-co="honor"], .brand-main a[data-co="honor"] { --co: #111; --co-soft: #f6f1e6; --co-ink: #111; }
.company-block[data-co="nothing"], .company-jump a[data-co="nothing"], .brand-main a[data-co="nothing"] { --co: #d71921; --co-soft: #f7f7f7; --co-ink: #111; }
.company-block[data-co="oneplus"], .company-jump a[data-co="oneplus"], .brand-main a[data-co="oneplus"] { --co: #eb0028; --co-soft: #fde8eb; --co-ink: #a3001c; }
.company-block[data-co="sony"], .company-jump a[data-co="sony"], .brand-main a[data-co="sony"] { --co: #000; --co-soft: #f2f2f2; --co-ink: #000; }
.company-block[data-co="ee"] { border-top-color: #ffe600; box-shadow: inset 0 8px 0 #00947a; }
.company-block[data-co="tesco-mobile"] { box-shadow: inset 8px 0 0 #ee1c2e; }
.company-block { scroll-margin-top: 210px; margin-bottom: 8px; }
.company-main {
  max-width: 1180px;
  margin: 22px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px 0 18px;
}
.company-main > .brand-kicker {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 40px);
  color: var(--mut);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.company-main > h2 { font-size: 2rem; margin-top: 2px; }
.brand-logo { height: 46px; width: auto; vertical-align: middle; margin-right: 10px; background: #fff; border-radius: 8px; }
.company-block > h2 {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 clamp(14px, 4vw, 40px);
  font-size: 1.35rem;
}
.company-block > .grid { margin-top: 8px; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px -22px rgba(23, 43, 77, .45);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: #b9c9de;
  box-shadow: 0 16px 40px -20px rgba(23, 43, 77, .25);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media .glyph { width: 68px; height: 68px; color: #ffffffcc; }
/* product photo overlay + live-price chip (data/imgs.js from tools/rigtoolkit.mjs) */
.card-media { overflow: hidden; }
.card-media .prod-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px 16px 28px; display: block; background: #f7f9fc; }
.card-media .badge { z-index: 2; }
.card-media .live-price { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(5, 9, 14, .6); border: 1px solid rgba(61, 214, 255, .25); color: #9fd8e6; font-size: .72rem; font-weight: 700; }
.media-fishing { background: linear-gradient(135deg, #3a2410, #57351c 55%, #7a4c26); }
.media-gaming  { background: linear-gradient(135deg, #0c2a3a, #123d54 55%, #1b5471); }
.media-camping { background: linear-gradient(135deg, #142e1c, #1e4a30 55%, #2c6b45); }
.tile-camping  { background: linear-gradient(135deg, #142e1c, #2c6b45); }
.media-night   { background: linear-gradient(135deg, #0b1029, #1a2050 55%, #2b2f66); }
.tile-night    { background: linear-gradient(135deg, #0b1029, #2b2f66); }
.media-lego    { background: linear-gradient(135deg, #331111, #5c1c1c 55%, #8a2a2a); }
.tile-lego     { background: linear-gradient(135deg, #331111, #8a2a2a); }
.media-collectables { background: linear-gradient(135deg, #33270f, #6b4d17 55%, #9c7a2a); }
.tile-collectables  { background: linear-gradient(135deg, #33270f, #9c7a2a); }
.media-toys    { background: linear-gradient(135deg, #3a1230, #701a5c 55%, #b02e86); }
.tile-toys     { background: linear-gradient(135deg, #3a1230, #b02e86); }
.tile-tools     { background: linear-gradient(135deg, #10202b, #35586b 55%, #6a8a99); }
.tile-anime    { background: linear-gradient(135deg, #2a1440, #6a3aa0); }
.tile-horror   { background: linear-gradient(135deg, #17090e, #7a1f2f); }
.media-anime   { background: linear-gradient(135deg, #2a1440, #4a2670 55%, #6a3aa0); }
.media-horror  { background: linear-gradient(135deg, #17090e, #3a1020 55%, #6b1e2e); }
.media-geek, .tile-geek { background: linear-gradient(135deg, #24143d, #6d3cc4); }
.media-mobile, .tile-mobile { background: linear-gradient(135deg, #10243a, #1f7a8c); }
.media-outlet, .tile-outlet { background: linear-gradient(135deg, #3a2410, #c46a1a); }
.media-electrical, .tile-electrical { background: linear-gradient(135deg, #1a2438, #3d6cb5); }
body[data-page="geek"] { background: linear-gradient(180deg, #f3e9ff, #f7f9fc 420px); }
body[data-page="holiday"] {
  background-color: #fbf6ee;
  background-image: linear-gradient(180deg, #f8ead6, #f7f9fc 420px);
}
body[data-page="travel"] {
  background-color: #f4f7fb;
  background-image: linear-gradient(180deg, #e7eef8, #f7f9fc 420px);
}
body[data-page="mobile"] {
  background-color: #e7f6f4;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='80'%3E%3Crect x='12' y='18' width='28' height='44' rx='6' fill='none' stroke='%230e8f86' stroke-opacity='.18' stroke-width='2'/%3E%3Crect x='90' y='10' width='22' height='36' rx='5' fill='none' stroke='%232f9e44' stroke-opacity='.16' stroke-width='2'/%3E%3Ccircle cx='150' cy='28' r='10' fill='none' stroke='%230019a5' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #d8f3ef, #f7f9fc 460px);
  background-size: auto, 100% 460px;
  background-repeat: repeat, no-repeat;
}
body[data-page="electrical"] { background: linear-gradient(180deg, #e7eefb, #f7f9fc 420px); }
body[data-page="outlet"] { background: linear-gradient(180deg, #fff1e4, #f7f9fc 420px); }

/* deal finder */
.deal-badge { position: absolute; bottom: 10px; left: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: #b3261e; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .4px; }
.coupon-badge { position: absolute; top: 10px; right: 10px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: #1e7a46; color: #eafff3; font-size: .68rem; font-weight: 800; letter-spacing: .3px; }
.dealfinder { margin: 0 auto; padding: 14px 18px 0; max-width: 1200px; }
.dealfinder h3 { margin: 0 0 8px; font-size: .95rem; color: #b45309; }
.deal-row { display: flex; gap: 10px; flex-wrap: wrap; }
.deal-card { flex: 1 1 200px; max-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; text-decoration: none; color: inherit; display: flex; align-items: center; gap: 10px; }
.deal-card:hover { border-color: var(--gaming); }
.d-thumb { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; background: #e7edf5; flex: 0 0 auto; }
.d-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.d-name { font-weight: 700; font-size: .8rem; color: var(--txt); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-live { font-size: .78rem; color: #0a7ea4; }
.d-save { font-size: .78rem; font-weight: 800; color: #0e8a4d; }
.d-note { margin: 8px 0 0; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(5, 9, 14, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #dfe8f7;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
  flex: 1;
}
.card-body h3 { margin: 0; font-size: 1.02rem; line-height: 1.3; }
.card-body p { margin: 0; color: var(--mut); font-size: .86rem; flex: 1; }
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.price { font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.price.live { color: var(--txt); }
.price.live i { display: block; margin-top: 2px; font-style: normal; font-size: .58rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--mut); }
.price.muted { font-size: .78rem; font-weight: 700; color: var(--mut); }
.d-voucher { color: #0e8a4d; font-weight: 700; }
.btns { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--txt);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s, transform .12s, border-color .15s;
}
.btn:hover { background: #eef3fa; border-color: #b9c9de; transform: translateY(-1px); }
.btn .ext { font-size: .72rem; opacity: .7; }
.btn.paid {
  background: linear-gradient(135deg, rgba(53, 208, 127, .2), rgba(53, 208, 127, .08));
  border-color: var(--ok);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 0;
  color: #06121a;
  font-weight: 800;
  font-size: .95rem;
  text-decoration: none;
  background: linear-gradient(135deg, var(--fishing), var(--gaming));
  transition: transform .15s, box-shadow .15s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgba(61, 214, 255, .55); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--txt);
  background: rgba(255, 255, 255, .03);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.btn-ghost:hover { background: var(--bg2); border-color: #b9c9de; }

.empty, .muted { color: var(--mut); }
.small { font-size: .82rem; }
.count-line {
  max-width: 1180px;
  margin: 12px auto 0;
  padding: 0 clamp(14px, 4vw, 40px);
}

/* ---------- about / static pages ---------- */
.prose {
  max-width: 760px;
  padding: 0 clamp(14px, 4vw, 40px);
}
.prose p, .prose li { color: #3a4a61; }
.prose h2 { margin: 26px 0 8px; font-size: 1.15rem; }
.prose ul { padding-left: 20px; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: clamp(30px, 6vw, 60px);
  background: rgba(16, 32, 60, .045);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px clamp(14px, 4vw, 40px);
}
.foot-grid h4 { margin: 0 0 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mut); }
.foot-grid p { margin: 0; color: var(--mut); font-size: .88rem; max-width: 380px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-grid a { color: #3d5273; text-decoration: none; font-size: .9rem; }
.foot-grid a:hover { color: var(--gaming); }
.foot-base {
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--mut);
  font-size: .78rem;
  padding: 14px 20px 20px;
}

/* ---------- money-off coupon search (deals page) ---------- */
.coupon-search {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px clamp(14px, 4vw, 40px) 0;
}
.coupon-search h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.cs-sub { margin: 0 0 16px; color: var(--mut); max-width: 720px; }
.cs-bar { display: flex; }
.cs-bar input {
  flex: 1;
  min-width: 0;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--txt);
  font-size: 1rem;
}
.cs-bar input::placeholder { color: var(--mut); }
.cs-bar input:focus {
  outline: none;
  border-color: var(--gaming);
  box-shadow: 0 0 0 3px rgba(10, 162, 214, .18);
}
.cs-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 0; }
.coupon-search .grid { margin: 16px 0 0; padding: 0; }
.coupon-search .count-line { margin: 12px 0 0; padding: 0; }
.cs-note { margin: 10px 0 0; }
.deals-browse {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 44px) clamp(14px, 4vw, 40px) 0;
}
.deals-browse h2 { margin: 0 0 6px; font-size: clamp(1.3rem, 3.5vw, 1.7rem); }
.deals-browse p { margin: 0; color: var(--mut); max-width: 720px; }

/* ---------- homepage savings band ---------- */
.homedeals {
  position: relative;
  max-width: 980px;
  margin: clamp(26px, 5vw, 40px) auto 0;
  text-align: left;
}
.hd-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hd-head h2 { margin: 0; font-size: clamp(1.2rem, 3.2vw, 1.5rem); }
.hd-head a { color: var(--mut); font-size: .88rem; text-decoration: none; }
.hd-head a:hover { color: var(--gaming); }
.homedeals > .muted { margin: 10px 0 0; }

/* ---------- deal of the day ---------- */
.dotd {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4px clamp(14px, 4vw, 40px) 0;
}
.dotd-card {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 18px 22px;
  background: linear-gradient(var(--card), var(--card)) padding-box,
              linear-gradient(120deg, var(--fishing), var(--gaming)) border-box;
  border: 2px solid transparent;
  border-radius: var(--radius);
}
.dotd-img { width: 170px; height: 128px; object-fit: cover; border-radius: 10px; background: #e7edf5; flex: 0 0 auto; }
.dotd-info { min-width: 0; text-align: left; }
.dotd-kicker { margin: 0 0 4px; font-size: .72rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fishing); }
.dotd-info h3 { margin: 0 0 8px; font-size: clamp(1.05rem, 2.6vw, 1.3rem); line-height: 1.3; }
.dotd-price { margin: 0 0 6px; font-size: 1.05rem; }
.dotd-price s { color: var(--mut); margin-right: 6px; }
.dotd-price b { font-size: 1.25rem; }
.dotd-save {
  padding: 3px 10px;
  border-radius: 999px;
  background: #b3261e;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .4px;
  white-space: nowrap;
}
.dotd-voucher { margin: 0 0 10px; color: #0e8a4d; font-size: .88rem; font-weight: 700; }
.dotd-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.dotd-timer { color: var(--mut); font-size: .82rem; }
.dotd-timer b { color: var(--gaming); }
@media (max-width: 640px) {
  .dotd-card { flex-direction: column; gap: 12px; }
  .dotd-img { width: 100%; height: 170px; }
  .dotd-info { text-align: center; width: 100%; }
  .dotd-cta { justify-content: center; }
}

/* ---------- recently viewed ---------- */
.recentbar {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(14px, 4vw, 40px);
}
.recentbar .hd-head { margin: 14px 0 10px; }

/* ---------- misc ---------- */
:focus-visible { outline: 2px solid var(--gaming); outline-offset: 2px; border-radius: 6px; }
@media (max-width: 760px) {
  .cat-tiles { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .search-stack { order: 3; flex: 1 1 auto; margin-left: 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- 2026-11-14 visual pass ---------- */
body,
body[data-page="featured"],
body[data-page="fishing"],
body[data-page="gaming"],
body[data-page="camping"],
body[data-page="anime"],
body[data-page="horror"],
body[data-page="night"],
body[data-page="lego"],
body[data-page="collectables"],
body[data-page="deals"],
body[data-page="about"],
body[data-page="disclosure"],
body[data-page="membership"],
body[data-page="account"],
body[data-page="premium"],
body[data-page="tools"],
body[data-page="geek"],
body[data-page="mobile"],
body[data-page="electrical"],
body[data-page="outlet"],
body[data-page="toys"] {
  font: 15px/1.5 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--txt);
}

.site-head {
  background: var(--ink);
  color: #f6f3ec;
  border-bottom: 0;
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .8);
  padding: 14px clamp(16px, 3vw, 40px) 8px;
}
.logo { color: #f6f3ec; letter-spacing: -.02em; font-size: 1.15rem; }
.logo img { height: 52px; width: auto; background: #fff; border-radius: 10px; }
.logo b {
  background: none;
  color: #f6f3ec;
  -webkit-text-fill-color: #f6f3ec;
}
.site-head nav {
  flex: 1 1 100%;
  order: 8;
  gap: 2px;
  margin: 2px -4px 0;
  padding-bottom: 6px;
}
.site-head nav a {
  color: #c9d0d8;
  font-size: .78rem;
  font-weight: 650;
  padding: 6px 10px;
}
.site-head nav a:hover,
.site-head nav a.active {
  color: #fff;
  background: #222a36;
  border-color: transparent;
}
.searchbox input {
  background: #1c2430;
  border-color: #2c3644;
  color: #f6f3ec;
}
.searchbox input::placeholder { color: #8b97a6; }
.searchbox input:focus { border-color: #d6d0c4; box-shadow: 0 0 0 3px rgba(246, 243, 236, .12); }
.btn-top {
  background: #f6f3ec;
  color: var(--ink);
  border-color: #f6f3ec;
  font-weight: 750;
}
.btn-top:hover { background: #fff; color: var(--ink); border-color: #fff; }

.notice {
  background: #f6f3ec;
  color: #4b5563;
  border-bottom: 1px solid #e7e1d4;
  font-size: .8rem;
  letter-spacing: .01em;
}
.notice a { color: var(--ink); }

.hero { padding-top: clamp(36px, 6vw, 64px); }
.hero::before, .hero::after { display: none; }
.hero h1 {
  letter-spacing: -.045em;
  font-weight: 760;
}
.hero h1 span {
  background: none;
  color: #9a3412;
  -webkit-text-fill-color: #9a3412;
}
.btn-primary {
  background: var(--ink);
  color: #f6f3ec;
  border: 0;
  box-shadow: none;
}
.btn-primary:hover { background: #2a3340; box-shadow: none; }
.btn-ghost {
  background: #fff;
  border-color: #ddd6c8;
  color: var(--ink);
}

.cat-tiles {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1180px;
  gap: 12px;
}
.cat-tile,
.cat-tile.tile-fishing,
.cat-tile.tile-gaming,
.cat-tile.tile-camping,
.cat-tile.tile-anime,
.cat-tile.tile-horror,
.cat-tile.tile-night,
.cat-tile.tile-lego,
.cat-tile.tile-toys,
.cat-tile.tile-collectables,
.cat-tile.tile-tools,
.cat-tile.tile-geek,
.cat-tile.tile-mobile,
.cat-tile.tile-electrical,
.cat-tile.tile-outlet {
  min-height: 0;
  justify-content: flex-start;
  gap: 6px;
  padding: 16px 16px 14px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e7e1d4;
  box-shadow: 0 1px 2px rgba(18, 23, 31, .04);
}
.cat-tile h2 { color: var(--ink); font-size: 1.02rem; letter-spacing: -.02em; }
.cat-tile p { color: var(--mut); font-size: .84rem; }
.cat-tile .big { font-size: 1.35rem; }
.cat-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #1d4e89;
}
.tile-fishing::before { background: #b45309; }
.tile-gaming::before { background: #1d4e89; }
.tile-camping::before { background: #3f6b4a; }
.tile-anime::before { background: #7c3aed; }
.tile-horror::before { background: #7f1d1d; }
.tile-night::before { background: #312e81; }
.tile-lego::before { background: #b91c1c; }
.tile-toys::before { background: #9d174d; }
.tile-collectables::before { background: #a16207; }
.tile-geek::before { background: #6d28d9; }
.tile-mobile::before { background: #0f766e; }
.tile-electrical::before { background: #1e40af; }
.tile-outlet::before { background: #c2410c; }
.tile-tools::before { background: #334155; }
.cat-tile:hover {
  transform: translateY(-2px);
  border-color: #d4ccbc;
  box-shadow: 0 12px 28px -18px rgba(18, 23, 31, .45);
}

.pagehead h1, .section-head h2, .hd-head h2 { letter-spacing: -.03em; }
.chipbtn.active {
  background: var(--ink);
  color: #f6f3ec;
  border-color: var(--ink);
}
.card {
  border-radius: 12px;
  border-color: #e7e1d4;
  box-shadow: 0 1px 2px rgba(18, 23, 31, .05);
}
.card:hover { border-color: #d4ccbc; box-shadow: 0 14px 30px -20px rgba(18, 23, 31, .4); }
.card-media { aspect-ratio: 1 / 1; background: #fff; }
.card-media .prod-img { background: #fff; padding: 22px 18px 28px; }
.card-body h3 { letter-spacing: -.02em; }
.price { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.btn.paid {
  background: var(--ink);
  color: #f6f3ec;
  border-color: var(--ink);
}
.btn.paid:hover { background: #2a3340; border-color: #2a3340; }
.how-steps .step { border-color: #e7e1d4; border-radius: 12px; }
.how-steps .num { background: var(--ink); color: #f6f3ec; }
.deal-card, .dotd-card { border-color: #e7e1d4; border-radius: 12px; }

.site-foot {
  background: var(--ink);
  color: #c5ced6;
  border-top: 0;
  margin-top: 24px;
}
.foot-grid h4 { color: #f6f3ec; letter-spacing: .12em; }
.foot-grid p, .foot-grid a, .foot-base { color: #9aa6b2; }
.foot-grid a:hover { color: #fff; }
.foot-base { border-top: 1px solid #242c38; }

@keyframes gn-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
@keyframes gn-drop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes gn-pop {
  from { opacity: 0; transform: scale(.92); }
  to { opacity: 1; transform: none; }
}
@keyframes gn-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes gn-shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
body[data-page="mobile"] .site-head { animation: gn-drop .45s ease both; }
body[data-page="mobile"] .logo img { animation: gn-float 3.4s ease-in-out infinite; }
body[data-page="mobile"] .notice,
body[data-page="mobile"] .pagehead { animation: gn-rise .5s ease both; }
body[data-page="mobile"] .pagehead { animation-delay: .08s; }
body[data-page="mobile"] .chipbtn,
body[data-page="mobile"] .company-jump a { animation: gn-pop .4s ease both; }
body[data-page="mobile"] .chipbtn:nth-child(2),
body[data-page="mobile"] .company-jump a:nth-child(2) { animation-delay: .05s; }
body[data-page="mobile"] .chipbtn:nth-child(3),
body[data-page="mobile"] .company-jump a:nth-child(3) { animation-delay: .1s; }
body[data-page="mobile"] .chipbtn:nth-child(4),
body[data-page="mobile"] .company-jump a:nth-child(4) { animation-delay: .15s; }
body[data-page="mobile"] .chipbtn:nth-child(5),
body[data-page="mobile"] .company-jump a:nth-child(5) { animation-delay: .2s; }
body[data-page="mobile"] .chipbtn:nth-child(6),
body[data-page="mobile"] .company-jump a:nth-child(6) { animation-delay: .25s; }
body[data-page="mobile"] .dotd-card,
body[data-page="mobile"] .company-block,
body[data-page="mobile"] .card,
body[data-page="mobile"] .pay-card {
  animation: gn-rise .6s cubic-bezier(.2, .7, .2, 1) both;
}
body[data-page="mobile"] .grid .card:nth-child(2),
body[data-page="mobile"] .pay-grid .pay-card:nth-child(2) { animation-delay: .06s; }
body[data-page="mobile"] .grid .card:nth-child(3),
body[data-page="mobile"] .pay-grid .pay-card:nth-child(3) { animation-delay: .12s; }
body[data-page="mobile"] .grid .card:nth-child(4),
body[data-page="mobile"] .pay-grid .pay-card:nth-child(4) { animation-delay: .18s; }
body[data-page="mobile"] .grid .card:nth-child(5) { animation-delay: .24s; }
body[data-page="mobile"] .grid .card:nth-child(6) { animation-delay: .3s; }
body[data-page="mobile"] .grid .card:nth-child(7) { animation-delay: .36s; }
body[data-page="mobile"] .grid .card:nth-child(8) { animation-delay: .42s; }
body[data-page="mobile"] .card:hover { transition: transform .2s ease, box-shadow .2s ease; }
body[data-page="mobile"] .btn-primary {
  background-image: linear-gradient(100deg, #12171f 0%, #2c3a4d 40%, #12171f 80%);
  background-size: 200% 100%;
  animation: gn-shine 3.2s linear infinite;
}
body[data-page="mobile"] .qr-box { animation: gn-pop .45s ease both; }

@media (max-width: 980px) {
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cat-tiles { grid-template-columns: 1fr; }
  .site-head nav a { font-size: .74rem; padding: 6px 8px; }
}

/* Compact black header: one tool row, one shop row. */
.site-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "search search"
    "tools tools"
    "logo nav";
  align-items: center;
  column-gap: 12px;
  row-gap: 10px;
  padding: 12px clamp(16px, 2vw, 32px);
}
.site-head .shop-top {
  grid-area: tools;
  position: relative;
  flex: none;
  order: 0;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  overflow: visible;
}
.site-head .shop-top .scan { flex: 0 0 auto; flex-wrap: nowrap; gap: 8px; align-items: center; }
.site-head .shop-top .scan label { font-size: 11px; white-space: nowrap; }
.site-head .shop-top .scan input {
  width: 124px;
  min-width: 0;
  padding: 4px 10px;
  background: #1c2430;
  color: #f6f3ec;
  border-color: #2c3644;
}
.site-head .shop-top .scan button { padding: 4px 10px; background: #f6f3ec; color: var(--ink); }
.site-head .shop-top .scan-out:empty { display: none; }
.site-head .shop-top .scan-out:not(:empty) {
  position: absolute;
  left: 0;
  top: calc(100% + 4px);
  z-index: 70;
  width: min(420px, 80vw);
  background: #111827;
  color: #f6f3ec;
  padding: 8px 12px;
  border-radius: 10px;
}
.site-head .logo { grid-area: logo; font-size: 1rem; }
.site-head .logo img { height: 34px; border-radius: 8px; }
.site-head nav {
  grid-area: nav;
  flex: none;
  order: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.site-head nav a { padding: 8px 10px; line-height: 1; }
.site-head .search-stack {
  grid-area: search;
  flex-direction: row;
  align-items: center;
  margin: 0;
  min-width: 0;
  flex: none;
  width: 100%;
  gap: 8px;
}
.site-head .search-stack .searchbox { flex: 1 1 auto; width: auto; min-width: 0; }
.site-head .searchbox input { padding: 6px 10px 6px 30px; }
.site-head .visitcount { flex-direction: row; gap: 6px; padding: 4px 8px; font-size: .75rem; }
.site-head .visitcount i { display: none; }
@media (max-width: 800px) {
  .site-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "search"
      "tools"
      "logo"
      "nav";
  }
  .site-head .search-stack .searchbox { width: auto; flex: 1; }
}