:root { --g: #244E81; --g2: #1a3a61; --gold: #9db4d3; --gold2: #3d6a9e; --cream: #F5F1EE; --card: #ffffff; --ink: #1c2530; --muted: #5d6875; --line: #e2dcd6; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 Inter, system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--g2); }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.15; margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

.top { background: var(--g); color: var(--cream); padding: 10px 16px; }
.top .home { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 600; }
.top .home img { width: 36px; height: 36px; border-radius: 9px; }
.days { display: flex; gap: 6px; overflow-x: auto; padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.days a { flex: 0 0 auto; text-decoration: none; color: var(--ink); background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; font-weight: 600; font-size: 14px; text-align: center; }
.days a small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.days a.on { background: var(--g); color: #fff; border-color: var(--g); }
.days a.on small { color: #d9e5dc; }

.hero, .dayhead { display: grid; gap: 22px; max-width: 1080px; margin: 0 auto; padding: 22px 16px 8px; align-items: center; }
@media (min-width: 760px) { .hero, .dayhead { grid-template-columns: 340px 1fr; padding-top: 34px; } }
.poster { width: 100%; max-width: 340px; margin: 0 auto; border-radius: 14px; box-shadow: 0 10px 30px rgba(31, 58, 43, .18); }
.ht small { color: var(--gold2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.ht h1 { font-size: clamp(32px, 6vw, 48px); margin: 6px 0 10px; color: var(--g); }
.ht .part { font: italic 500 19px "Playfair Display", serif; margin: -4px 0 8px; color: var(--g2); }
.ht h3 { font-size: 19px; margin: 18px 0 6px; color: var(--g); }
.did { margin: 0 0 14px; padding-left: 20px; }
.did li { margin: 3px 0; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.btn { font: 600 15px Inter, sans-serif; border: 0; border-radius: 999px; padding: 11px 18px; background: var(--g); color: #fff; text-decoration: none; cursor: pointer; }
.btn.ghost { background: #fff; color: var(--g); box-shadow: inset 0 0 0 1.5px var(--g); }
.btn:disabled { opacity: .6; }

.sec { margin: 30px 0; }
.sec h2 { font-size: 26px; color: var(--g); margin-bottom: 6px; }
.pt { font-size: 34px; color: var(--g); margin-top: 8px; }
.sub { color: var(--muted); margin: 4px 0 14px; }
.more { margin-top: 10px; font-weight: 600; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 6px; } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(6, 1fr); } }
.ph { padding: 0; border: 0; background: #ddd; aspect-ratio: 1; cursor: zoom-in; overflow: hidden; border-radius: 4px; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.ph:hover img { transform: scale(1.04); }

.week { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 12px; }
.wk, .trip { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px; text-decoration: none; color: var(--ink); }
.wk img, .trip img { width: 64px; height: 112px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.wk small, .trip small { display: block; color: var(--gold2); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.wk b, .trip b { display: block; font: 700 19px "Playfair Display", serif; color: var(--g); }
.wk em, .trip em { font-style: normal; color: var(--muted); font-size: 14px; }
.trips { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.trip img { width: 90px; height: 160px; }

.fav { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; overflow: hidden; }
.fav summary { list-style: none; cursor: pointer; padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; }
.fav summary::-webkit-details-marker { display: none; }
.fav .fl { font-weight: 600; }
.fav b { color: var(--g2); font-size: 14px; }
.fav .bar { grid-column: 1 / -1; height: 6px; background: #eee7d6; border-radius: 3px; overflow: hidden; }
.fav .bar s { display: block; height: 100%; background: var(--gold); text-decoration: none; }
.stories { padding: 0 16px 10px; }
.story { border-top: 1px solid var(--line); padding: 14px 0; }
.story img { max-height: 420px; width: auto; border-radius: 10px; margin-bottom: 10px; cursor: zoom-in; }
.story p { margin: 0 0 6px; font: italic 18px/1.5 "Playfair Display", serif; }
.story cite { font-style: normal; font-weight: 600; color: var(--muted); }

.lbl { display: grid; gap: 6px; }
.lbrow { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 15px Inter, sans-serif; text-align: left; cursor: pointer; color: var(--ink); }
.lbrow .m { font-size: 20px; text-align: center; }
.lbrow .n { font-weight: 600; }
.lbrow .s { color: var(--muted); font-size: 14px; }
.card-modal { position: fixed; inset: 0; background: rgba(15, 25, 20, .7); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 40; }
.card-box { background: var(--cream); border-radius: 16px; padding: 16px; width: min(520px, 100%); }
.card-box h3 { color: var(--g); font-size: 22px; margin-bottom: 10px; display: flex; justify-content: space-between; }
.card-box h3 button { border: 0; background: none; font-size: 20px; cursor: pointer; }
.cg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.cg div { aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 10.5px; line-height: 1.2; padding: 4px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.cg div.on { background: var(--g); color: #fff; border-color: var(--g); }
.cg div.free { background: var(--gold); color: var(--g); font-weight: 700; }

.pn { display: flex; justify-content: space-between; margin: 30px 0; font-weight: 600; }
.pn a { text-decoration: none; }
.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 30px 16px 40px; border-top: 1px solid var(--line); margin-top: 30px; }
.foot p { margin: 4px 0; }

.lb { position: fixed; inset: 0; background: #0d1410; z-index: 50; display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb img { max-width: 100vw; max-height: calc(100vh - 110px); object-fit: contain; }
.lb figcaption { color: #cfd8d2; font-size: 14px; margin-top: 8px; min-height: 20px; }
.lb button { background: none; border: 0; color: #fff; cursor: pointer; font-size: 30px; }
.lb-x { position: absolute; top: 10px; right: 14px; z-index: 2; }
.lb-p, .lb-n { position: absolute; top: 50%; transform: translateY(-50%); font-size: 48px !important; padding: 20px 12px; z-index: 2; }
.lb-p { left: 4px; } .lb-n { right: 4px; }
.lb-bar { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; }
.lb-bar button, .lb-bar a { font: 600 14px Inter, sans-serif !important; color: #fff; background: rgba(255, 255, 255, .14); border-radius: 999px; padding: 8px 16px; text-decoration: none; }

.top .home img.logo { width: 70px; height: 38px; border-radius: 0; }
.top .home .sep { width: 1px; height: 24px; background: rgba(255,255,255,.35); }
.cg div.free { background: #e4ebf4; color: var(--g); }
.fav .bar { background: #e4ebf4; } .fav .bar s { background: var(--g); }

/* Event pages (admin-created) */
.evhead { margin: 28px 0 8px; }
.evhead small { color: var(--gold2); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.evhead h1 { font-size: clamp(30px, 6vw, 44px); color: var(--g); margin: 6px 0 10px; }
.evhead p { max-width: 720px; }
.upload-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.upload-card h2 { font-size: 22px; }
.txt { font: 16px Inter, sans-serif; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; max-width: 320px; background: #fff; }
.draft { background: #fff4d6; border: 1px solid #f0dfb6; border-radius: 10px; padding: 10px 14px; margin-top: 20px; font-weight: 600; }
.gate-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 22px; max-width: 400px; margin: 40px auto; text-align: center; }
.gate-card img.logo { width: 110px; margin: 0 auto; }
.gate-card h1 { font-size: 26px; color: var(--g); margin: 12px 0 4px; }
.gate-card label { display: block; font-weight: 700; color: var(--g); margin: 4px 0 10px; font-size: 17px; }
.gate-card input { width: 100%; font-size: 17px; padding: 12px; border: 1.5px solid var(--line); border-radius: 10px; margin-bottom: 12px; text-align: center; }
.gate-card .btn { width: 100%; }
.trip.ev .evdate { width: 90px; height: 160px; flex: 0 0 auto; border-radius: 8px; background: var(--g); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: "Playfair Display", serif; }
.trip.ev .evdate b { color: #fff; font-size: 34px; line-height: 1; }
.trip.ev .evdate i { font-style: normal; font-family: Inter, sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
