/* Gatherings (2026-11-08; js/gatherings.js, js/gatherings-e.js) — on chronicles.css + standalone-colors.css. */
.theme { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: var(--glass); border: 1px solid var(--edge); }
.theme .chip { border: 0; }
.ico.g1 { background: var(--grad); } .ico.g2 { background: linear-gradient(135deg, #ff3d6e, #8b5cf6); } .ico.g3 { background: linear-gradient(135deg, #22d3ee, #6366f1); } .ico.g4 { background: linear-gradient(135deg, #34d399, #0891b2); }
.spark polyline { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* Events in lists */
.gev { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 14px; text-decoration: none; cursor: pointer; }
.gev:hover { background: var(--glass2); }
.gcover { width: 58px; height: 46px; border-radius: 12px; position: relative; overflow: hidden; background: var(--grad); background-size: cover; background-position: center; flex: none; }
.gcover em { position: absolute; left: 6px; bottom: 4px; font: 800 9.5px "Plus Jakarta Sans"; font-style: normal; color: #fff; letter-spacing: .04em; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.gev b { display: block; font-size: 13.5px; } .gev small { color: var(--faint); font-size: 12px; }
.gev .bar { width: min(260px, 100%); }
.dring { width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.dring div { width: 90px; height: 90px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; text-align: center; }
.dring b { font-size: 22px; display: block; line-height: 1; } .dring small { color: var(--faint); font-size: 11px; }
.door-live { display: flex; gap: 16px; align-items: center; margin-top: 10px; } .door-live .list { flex: 1; margin: 0; }
.cols { display: flex; gap: 5px; align-items: flex-end; height: 96px; margin-top: 12px; } .cols div { flex: 1; text-align: center; font-size: 9.5px; color: var(--faint); min-width: 0; } .cols i { display: block; border-radius: 6px 6px 3px 3px; background: var(--grad); margin-bottom: 4px; min-height: 3px; }
.tier { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; font-size: 13px; padding: 10px 12px; border-radius: 14px; background: var(--glass2); margin-top: 6px; cursor: pointer; }
.tier small { color: var(--faint); } .tier:hover { box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .45); }
.tabs2 { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 16px; }
.ev-hero { position: relative; border-radius: var(--r); overflow: hidden; min-height: 150px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--grad); background-size: cover; background-position: center; color: #fff; }
.ev-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .55)); }
.ev-hero > * { position: relative; z-index: 1; }
.ev-hero h2 { margin: 6px 0 2px; font: 600 28px/1.15 Fraunces, Georgia, serif; } .ev-hero p { margin: 0; opacity: .9; }
.copyrow { display: flex; gap: 8px; } .copyrow .inp { flex: 1; min-width: 0; }
.stat-line { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; } .stat-line div b { display: block; font-size: 20px; } .stat-line div small { color: var(--faint); font-size: 12px; font-weight: 700; }
/* Door check-in */
.scan-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.scan-cam { position: relative; border-radius: var(--r); overflow: hidden; background: radial-gradient(circle at 50% 35%, #3a2a2f, #0c080e 70%); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.scan-cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scan-cam .frame { position: relative; width: 56%; aspect-ratio: 1; border-radius: 24px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35); pointer-events: none; }
.scan-cam .frame i { position: absolute; width: 44px; height: 44px; border: 4px solid #34d399; }
.scan-cam .frame i:nth-child(1) { left: -2px; top: -2px; border-right: 0; border-bottom: 0; border-radius: 22px 0 0 0; } .scan-cam .frame i:nth-child(2) { right: -2px; top: -2px; border-left: 0; border-bottom: 0; border-radius: 0 22px 0 0; } .scan-cam .frame i:nth-child(3) { left: -2px; bottom: -2px; border-right: 0; border-top: 0; border-radius: 0 0 0 22px; } .scan-cam .frame i:nth-child(4) { right: -2px; bottom: -2px; border-left: 0; border-top: 0; border-radius: 0 0 22px 0; }
.scan-cam .msg { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); }
.scan-result { border-radius: var(--r); padding: 18px; margin-top: 12px; display: flex; gap: 14px; align-items: center; border: 1px solid var(--edge); background: var(--glass); }
.scan-result .big { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; flex: none; }
.scan-result.ok { background: rgba(16, 185, 129, .16); border-color: rgba(52, 211, 153, .5); } .scan-result.ok .big { background: #10b981; }
.scan-result.already { background: rgba(251, 191, 36, .14); border-color: rgba(251, 191, 36, .5); } .scan-result.already .big { background: #f59e0b; }
.scan-result.invalid { background: rgba(255, 61, 110, .14); border-color: rgba(255, 61, 110, .5); } .scan-result.invalid .big { background: #ff3d6e; }
.scan-result b { font-size: 18px; display: block; } .scan-result small { color: var(--dim); }
.offline-pill { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: rgba(251, 191, 36, .16); color: #f59e0b; }
@media (max-width: 1000px) { .scan-wrap { grid-template-columns: 1fr; } }

/* The public event page (/e/SLUG) */
.ge { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; padding: 0 0 50px; }
.ge-hero { height: 260px; position: relative; background: radial-gradient(circle at 25% 30%, #ff8a3d, transparent 55%), radial-gradient(circle at 78% 35%, #8b5cf6, transparent 55%), radial-gradient(circle at 50% 95%, #22d3ee, transparent 50%), linear-gradient(160deg, #ff3d6e, #1e1033); background-size: cover; background-position: center; }
.ge-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 30%, var(--bg)); }
.ge-when { position: absolute; left: 18px; top: 18px; z-index: 2; background: rgba(0, 0, 0, .38); backdrop-filter: blur(8px); border-radius: 16px; padding: 7px 12px; text-align: center; font-weight: 800; line-height: 1.1; color: #fff; font-size: 22px; }
.ge-when small { display: block; font-size: 10.5px; color: #ffd28a; letter-spacing: .12em; }
.ge-body { padding: 0 18px; margin-top: -60px; position: relative; z-index: 2; }
.ge-body h1 { font-size: 30px; }
.ge-meta { color: var(--dim); font-size: 13.5px; margin: 8px 0 12px; display: grid; gap: 4px; }
.ge-host { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--dim); margin-bottom: 14px; }
.ge-host img, .ge-host i { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: var(--grad2); flex: none; }
.ge-desc { color: var(--dim); font-size: 14px; line-height: 1.65; white-space: pre-wrap; margin: 0 0 16px; }
.gt { border: 1px solid var(--edge); background: var(--glass); border-radius: 18px; padding: 12px 14px; margin-bottom: 9px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.gt.sel { border-color: rgba(255, 138, 61, .7); background: linear-gradient(135deg, rgba(255, 138, 61, .16), rgba(139, 92, 246, .1)); }
.gt.off { opacity: .55; }
.gt b { font-size: 14.5px; } .gt small { color: var(--dim); font-size: 12px; grid-column: 1; } .gt .p { font-weight: 800; font-size: 15px; text-align: right; }
.qty { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.qty button { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--edge); background: var(--glass2); color: var(--text); font: 800 17px inherit; cursor: pointer; }
.qty span { min-width: 18px; text-align: center; font-weight: 800; }
.ge-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 2px 6px; color: var(--dim); } .ge-total b { color: var(--text); font-size: 20px; }
.ge-pay { display: grid; gap: 8px; margin-top: 8px; } .ge-pay .btn { height: 52px; font-size: 15.5px; width: 100%; justify-content: center; }
.ge-lock { text-align: center; font-size: 11.5px; color: var(--faint); margin-top: 8px; }
.ge .card { margin-bottom: 12px; }
.ge footer { text-align: center; color: var(--faint); font-size: 11.5px; margin-top: 22px; } .ge footer a { color: var(--dim); }
.tk-card { border-radius: 22px; overflow: hidden; background: #fff; color: #170b1c; margin: 0 0 14px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8); }
.tk-top { padding: 16px 18px; background: var(--grad); color: #fff; } .tk-top b { font: 600 20px Fraunces, serif; display: block; } .tk-top small { font-size: 12px; font-weight: 700; opacity: .92; }
.tk-cut { height: 0; border-top: 2px dashed #e6dbe9; margin: 0 16px; position: relative; }
.tk-cut::before, .tk-cut::after { content: ''; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); } .tk-cut::before { left: -28px; } .tk-cut::after { right: -28px; }
.tk-qr { width: 190px; margin: 16px auto 4px; } .tk-qr svg { width: 100%; height: auto; display: block; }
.tk-code { text-align: center; font: 800 16px "Plus Jakarta Sans"; letter-spacing: .22em; }
.tk-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 12px 18px 18px; margin: 0; font-size: 12px; } .tk-card dt { color: #8a7a92; } .tk-card dd { margin: 0 0 4px; font-weight: 700; }
.tk-used { text-align: center; font-size: 12px; font-weight: 800; color: #b45309; margin-top: 4px; }
.big-check { width: 86px; height: 86px; border-radius: 50%; margin: 30px auto 12px; background: var(--grad); display: grid; place-items: center; font-size: 42px; color: #fff; box-shadow: 0 0 0 12px rgba(255, 90, 54, .16), 0 0 60px rgba(255, 90, 54, .55); }
.center { text-align: center; }
@media print { body.chr .aurora, body.chr .grain, .no-print, .ge footer { display: none !important; } body.chr { background: #fff !important; } .tk-card { box-shadow: none; break-inside: avoid; border: 1px solid #ddd; } }
@media (max-width: 700px) { .top > .cmd { display: none; } .theme .chip { padding: 5px 9px; font-size: 11.5px; } }
