*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amber: #c87b2b;
  --amber-light: #e8a84c;
  --brown: #5c3a1e;
  --brown-dark: #2c1a0a;
  --cream: #f5edd6;
  --cream-dark: #e8dcc4;
  --denim: #4a6fa5;
  --denim-dark: #2c4a6e;
  --green-glass: #6b8f5e;
  --off-white: #faf8f2;
  --text: #2c1a0a;
  --text-light: #7a6b5a;
  --border: #c4a97d;
  --shadow: rgba(92, 58, 30, 0.12);
  --tape: #e6d5a8;
  --tape-dark: #d4bd7a;
  --duct: #a0a0a0;
  --duct-light: #c0c0c0;
  --header-font: 'Georgia', 'Times New Roman', serif;
  --hand-font: 'Caveat', 'Segoe Script', cursive;
  --marker-font: 'Permanent Marker', 'Marker Felt', cursive;
  --body-font: system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

html { font-size: 16px; }

body {
  font-family: var(--body-font);
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--denim); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Focus / Selection ─────────────────────────── */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
::selection { background: var(--amber-light); color: var(--brown-dark); }

/* ─── Scrollbar ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

/* ─── Header ─────────────────────────────────────── */
.site-header {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 0.6rem 1.5rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 10%;
  right: 10%;
  height: 10px;
  background: linear-gradient(135deg, var(--duct-light), var(--duct) 40%, var(--duct-light) 60%, var(--duct));
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  z-index: 101;
  opacity: 0.5;
  pointer-events: none;
}

.site-title {
  font-family: var(--hand-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: right;
}

.powered-by {
  font-size: 0.7rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.auth-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.google-signin {
  padding: 0.25rem 0.6rem;
  background: white;
  color: var(--text);
  border: 1px solid #ddd;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s;
}
.google-signin:hover { box-shadow: 0 1px 4px rgba(0,0,0,0.15); }

.user-info { display: flex; align-items: center; gap: 0.4rem; }
.user-avatar { width: 22px; height: 22px; border-radius: 50%; }
.user-name { font-size: 0.7rem; color: var(--cream); opacity: 0.8; }

/* ─── Place Actions (map popups) ─────────────────── */
.place-actions { display: flex; gap: 0.25rem; margin-top: 0.35rem; flex-wrap: wrap; }
.place-action {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}
.place-action.uber { background: #000; color: #fff; }
.place-action.lyft { background: #ff00bf; color: #fff; }
.place-action.calendar { background: var(--denim); color: #fff; }
.place-action.maps { background: var(--green-glass); color: #fff; }
.place-action:hover { opacity: 0.85; }

/* ─── Bento Grid ─────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto;
  gap: 0.75rem;
  padding: 0.75rem;
  flex: 1;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ─── Panels ─────────────────────────────────────── */
.panel {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 6px var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.2s;
}
.panel:hover { box-shadow: 0 2px 10px var(--shadow); }

.panel::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(-0.5deg);
  width: 50%;
  height: 12px;
  background: var(--tape);
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
  opacity: 0.5;
  z-index: 5;
  pointer-events: none;
}

.panel-body {
  padding: 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.panel.collapsed .panel-body { display: none; }
.panel.collapsed .panel-header { border-bottom: none; }

.panel-header {
  background: var(--cream-dark);
  padding: 0.45rem 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}
.panel-header h2 {
  font-family: var(--hand-font);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.panel-header .icon { font-size: 0.9rem; }

.panel-toggle {
  background: linear-gradient(135deg, var(--duct-light), var(--duct));
  border: 1px solid var(--duct);
  border-radius: 3px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  transition: background 0.15s;
}
.panel-toggle:hover { background: var(--duct-light); }

/* ─── Loading Skeleton ────────────────────────────── */
.panel-skeleton { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.5rem 0; }
.skeleton-line {
  height: 0.8rem;
  background: linear-gradient(90deg, var(--cream-dark) 25%, var(--cream) 50%, var(--cream-dark) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─── Ticker ──────────────────────────────────────── */
.panel-ticker {
  grid-column: 1 / 3;
  grid-row: 1;
}

.ticker-scroll {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 1.6rem;
}

.ticker-track {
  display: inline-flex;
  gap: 2rem;
  animation: ticker-scroll 40s linear infinite;
  padding: 0.15rem 0;
}

.ticker-item {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  white-space: nowrap;
}

.ticker-item .label {
  font-weight: 700;
  color: var(--denim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker-item.live-dot::before {
  content: '●';
  color: #e74c3c;
  font-size: 0.5rem;
  animation: pulse 1.5s infinite;
  line-height: 1;
}

@keyframes ticker-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── Concierge ───────────────────────────────────── */
.panel-concierge {
  grid-column: 1 / 2;
  grid-row: 2 / 5;
}

.concierge-chat {
  flex: 1 1 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  min-height: 180px;
  padding: 0.25rem 0.25rem 0.25rem 0;
  scroll-behavior: smooth;
}

/* ─── Message Bubbles ─────────────────────────────── */
.message {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  max-width: 88%;
  animation: msgIn 0.25s ease;
}
.message.user { align-self: flex-end; flex-direction: row-reverse; }

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

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--denim);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.message.user .avatar { background: var(--amber); }

.msg-content {
  padding: 0.45rem 0.75rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
  font-family: var(--hand-font);
  font-size: 0.95rem;
  position: relative;
  word-break: break-word;
}

.message.bot .msg-content {
  background: var(--cream-dark);
  border-bottom-left-radius: 4px;
}

.message.user .msg-content {
  background: var(--denim);
  color: white;
  border-bottom-right-radius: 4px;
}

/* ─── Typing Indicator ────────────────────────────── */
.typing-indicator {
  display: none;
  gap: 3px;
  padding: 0.3rem 0.75rem;
  background: var(--cream-dark);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  margin-bottom: 0.4rem;
}
.typing-indicator.active { display: inline-flex; }
.typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-light);
  animation: typingBounce 1.4s infinite ease;
}
.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ─── Concierge moods ─────────────────────────────── */
.concierge-moods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: auto;
  padding-top: 0.5rem;
  margin-bottom: 0.4rem;
}

.mood-chip {
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--off-white);
  cursor: pointer;
  font-family: var(--hand-font);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.15s;
}
.mood-chip:hover { border-color: var(--amber); background: var(--cream); }
.mood-chip.active { background: var(--amber); color: white; border-color: var(--amber); }

.concierge-suggestions {
  display: none;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}
.suggestion-chip {
  padding: 0.2rem 0.5rem;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--off-white);
  cursor: pointer;
  font-family: var(--hand-font);
  font-size: 0.8rem;
  color: var(--text-light);
  transition: all 0.15s;
}
.suggestion-chip:hover { border-style: solid; border-color: var(--amber); color: var(--text); background: var(--cream); }

/* ─── Concierge input ─────────────────────────────── */
.concierge-input-row {
  display: flex;
  gap: 0.35rem;
}

.concierge-input-row input {
  flex: 1;
  padding: 0.45rem 0.7rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 0.85rem;
  background: white;
  font-family: var(--body-font);
  transition: border-color 0.15s;
}
.concierge-input-row input:focus { outline: none; border-color: var(--amber); }
.concierge-input-row input::placeholder { color: var(--text-light); opacity: 0.6; }

.concierge-input-row button {
  padding: 0.45rem 0.9rem;
  background: var(--denim);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--body-font);
  transition: background 0.15s, transform 0.1s;
}
.concierge-input-row button:hover { background: var(--denim-dark); }
.concierge-input-row button:active { transform: scale(0.96); }
.concierge-input-row button:disabled { opacity: 0.5; cursor: default; transform: none; }

#concierge-voice {
  padding: 0.45rem 0.55rem;
  background: var(--cream-dark);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 50%;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#concierge-voice.listening {
  background: #e74c3c;
  color: white;
  animation: pulse 1.5s infinite;
}
#concierge-voice:hover { background: var(--border); }
#concierge-voice.listening:hover { background: #c0392b; }

/* ─── Maps ────────────────────────────────────────── */
.panel-map { grid-column: 2 / 3; grid-row: 2 / 3; }
.panel-guestbook { grid-column: 2 / 3; grid-row: 3 / 4; }

.leaflet-map {
  height: 180px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.map-filters {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.map-filter {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.15s;
  font-family: var(--body-font);
}
.map-filter:hover { border-color: var(--amber); }
.map-filter.active { background: var(--denim); color: white; border-color: var(--denim); }

.guestbook-form {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}
.guestbook-form input {
  flex: 1;
  padding: 0.35rem 0.55rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  min-width: 80px;
  font-family: var(--body-font);
  transition: border-color 0.15s;
}
.guestbook-form input:focus { outline: none; border-color: var(--amber); }
.guestbook-form button {
  padding: 0.35rem 0.7rem;
  background: var(--denim);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--body-font);
  transition: background 0.15s;
}
.guestbook-form button:hover { background: var(--denim-dark); }

/* ─── Live Tonight ────────────────────────────────── */
.panel-live { grid-column: 1 / 2; grid-row: 5 / 6; }
.panel-dice { grid-column: 1 / 2; grid-row: 6 / 7; }
.panel-soon { grid-column: 2 / 3; grid-row: 5 / 7; }

#live-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.live-show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.82rem;
  gap: 0.3rem;
}
.live-show:last-child { border-bottom: none; }

.live-show .time { font-weight: 600; color: var(--denim); min-width: 2.5rem; font-size: 0.78rem; }
.live-show .band { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-show .venue { color: var(--text-light); font-size: 0.75rem; min-width: 4rem; text-align: right; }
.live-show .free-badge {
  font-size: 0.6rem;
  background: var(--green-glass);
  color: white;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  white-space: nowrap;
}

.update-note {
  font-size: 0.65rem;
  color: var(--text-light);
  margin-top: 0.4rem;
  text-align: right;
  opacity: 0.7;
}

.empty-state {
  text-align: center;
  padding: 1.5rem 0.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
  font-family: var(--hand-font);
}

/* ─── Dice Roller ─────────────────────────────────── */


.dice-result {
  text-align: center;
  font-family: var(--hand-font);
  font-size: 1.1rem;
  padding: 0.75rem;
  background: var(--cream-dark);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  min-height: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.dice-result.rolling {
  animation: dice-shake 0.4s ease;
}

@keyframes dice-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg) scale(1.02); }
  50% { transform: rotate(3deg) scale(0.98); }
  75% { transform: rotate(-3deg) scale(1.01); }
}

#dice-roll {
  width: 100%;
  padding: 0.5rem;
  background: var(--amber);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--body-font);
  transition: all 0.15s;
}
#dice-roll:hover { background: var(--brown); }
#dice-roll:active { transform: scale(0.97); }

/* ─── Tip Jar — Mason Jar ─────────────────────────── */
.panel-tips { grid-column: 2 / 3; grid-row: 4 / 5; }
.panel-tips .panel-body { padding: 0.5rem 0.75rem; }

.jar-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.6rem;
  position: relative;
}

.jar-lid {
  width: 70px;
  height: 12px;
  background: linear-gradient(180deg, #c9c9c9, #8f8f8f 60%, #767676);
  border-radius: 6px 6px 2px 2px;
  box-shadow: inset 0 -2px 3px rgba(0,0,0,0.35), 0 2px 3px rgba(0,0,0,0.3);
  z-index: 3;
  position: relative;
}
.jar-lid::before {
  content: "";
  position: absolute;
  inset: 3px 5px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,0.08) 0 2px, transparent 2px 5px);
}

.jar-band {
  width: 76px;
  height: 5px;
  background: linear-gradient(180deg, #b7b7b7, #8a8a8a);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  z-index: 2;
}

.jar-body {
  width: 90px;
  height: 110px;
  background: linear-gradient(115deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 18%, transparent 32%),
              rgba(190, 214, 210, 0.2);
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: inset 0 0 12px rgba(255,255,255,0.1), inset -6px -8px 16px rgba(40,60,55,0.12), 0 6px 12px rgba(0,0,0,0.2);
  border-radius: 10px 10px 20px 20px;
  position: relative;
  overflow: hidden;
}
.jar-body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 8px);
}

.jar-coins {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--amber), var(--amber-light));
  transition: height 0.5s ease;
  height: 0%;
  border-radius: 0 0 18px 18px;
}

.jar-tape {
  position: absolute;
  top: 44px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 70px;
  padding: 3px 4px 5px;
  background: var(--cream-dark);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  text-align: center;
  z-index: 3;
  clip-path: polygon(3% 6%, 97% 2%, 100% 94%, 2% 98%);
}
.jar-tape::before, .jar-tape::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--cream-dark);
  opacity: 0.8;
}
.jar-tape::before { top: -4px; left: -4px; transform: rotate(20deg); border-radius: 2px; }
.jar-tape::after { bottom: -4px; right: -4px; transform: rotate(20deg); border-radius: 2px; }

.jar-tape-label {
  font-family: var(--marker-font);
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
}

.jar-shake { animation: jar-jiggle 0.5s ease; }

@keyframes jar-jiggle {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  20% { transform: rotate(-4deg) translateY(-3px); }
  40% { transform: rotate(3deg) translateY(0); }
  60% { transform: rotate(-2deg) translateY(-2px); }
  80% { transform: rotate(1deg) translateY(0); }
}

.jar-row {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.jar-link {
  padding: 0.3rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: all 0.15s;
  font-family: var(--body-font);
}
.jar-link.venmo { background: #3d95ce; color: white; border-color: #3d95ce; }
.jar-link.paypal { background: #1b3b78; color: white; border-color: #1b3b78; }
.jar-link:hover { opacity: 0.85; }
.jar-link:active { transform: scale(0.96); }

.tip-total {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.tip-count { font-weight: 700; color: var(--amber); font-size: 0.95rem; }

.tip-amounts {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.tip-amount {
  flex: 1;
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--off-white);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: var(--body-font);
  transition: all 0.15s;
}
.tip-amount:hover { border-color: var(--amber); background: var(--cream); }
.tip-amount.selected { background: var(--amber); color: white; border-color: var(--amber); }

.tip-form input, .tip-form textarea {
  width: 100%;
  padding: 0.35rem 0.55rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  font-family: var(--body-font);
  transition: border-color 0.15s;
}
.tip-form input:focus, .tip-form textarea:focus { outline: none; border-color: var(--amber); }

#tip-submit {
  width: 100%;
  padding: 0.45rem;
  background: var(--green-glass);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  font-family: var(--body-font);
  transition: background 0.15s;
}
#tip-submit:hover { background: var(--green-glass); filter: brightness(1.1); }

.tip-thanks {
  text-align: center;
  padding: 0.75rem;
  font-family: var(--hand-font);
  font-size: 1.1rem;
  color: var(--green-glass);
}

/* ─── Coming Soon ─────────────────────────────────── */
.soon-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.soon-card {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.5rem 0.6rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: background 0.15s;
}
.soon-card:hover { background: var(--cream-dark); }

.soon-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.soon-text { flex: 1; min-width: 0; }

.soon-title {
  font-family: var(--hand-font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-dark);
}

.soon-desc {
  font-size: 0.75rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 1px;
}

.soon-ride {
  background: linear-gradient(135deg, var(--off-white), var(--cream));
  border-style: dashed;
  border-color: var(--amber);
}
.soon-ride .soon-title { color: var(--denim); }

/* ─── Easter Eggs ─────────────────────────────────── */
.easter-eggs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.4rem;
}
.egg-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  position: relative;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
  transition: transform 0.15s;
}
.egg-btn:hover { transform: scale(1.1); }
.egg-btn:active { transform: scale(0.95); }
.egg-label {
  display: block;
  font-size: 0.55rem;
  color: var(--text-light);
  margin-top: 1px;
}
.egg-tooltip {
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brown-dark);
  color: var(--cream);
  font-size: 0.7rem;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  width: 170px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 10;
}
.egg-tooltip.show { opacity: 1; }
.egg-badge {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--amber);
  color: white;
  font-size: 0.55rem;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ─── Speakeasy ───────────────────────────────────── */
.speakeasy {
  margin: 0.5rem auto;
  max-width: 500px;
  background: var(--brown-dark);
  border: 2px dashed var(--amber);
  border-radius: var(--radius);
  padding: 0.75rem;
  display: none;
  text-align: center;
}
.speakeasy.show { display: block; animation: fadeIn 0.4s ease; }
.speakeasy h3 { font-family: var(--header-font); color: var(--amber-light); font-size: 0.9rem; margin-bottom: 0.35rem; }
.speakeasy p { font-size: 0.78rem; color: var(--cream); }

/* ─── Modal ────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-backdrop.show { display: flex; }

.modal {
  background: var(--off-white);
  color: var(--text);
  border-radius: var(--radius);
  padding: 1.1rem;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.modal h3 { font-family: var(--header-font); font-size: 0.95rem; margin-bottom: 0.4rem; }
.modal p { font-size: 0.82rem; margin-bottom: 0.6rem; }
.modal button {
  margin-top: 0.5rem;
  background: var(--amber);
  color: white;
  border: none;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-family: var(--body-font);
}

.quiz-options { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.quiz-options button {
  background: var(--cream-dark);
  color: var(--text);
  border: 1.5px solid var(--border);
  text-align: left;
  padding: 0.35rem 0.55rem;
  margin-top: 0;
  font-family: var(--body-font);
}
.quiz-options button:disabled { cursor: default; opacity: 0.7; }
.quiz-options button.correct { background: #dcecd8; border-color: #2e6b32; color: #2e6b32; }
.quiz-options button.wrong { background: #f3d6d0; border-color: #a13a2e; color: #a13a2e; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--brown-dark);
  color: var(--cream);
  text-align: center;
  padding: 0.6rem;
  font-size: 0.7rem;
  opacity: 0.7;
  position: relative;
  margin-top: 0.25rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 15%;
  right: 15%;
  height: 9px;
  background: linear-gradient(135deg, var(--duct-light), var(--duct) 40%, var(--duct-light) 60%, var(--duct));
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  opacity: 0.4;
  pointer-events: none;
}
.site-footer a { color: var(--amber-light); }

/* ─── Utilities ────────────────────────────────────── */
.muted { color: var(--text-light); font-size: 0.82rem; }
.hidden { display: none !important; }

/* ─── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.6rem;
    padding: 0.6rem;
  }
  .panel-ticker { grid-column: 1; grid-row: auto; }
  .panel-concierge { grid-column: 1; grid-row: auto; }
  .panel-map { grid-column: 1; grid-row: auto; }
  .panel-guestbook { grid-column: 1; grid-row: auto; }
  .panel-tips { grid-column: 1; grid-row: auto; }
  .panel-soon { grid-column: 1; grid-row: auto; }
  .panel-live { grid-column: 1; grid-row: auto; }
  .panel-dice { grid-column: 1; grid-row: auto; }

  .site-header { padding: 0.4rem 0.75rem 0.6rem; }
  .site-title { font-size: 1.3rem; }
  .powered-by { font-size: 0.55rem; }
  .header-right { gap: 0.4rem; }

  .concierge-chat { min-height: 140px; }
  .leaflet-map { height: 150px; }

  .dice-result { font-size: 1rem; min-height: 3rem; padding: 0.6rem; }
  .jar-body { width: 80px; height: 90px; }
  .jar-lid { width: 60px; }
  .jar-band { width: 66px; }

  .tip-amounts { flex-wrap: wrap; }
  .tip-amount { min-width: 55px; flex: 0 1 auto; }

  .panel::before { width: 40%; }
}

@media (max-width: 480px) {
  .site-header { flex-direction: column; gap: 0.2rem; text-align: center; }
  .header-right { justify-content: center; }
  .site-title { font-size: 1.15rem; }

  .bento-grid { gap: 0.4rem; padding: 0.4rem; }
  .panel-header { padding: 0.35rem 0.6rem; }
  .panel-header h2 { font-size: 0.9rem; }
  .panel-body { padding: 0.5rem; }

  .concierge-chat { min-height: 100px; }
  .concierge-input-row { flex-wrap: wrap; }

  .guestbook-form { flex-direction: column; }
  .guestbook-form input { min-width: unset; }

  .ticker-scroll { height: 1.3rem; }
  .ticker-item { font-size: 0.7rem; }

  .jar-body { width: 70px; height: 80px; }
  .jar-lid { width: 54px; height: 10px; }
  .jar-band { width: 60px; height: 4px; }
  .jar-tape { width: 56px; top: 36px; }

  .live-show .venue { min-width: 3rem; font-size: 0.7rem; }
  .place-actions { gap: 0.15rem; }
  .place-action { font-size: 0.6rem; padding: 0.12rem 0.3rem; }
}
