/* Server-rendered event pages. Mirrors the app's tokens in resources/css/minimal.css. */
:root {
    --ink: #292d27;
    --muted: #6d7365;
    --line: #e1e3dc;
    --accent: #e9eddf;
    --paper: #fafaf7;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
h1,
h2,
p,
dl,
dd,
ul {
    margin: 0;
}
a {
    color: inherit;
    text-decoration: none;
}
a:focus-visible {
    outline: 2px solid #7f8b70;
    outline-offset: 4px;
}
strong {
    font-weight: 500;
}
.page {
    max-width: 880px;
    margin: auto;
    padding: 0 40px;
}
.site-header {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}
.brand {
    font-size: 23px;
    letter-spacing: -1.2px;
    font-weight: 500;
}
.brand > span {
    color: #7e8a6f;
}
.header-link,
.site-footer a {
    font-size: 12px;
}
.header-link:hover,
.site-footer a:hover,
.facts a:hover,
.more a:hover span {
    text-decoration: underline;
    text-underline-offset: 4px;
}
main {
    padding: 56px 0 30px;
}
.event {
    padding: 40px;
    border-radius: 20px;
    background: #edf2e6;
}
/* Same category colours as the cards in the app. */
.event {
    --cat: #6f8b4f;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.tone-comedy { background: #f6f0dc; --cat: #b8892c; }
.tone-theatre { background: #f6e9e6; --cat: #ad5f50; }
.tone-electronic { background: #e7eff5; --cat: #4f7ea3; }
.tone-talks { background: #eeebf6; --cat: #7466a3; }
.tone-family { background: #fbeadb; --cat: #cf7a3c; }
.tone-film { background: #eaecef; --cat: #5c6573; }
.watermark {
    position: absolute;
    z-index: -1;
    right: -30px;
    top: -24px;
    color: var(--cat);
    opacity: 0.13;
}
.category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--ink);
    font-size: 13px;
    font-weight: 600;
}
.category .category-icon {
    color: var(--cat);
}
.eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
}
.topic {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(41, 45, 39, 0.14);
    color: var(--ink);
}
h1 {
    font-size: 44px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-top: 22px;
    overflow-wrap: anywhere;
}
.notice {
    margin-top: 24px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 3px solid #b48f6e;
    border-radius: 0 10px 10px 0;
    font-size: 13px;
    line-height: 1.6;
}
.facts {
    margin: 34px 0 6px;
}
.facts > div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    margin-top: 22px;
}
.facts dt {
    color: #6b7462;
    font-size: 10px;
    letter-spacing: 0.8px;
    padding-top: 4px;
}
.facts dd {
    font-size: 15px;
    line-height: 1.7;
}
.facts small {
    display: block;
    font-size: 12px;
    color: var(--muted);
}
.time {
    display: block;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.35;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.button {
    min-height: 44px;
    border: 1px solid rgba(41, 45, 39, 0.16);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.55);
}
.button:hover {
    background: #fff;
}
.button.accent {
    border-color: #2f3a26;
    background: #2f3a26;
    color: #fff;
}
.button.accent:hover {
    background: #222b1b;
    border-color: #222b1b;
}
.button.small {
    min-height: 38px;
    padding: 9px 16px;
    font-size: 13px;
    flex-shrink: 0;
}
section {
    margin-top: 48px;
}
h2 {
    font-size: 18px;
    font-weight: 400;
}
.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 6px;
}
.sale {
    font-size: 11px;
    color: #75836b;
}
.sale.coming_soon,
.sale.presale {
    color: #958367;
}
.sale.sold_out {
    color: #9a766c;
}
.sale.check_source {
    color: #89917e;
}
.offer-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.offer-row strong {
    font-size: 13px;
    font-weight: 400;
}
.offer-row p {
    font-size: 12px;
    line-height: 1.8;
    color: #75856b;
    margin-top: 4px;
}
.offer-row .window {
    font-size: 11px;
    color: #919b83;
    margin-top: 0;
}
.muted {
    font-size: 12px;
    color: #86917b;
    line-height: 1.8;
}
.about p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.9;
    color: #5f6658;
    white-space: pre-line;
    max-width: 68ch;
}
.more ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}
.more a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}
.more time {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--muted);
}
.footnote {
    margin-top: 40px;
    font-size: 11px;
    color: #86917b;
}
.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--line);
    padding: 30px 0 40px;
}
.site-footer .brand {
    font-size: 18px;
}
.site-footer div {
    display: flex;
    gap: 22px;
    font-size: 12px;
    color: var(--muted);
}
@media (max-width: 650px) {
    .page {
        padding: 0 16px;
    }
    .site-header {
        min-height: 70px;
    }
    main {
        padding-top: 28px;
    }
    .event {
        padding: 24px 20px;
    }
    h1 {
        font-size: 31px;
        letter-spacing: -1px;
    }
    .facts > div {
        grid-template-columns: 48px 1fr;
        gap: 14px;
    }
    .time {
        font-size: 34px;
    }
    .actions .button {
        flex: 1 1 auto;
    }
    .offer-row {
        gap: 14px;
    }
    .more a {
        flex-direction: column;
        gap: 4px;
    }
}
