/* ===================================================
   theme.css — the NEW look (loaded after style.css,
   so anything here wins over style.css)
   Light, faded South African photos behind everything,
   one tidy font pair on every page.
   =================================================== */

:root {
  --mist:   #f2f5f1;   /* shown while photos load */
  --paper:  #ffffff;   /* panels */
  --ink:    #102a1e;   /* text: deep bottle green */
  --muted:  #4f6157;   /* secondary text */
  --line:   #dbe3dc;   /* dividers and borders */
  --gold:   #ffb612;   /* SA flag gold */
  --green:  #007a4d;   /* lekker */
  --red:    #de3831;   /* gatvol */
  --slider: linear-gradient(90deg, #de3831, #f28c28 30%, #ffb612 50%, #8fb339 70%, #007a4d);
  --display: "Poppins", "Poppins Fallback", "Inter", system-ui, sans-serif;   /* headings */
  --body:    "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;   /* everything else */
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 1px 2px rgba(16, 42, 30, 0.05), 0 6px 20px rgba(16, 42, 30, 0.06);
}

/* ---------- Base ---------- */

body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--mist);   /* the photos are added by data.js */
}

button {
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: var(--green);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* ---------- The rotating background photos ---------- */

.bg-photos {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease;
}

.bg-photo.showing {
  opacity: 1;
}

/* The light fade over the photo, so text stays easy to read.
   Want more photo? Lower the 0.72 / 0.88 numbers a little. */
.bg-photos::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242, 245, 241, 0.62) 0%, rgba(242, 245, 241, 0.72) 40%, rgba(242, 245, 241, 0.88) 100%);
}

/* ---------- Top bar (every page) ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;                  /* style.css gives all headers 20px; not this one */
  text-align: left;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* The brand: the name with the gatvol-to-lekker slider under it */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: var(--green);
}

.brand-bar {
  position: relative;
  height: 5px;
  border-radius: 5px;
  background: var(--slider);
}

.brand-bar::after {            /* the little slider knob */
  content: "";
  position: absolute;
  top: 50%;
  left: 72%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--ink);
  transform: translate(-50%, -50%);
}

.mainnav {
  display: flex;
  gap: 22px;
  font-weight: 600;
  font-size: 0.95rem;
}

.mainnav a {
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.mainnav a:hover,
.mainnav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

/* The account links sit at the right of the top bar */
.account-bar {
  position: static;
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0;
  text-align: right;
}

.account-bar a,
.account-bar .link-button {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.account-bar a:hover,
.account-bar .link-button:hover {
  color: var(--green);
}

.account-bar .hello {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.feed-bell {
  background: var(--gold);
  color: var(--ink) !important;
  border-radius: 20px;
  padding: 2px 10px;
}

/* NEW (Oct 2026): account links on one line on big screens */
.account-row {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.account-row .account-avatar {
  margin-right: 0;
  display: inline-flex;
}

/* The phone menu (hidden on big screens) */
.account-menu {
  display: none;
  position: relative;
}

.account-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  position: relative;
  border-radius: 50%;
}

.account-menu summary::-webkit-details-marker {
  display: none;
}

.account-menu summary .avatar {
  width: 36px;
  height: 36px;
  font-size: 0.95em;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.account-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #1b2a22;
}

.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  text-align: left;
  z-index: 60;
}

.account-panel-hello {
  margin: 0;
  padding: 8px 12px 10px;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.account-bar .account-panel a,
.account-bar .account-panel .link-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-align: left;
  font-size: 0.95rem;
}

.account-bar .account-panel a:hover,
.account-bar .account-panel .link-button:hover {
  background: var(--mist);
  color: var(--green);
}

.account-bar .account-panel .feed-bell {
  width: auto;
  display: inline-block;
  margin: 4px 12px;
  padding: 2px 10px;
}

/* Medium screens: drop "Howzit" so everything fits on one line */
@media (max-width: 1279px) {
  .account-row .hello {
    display: none;
  }
}

/* Tablets and phones: logo + picture on top, the menu as one neat row under it */
@media (max-width: 999px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 12px 16px 6px;
  }
  .account-row {
    display: none;
  }
  .account-menu {
    display: block;
  }
  .mainnav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    gap: 14px;
    font-size: 0.9rem;
    scrollbar-width: none;
  }
  .mainnav::-webkit-scrollbar {
    display: none;
  }
  .account-bar {
    font-size: 0.9rem;
  }
}

@media (max-width: 760px) {
  .mainnav .hide-on-phone {
    display: none;            /* still in the footer */
  }
}

/* ---------- Page layout ---------- */

.page {
  width: 100%;
  box-sizing: border-box;
  max-width: 760px;
  margin: 28px auto 48px;
  padding: 0 20px;
}

.back-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  margin-bottom: 16px;
}

.back-link:hover {
  color: var(--ink);
}

.section-title {
  color: var(--ink);
  font-size: 1.35rem;
  margin: 36px 0 14px;
}

.page-intro,
.no-results,
.hint,
.following-heading,
.add-link,
.add-line,
.sort-label {
  color: var(--muted);
}

.no-results {
  font-size: 1rem;
}

/* ---------- Panels ---------- */

.business-card,
.review,
.topic-card,
.business-item,
.lekker-card,
.add-prompt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.business-card {
  padding: 24px;
}

.business-card h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 4px;
}

.details,
.topic-date,
.topic-stats,
.review-date {
  color: var(--muted);
}

.review {
  border-radius: var(--radius-md);
}

.business-item,
.topic-card {
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}

.topic-card {
  border-left: 5px solid var(--red);
}

.business-item:hover,
.topic-card:hover,
.lekker-card:hover {
  transform: none;
  border-color: var(--ink);
}

.topic-card:hover {
  border-left-color: var(--red);
}

.business-item h3,
.topic-card h3 {
  font-size: 1.1rem;
}

/* ---------- Buttons ---------- */

.big-button {
  font-family: var(--display);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 12px 22px;
  background-color: var(--green);
}

.big-button:hover {
  background-color: #00663f;
}

.big-button.small-button {
  padding: 8px 16px;
  font-size: 0.92rem;
}

.whatsapp-button,
.facebook-button {
  border-radius: var(--radius-md);
  font-family: var(--display);
  font-weight: 600;
}

.tab {
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
}

.tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- Home page ---------- */

.hero {
  max-width: 760px;
  padding: 9vh 20px 24px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  text-shadow: none;
}

.tagline {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 14px auto 28px;
  max-width: 34em;
}

#search {
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 18px 16px 50px;
  font-size: 1.05rem;
  font-family: var(--body);
  box-shadow: 5px 5px 0 var(--gold);        /* a flat, sign-like shadow */
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23102a1e' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 16px center;
}

#search:focus {
  border-color: var(--green);
  box-shadow: 5px 5px 0 var(--green);
}

.hint {
  font-style: normal;
  font-size: 0.95rem;
  margin-top: 18px;
}

.add-link a,
.add-line a {
  color: var(--green);
  font-weight: 600;
}

#business-list {
  margin-top: 22px;
}

/* The Hot Topic link: a quiet pill above the heading */
.hot-banner {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto 26px;
  padding: 8px 16px 8px 8px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: left;
}

.hot-banner:hover {
  transform: none;
  border-color: var(--ink);
}

.hot-banner-label {
  background: var(--red);
  color: var(--paper);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.82rem;
}

#hot-banner-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hot-banner-arrow {
  display: none;
}

/* Joke of the day: just words over the photo, in quotation marks */
.joke {
  margin: 44px auto 8px;
  max-width: 34em;
  text-align: center;
}

.joke blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink);
}

.joke blockquote::before,
.joke blockquote::after {
  font-weight: 700;
  color: var(--gold);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.28em;
}

.joke blockquote::before { content: "\201C"; margin-right: 4px; }
.joke blockquote::after  { content: "\201D"; margin-left: 4px; }

.joke-punchline {
  font-weight: 700;
}

.joke figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.joke figcaption .link-button {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
}

/* Lekker shout-outs on the home page */
.lekker-strip {
  margin-top: 40px;
  text-align: left;
}

.lekker-strip h2 {
  color: var(--ink);
  font-size: 1.25rem;
  margin: 0 0 14px;
}

.lekker-card {
  border-top: 4px solid var(--green);
  border-left: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.lekker-card:hover {
  border-top-color: var(--green);
}

/* ---------- The score (shown on reviews and businesses) ---------- */

.score-number {
  font-family: var(--display);
  font-weight: 700;
}

.score-bar:not(.small) .score-number {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
}

.score-bar:not(.small) .verdict {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

.score-track {
  background: var(--slider);
}

.score-ends {
  color: var(--muted);
}

/* ---------- Rating: ONE slider ---------- */

/* The big "7/10 😎 Lekker, bru!" above the slider */
.score-readout {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 6px 0 4px;
}

.score-readout .score-number {
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.score-readout .verdict {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
}

/* The slider itself: a thick colour bar with a big round knob */
input[type="range"].score-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;               /* big enough to grab with a thumb */
  margin: 4px 0 0;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}

input[type="range"].score-slider::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 7px;
  background: var(--slider);
}

input[type="range"].score-slider::-moz-range-track {
  height: 14px;
  border-radius: 7px;
  background: var(--slider);
}

input[type="range"].score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  margin-top: -10px;           /* centres the knob on the bar */
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 0 2px 8px rgba(16, 42, 30, 0.25);
}

input[type="range"].score-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 4px solid var(--ink);
  box-shadow: 0 2px 8px rgba(16, 42, 30, 0.25);
}

input[type="range"].score-slider:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  border-radius: 10px;
}

.slider-ends {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin-top: 2px;
}

/* The GIF that goes with the score */
.reaction-gif {
  margin-top: 16px;
}

/* ---------- Reviews on a business page: one panel, divided rows ---------- */

#reviews {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#reviews:empty {
  display: none;
}

#reviews .review {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 22px 24px;
}

#reviews .review:last-child {
  border-bottom: none;
}

.reviews-header {
  align-items: baseline;
}

.sort-label select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

.tag-pill {
  border-radius: 8px;
  font-weight: 500;
}

/* ---------- Forms ---------- */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
textarea,
select {
  font-family: var(--body);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
}

label {
  font-weight: 600;
}

/* The weekly mailer box: light, like everything else */
.mailer-box {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.mailer-box h3 {
  color: var(--ink);
}

.mailer-box .small-note {
  color: var(--muted);
}

.mailer-box .secondary-button {
  border-color: var(--line);
  color: var(--ink);
}

.mailer-box .form-message.success { color: var(--green); }
.mailer-box .form-message.error   { color: var(--red); }

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  color: #b9c6bd;
  text-align: left;
  font-size: 0.88rem;
  line-height: 1.7;
  padding: 28px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.footer-credits p {
  margin: 0;
}

footer a {
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ---------- Home page logo (like before) ---------- */

.hero .logo {
  font-family: "Bungee", "Bungee Fallback", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--paper);
  text-shadow: 3px 3px 0 var(--ink), 0 4px 18px rgba(16, 42, 30, 0.35);
}

.hero .logo span {
  color: var(--gold);
}

/* ---------- How it works: easy reading ---------- */

.how-it-works {
  padding: 32px 36px;
}

.how-it-works h1 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin: 0 0 8px;
}

.how-it-works .article-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.how-it-works h2 {
  font-size: 1.2rem;
  margin: 32px 0 8px;
}

.how-it-works p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 12px;
  max-width: 62ch;
}

.score-key {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 16px;
}

.score-key div {
  border-radius: var(--radius-md);
  padding: 12px 14px;
  border-top: 4px solid var(--red);
  background: #fbf3f2;
}

.score-key div:nth-child(2) { border-top-color: var(--gold); background: #fdf7e8; }
.score-key div:nth-child(3) { border-top-color: var(--green); background: #eef6f1; }

.score-key dt {
  font-size: 0.85rem;
  color: var(--muted);
}

.score-key dd {
  margin: 2px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .how-it-works {
    padding: 24px 20px;
  }
}

/* ---------- Hot Topics list: title and one sentence ---------- */

.page-title {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin: 8px 0 6px;
}

.topic-list {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 20px;
}

.topic-row {
  display: block;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.topic-row:last-child {
  border-bottom: none;
}

.topic-row:hover {
  background: #f6f9f6;
}

.topic-row h2 {
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.topic-row:hover h2 {
  color: var(--green);
}

.topic-row p {
  margin: 0 0 8px;
  color: var(--ink);
  line-height: 1.55;
}

.topic-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Home page: tighter, so the first row of lekker
   shout-outs shows without scrolling ---------- */

.hero {
  padding-top: 28px;
}

.hot-banner {
  margin-bottom: 16px;
}

.hero .logo {
  font-size: clamp(2.3rem, 7vw, 3.6rem);
}

.hero .tagline {
  font-size: 1rem;
  line-height: 1.5;
  margin: 8px auto 20px;
}

#search {
  padding-top: 13px;
  padding-bottom: 13px;
}

.hero .hint {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.hero .add-link {
  margin: 4px 0 0;
  font-size: 0.9rem;
}

.joke {
  margin: 24px auto 0;
}

.joke blockquote {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.joke figcaption {
  margin-top: 4px;
}

.lekker-strip {
  margin-top: 24px;
}

.lekker-strip h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* ---------- Mailer pop-up ---------- */

.mailer-popup {
  width: min(440px, calc(100% - 32px));
  box-sizing: border-box;
  border: none;
  border-radius: var(--radius-lg);
  padding: 26px 24px 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(16, 42, 30, 0.3);
}

.mailer-popup::backdrop {
  background: rgba(16, 42, 30, 0.45);
}

.mailer-popup[open] {
  animation: popup-in 0.25s ease-out;
}

@keyframes popup-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.mailer-popup:focus {
  outline: none;
}

.popup-intro {
  padding-right: 32px;         /* room for the close button */
  font-family: var(--display);
  font-weight: 600;
  color: var(--green);
  margin: 0 0 4px;
}

/* Inside the pop-up, the mailer box loses its own frame */
.mailer-popup .mailer-box {
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.mailer-popup .mailer-box h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.mailer-popup .mailer-box .small-note {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.popup-close:hover {
  background: var(--mist);
  color: var(--ink);
}

.popup-later {
  display: block;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .mailer-popup[open] {
    animation: none;
  }
}

/* Search: "3 businesses found" */
.result-count {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 10px;
  text-align: left;
}

.add-prompt + .result-count {
  margin-top: 22px;
}

/* ---------- Business profile: photo, about, hours, phone ---------- */

.business-photo {
  display: block;
  width: calc(100% + 48px);
  margin: -24px -24px 20px;        /* runs edge to edge across the top of the card */
  max-height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.business-bio {
  margin: 12px 0 6px;
  line-height: 1.6;
  max-width: 60ch;
}

.business-bio:empty,
.contact-line:empty {
  display: none;
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  margin: 8px 0;
}

.contact-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.contact-links a {
  color: var(--green);
  font-weight: 600;
}

/* Owner dashboard */
.views-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 6px 0 16px;
  color: var(--muted);
}

.views-number {
  background: var(--mist);
  border-radius: var(--radius-md);
  padding: 12px;
}

.views-number strong {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--ink);
}

.views-number span {
  font-size: 0.82rem;
}

@media (max-width: 600px) {
  .views-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

.profile-editor {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 16px;
}

.profile-editor h4 {
  font-size: 1.05rem;
}

.profile-editor label:not(.file-button):not(.checkbox-label) {
  display: block;
  margin: 14px 0 6px;
}

.profile-editor input[type="text"],
.profile-editor input[type="tel"],
.profile-editor textarea,
.profile-editor select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 1rem;
}

.profile-editor .checkbox-label {
  display: flex;
  margin-top: 8px;
}

.profile-editor > .big-button,
.profile-editor div > .big-button {
  margin-top: 14px;
}

.bio-count {
  text-align: right;
  margin: 4px 0 0;
}

.photo-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.photo-preview {
  width: 160px;
  height: 100px;
  border-radius: var(--radius-md);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.photo-preview .business-photo {
  width: 100%;
  height: 100%;
  margin: 0;
  max-height: none;
  border-radius: 0;
}

/* ===================================================
   DESIGN A: the original look, tidied up
   Dark photo on every page, see-through top bar,
   white cards. (Everything below wins over the rules above.)
   =================================================== */

body {
  background: #1b2a22;            /* shown while the photos load */
}

/* Darker fade over the photo, so white text is easy to read */
.bg-photos::after {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.72));
}

/* Top bar: see-through and dark, with white links */
.topbar {
  background: rgba(10, 20, 15, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.brand-name {
  color: #fff;
}

.brand-name span {
  color: var(--gold);
}

.brand-bar::after {
  background: #1b2a22;
  border-color: #fff;
}

.mainnav a,
.account-bar a,
.account-bar .link-button {
  color: #fff;
}

.account-bar a:hover,
.account-bar .link-button:hover {
  color: var(--gold);
}

.account-bar {
  color: #ddd;
}

/* Home page */
.hero {
  padding-top: 14vh;
}

.hero .logo {
  color: #fff;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  font-size: clamp(2.6rem, 8vw, 4.6rem);
}

.hero .tagline {
  color: #f4f1ea;
  font-size: 1.15rem;
}

#search {
  border: 3px solid var(--gold);
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  padding: 16px 20px 16px 52px;
  background-position: 20px center;
}

#search:focus {
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 182, 18, 0.35);
}

.lekker-strip {
  margin-top: 48px;
}

.lekker-strip h2 {
  text-align: center;
}

.lekker-card {
  border: none;
  border-left: 5px solid var(--green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.lekker-card:hover {
  border-color: transparent;
  border-left-color: var(--green);
}

/* Text that sits straight on the dark photo (not inside a white card) */
.hero .hint,
.hero .add-link,
.result-count,
.add-line,
.back-link,
.page > .page-intro,
.page > .no-results,
#loading,
.sort-label,
.following-heading {
  color: #ddd;
}

.lekker-strip h2,
.section-title,
.page-title,
.page > h1,
.page > h2,
.reviews-header h2 {
  color: #f4f1ea;
}

.back-link:hover {
  color: #fff;
}

.add-link a,
.add-line a {
  color: var(--gold);
}

/* Cards keep dark text on white */
.business-card,
.review,
.topic-list,
.lekker-card,
.business-item,
.add-prompt,
.mailer-box {
  color: var(--ink);
}

.business-item,
.topic-list,
.business-card,
#reviews {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.business-item:hover {
  border-color: var(--gold);
}

.page-intro,
.no-results {
  color: #ddd;
}

.business-card .page-intro,
.business-card .no-results,
.topic-list .no-results,
#reviews .no-results {
  color: var(--muted);
}

/* ---------- Top rated (leaderboards) ---------- */

.board-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
  padding: 20px 24px;
}

.board-row label {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.board-row select,
.board-row input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  font-size: 1rem;
}

.board-order {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.board-order .tab {
  flex: 1;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
}

.board {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.board:empty {
  display: none;
}

.board li + li {
  border-top: 1px solid var(--line);
}

.board-row-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  color: var(--ink);
  text-decoration: none;
}

.board-row-link:hover {
  background: #f6f9f6;
}

.board-rank {
  flex: 0 0 auto;
  width: 40px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--muted);
  text-align: center;
}

.board li:first-child .board-rank {
  color: var(--gold);
}

.board-name {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.board-name strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
}

.board-name span {
  color: var(--muted);
  font-size: 0.85rem;
}

.board-score {
  flex: 0 0 auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.board-note {
  color: #ddd;
  font-size: 0.9rem;
  margin: 16px 0;
}

.board-note a {
  color: var(--gold);
}

#board-share {
  margin: 10px 0;
}

.best-line {
  margin: 6px 0;
  font-size: 0.92rem;
}

.best-line a {
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 600px) {
  .board-controls {
    grid-template-columns: 1fr;
  }
  .board-row-link {
    gap: 10px;
    padding: 14px 14px;
  }
  .board-rank {
    width: 28px;
    font-size: 1.2rem;
  }
}

/* "Share as a picture" button, next to the WhatsApp one */
.share-picture-button {
  margin: 8px 0 0 8px;
  background-color: var(--ink);
}

.share-picture-button:hover {
  background-color: #1d4733;
}

/* Hot Topic byline and "how we write" note */
.topic-byline {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin: -4px 0 18px;
}

.topic-how {
  margin: 22px 0 0;
  padding: 14px 16px;
  background: var(--mist);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ===================================================
   NEW (Oct 2026): Vra Gou, Fixed It, insights,
   Rate your Big Five, suggestions
   =================================================== */

/* ---------- Vra Gou (questions and answers) ---------- */
.qa-box .section-title {
  margin-top: 0;
}

.ask-form textarea,
.question textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  margin: 6px 0 8px;
  font-size: 15px;
}

.question {
  border-top: 1px solid var(--line);
  padding: 14px 0 6px;
  scroll-margin-top: 90px;
}

.question.highlight {
  background: #fff8e1;
  border-radius: var(--radius-md);
  padding: 14px 12px 6px;
}

.question-body {
  font-weight: 600;
  margin: 0 0 2px;
}

.question-meta,
.answer-when {
  color: var(--muted);
  font-size: 13px;
}

.qa-status {
  display: inline-block;
  margin: 6px 0 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.qa-status.answered {
  background: #e3f3eb;
  color: var(--green);
}

.qa-status.waiting {
  background: #fff4d6;
  color: #8a5a00;
}

.qa-status.waiting.long {
  background: #fde4e2;
  color: var(--red);
}

.answer {
  margin: 8px 0 0 14px;
  padding: 8px 12px;
  border-left: 3px solid var(--line);
}

.answer.official {
  border-left-color: var(--green);
  background: #f2faf5;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.answer p {
  margin: 4px 0;
}

.answer-head {
  font-weight: 600;
  font-size: 14px;
}

.official-badge {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 0 6px;
  font-size: 12px;
  margin-left: 2px;
}

/* ---------- Fixed It ---------- */
.fixed-line {
  margin-top: 8px;
  padding: 6px 10px;
  background: #e3f3eb;
  color: var(--green);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}

.fix-button {
  margin-top: 6px;
}

.owner-free-note {
  background: #f2faf5;
  border-left: 4px solid var(--green);
  padding: 10px 12px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.owner-nudge {
  font-size: 14px;
  white-space: nowrap;
}

/* ---------- Owner insights ---------- */
.insights-box .views-number strong {
  font-size: 22px;
}

.insight-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}

.insight-label {
  font-weight: 600;
  font-size: 14px;
}

/* ---------- "While you're on a roll" and suggestions ---------- */
.next-up {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.next-up h4 {
  margin: 0 0 4px;
}

.suggestion-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 12px;
}

.suggestion-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.suggestion-meta {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Rate your Big Five ---------- */
.big-five-intro h1 {
  margin-top: 0;
}

.five-progress {
  font-weight: 600;
}

.five-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 14px;
}

.five-card {
  margin: 0;
}

.five-card h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.five-card.done {
  border-left: 5px solid var(--green);
}

.five-done {
  color: var(--green);
  font-weight: 600;
}

.five-pick {
  margin: 8px 0 4px;
  font-weight: 600;
  font-size: 14px;
}

.five-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.five-provider {
  text-decoration: none;
}

.area-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.area-picker select {
  padding: 8px 10px;
  min-width: 0;
  max-width: 100%;
}

.claim-perks {
  padding-left: 0;
  list-style: none;
}

.claim-perks li {
  padding: 3px 0;
}

/* ---------- NEW (Oct 2026): tabs on the business page ---------- */
.page-tabs {
  display: flex;
  gap: 6px;
  margin: 18px 0 14px;
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  scroll-margin-top: 90px;   /* stay clear of the sticky top bar when we jump up */
}

.page-tabs .tab {
  flex: 1;
  padding: 10px 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.25;
}

.page-tabs .tab:not(.active) {
  border-color: transparent;
}

.page-tabs .tab:not(.active):hover {
  background: var(--mist);
}

.tab-count {
  font-weight: 500;
  opacity: 0.75;
}

@media (max-width: 480px) {
  .page-tabs {
    scroll-margin-top: 120px;   /* the top bar is taller on phones */
  }
  .page-tabs .tab {
    font-size: 0.85em;
    padding: 9px 4px;
  }
}

/* ---------- NEW (Oct 2026): tidy-ups ---------- */

/* No logo yet? Don't leave a gap before the business name */
#logo-slot:empty {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

/* Tabs: label and count sit on one line, every tab the same height */
.page-tabs .tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  white-space: nowrap;
}

.tab-short {
  display: none;
}

@media (max-width: 480px) {
  .page-tabs {
    gap: 4px;
    padding: 5px;
  }
  .page-tabs .tab {
    padding: 8px 4px;
    font-size: 0.84em;
    gap: 3px;
  }
  .tab-long {
    display: none;
  }
  .tab-short {
    display: inline;
  }
}

/* NEW (Oct 2026): the rating picture preview after posting a review */
.share-heading {
  margin: 14px 0 8px;
  font-weight: 600;
}

.share-preview {
  margin: 0 0 12px;
}

.share-preview img {
  display: block;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: #1e2d24;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
}

.share-buttons > * {
  margin: 0;
  flex: 1 1 230px;
  max-width: 340px;
  min-height: 52px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* NEW (Oct 2026): the share pop-up after posting a review */
.share-popup {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.share-popup-title {
  font-size: 1.3rem;
  margin: 2px 0 6px;
  padding-right: 32px;
}

.share-popup .small-note {
  margin: 0 0 14px;
}

.share-popup .share-preview {
  display: flex;
  justify-content: center;
}

.share-popup .share-preview img {
  max-width: min(320px, 100%);
}

/* NEW (27 Oct 2026): the thank-you after sharing */
.share-thanks {
  text-align: center;
  padding: 4px 0 2px;
}

.share-thanks .share-popup-title {
  padding: 0 32px;
}

.share-thanks .big-button {
  margin-top: 4px;
}

.share-thanks-follow {
  margin: 10px 0 0;
  font-size: 0.92rem;
  text-align: center;
}

/* NEW (27 Oct 2026): a share button they've already used: still tappable, but quieter */
.share-popup .share-done {
  opacity: 0.6;
}

/* "Lekker, I'm done" once they've shared: a proper button, not a small link */
.share-popup .popup-later.share-finish {
  font-weight: 600;
}

.share-popup .share-buttons > * {
  flex: 1 1 100%;
  max-width: none;
}

@media (max-height: 700px) {
  .share-popup .share-preview img {
    max-width: 240px;
  }
}

/* NEW (Oct 2026): replies on Hot Topic comments */
.comment-replies {
  margin-left: 22px;
  padding-left: 14px;
  border-left: 3px solid var(--line);
}

.comment-replies:empty {
  display: none;
}

.comment-reply {
  font-size: 0.97em;
}

.reply-to {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 4px;
}

.comment-actions .reply-button {
  margin-right: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--green);
}

.reply-form {
  margin: 8px 0 14px 39px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.reply-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
}

.reply-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}

.reply-form-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
}

.reply-form-row .big-button {
  margin: 0;
}

@media (max-width: 480px) {
  .comment-replies {
    margin-left: 10px;
    padding-left: 10px;
  }
  .reply-form {
    margin-left: 23px;          /* lines up with the replies above it */
  }
}

.comment.highlight {
  box-shadow: 0 0 0 3px var(--gold);
  border-radius: var(--radius-md);
}

.comment-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ===================================================
   NEW (Oct 2026): the help box on big companies' pages
   ("Need to reach them?" and "Gatvol? Here's what to do")
   =================================================== */
.help-box h2 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}
.help-box h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}
.help-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.help-contacts li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--mist);
}
.help-contacts .help-label {
  color: var(--muted);
  font-size: 0.92rem;
}
.help-contacts a {
  font-weight: 600;
  word-break: break-word;
}
.help-note {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}
.help-steps {
  margin: 0;
  padding-left: 1.3rem;
}
.help-steps li {
  margin-bottom: 0.6rem;
}
.help-steps .help-body {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.help-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.help-related a {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
}
.help-checked {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.help-checked a {
  color: inherit;
}

/* The extra bits of the help box (small notes, escalation, sources) */
.help-contacts .help-sub {
  flex-basis: 100%;
  font-size: 0.85rem;
  color: var(--muted);
}
.help-escalate {
  margin-top: 1rem;
  padding: 0.25rem 0.9rem 0.9rem;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  background: #fffaf0;
}
.help-escalate p {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.95rem;
}
.help-escalate .help-contacts li {
  background: var(--paper);
}
.help-cta {
  margin: 1.25rem 0 0;
}
.help-sources {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.help-sources summary {
  cursor: pointer;
  font-weight: 600;
}
.help-sources ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.help-pointer {
  margin: 0;
  font-size: 0.95rem;
}
.help-pointer a {
  font-weight: 600;
}

/* The help box as a drop-down: one line until it's tapped */
.help-drop > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
}
.help-drop > summary::-webkit-details-marker {
  display: none;
}
.help-drop > summary::after {
  content: "▾";
  position: absolute;
  right: 0.25rem;
  top: 0.1rem;
  font-size: 1.3rem;
  color: var(--green);
  transition: transform 0.2s;
}
.help-drop[open] > summary::after {
  transform: rotate(180deg);
}
.help-drop .help-title {
  margin: 0;
}
.help-summary-sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.help-drop[open] .help-summary-sub {
  display: none;
}
.help-drop-body {
  margin-top: 0.75rem;
}


/* ---------- NEW (Oct 2026): "Rate them" button on business pages ---------- */
.big-button.rate-jump {
  display: inline-block;
  margin: 14px 0 6px;
  background-color: #ffb612;
  color: #102a1e;
  text-decoration: none;
}
.big-button.rate-jump:hover {
  background-color: #f0a800;
}
.write-review textarea#guest-comment {
  width: 100%;
}

/* ---------- NEW (Oct 2026): "finish your review" banner on the home page ---------- */
.draft-banner {
  margin: 0 auto 18px;
  max-width: 560px;
}
.draft-banner a {
  display: block;
  padding: 14px 18px;
  border-radius: 14px;
  background: #ffb612;
  color: #102a1e;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- NEW (Oct 2026): welcome pop-up for first-time visitors ---------- */
.welcome-popup {
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}
.welcome-title {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 4px 0 8px;
  color: var(--ink);
}
.welcome-moods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.welcome-mood {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: 16px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 2rem;
  cursor: pointer;
}
.welcome-mood span {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}
.welcome-mood.gatvol { background: #fde3e1; color: #9a1f19; }
.welcome-mood.lekker { background: #dff1e8; color: #005c3a; }
.welcome-mood:hover,
.welcome-mood:focus-visible { border-color: currentColor; }
.welcome-popup input#welcome-search {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}
.welcome-results {
  margin-top: 10px;
}
.welcome-pick {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 8px;
  padding: 10px 14px;
  border: 1px solid var(--mist);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  cursor: pointer;
}
.welcome-pick:hover,
.welcome-pick:focus-visible { border-color: var(--green); }
.welcome-pick strong { display: block; color: var(--ink); }
.welcome-pick span { display: block; font-size: 0.88rem; color: var(--muted); }
.welcome-popup textarea { width: 100%; box-sizing: border-box; }
.welcome-popup .big-button { width: 100%; }

/* ---------- NEW (Oct 2026): reaction GIFs are plain pictures now (not GIPHY embeds) ---------- */
.reaction-gif {
  text-align: center;
}
.reaction-gif img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: auto 4 / 3;   /* keeps the space while it loads, so nothing jumps */
  margin: 0 auto;
  border-radius: 10px;
  background: var(--mist);    /* a soft grey box until the GIF arrives */
}
.reaction-gif a {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75em;
  color: #888;
}
.welcome-popup .reaction-gif {
  margin: 4px 0 10px;
}
.welcome-popup .reaction-gif img {
  max-width: 180px;
}

/* ---------- NEW (Oct 2026): lighter background for phones ---------- */
/* A dark base colour, so the page never looks empty while the photo loads */
.bg-photos {
  background-color: #14261c;
}
/* One photo now, so no fade-in delay */
.bg-photo {
  transition: none;
}
/* The blurred see-through top bar makes cheap phones lag while scrolling
   (the phone has to re-blur the photo behind it all the time). On phones
   use a plain, nearly solid bar instead. It looks almost the same. */
@media (max-width: 900px) {
  .topbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(10, 20, 15, 0.92);
  }
}


/* NEW (Oct 2026): "stay in the loop" on the home page:
   one slim line with two small pill buttons, under the shout-outs */
.stay-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0;
}

.stay-link {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.stay-link:hover,
.stay-link:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.stay-link-fb:hover,
.stay-link-fb:focus-visible {
  border-color: #6ea8ff;
  color: #6ea8ff;
}

.stay-link-wa:hover,
.stay-link-wa:focus-visible {
  border-color: #25d366;
  color: #25d366;
}


/* NEW (Oct 2026): initials badge for national companies without a logo.
   Our colours only, so it never looks like their real logo. */
.initials-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.initials-0 { background: var(--green); }
.initials-1 { background: var(--ink); }

/* NEW (Oct 2026): "we're independent" line above the contact box */
.help-independent {
  margin: 0 0 10px;
  padding: 10px 14px;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  background: #fdf7e8;
  color: var(--ink);
  font-size: 0.92rem;
}


/* ---------- NEW (Oct 2026): business name is the page's H1, quick contact buttons, FAQ ---------- */
.business-card h1#business-name {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  margin: 0 0 4px;
}
.help-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.help-quick-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.help-faq h4 {
  margin: 0.9rem 0 0.2rem;
  font-size: 1rem;
}
.help-faq p {
  margin: 0;
}


/* =====================================================
   NEW (22 Oct 2026): design polish
   Everything below is one tidy-up pass. To undo it all,
   delete from here to the end of the file.
   ===================================================== */

/* 1. Two fonts, not three: Bungee for the brand, Inter for the rest.
      (Poppins is no longer used, so phones download one font less.) */
:root {
  --display: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
}
h1, h2, h3, h4,
.score-number {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* The small logo in the top bar matches the big one on the home page */
.brand-name {
  font-family: "Bungee", "Bungee Fallback", Impact, sans-serif;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: 0;
}

/* 2. A solid top bar: no more text showing through while you scroll */
.topbar {
  background: #0f1d16;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3. Phones: keep "How it works" in the menu. The menu slides sideways,
      and fades out at the right edge to show there's more. */
@media (max-width: 760px) {
  .mainnav .hide-on-phone {
    display: inline;
  }
  .mainnav {
    justify-content: flex-start;
    gap: 18px;
    padding-right: 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
}

/* 4. Home page logo: "My Bru" always stays together on one line */
.hero .logo span {
  white-space: nowrap;
}

/* 5. No "back to the search" link on the main menu pages
      (the menu is right there). It stays on business pages. */
body:has(.mainnav a[aria-current="page"]) .back-link {
  display: none;
}

/* 6. Lekker shout-outs: name, then town, all cards the same height,
      the reviewer's name always at the bottom */
.lekker-cards {
  align-items: stretch;
}
.lekker-card {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
}
.lekker-card-name {
  font-weight: 700;
  line-height: 1.3;
}
.lekker-card-town {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 2px;
}
.lekker-card-score {
  margin: 8px 0 4px;
}
.lekker-card p {
  margin: 4px 0 8px;
  color: var(--ink);
}
.lekker-card-who {
  margin-top: auto;
  padding-top: 6px;
  color: var(--muted);
}

/* 7. Business page: hold the space for the review box while it loads,
      so the page doesn't jump around */
#write-review:empty {
  min-height: 420px;
  background:
    linear-gradient(var(--line), var(--line)) 24px 28px / 55% 22px no-repeat,
    linear-gradient(var(--line), var(--line)) 24px 74px / 40% 14px no-repeat,
    linear-gradient(var(--line), var(--line)) 24px 120px / calc(100% - 48px) 12px no-repeat,
    linear-gradient(var(--line), var(--line)) 24px 170px / calc(100% - 48px) 90px no-repeat,
    var(--paper);
}

/* 8. Hot Topics list: a small WhatsApp "Share" button on each topic,
      sitting at the bottom right, next to the date */
.topic-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.topic-item:last-child {
  border-bottom: none;
}
.topic-item .topic-row {
  border-bottom: none;
  padding-bottom: 22px;
}
.topic-item .topic-meta {
  padding-right: 96px;   /* room for the Share button */
  min-height: 32px;
  display: flex;
  align-items: center;
}
.topic-share-small.whatsapp-button {
  position: absolute;
  right: 20px;
  bottom: 14px;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* 9. Lekker shout-outs: every card the same size. Long reviews are cut
      short (with "Read more"); the whole card opens the full review. */
.lekker-card-name,
.lekker-card-town {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;   /* very long names end in "…" */
}
.lekker-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.5;
  height: 4.5em;             /* always room for exactly 3 lines */
}
.lekker-card p.lekker-card-empty {
  color: var(--muted);
  font-style: italic;
}
.lekker-card-more {
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}
.lekker-card:hover .lekker-card-more {
  text-decoration: underline;
}

/* 10. Home page, further down: Hot Topics and How it works */
.home-more {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
  text-align: left;
}
.home-box {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
}
.home-box h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.home-topics {
  display: flex;
  flex-direction: column;
}
.home-topic {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.home-topic:first-child {
  padding-top: 0;
}
.home-topic-title {
  font-weight: 600;
  line-height: 1.35;
}
.home-topic:hover .home-topic-title {
  color: var(--green);
}
.home-topic-date {
  font-size: 0.85rem;
  color: var(--muted);
}
.home-steps {
  margin: 0;
  padding-left: 1.3em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.5;
}
.home-steps li::marker {
  color: var(--green);
  font-weight: 700;
}
.home-box-link {
  margin-top: auto;
  padding-top: 14px;
  color: var(--green);
  font-weight: 600;
}

/* 11. Phones: the shout-outs slide sideways instead of one long stack,
       so Hot Topics and How it works are a short scroll away */
@media (max-width: 600px) {
  .lekker-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -20px;           /* run to the screen edges (the page has 20px sides) */
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .lekker-cards::-webkit-scrollbar {
    display: none;
  }
  .lekker-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    min-width: 0;
  }
}

/* 12. Hot Topics and How it works: one under the other, on a see-through
       grey band so the photo shines through. No white boxes or borders. */
.home-more {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(30, 36, 33, 0.55);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.home-box {
  background: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  color: #f4f1ea;
  padding: 22px 24px;
}
.home-box + .home-box {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.home-box h2 {
  color: #fff;
}
.home-topic {
  color: #f4f1ea;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.home-topic:hover .home-topic-title {
  color: var(--gold);
}
.home-topic-date {
  color: #c4ccc7;
}
.home-steps li::marker {
  color: var(--gold);
}
.home-steps strong {
  color: #fff;
}
.home-box-link {
  color: var(--gold);
}
/* Cheap phones lag with the blur effect, so use a slightly darker band instead */
@media (max-width: 900px) {
  .home-more {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(30, 36, 33, 0.7);
  }
}
.home-topic:last-child {
  border-bottom: none;
}

/* 13. Lighter grey, running the full width of the screen, and Hot Topics
       and How it works as two separate bands with a gap between them.
       (The border-image trick stretches the band's colour to the
       screen edges without making the page scroll sideways.) */
.home-more {
  max-width: 720px;
  background: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  gap: 24px;
}
.home-box {
  --band: rgba(150, 158, 154, 0.32);
  background: none;
  border-image: conic-gradient(var(--band) 0 0) fill 0 // 0 100vmax;
  padding: 26px 4px;
}
.home-box + .home-box {
  border-top: none;
}
@media (max-width: 900px) {
  .home-more {
    background: none;
  }
  .home-box {
    --band: rgba(150, 158, 154, 0.36);
  }
}

/* 14. Back in the page's column: same width as the shout-out cards,
       two separate see-through grey panels with rounded corners */
.home-more {
  max-width: none;
  margin: 40px 0 0;
  gap: 16px;
}
.home-box {
  border-image: none;
  background: var(--band);
  border-radius: var(--radius-md);
  padding: 22px 24px;
}

/* 15. Two links side by side at the bottom of the How it works panel */
.home-box-links {
  margin: auto 0 0;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.home-box-links .home-box-link {
  margin: 0;
  padding: 0;
}

/* About us page: tidy lists */
.how-it-works ul {
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 16. Home page "Why we built this" panel */
.home-why {
  margin: 0;
  line-height: 1.6;
}

/* 17. Hot Topics page: the same see-through grey as the home page panels.
       Each topic is its own grey panel, with white text and gold on hover. */
.topic-list {
  background: none;
  box-shadow: none;
  border: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.topic-list .topic-item {
  background: rgba(150, 158, 154, 0.32);
  border-radius: var(--radius-md);
  border-bottom: none;
}
.topic-list .topic-row {
  color: #f4f1ea;
}
.topic-list .topic-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
}
.topic-list .topic-row h2 {
  color: #fff;
}
.topic-list .topic-row:hover h2 {
  color: var(--gold);
}
.topic-list .topic-row p {
  color: #f4f1ea;
}
.topic-list .topic-meta {
  color: #c4ccc7;
}
@media (max-width: 900px) {
  .topic-list .topic-item {
    background: rgba(150, 158, 154, 0.36);
  }
}
/* line the Share button up with the date row */
.topic-list .topic-share-small.whatsapp-button {
  bottom: 22px;
}

/* =====================================================
   18. "Browse on grey": search results, Top rated and reviewer pages
   use the same see-through grey panels as the home page.
   Forms, articles and the business page reviews stay on white.
   ===================================================== */
:root {
  --band-grey: rgba(150, 158, 154, 0.32);
  --on-grey: #f4f1ea;
  --on-grey-muted: #c4ccc7;
  /* Brighter verdict colours, so they read on the grey */
  --on-grey-lekker: #5fd39a;
  --on-grey-soso: #ffd166;
  --on-grey-gatvol: #ff8a80;
}
@media (max-width: 900px) {
  :root { --band-grey: rgba(150, 158, 154, 0.36); }
}

/* Search results on the home page */
#business-list .business-item {
  background: var(--band-grey);
  border: none;
  box-shadow: none;
  color: var(--on-grey);
}
#business-list .business-item:hover {
  background: rgba(150, 158, 154, 0.45);
  border-color: transparent;
}
#business-list .business-item h3 {
  color: #fff;
}
#business-list .business-item:hover h3 {
  color: var(--gold);
}
#business-list .business-item .details,
#business-list .business-item .no-reviews {
  color: var(--on-grey-muted);
}

/* Top rated */
.board {
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.board li + li {
  border-top: none;
}
.board li {
  background: var(--band-grey);
  border-radius: var(--radius-md);
}
.board-row-link {
  color: var(--on-grey);
  border-radius: var(--radius-md);
}
.board-row-link:hover {
  background: rgba(255, 255, 255, 0.06);
}
.board-row-link:hover .board-name strong {
  color: var(--gold);
}
.board-rank {
  color: var(--on-grey-muted);
}
.board-name strong {
  color: #fff;
}
.board-name span {
  color: var(--on-grey-muted);
}

/* Reviewer pages: their list of reviews */
#reviewer-page .review {
  background: var(--band-grey);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: none;
  color: var(--on-grey);
}
#reviewer-page .review .my-review-business {
  color: #fff;
}
#reviewer-page .review .my-review-business:hover {
  color: var(--gold);
}
#reviewer-page .review .review-date {
  color: var(--on-grey-muted);
}

/* Scores inside any of these grey lists */
#business-list .verdict-lekker, .board .verdict-lekker, #reviewer-page .review .verdict-lekker { color: var(--on-grey-lekker); }
#business-list .verdict-soso,   .board .verdict-soso,   #reviewer-page .review .verdict-soso   { color: var(--on-grey-soso); }
#business-list .verdict-gatvol, .board .verdict-gatvol, #reviewer-page .review .verdict-gatvol { color: var(--on-grey-gatvol); }
#business-list .score-number, #reviewer-page .review .score-number {
  color: #fff;
}

/* 19. One shade greyer, everywhere the grey panels are used */
:root {
  --band-grey: rgba(150, 158, 154, 0.42);
}
@media (max-width: 900px) {
  :root { --band-grey: rgba(150, 158, 154, 0.46); }
}
.home-box,
.home-box:is(*) {
  --band: var(--band-grey);
}
.topic-list .topic-item {
  background: var(--band-grey);
}

/* ---------- NEW (Oct 2026): claim code box ---------- */
.code-input {
  font-size: 1.8rem;
  letter-spacing: 0.5em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- NEW (Oct 2026): claim step 3 (Facebook or phone) ---------- */
.proof-option {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
}
.proof-option h3 { margin: 0 0 6px; font-size: 1.05rem; }
.proof-tag {
  font-size: 0.75rem;
  background: #ffb612;
  color: #102a1e;
  border-radius: 20px;
  padding: 2px 8px;
  vertical-align: middle;
}
.proof-code {
  font-family: monospace;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-align: center;
  margin: 8px 0;
  user-select: all;
}
.big-button.secondary {
  background-color: #fff;
  color: var(--green);
  border: 2px solid var(--green);
}
.big-button.secondary:hover { background-color: #eef7f2; }

/* =====================================================
   NEW (23 Oct 2026): "Rate a business" button on the home page,
   the "Join the moaning" box, and Google / Facebook sign-in
   ===================================================== */
.rate-cta {
  margin: 18px 0 6px;
  text-align: center;
}
.rate-cta-button {
  background: var(--gold);
  color: #102a1e;
  font-size: 1.1rem;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.rate-cta-button:hover { background: #ffc53d; color: #102a1e; }

.join-box { text-align: center; }
.join-box .big-button { display: inline-block; margin-top: 6px; text-decoration: none; }

.social-buttons {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
}
.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 10px;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}
.social-button svg { width: 20px; height: 20px; flex: none; }
.social-button.google { background: #fff; color: #1f1f1f; border: 1px solid #c8ccd0; }
.social-button.google:hover { background: #f4f6f8; }
.social-button.facebook { background: #1877f2; color: #fff; border: 1px solid #1877f2; }
.social-button.facebook:hover { background: #166fe0; }
.social-button:disabled { opacity: 0.6; cursor: wait; }
.social-note { margin: 4px 0 0; }
.or-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  color: #6b7280;
  font-size: 0.9rem;
}
.or-line::before, .or-line::after { content: ""; flex: 1; border-top: 1px solid #d9dde1; }

/* NEW (23 Oct 2026): "Log in" and "Sign up free" side by side in the top bar.
   The one this browser most likely needs gets the gold button look. */
.account-bar { gap: 8px 14px; }
.account-bar a.account-cta {
  background: var(--gold);
  color: #102a1e;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.account-bar a.account-cta:hover { background: #ffc53d; color: #102a1e; }
.top-switch { margin: -4px 0 14px; font-size: 0.95rem; }

/* NEW (23 Oct 2026): stop the search box jumping on phones.
   The gap above it was 14% of the screen height, and on Android the
   keyboard shrinks the screen, so the gap (and the box) moved every
   time the keyboard opened or closed. Phones now get a fixed gap. */
@media (max-width: 760px) {
  .hero { padding-top: 96px; }
}
/* While searching, keep the page tall enough that a short list of results
   (or none) can't drag the page, and the search box, back down the screen */
#business-list:not(:empty) { min-height: 100vh; }

/* =====================================================
   NEW (24 Oct 2026): calmer home page on PHONES ONLY.
   Computers and tablets look exactly the same as before.
   - big "Gatvol My Bru" title stays
   - tagline is one line (the second line is hidden)
   - the grey hint under the search box is hidden
   - "Add a business", "Rate your Big Five" and the "Rate a business"
     button stay as they were, so the search box stays the star
   - less space at the top, so the lekker shout-outs show sooner
   - background photo a bit darker so the text stands out
   To undo: delete everything from here to the end of the file.
   ===================================================== */
@media (max-width: 600px) {
  .hero { padding-top: 40px; }

  .hero .tagline { margin: 10px auto 18px; font-size: 1.05rem; }
  .hero .tagline-extra { display: none; }

  /* !important because the page's JavaScript switches the hint on and off */
  .hero .hint { display: none !important; }
  .hero .add-link { margin-top: 14px; }

  .lekker-strip { margin-top: 28px; }

  body:has(.hero) .bg-photos::after {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.8));
  }
}


/* NEW (27 Oct 2026): small share pills in one row (business page).
   Neater than big full-width buttons, still easy to tap (40px high). */
.share-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 6px;
}

.share-row-label {
  margin: 14px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.75;
}

.share-row > .share-row-label {
  margin: 0 2px 0 0;
}

.share-row + .share-row-label,
.share-row-label + .share-row {
  margin-top: 6px;
}

.share-row > a,
.share-row > button,
.share-row > .big-button.small-button,
.share-row > .whatsapp-button,
.share-row > .facebook-button {
  box-sizing: border-box; /* links and buttons measure height the same way */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 40px;
  max-width: none;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}


/* ======================================================
   NEW (31 Oct 2026): home page clean-up
   Same layout. Calmer
   cards (thin border, soft shadow), score as a green badge.
   Undo: delete everything from here down.
   ====================================================== */

body:has(.hero) .lekker-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(16, 42, 30, 0.12);
  padding: 16px 18px;
}
body:has(.hero) .lekker-card:hover {
  border-color: var(--green);
  transform: none;
}
body:has(.hero) .lekker-card-name {
  font-size: 1rem;
}
body:has(.hero) .lekker-card-score {
  align-self: flex-start;
  margin: 10px 0 6px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
}
body:has(.hero) .lekker-card-who {
  font-size: 0.85rem;
}

body:has(.hero) .home-box {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(16, 42, 30, 0.12);
  padding: 22px 24px;
}
body:has(.hero) .home-topic-title {
  font-weight: 700;
}
body:has(.hero) .home-steps strong {
  color: var(--gold);
}


/* ======================================================
   NEW (31 Oct 2026): home page bands under the photo
   Hot Topics (light), Why we built this (gold),
   It's simple (light), Try the meter (photo), Join (dark).
   Undo: restore backup-2026-10-31-before-home-bands.
   ====================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
body:has(.home-bands) .hero { padding-bottom: 56px; }
body:has(.home-bands) footer { margin-top: 0; }

.home-bands { text-align: left; }
.band { padding: 72px 20px; }
.band-inner { max-width: 1100px; margin: 0 auto; }
.band-light { background: var(--mist); color: var(--ink); }
.band-gold  { background: var(--gold); color: var(--ink); }
.band-dark  { background: var(--ink);  color: #ffffff; }
.band-photo { background: transparent; color: #ffffff; padding: 96px 20px; }

.band-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.band-pill-dark { background: var(--ink); color: var(--gold); }

.band-title {
  font-family: "Bungee", "Bungee Fallback", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.08;
  margin: 18px 0 14px;
  color: inherit;
}
.band-title span { color: var(--gold); }
.band-quote { font-size: clamp(1.5rem, 3.4vw, 2.3rem); max-width: 900px; margin-top: 28px; }
.band-sub { margin: 0 0 18px; font-size: 1.05rem; color: var(--muted); }
.band-text { margin: 0; font-size: 1.15rem; line-height: 1.7; max-width: 820px; }
.band-text-big { font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.55; }
.band-text strong { font-weight: 700; }
.band-sign { margin: 22px 0 0; font-weight: 700; }
.band-sign a { color: var(--ink); }
.band-link { display: inline-block; margin-top: 22px; font-weight: 700; color: #8a5f00; }
.band-link:hover { color: var(--ink); }

/* Hot Topics: intro on the left, list on the right (stacks on phones) */
.band-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px 56px;
  align-items: start;
}
.band-split .band-title { margin-top: 18px; }
.band-topics { display: flex; flex-direction: column; }
@media (min-width: 900px) {
  .band-split { grid-template-columns: 1fr 1.6fr; }
}
.band-topics .home-topic {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-top: 2px solid var(--ink);
  border-bottom: none;
  color: var(--ink);
  text-decoration: none;
}
.band-topics .home-topic:first-child { padding-top: 22px; }
.band-topics .home-topic-title {
  order: 2;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.3;
  font-weight: 700;
}
.band-topics .home-topic-date {
  order: 1;
  flex: 0 0 auto;
  min-width: 70px;
  font-family: "Bungee", "Bungee Fallback", Impact, sans-serif;
  font-size: 0.85rem;
  color: #8a5f00;
}
.band-topics .home-topic:hover .home-topic-title { color: var(--green); }
@media (max-width: 600px) {
  .band { padding: 52px 18px; }
  .band-topics .home-topic { flex-direction: column; gap: 4px; }
}

/* Buttons */
.band-button {
  display: inline-block;
  margin-top: 8px;
  padding: 16px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font: 700 1.05rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.band-button:hover { filter: brightness(1.05); }
.band-stay {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
}
.band-ghost {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #ffffff;
  font: 700 1rem/1.2 var(--body);
  text-decoration: none;
  cursor: pointer;
}
.band-ghost:hover { border-color: var(--gold); color: var(--gold); }
.band-join .band-title { margin-top: 0; margin-bottom: 24px; }

/* Try the meter */
.meter-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px;
  border-radius: 24px;
  background: rgba(16, 42, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.meter-kicker { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #b9c9bf; }
.meter-question { margin: 0; font-size: 1.35rem; line-height: 1.35; font-weight: 700; }
.meter-readout { display: flex; align-items: baseline; gap: 8px; }
.meter-score { font-family: "Bungee", "Bungee Fallback", Impact, sans-serif; font-size: 4.5rem; line-height: 0.9; }
.meter-outof { font-family: "Bungee", "Bungee Fallback", Impact, sans-serif; font-size: 1.3rem; color: #b9c9bf; }
.meter-label { margin-left: auto; font-size: 1.2rem; font-weight: 700; }
.meter-card[data-band="lekker"] .meter-score,
.meter-card[data-band="lekker"] .meter-label { color: #3ee07a; }
.meter-card[data-band="soso"] .meter-score,
.meter-card[data-band="soso"] .meter-label { color: #ffd166; }
.meter-card[data-band="gatvol"] .meter-score,
.meter-card[data-band="gatvol"] .meter-label { color: #ff6b5e; }
.meter-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 16px;
  margin: 10px 0 0;
  border-radius: 999px;
  background: var(--slider);
  cursor: pointer;
}
.meter-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 3px var(--gold);
}
.meter-range::-moz-range-thumb {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--ink);
}
.meter-range:focus-visible { outline: 3px solid var(--gold); outline-offset: 6px; }
.meter-ends { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.95rem; }
.meter-line { margin: 0; color: #b9c9bf; line-height: 1.5; }
.meter-card .band-button { align-self: flex-start; }


/* ======================================================
   NEW (31 Oct 2026): business and Hot Topic pages, same
   clean-up as the home page. Thin border + soft shadow on
   the white cards, review score as a coloured badge.
   Undo: restore backup-2026-10-31-before-page-emojis.
   ====================================================== */
.business-card,
.page-tabs,
#reviews {
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(16, 42, 30, 0.12);
}
.review .score-number {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
}
.review .score-summary:has(.verdict-soso) .score-number { background: #8a5f00; }
.review .score-summary:has(.verdict-gatvol) .score-number { background: #c42b1f; }


/* ======================================================
   NEW (31 Oct 2026): Hot Topics page, same look as the
   Hot Topics band on the home page. Business page: the
   "claim it" and "know the owner?" links on separate lines.
   ====================================================== */
.topics-band { flex: 1; width: 100%; box-sizing: border-box; padding-top: 40px; }
body:has(.topics-band) footer { margin-top: 0; }
.topics-band .back-link { display: inline-block; margin-bottom: 24px; color: var(--muted); }
.topics-band .band-title { margin-top: 18px; }
.topics-band .band-sub { max-width: 640px; margin-bottom: 32px; }

.topics-band .topic-list,
.topics-band #topic-list {
  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
.topics-band .topic-item,
.topics-band .topic-item:is(*) {
  position: relative;
  margin: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  border: 0;
  border-top: 2px solid var(--ink);
}
.topics-band .topic-item:last-child { border-bottom: 2px solid var(--ink); }
.topics-band #topic-list { display: block; }
.topics-band .topic-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 6px;
  padding: 24px 0 26px;
  background: none;
  border: 0;
  color: var(--ink);
  text-decoration: none;
}
.topics-band .topic-row > * { grid-column: 2; margin: 0; }
.topics-band .topic-row .topic-date {
  grid-column: 1;
  grid-row: 1;
  padding-top: 5px;
  font-family: "Bungee", "Bungee Fallback", Impact, sans-serif;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #8a5f00;
}
.topics-band .topic-row h2 {
  font-family: var(--body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.topics-band .topic-row:hover h2 { color: var(--green); }
.topics-band .topic-row p { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.topics-band .topic-item .topic-meta {
  font-size: 0.9rem;
  color: var(--muted);
  padding-right: 96px;
}
.topics-band .topic-share-small.whatsapp-button { bottom: 18px; }
.topics-band #mailer-slot { margin-top: 48px; }
@media (max-width: 600px) {
  .topics-band { padding-top: 28px; }
  .topics-band .topic-row { grid-template-columns: minmax(0, 1fr); }
  .topics-band .topic-row > *,
  .topics-band .topic-row .topic-date { grid-column: 1; grid-row: auto; padding-top: 0; }
}

/* Business page: claim link and owner nudge on their own lines */
.claim-line .owner-nudge {
  display: block;
  margin-top: 6px;
}


/* ======================================================
   NEW (31 Oct 2026): business page score panel, same look
   as "Try the meter" on the home page. Dark green, big
   Bungee score coloured by mood, chunky meter, gold button.
   Undo: restore backup-2026-10-31-before-score-panel.
   ====================================================== */
.score-panel {
  margin: 22px 0 6px;
  padding: 28px;
  border-radius: 24px;
  background: #102a1e;
  color: #ffffff;
}
.score-panel .score-bar { margin: 0; }
.score-panel .score-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 18px;
}
.score-panel .score-number {
  font-family: "Bungee", "Bungee Fallback", Impact, sans-serif;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: #3ee07a;
}
.score-panel .verdict {
  margin-left: auto;
  font-size: 1.2rem;
  font-weight: 700;
  color: #3ee07a;
}
.score-panel .score-summary:has(.verdict-soso) .score-number,
.score-panel .verdict-soso { color: #ffd166; }
.score-panel .score-summary:has(.verdict-gatvol) .score-number,
.score-panel .verdict-gatvol { color: #ff6b5e; }
.score-panel .score-track {
  height: 16px;
  border-radius: 999px;
  background: var(--slider);
}
.score-panel .score-marker {
  width: 34px;
  height: 34px;
  margin-left: -17px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #102a1e;
  box-shadow: 0 0 0 3px var(--gold);
  box-sizing: border-box;
}
.score-panel .score-ends {
  margin-top: 12px;
  color: #ffffff;
  font-weight: 700;
}
.score-panel .reaction-gif { margin-top: 22px; }
.score-panel .reaction-gif a,
.score-panel .how-scores a { color: #b9c9bf; }
.score-panel .tag-summary { margin-top: 20px; }
.score-panel .tag-summary-heading { color: #b9c9bf; }
.score-panel .how-scores { margin: 16px 0 0; }
.score-panel .rate-jump { margin: 22px 0 0; }
.score-panel #comeback:empty { display: none; }
@media (max-width: 600px) {
  .score-panel { padding: 22px 20px; margin-left: -4px; margin-right: -4px; }
}
.score-panel .no-reviews {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}
.score-count {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.score-panel .score-count { color: #b9c9bf; }


/* NEW (31 Oct 2026): reaction GIF shown as a still picture on slow phones.
   A small "Tap to play" label sits on it until it's tapped. */
.reaction-gif.is-still { position: relative; }
.reaction-gif.is-still img { cursor: pointer; }
.reaction-gif.is-still::after {
  content: "Tap to play";
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(16, 42, 30, 0.85);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  pointer-events: none;
}

/* 3 Nov 2026: "Rate yours" panel at the end of a Hot Topic */
.topic-rate-panel {
  margin: 28px 0 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.topic-rate-panel h3 { margin: 0 0 6px; color: var(--ink); }
.topic-rate-panel .small-note { color: var(--muted); }
#topic-mailer-spot .mailer-box { margin: 16px 0 8px; }

/* 3 Nov 2026: email-only mailer sign-up */
.mailer-form .nudge-search-row input { min-width: 0; flex: 1; }
.mailer-form .mailer-fine { margin-top: 8px; font-size: 0.85rem; }

/* ===================================================
   NEW (4 Nov 2026): replies under reviews, the Inbox,
   and private messages
   =================================================== */

/* "Inbox (3)" in the account bar */
.inbox-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.inbox-count {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  border-radius: 20px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* The actions row under a review: Helpful · Reply · Message · Report */
.review-actions {
  flex-wrap: wrap;
}

.reply-review-button {
  font-weight: 600;
}

.message-button.link-button {
  font-size: 1em;
  text-decoration: none;
  font-weight: 600;
}

.inline-note {
  margin: 0 0 0 8px;
  font-size: 0.85rem;
}

/* The thread of replies under a review */
.review-thread {
  margin: 10px 0 0 6px;
  padding-left: 14px;
  border-left: 3px solid var(--line);
}

.review-thread:empty {
  display: none;
}

.review-comment {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95em;
}

.review-comment:first-child {
  border-top: none;
}

.review-comment.is-reply {
  margin-left: 22px;
}

.review-comment p {
  margin: 6px 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.review-comment-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.review-comment-head .review-date {
  font-size: 0.8rem;
}

.review-comment.highlight {
  box-shadow: 0 0 0 3px var(--gold);
  border-radius: var(--radius-md);
  padding-left: 8px;
  padding-right: 8px;
}

.business-pill {
  padding: 1px 8px;
  border-radius: 20px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.show-replies {
  margin: 6px 0;
  font-weight: 600;
  text-decoration: none;
}

.review-thread .reply-form {
  margin-left: 0;
}

/* A second-style button (outline), e.g. "Message" next to "Follow" */
.ghost-button {
  background: transparent !important;
  color: var(--green) !important;
  border: 2px solid var(--green) !important;
  margin-left: 8px;
}

/* ---------- Inbox page ---------- */
.inbox-page .tabs {
  margin-bottom: 14px;
}

.inbox-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.notification {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  text-decoration: none;
}

.notification:hover {
  border-color: var(--green);
}

.notification.unread {
  border-left: 5px solid var(--gold);
  background: #fffaf0;
}

.notification-text p {
  margin: 0 0 4px;
}

.notification-snippet {
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* Chats: list on the left, the open chat on the right */
.chat-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  align-items: start;
}

.chat-list,
.chat-view {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.chat-list {
  padding: 6px;
  max-height: 70vh;
  overflow-y: auto;
}

.chat-list .no-results {
  padding: 10px;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.chat-item:hover,
.chat-item.active {
  background: var(--mist);
}

.chat-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.chat-preview {
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-item.unread .chat-preview {
  color: var(--ink);
  font-weight: 600;
}

.chat-view {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 12px 14px;
}

.chat-view:empty::before {
  content: "Pick a chat on the left.";
  color: var(--muted);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.chat-head .author-line {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.chat-tools {
  margin-left: auto;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.85rem;
}

.chat-back {
  display: none;
  text-decoration: none;
  font-weight: 600;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  max-height: 55vh;
  overflow-y: auto;
}

.chat-safety {
  align-self: center;
  max-width: 420px;
  margin: 0 0 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--mist);
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.bubble {
  align-self: flex-start;
  max-width: 78%;
  padding: 8px 12px;
  border-radius: 16px 16px 16px 4px;
  background: var(--mist);
  border: 1px solid var(--line);
}

.bubble.mine {
  align-self: flex-end;
  border-radius: 16px 16px 4px 16px;
  background: #dff1e8;
  border-color: #b9dfcb;
}

.bubble p {
  margin: 0;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.bubble-time {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--muted);
}

.chat-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-end;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.chat-form textarea {
  flex: 1;
  min-width: 0;
  resize: vertical;
}

.chat-form .big-button {
  margin: 0;
}

.chat-form .form-message {
  flex-basis: 100%;
  margin: 0;
}

/* Phones: show the list OR the open chat, not both */
@media (max-width: 720px) {
  .chat-layout {
    grid-template-columns: 1fr;
  }
  .chat-layout.has-open-chat .chat-list {
    display: none;
  }
  .chat-layout:not(.has-open-chat) .chat-view {
    display: none;
  }
  .chat-back {
    display: inline;
  }
  .chat-messages {
    max-height: 60vh;
  }
  .review-comment.is-reply {
    margin-left: 12px;
  }
  .ghost-button {
    margin-left: 0;
    margin-top: 8px;
  }
}
