/* ---------- Light and dark mode button ---------- */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 38px;
  height: 38px;
  margin-left: auto;
  margin-right: 10px;
  padding: 0;
  border-radius: 50%;
  background: #141414;
  border: 1px solid #232323;
  color: #ffc531;
  cursor: pointer;
}
.theme-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-btn .i-moon {
  display: none;
}
html[data-theme="light"] .theme-btn {
  background: #fff;
  border-color: #e4ded4;
  color: #e4002b;
}
html[data-theme="light"] .theme-btn .i-sun {
  display: none;
}
html[data-theme="light"] .theme-btn .i-moon {
  display: block;
}
body[data-screen="admin"] .theme-btn {
  display: none;
}

/* ---------- Light mode: customer screens only (Admin always stays dark) ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --panel: #ffffff;
  --field: #f3efe8;
  --edge: #e4ded4;
  --ink: #1a1a1a;
  --muted: #4f463e;
  --line: #e4ded4;
  --soft-red: #c4001f;
}
html[data-theme="light"] body[data-screen="admin"] {
  color-scheme: dark;
  --panel: #101010;
  --field: #1a1a1a;
  --edge: #232323;
  --ink: #ffffff;
  --muted: #9b9b9b;
  --line: #262626;
  --soft-red: #ffc531;
}

/* page and background photo */

html[data-theme="light"] body:not([data-screen="admin"]) {
  background: #ece7de;
  color: #1a1a1a;
  font-weight: 500;
}

html[data-theme="light"] body:not([data-screen="admin"]) .screen-bg {
  background: #f6f3ee;
}

html[data-theme="light"] body:not([data-screen="admin"]) .screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(255, 252, 247, 0.42) 0%,
    rgba(255, 252, 247, 0.6) 55%,
    rgba(248, 244, 238, 0.82) 100%
  );
}

html[data-theme="light"] body:not([data-screen="admin"]) .app {
  box-shadow: none;
}

/* top bar */

html[data-theme="light"] body:not([data-screen="admin"]) .topbar {
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: #e6e1d9;
}

html[data-theme="light"] body[data-screen="home"] .topbar {
  background: rgba(255, 255, 255, 0.6);
}

html[data-theme="light"] body:not([data-screen="admin"]) .where {
  background: #fff;
  border-color: #e4ded4;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .where .ic {
  color: #e4002b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .admin-link {
  color: #5d544b;
}

/* text that sits straight on the photo */

html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot a {
  color: #b0001c;
  font-weight: 700;
}

html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head .hint {
  text-shadow: none;
}

html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1 {
  color: #0d0d0d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .back {
  font-weight: 700;
}

html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot small {
  color: #26211c;
  font-weight: 600;
}

html[data-theme="light"] body:not([data-screen="admin"]) #menu-cats {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: #e6e1d9;
}

/* search and categories */

html[data-theme="light"] body:not([data-screen="admin"]) .search {
  background: #fff;
  border-color: #e4ded4;
}

html[data-theme="light"] body:not([data-screen="admin"]) .search input {
  color: #1a1a1a;
}

html[data-theme="light"]
  body:not([data-screen="admin"])
  .search
  input::placeholder {
  color: #6f655b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .search > .ic {
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .filter {
  background: #efeae2;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .cat .bub {
  background: #fff;
  color: #1a1a1a;
  border-color: #e4ded4;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] body:not([data-screen="admin"]) .cat.active .bub {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow:
    0 0 0 3px rgba(228, 0, 43, 0.25),
    0 10px 22px rgba(228, 0, 43, 0.4);
}

/* meal cards */

html[data-theme="light"] body:not([data-screen="admin"]) .meal {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e4ded4;
  color: #1a1a1a;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] body:not([data-screen="admin"]) .photo,
html[data-theme="light"] body:not([data-screen="admin"]) .mono {
  background: #f0ebe3;
}

html[data-theme="light"] body:not([data-screen="admin"]) .meal .price,
html[data-theme="light"] body:not([data-screen="admin"]) .price {
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .promo .price {
  color: #fff;
}

html[data-theme="light"] body:not([data-screen="admin"]) .flag.out {
  background: #d9d3ca;
  color: #555;
}

@media (hover: hover) {
  html[data-theme="light"] body:not([data-screen="admin"]) .meal:hover {
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.2);
  }
}

/* panels, forms, cart and checkout */

html[data-theme="light"] body:not([data-screen="admin"]) .panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: #e4ded4;
  color: #1a1a1a;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

html[data-theme="light"] body:not([data-screen="admin"]) .page-head {
  background: rgba(255, 255, 255, 0.7);
}

html[data-theme="light"] body:not([data-screen="admin"]) .ticket-label {
  color: #8f5a00;
}

html[data-theme="light"] body:not([data-screen="admin"]) .note,
html[data-theme="light"] body:not([data-screen="admin"]) .loc-note + .note {
  color: #c4001f;
}

html[data-theme="light"] body:not([data-screen="admin"]) .cthumb,
html[data-theme="light"] body:not([data-screen="admin"]) .del,
html[data-theme="light"] body:not([data-screen="admin"]) .qty {
  background: #f0ebe3;
}

html[data-theme="light"] body:not([data-screen="admin"]) .qty button {
  background: #e6e0d6;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .del {
  color: #6f655b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .dot {
  background: #fff;
}

html[data-theme="light"] body:not([data-screen="admin"]) .link-btn {
  color: #4f463e;
}

html[data-theme="light"] body:not([data-screen="admin"]) .sum .total b,
html[data-theme="light"] body:not([data-screen="admin"]) .otot b {
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .fld span {
  color: #4f463e;
}

html[data-theme="light"] body:not([data-screen="admin"]) .fld input,
html[data-theme="light"] body:not([data-screen="admin"]) .fld select,
html[data-theme="light"] body:not([data-screen="admin"]) .fld textarea,
html[data-theme="light"] body:not([data-screen="admin"]) .track input {
  background: #f3efe8;
  color: #1a1a1a;
  color-scheme: light;
}
html[data-theme="light"] body:not([data-screen="admin"]) .fld input:focus,
html[data-theme="light"] body:not([data-screen="admin"]) .fld select:focus,
html[data-theme="light"] body:not([data-screen="admin"]) .fld textarea:focus,
html[data-theme="light"] body:not([data-screen="admin"]) .track input:focus {
  background: #fff;
  border-color: var(--red);
}

html[data-theme="light"]
  body:not([data-screen="admin"])
  .fld
  input::placeholder,
html[data-theme="light"]
  body:not([data-screen="admin"])
  .fld
  textarea::placeholder,
html[data-theme="light"]
  body:not([data-screen="admin"])
  .track
  input::placeholder {
  color: #9a9086;
}

html[data-theme="light"] body:not([data-screen="admin"]) .fld select option {
  background: #fff;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .loc-btn {
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .loc-btn.done {
  background: #e6f7ec;
  border-color: #1ea952;
  color: #157a3d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .payopt {
  background: #f6f2eb;
  border-color: #e4ded4;
  color: #1a1a1a;
}

html[data-theme="light"]
  body:not([data-screen="admin"])
  .payopt:has(input:checked) {
  border-color: #e4002b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .payopt input {
  accent-color: #e4002b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .agree {
  color: #352e27;
}

html[data-theme="light"] body:not([data-screen="admin"]) .agree strong {
  color: #1a1a1a;
}

/* orders */

html[data-theme="light"] body:not([data-screen="admin"]) .placed {
  background: #e7f6ed;
  border-color: #1ea952;
  color: #14532d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .placed .ticket-label {
  color: #157a3d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pnote {
  color: #2f6b45;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostat {
  background: #fff1cc;
  color: #8a5a00;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostat.s-paid,
html[data-theme="light"] body:not([data-screen="admin"]) .ostat.s-accepted,
html[data-theme="light"] body:not([data-screen="admin"]) .ostat.s-preparing,
html[data-theme="light"] body:not([data-screen="admin"]) .ostat.s-ready,
html[data-theme="light"]
  body:not([data-screen="admin"])
  .ostat.s-out_for_delivery {
  background: #dcecff;
  color: #0b5cad;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostat.s-delivered {
  background: #dcf5e5;
  color: #157a3d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostat.s-cancelled {
  background: #fde2df;
  color: #b3261e;
}

html[data-theme="light"] body:not([data-screen="admin"]) .oprog i {
  background: #e4ded4;
}

html[data-theme="light"] body:not([data-screen="admin"]) .opend,
html[data-theme="light"] body:not([data-screen="admin"]) .oeta {
  color: #8f5a00;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostep {
  color: #5d544b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostep i {
  background: #e4ded4;
  color: #4f463e;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostep.done {
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ostep.done i {
  background: #19e57a;
  color: #04210f;
}

html[data-theme="light"] body:not([data-screen="admin"]) .obtn {
  background: #f0ebe3;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .ofine,
html[data-theme="light"] body:not([data-screen="admin"]) .pl-fine {
  color: #5d544b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .notyou {
  color: #c4001f;
}

/* order-placed screen */

html[data-theme="light"] body:not([data-screen="admin"]) .placed-hero h1 {
  color: #157a3d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .placed-hero p {
  color: #352e27;
}

html[data-theme="light"]
  body:not([data-screen="admin"])
  .placed-hero
  .placed-eta,
html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plpaid {
  color: #8f5a00;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plrow,
html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plwho {
  color: #1a1a1a;
}

html[data-theme="light"]
  body:not([data-screen="admin"])
  .pcard
  .plrow.head
  span,
html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plrow.soft,
html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plwhere,
html[data-theme="light"] body:not([data-screen="admin"]) .pl-home {
  color: #4f463e;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plcode {
  color: #c4001f;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plrow.total b {
  color: #157a3d;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plwhen {
  color: #5d544b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pcard .plsep {
  border-top-color: #e4ded4;
}

html[data-theme="light"] body:not([data-screen="admin"]) .btn-dark {
  background: #fff;
  color: #1a1a1a;
  border-color: #d9d2c7;
}

/* bottom navigation, ingredients bubble */

html[data-theme="light"] body:not([data-screen="admin"]) .nav {
  background: #fff;
  border-top-color: #e4ded4;
  box-shadow: 0 -10px 26px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] body:not([data-screen="admin"]) .nav a {
  color: #5d544b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .nav a.active {
  color: #e4002b;
}

html[data-theme="light"] body:not([data-screen="admin"]) .nav .orb {
  border-color: #fff;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pop {
  background: #fff;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pop::after {
  background: #fff;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pop-label {
  color: #8f5a00;
}

html[data-theme="light"] body:not([data-screen="admin"]) .pop li {
  background: #f0ebe3;
  color: #1a1a1a;
}

/* welcome page and pop-up forms (complaint) */

html[data-theme="light"] body:not([data-screen="admin"]) .welcome {
  background: rgba(0, 0, 0, 0.55);
}

html[data-theme="light"] body:not([data-screen="admin"]) .wl-card h1,
html[data-theme="light"] body:not([data-screen="admin"]) .wl-brand span {
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .wl-sub {
  color: #352e27;
}

html[data-theme="light"] body:not([data-screen="admin"]) .mm-backdrop {
  background: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] body:not([data-screen="admin"]) .mm-card {
  background: #fff;
  border-color: #e4ded4;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .act {
  background: #ece6dc;
  color: #1a1a1a;
}

html[data-theme="light"] body:not([data-screen="admin"]) .act.accept {
  background: linear-gradient(180deg, #ff1f47, #d0001f);
  color: #fff;
}
/* ---------- Home banner: light photo in light mode (dark photo stays in dark mode) ---------- */
html[data-theme="light"] .hero {
  background: #f8f4e9;
  border-color: #e4ded4;
  box-shadow: 0 14px 30px rgba(60, 40, 20, 0.16);
}
html[data-theme="light"] .hero::before {
  background: url("../images/home-banner-light.jpg") right -24px center / auto
    108% no-repeat;
}
html[data-theme="light"] .hero::after {
  background: linear-gradient(
    90deg,
    rgba(248, 244, 233, 0.88) 0%,
    rgba(248, 244, 233, 0.45) 28%,
    rgba(248, 244, 233, 0) 50%
  );
}
html[data-theme="light"] .hero h1 {
  color: #1a1a1a;
  text-shadow:
    0 0 12px rgba(248, 244, 233, 0.95),
    0 0 4px rgba(248, 244, 233, 0.9);
}
html[data-theme="light"] .hero p {
  color: #2f2822;
  font-weight: 600;
  text-shadow:
    0 0 10px rgba(248, 244, 233, 0.95),
    0 0 4px rgba(248, 244, 233, 0.9);
}

/* ---------- Light mode: lighter shade over the page background photo ---------- */
html[data-theme="light"] body:not([data-screen="admin"]) .screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(255, 252, 247, 0.1) 0%,
    rgba(255, 252, 247, 0.2) 55%,
    rgba(248, 244, 238, 0.5) 100%
  );
}
/* ---------- Light mode: even clearer photos (overrides the shades above) ---------- */
html[data-theme="light"] .hero::after {
  background: linear-gradient(
    90deg,
    rgba(248, 244, 233, 0.7) 0%,
    rgba(248, 244, 233, 0.22) 22%,
    rgba(248, 244, 233, 0) 40%
  );
}
html[data-theme="light"] .hero h1 {
  text-shadow:
    0 0 14px rgba(248, 244, 233, 1),
    0 0 6px rgba(248, 244, 233, 1),
    0 0 3px rgba(248, 244, 233, 1);
}
html[data-theme="light"] .hero p {
  text-shadow:
    0 0 12px rgba(248, 244, 233, 1),
    0 0 6px rgba(248, 244, 233, 1),
    0 0 3px rgba(248, 244, 233, 1);
}
html[data-theme="light"] body:not([data-screen="admin"]) .screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(255, 252, 247, 0) 0%,
    rgba(255, 252, 247, 0.06) 55%,
    rgba(248, 244, 238, 0.3) 100%
  );
}
/* ---------- Light mode: bold, very dark write-ups on the background photo ---------- */
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .brand {
  color: #000;
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(255, 252, 247, 0.95),
    0 0 4px rgba(255, 252, 247, 0.95),
    0 0 2px rgba(255, 252, 247, 0.95);
}
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot small {
  color: #000;
  font-weight: 700;
  text-shadow:
    0 0 10px rgba(255, 252, 247, 0.95),
    0 0 4px rgba(255, 252, 247, 0.95),
    0 0 2px rgba(255, 252, 247, 0.95);
}
html[data-theme="light"] .hero h1 {
  color: #000;
}
html[data-theme="light"] .hero p {
  color: #000;
  font-weight: 700;
}
/* ---------- TRY-OUT: red write-ups over the background photo (light mode) ---------- */
html[data-theme="light"] {
  --on-photo: #ffc531;
}
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot small {
  color: var(--on-photo);
}
/* ---------- Light mode: no glow behind the write-ups ---------- */
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot small,
html[data-theme="light"] body:not([data-screen="admin"]) .brand,
html[data-theme="light"] .hero h1,
html[data-theme="light"] .hero p {
  text-shadow: none;
}
/* ---------- Option 1: light write-ups on the photo, no white shade (light mode) ---------- */

/* a very light dark shade over the page photo, so white words stay readable */
html[data-theme="light"] body:not([data-screen="admin"]) .screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.22) 0%,
    rgba(0, 0, 0, 0.28) 55%,
    rgba(0, 0, 0, 0.38) 100%
  );
}

/* white headings and labels */
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot small {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* yellow links and tip lines */
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot a {
  color: #ffc531;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

/* Menu category bar: no white, same size bubbles, slim bar */
html[data-theme="light"] #menu-cats {
  padding: 4px 20px 3px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
html[data-theme="light"] #menu-cats .bub {
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
}
html[data-theme="light"] #menu-cats .bub .ic {
  width: 24px;
  height: 24px;
}
html[data-theme="light"] #menu-cats .cat span {
  font-size: 11px;
  line-height: 1.1;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}
/* ---------- Menu: no rectangle behind the category bubbles (light mode) ---------- */
html[data-theme="light"] #menu-cats {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
html[data-theme="light"] #menu-cats .cat span {
  color: #fff;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.9),
    0 0 2px rgba(0, 0, 0, 0.7);
}
/* ---------- Clean, bold write-ups: no glow, no shadow (light mode) ---------- */

/* a slightly stronger dark shade so the white words stay crisp without any shadow */
html[data-theme="light"] body:not([data-screen="admin"]) .screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32) 0%,
    rgba(0, 0, 0, 0.38) 55%,
    rgba(0, 0, 0, 0.46) 100%
  );
}

/* white headings and labels: bold and crisp */
html[data-theme="light"] body:not([data-screen="admin"]) .hi-line,
html[data-theme="light"] body:not([data-screen="admin"]) .cat span,
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head h2,
html[data-theme="light"] body:not([data-screen="admin"]) .group,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .simple-head p,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head h1,
html[data-theme="light"] body:not([data-screen="admin"]) .empty,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot small,
html[data-theme="light"] #menu-cats .cat span {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: none !important;
}

/* yellow links and tip lines: same clean look */
html[data-theme="light"] body:not([data-screen="admin"]) .sec-head a,
html[data-theme="light"] body:not([data-screen="admin"]) .back,
html[data-theme="light"] body:not([data-screen="admin"]) .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .page-head .hint,
html[data-theme="light"] body:not([data-screen="admin"]) .home-foot a {
  color: #ffc531;
  font-weight: 700;
  text-shadow: none !important;
}
/* ---------- Same sizes in dark mode as in light mode (colours stay separate) ---------- */
html body:not([data-screen="admin"]) {
  font-weight: 500;
}

/* headings and labels */
body:not([data-screen="admin"]) .hi-line,
body:not([data-screen="admin"]) .cat span,
body:not([data-screen="admin"]) .sec-head h2,
body:not([data-screen="admin"]) .group,
body:not([data-screen="admin"]) .simple-head h1,
body:not([data-screen="admin"]) .simple-head p,
body:not([data-screen="admin"]) .page-head h1,
body:not([data-screen="admin"]) .empty,
body:not([data-screen="admin"]) .home-foot,
body:not([data-screen="admin"]) .home-foot small,
body #menu-cats .cat span {
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* links and tip lines */
body:not([data-screen="admin"]) .sec-head a,
body:not([data-screen="admin"]) .back,
body:not([data-screen="admin"]) .hint,
body:not([data-screen="admin"]) .page-head .hint,
body:not([data-screen="admin"]) .home-foot a {
  font-weight: 700;
}

/* Menu category bar: slim bar, same bubbles */
body #menu-cats {
  padding: 4px 20px 3px;
}
body #menu-cats .bub {
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
}
body #menu-cats .bub .ic {
  width: 24px;
  height: 24px;
}
body #menu-cats .cat span {
  font-size: 11px;
  line-height: 1.1;
}

/* banner text */
.hero p {
  font-weight: 700;
}
