/* ==================================================================
   BUSKR — the website's working replica of the app (fan, light mode)
   Built from the SwiftUI views (BuskrTabBar, MapView/BuskerAnnotationView/
   MapProfileCard/MapQuickActionsCard, HomeView bystander live body,
   ExplorerView/GlobalTopBuskersSection). Values are points on a 393×845
   canvas that home.css scales into the phone frame, so sizes here match
   the app 1:1. Two blues on purpose, like the app: header/hero/accent
   #4A90E2 and iOS control blue #007AFF.
   ================================================================== */
.app {
  --blue: #4A90E2; --ctl: #007AFF; --green: #34C759; --red: #FF3B30; --orange: #FF9500; --purple: #AF52DE;
  --cyan: #32ADE6; --warm: #FFB84D; --rating: #C7991F; --seal: #F2B50A;
  --cream: #FCFAF7; --card-top: #F5F2ED; --gray6: #F2F2F7; --gray5: #E5E5EA; --gray3: #C7C7CC; --gray: #8E8E93;
  --label: #000; --secondary: rgba(60,60,67,0.6);
  --hdr: linear-gradient(180deg, #4D80E6, #6699FF);
  --section: linear-gradient(180deg, #F5F2ED, #FCFAF7);
  position: absolute; left: 0; top: 0; width: 393px; height: 845px;
  transform: scale(0.8193); transform-origin: 0 0;   /* 322px screen / 393pt */
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  color: var(--label); background: #fff; letter-spacing: 0; line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}
.app, .app * { box-sizing: border-box; }
:where(.app button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; text-align: inherit; }
.app .screen { position: absolute; inset: 0; overflow: hidden; }

/* Dynamic Island */
.island { position: absolute; left: 50%; top: 11px; width: 126px; height: 37px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 40; pointer-events: none; }

/* ------------------------------ tab bar ------------------------------ */
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 83px; padding-bottom: 34px; display: flex; z-index: 30; }
.tabbar button { flex: 1; display: grid; place-items: center; height: 49px; color: var(--gray); transition: color .2s, transform .3s cubic-bezier(.34,1.56,.64,1); }
.tabbar button .sf { height: 22px; }
.tabbar button.on { color: var(--blue); transform: scale(1.12); }
.homebar { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; border-radius: 3px; background: #000; transform: translateX(-50%); z-index: 31; opacity: .9; }
.s-tip ~ .homebar, .screen.s-tip .homebar { background: #000; }

/* toast ("Boost applied!" and friends) */
.toast { position: absolute; left: 50%; bottom: 120px; transform: translate(-50%, 10px); background: rgba(0,0,0,0.82); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 50; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------ MAP ------------------------------ */
.s-map .map { position: absolute; inset: 0; background: linear-gradient(135deg, #0D2640, #1A334D, #264059); }
.s-map .tiles { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.s-map .legal { position: absolute; left: 12px; bottom: 90px; font-size: 11px; font-weight: 600; color: rgba(0,0,0,0.55); letter-spacing: -0.2px; }
.searchpill { position: absolute; left: 20px; right: 20px; top: 95px; height: 52px; background: #fff; border-radius: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.08); display: flex; align-items: center; gap: 12px; padding: 0 18px; font-size: 15px; color: var(--secondary); z-index: 5; }
.searchpill .sf { height: 16px; color: #000; }

.pin { position: absolute; width: 48px; height: 48px; transform: translate(-50%, -50%); z-index: 3; }
.pin .ring { position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--mc) 20%, transparent); }
.pin.live .ring { box-shadow: 0 0 0 3px var(--green), 0 0 0 7px rgba(52,199,89,0.35); animation: breathe 0.91s ease-in-out infinite alternate; }
@keyframes breathe { from { box-shadow: 0 0 0 3px var(--green), 0 0 0 7px rgba(52,199,89,0.25); } to { box-shadow: 0 0 0 3px var(--green), 0 0 0 7px rgba(52,199,89,0.75); } }
.pin .disc { position: absolute; left: 2px; top: 2px; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.3); display: grid; place-items: center; overflow: hidden; }
.pin .disc img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; }
.pin .disc .sf { height: 24px; color: var(--mc); }
.pin .lbl { position: absolute; top: 54px; left: 50%; transform: translateX(-50%); background: rgba(255,255,255,0.95); border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.2); padding: 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; max-width: 130px; }
.pin .lbl b { font-size: 12px; font-weight: 600; color: var(--label); }
.pin .lbl i { font-style: normal; font-size: 10px; font-weight: 500; color: var(--mc); }
.pin .lbl em { font-style: normal; font-size: 10px; color: var(--secondary); display: inline-flex; align-items: center; gap: 4px; }
.pin .lbl em .sf { height: 8px; }
.pin.you .lbl b { font-weight: 500; }
.pin:active { transform: translate(-50%, -50%) scale(0.96); }

.activebtn { position: absolute; left: 50%; bottom: 91px; transform: translateX(-50%); padding: 14px 24px; border-radius: 999px; background: var(--hdr); color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 1px 1px rgba(0,0,0,0.2); box-shadow: 0 3px 6px rgba(0,0,0,0.2); z-index: 6; white-space: nowrap; }
.activebtn:active { transform: translateX(-50%) scale(0.97); }

.scrim { position: absolute; inset: 0; z-index: 7; display: none; }
.scrim.show { display: block; }
/* Active Performers quarter sheet (.fraction(0.28), ultraThinMaterial, r34) */
.qsheet { position: absolute; left: 0; right: 0; bottom: 0; height: 237px; border-radius: 34px 34px 0 0; background: rgba(250,250,252,0.72); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: 0 -4px 20px rgba(0,0,0,0.12); z-index: 8; transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.qsheet.show { transform: none; }
.qsheet .handle { width: 36px; height: 5px; border-radius: 3px; background: rgba(0,0,0,0.25); margin: 8px auto 0; }
.qsheet .qhead { display: flex; align-items: baseline; justify-content: space-between; padding: 4px 20px 6px; }
.qsheet .qhead b { font-size: 17px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.qsheet .qhead span { font-size: 12px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.qsheet .qrow { display: flex; gap: 12px; padding: 0 20px 12px; overflow-x: auto; scrollbar-width: none; }
.qsheet .qrow::-webkit-scrollbar { display: none; }
.qcardx { flex: 0 0 88px; width: 88px; padding: 8px 0; background: rgba(255,255,255,0.9); border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qcardx img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; display: block; }
.qcardx .t { font-size: 11px; font-weight: 500; color: var(--secondary); }
.qcardx .s { font-size: 11px; color: var(--label); max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qcardx:active { transform: scale(0.97); }

/* MapProfileCard: 344 wide, r24, bottom 16 + 49 + safe 34 */
.pcard, .qcard, .psheet { position: absolute; left: 50%; bottom: 99px; width: 344px; transform: translate(-50%, 24px) scale(0.94); opacity: 0; pointer-events: none; background: #fff; border-radius: 24px; box-shadow: 0 6px 10px rgba(0,0,0,0.12); padding: 16px 14px; z-index: 9; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s; max-height: 430px; overflow: auto; scrollbar-width: none; }
.pcard.show, .qcard.show, .psheet.show { transform: translate(-50%, 0) scale(1); opacity: 1; pointer-events: auto; }
.prow { display: flex; align-items: center; gap: 12px; }
.prow img.av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.prow .nm { font-size: 17px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.prow .nm .sf { height: 15px; color: var(--seal); }
.prow .ty { font-size: 15px; color: var(--secondary); margin-top: 4px; }
.prow .more { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; background: var(--gray6); display: grid; place-items: center; color: var(--secondary); }
.prow .more .sf { height: 16px; }
.sect { margin-top: 14px; padding: 12px; background: var(--cream); border-radius: 16px; border: 1px solid color-mix(in srgb, var(--mc, #007AFF) 20%, transparent); box-shadow: 0 2px 4px rgba(0,0,0,0.06); min-height: 110px; }
.sect.cred { border-color: transparent; box-shadow: 0 3px 6px rgba(0,0,0,0.08); }
.shead { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.shead .chip { width: 28px; height: 28px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 14%, transparent); border: 1px solid color-mix(in srgb, var(--tint) 22%, transparent); color: var(--tint); font-size: 13px; }
.shead .chip .sf { height: 13px; }
.shead .tt { font-size: 15px; font-weight: 700; }
.shead .tt::after { content: ""; display: block; width: 24px; height: 3px; border-radius: 2px; margin-top: 2px; background: linear-gradient(90deg, color-mix(in srgb, var(--tint) 85%, transparent), color-mix(in srgb, var(--tint) 30%, transparent)); }
.shead.cred .tt::after { width: 44px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500; color: #000; background: color-mix(in srgb, var(--mc, #007AFF) 15%, transparent); }
.tag.type { border: 1.5px solid var(--mc, #007AFF); }
.tag .sf { height: 12px; color: #000; }
.bio { font-size: 15px; margin-top: 10px; line-height: 1.3; }
.showmore { font-size: 12px; color: var(--secondary); margin-top: 6px; display: inline-flex; gap: 4px; align-items: center; }
.showmore .sf { height: 11px; }
.badges { display: flex; justify-content: center; gap: 12px; }
.badges img { width: 76px; height: 76px; object-fit: contain; display: block; }
.nobadge { font-size: 15px; color: var(--secondary); text-align: center; padding: 20px 0; }

/* MapQuickActionsCard */
.qcard .handle { width: 40px; height: 5px; border-radius: 3px; background: rgba(0,0,0,0.4); margin: -6px auto 12px; }
.qcard .who { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 12px; }
.qcard .who img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.qcard .who b { font-size: 17px; font-weight: 600; }
.arow { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--gray6); border-radius: 12px; width: 100%; margin-top: 8px; }
.arow .ic { width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); display: grid; place-items: center; font-size: 16px; font-weight: 600; }
.arow .ic .sf { height: 16px; }
.arow span { font-size: 15px; }
.arow.more { background: none; padding: 10px 8px; color: var(--secondary); justify-content: center; }
.arow.more span { font-size: 15px; color: var(--secondary); display: inline-flex; align-items: center; gap: 4px; }
.arow.more .sf { height: 11px; }
.qcard .hidden { display: none; }

/* ------------------------------ HOME: live show ------------------------------ */
.s-live, .s-explore { background: #fff; }
.hdr { position: absolute; left: 0; right: 0; top: 0; background: var(--hdr); border-radius: 0 0 20px 20px; z-index: 10; padding: 60px 16px 8px; }
.hdr .row1 { display: flex; justify-content: flex-end; gap: 12px; }
.hdr .circ { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: #fff; position: relative; }
.hdr .circ .sf { height: 20px; }
.hdr .circ .badge { position: absolute; top: -2px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.hdr .tabs { display: flex; margin-top: 12px; }
.hdr .tabs button { flex: 1; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255,255,255,0.7); font-size: 17px; font-weight: 500; }
.hdr .tabs button.on { color: #fff; font-weight: 700; }
.hdr .tabs button::after { content: ""; width: 100%; height: 2px; background: transparent; }
.hdr .tabs button.on::after { background: #fff; }
.body { position: absolute; left: 0; right: 0; top: 0; bottom: 0; overflow: auto; scrollbar-width: none; padding: 187px 20px 91px; display: flex; flex-direction: column; gap: 12px; }
.body::-webkit-scrollbar { display: none; }
.s-explore .body { padding: 183px 20px 117px; gap: 16px; justify-content: space-between; }

/* Compacted for the website (the app's card is 16/12 with "Leave show" on its own row)
   so the Boost Board's songs show below it without scrolling. */
.livehero { padding: 12px 16px; border-radius: 20px; background: linear-gradient(135deg, #4A90E2, rgba(175,82,222,0.85)); color: #fff; box-shadow: 0 8px 16px rgba(74,144,226,0.35); border: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 8px; }
.livehero .showname { display: flex; flex-direction: column; gap: 3px; }
.livehero .top { display: flex; align-items: center; gap: 8px; }
.livehero .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: livepulse 1.4s ease-in-out infinite alternate; }
@keyframes livepulse { from { opacity: 1; } to { opacity: .35; } }
.livehero .livenow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }
.livehero .count { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(0,0,0,0.22); }
.livehero .count .sf { height: 11px; }
.livehero .at { text-align: center; font-size: 20px; font-weight: 700; }
.livehero .meta { text-align: center; font-size: 12px; color: rgba(255,255,255,0.85); display: flex; justify-content: center; align-items: center; gap: 8px; }
.livehero .meta .leave { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.75); }
.livehero .sendtip { width: 100%; padding: 11px; border-radius: 999px; background: #fff; color: var(--green); font-size: 17px; font-weight: 700; display: flex; justify-content: center; align-items: center; gap: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.22); animation: tippulse 1.1s ease-in-out infinite alternate; }
@keyframes tippulse { from { transform: scale(1); } to { transform: scale(1.04); } }
.livehero .sendtip .sf { height: 20px; }

.panel { padding: 16px; border-radius: 16px; background: var(--section); }
.panel h4 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
/* Live screen: a few points trimmed from each panel and row (the app uses 16/12/14/10)
   so two Boost Board songs sit fully above the tab bar on the website. */
.s-live .panel { padding: 12px 16px; }
.s-live .panel h4 { margin-bottom: 10px; }
.tiles3 { display: flex; gap: 10px; }
.tile { flex: 1; padding: 8px 0; display: flex; flex-direction: column; align-items: center; gap: 6px; border-radius: 10px; background: color-mix(in srgb, var(--t) 8%, transparent); border: 1px solid color-mix(in srgb, var(--t) 18%, transparent); color: var(--t); }
.tile .chip { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 14%, transparent); border: 1px solid color-mix(in srgb, var(--t) 22%, transparent); }
.tile .chip .sf { height: 17px; }
.tile span { font-size: 11px; font-weight: 600; }
.tile:active { transform: scale(0.97); }

.bhead { display: flex; align-items: center; margin-bottom: 10px; }
.bhead h4 { margin: 0; }
.pips { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.pips i { width: 8px; height: 8px; border-radius: 50%; background: var(--ctl); }
.pips i.off { background: rgba(142,142,147,0.35); }
.brows { display: flex; flex-direction: column; gap: 8px; }
.brow { padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.08); transition: transform .5s cubic-bezier(.25,1.2,.35,1); }
.brow.lead { background: linear-gradient(180deg, rgba(255,184,77,0.16), transparent), rgba(255,255,255,0.6); border-color: rgba(255,184,77,0.4); }
.brow .top { display: flex; align-items: center; gap: 12px; }
.brow .med { width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,0.06); display: grid; place-items: center; font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; }
.brow.lead .med { background: linear-gradient(135deg, #FFB84D, #FF9500); color: #fff; }
.brow.lead .med .sf { height: 15px; }
.brow .med + div { flex: 1; min-width: 0; }
.brow .ti { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* lineLimit(1) */
.brow.lead .ti, .brow.hot .ti { color: var(--warm); }
.brow .ar { font-size: 12px; color: var(--secondary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brow .boost { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; padding: 8px 14px; border-radius: 999px; color: #fff; font-size: 15px; font-weight: 700; background: linear-gradient(180deg, #007AFF, rgba(0,122,255,0.82)); box-shadow: 0 2px 6px rgba(0,122,255,0.3); }
.brow .boost .sf { height: 12px; }
.brow .boost[disabled] { color: var(--secondary); background: rgba(0,0,0,0.08); box-shadow: none; }
.brow .boost:active { transform: scale(0.95); }
.meter { display: flex; gap: 3px; align-items: center; height: 10px; margin: 8px 0 6px; }
.meter i { flex: 1; height: 6px; border-radius: 1.5px; background: rgba(0,0,0,0.1); }
.meter i.on { height: 10px; background: linear-gradient(90deg, #007AFF, rgba(50,173,230,0.9)); }
.brow.lead .meter i.on { background: linear-gradient(90deg, #FFB84D, #FF9500); }
.brow .bf { display: flex; justify-content: space-between; font-size: 12px; color: var(--secondary); }
.brow .bf b { font-weight: 600; }
.credits { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.credits .note { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--secondary); }
.credits .note .sf { height: 12px; }
.credits .get { width: 100%; padding: 10px; border-radius: 12px; text-align: center; font-size: 15px; font-weight: 600; color: var(--ctl); background: rgba(0,122,255,0.1); border: 1px solid rgba(0,122,255,0.25); display: flex; justify-content: center; align-items: center; gap: 6px; }
.credits .get .sf { height: 12px; }

/* History tab */
.seg { display: flex; background: var(--gray6); border-radius: 10px; }
.seg button { flex: 1; padding: 9px 0; text-align: center; font-size: 15px; color: var(--secondary); border-radius: 10px; }
.seg button.on { color: var(--ctl); font-weight: 600; background: rgba(0,122,255,0.1); }
.hrow { display: flex; align-items: flex-start; gap: 10px; padding: 10px; background: rgba(255,255,255,0.55); border-radius: 10px; }
.hrow .hi { width: 20px; height: 20px; display: grid; place-items: center; font-size: 15px; }
.hrow .hi .sf { height: 16px; }
.hrow .hm { flex: 1; }
.hrow .hm b { display: block; font-size: 15px; font-weight: 600; }
.hrow .hm span { font-size: 12px; color: var(--secondary); }
.hrow .hr { text-align: right; }
.hrow .hr span { display: block; font-size: 11px; color: var(--secondary); }
.hrow .hr b { display: block; font-size: 11px; font-weight: 600; margin-top: 2px; }
.hfoot { text-align: center; font-size: 12px; color: var(--secondary); margin-top: 10px; }

/* ------------------------------ EXPLORE ------------------------------ */
.s-explore .hdr { padding: 60px 20px 18px; }
.s-explore .hdr .row1 { justify-content: space-between; align-items: center; }
.s-explore .hdr h1 { margin: 0; font-size: 34px; font-weight: 700; color: #fff; letter-spacing: 0.2px; }
.wash { position: absolute; left: 0; right: 0; top: 0; height: 250px; background: linear-gradient(135deg, #73ADFA, #9ECCFF); opacity: .22; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); pointer-events: none; }
.xhead { display: flex; align-items: center; gap: 10px; }
.xhead .chip { width: 32px; height: 32px; border-radius: 10px; background: rgba(0,122,255,0.14); border: 1px solid rgba(0,122,255,0.22); color: var(--ctl); display: grid; place-items: center; }
.xhead .chip .sf { height: 15px; }
.xhead .tt { font-size: 20px; font-weight: 700; }
.xhead .tt::after { content: ""; display: block; width: 52px; height: 3px; border-radius: 2px; margin-top: 2px; background: linear-gradient(90deg, rgba(0,122,255,0.85), rgba(0,122,255,0.3)); }
.frow { display: flex; gap: 12px; margin: 8px -20px 0; padding: 2px 20px; overflow-x: auto; scrollbar-width: none; }
.frow::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 124px; width: 124px; height: 150px; border-radius: 14px; overflow: hidden; position: relative; background: #ddd; }
.fcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcard .np { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; background: linear-gradient(0deg, #F5F2ED, #FCFAF7); display: flex; flex-direction: column; gap: 1px; }
.fcard .np b { font-size: 12px; font-weight: 600; color: var(--label); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fcard .np span { font-size: 11px; color: var(--secondary); }
.fcard:active { transform: scale(0.97); }
.mapview h3 { margin: 0; font-size: 20px; font-weight: 700; }
.mapview .sub { font-size: 15px; color: var(--secondary); margin-top: 4px; }
.minimap { position: relative; display: block; width: 100%; height: 276px; margin-top: 10px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(0,0,0,0.08); }
.minimap img.tiles { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.minimap .arrow { position: absolute; right: 12px; top: 12px; width: 28px; height: 28px; border-radius: 7px; background: var(--ctl); color: #fff; display: grid; place-items: center; box-shadow: 0 2px 4px rgba(0,0,0,0.25); }
.minimap .arrow .sf { height: 14px; }
.minimap .pin { transform: translate(-50%, -50%) scale(0.78); }

/* profile sheet opened from a featured card (ProfileView, simplified) */
.psheet { max-height: 520px; }
.psheet .top { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.psheet .top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.psheet .top b { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 5px; }
.psheet .top b .sf { height: 16px; color: var(--seal); }
.psheet .top span { font-size: 15px; color: var(--secondary); }
.psheet .acts { display: flex; gap: 10px; margin-top: 12px; }
.psheet .acts button { flex: 1; padding: 11px; border-radius: 999px; font-size: 15px; font-weight: 600; text-align: center; }
.psheet .acts .follow { color: var(--ctl); background: rgba(0,122,255,0.1); border: 1px solid rgba(0,122,255,0.25); }
.psheet .acts .follow.on { color: #fff; background: var(--ctl); }
.psheet .acts .tipb { color: #fff; background: var(--green); }

/* ------------------------------ TIP sheet (Support Artist) ------------------------------ */
.s-tip { background: linear-gradient(180deg, #3b82f6 0%, #7c9cf5 8%, #eef0f6 8.5%, #f4f5f9 100%); }
.s-tip .sheet { position: absolute; left: 0; right: 0; top: 64px; bottom: 0; background: #f4f5f9; border-radius: 34px 34px 0 0; padding: 18px 18px 44px; display: flex; flex-direction: column; }
.sheethead { position: relative; text-align: center; font-size: 17px; font-weight: 600; padding: 2px 0 2px; }
.sheethead .x { position: absolute; left: 0; top: -6px; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ctl); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.sheethead .x .sf { height: 15px; }
.tiphead { text-align: center; padding: 14px 6px 2px; }
.tiphead .heart { width: 66px; height: 66px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; background: #ffd9df; }
.tiphead .heart .sf { height: 30px; color: #ef3b5e; }
.tiphead .nm { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.tiphead p { font-size: 15px; color: #6b7280; margin: 4px 0 0; }
.amtlabel { font-size: 17px; font-weight: 700; margin: 16px 0 10px; }
.amounts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.amt { border: 1.5px solid #bcd8f7; border-radius: 18px; background: #fff; padding: 16px 6px 14px; min-height: 78px; text-align: center; transition: all .18s; }
.amt b { display: block; font-size: 24px; font-weight: 700; letter-spacing: -0.5px; }
.amt span { font-size: 13px; color: #6b7280; }
.amt.sel { border-color: transparent; color: #fff; background: linear-gradient(135deg, #3b82f6, #a855f7); box-shadow: 0 8px 22px -10px rgba(59,130,246,0.6); }
.amt.sel span { color: rgba(255,255,255,0.85); }
.feebox { margin-top: 14px; background: #fff; border-radius: 16px; padding: 12px 14px; }
.feeline { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; padding: 4px 0; }
.feeline.sub { font-size: 13px; color: #6b7280; }
.feeline.total { border-top: 1px solid rgba(22,26,36,0.1); margin-top: 6px; padding-top: 10px; font-weight: 700; font-size: 17px; }
.feeline b { font-variant-numeric: tabular-nums; }
.sendtipbtn { margin-top: auto; width: 100%; padding: 16px; border-radius: 999px; font-size: 17px; font-weight: 700; color: #fff; background: linear-gradient(160deg, #2e9bf0, #1668d8); box-shadow: 0 12px 30px -12px rgba(46,155,240,0.7); text-align: center; }
.sendtipbtn:active { transform: scale(0.97); }
.tipsuccess { position: absolute; inset: 0; display: grid; place-items: center; z-index: 5; background: rgba(244,245,249,0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.tipsuccess.show { opacity: 1; pointer-events: auto; }
.tipsuccess .inner { text-align: center; transform: scale(0.9); transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.tipsuccess.show .inner { transform: none; }
.tipsuccess .burst { width: 100px; height: 100px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(217,119,6,0.28), rgba(217,119,6,0.06)); }
.tipsuccess .burst .sf { height: 46px; color: #d97706; }
.tipsuccess .h { font-size: 26px; font-weight: 700; }
.tipsuccess p { color: #6b7280; font-size: 17px; margin: 6px 0 0; }
