/* The final round as a Messages poll: a Messages icon on the desktop, a new-message notification
   (pull it down to preview, tap to open) and the chat window. Everything is scoped under .fp* so it can't touch the Finder. */

/* the desktop: the folder and the Messages icon side by side */
.is-final .desk-apps { display: flex; align-items: flex-start; gap: clamp(24px, 6vw, 56px); }
.desk-apps { display: contents; }
.fp-app { position: relative; display: grid; justify-items: center; gap: 10px; padding: 14px 18px 10px; border: 0; border-radius: 12px; background: none; cursor: pointer; transition: background .2s; }
.fp-app:hover, .fp-app:focus-visible { background: rgba(10, 132, 255, .1); }
.fp-app:active .fp-icon { transform: scale(.96); }
.fp-icon { position: relative; width: 100px; height: 100px; border-radius: 23px; background: linear-gradient(#68f57b, #12c23a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 10px 20px -10px rgba(10, 120, 40, .6); transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.fp-icon svg { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; }
.fp-badge { position: absolute; right: -8px; top: -8px; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 99px; background: #ff3b30; color: #fff; font: 700 15px/28px -apple-system, system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2.5px #fbf7ec; animation: fpBadge .5s cubic-bezier(.34, 1.56, .64, 1) 1.2s both; }
.fp-badge[hidden] { display: none; }
@keyframes fpBadge { from { transform: scale(0); } }

/* the notification */
.fp-note { --ease: cubic-bezier(.22, 1, .36, 1); position: fixed; z-index: 34; top: 36px; right: 14px; width: min(370px, calc(100vw - 28px)); border-radius: 18px; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none;
  background: rgba(246, 246, 246, .88); backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7); color: #1d1d1f;
  font: 13px/1.3 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .14), 0 16px 40px -14px rgba(20, 20, 40, .5);
  transition: transform .45s var(--ease), opacity .35s; animation: fpIn .7s var(--ease) .8s both; }
.fp-note[hidden] { display: none; }
.fp-note.gone { transform: translateY(-140%); opacity: 0; pointer-events: none; }
@keyframes fpIn { from { opacity: 0; transform: translateY(-120%); } }
.fp-note .fpn-row { display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; padding: 11px 12px 9px 13px; cursor: pointer; }
.fp-note .fpn-ic { position: relative; width: 38px; height: 38px; }
.fp-note .fpn-ic img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.fp-note .fpn-ic i { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(#68f57b, #12c23a); box-shadow: 0 0 0 1.5px #f6f6f6; }
.fp-note .fpn-ic i::after { content: ""; position: absolute; left: 4px; top: 4px; width: 10px; height: 8px; border-radius: 50%; background: #fff; }
.fp-note .fpn-hd { display: flex; justify-content: space-between; gap: 8px; } .fp-note .fpn-hd b { font-weight: 600; } .fp-note .fpn-hd span { color: #8e8e93; font-size: 12px; }
.fp-note .fpn-tx { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 1px; color: #3a3a3c; }
.fp-note .fpn-more { width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .06); color: #6e6e73; cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease); }
.fp-note .fpn-more svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fp-note.open .fpn-more { transform: rotate(180deg); }
.fp-note .fpn-grab { display: block; width: 34px; height: 4px; margin: 0 auto 7px; border-radius: 3px; background: rgba(0, 0, 0, .16); }
.fp-note.open .fpn-grab { display: none; }
/* the preview that opens when the notification is pulled down */
.fp-note .fpn-pv { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.fp-note.open .fpn-pv { grid-template-rows: 1fr; }
.fp-note .fpn-pv > div { min-height: 0; overflow: hidden; }
.fp-note .fpn-pv-in { padding: 2px 12px 12px; display: grid; gap: 6px; }
.fp-note .fpn-b { margin: 0; width: fit-content; max-width: 92%; padding: 7px 12px; border-radius: 17px; background: #e3e3e6; font-size: 14px; line-height: 1.3; }
.fp-note .fpn-pc { margin-top: 2px; padding: 10px 12px; border-radius: 16px; background: #e3e3e6; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.fp-note .fpn-st { position: relative; width: 50px; height: 40px; } .fp-note .fpn-st img { position: absolute; top: 2px; width: 36px; height: 36px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1.5px #e3e3e6; }
.fp-note .fpn-st img:nth-child(1) { left: 0; transform: rotate(-7deg); } .fp-note .fpn-st img:nth-child(2) { left: 7px; } .fp-note .fpn-st img:nth-child(3) { left: 14px; transform: rotate(7deg); }
.fp-note .fpn-pc b { display: block; font-size: 14px; } .fp-note .fpn-pc span { color: #6e6e73; font-size: 12px; }
.fp-note .fpn-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.fp-note .fpn-acts button { height: 36px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .07); color: #1d1d1f; font: 600 14px -apple-system, system-ui, sans-serif; cursor: pointer; }
.fp-note .fpn-acts .fpn-go { background: #0a84ff; color: #fff; }
@media (max-width: 700px) { .fp-note { top: calc(8px + env(safe-area-inset-top)); left: 8px; right: 8px; width: auto; border-radius: 22px; } }

.fp { --blue: #0a84ff; --ink: #1d1d1f; --ink2: #8e8e93; --grey: #e9e9eb; --rule: rgba(0, 0, 0, .08); --ease: cubic-bezier(.22, 1, .36, 1);
  position: fixed; z-index: 35; left: 50%; top: calc(26px + (100dvh - 26px) / 2); width: min(760px, calc(100vw - 48px)); height: min(760px, calc(100dvh - 26px - 48px)); transform: translate(-50%, -50%);
  display: grid; grid-template-rows: auto 1fr auto; border-radius: 12px; overflow: hidden; background: #fff; color: var(--ink);
  font: 14px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 30px 80px -20px rgba(20, 20, 60, .45); }
.fp[hidden] { display: none; }
.fp.opening { animation: fpOpen .45s var(--ease) both; } .fp.closing { animation: fpOpen .25s var(--ease) reverse both; }
@keyframes fpOpen { from { opacity: 0; transform: translate(-50%, -47%) scale(.96); } }
.fp button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
.fp .num { font-variant-numeric: tabular-nums; }

.fp-h { position: relative; display: grid; justify-items: center; gap: 2px; padding: 12px 16px 8px; border-bottom: .5px solid var(--rule); background: rgba(250, 250, 252, .92); }
.fp-h .lights { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; }
.fp-h .lights i, .fp-h .lights button { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .fp-h .lights i:nth-child(2) { background: #febc2e; } .fp-h .lights i:nth-child(3) { background: #28c840; }
.fp-h .back { display: none; position: absolute; left: 10px; top: 16px; color: var(--blue); font-size: 32px; line-height: 1; }
.fp-h img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; } .fp-h b { font-size: 12px; font-weight: 500; }

.fp-feed { overflow: auto; padding: 16px 18px 28px; overscroll-behavior: contain; }
.fp-when { margin: 2px 0 14px; text-align: center; color: var(--ink2); font-size: 11.5px; font-weight: 500; } .fp-when b { font-weight: 600; }
.fp-msg { width: fit-content; max-width: min(80%, 440px); margin: 0 0 4px; padding: 8px 13px; border-radius: 19px; background: var(--grey); font-size: 15px; line-height: 1.32; animation: fpPop .35s var(--ease) both; }
.fp-msg.me { margin-left: auto; background: var(--blue); color: #fff; }
@keyframes fpPop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.fp-typing { display: flex; gap: 4px; width: fit-content; margin: 0 0 4px; padding: 12px 14px; border-radius: 19px; background: var(--grey); }
.fp-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9a9aa0; animation: fpDot 1.2s infinite ease-in-out; } .fp-typing i:nth-child(2) { animation-delay: .15s; } .fp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes fpDot { 0%, 60%, 100% { opacity: .4; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.fp-del { margin: 2px 4px 10px 0; text-align: right; color: var(--ink2); font-size: 11px; font-weight: 500; }

.fp-poll { width: min(100%, 460px); margin: 6px 0 4px; border-radius: 20px; background: var(--grey); overflow: hidden; animation: fpPop .45s var(--ease) both; }
.fp-ph { padding: 14px 16px 10px; } .fp-ph .k { display: flex; align-items: center; gap: 6px; color: var(--ink2); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.fp-ph .k svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fp-ph h3 { margin: 4px 0 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; } .fp-ph p { margin: 2px 0 0; color: #6e6e73; font-size: 13px; }
.fp-opts { margin: 0; padding: 0 8px; list-style: none; }
.fp-opt { position: relative; display: grid; grid-template-columns: 26px 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 54px; margin: 0 0 6px; padding: 6px 12px 6px 10px; border-radius: 13px; background: #fff; cursor: pointer; overflow: hidden; isolation: isolate; outline: none; transition: transform .15s var(--ease); }
.fp-opt:active { transform: scale(.985); } .fp-opt:focus-visible { box-shadow: 0 0 0 3px rgba(10, 132, 255, .45); }
.fp-opt .fill { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 0; background: rgba(10, 132, 255, .13); transition: width 1.1s var(--ease); }
.fp-opt.mine .fill { background: rgba(10, 132, 255, .24); }
.fp-ck { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; display: grid; place-items: center; color: #fff; font-size: 11.5px; font-weight: 700; transition: background .15s, box-shadow .15s, transform .25s var(--ease); }
.fp-opt.mine .fp-ck { background: var(--blue); box-shadow: none; transform: scale(1.04); }
.fp-opt.full:not(.mine) { cursor: default; } .fp-opt.full:not(.mine) .fp-ck { box-shadow: inset 0 0 0 1.5px #e5e5ea; }
.fp-th { position: relative; width: 38px; height: 38px; border-radius: 7px; overflow: hidden; background: #eee; }
.fp-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-th i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .15s; }
.fp-opt:hover .fp-th i, .fp-th.playing i { opacity: 1; } .fp-th svg { width: 13px; height: 13px; fill: #fff; }
@media (hover: none) { .fp-th i { opacity: 1; background: rgba(0, 0, 0, .18); } }
.fp-tt { min-width: 0; } .fp-tt b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fp-tt small { display: block; color: var(--ink2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-ct { text-align: right; font-size: 13px; font-weight: 600; color: #3a3a3c; } .fp-ct small { display: block; font-weight: 500; font-size: 11px; color: var(--ink2); }
.fp-line { display: flex; align-items: center; gap: 8px; margin: 4px 6px 10px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; } .fp-line::after { content: ""; flex: 1; border-top: 1.5px dashed rgba(10, 132, 255, .5); }
.fp-pf { display: grid; gap: 8px; padding: 6px 16px 14px; }
.fp-pf .fp-bar { display: block; height: 4px; border-radius: 4px; background: rgba(0, 0, 0, .08); overflow: hidden; } .fp-pf .fp-bar i { display: block; height: 100%; width: 0; background: var(--blue); transition: width .4s var(--ease); }
.fp-pf .fp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #6e6e73; font-size: 13px; } .fp-pf .fp-row b { color: var(--ink); }
.fp-send { height: 34px; padding: 0 16px; border-radius: 99px; background: var(--blue) !important; color: #fff !important; font-weight: 600; transition: transform .15s; } .fp-send:active { transform: scale(.96); }
.fp-send:disabled { background: #d1d1d6 !important; cursor: default; }
.fp-link { color: var(--blue) !important; font-size: 13px; font-weight: 500; }

.fp-in { display: flex; align-items: center; gap: 10px; padding: 10px 16px 14px; }
.fp-in .plus { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #ececee; display: grid; place-items: center; color: #8e8e93; font-size: 20px; line-height: 1; }
.fp-in .box { flex: 1; height: 34px; padding: 0 14px; border-radius: 99px; line-height: 34px; color: #b0b0b5; box-shadow: inset 0 0 0 1px #d1d1d6; font-size: 14px; }

@media (max-width: 700px) {
  .fp { inset: 0; top: 0; left: 0; width: auto; height: auto; transform: none; border-radius: 0; box-shadow: none; z-index: 45; }
  @keyframes fpOpen { from { opacity: 0; transform: translateY(24px); } }
  .fp-h { padding-top: calc(10px + env(safe-area-inset-top)); } .fp-h .lights { display: none; } .fp-h .back { display: block; top: calc(16px + env(safe-area-inset-top)); }
  .fp-h img { width: 50px; height: 50px; }
  .fp-feed { padding: 14px 10px 24px; } .fp-poll { width: 100%; }
  .fp-in { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .fp *, .fp, .fp-note, .fp-note *, .fp-badge { animation: none !important; transition: none !important; } }
.fp-send.sure { background: #ff9f0a !important; }
.fp-voted { color: var(--blue); font-weight: 600; font-size: 14px; }

/* redraws after a tick stay still; only new messages pop in */
.fp-feed.still .fp-msg, .fp-feed.still .fp-poll, .fp-feed.still .fp-del { animation: none; }

/* buttons inside the chat keep their own padding and borders (.fp button resets the rest) */
.fp .fp-send { padding: 0 18px; min-width: 112px; white-space: nowrap; }
.fp .fp-link { padding: 0; border: 0; }
.fp .fp-h .lights { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; padding: 0; }
.fp .fp-h .lights button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.fp .fp-h .lights i { box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.fp .fp-th { padding: 0; border: 0; }
.fp-note .fpn-more { padding: 0; }

/* two icons on the desktop: the same square footprint (80px), labels on one line; the pointer a touch smaller */
/* the folder on its own, no tile behind it: a squarer blue folder filling the same 80px box as the Messages icon */
.is-final .ficon { width: 80px; height: 80px; margin: 0; background: none; box-shadow: none; }
.is-final .ficon::before { left: 4px; top: 4px; width: 30px; height: 12px; border-radius: 6px 6px 0 0; }
.is-final .ficon::after { left: 4px; right: 4px; top: 10px; bottom: 2px; border-radius: 4px 8px 8px 8px; }
.is-final .ficon i { left: 4px; right: 4px; top: 18px; bottom: 2px; border-radius: 8px; }
/* labels like macOS desktop icons: system font, normal case, regular weight */
.is-final .fname { font: 500 13px/1.2 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; letter-spacing: 0; color: #1d1d1f; text-shadow: none; }
.is-final .fp-icon { width: 80px; height: 80px; border-radius: 18px; }
.is-final .fp-icon svg { width: 50px; height: 50px; }
.is-final .fp-badge { right: 4px; top: 6px; min-width: 22px; height: 22px; padding: 0 6px; font-size: 13px; line-height: 22px; }
.is-final .desk-folder, .is-final .fp-app { gap: 8px; }
.is-final .gp { transform-origin: 0 0; scale: .78; }
@media (max-width: 700px) { .is-final .ficon { width: 68px; height: 68px; } .is-final .ficon::before { left: 3px; top: 3px; width: 26px; height: 10px; } .is-final .ficon::after { left: 3px; right: 3px; top: 8px; bottom: 2px; } .is-final .ficon i { left: 3px; right: 3px; top: 15px; bottom: 2px; } .is-final .fp-icon { width: 68px; height: 68px; border-radius: 16px; } .is-final .fp-icon svg { width: 43px; height: 43px; } .is-final .fname { font-size: 12px; } }

/* cream, like the desktop, instead of plain white */
.fp { background: #fbf7ec; }
.fp-h { background: rgba(244, 239, 226, .94); border-bottom-color: rgba(60, 40, 10, .1); }
.fp-in .box { background: #fffdf7; box-shadow: inset 0 0 0 1px #ddd6c6; }
.fp-in .plus { background: #efe9dc; }
.fp-msg, .fp-typing, .fp-poll { background: #ece7dc; }
.fp-msg.me { background: #0a84ff; }
.fp-opt { background: #fffdf7; }
.fp-note { background: rgba(250, 246, 236, .9); }
.fp-note .fpn-b, .fp-note .fpn-pc { background: #ece7dc; }
.fp-note .fpn-acts button { background: rgba(60, 40, 10, .08); }
.fp-note .fpn-acts .fpn-go { background: #0a84ff; }

/* a bubble that has just arrived pops in even when the rest of the chat stays still */
.fp-feed .fp-arrive { animation: fpPop .38s cubic-bezier(.22, 1, .36, 1) both !important; }
.fp-feed [data-seq][hidden] { display: none; }

/* the event flyer, sent like a photo in iMessage; it opens the ticket page */
.fp-photo { position: relative; display: block; width: min(68%, 300px); margin: 0 0 4px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 .5px rgba(60, 40, 10, .15); }
.fp-photo img { display: block; width: 100%; height: auto; }
.fp-photo span { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 99px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 12px; font-weight: 600; backdrop-filter: blur(8px); }
.fp-photo:hover span { background: #0a84ff; }

/* the final-round Save form: name and email only (the wall and the email list come after the vote, in the chat) */
#formModal.final-form label:has(> input[name="city"]) { display: none; }

/* after-vote replies */
.fp .fp-done { font-weight: 500; color: #1a8f3c; }
/* writing on the wall from the chat */
.fp-sign .sigpad-h { display: none; }
.fp-sign .err:empty { display: none; }
.fp-sign .err { margin: 10px 0 0; }
.fp-sign .mac-btns { margin-top: 16px; }

/* Tickets: a shopping-bag app icon, like the Apple Store's */
.tk-icon { background: linear-gradient(#3fb0ff, #0a6cf0); }
.tk-icon svg { width: 50px; height: 50px; }
/* the event pass, styled like an Apple Wallet ticket */
body .modal.tk-modal { width: min(360px, calc(100vw - 32px)); padding: 0; border: 0; background: transparent; overflow: visible; }
body .modal.tk-modal::backdrop { background: rgba(20, 16, 8, .55); backdrop-filter: blur(6px); }
.tk-pass { position: relative; border-radius: 16px; padding: 16px 18px 18px; color: #fff; background: linear-gradient(160deg, #e3262b 0%, #a3121a 100%);
  box-shadow: 0 24px 60px -20px rgba(80, 0, 0, .6); font: 400 14px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  -webkit-mask: radial-gradient(circle 13px at 0 var(--cut, 72%), transparent 12.5px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--cut, 72%), transparent 12.5px, #000 13px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 var(--cut, 72%), transparent 12.5px, #000 13px) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--cut, 72%), transparent 12.5px, #000 13px) right / 51% 100% no-repeat; }
.tk-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tk-logo { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.tk-logo img { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }
.tk-kv { display: grid; gap: 2px; }
.tk-kv small { font-size: 10px; font-weight: 600; letter-spacing: .06em; opacity: .75; }
.tk-kv b { font-size: 17px; font-weight: 500; }
.tk-top .tk-kv { text-align: right; }
.tk-hero { margin: 26px 0 18px; }
.tk-hero small { font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .75; }
body .tk-modal .tk-hero h3 { margin: 2px 0 0; font: 600 26px/1.1 -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif; letter-spacing: -.01em; }
.tk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.tk-cut { margin: 18px 4px 16px; border-top: 2px dashed rgba(255, 255, 255, .35); }
.tk-foot { display: grid; gap: 8px; }
.tk-buy { display: block; padding: 13px; border: 0; border-radius: 12px; background: #fff; color: #a3121a; text-align: center; text-decoration: none; font: 600 15px -apple-system, system-ui, sans-serif; cursor: pointer; }
.tk-buy:disabled { opacity: .8; cursor: default; }
.tk-cal { padding: 11px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .16); color: #fff; font: 500 14px -apple-system, system-ui, sans-serif; cursor: pointer; }
.tk-done { display: block; margin: 14px auto 0; padding: 8px 18px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #1d1d1f; font: 500 14px -apple-system, system-ui, sans-serif; cursor: pointer; }
body .modal.tk-modal[open] { animation: tkIn .45s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes tkIn { from { transform: translateY(40px) scale(.96); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body .modal.tk-modal[open] { animation: none; } }
body .modal.tk-modal { box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; text-align: left; }
/* early bird prices on the pass */
.tk-prices { display: grid; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
.tk-prices small { font-size: 10px; font-weight: 600; letter-spacing: .06em; opacity: .75; }
.tk-price { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.tk-price b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* the flyer bubble as a button (until there is a ticket link) */
button.fp-photo { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.fp-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
/* keep the label off the flyer's own type: a strip under the image, like a link preview */
.fp .fp-photo span { position: static; display: block; transform: none; padding: 9px 12px; border-radius: 0; background: #ece7dc; color: #0a84ff; font-size: 13px; font-weight: 500; backdrop-filter: none; }
.fp .fp-photo:hover span { background: #e4ded1; }

/* the count and Send button stay in view while you scroll the poll (clip, not hidden, so sticky still works) */
.fp-poll { overflow: clip; }
.fp-pf { position: sticky; bottom: 0; z-index: 2; padding-top: 10px; background: #ece7dc; box-shadow: 0 -8px 14px -10px rgba(60, 40, 10, .25); }
/* phones: tighter rows, so the 20 songs take about half the height */
@media (max-width: 700px) {
  .fp-ph { padding: 12px 12px 8px; } .fp-ph h3 { font-size: 16px; } .fp-ph p { font-size: 12px; }
  .fp-opts { padding: 0 6px; }
  .fp-opt { grid-template-columns: 22px 32px minmax(0, 1fr) auto; gap: 8px; min-height: 42px; margin: 0 0 3px; padding: 4px 10px 4px 8px; border-radius: 10px; }
  .fp-ck { width: 21px; height: 21px; font-size: 10.5px; }
  .fp-th { width: 32px; height: 32px; border-radius: 6px; }
  .fp-tt b { font-size: 14px; } .fp-tt small { font-size: 11px; }
  .fp-ct { font-size: 12px; } .fp-ct small { font-size: 10px; }
  .fp-pf { padding: 8px 12px 12px; }
}
/* sit flush with the bottom of the chat (the feed's bottom padding would otherwise leave a gap below the bar) */
.fp-pf { bottom: -28px; }
@media (max-width: 700px) { .fp-pf { bottom: -24px; } }
/* the second price block (groups) sits close under the first */
.tk-prices + .tk-prices { margin-top: 12px; padding-top: 12px; }
/* a longer price list: the pass scrolls inside the screen on short phones */
body .modal.tk-modal { max-height: calc(100dvh - 16px); overflow-y: auto; scrollbar-width: none; }
@media (max-width: 700px) { .tk-hero { margin: 18px 0 12px; } .tk-prices { gap: 6px; } .tk-price { font-size: 14px; } .tk-price b { font-size: 16px; } }

/* phones: the desktop icons sit like an iPhone home screen, four to a row, never cropped */
@media (max-width: 700px) {
  body.is-final .desk-apps { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 22px 2px; max-width: 342px; margin: 0 auto; }
  body.is-final .desk-apps > * { padding: 0; gap: 6px; width: 84px; margin: 0; align-self: start; }
  body.is-final .ficon, body.is-final .fp-icon { width: 60px; height: 60px; border-radius: 14px; }
  body.is-final .ficon::before { left: 2px; top: 3px; width: 23px; height: 9px; }
  body.is-final .ficon::after { left: 2px; right: 2px; top: 7px; bottom: 2px; }
  body.is-final .ficon i { left: 2px; right: 2px; top: 13px; bottom: 2px; }
  body.is-final .fp-icon svg { width: 38px; height: 38px; }
  body.is-final .fname { font-size: 11px; line-height: 1.2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; letter-spacing: -.01em; }
  body.is-final .fp-badge { right: 2px; top: -6px; min-width: 20px; height: 20px; font-size: 12px; line-height: 20px; }
}
/* phones: the wall caption wraps instead of running off the screen */
@media (max-width: 700px) { .wall-bar { width: calc(100vw - 32px); } .wall-bar .wall-cap { white-space: normal; text-align: center; line-height: 1.5; } }

/* buying tickets inside the pass: tier steppers, buyer details, order status */
.tk-pick { gap: 10px; }
.tk-tier { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tk-tier > span:first-child { display: grid; gap: 1px; min-width: 0; }
.tk-tier b { font-size: 16px; font-weight: 600; }
.tk-tier small { font-size: 13px; opacity: .85; }
.tk-tier.out { opacity: .55; }
.tk-step { display: inline-flex; align-items: center; gap: 4px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .16); }
.tk-step button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: #fff; color: #a3121a; font: 600 18px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }
.tk-step button:disabled { opacity: .35; cursor: default; }
.tk-step b { min-width: 22px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
.tk-sum { margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .22); }
.tk-form { display: grid; gap: 10px; margin-top: 14px; }
.tk-form label { display: grid; gap: 4px; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .85); }
.tk-form label span { font-weight: 400; letter-spacing: 0; opacity: .8; }
.tk-form input { width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: #fff; color: #1d1d1f; font: 400 16px -apple-system, system-ui, sans-serif; outline: none; }
.tk-form input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.tk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tk-err { margin: 0; font-size: 13px; font-weight: 600; color: #fff3b0; }
.tk-err:empty { display: none; }
.tk-note { margin: 2px 0 0; font-size: 12px; text-align: center; opacity: .85; }
a.tk-buy { display: block; }
.tk-status { gap: 6px; }
.tk-st { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.tk-status p { margin: 0; font-size: 14px; opacity: .9; }
.tk-pass .tk-body { display: block; }
/* the site's dialog styles darken labels; on the red pass they stay light */
body .tk-modal .tk-form label { margin: 0; color: rgba(255, 255, 255, .88); font-size: 11px; font-weight: 600; text-align: left; }
body .tk-modal .tk-form input { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 16px; box-shadow: none; }
body .tk-modal .tk-form input:focus { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
/* Tickets: The Good Village hand (the ticketing partner) as the app icon */
.tk-icon { background: #FEB203; overflow: hidden; }
.tk-icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
