/* Public UX polish, October 25, 2026. Loaded last so it only refines earlier styles. */
/* The empty notification pill peeked out at the top of every page. Keep it fully hidden until a message is shown. */
.toast{opacity:0;visibility:hidden}
.toast.show{opacity:1;visibility:visible}
/* Guests have no profile or match filters yet, so hide member-only header buttons until sign-in. */
html.tb-guest #filtersButton,html.tb-guest .avatar-button{display:none!important}
/* A match counter of zero is noise. */
#matchBadge[hidden]{display:none!important}
/* On phones the scene switcher covered page content. The pause control for moving art stays available. */
@media (max-width:640px){#marketSceneToggle{display:none!important}}
/* Clear keyboard focus on every interactive control. */
.topbar a:focus-visible,.topbar button:focus-visible,.topbar summary:focus-visible,.bottom-nav button:focus-visible{outline:3px solid #a7e3ed;outline-offset:3px}

/* Phones: keep the motion pause control, but as a small round button that does not cover content */
@media (max-width:640px){
  #heartChartToggle{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:50%!important;font-size:0!important;line-height:0!important;right:10px!important;overflow:hidden;display:grid;place-items:center}
  #heartChartToggle::before{content:"\275A\275A";font-size:11px;letter-spacing:-2px;line-height:1;color:#f1d7ff}
  #heartChartToggle[aria-pressed="true"]::before{content:"\25B6";letter-spacing:0;font-size:13px}
}

/* Sticky swipe actions get a solid backing so page text never shows through them */
.real-discovery>.card-actions{background:rgba(7,11,24,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:8px;border-radius:16px;border:1px solid rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.35)}
@media (max-width:640px){
  .real-discovery>.card-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .real-discovery>.card-actions>button{min-height:44px;padding:8px 6px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
/* When there is no profile card to act on, the action bar stops following the scroll */
.real-discovery>.card-actions:has(#realLike:disabled):has(#realPass:disabled){position:static}
@media (max-width:400px){
  .top-actions{gap:6px!important;min-width:0}
  .top-actions>*{flex-shrink:1;min-width:0}
}
@media (max-width:400px){
  #accountButton.account-trigger{max-width:120px;overflow:hidden;text-overflow:ellipsis;padding-left:10px;padding-right:10px}
}

/* Oct 27, 2026 public review fixes */
/* Signed-out visitors do not see the member tab bar (Discover, Boardroom, Matches, Events, Profile). */
html.tb-guest .bottom-nav{display:none!important}
@media (max-width:760px){html.tb-guest .app-shell{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))!important}}
/* The candle pause and scene buttons sit in the hero's art-controls row, never over text or buttons. */
.motion-toolbar #heartChartToggle,.motion-toolbar #marketSceneToggle{position:static!important;inset:auto!important;right:auto!important;bottom:auto!important;transform:none!important;display:inline-flex!important;align-items:center;width:auto!important;height:auto!important;min-height:40px!important;padding:9px 16px!important;border-radius:30px!important;font:inherit!important;font-size:inherit!important;line-height:normal!important;letter-spacing:inherit;z-index:auto!important;background:#141528!important;border:1px solid #8ca7c35c!important;color:#e8d7ef!important;cursor:pointer}
.motion-toolbar #heartChartToggle::before{content:none!important}
@media print{.motion-toolbar #marketSceneToggle{display:none!important}}
/* Decorative city art waits until its section is near the screen. */
html.tb-lazy-bg .city-panorama:not(.bg-in),html.tb-lazy-bg .roof-invite:not(.bg-in),html.tb-lazy-bg .club-lounge-feature:not(.bg-in),html.tb-lazy-bg .room-sidebar:not(.bg-in),html.tb-lazy-bg .roof-stage:not(.bg-in)::before{background-image:none!important}
html.tb-lazy-bg .roof-invite:not(.bg-in),html.tb-lazy-bg .club-lounge-feature:not(.bg-in),html.tb-lazy-bg .room-sidebar:not(.bg-in){background-color:#0b1022}

/* Nov 11, 2026 signup readiness (Site Design Review notes). */
/* Labels stay readable. The 18+ line is a legal cue, so it gets the largest size. */
.topbar .brand small,.editorial-footer small,.global-clocks small,.roof-kicker,.club-kicker,.club-index{font-size:max(11.5px,.72rem)!important;letter-spacing:.1em}
.after-hours-caption{font-size:max(12.5px,.8rem)!important;letter-spacing:.08em;color:#e8edf7!important;opacity:1!important}
/* "Request early access" is the one filled button. Secondary hero actions read as text links. */
.member-start-actions{gap:.35rem 1.25rem!important;margin-top:.6rem!important}
.member-start-actions .outline-button,#betaMemberEntry,.beta-overview .outline-button{background:none!important;border:0!important;box-shadow:none!important;min-height:44px;padding:.35rem 0!important;width:auto!important;flex:0 0 auto!important;text-decoration:underline;text-underline-offset:4px;color:#e6ecff!important;font-weight:600}
.member-start-actions .outline-button:hover,#betaMemberEntry:hover,.beta-overview .outline-button:hover{color:#8fe9ff!important}

/* Nov 12, 2026 design review staging. */
#accountButton.account-trigger{background:none!important;border:0!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:.35rem 0!important;max-width:none;overflow:visible;color:#e6ecff!important;font-weight:600}
#accountButton.account-trigger:hover{color:#8fe9ff!important}
.after-hours-secondary-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem 1.25rem;max-width:min(1120px,calc(100% - 40px));margin:0 auto 1.5rem}
.after-hours-secondary-actions .outline-button{background:none!important;border:0!important;box-shadow:none!important;min-height:44px;padding:.35rem 0!important;width:auto!important;text-decoration:underline;text-underline-offset:4px;color:#e6ecff!important;font-weight:600}
.after-hours-secondary-actions .outline-button:hover{color:#8fe9ff!important}
.plan-card li small,.confluence-editorial .after-hours-deck article>.demo-label{font-size:max(11.5px,.72rem)!important;letter-spacing:.08em}

/* Nov 15, 2026 growth pass. Guests should not see empty member chrome, and Plans is a text link. */
html.tb-guest #watchlistView,
html.tb-guest #matchesView,
html.tb-guest #eventsView,
html.tb-guest #profileView,
html.tb-guest #floorMember,
html.tb-guest #floorPostForm{display:none!important}
html.tb-guest #premiumButton{background:none!important;border:0!important;box-shadow:none!important;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:.35rem 0!important;color:#e6ecff!important;font-weight:600}
html.tb-guest #premiumButton:hover{color:#8fe9ff!important}
html.tb-guest #premiumButton span{display:none!important}
html.tb-member .early-access-link{display:none!important}
.chat-scam-notice,.money-safety-card{border:1px solid #8ca7c35c;background:#141528;color:#e8edf7;padding:12px 14px;border-radius:12px;margin:10px 0}
.chat-scam-notice[hidden],.money-safety-card[hidden]{display:none!important}
.invite-friend{margin:12px 0;padding:12px 0;border-top:1px solid #8ca7c35c}
.invite-friend input{width:100%;margin:.4rem 0;padding:.5rem .6rem}
