@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --jungle: #1F3A2E;
  --jungle-dark: #14261D;
  --paper: #F4EFE3;
  --paper-raised: #FFFFFF;
  --mango: #E8A33D;
  --mango-dark: #C9821F;
  --ink: #22281F;
  --ink-soft: #5B6154;
  --line: #DCD3BC;
  --open-green: #3E7B4F;
  --closed-red: #B4482F;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(20, 38, 29, 0.08);
}

[data-theme="dark"] {
  --paper: #191D19;
  --paper-raised: #23281F;
  --ink: #EDEAE2;
  --ink-soft: #A9AFA0;
  --line: #3A3F37;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] body {
  color: var(--ink);
}

/* Fixed light/cream text color for things that sit on inherently dark
   surfaces (header, mango hover states, badges) — deliberately does NOT
   flip in dark mode, unlike --paper which is the page background. */
:root {
  --text-on-dark: #F4EFE3;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] .display,
[data-theme="dark"] .section-heading,
[data-theme="dark"] .card-categories,
[data-theme="dark"] .social-links a,
[data-theme="dark"] .back-link,
[data-theme="dark"] .menu-block h3,
[data-theme="dark"] .info-block h3 {
  color: var(--ink);
}

[data-theme="dark"] .btn-outline {
  border-color: var(--line);
  color: var(--ink);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 0.22s ease;
}

body.page-transitioning {
  opacity: 0;
}

h1, h2, h3, .display {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--jungle-dark);
  margin: 0;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */
/* ---------- Loading intro ---------- */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--jungle-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.7s ease;
}

.intro-overlay.intro-fade-out {
  opacity: 0;
  pointer-events: none;
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.intro-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: 0.14em;
  color: var(--text-on-dark);
}

.intro-brand span { color: var(--mango); }

.intro-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 2;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: #B9C4B6;
  pointer-events: none;
}

.intro-counter {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--mango);
  letter-spacing: 0.05em;
  pointer-events: none;
  transition: font-size 0.2s ease, letter-spacing 0.2s ease;
}

.intro-counter.ready {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  pointer-events: auto;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--mango);
  background: rgba(232, 163, 61, 0.12);
}

.intro-counter.ready:hover {
  background: var(--mango);
  color: var(--jungle-dark);
}

.intro-stack {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 1;
}

/* Each card gets its own rotating "slot" — a negative animation-delay spreads
   them evenly around the circle at start, then all slots rotate together at
   the same speed, so the whole group orbits like a carousel. */
.intro-orbit-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  animation: introOrbitSpin var(--spin-dur, 22s) linear infinite;
  animation-delay: var(--spin-delay, 0s);
}

.intro-orbit-slot:hover,
.intro-orbit-slot:hover .intro-card-counter {
  animation-play-state: paused;
}

@keyframes introOrbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.intro-orbit-arm {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(var(--orbit-radius, 230px));
}

/* Counter-rotates at the same speed/delay as the orbit slot so each card's
   photo doesn't spin as it travels around the circle — just carried along. */
.intro-card-counter {
  animation: introOrbitCounterSpin var(--spin-dur, 22s) linear infinite;
  animation-delay: var(--spin-delay, 0s);
}

@keyframes introOrbitCounterSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.intro-card {
  position: absolute;
  top: -97px;
  left: -75px;
  width: 150px;
  height: 195px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: introCardIn 0.6s ease-out forwards;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intro-orbit-slot:hover .intro-card {
  transform: scale(1.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

@keyframes introCardIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.intro-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 720px) {
  .intro-brand { font-size: 2.2rem; }
  .intro-counter { font-size: 1.8rem; right: 16px; bottom: 16px; }
  .intro-card { width: 100px; height: 130px; top: -65px; left: -50px; }
}


/* ---------- Ticker ad bar ---------- */
.ticker-bar {
  background: var(--mango);
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 45s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 40px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--jungle-dark);
  white-space: nowrap;
}

.ticker-emoji {
  font-size: 1rem;
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-header {
  background: var(--jungle);
  color: var(--text-on-dark);
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.site-header .brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-on-dark);
  letter-spacing: 0.12em;
}

.site-header .brand span { color: var(--mango); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header .tagline {
  font-size: 0.85rem;
  color: #B9C4B6;
  font-family: 'Work Sans', sans-serif;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
}

.theme-toggle {
  background: rgba(244, 239, 227, 0.1);
  border: 1px solid rgba(244, 239, 227, 0.25);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  box-shadow: var(--shadow);
}

.theme-toggle:hover {
  background: rgba(244, 239, 227, 0.2);
}

.auth-pill {
  background: rgba(244, 239, 227, 0.1);
  border: 1px solid rgba(244, 239, 227, 0.25);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--text-on-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.auth-pill:hover {
  background: rgba(244, 239, 227, 0.2);
}

.auth-greeting {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  font-family: 'Work Sans', sans-serif;
  white-space: nowrap;
}

.rating-aggregate {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-aggregate .stars-display { color: var(--mango); letter-spacing: 2px; }
.rating-aggregate .rating-count { font-size: 0.85rem; color: var(--ink-soft); font-family: 'Work Sans', sans-serif; }

.rating-stars-input {
  display: flex;
  gap: 4px;
  font-size: 1.8rem;
  margin: 10px 0;
}

.rating-star {
  cursor: pointer;
  color: var(--line);
  transition: color 0.15s ease, transform 0.1s ease;
}

.rating-star:hover { transform: scale(1.1); }
.rating-star.filled { color: var(--mango); }

.rating-signin-prompt {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.rating-signin-prompt a { color: var(--mango-dark); font-weight: 600; }

.ratings-tips-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tips-sort {
  display: flex;
  gap: 6px;
}

.tips-sort-btn {
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}

.tips-sort-btn.active {
  background: var(--jungle);
  color: var(--text-on-dark);
  border-color: var(--jungle);
}

#tipsShowMoreBtn {
  display: block;
  margin: 8px auto 0;
}

.your-rating-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 14px 0 24px;
}

.your-rating-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.rating-submit-row {
  margin-top: 10px;
}

.rating-submit-row .btn {
  width: auto;
}

.tip-card {
  position: relative;
  display: flex;
  gap: 12px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}

.tip-card-private {
  border: 1.5px dashed var(--mango);
}

.tip-card.has-corner-badge {
  padding-right: 100px;
}

.tip-corner {
  position: absolute;
  top: 12px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tip-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--jungle);
  color: var(--text-on-dark);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-content {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: max-content auto 1fr;
  column-gap: 12px;
  row-gap: 3px;
  align-items: baseline;
}

.tip-stars {
  grid-column: 1;
  grid-row: 1;
  color: var(--mango);
  font-size: 0.85rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

.tip-divider {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 1px;
  background: var(--line);
  align-self: stretch;
}

.tip-time {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.75rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.tip-updated-tag {
  font-size: 0.68rem;
  color: var(--ink-soft);
  font-style: italic;
  white-space: nowrap;
}

.tip-update-btn {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--mango-dark);
  background: none;
  border: 1px solid var(--mango);
  border-radius: 999px;
  padding: 3px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.tip-update-btn:hover {
  background: var(--mango);
  color: var(--jungle-dark);
}

.tip-pending-badge {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  font-style: italic;
  white-space: nowrap;
}

.tip-comment {
  font-size: 0.92rem;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}

.tip-author {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
  font-weight: 700;
  margin: 0;
}

.tip-private-note {
  font-style: normal;
  color: var(--mango-dark);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 38, 29, 0.6);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal-box {
  position: relative;
  background: var(--paper-raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink-soft);
  line-height: 1;
}

.modal-box label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.modal-box textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 50px;
}

.static-stars .rating-star {
  cursor: default;
}

.static-stars .rating-star:hover {
  transform: none;
}

[data-theme="dark"] .theme-toggle {
  background: rgba(20, 38, 29, 0.6);
  border: 1px solid rgba(244, 239, 227, 0.2);
}

.recently-viewed-inner {
  padding-top: 18px;
  padding-bottom: 8px;
}

.recently-viewed-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0 0 10px;
}

.recently-viewed-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.recently-viewed-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 16px 5px 5px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.recently-viewed-chip:hover {
  transform: translateY(-2px);
  border-color: var(--mango);
  box-shadow: 0 8px 18px rgba(20, 38, 29, 0.12);
}

.recently-viewed-chip img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: var(--jungle-dark);
  flex-shrink: 0;
}

.recently-viewed-chip span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

/* ---------- Controls bar ---------- */
.controls {
  max-width: 1180px;
  margin: 70px auto 36px;
  padding: 14px 24px;
  background: var(--paper-raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 14px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
}

@media (max-width: 780px) {
  .controls {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow-x: visible;
  }
}

.search-input {
  flex: 1 1 160px;
  min-width: 140px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}

.search-input:focus, select:focus, button:focus {
  outline: 2px solid var(--mango);
  outline-offset: 1px;
}

select {
  flex-shrink: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-raised);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
}

.checkbox-label {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--mango-dark);
  cursor: pointer;
}

/* ---------- Shop sections ---------- */
.section-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 32px 40px 48px;
}

.section-heading {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  color: var(--jungle-dark);
}

.featured-heading {
  text-align: center;
  color: var(--mango);
  background: linear-gradient(
    100deg,
    var(--mango) 0%, var(--mango) 42%,
    #fff3d6 50%,
    var(--mango) 58%, var(--mango) 100%
  );
  background-size: 260% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerSweep 1.6s ease-out 0.4s 1 forwards;
}

@keyframes shimmerSweep {
  to { background-position: 0% 0; }
}

.regular-band .section-inner {
  padding-top: 8px;
}

.featured-band {
  position: relative;
  overflow: hidden;
  background: var(--jungle-dark);
  
}

.featured-ghost-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}

.featured-ghost-layer.visible {
  opacity: 0.22;
}

.featured-band .section-inner {
  position: relative;
  z-index: 2;
}

.featured-single-wrap {
  position: relative;
}

.featured-nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  background: transparent;
  transition: background 0.25s ease;
}

.featured-nav-zone.left {
  left: 0;
}
.featured-nav-zone.left:hover {
  background: linear-gradient(to right, rgba(20, 38, 29, 0.45), transparent);
}

.featured-nav-zone.right {
  right: 0;
}
.featured-nav-zone.right:hover {
  background: linear-gradient(to left, rgba(20, 38, 29, 0.45), transparent);
}

.featured-nav-arrow {
  opacity: 0;
  transition: opacity 0.25s ease;
  color: var(--text-on-dark);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.featured-nav-zone:hover .featured-nav-arrow { opacity: 0.85; }

.featured-single-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  padding: 8px 56px;
  transition: opacity 0.32s ease;
}

.featured-single-grid.fading {
  opacity: 0;
}

.featured-detail-panel {
  color: var(--text-on-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 20px 0;
}

.featured-detail-images {
  display: flex;
  gap: 12px;
}

.featured-detail-images img {
  width: 110px;
  height: 84px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-detail-desc {
  font-size: 0.95rem;
  color: #D7DED2;
  line-height: 1.6;
  max-width: 440px;
}

.featured-detail-meta {
  font-size: 0.85rem;
  color: #B9C4B6;
  line-height: 1.7;
  margin: 0;
}

.featured-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 4px;
}

.featured-status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.featured-status-badge.open {
  color: #B7E6C4;
  background: rgba(62, 123, 79, 0.18);
}
.featured-status-badge.open::before {
  background: #6FDB8C;
  box-shadow: 0 0 0 3px rgba(111, 219, 140, 0.22), 0 0 10px 2px rgba(111, 219, 140, 0.75);
  animation: featuredStatusPulse 2.4s ease-in-out infinite;
}

.featured-status-badge.closed {
  color: #F0C1B3;
  background: rgba(180, 72, 47, 0.18);
}
.featured-status-badge.closed::before {
  background: #E58467;
  box-shadow: 0 0 0 3px rgba(229, 132, 103, 0.2), 0 0 8px 1px rgba(229, 132, 103, 0.55);
}

@keyframes featuredStatusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(111, 219, 140, 0.22), 0 0 10px 2px rgba(111, 219, 140, 0.75); }
  50% { box-shadow: 0 0 0 5px rgba(111, 219, 140, 0.15), 0 0 16px 4px rgba(111, 219, 140, 0.9); }
}

/* ---- Account status tags (Warned/Suspended/Banned) — shown before the
   header greeting. Same badge + pulsing-dot grammar as .featured-status-badge
   above, so it reads as part of the same design system rather than a
   bolted-on notice. ---- */
.account-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 11px;
  border-radius: 999px;
  width: fit-content;
  margin-right: 8px;
  vertical-align: middle;
  white-space: nowrap;
}
.account-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.account-tag.warn {
  color: var(--mango-dark);
  background: rgba(232, 163, 61, 0.16);
  border: 1px solid rgba(232, 163, 61, 0.35);
  cursor: pointer;
}
.account-tag.warn::before {
  background: var(--mango);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.22), 0 0 9px 2px rgba(232, 163, 61, 0.65);
  animation: accountTagPulseWarn 2.4s ease-in-out infinite;
}
.account-tag.warn:hover { background: rgba(232, 163, 61, 0.26); }

.account-tag.suspended {
  color: #F0C1B3;
  background: rgba(180, 72, 47, 0.16);
  border: 1px solid rgba(229, 132, 103, 0.4);
}
.account-tag.suspended::before {
  background: #E58467;
  box-shadow: 0 0 0 3px rgba(229, 132, 103, 0.22), 0 0 10px 2px rgba(229, 132, 103, 0.7);
  animation: accountTagPulseSuspended 2.2s ease-in-out infinite;
}

.account-tag.banned {
  color: #EFE7D8;
  background: var(--jungle-dark);
  border: 1px solid rgba(180, 72, 47, 0.5);
}
.account-tag.banned::before {
  background: #B4482F;
  box-shadow: 0 0 0 3px rgba(180, 72, 47, 0.25), 0 0 8px 2px rgba(180, 72, 47, 0.5);
  animation: accountTagPulseBanned 3.4s ease-in-out infinite;
}

@keyframes accountTagPulseWarn {
  0%, 100% { box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.22), 0 0 9px 2px rgba(232, 163, 61, 0.65); }
  50% { box-shadow: 0 0 0 5px rgba(232, 163, 61, 0.15), 0 0 14px 3px rgba(232, 163, 61, 0.8); }
}
@keyframes accountTagPulseSuspended {
  0%, 100% { box-shadow: 0 0 0 3px rgba(229, 132, 103, 0.22), 0 0 10px 2px rgba(229, 132, 103, 0.7); }
  50% { box-shadow: 0 0 0 6px rgba(229, 132, 103, 0.14), 0 0 16px 4px rgba(229, 132, 103, 0.85); }
}
@keyframes accountTagPulseBanned {
  0%, 100% { box-shadow: 0 0 0 3px rgba(180, 72, 47, 0.25), 0 0 8px 2px rgba(180, 72, 47, 0.5); }
  50% { box-shadow: 0 0 0 4px rgba(180, 72, 47, 0.16), 0 0 11px 2px rgba(180, 72, 47, 0.6); }
}


.featured-detail-cta {
  align-self: flex-start;
  margin-top: 4px;
}

.featured-detail-full {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.featured-details-toggle {
  display: none;
}

.featured-big-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  min-height: 620px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.featured-big-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  background: var(--jungle-dark);
}

.featured-big-card-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 24px 20px;
  background: linear-gradient(to top, rgba(20, 38, 29, 0.88), transparent);
  color: var(--text-on-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.featured-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  position: relative;
  z-index: 2;
}

.featured-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 239, 227, 0.28);
  transition: background 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.featured-dot.active {
  background: rgba(232, 163, 61, 0.75);
  transform: scale(1.3);
}

@media (max-width: 860px) {
  .featured-single-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 8px 44px;
  }

  .featured-big-card { order: 1; min-height: 260px; }
  .featured-detail-panel { order: 2; padding: 0; }

  .featured-details-toggle {
    display: inline-flex;
    align-self: flex-start;
  }

  .featured-detail-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .featured-detail-full.expanded {
    max-height: 600px;
  }
}

@media (max-width: 560px) {
  .featured-nav-zone { width: 36px; }
  .featured-single-grid { padding: 8px 36px; }
}


.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1320px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
}

.card {
  background: var(--paper-raised);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.card:hover {
  box-shadow: 0 14px 32px rgba(20, 38, 29, 0.18);
}

@keyframes popIn {
  0% { transform: scale(1); }
  45% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.icon-pop {
  animation: popIn 0.35s ease;
}

.card.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(232, 163, 61, 0.4), 0 3px 12px rgba(20, 38, 29, 0.15);
}

.card-enter {
  opacity: 0;
  animation: cardEnter 0.5s ease-out forwards;
}

@keyframes cardEnter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--jungle-dark) url('data:image/svg+xml;utf8,') center/cover;
  position: relative;
  overflow: hidden;
}

.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.featured-badge {
  background: var(--mango);
  color: var(--jungle-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(62, 123, 79, 0.12);
  color: var(--open-green);
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  vertical-align: middle;
  animation: verifiedGlow 2.4s infinite;
}

@keyframes verifiedGlow {
  0% { box-shadow: 0 0 0 0 rgba(62, 123, 79, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(62, 123, 79, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 123, 79, 0); }
}

.featured-big-card-name .verified-badge {
  background: rgba(62, 123, 79, 0.22);
  color: #8FE0A8;
  margin-left: 10px;
  font-size: 0.62rem;
}

.verified-reviewer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-family: 'Work Sans', sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  vertical-align: middle;
}
.verified-reviewer-badge::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--mango);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  flex-shrink: 0;
}

.seal-stamp {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--jungle);
  border: 2px dashed var(--mango);
  color: var(--mango);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
}

.card-tier-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--mango);
  color: var(--jungle-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  box-shadow: var(--shadow);
}

/* ---------- Free tier: thin button-style cards ---------- */
.free-band {
  background: rgba(31, 58, 46, 0.08);
}

.free-band .section-inner {
  padding-top: 8px;
}

.free-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.free-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper-raised);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  cursor: default;
}

.free-card img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--jungle-dark);
  flex-shrink: 0;
}

.free-card-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.free-card-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.free-card-cat {
  font-size: 0.7rem;
  color: var(--ink-soft);
}

.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 2px;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 0.62rem;
  color: var(--mango-dark);
  white-space: nowrap;
  margin: 0;
}

.card-rating {
  font-family: 'Oswald', sans-serif;
  font-size: 0.72rem;
  color: var(--mango-dark);
  margin: 2px 0 0;
}

.card-rating-count {
  color: var(--ink-soft);
  font-family: 'Work Sans', sans-serif;
}

.featured-detail-meta.card-rating,
.featured-detail-panel .card-rating {
  font-size: 0.85rem;
  margin: 4px 0;
}

.card-categories {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--jungle);
  margin: 0;
  min-height: 1.6em;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
  flex: 1;
}

.card-status-banner {
  margin: 0 -16px -16px;
  padding: 9px 10px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--paper-raised);
}

.card-status-banner.open {
  background: var(--open-green);
  box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.12), 0 0 14px 1px rgba(62, 123, 79, 0.65);
  animation: bannerGlowPulse 2.4s ease-in-out infinite;
}

.card-status-banner.closed {
  background: var(--closed-red);
  box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.08), 0 0 12px 1px rgba(180, 72, 47, 0.5);
}

@keyframes bannerGlowPulse {
  0%, 100% { box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.12), 0 0 14px 1px rgba(62, 123, 79, 0.65); }
  50% { box-shadow: inset 0 1px 12px rgba(255, 255, 255, 0.12), 0 0 20px 4px rgba(62, 123, 79, 0.85); }
}

.card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.new-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--mango);
  color: var(--jungle-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.fav-star,
.check-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(20, 38, 29, 0.55);
  color: rgba(244, 239, 227, 0.65);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.fav-star:hover,
.check-toggle:hover { background: rgba(20, 38, 29, 0.8); }

.fav-star.active { color: var(--mango); }
.check-toggle.active {
  background: var(--open-green);
  color: var(--text-on-dark);
}

.detail-icon-btn {
  position: static;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 8px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}

.detail-icon-btn.active.fav-star { background: var(--mango); color: var(--jungle-dark); }
.detail-icon-btn.active.check-toggle { background: var(--open-green); color: var(--text-on-dark); }

/* Ticket-style category tag — stamped look with a punched hole */
.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px 4px 14px;
  border: 1px dashed var(--jungle);
  border-radius: 3px;
  color: var(--jungle);
  background: #EAE3D0;
}

.tag::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--jungle);
}

.tag-group {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jungle);
  text-decoration: underline;
}

.social-links a:hover { color: var(--mango-dark); }

.status {
  font-size: 0.68rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 4px 11px;
  border-radius: 999px;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status.open {
  color: var(--open-green);
  background: rgba(62, 123, 79, 0.09);
}
.status.open::before {
  background: var(--open-green);
  box-shadow: 0 0 0 3px rgba(62, 123, 79, 0.18), 0 0 8px 1px rgba(62, 123, 79, 0.6);
  animation: statusPulse 2.4s ease-in-out infinite;
}

.status.closed {
  color: var(--closed-red);
  background: rgba(180, 72, 47, 0.08);
}
.status.closed::before {
  background: var(--closed-red);
  box-shadow: 0 0 0 3px rgba(180, 72, 47, 0.14), 0 0 6px 1px rgba(180, 72, 47, 0.4);
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(62, 123, 79, 0.18), 0 0 8px 1px rgba(62, 123, 79, 0.6); }
  50% { box-shadow: 0 0 0 5px rgba(62, 123, 79, 0.12), 0 0 12px 3px rgba(62, 123, 79, 0.8); }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
}

.empty-state-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ---------- Detail page ---------- */
.detail-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--jungle);
  font-weight: 600;
}

.back-link:hover { text-decoration: underline; }

.gallery {
  margin-bottom: 20px;
}

.hero-wrap {
  position: relative;
  perspective: 900px;
}

.gallery-hero {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  background: var(--jungle-dark);
  margin-bottom: 8px;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.gallery-hero:hover {
  box-shadow: 0 18px 40px rgba(20, 38, 29, 0.35);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 38, 29, 0.55);
  color: var(--text-on-dark);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-arrow:hover { background: rgba(20, 38, 29, 0.8); }
.gallery-arrow.left { left: 12px; }
.gallery-arrow.right { right: 12px; }

.lightbox-arrow {
  position: fixed;
  top: 50%;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 38, 29, 0.92);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 40px;
  perspective: 1200px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
  will-change: transform;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--text-on-dark);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumbs .thumb {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.65;
  border: 2px solid transparent;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.gallery-thumbs .thumb:hover { opacity: 0.9; }

.gallery-thumbs .thumb.active {
  opacity: 1;
  border-color: var(--mango);
}

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.detail-head h1 { font-size: 2rem; }

.detail-meta-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin: 10px 0 18px;
}

.detail-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 620px;
}

.menu-block {
  margin-bottom: 28px;
}

.menu-block h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--jungle);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 480px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.menu-item-name { color: var(--ink); }

.menu-item-price {
  font-family: 'Oswald', sans-serif;
  color: var(--mango-dark);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

.menu-note {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.info-block h3 {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--jungle);
}

.hours-table { width: 100%; font-size: 0.88rem; }
.hours-table td { padding: 3px 0; color: var(--ink-soft); }
.hours-table td:first-child { font-weight: 600; color: var(--ink); width: 50px; }
.hours-table tr.today td { color: var(--jungle-dark); font-weight: 600; }

.contact-line { font-size: 0.9rem; margin: 4px 0; color: var(--ink-soft); }

.action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.action-row .btn {
  flex: 1 1 180px;
  text-align: center;
}

.btn {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary { background: var(--mango); color: var(--jungle-dark); }
.btn-primary:hover { background: var(--mango-dark); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--jungle);
  color: var(--jungle);
}
.btn-outline:hover { background: var(--jungle); color: var(--text-on-dark); }

/* Reserve form */
.reserve-panel {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 460px;
  display: none;
}

.reserve-panel.open { display: block; }

.reserve-panel h3 { margin-bottom: 4px; }
.reserve-note { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 16px; }

.qr-panel {
  background: var(--paper-raised);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 260px;
  display: none;
  text-align: center;
  margin-bottom: 24px;
}

.qr-panel.open { display: block; }

.qr-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

#qrCodeContainer {
  display: inline-block;
  padding: 10px;
  background: #FFFFFF;
  border-radius: 6px;
}

.reserve-panel label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 12px;
}

.reserve-panel input, .reserve-panel textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
}

.reserve-panel textarea { resize: vertical; min-height: 60px; }

@media (max-width: 640px) {
  .gallery-hero { height: 280px; }
  .info-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile/tablet cleanup pass ---------- */
@media (max-width: 600px) {
  .site-header {
    padding: 14px 16px;
  }

  .site-header .brand {
    font-size: 1.5rem;
  }

  .header-right {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  .site-header .tagline {
    display: none; /* first thing to drop — least essential, keeps auth controls reachable */
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 16px;
    left: 16px;
  }

  .auth-pill {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .detail-wrap {
    padding: 20px 16px 70px;
  }

  .detail-head h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }

  .detail-head {
    gap: 8px;
  }

  .detail-icon-btn {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
    margin-left: 6px;
  }

  .rating-submit-row .btn {
    width: 100%;
  }

  .tip-card {
    flex-wrap: wrap;
  }

  .tip-card.has-corner-badge {
    padding-right: 16px;
  }

  .tip-corner {
    position: static;
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: flex-end;
    margin-bottom: 8px;
  }

  .tip-content {
    grid-template-columns: max-content auto 1fr;
  }

  .action-row {
    flex-direction: column;
  }

  .action-row .btn {
    flex: 0 0 auto;
    width: 100%;
    text-align: center;
  }

  .controls {
    margin-top: 24px;
    padding: 12px 16px;
  }

  .rating-stars-input {
    font-size: 1.5rem;
  }

  .featured-big-card-name {
    font-size: 1.2rem;
    padding: 16px 16px 14px;
  }
}

@media (max-width: 380px) {
  .site-header .brand {
    font-size: 1.25rem;
  }

  .auth-greeting {
    display: none; /* keep just the pill button reachable on the smallest screens */
  }

  .gallery-hero {
    height: 220px;
  }
}

/* ---------- Scroll reveal (All Shops grid) ---------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Skeleton loading shimmer (initial page load only) ---------- */
.skeleton-card {
  background: var(--paper-raised);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 320px;
  overflow: hidden;
  position: relative;
}

.skeleton-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmerMove 1.3s infinite;
}

@keyframes shimmerMove {
  from { background-position: 150% 0; }
  to { background-position: -50% 0; }
}

/* ---------- Toast notification ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--jungle-dark);
  color: var(--text-on-dark);
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 500;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Brand logo click animation (TLG -> Toril Local Guide -> TLG) ---------- */
.brand-letter {
  display: inline-block;
}

.brand-zoom-overlay {
  position: fixed;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  transform-origin: center center;
  transition: transform 0.85s cubic-bezier(0.22, 0.68, 0.32, 1), opacity 0.25s ease;
  opacity: 1;
}

.brand-zoom-overlay.hide {
  opacity: 0;
}

.brand-fade {
  transition: opacity 0.3s ease;
}

.brand-expanded {
  font-size: 1.3rem;
  letter-spacing: 0.03em;
}

.brand-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: brandCursorBlink 0.8s step-start infinite;
}

@keyframes brandCursorBlink {
  50% { opacity: 0; }
}

/* ---- Header greeting dropdown affordance (account.html link) ---- */
.account-greeting-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.account-greeting-link:hover {
  background: rgba(232, 163, 61, 0.15);
}
.account-greeting-chevron {
  font-size: 0.6rem;
  opacity: 0.65;
  transition: transform 0.15s ease;
  position: relative;
  top: 1px;
}
.account-greeting-link:hover .account-greeting-chevron {
  transform: translateY(1px);
  opacity: 1;
}
