/* Talent marketplace, line-ups, campaigns, rising talent, business follow (talent-plus.js) */
:root { --tp-font: var(--font-body, 'Inter', system-ui, sans-serif); --tp-ok: #22c55e; --tp-ok-bg: rgba(34,197,94,.14); --tp-warn: #f4b000; --tp-line: var(--border, rgba(255,255,255,.1)); }
[data-theme="light"] { --tp-ok: #15803d; --tp-ok-bg: rgba(22,163,74,.12); --tp-warn: #b77900; }

/* ── business follow ── */
.biz-follow-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 4px; }
.biz-follow-row:empty { display: none; }
.biz-follow-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--red); background: var(--red); color: #fff; font: 700 .84rem/1 var(--tp-font);  cursor: pointer; transition: background .15s, color .15s, transform .1s; }
.biz-follow-btn:hover { background: var(--red-bright); border-color: var(--red-bright); }
.biz-follow-btn:active { transform: scale(.97); }
.biz-follow-btn.on { background: transparent; color: var(--text-1); border-color: var(--tp-line); }
.biz-follow-btn.on:hover { border-color: var(--red); color: var(--red-bright); }
.biz-follow-btn:disabled { opacity: .6; cursor: default; }
.biz-follow-count { font-size: .84rem; color: var(--muted); }
.biz-follow-count b { color: var(--text-1); font-weight: 800; }

/* ── shared bits ── */
.tp-sheet [hidden], .tp-tbox [hidden], .tp-rise [hidden], .bf-rate[hidden], #bfEvent[hidden] { display: none !important; }
.tp-muted { color: var(--muted); font-size: .85rem; margin: 0; }
.tp-small { font-size: .76rem; margin-top: 10px; }
.tp-err { color: var(--red-bright); font-size: .84rem; margin: 8px 0 0; }
.tp-note { color: var(--muted); font-size: .8rem; margin: 8px 0 0; }
.tp-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-bright); }
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 15px; border-radius: 10px; border: 1px solid var(--tp-line); background: var(--card-2, rgba(255,255,255,.05)); color: var(--text-1); font: 700 .82rem/1.1 var(--tp-font);  cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .15s, background .15s; }
.tp-btn:hover { border-color: var(--red-border-s, var(--red)); }
.tp-btn:disabled { opacity: .55; cursor: default; }
.tp-btn-p { background: var(--red); border-color: var(--red); color: #fff; }
.tp-btn-p:hover { background: var(--red-bright); border-color: var(--red-bright); }
.tp-btn-q { background: transparent; color: var(--muted); }
.tp-btn-q:hover { color: var(--red-bright); }
.tp-btn-ghost { background: transparent; border-color: transparent; color: var(--text-2, var(--muted)); padding-left: 4px; }
.tpx-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--tp-line); background: transparent; color: var(--text-1); font: 600 .78rem/1 var(--tp-font);  cursor: pointer; }
.tpx-chip:hover { border-color: var(--red); }
.tp-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card-2); }
.tp-face-i { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--red), var(--red-deep, #7a0a1a)); color: #fff; font-weight: 800; font-size: .8rem; }
.tp-sec { margin-top: 18px; }
.tp-sec h4, .tp-lineup h4 { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* availability */
.tp-avail { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.tp-avail i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tp-avail-open { color: var(--tp-ok); background: var(--tp-ok-bg); }
.tp-avail-open i { box-shadow: 0 0 0 0 currentColor; animation: tpPulse 2.2s infinite; }
.tp-avail-dates { color: var(--tp-warn); background: rgba(244,176,0,.13); }
.tp-avail-busy { color: var(--muted); background: var(--glass-bg2, rgba(255,255,255,.06)); }
@keyframes tpPulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
@media (prefers-reduced-motion: reduce) { .tp-avail-open i { animation: none; } }
.tp-avail-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tp-rate { font-size: .86rem; color: var(--muted); }
.tp-rate b { color: var(--text-1); font-weight: 800; }
.talent-avail-badge { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: rgba(10,10,12,.72); color: #4ade80; font-size: .68rem; font-weight: 800; letter-spacing: .02em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.talent-avail-badge i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.tp-avail-toggle { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--tp-line); background: transparent; color: var(--text-1); font: 700 .8rem/1 var(--tp-font);  cursor: pointer; }
.tp-avail-toggle i { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--tp-ok); }
.tp-avail-toggle.on { background: var(--tp-ok-bg); border-color: var(--tp-ok); color: var(--tp-ok); }
.tp-avail-toggle.on i { background: var(--tp-ok); }
.action-btn.tp-book-off { opacity: .5; cursor: not-allowed; }

/* talent profile box */
.tp-tbox { display: grid; gap: 4px; margin-bottom: 14px; }
.tp-tbox:empty { display: none; }
.tp-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 14px; border: 1px dashed var(--red-border-s, var(--tp-line)); background: var(--red-dim, transparent); }
.tp-owner-l { width: 100%; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red-bright); }
.tp-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(244,176,0,.12); border: 1px solid rgba(244,176,0,.3); }
.tp-banner > div { display: grid; gap: 2px; min-width: 0; }
.tp-banner b { font-size: .9rem; color: var(--text-1); }
.tp-banner span { font-size: .78rem; color: var(--muted); }
.tp-banner-soft { background: var(--glass-bg, transparent); border-color: var(--tp-line); }
.tp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.tp-video iframe, .tp-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tp-video-link { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--tp-line); color: var(--text-1); text-decoration: none; font-weight: 700; }
.tp-video-link svg { color: var(--red-bright); }
.tp-gigs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tp-gig { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border-radius: 12px; border: 1px solid var(--tp-line); background: transparent; color: var(--text-1); text-align: left; cursor: pointer; font: inherit; }
.tp-gig:hover { border-color: var(--red); }
.tp-gig-d { width: 46px; height: 46px; flex: none; display: grid; place-content: center; text-align: center; border-radius: 10px; background: var(--red); color: #fff; line-height: 1; }
.tp-gig-d b { font-size: 1.05rem; font-weight: 800; }
.tp-gig-d i { font-style: normal; font-size: .62rem; font-weight: 700; text-transform: uppercase; margin-top: 2px; }
.tp-gig.is-past .tp-gig-d { background: var(--card-2); color: var(--text-1); }
.tp-gig-t { display: grid; gap: 2px; min-width: 0; }
.tp-gig-t strong { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-gig-t small { font-size: .74rem; color: var(--muted); }
.tp-feat { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-feat a, .tp-feat span { padding: 7px 12px; border-radius: 10px; border: 1px solid var(--tp-line); font-size: .8rem; font-weight: 700; color: var(--text-1); text-decoration: none; }
.tp-feat a:hover { border-color: var(--red); color: var(--red-bright); }

/* booking form */
.bf-row { display: flex; gap: 8px; }
.bf-row > * { flex: 1; min-width: 0; }
.bf-row select { flex: 0 0 92px; }
#bfDate, #bfBudget, #bfCurrency, #bfEvent { width: 100%; }
.bf-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.bf-rate b { color: var(--text-1); }

/* ── sheet (modal) ── */
.tp-ov { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6,6,8,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .18s; }
.tp-ov.on { opacity: 1; }
.tp-sheet { width: min(520px, 100%); max-height: min(860px, calc(100dvh - 40px)); display: flex; flex-direction: column; border-radius: 20px; background: var(--card); color: var(--text-1); border: 1px solid var(--tp-line); box-shadow: 0 24px 80px rgba(0,0,0,.45); transform: translateY(10px); transition: transform .2s; }
.tp-sheet.tp-wide { width: min(720px, 100%); }
.tp-ov.on .tp-sheet { transform: none; }
.tp-sh-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 12px; border-bottom: 1px solid var(--tp-line); }
.tp-sh-head h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.tp-x { width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: var(--glass-bg2, rgba(255,255,255,.07)); color: var(--text-1); cursor: pointer; }
.tp-x:hover { background: var(--red); color: #fff; }
.tp-sh-body { padding: 16px 18px 20px; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 600px) {
  .tp-ov { padding: 0; align-items: flex-end; }
  .tp-sheet, .tp-sheet.tp-wide { width: 100%; max-height: calc(100dvh - 24px); border-radius: 20px 20px 0 0; }
}

/* forms */
.tp-form { display: grid; gap: 14px; }
.tp-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 10px; }
.tp-form legend { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tp-form label, .tp-counter label { display: grid; gap: 5px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.tp-form input[type=text], .tp-form input[type=url], .tp-form input[type=number], .tp-form input[type=date], .tp-form select,
.tp-counter input, .tp-row > input, .tp-row > select { width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--tp-line); background: var(--field-bg, rgba(255,255,255,.04)); color: var(--text-1); font: 500 .88rem var(--tp-font);  box-sizing: border-box; }
.tp-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.tp-row > * { flex: 1 1 120px; min-width: 0; }
.tp-row > .tp-grow { flex: 3 1 200px; }
.tp-row > .tp-btn, .tp-row > .tp-x, .tp-row > small { flex: 0 0 auto; }
.tp-fi { flex-wrap: nowrap; margin-bottom: 8px; align-items: center; }
.tp-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.tp-seg label { flex: 1 1 120px; display: block; }
.tp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.tp-seg span { display: block; padding: 10px; border-radius: 10px; border: 1px solid var(--tp-line); text-align: center; color: var(--text-1); font-weight: 700; font-size: .82rem; cursor: pointer; }
.tp-seg input:checked + span { border-color: var(--red); background: var(--red-dim); color: var(--red-bright); }
.tp-seg input:focus-visible + span { outline: 2px solid var(--red-bright); outline-offset: 2px; }
.tp-check { display: flex !important; grid-auto-flow: column; align-items: center; gap: 8px !important; color: var(--text-1) !important; font-size: .85rem !important; }
.tp-upload { cursor: pointer; }
.tp-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* tabs */
.tp-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 12px; background: var(--glass-bg2, rgba(255,255,255,.06)); margin-bottom: 14px; }
.tp-tabs button { flex: 1; padding: 9px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 .8rem/1.1 var(--tp-font);  cursor: pointer; }
.tp-tabs button.on { background: var(--card); color: var(--text-1); box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.tp-range { width: fit-content; }
.tp-range button { flex: none; padding: 7px 14px; }

/* bookings */
.tp-bk-list { display: grid; gap: 12px; }
.tp-bk { padding: 14px; border-radius: 16px; border: 1px solid var(--tp-line); background: var(--glass-bg, transparent); display: grid; gap: 10px; }
.tp-bk header { display: flex; align-items: center; gap: 12px; }
.tp-bk-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.tp-bk-who b { font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-bk-who span { font-size: .78rem; color: var(--muted); }
.tp-st { flex: none; padding: 5px 10px; border-radius: 999px; font-size: .7rem; font-weight: 800; background: var(--glass-bg2); color: var(--muted); }
.tp-st-pending { background: rgba(244,176,0,.14); color: var(--tp-warn); }
.tp-st-countered { background: rgba(255,58,92,.14); color: var(--red-bright); }
.tp-st-accepted { background: var(--tp-ok-bg); color: var(--tp-ok); }
.tp-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.tp-facts div { display: grid; gap: 1px; }
.tp-facts dt { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tp-facts dd { margin: 0; font-size: .88rem; font-weight: 700; }
.tp-bk-msg { margin: 0; font-size: .85rem; color: var(--text-2, var(--text-1)); white-space: pre-wrap; }
.tp-bk-note { padding-left: 10px; border-left: 3px solid var(--red); }
.tp-counter { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: var(--red-dim); }
.tp-bk footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tp-bk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.tp-empty { display: grid; justify-items: center; gap: 8px; padding: 30px 10px; text-align: center; color: var(--muted); }
.tp-empty svg { width: 30px; height: 30px; color: var(--red-bright); }
.tp-empty p { margin: 0; max-width: 360px; font-size: .88rem; }

/* insights */
.tp-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 640px) { .tp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-tile { display: grid; gap: 4px; padding: 14px; border-radius: 14px; border: 1px solid var(--tp-line); background: var(--glass-bg, transparent); }
.tp-tile span { font-size: .72rem; font-weight: 700; color: var(--muted); }
.tp-tile b { font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.tp-tile small { font-size: .7rem; color: var(--muted); }
.tp-chart { margin: 0 0 16px; padding: 14px; border-radius: 14px; border: 1px solid var(--tp-line); }
.tp-chart figcaption { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.tp-chart figcaption b { font-size: 1.05rem; color: var(--text-1); }
.tp-chart svg { display: block; width: 100%; height: 110px; }
.tp-chart rect { fill: var(--red); }
.tp-chart rect:hover { fill: var(--red-bright); }
.tp-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: .68rem; color: var(--muted); }

/* line-up on events */
.tp-lineup { margin: 14px 0 4px; }
.tp-lineup:empty { display: none; }
.tp-lu-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.tp-lu { position: relative; flex: 0 0 104px; }
.tp-lu-open, .tp-lu-add { width: 104px; display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; border: 1px solid var(--tp-line); background: var(--glass-bg, transparent); color: var(--text-1); font: inherit; text-align: center; cursor: pointer; }
.tp-lu-open:hover, .tp-lu-add:hover { border-color: var(--red); }
.tp-lu-face { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--red); }
.tp-lu b { font-size: .78rem; line-height: 1.2; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-lu small { font-size: .66rem; font-weight: 700; color: var(--red-bright); text-transform: uppercase; letter-spacing: .04em; }
.tp-lu-add { border-style: dashed; }
.tp-lu-add .tp-lu-face { box-shadow: none; background: var(--red-dim); color: var(--red-bright); }
.tp-lu-add small { color: var(--muted); text-transform: none; letter-spacing: 0; }
.tp-lu-rm { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; font-size: .6rem; }
.tp-lu-rm svg { width: 11px; height: 11px; }
.tp-pick { display: grid; gap: 6px; margin-top: 10px; }
.tp-pick-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--tp-line); background: transparent; color: var(--text-1); font: inherit; text-align: left; cursor: pointer; }
.tp-pick-row:hover { border-color: var(--red); }
.tp-pick-row > span:not(.tp-face) { display: grid; gap: 1px; flex: 1; min-width: 0; }
.tp-pick-row b { font-size: .88rem; }
.tp-pick-row small { font-size: .74rem; color: var(--muted); }
.tp-pick-row > svg { color: var(--red-bright); }

/* rising talent (home) */
.tp-rise { padding: 34px 0 10px; }
.tp-rise-in { width: min(1240px, 100%); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.tp-rise-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.tp-rise-head h2 { margin: 4px 0 0; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.tp-rise-f select { min-height: 38px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--tp-line); background: var(--card); color: var(--text-1); font: 600 .82rem var(--tp-font);  }
.tp-rise-cats { display: flex; gap: 6px; overflow-x: auto; margin: 14px 0; padding-bottom: 2px; scrollbar-width: none; }
.tp-rise-cats::-webkit-scrollbar { display: none; }
.tp-rise-cats button { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--tp-line); background: transparent; color: var(--text-1); font: 700 .78rem/1 var(--tp-font);  cursor: pointer; }
.tp-rise-cats button.on { background: var(--red); border-color: var(--red); color: #fff; }
.tp-rise-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.tp-rc { flex: 0 0 clamp(150px, 22vw, 200px); scroll-snap-align: start; display: grid; gap: 8px; padding: 0; border: 0; background: transparent; color: var(--text-1); text-align: left; font: inherit; cursor: pointer; }
.tp-rc-img { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--card-2); }
.tp-rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.tp-rc:hover .tp-rc-img img { transform: scale(1.04); }
.tp-rc-up { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; }
.tp-rc-av { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(10,10,12,.72); color: #4ade80; font-size: .66rem; font-weight: 800; }
.tp-rc-av i { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
.tp-rc-b { display: grid; gap: 2px; padding: 0 2px; }
.tp-rc-b b { font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-rc-b small { font-size: .74rem; color: var(--muted); }
.tp-rise-none { padding: 20px 0; }

/* campaigns */
.tp-camp-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 14px 10px; padding: 7px 10px; border-radius: 10px; border: 1px dashed var(--tp-line); background: transparent; color: var(--text-2, var(--muted)); font: 700 .74rem/1 var(--tp-font);  cursor: pointer; }
.tp-camp-btn:hover { border-color: var(--red); color: var(--red-bright); }
.tp-cp { display: grid; gap: 14px; }
.tp-cp-hero { display: flex; align-items: center; gap: 16px; }
.tp-cp-hero h2 { margin: 4px 0 2px; font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.tp-cp-face { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--card), 0 0 0 6px #f4b000; font-size: 1.6rem; }
.tp-cp-rank { display: flex; align-items: baseline; gap: 8px; }
.tp-cp-rank b { font-size: 2rem; font-weight: 800; color: #f4b000; line-height: 1; }
.tp-cp-rank span { color: var(--muted); font-size: .86rem; }
.tp-cp-bar { height: 12px; border-radius: 999px; background: var(--glass-bg2, rgba(255,255,255,.08)); overflow: hidden; }
.tp-cp-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c8102e, #f4b000); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.tp-cp-votes { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--muted); }
.tp-cp-votes b { font-size: 1.15rem; color: var(--text-1); }
.tp-cp-votes span { font-weight: 700; }
.tp-cp-acts { display: flex; gap: 8px; }
.tp-cp-acts .tp-btn { flex: 1; min-height: 44px; }
.tp-cp-desc { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--text-2, var(--text-1)); }
.tp-endorse { display: flex; align-items: center; gap: 12px; font-size: .84rem; color: var(--muted); }
.tp-stack { display: inline-flex; }
.tp-stack .tp-face { width: 34px; height: 34px; margin-left: -10px; box-shadow: 0 0 0 2px var(--card); font-size: .66rem; }
.tp-stack .tp-face:first-child { margin-left: 0; }
.tp-cp-share { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-cp-qr { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.tp-cp-qr img { border-radius: 10px; background: #fff; padding: 6px; }
.tp-cp-qr small { color: var(--muted); font-size: .78rem; font-weight: 700; }
.tp-cp-edit { padding-top: 14px; border-top: 1px solid var(--tp-line); }

/* ── real identity: photo prompt and reminder bar (identity.js) ── */
.idg-ov { position: fixed; inset: 0; z-index: 10060; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(6,6,8,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.idg { width: min(420px, 100%); padding: 26px 24px 20px; border-radius: 20px; background: var(--card); color: var(--text-1); border: 1px solid var(--tp-line); box-shadow: 0 24px 80px rgba(0,0,0,.45); text-align: center; }
.idg-ic { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--red-dim); color: var(--red-bright); box-shadow: 0 0 0 6px rgba(200,16,46,.08); }
.idg h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; }
.idg p { margin: 0 0 12px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.idg ul { list-style: none; margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--glass-bg, transparent); border: 1px solid var(--tp-line); text-align: left; display: grid; gap: 6px; font-size: .84rem; }
.idg li::before { content: '✓'; color: var(--tp-ok); font-weight: 800; margin-right: 8px; }
.idg-acts { display: flex; gap: 8px; }
.idg-acts button { flex: 1; min-height: 44px; border-radius: 12px; font: 700 .9rem var(--tp-font); cursor: pointer; }
.idg-later { background: transparent; border: 1px solid var(--tp-line); color: var(--text-1); }
.idg-go { background: var(--red); border: 1px solid var(--red); color: #fff; }
.idg-go:hover { background: var(--red-bright); }
.idg-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 900; width: min(640px, calc(100% - 24px)); display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 16px; background: var(--card); color: var(--text-1); border: 1px solid var(--red-border-s, var(--tp-line)); box-shadow: 0 14px 40px rgba(0,0,0,.35); animation: idgUp .4s cubic-bezier(.2,.8,.2,1) both; }
.idg-bar-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--red-dim); color: var(--red-bright); }
.idg-bar-ic svg { width: 19px; height: 19px; }
.idg-bar-t { flex: 1; min-width: 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.idg-bar-t b { color: var(--text-1); }
.idg-bar-go { flex: none; min-height: 36px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--red); color: #fff; font: 700 .8rem var(--tp-font); cursor: pointer; }
.idg-bar-x { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
@keyframes idgUp { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 768px) { .idg-bar { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); } .idg-bar-t { font-size: .76rem; } }
@media (prefers-reduced-motion: reduce) { .idg-bar { animation: none; } }

/* My Submissions: not approved + resubmit (organiser.js) */
.sub-reject { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: var(--red-dim); font-size: .8rem; color: var(--text-2, var(--text-1)); }
.rs-ta { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--tp-line); background: var(--field-bg, rgba(255,255,255,.04)); color: var(--text-1); font: 500 .88rem/1.5 var(--tp-font); resize: vertical; }
.rs-cover { display: flex; align-items: center; gap: 12px; }
.rs-cover img { width: 120px; height: 72px; object-fit: cover; border-radius: 10px; }

/* review queue bulk actions (admin-plus.js) */
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--tp-line); background: var(--glass-bg, transparent); font-size: .82rem; }
.bulk-bar[hidden] { display: none; }
.bulk-all { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-weight: 700; }
.bulk-n { color: var(--muted); }
.bulk-reason { flex: 1 1 200px; min-width: 0; min-height: 34px; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--tp-line); background: var(--field-bg, rgba(255,255,255,.04)); color: var(--text-1); font: 500 .8rem var(--tp-font); }
.bulk-bar button:disabled { opacity: .45; cursor: default; }
.bulk-check { display: flex; align-items: center; padding-right: 8px; cursor: pointer; }
.bulk-check input, .bulk-all input { width: 17px; height: 17px; accent-color: var(--red); }

/* notifications: team announcements and the reader (my-pages.js) */
.mp-notif.ann { border-left: 3px solid var(--red); }
.mp-nfrom { display: block; font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 2px; }
.nr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.nr-logo { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--red-dim); color: var(--red-bright); flex: none; }
.nr-head span:last-child { display: grid; gap: 1px; }
.nr-head b { font-size: .9rem; }
.nr-head small { font-size: .74rem; color: var(--muted); }
.nr-title { margin: 0 0 12px; font-size: 1.3rem; font-weight: 800; line-height: 1.3; }
.nr-body p { margin: 0 0 12px; font-size: .95rem; line-height: 1.65; color: var(--text-2, var(--text-1)); }
.nr-go { margin-top: 6px; }

/* admin Members: possible duplicate accounts (admin-plus.js) */
.dupe-box { margin: 0 0 16px; padding: 14px; border-radius: 14px; border: 1px solid var(--tp-line); background: var(--glass-bg, transparent); display: grid; gap: 10px; }
.dupe-head { display: grid; gap: 3px; }
.dupe-head b { font-size: .92rem; color: var(--tp-warn); }
.dupe-head span, .dupe-muted { font-size: .78rem; color: var(--muted); margin: 0; }
.dupe-ok { margin: 0; font-size: .82rem; color: var(--tp-ok); font-weight: 700; }
.dupe-group { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: var(--card-2, rgba(255,255,255,.04)); }
.dupe-why { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dupe-acc { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dupe-name { display: grid; flex: 1 1 200px; min-width: 0; }
.dupe-name b { font-size: .86rem; }
.dupe-name small { font-size: .74rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.dupe-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.dupe-tags i { font-style: normal; font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--glass-bg2, rgba(255,255,255,.06)); color: var(--muted); }
.dupe-tags i.ok { background: var(--tp-ok-bg); color: var(--tp-ok); }
