/* Hopkins Dining Parlour — palette drawn from the carved sign */
:root {
  --wine: #753834;
  --wine-deep: #4b1f1b;
  --gold: #c8a23f;
  --gold-soft: #ddbb66;
  --brown: #3d201a;
  --cream: #f6f0e2;
  --cream-dark: #ece2cc;
  --ink: #241a14;
  --rule: #c8a23f55;
  --black: #16100e;
  /* theme surfaces (light) */
  --bg: #f6f0e2;
  --bg-alt: #ece2cc;
  --panel: #fffdf7;
  --text: #241a14;
  --text-soft: #6b5a44;
  --heading: #4b1f1b;
  --nav-text: #3d201a;
  --price: #16100e;
  --link: #753834;
  --input-bg: #ffffff;
  --input-border: #c9b98f;
  --table-head: #ece2cc;
}
html { scroll-behavior: smooth; }

body.dark {
  --bg: #121010;
  --bg-alt: #1a1513;
  --panel: #1e1714;
  --text: #e8dcc9;
  --text-soft: #b3a28c;
  --heading: #ddbb66;
  --nav-text: #e8dcc9;
  --price: #ddbb66;
  --link: #d9ab6a;
  --input-bg: #17120f;
  --input-border: #5d4c36;
  --table-head: #241c17;
}

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

body {
  font-family: 'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.25s ease, color 0.25s ease;
  line-height: 1.65;
}

h1, h2, h3, .serif {
  font-family: 'Playfair Display', 'Didot', 'Bodoni MT', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  color: var(--heading);
  letter-spacing: 0.01em;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- top utility bar ---------- */
.topbar { background: var(--black); color: var(--cream); font-size: 0.78rem; letter-spacing: 0.08em; }
.topbar .container { display: flex; justify-content: space-between; gap: 18px; padding: 7px 24px; flex-wrap: wrap; }
.topbar a { color: var(--gold-soft); text-decoration: none; }
.topbar .sep { color: var(--gold); margin: 0 8px; }
@media (max-width: 700px) { .topbar .hours { display: none; } }
.theme-toggle {
  background: transparent; border: 1px solid var(--gold); color: var(--gold-soft);
  border-radius: 20px; padding: 2px 14px; cursor: pointer; font-size: 0.75rem;
  letter-spacing: 0.08em; margin-left: 14px;
}
.theme-toggle:hover { background: rgba(221, 187, 102, 0.15); }

/* ---------- header ---------- */
header.site {
  background: var(--bg);
  border-bottom: 3px double var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 76px; display: block; }
.brand .wordmark {
  font-size: 0.78rem; color: var(--nav-text); line-height: 1.45;
  letter-spacing: 0.12em; text-transform: uppercase;
  border-left: 1px solid var(--rule); padding-left: 14px;
}
nav.main { display: flex; gap: 26px; align-items: center; }
a.admin-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--nav-text);
  padding: 0 !important; border-bottom-width: 1px !important;
}
a.admin-avatar:hover { background: var(--gold); color: var(--black); border-bottom-color: var(--gold); }
nav.main a {
  text-decoration: none; color: var(--nav-text); font-size: 0.95rem;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { border-bottom-color: var(--gold); color: var(--heading); }
nav.main a.cta {
  background: var(--wine); color: var(--cream); padding: 10px 18px;
  border: 1px solid var(--gold); border-radius: 3px;
}
nav.main a.cta:hover { background: var(--black); }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--gold);
  color: var(--nav-text); border-radius: 3px; width: 46px; height: 42px;
  font-size: 1.25rem; cursor: pointer; line-height: 1;
}

@media (max-width: 960px) {
  .brand img { height: 50px; }
  .brand .wordmark { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  header.site { position: sticky; }
  nav.main {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 3px double var(--gold);
    flex-direction: column; gap: 0; padding: 6px 24px 18px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
  }
  nav.main.open { display: flex; }
  nav.main a { width: 100%; padding: 14px 2px; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  nav.main a.active { border-bottom-color: var(--rule); color: var(--gold); }
  nav.main a.cta { text-align: center; margin-top: 12px; border-bottom: 1px solid var(--gold); }
  a.admin-avatar { width: 100%; height: 44px; border-radius: 3px; margin-top: 10px; }
}

@media (max-width: 560px) {
  .topbar .container { justify-content: center; text-align: center; padding: 6px 12px; }
  .hero { padding: 44px 0 54px; }
  .hero img.signlogo { width: 94vw; }
  .hero .actions .btn { width: 100%; }
  section.band { padding: 44px 0; }
  h2.center { font-size: 1.7rem; }
  .award-badge { font-size: 0.7rem; padding: 7px 16px; letter-spacing: 0.14em; }
  .order-layout { gap: 24px; }
  .cart { position: static; }
  form.panel { padding: 22px 18px; }
  .cal { max-width: 100%; }
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 30% 20%, #8a453e 0%, transparent 55%),
    linear-gradient(170deg, var(--wine) 0%, var(--wine-deep) 62%, #1c0e0c 100%);
  color: var(--cream);
  padding: 72px 0 84px;
  text-align: center;
  border-bottom: 4px solid var(--gold);
}
.hero .est {
  letter-spacing: 0.35em; text-transform: uppercase; font-size: 0.8rem;
  color: var(--gold-soft);
}
.hero h1 {
  color: var(--cream); font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin: 14px 0 6px; font-weight: 500;
}
.hero .tagline {
  font-family: Georgia, serif; font-style: italic;
  color: var(--gold-soft); font-size: 1.25rem; margin-bottom: 34px;
}
.hero img.medallion {
  width: 210px; margin: 8px auto 30px; display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
}
.hero img.signlogo {
  width: min(560px, 86vw); margin: 26px auto 18px; display: block;
  filter: drop-shadow(0 14px 34px rgba(0,0,0,0.5));
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.award-badge {
  display: inline-block; margin: 0 auto 30px;
  border: 1px solid var(--gold); border-radius: 30px;
  padding: 8px 26px; color: var(--gold-soft);
  font-size: 0.82rem; letter-spacing: 0.22em; text-transform: uppercase;
  background: rgba(0, 0, 0, 0.14);
}

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  padding: 13px 30px; font-size: 0.95rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 3px; border: 1px solid var(--gold);
  transition: all 0.15s ease;
  font-family: inherit;
}
.btn-gold { background: var(--gold); color: var(--black); font-weight: 600; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: var(--cream); }
.btn-ghost:hover { background: rgba(221, 187, 102, 0.18); }
.btn-wine { background: var(--wine); color: var(--cream); }
.btn-wine:hover { background: var(--black); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }

/* ---------- sections ---------- */
section.band { padding: 64px 0; }
section.band.alt { background: var(--bg-alt); }
.kicker {
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.75rem;
  color: var(--gold); font-weight: 700; text-align: center;
}
h2.center { text-align: center; font-size: 2.1rem; margin: 8px 0 10px; }
.gold-rule {
  width: 120px; height: 3px; margin: 18px auto 34px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.lede { max-width: 720px; margin: 0 auto; text-align: center; font-size: 1.06rem; }

.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
  padding: 28px; box-shadow: 0 2px 10px rgba(65, 37, 16, 0.06);
}
.card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.card .icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 10px; }
.card.review p.quote { font-family: Georgia, serif; font-style: italic; }
.rev-stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 10px; }
.rev-by {
  margin-top: 14px; font-size: 0.82rem; color: var(--text-soft);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---------- events ---------- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 40px; }
.event-card {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(65, 37, 16, 0.06);
  display: flex; flex-direction: column;
}
.event-card .ev-img { height: 210px; position: relative; overflow: hidden; background: var(--wine-deep); }
.event-card .ev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.event-card .ev-img.art {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(ellipse at 50% 30%, #8a453e 0%, var(--wine-deep) 75%);
  color: var(--gold-soft); text-align: center;
}
.event-card .ev-img.art .big { font-family: Georgia, serif; font-size: 2rem; color: var(--gold); font-weight: 700; }
.event-card .ev-img.art .sub { font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; }
.event-card .ev-body { padding: 20px 22px 24px; }
.event-card .ev-day {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.event-card h3 { margin: 6px 0 8px; font-size: 1.25rem; }
.event-card p { font-size: 0.92rem; }

/* photo placeholders — swap src when real photography is added */
figure.photo {
  border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
  background: linear-gradient(160deg, #8a453e, var(--wine-deep));
  position: relative; min-height: 260px;
  display: flex; align-items: center; justify-content: center;
}
figure.photo img.art { width: 60%; max-width: 300px; opacity: 0.95; }
figure.photo img.real {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* variant: show the entire photo, no cropping (tall portraits etc.) */
figure.photo.natural { min-height: 0; background: var(--panel); padding-bottom: 34px; }
figure.photo.natural img.real {
  position: static; width: auto; height: auto;
  max-width: 100%; max-height: 640px; object-fit: contain;
}
figure.photo figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(16, 10, 9, 0.88); color: var(--gold-soft);
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; text-align: center;
}

/* ---------- menu ---------- */
.menu-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.menu-tabs button {
  background: transparent; border: 1px solid var(--gold); color: var(--nav-text);
  padding: 10px 22px; border-radius: 3px; cursor: pointer;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem;
}
.menu-tabs button.active { background: var(--wine); color: var(--cream); }
.menu-group { max-width: 780px; margin: 0 auto 44px; }
.menu-group > h3 {
  text-align: center; font-size: 1.5rem; color: var(--heading);
  border-bottom: 1px solid var(--rule); padding-bottom: 10px; margin-bottom: 6px;
}
.menu-group > p.gdesc { text-align: center; font-style: italic; color: var(--text-soft); font-size: 0.95rem; margin-bottom: 18px; }
.mi { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; }
.mi .nm { font-family: Georgia, serif; font-size: 1.08rem; color: var(--heading); white-space: nowrap; }
.mi .dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-4px); }
.mi .pr { font-weight: 700; color: var(--price); white-space: nowrap; }
.mi-desc { color: var(--text-soft); font-size: 0.92rem; margin-top: -8px; padding-bottom: 10px; }
.live-badge {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--nav-text); border-radius: 20px; padding: 3px 12px;
}

/* ---------- forms ---------- */
form.panel {
  max-width: 640px; margin: 0 auto; background: var(--panel);
  border: 1px solid var(--rule); border-radius: 4px; padding: 34px;
  box-shadow: 0 2px 12px rgba(65, 37, 16, 0.07);
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .frow { grid-template-columns: 1fr; } }
label { display: block; margin-bottom: 16px; font-size: 0.9rem; color: var(--text); font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 11px 12px; margin-top: 6px;
  border: 1px solid var(--input-border); border-radius: 3px; background: var(--input-bg);
  font-family: inherit; font-size: 0.98rem; color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-soft); border-color: var(--gold); }
/* ---------- reservation calendar ---------- */
.cal {
  border: 1px solid var(--rule); border-radius: 4px; background: var(--input-bg);
  padding: 14px; margin-top: 6px; max-width: 420px;
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head .cal-month { font-family: Georgia, serif; font-size: 1.05rem; color: var(--heading); font-weight: 700; }
.cal-head button {
  width: 34px; height: 34px; border: 1px solid var(--gold); background: transparent;
  border-radius: 3px; cursor: pointer; font-size: 1.1rem; color: var(--text);
}
.cal-head button:disabled { opacity: 0.3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow span { font-size: 0.7rem; letter-spacing: 0.1em; color: var(--gold); font-weight: 700; padding: 4px 0; }
.cal-day {
  padding: 9px 0; border: 1px solid transparent; background: transparent; border-radius: 3px;
  cursor: pointer; font-size: 0.92rem; color: var(--text); width: 100%;
}
.cal-day:hover { border-color: var(--gold); }
.cal-day.today { border-color: var(--rule); }
.cal-day.sel { background: var(--wine); color: var(--cream); border-color: var(--gold); font-weight: 700; }
.cal-day.off { opacity: 0.28; cursor: default; }
.cal-hint { font-size: 0.9rem; color: var(--text-soft); margin: 8px 0 14px; }
.tgroup {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin: 14px 0 8px;
}
.time-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-bottom: 8px; }
.tcard {
  padding: 13px 6px; border: 1px solid var(--gold); background: var(--input-bg); border-radius: 4px;
  cursor: pointer; font-size: 0.98rem; color: var(--text); font-family: Georgia, serif;
  transition: all 0.12s ease;
}
.tcard:hover { background: var(--gold); color: var(--black); }
.tcard.picked { background: var(--wine); color: var(--cream); border-color: var(--gold); font-weight: 700; }
.notice { padding: 14px 18px; border-radius: 4px; margin: 18px 0; font-size: 0.96rem; }
.notice.ok { background: #f4e9e2; border: 1px solid var(--wine); color: var(--wine-deep); }
.notice.err { background: #f7e8e4; border: 1px solid #a33; color: #7a1f10; }
.confirm-code { font-size: 1.5rem; letter-spacing: 0.15em; color: var(--heading); font-family: Georgia, serif; }

/* ---------- ordering ---------- */
.order-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 880px) { .order-layout { grid-template-columns: 1fr; } }
.order-item { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.order-item .info { flex: 1; }
.order-item .nm { font-family: Georgia, serif; color: var(--heading); }
.order-item .ds { font-size: 0.85rem; color: var(--text-soft); }
.order-item .pr { font-weight: 700; color: var(--price); }
.add-btn {
  border: 1px solid var(--gold); background: var(--gold); color: var(--brown);
  border-radius: 3px; padding: 7px 14px; cursor: pointer; font-weight: 700;
}
.add-btn:hover { background: var(--gold-soft); }
.cart {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; padding: 24px;
  position: sticky; top: 96px; box-shadow: 0 2px 12px rgba(65, 37, 16, 0.07);
}
.cart h3 { border-bottom: 3px double var(--gold); padding-bottom: 8px; margin-bottom: 14px; }
.cart-line { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; font-size: 0.94rem; }
.cart-line .qty button {
  width: 22px; height: 22px; border: 1px solid var(--gold); background: #fff;
  border-radius: 3px; cursor: pointer; line-height: 1;
}
.totals { border-top: 1px solid var(--rule); margin-top: 12px; padding-top: 12px; font-size: 0.95rem; }
.totals .row { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 700; font-size: 1.15rem; color: var(--heading); }

/* ---------- history page ---------- */
.timeline { max-width: 760px; margin: 40px auto 0; position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--gold); }
.tl { position: relative; margin-bottom: 34px; }
.tl::before {
  content: ''; position: absolute; left: -32px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--wine); border: 2px solid var(--gold);
}
.tl .yr { font-family: Georgia, serif; font-size: 1.35rem; color: var(--heading); font-weight: 700; }

blockquote.pull {
  max-width: 640px; margin: 44px auto; text-align: center;
  font-family: Georgia, serif; font-style: italic; font-size: 1.35rem; color: var(--heading);
}
blockquote.pull footer { font-size: 0.9rem; font-style: normal; color: var(--gold); margin-top: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- footer ---------- */
footer.site {
  background: var(--black); color: var(--cream);
  border-top: 4px solid var(--gold); padding: 52px 0 30px; margin-top: 70px;
}
footer.site .cols-3 { margin-top: 0; }
footer.site h4 { color: var(--gold-soft); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px; }
footer.site a { color: var(--cream); }
.social-row { display: flex; gap: 12px; }
.social-row-lg { justify-content: center; margin-top: 8px; }
a.social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-soft);
  transition: all 0.15s ease;
}
a.social-icon:hover { background: var(--gold); color: var(--black); }
a.social-icon-lg { width: 52px; height: 52px; color: var(--gold); }

footer.site .fine { text-align: center; margin-top: 40px; font-size: 0.8rem; color: #8f817b; }
table.admin { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.admin th, table.admin td { border: 1px solid var(--rule); padding: 8px 10px; text-align: left; }
table.admin th { background: var(--table-head); }

/* ---------- group dining menus ---------- */
.gmenus { align-items: stretch; }
.gmenu {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
  border-top: 3px solid var(--gold);
  padding: 34px 34px 30px; text-align: center;
  box-shadow: 0 2px 10px rgba(65, 37, 16, 0.06);
}
.gmenu .g-kicker {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.gmenu h3 { font-size: 1.45rem; margin: 8px 0 4px; color: var(--heading); }
.gmenu .g-note {
  font-style: italic; color: var(--text-soft); font-size: 0.92rem;
  padding-bottom: 16px; border-bottom: 1px solid var(--rule); margin-bottom: 4px;
}
.gmenu ul { list-style: none; margin: 0; padding: 0; }
.gmenu li {
  padding: 13px 0; border-bottom: 1px solid var(--rule);
  font-family: Georgia, serif; font-size: 1.08rem; color: var(--text);
}
.gmenu li:last-child { border-bottom: none; }
.gmenu .g-sub {
  display: block; font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.83rem; font-style: italic; color: var(--text-soft); margin-top: 4px;
}
.gmenu .g-foot { margin-top: 16px; font-size: 0.82rem; font-style: italic; color: var(--text-soft); }

/* ---------- front-page hero: entrance-photo variant (admin setting) ---------- */
.hero.photo {
  background:
    linear-gradient(rgba(18, 10, 9, 0.66), rgba(24, 12, 10, 0.78)),
    url('/assets/photos/entrance.jpg') center 38% / cover no-repeat;
}

/* ---------- events calendar page ---------- */
.evc-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 24px;
}
.evc-nav { display: flex; align-items: center; gap: 14px; }
.evc-nav button {
  width: 40px; height: 40px; border: 1px solid var(--gold); background: transparent;
  border-radius: 3px; cursor: pointer; font-size: 1.3rem; color: var(--text);
}
.evc-nav button:hover { background: var(--gold); color: var(--black); }
.evc-title { font-family: Georgia, serif; font-size: 1.5rem; color: var(--heading); min-width: 220px; text-align: center; }
.evc-views { display: flex; gap: 8px; }
.evc-views button {
  background: transparent; border: 1px solid var(--gold); color: var(--nav-text);
  padding: 9px 18px; border-radius: 3px; cursor: pointer;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem;
}
.evc-views button.active { background: var(--wine); color: var(--cream); }
.evc-views button:hover:not(.active) { background: rgba(200, 162, 63, 0.15); }

.evc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.evc-head { margin-bottom: 6px; }
.evc-head div {
  text-align: center; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; padding: 6px 0;
}
.evc-cell {
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px;
  min-height: 108px; padding: 8px;
}
.evc-cell.blank { background: transparent; border-color: transparent; }
.evc-cell.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.evc-daynum { font-family: Georgia, serif; font-size: 0.95rem; color: var(--text-soft); margin-bottom: 6px; }
.evc-cell.today .evc-daynum { color: var(--gold); font-weight: 700; }
.evc-chip {
  background: var(--wine); color: var(--cream); border-radius: 3px;
  padding: 4px 7px; margin-bottom: 4px; overflow: hidden;
}
.evc-chip .t { display: block; font-size: 0.76rem; font-weight: 600; line-height: 1.25; }
.evc-chip .w { display: block; font-size: 0.66rem; color: var(--gold-soft); letter-spacing: 0.04em; }

.evw { display: flex; flex-direction: column; gap: 10px; }
.evw-day {
  display: grid; grid-template-columns: 170px 1fr; gap: 18px;
  background: var(--panel); border: 1px solid var(--rule); border-radius: 4px; padding: 16px 18px;
}
.evw-day.today { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.evw-date .dow { display: block; font-family: Georgia, serif; font-size: 1.15rem; color: var(--heading); }
.evw-date .dnum { display: block; font-size: 0.85rem; color: var(--text-soft); margin-top: 2px; }
.evw-date .today-tag {
  display: inline-block; margin-top: 8px; border: 1px solid var(--gold); color: var(--gold);
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 2px 10px; border-radius: 12px;
}
.evw-list { display: flex; flex-direction: column; gap: 12px; }
.evw-event { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; }
.evw-event img { width: 96px; height: 68px; object-fit: cover; border-radius: 4px; border: 1px solid var(--rule); }
.evw-event > div:only-child { grid-column: 1 / -1; }
.evw-event .when { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.evw-event h4 { font-size: 1.08rem; margin: 2px 0; color: var(--heading); }
.evw-event .desc { font-size: 0.88rem; color: var(--text-soft); }
.evw-list .quiet { font-style: italic; color: var(--text-soft); align-self: center; }

@media (max-width: 760px) {
  .evc-cell { min-height: 76px; padding: 5px; }
  .evc-chip .w { display: none; }
  .evc-chip .t { font-size: 0.62rem; }
  .evw-day { grid-template-columns: 1fr; gap: 10px; }
}

.evc-views button:disabled { opacity: 0.4; cursor: default; }
.evc-views button:disabled:hover { background: transparent; }
