:root { --ink: #15151a; --muted: #777783; --paper: #fbfaf8; --line: #ebe9e6; --hot: #ff4d6d; --cyan: #20d9e8; --yellow: #ffc857; }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a, button, input, select, textarea { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(21,21,26,.07); background: rgba(251,250,248,.88); backdrop-filter: blur(18px); }
.site-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: 1240px; min-height: 4.8rem; margin: 0 auto; padding: .75rem 1.25rem; }
.brand-lockup { display: inline-flex; align-items: center; justify-self: start; gap: .6rem; color: var(--ink); font-size: 1.13rem; font-weight: 950; letter-spacing: -.06em; white-space: nowrap; }.brand-lockup img { width: 2rem; height: 2rem; object-fit: contain; }.brand-lockup span span { color: var(--hot); }
.desktop-nav-links { display: flex; align-items: center; justify-content: center; gap: 2rem; font-size: .86rem; font-weight: 850; }.desktop-nav-links a { color: var(--muted); }.desktop-nav-links a:hover, .desktop-nav-links a:focus-visible { color: var(--ink); }.desktop-nav-links i { color: var(--hot); margin-right: .25rem; }
.nav-actions { display: flex; align-items: center; justify-self: end; gap: .75rem; }.desktop-logout { display: inline; }.nav-text-button { border: 0; background: transparent; color: var(--muted); font-size: .75rem; font-weight: 850; cursor: pointer; }.nav-text-button:hover { color: var(--ink); }.nav-sign-in { color: var(--muted); font-size: .86rem; font-weight: 850; }.nav-sign-in:hover { color: var(--ink); }.site-nav .nav-join { background: var(--brand-accent); padding: .54rem .95rem; color: white; font-size: .86rem; box-shadow: 0 4px 0 color-mix(in srgb, var(--brand-accent) 72%, #15151a), 0 9px 16px color-mix(in srgb, var(--brand-accent) 20%, transparent); }.site-nav .nav-join:hover { background: color-mix(in srgb, var(--brand-accent) 88%, #15151a); color: white; transform: translateY(-1px); box-shadow: 0 5px 0 color-mix(in srgb, var(--brand-accent) 72%, #15151a), 0 12px 20px color-mix(in srgb, var(--brand-accent) 24%, transparent); }
.mobile-menu-button { display: none; border: 1px solid var(--line); border-radius: .75rem; background: white; padding: .55rem .65rem; color: var(--muted); }.mobile-menu { display: none; max-width: 1240px; margin: 0 auto; padding: .3rem 1.25rem 1rem; }.mobile-menu a, .mobile-menu button { display: block; width: 100%; border: 0; border-radius: .75rem; background: transparent; padding: .75rem .8rem; color: var(--ink); text-align: left; font-size: .88rem; font-weight: 850; }.mobile-menu a:hover, .mobile-menu button:hover { background: white; }.mobile-menu i { width: 1.4rem; color: var(--muted); }.mobile-join { background: var(--brand-accent) !important; color: white !important; text-align: center !important; }
.low-power-banner { display: flex; min-height: 2.35rem; align-items: center; justify-content: center; gap: .45rem; border-top: 1px solid #e7c95f; background: #fff1b8; padding: .55rem 1rem; color: #5f4900; font-size: .78rem; font-weight: 700; line-height: 1.3; text-align: center; }.low-power-banner[hidden] { display: none; }.low-power-banner:hover, .low-power-banner:focus-visible { background: #ffeaa0; color: #4d3a00; }.low-power-banner i { color: #967000; font-size: .82rem; transform: translateY(1px); }.low-power-banner u { text-underline-offset: .16em; text-decoration-thickness: .09em; font-weight: 900; }
.verification-banner { display: flex; min-height: 2.35rem; align-items: center; justify-content: center; gap: .45rem; border-top: 1px solid #c72d4a; background: #f94f67; padding: .55rem 1rem; color: white; font-size: .78rem; font-weight: 750; line-height: 1.3; text-align: center; text-decoration: none; }.verification-banner:hover, .verification-banner:focus-visible { background: #e83e5b; color: white; }.verification-banner i { color: white; font-size: .82rem; transform: translateY(1px); }.verification-banner u { text-underline-offset: .16em; text-decoration-thickness: .09em; font-weight: 950; }
.global-event-banner { display: flex; min-height: 2.35rem; align-items: center; justify-content: center; gap: .5rem; border-top: 1px solid #c93149; background: #f94f67; padding: .55rem 1rem; color: #fff; font-size: .78rem; font-weight: 650; line-height: 1.3; text-align: center; }.global-event-banner strong { font-weight: 950; letter-spacing: .02em; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .14em; }.global-event-banner i { color: #fff; font-size: .86rem; transform: translateY(1px); }
.daily-drop-banner { display: flex; min-height: 2.35rem; align-items: center; justify-content: center; gap: .45rem; border-top: 1px solid #159c6e; background: #dff8ec; padding: .55rem 1rem; color: #176849; font-size: .78rem; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; }.daily-drop-banner[hidden] { display: none; }.daily-drop-banner:hover, .daily-drop-banner:focus-visible { background: #cbf2df; color: #0e533b; }.daily-drop-banner i { color: #159c6e; font-size: .84rem; transform: translateY(1px); }.daily-drop-banner u { text-underline-offset: .16em; text-decoration-thickness: .09em; font-weight: 900; }
.power-chip { display: inline-flex; height: 2.35rem; align-items: center; gap: .45rem; border: 1px solid #efd77d; border-radius: .8rem; background: #fff3c9; padding: 0 .6rem 0 .7rem; color: #674b00; font-size: .78rem; font-weight: 950; white-space: nowrap; box-shadow: none; transform: none; }.power-chip:hover, .power-chip:focus-visible { border-color: #e2c25b; background: #ffedac; color: #5f4500; box-shadow: none; transform: none; }.power-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--yellow); color: #6c4d00; font-size: .78rem; box-shadow: inset 0 -2px 0 rgba(108,77,0,.16); }.power-number { font-variant-numeric: tabular-nums; }.avatar, .option-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 35%; background: var(--avatar-color, var(--hot)); color: white; font-weight: 900; letter-spacing: -.04em; }.avatar { width: 2.35rem; height: 2.35rem; border: 3px solid white; box-shadow: 0 0 0 1px rgba(0,0,0,.1); font-size: .72rem; }
.power-chip .power-mark { width: 1.58rem; height: 1.58rem; background: #f6c644; color: #674b00; font-size: .7rem; box-shadow: inset 0 -2px 0 rgba(103,75,0,.2); }
.home-shell, .page-shell { width: min(100% - 2rem, 1240px); margin: 0 auto; padding: 4.6rem 0 5rem; }.home-hero { max-width: 820px; margin: 0 auto; text-align: center; }.hero-kicker, .section-kicker { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .7rem; font-weight: 950; letter-spacing: .17em; text-transform: uppercase; }.hero-title { margin: 1rem 0 0; font-size: clamp(3.7rem, 9vw, 7.2rem); font-weight: 950; letter-spacing: -.095em; line-height: .87; }.hero-title span { color: var(--hot); }.hero-copy { max-width: 50rem; margin: 1.5rem auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }.hero-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; color: #6f6b74; font-size: .7rem; font-weight: 600; }.live-pulse { display: inline-block; width: .52rem; height: .52rem; border-radius: 999px; background: var(--hot); box-shadow: 0 0 0 3px #ffe1e6; }
 .activity-rail { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1rem; overflow: hidden; margin: 4.6rem calc(50% - 50vw) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; padding: .85rem max(1rem, calc(50vw - 620px)); }.activity-track { display: flex; flex: 0 0 auto; width: max-content; align-items: center; gap: 1.35rem; animation: ticker 108s linear infinite; animation-delay: -36s; will-change: transform; }.activity-item { color: var(--muted); font-size: .78rem; white-space: nowrap; }.activity-item strong, .activity-item b { color: var(--ink); }.activity-item em { margin-left: .35rem; color: var(--hot); font-style: normal; font-weight: 900; }@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: 5rem; }.categories-heading { margin-top: 6.5rem; }.section-kicker { color: var(--hot); }.section-kicker i { font-size: .75rem; }.section-title { margin: .45rem 0 0; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 950; letter-spacing: -.07em; line-height: 1; }.text-link { color: var(--muted); font-size: .8rem; font-weight: 850; }.text-link:hover { color: var(--ink); }.text-link i { margin-left: .25rem; }
.market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }.market-grid-hot { grid-template-columns: repeat(3, minmax(0, 1fr)); }.market-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: white; padding: 1.05rem; box-shadow: 0 7px 22px rgba(21,21,26,.035); }.market-card::before { position: absolute; inset: 0 0 auto; height: 3px; background: var(--market-accent); content: ''; }.market-card:hover { border-color: color-mix(in srgb, var(--market-accent) 45%, var(--line)); box-shadow: 0 18px 35px rgba(21,21,26,.09); transform: translateY(-3px); }.market-card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }.market-category, .market-period { display: inline-flex; align-items: center; gap: .35rem; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }.market-category { color: var(--market-accent); }.market-period { color: #a0a0aa; }.market-title { min-height: 3rem; margin: 1rem 0 .8rem; font-size: 1.13rem; font-weight: 950; letter-spacing: -.045em; line-height: 1.22; }.market-leaders { display: grid; gap: .25rem; }.market-leader { position: relative; display: grid; grid-template-columns: 1.35rem 2rem minmax(0,1fr) auto; align-items: center; gap: .55rem; min-height: 2.7rem; overflow: hidden; border-radius: .7rem; padding: .35rem .4rem; }.market-leader-bar { position: absolute; z-index: 0; left: 0; bottom: 0; width: var(--bar-width); height: 2px; background: var(--market-accent); opacity: .5; }.market-rank, .market-avatar, .market-leader-name, .market-leader-power { position: relative; z-index: 1; }.market-rank { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border-radius: .4rem; background: #f4f2f0; color: #9998a0; font-size: .68rem; font-weight: 950; }.market-rank.is-first { background: var(--market-accent); color: white; }.market-avatar { width: 2rem; height: 2rem; border-radius: .6rem; object-fit: cover; background: #f4f2f0; }.market-leader-name { overflow: hidden; color: var(--ink); font-size: .78rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }.market-leader-power { color: var(--market-accent); font-size: .75rem; font-weight: 950; }.market-leader-empty { color: #b0afb6; }.market-leader-empty .market-leader-name { color: #b0afb6; font-weight: 700; }.market-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; border-top: 1px solid #f0eeec; padding-top: .8rem; color: #a0a0aa; font-size: .7rem; font-weight: 800; }.market-open { color: var(--ink); }.market-open i { margin-left: .2rem; color: var(--market-accent); }
.category-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .75rem; margin-top: 1.5rem; }.category-card { display: flex; min-height: 10.5rem; flex-direction: column; justify-content: space-between; gap: .8rem; border: 1px solid var(--line); border-radius: 1.1rem; background: white; padding: 1rem; box-shadow: 0 5px 18px rgba(21,21,26,.025); }.category-card:hover { border-color: var(--category-accent); box-shadow: 0 15px 28px rgba(21,21,26,.07); transform: translateY(-3px); }.category-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.55rem; height: 2.55rem; border-radius: .8rem; background: color-mix(in srgb, var(--category-accent) 13%, white); color: var(--category-accent); font-size: 1rem; }.category-card strong, .category-card small { display: block; }.category-card strong { font-size: .95rem; font-weight: 950; }.category-card small { margin-top: .2rem; color: #a0a0aa; font-size: .68rem; font-weight: 750; }.category-subchips { display: flex; flex-wrap: wrap; gap: .25rem; }.category-subchips span { display: inline-flex; align-items: center; gap: .22rem; border-radius: 999px; background: #f7f5f3; padding: .25rem .38rem; color: #87868f; font-size: .58rem; font-weight: 800; }.category-subchips i { color: var(--category-accent); }
.page-intro { max-width: 44rem; }.page-intro p { margin-top: 1rem; color: var(--muted); font-size: 1rem; line-height: 1.65; }.page-title { margin: .7rem 0 0; font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 950; letter-spacing: -.09em; line-height: .92; }.category-grid-explore { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 2.2rem; }.explore-polls-heading { margin-top: 5.5rem; }.filter-bar, .subfilter-bar { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.5rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; }.filter-tab, .subfilter-tab { display: inline-flex; align-items: center; gap: .35rem; border-radius: 999px; padding: .55rem .75rem; color: var(--muted); font-size: .72rem; font-weight: 900; }.filter-tab:hover, .filter-tab.active, .subfilter-tab:hover, .subfilter-tab.active { background: var(--ink); color: white; }.subfilter-bar { margin-top: .75rem; border-bottom: 0; padding-bottom: 0; }.subfilter-tab { background: white; border: 1px solid var(--line); }.grid-span-all { grid-column: 1 / -1; }
.trend-window-bar { display: flex; width: max-content; max-width: 100%; gap: .25rem; overflow-x: auto; margin-top: 2rem; border-radius: .9rem; background: #f0eeec; padding: .3rem; }.trend-window { border-radius: .65rem; padding: .65rem .9rem; color: var(--muted); font-size: .75rem; font-weight: 950; }.trend-window:hover, .trend-window.active { background: white; color: var(--ink); box-shadow: 0 3px 8px rgba(21,21,26,.08); }.trend-summary { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; color: #9998a0; font-size: .72rem; font-weight: 800; }.trend-summary i { color: var(--hot); margin-right: .2rem; }
.search-page { max-width: 1000px; }.search-box-v2 { position: relative; display: flex; align-items: center; gap: .65rem; max-width: 47rem; margin-top: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: white; padding: .35rem; box-shadow: 0 8px 24px rgba(21,21,26,.04); }.search-leading-icon { margin-left: .75rem; color: #aaa8b0; }.search-box-v2 input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .8rem .2rem; font: inherit; }.search-live { min-height: 1.5rem; max-width: 47rem; margin-top: .6rem; color: var(--muted); font-size: .8rem; }
.search-box { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: .9rem; background: white; padding: .35rem .4rem .35rem .8rem; }.search-box input { border: 0; outline: 0; background: transparent; }.search-box input:focus { box-shadow: none; }
.poll-hero-v2 { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.3rem; overflow: hidden; border: 1px solid color-mix(in srgb, var(--poll-accent) 18%, var(--line)); border-radius: 1.5rem; background: color-mix(in srgb, var(--poll-accent) 8%, white); padding: clamp(1.4rem, 5vw, 3.3rem); }.poll-hero-v2 h1 { max-width: 50rem; margin-top: .6rem; font-size: clamp(2.5rem, 6vw, 5.7rem); font-weight: 950; letter-spacing: -.09em; line-height: .92; }.poll-hero-v2 p { max-width: 34rem; margin-top: 1rem; color: var(--muted); font-size: .95rem; line-height: 1.65; }.poll-hero-mark { display: flex; width: 10rem; height: 10rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 2rem; background: var(--ink); transform: rotate(6deg); }.poll-hero-mark img { width: 7rem; height: 7rem; object-fit: contain; }.poll-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }.period-tabs { display: flex; max-width: 100%; gap: .25rem; overflow-x: auto; }.period-tab { border-radius: .7rem; padding: .65rem .8rem; color: var(--muted); font-size: .75rem; font-weight: 900; white-space: nowrap; }.period-tab:hover, .period-tab.active { background: var(--ink); color: white; }.sign-in-boost { color: var(--hot); font-size: .78rem; font-weight: 900; white-space: nowrap; }.sign-in-boost i { margin-left: .2rem; }.leaderboard-shell { position: relative; margin-top: 1.2rem; overflow: visible; border: 1px solid var(--line); border-radius: 1.25rem; background: white; box-shadow: 0 8px 25px rgba(21,21,26,.035); }.leaderboard-head { display: grid; grid-template-columns: 2.25rem 2rem 1fr 17rem; gap: .65rem; border-bottom: 1px solid var(--line); padding: .9rem 1rem; color: #aaa8b0; font-size: .62rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }.leaderboard-row { position: relative; display: grid; grid-template-columns: 2.25rem 2.5rem minmax(0,1fr) 17rem; align-items: center; gap: .65rem; border-bottom: 1px solid #f2f0ee; padding: 1rem; }.leaderboard-row:last-child { border-bottom: 0; }.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: .55rem; background: #f2f0ee; color: #aaa8b0; font-size: .72rem; font-weight: 950; }.rank-badge.rank-top { background: var(--yellow); color: #6c4d00; }.leaderboard-avatar { width: 2.5rem; height: 2.5rem; border-radius: .8rem; object-fit: cover; background: #f2f0ee; }.leaderboard-option { min-width: 0; }.leaderboard-option strong, .leaderboard-option span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.leaderboard-option strong { font-size: .9rem; font-weight: 950; }.leaderboard-option span { margin-top: .22rem; color: var(--hot); font-size: .7rem; font-weight: 850; }.leaderboard-action { position: relative; justify-self: end; }.boost-toggle { display: inline-flex; align-items: center; gap: .35rem; border: 0; border-radius: .7rem; background: var(--ink); padding: .65rem .85rem; color: white; font-size: .72rem; font-weight: 950; cursor: pointer; box-shadow: 0 3px 0 #000; }.boost-toggle:hover, .boost-toggle.is-open { background: var(--hot); transform: translateY(-1px); box-shadow: 0 4px 0 #d82e50; }
.profile-hero-card, .profile-detail-card { border: 1px solid var(--line); border-radius: 1.35rem; background: white; padding: 1.5rem; box-shadow: 0 8px 26px rgba(21,21,26,.035); }.profile-hero-card { position: relative; overflow: hidden; background: var(--ink); color: white; }.profile-hero-card::after { position: absolute; right: -3rem; top: -3rem; width: 12rem; height: 12rem; border-radius: 50%; background: var(--hot); opacity: .9; content: ''; }.avatar-xl { width: 5.5rem; height: 5.5rem; border: 4px solid rgba(255,255,255,.8); border-radius: 1.5rem; font-size: 1.5rem; }.profile-bio { position: relative; z-index: 1; margin-top: 2.5rem; color: rgba(255,255,255,.75); font-size: .85rem; line-height: 1.6; }.profile-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; margin-top: 1.5rem; }.profile-stat { border-radius: .85rem; background: #f7f5f3; padding: .9rem; }.profile-stat small, .profile-stat strong { display: block; }.profile-stat small { color: #9998a0; font-size: .66rem; font-weight: 800; }.profile-stat strong { margin-top: .3rem; font-size: 1.15rem; font-weight: 950; }
.power-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; flex: 0 0 auto; border-radius: 1rem; font-size: 1.2rem; }.power-card-icon-gold { background: #fff3c9; color: #9a6b00; }.power-card-icon-cyan { background: #d9fbf7; color: #0d9c8b; }.power-card-icon-purple { background: #eee4ff; color: #8050d5; }.power-card-icon-green { background: #def8ec; color: #15986b; }.ledger-note { color: #96949c; font-size: .72rem; font-weight: 850; }.ledger-note i { color: #14a878; margin-right: .25rem; }.ledger-table-wrap { overflow-x: auto; margin-top: 1rem; }.ledger-amount { font-weight: 950; }.ledger-amount.is-negative { color: var(--hot); }.ledger-amount.is-positive { color: #159c6e; }.ledger-empty { color: var(--muted); text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: .8rem; padding: .8rem 1rem; font-weight: 900; }.btn-dark { background: var(--ink); color: white; box-shadow: 0 4px 0 #050507, 0 9px 16px rgba(21,21,26,.12); }.btn-dark:hover { background: #2a2a32; transform: translateY(-1px); box-shadow: 0 5px 0 #050507, 0 12px 20px rgba(21,21,26,.15); }.btn-light { border: 1px solid var(--line); background: white; color: var(--ink); box-shadow: 0 3px 0 #e2dfdc; }.btn-light:hover { border-color: #c9c5c1; transform: translateY(-1px); }.hero-cta { flex: 1 1 11rem; min-width: 11rem; max-width: 12rem; min-height: 3rem; box-sizing: border-box; border-radius: .95rem; padding: .9rem 1.1rem; }
.empty-state { border: 1px dashed #d7d3cf; border-radius: 1.25rem; padding: 3rem 1.5rem; text-align: center; color: var(--muted); }.empty-state i { color: #b3afb0; font-size: 2rem; }.empty-state h2 { margin-top: .9rem; color: var(--ink); font-size: 1.2rem; font-weight: 950; }.empty-state p { margin-top: .35rem; }
.error-shell { display: grid; width: min(100% - 2rem, 1240px); min-height: clamp(32rem, calc(100vh - 9.5rem), 48rem); margin: 0 auto; place-items: center; padding: 4rem 0 5rem; text-align: center; }
.error-shell-inner { display: flex; width: min(100%, 42rem); align-items: center; flex-direction: column; }
.error-mark { position: relative; display: inline-flex; width: 7rem; height: 7rem; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--brand-accent) 30%, var(--line)); border-radius: 2rem; background: color-mix(in srgb, var(--brand-accent) 10%, white); color: var(--brand-accent); transform: rotate(-6deg); }
.error-mark::before { position: absolute; inset: .45rem; border: 1px dashed color-mix(in srgb, var(--brand-accent) 35%, transparent); border-radius: 1.5rem; content: ''; }
.error-mark span { position: relative; z-index: 1; font-size: 1.5rem; font-weight: 950; letter-spacing: -.08em; transform: rotate(6deg); }
.error-mark i { position: absolute; right: .55rem; bottom: .55rem; z-index: 1; display: inline-flex; width: 1.6rem; height: 1.6rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: #6c4d00; font-size: .7rem; box-shadow: inset 0 -2px 0 rgba(108,77,0,.18); transform: rotate(6deg); }
.error-kicker { display: inline-flex; align-items: center; gap: .4rem; margin: 2rem 0 0; color: var(--brand-accent); font-size: .7rem; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.error-shell h1 { max-width: 38rem; margin: .65rem 0 0; font-size: clamp(2.5rem, 6vw, 4.8rem); font-weight: 950; letter-spacing: -.075em; line-height: .95; }
.error-copy { max-width: 30rem; margin: 1rem auto 0; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .65rem; margin-top: 1.8rem; }
.error-actions .btn { min-width: 10.5rem; }

.auth-shell { display: flex; min-height: calc(100vh - 80px); align-items: center; justify-content: center; padding: 3rem 1rem; background: radial-gradient(circle at top left, #ffe9ed 0, transparent 32%), radial-gradient(circle at bottom right, #e5fbfd 0, transparent 35%); }.auth-card { width: 100%; max-width: 30rem; border: 1px solid rgba(21,21,26,.08); border-radius: 1.5rem; background: rgba(255,255,255,.9); padding: 2rem; box-shadow: 0 20px 70px rgba(21,21,26,.1); backdrop-filter: blur(12px); }.field { display: flex; flex-direction: column; gap: .45rem; font-size: .82rem; font-weight: 850; }.field input, .field select, .field textarea, .search-box input, .cms-main input, .cms-main select, .cms-main textarea { width: 100%; border: 1px solid #dcd8d4; border-radius: .7rem; background: white; padding: .72rem .8rem; font: inherit; font-weight: 500; }.field small { color: #89878d; font-size: .72rem; font-weight: 500; }.field small:not(:first-of-type) { color: #dc3855; }.notice { border-radius: .75rem; padding: .8rem .95rem; font-size: .8rem; font-weight: 750; }.notice-success { background: #dcf8ee; color: #117654; }.notice-error { background: #ffe5e9; color: #a51f3b; }
.country-picker { position: relative; }.country-input-shell { display: flex; min-width: 0; align-items: center; border: 1px solid #dcd8d4; border-radius: .7rem; background: white; }.country-input-shell:focus-within { border-color: var(--brand-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-accent) 16%, transparent); }.country-input-flag { width: 1.45rem; height: 1rem; flex: 0 0 auto; margin-left: .8rem; border-radius: .15rem; object-fit: cover; }.country-input-shell input { width: auto; min-width: 0; flex: 1 1 auto; border: 0; background: transparent; }.country-input-shell input:focus { box-shadow: none; }.country-results { position: absolute; left: 0; right: 0; top: calc(100% + .3rem); z-index: 5; max-height: 13rem; overflow-y: auto; border: 1px solid var(--line); border-radius: .8rem; background: white; box-shadow: 0 18px 32px rgba(21,21,26,.14); }.country-results[hidden] { display: none; }.country-results button { display: flex; align-items: center; gap: .55rem; width: 100%; border: 0; background: white; padding: .55rem .7rem; text-align: left; font-size: .78rem; font-weight: 750; }.country-results button:hover { background: #fff0f2; }.country-results img { width: 1.4rem; height: .95rem; object-fit: cover; }
.data-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: .78rem; }.data-table th { background: #faf9f8; padding: .75rem .9rem; text-align: left; color: #929097; font-size: .62rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }.data-table td { border-top: 1px solid #f0eeec; padding: .8rem .9rem; vertical-align: middle; }.cms-shell { max-width: 1400px; margin: 0 auto; padding: 2rem 1rem 4rem; }.cms-grid { display: grid; grid-template-columns: 12rem minmax(0,1fr); gap: 2rem; }.cms-sidebar { position: sticky; top: 6rem; display: flex; height: max-content; flex-direction: column; gap: .25rem; }.cms-sidebar a { border-radius: .65rem; padding: .6rem .7rem; color: var(--muted); font-size: .8rem; font-weight: 800; }.cms-sidebar a:hover { background: white; color: var(--ink); }.cms-main { min-width: 0; }
@media (max-width: 1050px) { .category-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }.site-nav { grid-template-columns: 1fr auto 1fr; }.desktop-nav-links { gap: 1rem; } }
@media (max-width: 760px) { .site-nav { display: flex; min-height: 4.25rem; }.desktop-nav-links, .desktop-logout, .desktop-auth-link { display: none; }.nav-actions { margin-left: auto; }.mobile-menu-button { display: inline-flex; }.mobile-menu:not(.hidden) { display: block; }.home-shell, .page-shell { width: min(100% - 1.25rem, 1240px); padding-top: 3.2rem; }.hero-title { font-size: clamp(3.25rem, 16vw, 5.4rem); }.activity-rail { margin-top: 3.5rem; padding-inline: .75rem; }.market-grid, .market-grid-hot { grid-template-columns: repeat(2, minmax(0,1fr)); }.category-grid-explore, .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }.poll-hero-v2 { align-items: flex-start; }.poll-hero-mark { display: none; }.poll-toolbar { align-items: stretch; flex-direction: column; }.power-chip, .sign-in-boost { align-self: flex-start; }.leaderboard-head { display: none; }.leaderboard-row { grid-template-columns: 2.1rem 2.5rem minmax(0,1fr); padding: .9rem .75rem; }.leaderboard-action { grid-column: 3; justify-self: start; margin-top: .35rem; }.trend-summary { align-items: flex-start; flex-direction: column; }.cms-grid { grid-template-columns: 1fr; }.cms-sidebar { position: static; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }.cms-sidebar .mb-5 { grid-column: 1 / -1; margin-bottom: 0; } }
@media (max-width: 420px) { .market-grid, .market-grid-hot { grid-template-columns: 1fr; }.category-grid, .category-grid-explore { grid-template-columns: repeat(2, minmax(0,1fr)); }.category-card { min-height: 9.5rem; padding: .8rem; }.category-subchips span:nth-child(n+3) { display: none; }.hero-proof { gap: .65rem; }.search-box-v2 { align-items: stretch; flex-wrap: wrap; padding: .35rem .35rem .35rem .65rem; }.search-leading-icon { margin-left: .25rem; }.search-box-v2 input { min-width: calc(100% - 2.5rem); }.cms-sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); }.poll-hero-v2 h1 { font-size: 2.7rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.leaderboard-avatar { border: 3px solid white; box-shadow: 0 0 0 1px rgba(21,21,26,.12); }.boost-toggle { box-shadow: 0 4px 0 #060608, 0 8px 14px rgba(21,21,26,.12); }.boost-toggle:hover, .boost-toggle.is-open { box-shadow: 0 5px 0 #c92c4b, 0 9px 16px rgba(255,77,109,.18); }.boost-row { display: grid; grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.2fr); align-items: center; gap: 1rem; border-bottom: 1px solid #f2f0ee; background: #fffaf5; padding: .85rem 1rem .95rem 6.35rem; animation: boost-panel-in .24s ease-out; }.boost-row[hidden] { display: none; }.boost-row-copy strong, .boost-row-copy span { display: block; }.boost-row-copy strong { font-size: .78rem; font-weight: 950; }.boost-row-copy span { margin-top: .18rem; color: var(--muted); font-size: .68rem; }.boost-row-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }.boost-row-actions button { min-height: 2.65rem; border: 1px solid #e9e0d8; border-radius: .7rem; background: white; padding: .55rem .35rem; color: var(--ink); font-size: .68rem; font-weight: 950; cursor: pointer; box-shadow: 0 2px 0 #e4d8cf; }.boost-row-actions button:hover { border-color: var(--hot); background: #fff0f2; color: var(--hot); transform: translateY(-1px); }.boost-row-actions .boost-max { grid-column: 1 / -1; background: var(--hot); border-color: var(--hot); color: white; box-shadow: 0 3px 0 #c92c4b; }.boost-row-actions button:disabled { cursor: wait; opacity: .45; }@keyframes boost-panel-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .boost-row { grid-template-columns: 1fr; gap: .7rem; padding: .85rem .75rem .95rem; }.boost-row-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
 .activity-rail { align-items: center; gap: 1rem; }.activity-rail-heading { display: flex; align-items: center; gap: .42rem; color: var(--hot); font-size: .68rem; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }.activity-rail-heading span:last-child { color: #9b98a0; font-size: .62rem; letter-spacing: .08em; }.activity-window { min-width: 0; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent); }.activity-item { display: inline-flex; align-items: center; gap: .38rem; color: var(--muted); font-size: .75rem; white-space: nowrap; }.activity-item strong, .activity-item b { color: var(--ink); }.activity-person { width: 1.55rem; height: 1.55rem; border: 2px solid white; box-shadow: 0 0 0 1px rgba(21,21,26,.1); font-size: .5rem; }.activity-option-image { width: 1.55rem; height: 1.55rem; border: 2px solid white; border-radius: .45rem; object-fit: cover; background: #f2f0ee; box-shadow: 0 0 0 1px rgba(21,21,26,.1); }.activity-item em { display: inline-flex; align-items: center; gap: .2rem; margin-left: .2rem; color: var(--hot); font-style: normal; font-weight: 950; }.activity-item em i { color: #c18b11; }@media (max-width: 760px) { .activity-rail { grid-template-columns: 1fr; gap: .55rem; padding-top: .7rem; padding-bottom: .7rem; }.activity-window { width: 100%; mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent); } }
.hero-title u { position: relative; text-decoration: none; }.hero-title u::after { position: absolute; left: 0; right: .04em; bottom: -.07em; height: .09em; border-radius: 999px; background: var(--yellow); content: ''; transform: rotate(-2deg); }.power-inline-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--yellow); color: #6c4d00; font-size: .62rem; }
 .activity-rail { grid-template-columns: 1fr; gap: .55rem; border: 0; background: transparent; padding: 0; }.activity-rail-heading { padding-inline: max(1rem, calc(50vw - 620px)); }.activity-window { width: 100%; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; padding: .85rem max(1rem, calc(50vw - 620px)); }
.market-avatar { border: 2px solid white; box-shadow: 0 0 0 1px rgba(21,21,26,.12); }
.market-category-divider { color: #b4b0ad; }
.hero-proof-item { display: inline-flex; align-items: center; gap: .38rem; }
.hero-proof-icon { display: inline-flex; align-items: center; justify-content: center; width: 1.45rem; height: 1.45rem; border-radius: 50%; font-size: .65rem; }
.hero-proof-icon i { font-weight: 800; transform: translateY(1px); }
.hero-proof-icon-blue { background: #def2ff; color: #1686c9; }
.hero-proof-icon-green { background: #def8ec; color: #15986b; }
.hero-proof-icon-yellow { background: #fff2c7; color: #9b6c00; }
.profile-account-action { position: relative; z-index: 1; margin-top: 1.25rem; }.profile-signout { border: 1px solid rgba(255,255,255,.22); border-radius: .7rem; background: transparent; padding: .55rem .7rem; color: rgba(255,255,255,.75); font-size: .7rem; font-weight: 850; cursor: pointer; }.profile-signout:hover { border-color: white; color: white; background: rgba(255,255,255,.08); }

/* Final interaction polish: keep the live rail inside the page width and make the
   period controls quiet on touch devices without hiding the ranking itself. */
.activity-rail { margin-left: 0; margin-right: 0; overflow: hidden; }
.activity-rail-heading, .activity-window { padding-left: 0; padding-right: 0; }
.period-tabs { scrollbar-width: none; }
.period-tabs::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
    .activity-rail { margin-top: 3.5rem; }
    .activity-window { padding-left: .75rem; padding-right: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
    .activity-track { animation: none !important; transform: none !important; }
}

/* Centered visual rhythm */
.page-intro { margin-inline: auto; text-align: center; }
.page-intro p { margin-inline: auto; }
.page-title { max-width: 100%; padding-inline: clamp(.35rem, 2vw, 1.5rem); }
.section-heading { align-items: center; flex-direction: column; justify-content: center; text-align: center; }
.section-heading > div { display: flex; align-items: center; flex-direction: column; }
.trend-window-bar { margin-inline: auto; }
.trend-summary { align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.filter-bar, .subfilter-bar { justify-content: center; }
.poll-toolbar { justify-content: center; }
.activity-rail-heading { align-items: center; justify-content: center; text-align: center; }
.hero-title, .hero-copy { padding-inline: clamp(.75rem, 4vw, 3rem); }
.hero-title u { display: inline-block; padding-bottom: .18em; }
.brand-lockup span span, .desktop-nav-links i { color: var(--brand-accent); }

/* Market cards */
.market-card { padding-top: 1.25rem; }
.market-card::before { height: .45rem; border-radius: 1.25rem 1.25rem 0 0; }
.market-card:hover { box-shadow: 0 8px 18px rgba(21,21,26,.045); transform: translateY(-2px); }
.market-title { display: flex; align-items: flex-start; gap: .55rem; min-height: 3.35rem; margin-top: 1.05rem; color: var(--ink); font-size: 1.22rem; }
.market-category { text-transform: none; letter-spacing: .01em; }

/* Category cards */
.category-card { min-height: 13rem; align-items: center; justify-content: flex-start; background: color-mix(in srgb, var(--category-accent) 7%, white); padding: 1.25rem 1rem; text-align: center; }
.category-card:hover { background: color-mix(in srgb, var(--category-accent) 12%, white); box-shadow: 0 8px 18px color-mix(in srgb, var(--category-accent) 12%, transparent); }
.category-icon { width: 3.75rem; height: 3.75rem; border-radius: 1.15rem; font-size: 1.55rem; }
.category-card strong { font-size: 1.25rem; letter-spacing: -.04em; }
.category-card small { margin-top: .35rem; }
.category-subchips { justify-content: center; gap: .35rem; }
.category-subchips span { padding: .42rem .58rem; font-size: .64rem; }

/* The ticker is three identical loops, so its seam is always outside the viewport. */
.activity-item { gap: .48rem; border-right: 1px solid #e4e1de; padding-right: 1.35rem; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-33.333333%); } }

/* Profile refresh */
.profile-hero-card { background: linear-gradient(135deg, #1b1b20 0%, #2a2a33 70%, color-mix(in srgb, var(--brand-accent) 40%, #26262d) 100%); padding: clamp(1.5rem, 4vw, 3rem); text-align: center; }
.profile-hero-card::after { background: var(--brand-accent); opacity: .35; }
.profile-hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 1.25rem; }
.profile-identity-copy { display: flex; align-items: center; text-align: left; }
.profile-identity-copy h1 { margin-top: 0; font-size: clamp(2.35rem, 6vw, 4.8rem); font-weight: 950; letter-spacing: -.09em; line-height: .95; }
.profile-hero-card .profile-bio { max-width: 36rem; margin: 1.7rem auto 0; }
.profile-stats { position: relative; z-index: 1; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 60rem; margin: 2rem auto 0; }
.profile-stat { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.09); text-align: center; }
.profile-stat small { color: rgba(255,255,255,.56); }
.profile-stat strong { color: white; font-size: .95rem; }
.profile-account-action { display: flex; justify-content: center; }
.profile-content-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; margin-top: 1rem; }
.profile-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.profile-card-heading .section-title { text-align: left; }
.profile-favorites-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; gap: 1.25rem; margin-top: 1.35rem; }
.profile-donut { position: relative; display: flex; width: 12rem; height: 12rem; align-items: center; justify-content: center; margin-inline: auto; border-radius: 50%; background: var(--profile-pie); }
.profile-donut::before { width: 8.6rem; height: 8.6rem; border-radius: 50%; background: white; content: ''; }
.profile-donut > span { position: absolute; display: flex; align-items: center; flex-direction: column; text-align: center; }
.profile-donut strong { font-size: 1.25rem; font-weight: 950; }
.profile-donut small { margin-top: .2rem; color: var(--muted); font-size: .6rem; font-weight: 800; }
.profile-favorite-list { display: flex; min-width: 0; min-height: 12rem; flex-direction: column; }
.profile-favorite-swatch { width: .38rem; height: 2.25rem; flex: 0 0 auto; border-radius: 999px; background: var(--favorite-color); }
.profile-empty { color: var(--muted); font-size: .82rem; line-height: 1.6; }
.profile-achievement-grid { display: grid; gap: .55rem; margin-top: 1.35rem; }
.profile-achievement { position: relative; min-height: 7.5rem; overflow: hidden; border: 1px solid var(--trophy-border); border-radius: .9rem; background: var(--trophy-surface); padding: .75rem; text-align: center; }
.profile-achievement strong { font-size: .78rem; font-weight: 950; }
.profile-achievement small { margin-top: .1rem; color: var(--muted); font-size: .65rem; }

@media (max-width: 760px) {
    .category-subchips span { display: inline-flex; }
    .category-subchips span:nth-child(n+5) { display: none; }
    .profile-hero-top { align-items: center; flex-direction: column; }
    .profile-identity-copy { text-align: center; }
    .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .profile-content-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .profile-favorites-layout { grid-template-columns: 1fr; }
    .profile-donut { margin-inline: auto; }
}

.poll-breadcrumb-kicker { justify-content: center; flex-wrap: wrap; }
.poll-breadcrumb-link { display: inline-flex; align-items: center; gap: .35rem; color: inherit; transition: color .2s ease; }
.poll-breadcrumb-link:hover, .poll-breadcrumb-link:focus-visible { color: var(--ink); }
.poll-breadcrumb-link i { font-size: .75rem; }
.poll-hero-v2 { position: relative; justify-content: center; text-align: center; }
.poll-hero-v2 > div:first-child { display: flex; align-items: center; flex-direction: column; }
.poll-hero-v2 p { margin-inline: auto; }
.poll-hero-mark { position: absolute; right: clamp(1.4rem, 4vw, 3rem); }
@media (max-width: 760px) {
    .poll-hero-mark { position: static; }
}

/* Objective component contract */
html, body { overflow-x: clip; }
.home-shell, .page-shell { padding-top: 2.35rem; }
.category-grid, .category-grid-explore { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card { aspect-ratio: 4 / 3; min-height: 0; }
.category-card-head { display: flex; align-items: center; justify-content: center; gap: .7rem; }
.category-card-head .category-icon { background: white; }
.category-card-head strong { font-size: 1.15rem; }
.category-subchips span { background: white; color: var(--ink); }
.market-title { align-items: center; }
.market-title > span { display: inline-flex; align-items: center; gap: .48rem; }
.media-icon { display: inline-flex; flex: 0 0 auto; overflow: hidden; background: #f4f2f0; object-position: center; object-fit: cover; }
.media-icon--option { object-fit: contain; padding: .15rem; }
.media-icon--option, .media-icon--poll { border: 2px solid white; border-radius: .7rem; box-shadow: 0 0 0 1px rgba(21,21,26,.12); }
.media-icon--poll { background: #f4f2f0; }
.poll-card-image { width: 2.55rem; height: 2.55rem; }
.poll-hero-mark .poll-hero-image { width: 100%; height: 100%; border: 0; border-radius: inherit; box-shadow: none; object-fit: cover; }
.cms-poll-clean-image { width: 2.6rem; height: 2.6rem; }
.cms-option-clean-image { width: 2.55rem; height: 2.55rem; }
.search-box-v2 { margin-inline: auto; }
.search-box-v2 input { text-align: center; }
.search-leading-icon, .desktop-nav-links .fa-magnifying-glass { -webkit-text-stroke: .35px currentColor; }
.search-poll-grid:empty::after { grid-column: 1 / -1; content: 'No poll titles matched yet.'; color: var(--muted); font-size: .85rem; text-align: center; }
.filter-bar, .period-tabs, .trend-window-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .35rem; margin-top: 1.5rem; border-bottom: 0; padding: .3rem; }
.filter-pill { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; background: white; padding: .62rem .86rem; color: var(--muted); font-size: .74rem; font-weight: 950; }
.filter-pill:hover, .filter-pill.active { border-color: var(--ink); background: var(--ink); color: white; box-shadow: 0 3px 0 rgba(21,21,26,.18); }
.filter-pill i { color: var(--brand-accent); }
.filter-pill.active i { color: white; }
.period-goat { border-color: #e4c365; background: #fff8dc; color: #242126; }
.period-goat i { color: #242126 !important; }
.period-goat.active { border-color: #c18b11; background: #c18b11; color: white; }
.period-goat.active i { color: white !important; }
.activity-rail { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.activity-rail-heading { font-size: .68rem; }
.activity-rail-heading span:last-child { font-size: .68rem; letter-spacing: .12em; color: var(--hot); }
.leaderboard-head { grid-template-columns: 2.25rem 2.5rem minmax(0,1fr) 7rem 8rem; }
.leaderboard-row { grid-template-columns: 2.25rem 2.5rem minmax(0,1fr) 7rem 8rem; }
.leaderboard-power { display: inline-flex; align-items: center; justify-content: flex-end; gap: .3rem; color: var(--hot); font-size: .78rem; font-weight: 950; font-variant-numeric: tabular-nums; }
.leaderboard-power i { color: #c18b11; }
.boost-row { grid-template-columns: 1fr; padding-left: 6.35rem; }
.boost-row-actions { grid-template-columns: repeat(5, minmax(0,1fr)); }
.boost-row-actions button { display: inline-flex; align-items: center; justify-content: center; gap: .28rem; }
.boost-row-actions button i { color: #c18b11; }
.boost-row-actions .boost-max { grid-column: auto; background: var(--yellow); border-color: #e4b43f; color: #674b00; box-shadow: 0 3px 0 #b9820a; }
.hero-title { letter-spacing: -.055em; }
.page-title { letter-spacing: -.055em; }
.section-title { letter-spacing: -.045em; }
@media (max-width: 1050px) {
    .category-grid, .category-grid-explore { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .home-shell, .page-shell { padding-top: 2rem; }
    .activity-rail { width: 100vw; }
    .leaderboard-head { display: none; }
    .leaderboard-row { grid-template-columns: 2.1rem 2.5rem minmax(0,1fr) auto; }
    .leaderboard-power { grid-column: 4; grid-row: 1; }
    .leaderboard-action { grid-column: 3; grid-row: 2; }
    .boost-row { padding: .85rem .75rem .95rem; }
    .boost-row-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .boost-row-actions .boost-max { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-title u::after { animation: none; transform: scaleX(1); }
}

/* Final visual contract */
.desktop-nav-links a i { color: var(--brand-accent); }
.home-hero h1, .page-title, .section-title { padding-inline: clamp(.25rem, 1.8vw, 1.25rem); }
.home-hero h1 { max-width: 58rem; margin-inline: auto; }
.hero-title { font-size: clamp(3.4rem, 8vw, 6.25rem); }
.hero-title .hero-line { color: var(--ink); white-space: nowrap; }
.section-heading { text-align: center; }
.section-heading > div { align-items: center; }
.section-heading .text-link { margin-top: .7rem; }
.btn-dark.hero-cta { box-shadow: 0 4px 0 #050507, 0 10px 18px rgba(21,21,26,.1); }
.btn-dark.hero-cta:hover { box-shadow: 0 5px 0 #050507, 0 12px 20px rgba(21,21,26,.14); }
.activity-rail-heading, .activity-rail-heading span:last-child { font-size: .68rem; }
.activity-rail-heading span:last-child { color: var(--hot); letter-spacing: .12em; }

.profile-stat small i { margin-right: .25rem; color: var(--profile-accent); }
.profile-stat-flag { width: 1.25rem; height: .82rem; margin-right: .25rem; border-radius: .15rem; object-fit: cover; vertical-align: -.08rem; }
.profile-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.profile-detail-card { min-width: 0; }
.profile-chart-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: .35rem; margin: 1.55rem 0 1.9rem; }
.profile-chart-filter { padding: .48rem .7rem; font-size: .68rem; }
.profile-donut { background: var(--profile-pie, #eeeae7); }
.profile-favorite-row { display: flex; flex: 1 1 0; align-items: center; gap: .6rem; border-bottom: 1px solid #f0eeec; padding: .42rem 0; }
.profile-favorite-row:last-child { border-bottom: 0; }
.profile-favorite-row > span:last-child { min-width: 0; }
.profile-favorite-row strong, .profile-favorite-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-favorite-row strong { font-size: .75rem; }
.profile-favorite-row small { margin-top: .12rem; color: var(--muted); font-size: .64rem; }
.profile-achievement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.profile-achievement { min-height: 7.5rem; padding: .9rem .65rem; }
.profile-achievement strong { font-size: .72rem; }
.profile-achievement small { line-height: 1.35; }
.trophies-page .page-intro { max-width: 42rem; margin-inline: auto; }
.trophy-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.trophy-grid-all { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.trophy-card { position: relative; display: flex; min-height: 11rem; align-items: center; overflow: hidden; flex-direction: column; justify-content: center; gap: .5rem; border: 1px solid var(--trophy-border); border-radius: 1.15rem; background: var(--trophy-surface); padding: 1rem .75rem; text-align: center; }
.trophy-card strong { font-size: .78rem; font-weight: 950; }
.trophy-card p { color: var(--muted); font-size: .68rem; line-height: 1.4; }
.trophy-card small { color: #aaa8b0; font-size: .62rem; font-weight: 800; }

.power-earn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.power-earn-card, .power-pack-card { border: 1px solid var(--line); border-radius: 1.2rem; background: white; padding: 1.25rem; }
.power-earn-card { display: flex; min-height: 14rem; flex-direction: column; gap: .9rem; }
.power-earn-card > div { flex: 1; }
.power-earn-card h2 { margin-top: .45rem; font-size: 1.28rem; font-weight: 950; letter-spacing: -.055em; }
.power-earn-card p { margin-top: .45rem; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.power-earn-card .btn { align-self: flex-start; }
.power-card-icon { width: 2.65rem; height: 2.65rem; border-radius: .85rem; }
.power-pricing { margin-top: 4.2rem; }
.power-pack-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; }
.power-pack-card { display: flex; align-items: center; flex-direction: column; text-align: center; }
.power-pack-card .power-pack-amount { margin-top: 0; font-size: 1.65rem; font-weight: 950; }
.power-pack-card small { margin-top: .15rem; color: var(--muted); font-size: .7rem; font-weight: 800; }
.power-pack-card .btn { width: 100%; margin-top: 1rem; font-size: .7rem; }

@media (max-width: 1050px) {
    .trophy-grid-all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .power-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .profile-content-grid, .power-earn-grid { grid-template-columns: 1fr; }
    .profile-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trophy-grid-all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .leaderboard-power { justify-self: end; }
}
@media (max-width: 520px) {
    .power-pack-grid { grid-template-columns: 1fr 1fr; }
    .trophy-grid-all { gap: .65rem; }
    .trophy-card { min-height: 10rem; padding-inline: .5rem; }
}
@media (max-width: 760px) {
    .hero-title { padding-inline: 0; font-size: clamp(2.55rem, 11vw, 4.8rem); }
    .hero-title .hero-line { white-space: nowrap; }
}

/* Shared refinement pass */
.home-shell .section-heading { margin-top: 3.25rem; }
.home-shell .categories-heading { margin-top: 4rem; }
.home-shell .market-grid, .home-shell .category-grid { margin-top: 1.1rem; }
.activity-rail { margin-top: 2.75rem; }
.activity-window { padding-block: .58rem; }
.trend-window-bar { width: auto; margin-inline: auto; border-radius: 0; background: transparent; padding: .3rem; }

.power-coin { display: inline-flex; width: 1.15rem; height: 1.15rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: #674b00; font-size: .56rem; line-height: 1; box-shadow: inset 0 -1px 0 rgba(103,75,0,.2); }
.power-coin i { color: inherit !important; font-size: inherit; }
.leaderboard-power { justify-self: end; }
.leaderboard-power > span:last-child { min-width: 3.8rem; text-align: right; }
.leaderboard-head span:nth-child(4), .leaderboard-head span:nth-child(5) { text-align: right; }
.boost-row { display: flex; align-items: center; flex-direction: column; gap: .5rem; overflow: hidden; padding: .72rem 1rem .95rem; }
.boost-row[data-boost-closing] { pointer-events: none; }
.boost-row-instruction { margin: 0; color: #9c99a0; font-size: .64rem; font-weight: 750; text-align: center; }
.boost-row-instruction strong { color: #6f6b74; font-weight: 900; }
.boost-row-actions button.is-pending { cursor: wait; opacity: .52; transform: none; }
.boost-row-actions { width: min(100%, 58rem); margin-inline: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: stretch; }
.boost-row-actions button { min-width: 0; }
.boost-row-actions button .power-coin { margin-right: .05rem; }

.hero-title u::after { bottom: .06em; height: .11em; background: var(--underline-color, var(--brand-accent)); clip-path: polygon(0 50%, 4% 22%, 96% 22%, 100% 50%, 96% 78%, 4% 78%); transform: scaleX(0); transform-origin: left center; }
.hero-title u.underline-active::after { animation: hero-underline-draw 2.25s cubic-bezier(.2,.75,.25,1) forwards; }
@keyframes hero-underline-draw {
    0% { transform: scaleX(0); }
    24% { transform: scaleX(1); }
    100% { transform: scaleX(1); }
}

.search-page { max-width: 1080px; text-align: center; }
.search-box-v2 { width: min(100%, 760px); max-width: none; margin: 1.25rem auto 0; gap: .7rem; border: 1px solid #ebe7e2; border-radius: 1.25rem; background: #fff; padding: .45rem .65rem .45rem .5rem; box-shadow: 0 4px 12px rgba(21,21,26,.035); }
.search-leading-icon { display: inline-flex; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; align-items: center; justify-content: center; margin: 0 0 0 .25rem; border-radius: .85rem; background: #f4f1ee; color: var(--ink); font-size: .95rem; }
.search-box-v2 input { padding: .85rem .25rem; color: var(--ink); font-size: 1rem; text-align: left; }
.search-box-v2 input { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.search-box-v2 input::placeholder { color: #aaa5a0; }
.search-shortcut { display: inline-flex; width: 1.8rem; height: 1.8rem; align-items: center; justify-content: center; border: 1px solid #ddd6cf; border-radius: .55rem; color: #9b9690; font-size: .8rem; }
.search-live { margin-inline: auto; }
.search-empty-state { display: flex; align-items: center; flex-direction: column; margin: 4.3rem auto 1rem; }
.search-empty-icon { display: inline-flex; width: 4.2rem; height: 4.2rem; align-items: center; justify-content: center; border-radius: 1.3rem; background: color-mix(in srgb, var(--brand-accent) 12%, white); color: var(--brand-accent); font-size: 1.4rem; }
.search-empty-state h1 { margin-top: 1.1rem; font-size: 1.55rem; font-weight: 950; letter-spacing: -.045em; }
.search-empty-state p { margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.search-results-heading { margin: 3.2rem auto 0; text-align: center; }
.search-results-heading .section-kicker { justify-content: center; }
.search-results-heading .section-title { margin-top: .6rem; }
.search-poll-grid { margin-top: 1.25rem; }

.power-page { text-align: center; }
.power-earn-grid { justify-items: center; }
.power-earn-card { width: 100%; align-items: center; justify-content: flex-start; text-align: center; }
.power-earn-card > div { flex: 1; }
.power-earn-card h2 { margin-top: .8rem; font-size: 1.15rem; letter-spacing: -.035em; }
.power-earn-card p { max-width: 16rem; margin-inline: auto; }
.power-earn-card .btn { align-self: center; }
.power-pricing { margin-top: 0; margin-bottom: 2.4rem; }
.power-section-heading { margin-top: 0; margin-bottom: 1rem; }
.power-ledger .power-section-heading { margin-top: 3rem; }
.power-ledger-card { margin-top: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: white; padding: 1rem; text-align: left; box-shadow: 0 8px 25px rgba(21,21,26,.035); }
.power-pack-grid { margin-top: 0; }
.power-pack-card { position: relative; min-height: 12rem; justify-content: center; overflow: hidden; background: linear-gradient(145deg, #ffffff, #fbfaf9); }
.power-pack-card::before { position: absolute; top: 0; right: 0; left: 0; height: .28rem; background: #f94166; content: ''; }
.power-pack-card:hover { border-color: color-mix(in srgb, var(--brand-accent) 28%, var(--line)); background: linear-gradient(145deg, #ffffff, color-mix(in srgb, var(--brand-accent) 4%, white)); }
.power-pack-discount { display: inline-flex; min-height: 1.2rem; align-items: center; align-self: center; justify-content: center; margin-bottom: .32rem; padding: .18rem .52rem .16rem; border: 1px solid color-mix(in srgb, var(--hot) 32%, white); border-radius: 999px; background: color-mix(in srgb, var(--hot) 8%, white); color: var(--hot); font-size: .62rem; font-weight: 750; letter-spacing: .035em; line-height: 1; text-transform: uppercase; }
.power-pack-discount--cheapest { border-color: #e2e4e8; background: #f3f4f6; color: #646872; }
.power-pack-icons { display: inline-flex; min-height: 2.8rem; align-items: center; justify-content: center; gap: .18rem; }
.power-pack-coin { display: inline-flex; width: 1.55rem; height: 1.55rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); color: #674b00; font-size: .7rem; box-shadow: inset 0 -2px 0 rgba(103,75,0,.2); }
.power-pack-label { margin-top: .15rem; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.power-pack-card-takeover { border-color: #e4c365; background: linear-gradient(145deg, #fff9df, #fff0c5); }
.power-pack-card-takeover::before { background: #f6c644; }
.power-pack-card-takeover .power-pack-coin { background: #f6c644; }
.power-pricing .power-pack-card .power-pack-button { border-color: #df3554; background: #f94166; color: white; box-shadow: 0 3px 0 #bd2944; }
.power-pricing .power-pack-card .power-pack-button:hover:not(:disabled) { background: #ff5576; color: white; box-shadow: 0 4px 0 #bd2944; }
.power-pricing .power-pack-card .power-pack-button { display: block; }
.power-pricing .power-pack-card .power-pack-button { font-size: .85rem; font-weight: 950; line-height: 1.15; }
.boost-row-actions .boost-max .power-coin { background: #fff1ae; color: #674b00; }

@media (max-width: 760px) {
    .boost-row { padding: .72rem .75rem .95rem; }
    .boost-row-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .boost-row-actions .boost-max { grid-column: 1 / -1; }
    .power-earn-grid { gap: .75rem; }
    .search-shortcut { display: none; }
    .site-nav { gap: .35rem; padding-inline: .7rem; }
    .brand-lockup { min-width: 0; gap: .4rem; font-size: 1rem; }
    .brand-lockup span { overflow: hidden; text-overflow: ellipsis; }
    .nav-actions { gap: .3rem; }
    .power-chip { gap: .25rem; padding: .3rem .42rem .3rem .3rem; font-size: .68rem; }
    .power-chip .power-mark { width: 1.4rem; height: 1.4rem; font-size: .68rem; }
    .power-chip .power-number { max-width: 3.4rem; overflow: hidden; text-overflow: ellipsis; }
    .avatar { display: none; }
    .mobile-menu-button { width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; padding: 0; border-radius: 35%; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-title u::after { animation: none !important; transform: scaleX(1); }
    .activity-track { animation: none; }
}

/* Follow-up interaction and social layout */
.power-coin { vertical-align: middle; }
.market-leader-power { display: inline-flex; align-items: center; justify-content: flex-end; gap: .22rem; }
.market-leader-power .power-coin { width: .95rem; height: .95rem; font-size: .47rem; }
.market-card-foot > span:first-child { display: inline-flex; align-items: center; gap: .25rem; }
.market-card-foot .power-coin { width: .95rem; height: .95rem; font-size: .47rem; }
.market-power-summary { color: #9b9690; font-weight: 700; }
.market-power-summary strong { color: var(--ink); font-weight: 950; }
.market-power-summary > span:last-child { color: #9b9690; font-weight: 700; }
.ledger-amount .power-coin, .data-table td > .power-coin { width: .95rem; height: .95rem; font-size: .45rem; }
.power-chip { flex-direction: row; }
.power-chip .power-mark { order: 2; }

.category-card { position: relative; }
.category-subchips i { color: #4d4a52; }
.category-cta { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; margin-top: auto; color: var(--ink); font-size: .68rem; font-weight: 950; }
.category-cta i { color: var(--category-accent); transition: transform .2s ease; }
.category-card:hover .category-cta i { transform: translateX(3px); }

.boost-row-actions button:hover, .boost-row-actions button:focus-visible { border-color: #e4b43f; background: #fff5d1; color: #674b00; }
.boost-row-actions .boost-max:hover, .boost-row-actions .boost-max:focus-visible { border-color: #b9820a; background: #f5c84f; color: #4e3900; }
.boost-row-actions button .power-coin { order: 2; margin-right: 0; margin-left: .08rem; }

.boost-signin-card { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .45rem; width: min(100%, 52rem); margin: .75rem auto .15rem; border: 1px solid color-mix(in srgb, var(--poll-accent) 42%, var(--line)); border-radius: 1.15rem; background: linear-gradient(145deg, color-mix(in srgb, var(--poll-accent) 13%, white), color-mix(in srgb, var(--poll-accent) 5%, white)); padding: .85rem 1.2rem .8rem; color: var(--ink); text-align: center; box-shadow: 0 7px 18px color-mix(in srgb, var(--poll-accent) 10%, transparent); }
.boost-signin-card:hover { border-color: var(--poll-accent); background: linear-gradient(145deg, color-mix(in srgb, var(--poll-accent) 18%, white), color-mix(in srgb, var(--poll-accent) 7%, white)); box-shadow: 0 14px 30px color-mix(in srgb, var(--poll-accent) 18%, transparent); transform: translateY(-2px); }
.boost-signin-icon { display: inline-flex; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: .85rem; background: var(--poll-accent); color: white; font-size: 1rem; box-shadow: 0 3px 0 color-mix(in srgb, var(--poll-accent) 72%, #15151a), 0 6px 12px color-mix(in srgb, var(--poll-accent) 16%, transparent); }
.boost-signin-card span:nth-child(2) { min-width: 0; max-width: 42rem; }
.boost-signin-card strong, .boost-signin-card small { display: block; }
.boost-signin-card strong { font-size: clamp(1.05rem, 2.3vw, 1.35rem); font-weight: 950; letter-spacing: -.035em; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .16em; }
.boost-signin-card small { margin-top: .35rem; color: var(--muted); font-size: .76rem; line-height: 1.5; }
.poll-toolbar { margin-top: 1.5rem; }
.poll-toolbar-groups { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.4rem; }
.poll-social-tabs { border-left: 1px solid var(--line); padding-left: 1.4rem; }
.tab-count { display: inline-flex; min-width: 1.35rem; height: 1.35rem; align-items: center; justify-content: center; margin-left: .18rem; border-radius: 50%; background: #f1efed; padding-inline: .28rem; color: var(--muted); font-size: .6rem; line-height: 1; }
.filter-pill.active .tab-count { background: rgba(255,255,255,.18); color: white; }
.social-heading { justify-content: center; text-align: center; }
.social-heading .section-title { text-align: center; }
.social-heading .section-kicker { justify-content: center; }
.social-load-more { display: flex; width: fit-content; align-items: center; justify-content: center; gap: .4rem; margin: 1rem auto 0; border: 1px solid var(--line); border-radius: .75rem; background: white; padding: .65rem .9rem; color: var(--ink); font-size: .7rem; font-weight: 900; }
.social-load-more:hover { border-color: var(--social-accent); color: var(--social-accent); }

.profile-card-heading { justify-content: center; text-align: center; }
.profile-card-heading > div { display: flex; align-items: center; flex-direction: column; }
.profile-card-heading .section-title { text-align: center; }
.profile-card-link { display: flex; align-items: center; justify-content: center; gap: .35rem; margin-top: 1.05rem; color: var(--ink); font-size: .7rem; font-weight: 900; }
.profile-card-link:hover { color: var(--profile-accent); }
.profile-favorite-row a { min-width: 0; color: var(--ink); }
.profile-favorite-row a:hover { color: var(--profile-accent); }
.profile-favorite-row .power-coin { width: .9rem; height: .9rem; font-size: .42rem; }
.profile-donut strong .power-coin { width: .95rem; height: .95rem; font-size: .43rem; }
.profile-stat strong { display: flex; align-items: center; justify-content: center; gap: .25rem; }
.profile-stat strong .profile-stat-flag { width: 1.25rem; height: .82rem; margin: 0; }
.profile-stat small .profile-stat-flag { display: none; }

.footer-meta { column-gap: .75rem; row-gap: .25rem; }


@media (max-width: 760px) {
    .poll-toolbar-groups { gap: .7rem; }
    .poll-social-tabs { border-top: 1px solid var(--line); border-left: 0; padding-top: .7rem; padding-left: 0; }
    .boost-signin-card { align-items: center; }
}

/* Keep the profile hero tied to the active navbar accent without decorative shapes. */
.profile-hero-card::after { display: none; }

/* Badges and poll conversation */
.profile-identity-copy h1 { display: flex; align-items: center; justify-content: flex-start; gap: .55rem; }
.user-badge { position: relative; display: inline-flex; width: 1.65rem; height: 1.65rem; flex: 0 0 auto; align-items: center; justify-content: center; color: white; font-size: .62rem; vertical-align: middle; }
.user-badge-mark { width: 100%; height: 100%; }
.user-badge--system { --trophy-accent: #8b7cf6; }
.user-badge--bronze { --trophy-accent: #b56b3a; }
.user-badge--silver { --trophy-accent: #73869b; }
.user-badge--gold { --trophy-accent: #c48b19; }
.user-badge--platinum { --trophy-accent: #138aa8; }
.user-badge-tooltip { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + .6rem); display: none; width: 13rem; border-radius: .75rem; background: var(--ink); padding: .65rem .75rem; color: white; text-align: left; box-shadow: 0 12px 30px rgba(21,21,26,.2); transform: translateX(-50%); }
.user-badge-tooltip::after { position: absolute; left: 50%; top: 100%; border: .35rem solid transparent; border-top-color: var(--ink); content: ''; transform: translateX(-50%); }
.user-badge-tooltip strong, .user-badge-tooltip small { display: block; }
.user-badge-tooltip-head { display: flex; align-items: flex-start; flex-direction: column; gap: .35rem; }
.user-badge-tooltip strong { font-size: .72rem; font-weight: 950; }
.user-badge-tooltip small { margin-top: .1rem; color: rgba(255,255,255,.7); font-size: .63rem; font-weight: 650; line-height: 1.4; }
.user-badge:hover .user-badge-tooltip, .user-badge:focus .user-badge-tooltip, .user-badge:focus-within .user-badge-tooltip { display: block; }
.profile-hero-card .user-badge { color: white; }
.profile-hero-card .user-badge-tooltip { top: calc(100% + .6rem); bottom: auto; }
.profile-hero-card .user-badge-tooltip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ink); }
.section-kicker .user-badge { width: 1.4rem; height: 1.4rem; font-size: .65rem; }
.profile-achievement, .trophy-card { isolation: isolate; }
.profile-achievement.is-selected-badge, .trophy-card.is-selected-badge { border-color: var(--trophy-accent); box-shadow: inset 0 0 0 1px var(--trophy-accent); }
.trophy-card-content { position: relative; z-index: 1; display: flex; width: 100%; align-items: center; flex-direction: column; gap: .35rem; }
.trophy-mark { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; }
.trophy-mark--large { width: 4rem; height: 4rem; }
.trophy-mark > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trophy-mark-outer { fill: var(--trophy-accent); stroke: color-mix(in srgb, var(--trophy-accent) 68%, var(--ink)); stroke-width: 2; }
.trophy-mark-inner { fill: color-mix(in srgb, white 16%, var(--trophy-accent)); opacity: .9; }
.trophy-mark-glyph { position: relative; z-index: 1; display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: white; font-size: 1.2rem; line-height: 1; filter: drop-shadow(0 .1rem .08rem rgba(21,21,26,.2)); transform: translateY(2px); }
.trophy-mark--small .trophy-mark-glyph { font-size: inherit; }
.trophy-mark-glyph i { line-height: 1; }
.trophy-tier-label { color: var(--trophy-accent); font-size: .58rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.trophy-card strong { font-size: .82rem; font-weight: 950; }
.trophy-description { max-width: 16rem; color: var(--muted); font-size: .68rem; line-height: 1.4; }
.trophy-awarded-date { color: #aaa8b0; font-size: .62rem; font-weight: 800; }
.trophy-card--system, .profile-achievement.trophy-card--system { --trophy-accent: #8b7cf6; --trophy-surface: #f1efff; --trophy-border: #d9d3ff; }
.trophy-card--bronze, .profile-achievement.trophy-card--bronze { --trophy-accent: #b56b3a; --trophy-surface: #fff0e5; --trophy-border: #f0c7aa; }
.trophy-card--silver, .profile-achievement.trophy-card--silver { --trophy-accent: #73869b; --trophy-surface: #f0f4f8; --trophy-border: #cbd6e1; }
.trophy-card--gold, .profile-achievement.trophy-card--gold { --trophy-accent: #c48b19; --trophy-surface: #fff6d7; --trophy-border: #f1d58d; }
.trophy-card--platinum, .profile-achievement.trophy-card--platinum { --trophy-accent: #138aa8; --trophy-surface: #e5faff; --trophy-border: #a8e1ee; }
.badge-choice-form { position: absolute; inset: 0; z-index: 3; opacity: 0; transition: opacity .18s ease; }
.badge-choice-form button { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border: 0; border-radius: inherit; background: color-mix(in srgb, var(--trophy-accent) 82%, var(--ink)); color: white; cursor: pointer; font-size: .78rem; font-weight: 950; letter-spacing: .18em; }
.badge-choice-form button span { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 5rem; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .55rem .85rem; }
.badge-choice-form.is-unpin button span { transform: none; }
.profile-achievement:hover .badge-choice-form, .profile-achievement:focus-within .badge-choice-form, .trophy-card:hover .badge-choice-form, .trophy-card:focus-within .badge-choice-form { opacity: 1; }

.social-shell { margin-top: 4.5rem; border-top: 1px solid var(--line); padding-top: 3rem; scroll-margin-top: 6rem; }
.social-heading { display: flex; align-items: center; justify-content: center; gap: 1.5rem; text-align: center; }
.social-heading > div { display: flex; align-items: center; flex-direction: column; }
.social-heading .section-title { padding: 0; text-align: center; }
.comments-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.comments-toolbar > p { color: var(--muted); font-size: .78rem; }
.comment-sort { display: flex; gap: .3rem; }
.comment-sort .filter-pill { padding: .45rem .65rem; font-size: .66rem; }
.social-composer { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .65rem; margin-top: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: white; padding: .45rem .45rem .7rem; box-shadow: 0 3px 12px rgba(21,21,26,.025); }
.social-composer input, .social-composer textarea, .reply-composer input, .reply-composer textarea { width: 100%; min-width: 0; height: 2.5rem; resize: none; border: 0; outline: 0; background: transparent; padding: .55rem .65rem; color: var(--ink); font: inherit; font-size: .82rem; line-height: 1.25; }
.social-composer input:focus, .social-composer textarea:focus, .reply-composer input:focus, .reply-composer textarea:focus { box-shadow: none; }
.social-composer-avatar { margin-left: .4rem; }
.social-composer input { padding-left: .25rem; transform: translateY(1px); }
.social-form-status { min-height: 0; margin: .75rem 0 -.45rem; color: var(--muted); font-size: .7rem; font-weight: 750; text-align: center; }
.social-form-status:not(:empty) { min-height: 1.1rem; color: #a51f3b; }
.social-composer .btn { min-width: 5.5rem; min-height: 2.5rem; align-self: center; margin: 0; border: 0; padding: .68rem 1rem; cursor: pointer; font-size: .72rem; }
.social-button-content { display: inline-flex; align-items: center; gap: .45rem; transform: translateY(2px); }
.social-sign-in { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; border: 1px solid var(--line); border-radius: 1rem; background: white; padding: 1rem; }
.social-sign-in > i { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: .75rem; background: color-mix(in srgb, var(--social-accent) 12%, white); color: var(--social-accent); }
.social-sign-in strong, .social-sign-in small { display: block; }
.social-sign-in strong { font-size: .8rem; font-weight: 950; }
.social-sign-in small { margin-top: .15rem; color: var(--muted); font-size: .68rem; }
.social-restriction-card { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; border: 1px solid #ffc5ce; border-radius: 1rem; background: #fff4f5; padding: .85rem 1rem; color: #9b2a42; }
.social-restriction-icon { display: inline-flex; width: 2.35rem; height: 2.35rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: .7rem; background: #ffdfe5; color: #d33855; }
.social-restriction-card strong, .social-restriction-card small { display: block; }
.social-restriction-card strong { font-size: .76rem; font-weight: 950; }
.social-restriction-card small { margin-top: .18rem; color: #a85b6b; font-size: .68rem; line-height: 1.4; }
.social-restriction-card a { color: inherit; font-weight: 900; text-decoration: underline; text-underline-offset: .12em; }
.comment-list, .community-messages { display: grid; gap: .65rem; margin-top: 1rem; }
.social-comment, .community-message { position: relative; border: 1px solid var(--line); border-radius: 1rem; background: white; padding: .85rem; }
.social-comment:target { border-color: var(--social-accent); }
.social-identity { display: flex; align-items: center; gap: .55rem; }
.social-avatar { display: inline-flex; width: 2.2rem; height: 2.2rem; border-radius: .7rem; }
.social-author { display: grid; min-width: 0; width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.social-author > span { display: flex; min-width: 0; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 950; line-height: 1.1; }
.social-author > span a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-author > span a:hover { color: var(--social-accent); }
.social-author time { display: inline-flex; align-items: center; justify-content: flex-end; gap: .3rem; margin-top: 0; color: #aaa8b0; font-size: .62rem; font-weight: 750; line-height: 1; white-space: nowrap; }
.social-contribution { display: inline-flex; align-items: center; gap: .18rem; color: var(--ink); font-weight: 850; }
.social-contribution .power-coin { width: .9rem; height: .9rem; font-size: .42rem; }
.social-time-separator { color: #c8c3be; font-weight: 850; }
.social-author .user-badge { width: 1.5rem; height: 1.5rem; border-radius: .45rem; font-size: .58rem; }
.social-author .user-badge .trophy-mark-glyph { transform: translateY(1px) scale(.92); }
.social-body { margin: .5rem 0 0 2.75rem; color: #45444b; font-size: .88rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-actions { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: .55rem; margin: .7rem 0 0 2.75rem; transition: padding-bottom .2s ease; }
.comment-actions:has(.reply-composer[open]) { padding-bottom: 4.05rem; }
.comment-actions > form { grid-column: 1; grid-row: 1; }
.comment-actions > form { display: flex; align-items: center; margin: 0; }
.comment-actions .heart-button, .comment-actions .reply-composer summary { display: inline-flex; min-width: 4.7rem; min-height: 2.3rem; align-items: center; justify-content: center; gap: .3rem; border: 1px solid #e8e3df; border-radius: 999px; background: #fbfaf8; padding: .5rem .8rem; color: var(--muted); font-size: .7rem; font-weight: 900; line-height: 1; cursor: pointer; }
.comment-actions .heart-button:hover, .comment-actions .reply-composer summary:hover, .comment-actions .reply-composer[open] summary, .comment-actions .comment-sign-in:hover, .comment-actions .comment-sign-in:focus-visible { border-color: var(--hot); background: #fff0f2; color: var(--hot); }
.comment-actions .heart-button.is-hearted { border-color: var(--hot); background: #fff0f2; color: var(--hot); }
.comment-actions .heart-button.is-hearted:hover { border-color: var(--hot); background: color-mix(in srgb, var(--hot) 12%, white); color: var(--hot); }
.heart-count, .comment-sign-in { display: inline-flex; min-width: 4.7rem; min-height: 2.3rem; align-items: center; justify-content: center; gap: .3rem; border: 1px solid #e8e3df; border-radius: 999px; background: #fbfaf8; padding: .5rem .8rem; color: var(--muted); font-size: .7rem; font-weight: 900; line-height: 1; }
.comment-actions > .heart-count { grid-column: 1; grid-row: 1; }
.comment-sign-in { width: max-content; grid-column: 2; grid-row: 1; justify-self: start; text-decoration: none; }
.reply-composer { position: static; grid-column: 2; grid-row: 1; min-width: 0; }
.reply-composer summary { list-style: none; }
.reply-composer summary::-webkit-details-marker { display: none; }
.reply-composer summary:focus { outline: 0; }
.reply-composer summary:focus-visible { outline: 2px solid color-mix(in srgb, var(--social-accent) 55%, white); outline-offset: 2px; }
.reply-composer[open] { display: block; grid-column: 2; grid-row: 1; pointer-events: none; }
.reply-composer[open] summary { grid-column: 2; grid-row: 1; width: max-content; justify-self: start; pointer-events: auto; }
.reply-composer form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .45rem; margin-top: .55rem; border: 1px solid var(--line); border-radius: .8rem; background: white; padding: .45rem .45rem .45rem .65rem; }
.reply-composer[open] form { position: absolute; z-index: 2; top: .25rem; right: 0; left: 0; grid-column: 1 / -1; grid-row: 2; width: auto; min-width: 0; justify-self: stretch; margin-top: 0; pointer-events: auto; }
.reply-composer .btn { border: 0; padding: .55rem .7rem; font-size: .65rem; cursor: pointer; }
.reply-composer .social-button-content { transform: translateY(0); }
.social-composer .fa-paper-plane, .reply-composer .fa-paper-plane { transform: none; }
.comment-replies { display: grid; gap: .5rem; margin: .75rem 0 0 2.75rem; border-left: 2px solid color-mix(in srgb, var(--social-accent) 25%, var(--line)); padding-left: .75rem; }
.social-reply { border: 0; border-radius: .8rem; background: #fbfaf8; padding: .75rem; }
.social-empty { display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 7rem; margin-top: 1rem; border: 1px dashed #d9d5d1; border-radius: 1rem; color: var(--muted); font-size: .78rem; font-weight: 850; text-align: center; }
.social-empty i { color: var(--social-accent); }
.community-pill { display: flex; min-width: 10rem; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: .9rem; background: white; padding: .55rem .65rem; }
.community-pill:hover, .community-pill.active { border-color: var(--social-accent); box-shadow: 0 4px 12px color-mix(in srgb, var(--social-accent) 10%, transparent); }
.community-pill img { width: 2.15rem; height: 2.15rem; flex: 0 0 auto; border-radius: .65rem; object-fit: cover; }
.community-pill strong, .community-pill small { display: block; max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-pill strong { font-size: .72rem; font-weight: 950; }
.community-pill small { margin-top: .12rem; color: var(--muted); font-size: .6rem; font-weight: 850; }
.community-pill small i { color: #c18b11; }
.community-composer { max-width: 48rem; margin-inline: auto; }
.community-messages { max-width: 48rem; margin-inline: auto; }

/* Social moderation actions: larger icon-only controls beneath the timestamp on desktop, long-press menu on mobile. */
.social-moderation-actions { position: absolute; z-index: 8; top: 3.45rem; right: .7rem; display: flex; align-items: center; opacity: 0; pointer-events: none; transition: opacity .16s ease; }
.social-moderation-desktop { display: flex; align-items: center; gap: .3rem; }
.social-comment[data-social-moderation-target] .social-author, .community-message[data-social-moderation-target] .social-author { padding-right: 0; }
.social-comment[data-social-moderation-target] .social-body, .community-message[data-social-moderation-target] .social-body { padding-right: 3.6rem; }
.social-moderation-desktop button { display: inline-flex; width: 1.5rem; height: 1.5rem; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; padding: 0; color: #a09a94; font-size: .92rem; cursor: pointer; }
.social-moderation-desktop button:hover { background: transparent; color: #c12f4a; transform: translateY(-1px) scale(1.05); }
.social-moderation-desktop button:focus-visible { outline: 2px solid color-mix(in srgb, var(--social-accent) 55%, white); outline-offset: 2px; }
.social-moderation-mobile-trigger { display: none; }
.social-moderation-mobile-menu { display: none; }
@media (min-width: 761px) {
    .social-comment:hover .social-moderation-actions,
    .social-comment:focus-within .social-moderation-actions,
    .community-message:hover .social-moderation-actions,
    .community-message:focus-within .social-moderation-actions { opacity: 1; pointer-events: auto; }
}
@media (max-width: 760px), (hover: none) {
    .social-moderation-actions { top: .55rem; right: .55rem; transform: none; opacity: 1; pointer-events: auto; }
    .social-moderation-actions.is-open { opacity: 1; pointer-events: auto; }
    .social-moderation-desktop { display: none; }
    .social-moderation-mobile-trigger { display: inline-flex; width: 1.8rem; height: 1.8rem; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: #8b8580; padding: 0; cursor: pointer; font-size: .95rem; }
    .social-moderation-mobile-trigger:hover, .social-moderation-mobile-trigger:focus-visible { background: #f4f1ee; color: var(--ink); }
    .social-moderation-mobile-menu { position: absolute; top: 2.25rem; right: 0; display: none; min-width: 8rem; gap: .2rem; border: 1px solid #e5e0db; border-radius: .75rem; background: white; padding: .3rem; box-shadow: 0 8px 24px rgba(21,21,26,.14); }
    .social-moderation-actions[data-menu-placement="above"] .social-moderation-mobile-menu { top: auto; bottom: 2.25rem; }
    .social-moderation-actions.is-open .social-moderation-mobile-menu { display: grid; }
    .social-moderation-mobile-menu button { display: flex; align-items: center; gap: .45rem; border: 0; border-radius: .5rem; background: transparent; padding: .55rem .6rem; color: var(--ink); cursor: pointer; font: inherit; font-size: .7rem; font-weight: 850; text-align: left; }
    .social-moderation-mobile-menu button:hover, .social-moderation-mobile-menu button:focus-visible { background: #f7f4f1; }
    .social-moderation-mobile-menu button[data-social-delete] { color: #c12f4a; }
    .social-comment[data-social-moderation-target], .community-message[data-social-moderation-target] { touch-action: pan-y; }
}

@media (hover: none) {
    .badge-choice-form { opacity: 0; }
    .badge-choice-form button { background: transparent; color: transparent; }
}
@media (max-width: 760px) {
    .profile-identity-copy h1 { justify-content: center; }
    .social-heading { align-items: center; flex-direction: column; text-align: center; }
    .social-heading .section-title { text-align: center; }
    .comments-toolbar { align-items: flex-start; flex-direction: column; }
    .social-composer { grid-template-columns: auto minmax(0,1fr) auto; }
    .social-composer .btn { justify-self: center; }
    .social-body, .comment-actions { margin-left: 2.75rem; }
    .comment-replies { margin-left: .7rem; padding-left: .6rem; }
    .reply-composer form { grid-template-columns: minmax(0,1fr) auto; }
    .reply-composer .btn { justify-self: center; }
}

/* Social conversation polish */
.social-heading { align-items: center; justify-content: center; text-align: center; }
.social-heading > div { display: flex; align-items: center; flex-direction: column; }
.social-heading .section-kicker, .social-heading .section-title { text-align: center; }
.community-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto minmax(0, 1fr); min-width: min(100%, 19rem); min-height: 6.6rem; flex: 0 0 min(100%, 19rem); align-items: center; gap: .45rem .7rem; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 1rem; background: white; padding: .72rem .8rem; box-shadow: none; }
.community-card:hover, .community-card.active { border-color: var(--social-accent); box-shadow: none; transform: translateY(-1px); }
.community-card.is-vip { border-color: #a8e1ee; background: linear-gradient(145deg, #effcff 0%, #e5faff 100%); }
.community-card.is-vip:hover, .community-card.is-vip.active { border-color: #138aa8; }
.community-card-top { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: .5rem; color: var(--social-accent); }
.community-card.is-vip .community-card-top { color: #138aa8; }
.community-card-tier { display: inline-flex; align-items: center; border-radius: 999px; background: color-mix(in srgb, var(--social-accent) 10%, white); padding: .2rem .4rem; font-size: .52rem; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.community-card.is-vip .community-card-tier { background: #c9f1f8; color: #10708a; }
.community-card > img { width: 3.2rem; height: 3.2rem; border: 2px solid white; border-radius: .8rem; object-fit: cover; box-shadow: 0 0 0 1px rgba(21,21,26,.08); }
.community-card-copy { min-width: 0; }
.community-card-copy strong, .community-card-copy small { display: block; max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-card-copy strong { font-size: .88rem; font-weight: 950; letter-spacing: -.035em; }
.community-card-copy small { display: flex; align-items: center; gap: .65rem; margin-top: .22rem; color: var(--muted); font-size: .62rem; font-weight: 800; }
.community-card-copy small span { display: inline-flex; align-items: center; gap: .22rem; }
.community-card-copy small i { color: var(--social-accent); font-size: .58rem; }
.community-card-copy small .power-coin { width: .9rem; height: .9rem; font-size: .4rem; vertical-align: -.15rem; }
.community-card-arrow { display: inline-flex; width: 1.8rem; height: 1.8rem; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--social-accent) 10%, white); color: var(--social-accent); font-size: .65rem; }
.community-card.is-vip .community-card-arrow { background: #c9f1f8; color: #138aa8; }
.social-rarity-pill { display: inline-flex; align-items: center; border: 1px solid var(--rarity-border); border-radius: 999px; background: var(--rarity-surface); padding: .18rem .42rem; color: var(--rarity-ink); font-size: .52rem; font-weight: 950; letter-spacing: .08em; line-height: 1; text-transform: uppercase; }
.social-rarity-pill--system { --rarity-border: #d9d3ff; --rarity-surface: #f1efff; --rarity-ink: #6e5dd1; }
.social-rarity-pill--bronze { --rarity-border: #f0c7aa; --rarity-surface: #fff0e5; --rarity-ink: #9c572f; }
.social-rarity-pill--silver { --rarity-border: #cbd6e1; --rarity-surface: #f0f4f8; --rarity-ink: #5d7186; }
.social-rarity-pill--gold { --rarity-border: #f1d58d; --rarity-surface: #fff6d7; --rarity-ink: #967018; }
.social-rarity-pill--platinum { --rarity-border: #a8e1ee; --rarity-surface: #e5faff; --rarity-ink: #107b96; }
.social-author .user-badge-tooltip { box-sizing: border-box; width: min(13rem, calc(100vw - 2rem)); padding: .7rem .8rem; text-align: center; font-size: .68rem; font-weight: 400; letter-spacing: normal; line-height: 1.35; overflow-wrap: anywhere; }
.social-author .user-badge-tooltip-head { display: flex; align-items: center; flex-direction: column; justify-content: flex-start; gap: .35rem; text-align: center; }
.social-author .user-badge-tooltip strong { font-size: .74rem; line-height: 1.2; }
.social-author .user-badge-tooltip-head .social-rarity-pill { flex: 0 0 auto; }
.social-author .user-badge-tooltip small { margin-top: .1rem; font-size: .64rem; line-height: 1.4; }
.social-author .user-badge:hover .user-badge-tooltip, .social-author .user-badge:focus .user-badge-tooltip, .social-author .user-badge:focus-within .user-badge-tooltip { display: flex; flex-direction: column; }
.social-comment:has(.user-badge:hover, .user-badge:focus, .user-badge:focus-within),
.community-message:has(.user-badge:hover, .user-badge:focus, .user-badge:focus-within) {
    position: relative;
    z-index: 10;
}
.social-comment .user-badge-tooltip,
.community-message .user-badge-tooltip {
    z-index: 100;
}
@media (max-width: 760px) {
    .community-card { padding: .65rem .7rem; }
    .social-author { gap: .5rem; }
    .social-author > span { font-size: .82rem; }
    .social-author time { font-size: .57rem; }
    .social-author .user-badge { width: 1.45rem; height: 1.45rem; font-size: .56rem; }
}

/* Shared state utility: component-specific display rules must not resurrect hidden UI. */
.hidden { display: none !important; }
.leaderboard-power, .leaderboard-action { justify-self: center; }
.leaderboard-head span:nth-child(4), .leaderboard-head span:nth-child(5) { text-align: center; }
.leaderboard-head-coin { width: .9rem; height: .9rem; margin-left: .15rem; font-size: .4rem; vertical-align: -0.08em; }

/* Profile surfaces: dark hero header, solid stat tiles, and a readable pinned badge. */
.profile-hero-card { background: linear-gradient(135deg, #1b1b20 0%, #2a2a33 70%, color-mix(in srgb, var(--brand-accent) 40%, #26262d) 100%); color: white; }
.profile-hero-card .profile-bio { color: rgba(255,255,255,.75); }
.profile-stat { border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.92); }
.profile-stat small { color: #6a6871; }
.profile-stat small i { color: #3b3943; }
.profile-stat strong { color: var(--ink); }
.profile-signout { border-color: color-mix(in srgb, var(--brand-accent) 26%, var(--line)); background: color-mix(in srgb, var(--brand-accent) 8%, white); color: var(--ink); }
.profile-signout:hover { border-color: color-mix(in srgb, var(--brand-accent) 42%, var(--line)); background: color-mix(in srgb, var(--brand-accent) 14%, white); }
.profile-hero-card .user-badge { top: 2px; left: 2px; width: clamp(2.55rem, 5vw, 3.2rem); height: clamp(2.55rem, 5vw, 3.2rem); font-size: clamp(.9rem, 1.8vw, 1.15rem); }
.profile-hero-top .avatar-xl { font-size: 2.3rem; line-height: 1; }
.profile-hero-card .profile-hero-top { z-index: 5; }
.profile-hero-card .user-badge { margin-left: -.3rem; }
.profile-hero-card .user-badge .trophy-mark-glyph { transform: translateY(2px); }
.profile-hero-card .user-badge .trophy-mark-glyph i { display: inline-flex; width: 1em; align-items: center; justify-content: center; transform: translate(1px, -1px); }
.profile-hero-card .user-badge-tooltip { top: 50%; right: auto; bottom: auto; left: calc(100% + .65rem); transform: translateY(-50%); }
.profile-hero-card .user-badge-tooltip::after { top: 50%; right: 100%; bottom: auto; left: auto; border-top-color: transparent; border-right-color: var(--ink); transform: translateY(-50%); }
.profile-hero-card .user-badge-tooltip { box-sizing: border-box; max-width: calc(100vw - 2rem); text-align: center; font-size: .7rem; font-weight: 400; letter-spacing: normal; line-height: 1.35; overflow-wrap: anywhere; }
.profile-hero-card .user-badge-tooltip-head { align-items: center; }
.profile-hero-card .user-badge-tooltip strong { line-height: 1.2; }
.profile-hero-card .user-badge-tooltip small { margin-top: .1rem; line-height: 1.35; }
.profile-hero-card .user-badge:hover .user-badge-tooltip,
.profile-hero-card .user-badge:focus .user-badge-tooltip,
.profile-hero-card .user-badge:focus-within .user-badge-tooltip { display: flex; flex-direction: column; }

@media (max-width: 760px) {
    .profile-hero-card .user-badge-tooltip { top: calc(100% + .6rem); right: auto; bottom: auto; left: 50%; transform: translateX(-50%); }
    .profile-hero-card .user-badge-tooltip::after { top: auto; right: auto; bottom: 100%; left: 50%; border-right-color: transparent; border-bottom-color: var(--ink); transform: translateX(-50%); }
}

/* Final homepage, taxonomy, trending, and search polish. */
.hero-actions .btn-dark { background: #9b958f; box-shadow: 0 4px 0 var(--ink), 0 9px 16px rgba(21,21,26,.12); }
.hero-actions .btn-dark:hover { background: #aaa39e; box-shadow: 0 5px 0 var(--ink), 0 12px 20px rgba(21,21,26,.15); }
.hero-actions .hero-cta { --hero-edge: #e2dfdc; box-shadow: 0 3px 0 var(--hero-edge); }
.hero-actions .btn-dark { --hero-edge: var(--ink); }
.hero-actions .hero-cta:hover { box-shadow: 0 4px 0 var(--hero-edge); }
.category-card-head .category-icon { background: color-mix(in srgb, var(--category-accent) 12%, white); color: var(--category-accent); }
.category-subchips { width: 100%; margin-top: .15rem; border-top: 1px solid color-mix(in srgb, var(--category-accent) 18%, var(--line)); padding-top: .7rem; gap: .28rem; }
.category-subchips span { padding: .3rem .46rem; color: #4d4a52; font-size: .58rem; }
.category-subchips i { color: #4d4a52 !important; font-size: .88em; }
.search-page { max-width: 1240px; }
.search-box-v2 { width: min(100%, 960px); }
.search-live { width: 100%; max-width: none; min-height: 0; }
.search-results-heading { margin-top: .8rem; }
.search-poll-grid { width: 100%; margin-top: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) {
    .search-poll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
    .search-poll-grid { grid-template-columns: 1fr; }
}

/* Touch devices do not have a hover state, so keep the badge action usable. */
@media (hover: none), (pointer: coarse) {
    .trophy-card .badge-choice-form,
    .profile-achievement .badge-choice-form { opacity: 1; }
    .trophy-card .badge-choice-form button,
    .profile-achievement .badge-choice-form button {
        background: color-mix(in srgb, var(--trophy-accent) 82%, var(--ink));
        color: white;
    }
}

/* Mobile trophy cards keep the desktop details and move the pin action below them. */
@media (max-width: 760px) {
    .trophy-card,
    .profile-achievement {
        min-height: 13rem;
        align-items: stretch;
        justify-content: flex-start;
        gap: .55rem;
        padding: .85rem .7rem .55rem;
    }

    .trophy-card-content {
        min-height: 0;
        flex: 1 1 auto;
        padding-bottom: .35rem;
    }

    .trophy-mark--large {
        width: 3.35rem;
        height: 3.35rem;
    }

    .trophy-card strong {
        font-size: .78rem;
    }

    .trophy-description {
        max-width: 100%;
    }

    .trophy-card .badge-choice-form,
    .profile-achievement .badge-choice-form {
        position: static;
        inset: auto;
        width: auto;
        align-self: center;
        flex: 0 0 auto;
        opacity: 1;
        margin-top: 0;
    }

    .trophy-card .badge-choice-form button,
    .profile-achievement .badge-choice-form button {
        display: inline-flex;
        width: auto;
        height: auto;
        min-height: 0;
        border-radius: 0;
        background: transparent;
        color: var(--trophy-accent);
        padding: 0;
    }

    .trophy-card .badge-choice-form button span,
    .profile-achievement .badge-choice-form button span {
        min-width: 0;
        border-color: color-mix(in srgb, var(--trophy-accent) 60%, white);
        border-radius: 999px;
        background: color-mix(in srgb, var(--trophy-accent) 82%, var(--ink));
        color: white;
        padding: .42rem .7rem;
    }
}

.profile-identity-copy h1 { letter-spacing: .025em; }
.nav-actions .avatar { font-size: .78rem; line-height: 1; transform: translateY(1px); }
.profile-favorites-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}
.profile-favorites-layout.is-empty { display: flex; justify-content: center; }
.profile-favorites-layout.is-empty .profile-favorite-list { display: none; }
.profile-donut {
    align-self: center;
    width: min(16rem, 100%);
    height: auto;
    aspect-ratio: 1;
}
.profile-donut::before {
    width: 70%;
    height: 70%;
}
.profile-favorite-list { height: 18.5rem; min-height: 18.5rem; }
.profile-favorite-row { min-height: 0; }
.profile-achievements-card { display: flex; flex-direction: column; }
.profile-achievement-empty { display: flex; min-height: 0; flex: 1 1 auto; align-items: center; justify-content: center; flex-direction: column; gap: 1rem; margin-top: 1.35rem; text-align: center; }
.profile-achievement-empty .profile-card-link { margin: 0; }
@media (max-width: 760px) {
    .power-chip { height: 2.25rem; gap: .25rem; border-radius: .75rem; padding: 0 .45rem 0 .55rem; }
    .power-chip .power-mark { width: 1.45rem; height: 1.45rem; font-size: .64rem; }
    .nav-actions .avatar { display: inline-flex; width: 2.25rem; height: 2.25rem; }
    .activity-person { display: inline-flex; }
    .profile-favorites-layout { grid-template-columns: 1fr; }
}

/* Explore and search finishing pass. */
.page-intro .page-title { white-space: normal; overflow-wrap: anywhere; }
.category-card-head .category-icon {
    width: 4.2rem;
    height: 4.2rem;
    border: 1px solid rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .75);
    color: var(--category-accent);
    font-size: 1.75rem;
    box-shadow: 0 1px 3px rgba(21, 21, 26, .04);
}
.category-card-head strong { font-size: 1.3rem; }
.category-subchips {
    border-top-color: #f1efed;
    gap: .4rem;
}
.category-subchips span {
    padding: .42rem .65rem;
    font-size: .66rem;
}
.search-results-heading { margin-top: 1.25rem; }
.search-results-heading .section-title {
    color: #4b474d;
    font-size: 1.35rem;
    font-weight: 900;
}
.explore-category-filter-bar .filter-pill i {
    color: var(--filter-accent, var(--hot));
}
.explore-category-filter-bar .filter-pill.active i,
.explore-category-filter-bar .filter-pill:hover i {
    color: var(--filter-accent, var(--hot));
}
.explore-subcategory-filter-bar {
    margin-top: 1rem;
    border-top: 1px solid #e5e1de;
    padding-top: .85rem;
}
.explore-subcategory-filter-bar .filter-pill {
    padding: .42rem .65rem;
    font-size: .64rem;
}
.explore-subcategory-filter-bar .filter-pill i,
.explore-subcategory-filter-bar .filter-pill.active i,
.explore-subcategory-filter-bar .filter-pill:hover i {
    color: #211f24;
}
.explore-subcategory-filter-bar .filter-pill.active,
.explore-subcategory-filter-bar .filter-pill:hover {
    border-color: var(--ink);
    background: white;
    color: var(--ink);
    box-shadow: 0 3px 0 rgba(21,21,26,.15);
}
@media (max-width: 760px) {
    .page-intro .page-title { font-size: clamp(2.15rem, 10.7vw, 5.2rem); }
    .category-card { aspect-ratio: auto; min-height: 14rem; }
}
.cms-brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--ink) !important;
    font-size: .95rem !important;
    font-weight: 950 !important;
    letter-spacing: -.035em;
}
.cms-brand small {
    display: block;
    margin-top: .12rem;
    color: #a19ea4;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.cms-brand-mark {
    display: inline-flex;
    width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    border-radius: .72rem;
    background: var(--ink);
    color: var(--yellow);
}
.cms-nav-list {
    display: grid;
    gap: .2rem;
}
.cms-nav-link,
.cms-site-link {
    display: flex !important;
    align-items: center;
    gap: .7rem;
    border: 1px solid transparent;
    border-radius: .7rem !important;
    padding: .65rem .7rem !important;
    color: #77737b !important;
    font-size: .76rem !important;
    font-weight: 850 !important;
}
.cms-nav-link span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-nav-count { display: inline-flex; min-width: 1.2rem; height: 1.2rem; align-items: center; justify-content: center; margin-left: auto; border-radius: 999px; background: #fff0f2; color: #c12f4a; font-size: .58rem; font-style: normal; font-weight: 950; }
.cms-nav-link i,
.cms-site-link i {
    width: 1.1rem;
    color: #a9a5aa;
    text-align: center;
}
.cms-nav-link:hover,
.cms-site-link:hover {
    background: #f2f0ed !important;
    color: var(--ink) !important;
}
.cms-nav-link.is-active {
    border-color: #e5e1dd;
    background: white !important;
    color: var(--ink) !important;
    box-shadow: 0 3px 12px rgba(21,21,26,.04);
}
.cms-nav-link.is-active i { color: var(--hot); }
.cms-site-link {
    margin-top: auto;
    color: #97939a !important;
}
.cms-main { min-width: 0; }
/* Keep the live activity avatar and entity image on one shared size token. */
.activity-person,
.activity-option-image {
    width: 1.8rem;
    height: 1.8rem;
}
.activity-person {
    font-size: .7rem;
    line-height: 1;
    transform: translateY(1px);
}
.activity-item > strong,
.activity-item > span:not(.activity-person),
.activity-item > b,
.activity-item > em {
    transform: translateY(1px);
}
.activity-item > strong + span,
.activity-item > b + span {
    margin-left: -.18rem;
}
.activity-item em .activity-power {
    width: .95rem;
    height: .95rem;
    font-size: .43rem;
}

/* The profile hero uses the same avatar treatment as the navbar, only at hero scale. */
.profile-hero-top .avatar.avatar-xl {
    display: inline-flex;
    width: clamp(5rem, 10vw, 5.5rem);
    height: clamp(5rem, 10vw, 5.5rem);
    flex: 0 0 auto;
    border: 4px solid white;
    border-radius: 35%;
    background: var(--avatar-color, var(--hot));
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
    color: white;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.04em;
}

/* Boostable leaderboard rows open their action panel anywhere on the row. */
.leaderboard-row:has([data-boost-toggle]) {
    cursor: pointer;
}

/* Component system and responsive contract. Keep the final layout rules together so
   each shared component has one predictable mobile behavior. */
.page-intro {
    margin-inline: auto;
    text-align: center;
}
.page-intro .section-kicker {
    justify-content: center;
}
.page-intro .page-title {
    white-space: normal;
}
.explore-page .page-intro .page-title {
    font-size: clamp(1.9rem, 9.4vw, 5.2rem);
    white-space: nowrap;
}
.section-heading {
    align-items: center;
    justify-content: center;
    text-align: center;
}
.section-heading > div {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.section-heading .text-link {
    flex: 0 0 auto;
}
.home-hero-shell {
    padding-bottom: 0;
}
.home-content-shell .section-heading {
    margin-top: 0;
}
.home-content-shell .categories-heading {
    margin-top: 3.75rem;
}
.home-section-link {
    display: flex;
    width: max-content;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    margin: 1.25rem auto 0;
}
.home-section-link i {
    margin-left: 0;
}
.legal-page {
    max-width: 900px;
}
.legal-page-header {
    text-align: center;
}
.legal-page-header .section-kicker {
    justify-content: center;
}
.legal-page-header .page-title {
    padding-inline: 0;
}
.legal-page-header p {
    max-width: 38rem;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.65;
}
.legal-meta {
    display: block;
    margin-top: .8rem;
    color: #aaa8b0;
    font-size: .68rem;
    font-weight: 800;
}
.legal-callout {
    margin-top: 2rem;
    border: 1px solid #f1d58d;
    border-radius: .9rem;
    background: #fff8df;
    padding: .9rem 1rem;
    color: #6b5100;
    font-size: .8rem;
    line-height: 1.55;
    text-align: center;
}
.legal-content {
    margin-top: 2.25rem;
    color: #494750;
    font-size: .82rem;
    line-height: 1.7;
}
.legal-content section + section {
    margin-top: 1.8rem;
}
.legal-content h2,
.legal-content h3 {
    margin: 0 0 .45rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -.025em;
    line-height: 1.3;
}
.legal-content p {
    margin: 0;
}
.legal-content p + p {
    margin-top: .7rem;
}
.legal-document-header {
    margin-bottom: 1.8rem;
}
.legal-document-header h2 {
    margin-bottom: .55rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    letter-spacing: -.045em;
}
.legal-document-header .legal-effective {
    color: #aaa8b0;
    font-size: .68rem;
    font-weight: 800;
}
.legal-document-header > p:last-child {
    max-width: 46rem;
    margin-top: 1rem;
}
.legal-content a {
    color: var(--ink);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: .16em;
}
.legal-content a:hover {
    color: var(--brand-accent);
}
.contact-page {
    max-width: 52rem;
}
.terms-page {
    max-width: 54rem;
}
.terms-page .legal-content {
    max-width: 52rem;
    margin-inline: auto;
}
.legal-privacy {
    margin-top: 2.8rem;
    border-top: 1px solid #eeeae5;
    padding-top: 2.6rem;
}
.legal-page .legal-page-header .page-title {
    font-size: clamp(2rem, 5vw, 3.35rem);
    line-height: 1;
}
.contact-page .legal-page-header .page-title {
    white-space: nowrap;
}
.contact-page .legal-page-header p {
    max-width: 36rem;
}
.legal-contact-link {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 1.6rem auto 0;
}
@media (max-width: 520px) {
    .legal-page {
        padding-top: 1.5rem;
    }
    .legal-content {
        font-size: .8rem;
    }
    .legal-content section + section {
        margin-top: 1.5rem;
    }
    .legal-document-header {
        margin-bottom: 1.5rem;
    }
    .legal-privacy {
        margin-top: 2.3rem;
        padding-top: 2rem;
    }
}
.activity-rail {
    width: 100%;
    margin-inline: 0;
}
.market-grid,
.market-grid-hot,
.search-poll-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.market-card,
.category-card,
.leaderboard-row {
    min-width: 0;
}
.market-title,
.market-title > span,
.category-card-head,
.category-card-head strong {
    min-width: 0;
}
[data-reveal] {
    will-change: opacity, transform;
}

@media (max-width: 1180px) {
    .site-nav,
    .home-shell,
    .page-shell {
        width: min(100% - 2rem, 1080px);
    }
    .market-grid,
    .market-grid-hot,
    .search-poll-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .category-grid,
    .category-grid-explore {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .site-nav,
    .home-shell,
    .page-shell {
        width: min(100% - 1.5rem, 760px);
    }
    .profile-content-grid {
        grid-template-columns: 1fr;
    }
    .profile-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .power-earn-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .poll-hero-v2 {
        padding: 2rem;
    }
    .poll-hero-mark {
        display: none;
    }
    .comments-toolbar {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 680px) {
    .site-nav,
    .home-shell,
    .page-shell {
        width: min(100% - 1.25rem, 620px);
    }
    .home-shell,
    .page-shell {
        padding-top: 2rem;
        padding-bottom: 3.5rem;
    }
    .home-hero-shell {
        padding-bottom: 0;
    }
    .home-content-shell .section-heading,
    .home-content-shell .categories-heading {
        margin-top: 2.5rem;
    }
    .activity-rail {
        margin-top: 2rem;
    }
    .market-grid,
    .market-grid-hot,
    .search-poll-grid {
        grid-template-columns: 1fr;
    }
    .market-card {
        padding: 1rem;
    }
    .market-card-foot {
        align-items: flex-start;
        flex-direction: column;
        gap: .4rem;
    }
    .category-grid,
    .category-grid-explore {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .section-heading {
        gap: .55rem;
    }
    .section-heading .text-link {
        margin-top: .15rem;
    }
    .page-title {
        font-size: clamp(2.35rem, 10vw, 4rem);
    }
    .hero-title .hero-line {
        white-space: normal;
    }
    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .nav-actions .avatar {
        display: inline-flex;
        width: 2.25rem;
        height: 2.25rem;
    }
    .profile-identity-copy {
        min-width: 0;
    }
    .profile-identity-copy h1,
    .profile-identity-copy h1 > span:first-child {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
    .power-earn-grid {
        grid-template-columns: 1fr;
    }
    .poll-toolbar-groups {
        width: 100%;
        flex-direction: column;
        gap: .7rem;
    }
    .period-tabs {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-inline: .1rem;
        scrollbar-width: none;
    }
    .period-tabs > .period-tab:first-child { margin-left: auto; }
    .period-tabs > .period-tab:last-child { margin-right: auto; }
    .period-tabs::-webkit-scrollbar {
        display: none;
    }
    .poll-social-tabs {
        width: 100%;
        border-top: 1px solid var(--line);
        border-left: 0;
        padding-top: .7rem;
        padding-left: 0;
    }
    .leaderboard-row {
        grid-template-columns: 2.1rem 2.5rem minmax(0, 1fr);
        grid-template-areas:
            "rank avatar option"
            ". . power"
            ". . action";
        padding: .9rem .75rem;
    }
    .leaderboard-row > :nth-child(1) { grid-area: rank; }
    .leaderboard-row > :nth-child(2) { grid-area: avatar; }
    .leaderboard-row > :nth-child(3) { grid-area: option; }
    .leaderboard-row > :nth-child(4) { grid-area: power; justify-self: end; }
    .leaderboard-row > :nth-child(5) { grid-area: action; justify-self: stretch; margin-top: .15rem; }
    .leaderboard-action .boost-toggle {
        width: 100%;
    }
    .boost-row {
        padding: .75rem;
    }
    .boost-row-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .boost-row-actions .boost-max {
        grid-column: 1 / -1;
    }
    .social-heading {
        text-align: center;
    }
    .social-heading > div {
        align-items: center;
        flex-direction: column;
    }
    .social-composer {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
    .social-composer .btn {
        justify-self: end;
    }
}

@media (max-width: 480px) {
    .category-grid,
    .category-grid-explore {
        grid-template-columns: 1fr;
    }
    .category-card {
        aspect-ratio: auto;
        min-height: 0;
    }
    .category-card-head {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    .category-card-head .category-icon {
        width: 3.5rem;
        height: 3.5rem;
    }
    .category-subchips {
        justify-content: center;
    }
    .activity-rail-heading {
        justify-content: center;
    }
    .poll-hero-v2 {
        padding: 1.5rem 1rem;
    }
    .poll-hero-v2 h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }
    .search-box-v2 {
        width: 100%;
    }
    .search-box-v2 input {
        min-width: 0;
    }
}

@media (max-width: 360px) {
    .power-pack-grid,
    .trophy-grid-all {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .hero-actions .hero-cta {
        width: 100%;
        max-width: none;
    }
}

/* Category card contract: keep the header stable and show at most two rows
   of subcategory pills without hiding valid taxonomy data. */
.category-grid-item { min-width: 0; }
.category-grid-item.is-hidden { display: none; }
.category-card { min-height: 13rem; }
.category-card-head { width: 100%; min-width: 0; }
.category-card-head strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-subchips { min-height: 3.95rem; max-height: 3.95rem; overflow: hidden; align-content: flex-start; }
.category-subchips span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.category-more-button { display: flex; width: max-content; align-items: center; justify-content: center; gap: .45rem; margin: 1.25rem auto 0; border: 1px solid var(--line); border-radius: 999px; background: white; padding: .65rem 1rem; color: var(--ink); font: inherit; font-size: .76rem; font-weight: 900; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, transform .2s ease; }
.category-more-button:hover, .category-more-button:focus-visible { border-color: var(--ink); background: #f7f5f3; transform: translateY(-1px); }
.category-more-button i { color: var(--muted); transition: transform .2s ease; }
.category-more-button[aria-expanded="true"] i { transform: rotate(180deg); }
@media (max-width: 480px) {
    .category-subchips { min-height: 0; max-height: 3.95rem; }
}
@media (max-width: 760px) {
    .category-subchips span:nth-child(n) { display: inline-flex; }
}
@media (max-width: 420px) {
    .category-subchips span:nth-child(n) { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        will-change: auto;
    }
}

/* Auth and search polish */
.auth-page {
    text-align: center;
}

.auth-page .auth-card {
    max-width: 32rem;
    border-color: rgba(21, 21, 26, .07);
    background: rgba(255, 255, 255, .96);
    padding: clamp(1.5rem, 4vw, 2.35rem);
}

.auth-eyebrow {
    color: #918d95;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.auth-title {
    margin: .65rem 0 0;
    color: var(--brand-accent);
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: 1.05;
    white-space: nowrap;
}

.auth-subtitle {
    margin: .75rem auto 0;
    max-width: 25rem;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.55;
}

.auth-notice,
.auth-validation {
    margin-top: 1.25rem;
    text-align: center;
}

.auth-validation {
    border: 1px solid #ffc5ce;
}

.auth-validation ul {
    display: grid;
    gap: .2rem;
    margin: .45rem 0 0;
    list-style: none;
}

.auth-provider {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-top: 1.5rem;
    border: 1px solid #e5dfd9;
    border-radius: .85rem;
    background: white;
    padding: .8rem 1rem;
    color: var(--ink);
    font: inherit;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .16s ease, background-color .16s ease, transform .16s ease;
}

.auth-provider:hover:not(:disabled) {
    border-color: color-mix(in srgb, var(--brand-accent) 32%, #e5dfd9);
    background: #fffdfd;
    transform: translateY(-1px);
}

.auth-provider i {
    color: #4285f4;
    font-size: 1rem;
}

.auth-provider[data-coming-soon]::after {
    position: absolute;
    z-index: 3;
    top: calc(100% + .35rem);
    left: 50%;
    border: 1px solid #e5dfd9;
    border-radius: .5rem;
    background: var(--ink);
    padding: .32rem .55rem;
    color: white;
    content: attr(data-coming-soon);
    font-size: .64rem;
    font-weight: 850;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -.2rem);
    transition: opacity .16s ease, transform .16s ease;
    white-space: nowrap;
}

.auth-provider[data-coming-soon]:hover::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.auth-provider:disabled {
    cursor: not-allowed;
    opacity: .72;
}

.auth-google-account {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 1rem;
    color: var(--muted);
    font-size: .74rem;
    text-align: center;
}

.auth-google-account i {
    color: #4285f4;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.3rem 0;
    color: #918d95;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    flex: 1;
    background: #ebe7e2;
    content: '';
}

.auth-form {
    display: grid;
    gap: .9rem;
    text-align: left;
}

.auth-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.auth-form .field {
    text-align: left;
}

.auth-form .field > span .optional-label {
    color: #89878d;
    font-size: .85em;
    font-weight: 400;
}

.auth-form .auth-identifier-field {
    margin-top: .65rem;
}

.auth-form .auth-identifier-field > span {
    text-align: center;
}

.auth-form .field input {
    min-height: 3rem;
    background: #fff;
}

.auth-form .field input:focus,
.auth-provider:focus-visible,
.auth-link:focus-visible,
.auth-secondary-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-accent) 24%, transparent);
    outline-offset: 2px;
}

.auth-secondary-link,
.auth-link {
    color: var(--ink);
    font-size: .78rem;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: .16em;
}

.auth-secondary-link {
    justify-self: start;
    margin-top: -.1rem;
}

.auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: .2rem;
}

.auth-footer {
    margin-top: 1.3rem;
    color: var(--muted);
    font-size: .78rem;
}

/* Clean CMS workspace */
.cms-shell-v3 {
    max-width: 1440px;
    padding: 1.25rem 1.25rem 4rem;
}
.cms-shell-v3 .cms-grid {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 2.25rem;
}
.cms-shell-v3 .cms-sidebar {
    position: sticky;
    top: 1.25rem;
    gap: 1rem;
}
.cms-shell-v3 .cms-brand {
    margin-bottom: .35rem;
}
.cms-shell-v3 .cms-nav-list {
    gap: .15rem;
}
.cms-shell-v3 .cms-nav-link,
.cms-shell-v3 .cms-site-link {
    border-radius: .65rem !important;
    padding: .58rem .65rem !important;
}
.cms-shell-v3 .cms-nav-link.is-active {
    border-color: #e9e5e1;
    background: white !important;
    box-shadow: 0 3px 12px rgba(21,21,26,.045);
}
.cms-clean {
    width: 100%;
    color: var(--ink);
}
.cms-clean-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.cms-clean-head h1 {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    font-weight: 950;
    letter-spacing: -.07em;
    line-height: 1;
}
.cms-clean-head > div > span {
    display: block;
    margin-top: .35rem;
    color: #99949a;
    font-size: .7rem;
    font-weight: 750;
}
.cms-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
}
.cms-event-card {
    display: flex;
    min-height: 10.75rem;
    flex-direction: column;
    border: 1px solid #e8e4df;
    border-radius: 1rem;
    background: #fff;
    padding: .75rem;
    box-shadow: 0 8px 26px rgba(21,21,26,.035);
}
.cms-event-card.is-active {
    border-color: #f94f67;
    box-shadow: 0 0 0 2px rgba(249,79,103,.12), 0 8px 26px rgba(21,21,26,.045);
}
.cms-event-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.cms-event-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: .8rem;
    background: #fff0f2;
    color: #f94f67;
    font-size: 1.05rem;
}
.cms-event-card h2 {
    margin: .7rem 0 .25rem;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -.035em;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .14em;
}
.cms-event-card p {
    min-height: 2.1rem;
    color: #77727a;
    font-size: .72rem;
    line-height: 1.45;
}
.cms-event-card form { margin-top: auto; padding-top: .65rem; }
@media (max-width: 760px) {
    .cms-event-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .cms-event-grid { grid-template-columns: 1fr; }
}
.cms-clean-head-actions,
.cms-clean-form-actions,
.cms-clean-row-actions,
.cms-user-clean-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
}
.cms-clean-card,
.cms-clean-list-card {
    border: 1px solid #e8e4df;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 8px 26px rgba(21,21,26,.035);
}
.cms-clean-card {
    padding: 1.15rem;
}
.cms-clean-card + .cms-clean-card,
.cms-clean-card + .cms-clean-list-card {
    margin-top: 1rem;
}
.cms-clean-list-card + .cms-clean-card {
    margin-top: 1.35rem;
}
.cms-clean-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.cms-clean-card-head h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -.035em;
}
.cms-clean-card-head span {
    color: #99949a;
    font-size: .68rem;
    font-weight: 750;
}
.cms-clean-button,
.cms-clean-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 1px solid transparent;
    border-radius: .65rem;
    cursor: pointer;
    font: inherit;
    font-size: .7rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.cms-clean-button {
    min-height: 2.35rem;
    padding: .62rem .8rem;
}
.cms-clean-icon-button {
    width: 2.25rem;
    height: 2.25rem;
    background: white;
    border-color: #e5e0db;
    color: #77727a;
}
.cms-clean-button.is-primary {
    background: #56575f;
    color: white;
    box-shadow: 0 3px 0 #383940;
}
.cms-clean-button.is-primary:hover,
.cms-clean-icon-button:hover {
    transform: translateY(-1px);
}
.cms-clean-button.is-primary:hover {
    background: #676870;
    color: white;
}
.cms-clean-button.is-soft {
    border-color: #e5e0db;
    background: #faf9f7;
    color: #59555d;
}
.cms-clean-button.is-soft:hover,
.cms-clean-icon-button:hover {
    border-color: #c9c3bd;
    background: #f5f2ef;
    color: var(--ink);
}
.cms-clean-button.is-danger,
.cms-clean-icon-button.is-danger {
    border-color: #ffd2d9;
    background: #fff4f5;
    color: #c12f4a;
}
.cms-clean-button.is-danger:hover,
.cms-clean-icon-button.is-danger:hover {
    border-color: #ffb5c1;
    background: #ffe8ec;
}
.cms-clean-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.2rem;
    border-radius: 999px;
    padding: .3rem .5rem;
    font-size: .6rem;
    font-weight: 900;
}
.cms-clean-status.is-active { background: #ddf7ec; color: #14835f; }
.cms-clean-status.is-muted { background: #f0eeec; color: #918c91; }
.cms-clean-status.is-suspended { background: #fff0f2; color: #c12f4a; }
.cms-clean-alert {
    margin-bottom: 1rem;
    border: 1px solid #ffc2cb;
    border-radius: .7rem;
    background: #fff0f2;
    padding: .75rem .85rem;
    color: #a51f3b;
    font-size: .75rem;
    font-weight: 800;
}
.cms-clean-back {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .7rem;
    color: #89838c;
    font-size: .7rem;
    font-weight: 850;
}
.cms-clean-back:hover { color: var(--ink); }
.cms-clean-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
}
.cms-clean-metric {
    display: flex;
    min-height: 8.25rem;
    align-items: center;
    gap: .9rem;
    border: 1px solid #e8e4df;
    border-radius: 1rem;
    background: white;
    padding: 1.1rem;
    box-shadow: 0 8px 26px rgba(21,21,26,.035);
}
.cms-clean-metric-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .85rem;
    background: #f0eeec;
    color: #69656d;
    font-size: 1.1rem;
}
.cms-clean-metric-icon.is-power { background: #fff2c7; color: #9b6c00; }
.cms-clean-metric-copy { min-width: 0; }
.cms-clean-metric-copy strong,
.cms-clean-metric-copy span { display: block; }
.cms-clean-metric-copy strong { font-size: clamp(1.55rem, 3vw, 2.25rem); font-weight: 950; letter-spacing: -.07em; line-height: 1; }
.cms-clean-metric-copy span { margin-top: .35rem; color: #8e8991; font-size: .68rem; font-weight: 850; }
.cms-clean-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}
.cms-clean-form label,
.cms-clean-form > label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .32rem;
    color: #6f6a72;
    font-size: .68rem;
    font-weight: 850;
}
.cms-clean-form label > span:first-child { color: #6f6a72; }
.cms-clean-form label small { color: #99949a; font-size: .62rem; font-weight: 700; line-height: 1.35; }
.cms-clean-form input:not([type="checkbox"]):not([type="color"]),
.cms-clean-form select,
.cms-clean-form textarea,
.cms-clean-search input {
    width: 100%;
    border: 1px solid #ded9d4;
    border-radius: .62rem;
    background: #fff;
    padding: .68rem .72rem;
    color: var(--ink);
    font: inherit;
    font-size: .75rem;
    font-weight: 550;
}
.cms-clean-form input[type="file"] { min-width: 0; width: 100%; border: 1px solid #ded9d4; border-radius: .62rem; background: #fff; padding: .5rem; color: #77727a; font: inherit; font-size: .68rem; }
.cms-clean-form input[type="color"] { width: 3.2rem; height: 2.5rem; border: 1px solid #ded9d4; border-radius: .62rem; cursor: pointer; padding: .2rem; }
.cms-clean-form textarea { min-height: 5rem; resize: vertical; }
.cms-clean-form input:focus,
.cms-clean-form select:focus,
.cms-clean-form textarea:focus,
.cms-clean-search:focus-within {
    border-color: #aaa4ab;
    outline: 0;
    box-shadow: 0 0 0 3px #f1eeeb;
}
.cms-clean-field-wide { grid-column: 1 / -1; }
.cms-clean-form-actions { margin-top: 1rem; }
.cms-clean-check { flex-direction: row !important; align-items: center; gap: .45rem !important; color: #77727a; }
.cms-clean-check input { width: auto; }
.cms-clean-icon-select { display: flex; align-items: center; gap: .65rem; }
.cms-clean-icon-select select { flex: 1; }
.cms-clean-icon-preview {
    display: inline-flex;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .7rem;
    background: color-mix(in srgb, var(--cms-accent, var(--hot)) 12%, white);
    color: var(--cms-accent, var(--hot));
    font-size: 1rem;
}
.cms-clean-color-row { display: flex; align-items: center; gap: .65rem; }
.cms-clean-color-row .cms-clean-check { flex: 1; }
.cms-clean-add-card summary,
.cms-clean-add-option summary { display: flex; align-items: center; gap: .45rem; cursor: pointer; color: #5f5a62; font-size: .75rem; font-weight: 900; list-style: none; }
.cms-clean-add-card summary::-webkit-details-marker,
.cms-clean-add-option summary::-webkit-details-marker { display: none; }
.cms-clean-add-card .cms-clean-form,
.cms-clean-add-option .cms-clean-form { margin-top: 1rem; border-top: 1px solid #f0eeec; padding-top: 1rem; }
.cms-poll-info-grid { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; }
.cms-poll-image-field { display: flex; min-width: 0; align-items: flex-start; flex-direction: column; gap: .7rem; }
.cms-poll-image-field label { display: flex; flex-direction: column; gap: .32rem; color: #6f6a72; font-size: .68rem; font-weight: 850; }
.cms-poll-image-field label small { color: #99949a; font-size: .62rem; }
.cms-clean-image-preview,
.cms-clean-image-placeholder { display: flex; width: 100%; aspect-ratio: 1; align-items: center; justify-content: center; overflow: hidden; border-radius: .8rem; background: #f5f2ef; color: #aaa4a9; font-size: 1.6rem; object-fit: cover; }
.cms-poll-image-preview { width: 4.5rem; height: 4.5rem; flex: 0 0 auto; aspect-ratio: auto; }
.cms-clean-image-placeholder.cms-poll-image-preview { display: inline-flex; }
.cms-options-card { margin-top: 1rem; }
.cms-options-head { margin-bottom: .75rem; }
.cms-period-tabs { display: flex; flex-wrap: wrap; gap: .35rem; border-bottom: 1px solid #eeeae7; padding-bottom: .7rem; }
.cms-period-tabs a,
.cms-period-tabs span { display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e6e1dc; border-radius: 999px; padding: .45rem .7rem; color: #77727a; font-size: .68rem; font-weight: 900; text-decoration: none; }
.cms-period-tabs a:hover,
.cms-period-tabs a.is-active { border-color: #5b5c64; background: #575860; color: white; }
.cms-period-tabs .is-disabled { opacity: .45; }
.cms-clean-note { margin: .7rem 0; color: #96919a; font-size: .66rem; }
.cms-option-clean-list { display: grid; gap: .55rem; }
.cms-option-clean-row { overflow: hidden; border: 1px solid #e6e1dc; border-radius: .75rem; background: #fcfbfa; }
.cms-option-clean-row[open] { border-color: #cfc8c1; background: white; }
.cms-option-clean-row summary { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(25rem, 1.8fr) 1rem; align-items: center; gap: .8rem; cursor: pointer; padding: .7rem .8rem; list-style: none; }
.cms-option-clean-row summary::-webkit-details-marker { display: none; }
.cms-option-clean-row summary:hover { background: #faf8f6; }
.cms-option-clean-identity,
.cms-user-clean-identity,
.cms-ledger-user { display: inline-flex; min-width: 0; align-items: center; gap: .6rem; }
.cms-option-clean-identity > span:last-child,
.cms-user-clean-identity > span:last-child { min-width: 0; }
.cms-option-clean-identity strong,
.cms-option-clean-identity small,
.cms-user-clean-identity strong,
.cms-user-clean-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-option-clean-identity strong,
.cms-user-clean-identity strong { font-size: .76rem; font-weight: 950; }
.cms-option-clean-identity small { width: max-content; margin-top: .2rem; border-radius: 999px; padding: .18rem .35rem; font-size: .56rem; font-weight: 850; }
.cms-option-clean-identity small.is-active { background: #ddf7ec; color: #14835f; }
.cms-option-clean-identity small.is-muted { background: #f0eeec; color: #918c91; }
.cms-clean-avatar { display: inline-flex; width: 2.55rem; height: 2.55rem; flex: 0 0 auto; align-items: center; justify-content: center; border: 2px solid white; border-radius: 35%; background: var(--avatar-color, var(--hot)); color: white; box-shadow: 0 0 0 1px rgba(21,21,26,.12); font-size: .75rem; font-weight: 950; }
.cms-clean-avatar-sm { width: 1.65rem; height: 1.65rem; font-size: .55rem; }
.cms-option-clean-values { display: grid; grid-template-columns: repeat(4, minmax(4.6rem, 1fr)); gap: .45rem; }
.cms-option-clean-values span { min-width: 0; }
.cms-option-clean-values small,
.cms-option-clean-values strong { display: block; }
.cms-option-clean-values small { color: #9a959b; font-size: .57rem; font-weight: 800; }
.cms-option-clean-values strong { margin-top: .2rem; color: #4d4951; font-size: .68rem; font-weight: 950; white-space: nowrap; }
.cms-option-clean-chevron { color: #aaa4a9; font-size: .65rem; transition: transform .15s ease; }
.cms-option-clean-row[open] .cms-option-clean-chevron { transform: rotate(180deg); }
.cms-option-clean-body { border-top: 1px solid #eeeae7; padding: 1rem; }
.cms-option-clean-body > form:first-child { max-width: 52rem; }
.cms-option-clean-body > form:last-child { margin-top: .8rem; }
.cms-clean-list-card { overflow: hidden; }
.cms-poll-clean-row { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto auto; align-items: center; gap: .75rem; border-top: 1px solid #f0eeec; padding: .75rem .9rem; }
.cms-poll-clean-row:first-child { border-top: 0; }
.cms-poll-clean-copy { min-width: 0; }
.cms-poll-clean-copy strong,
.cms-poll-clean-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-poll-clean-copy strong { font-size: .78rem; font-weight: 950; }
.cms-poll-clean-copy small { margin-top: .2rem; color: #96919a; font-size: .65rem; }
.cms-clean-row-actions form { display: inline-flex; }
.cms-clean-search { display: flex; width: min(100%, 22rem); align-items: center; gap: .4rem; border: 1px solid #ded9d4; border-radius: .7rem; background: white; padding: .15rem .45rem .15rem .65rem; color: #9d979e; }
.cms-clean-search input { border: 0; padding: .55rem .2rem; box-shadow: none; }
.cms-clean-search input:focus { box-shadow: none; }
.cms-users-list { overflow-x: auto; }
.cms-users-list-head,
.cms-user-clean-row { display: grid; grid-template-columns: minmax(16rem, 1.4fr) 8rem 8rem minmax(22rem, 2fr); align-items: center; gap: .8rem; min-width: 0; padding: .75rem 1rem; }
.cms-users-list-head { background: #faf9f7; color: #97929a; font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cms-user-clean-row { border-top: 1px solid #f0eeec; }
.cms-user-clean-identity { color: inherit; text-decoration: none; }
.cms-user-clean-identity:hover strong { color: var(--brand-accent); }
.cms-user-clean-identity strong { font-size: .76rem; font-weight: 950; }
.cms-user-clean-identity small,
.cms-user-clean-row > span > small,
.cms-user-clean-status-wrap small { display: block; margin-top: .2rem; overflow: hidden; color: #99949b; font-size: .63rem; text-overflow: ellipsis; white-space: nowrap; }
.cms-user-clean-power { display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; font-size: .75rem; font-weight: 950; }
.cms-user-clean-actions { justify-content: flex-end; }
.cms-user-clean-actions form { display: inline-flex; }
.cms-user-adjust-button { min-width: 4.2rem; }
.cms-clean-empty { padding: 2rem 1rem; color: #99949a; font-size: .75rem; text-align: center; }
.cms-clean-pagination { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: 1rem; }
.cms-clean-pagination a { display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border: 1px solid #e5e0db; border-radius: .55rem; background: white; color: #77727a; font-size: .68rem; font-weight: 900; text-decoration: none; }
.cms-clean-pagination a:hover,
.cms-clean-pagination a.is-active { border-color: #5b5c64; background: #575860; color: white; }
.cms-power-dialog { width: min(calc(100% - 2rem), 28rem); border: 0; border-radius: 1rem; background: transparent; padding: 0; }
.cms-power-dialog::backdrop { background: rgba(21,21,26,.4); backdrop-filter: blur(4px); }
.cms-power-dialog .cms-clean-card { position: relative; box-shadow: 0 24px 80px rgba(21,21,26,.2); }
.cms-power-dialog h2 { margin: 0; font-size: 1.2rem; font-weight: 950; letter-spacing: -.045em; }
.cms-power-dialog p { margin: .45rem 0 1rem; color: #85808a; font-size: .72rem; }
.cms-dialog-close { position: absolute; top: .85rem; right: .85rem; border: 0; background: transparent; color: #96919a; cursor: pointer; font-size: 1rem; }
.cms-ledger-list { overflow-x: auto; }
.cms-ledger-row { display: grid; grid-template-columns: 9.5rem 11rem 8rem 8rem 8rem minmax(10rem, 1fr); align-items: center; gap: .75rem; min-width: 850px; border-top: 1px solid #f0eeec; padding: .7rem 1rem; color: #69646d; font-size: .68rem; }
.cms-ledger-head { border-top: 0; background: #faf9f7; color: #97929a; font-size: .59rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.cms-ledger-type { width: max-content; border-radius: 999px; background: #f4f1ee; padding: .27rem .45rem; color: #77727a; font-size: .58rem; font-weight: 900; text-transform: capitalize; }
.cms-ledger-row strong.is-positive { color: #14835f; }
.cms-ledger-row strong.is-negative { color: #d22e4e; }
.cms-taxonomy-list { overflow: hidden; }
.cms-taxonomy-list-head,
.cms-taxonomy-row {
    display: grid;
    grid-template-columns: minmax(18rem, 1.5fr) minmax(12rem, 1fr) 6rem minmax(9rem, auto);
    align-items: center;
    gap: .8rem;
    min-width: 760px;
    padding: .75rem 1rem;
}
.cms-taxonomy-list-head {
    background: #faf9f7;
    color: #97929a;
    font-size: .59rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cms-taxonomy-row { border-top: 1px solid #f0eeec; }
.cms-taxonomy-main { display: inline-flex; min-width: 0; align-items: center; gap: .65rem; }
.cms-taxonomy-main > span:last-child { min-width: 0; }
.cms-taxonomy-main strong,
.cms-taxonomy-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-taxonomy-main strong { font-size: .78rem; font-weight: 950; }
.cms-taxonomy-main small { margin-top: .2rem; color: #99949a; font-size: .64rem; }
.cms-taxonomy-row .cms-clean-icon-preview { width: 2.55rem; height: 2.55rem; flex: 0 0 auto; background: color-mix(in srgb, var(--cms-accent, var(--hot)) 12%, white); color: var(--cms-accent, var(--hot)); }
.cms-taxonomy-subcategories { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: .25rem; }
.cms-taxonomy-subcategories span { display: inline-flex; align-items: center; gap: .25rem; border: 1px solid #ebe7e3; border-radius: 999px; background: #fff; padding: .28rem .4rem; color: #6f6a72; font-size: .6rem; font-weight: 800; }
.cms-taxonomy-subcategories span i { color: var(--cms-accent, var(--hot)); font-size: .55rem; }
.cms-taxonomy-subcategories > small { color: #96919a; font-size: .62rem; font-weight: 800; }
.cms-taxonomy-category { display: inline-flex; min-width: 0; align-items: center; gap: .4rem; color: #5f5a62; font-size: .7rem; font-weight: 800; }
.cms-taxonomy-color { width: .55rem; height: .55rem; flex: 0 0 auto; border-radius: 50%; background: var(--cms-accent, var(--hot)); }
.cms-taxonomy-row > .cms-clean-status { justify-self: start; }
.cms-taxonomy-row .cms-clean-row-actions form { display: inline-flex; }
.cms-moderation-list { overflow: hidden; }
.cms-moderation-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1rem; border-top: 1px solid #f0eeec; padding: 1rem 1.1rem; }
.cms-moderation-row:first-child { border-top: 0; }
.cms-moderation-copy { min-width: 0; }
.cms-moderation-meta { display: flex; align-items: center; gap: .55rem; color: #97929a; font-size: .64rem; font-weight: 800; }
.cms-moderation-type { display: inline-flex; align-items: center; border-radius: 999px; padding: .28rem .5rem; font-size: .58rem; font-weight: 950; }
.cms-moderation-type.is-comment { background: #fff0f2; color: #c12f4a; }
.cms-moderation-type.is-chat { background: #f1efff; color: #6e5dd1; }
.cms-moderation-body { max-width: 58rem; margin: .55rem 0 0; color: var(--ink); font-size: .82rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.cms-moderation-context { display: flex; min-width: 0; align-items: center; gap: .5rem; margin-top: .7rem; }
.cms-moderation-context > span:last-child { min-width: 0; }
.cms-moderation-context strong, .cms-moderation-context small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-moderation-context strong { font-size: .68rem; font-weight: 950; }
.cms-moderation-context small { margin-top: .12rem; color: #99949a; font-size: .6rem; }
.cms-moderation-row > form { display: flex; align-items: center; }
.cms-moderation-page .cms-clean-empty { display: grid; justify-items: center; gap: .35rem; padding: 3rem 1rem; text-align: center; }
.cms-moderation-page .cms-clean-empty i { color: #6e5dd1; font-size: 1.2rem; }
.cms-moderation-page .cms-clean-empty strong { color: var(--ink); font-size: .82rem; font-weight: 950; }
.cms-moderation-page .cms-clean-empty span { color: #99949a; font-size: .68rem; }
@media (max-width: 1100px) {
    .cms-clean-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cms-option-clean-row summary { grid-template-columns: minmax(12rem, 1fr) minmax(23rem, 1.6fr) 1rem; }
}
@media (max-width: 900px) {
    .cms-shell-v3 .cms-grid { grid-template-columns: 1fr; gap: 1rem; }
    .cms-shell-v3 .cms-sidebar { position: static; }
    .cms-shell-v3 .cms-nav-list { display: flex; overflow-x: auto; gap: .25rem; }
    .cms-shell-v3 .cms-nav-link { flex: 0 0 auto; }
    .cms-shell-v3 .cms-site-link { display: none !important; }
    .cms-poll-info-grid { grid-template-columns: 10rem minmax(0, 1fr); }
    .cms-option-clean-row summary { grid-template-columns: 1fr auto; }
    .cms-option-clean-values { grid-column: 1 / -1; }
    .cms-option-clean-chevron { grid-column: 2; grid-row: 1; }
    .cms-taxonomy-list { overflow-x: auto; }
}
@media (max-width: 620px) {
    .cms-shell-v3 { padding: 1rem .75rem 3rem; }
    .cms-clean-head { align-items: flex-start; flex-direction: column; }
    .cms-clean-head > .cms-clean-button,
    .cms-clean-head-actions { width: 100%; }
    .cms-clean-head-actions .cms-clean-button { flex: 1; }
    .cms-clean-metrics { grid-template-columns: 1fr; }
    .cms-clean-form-grid,
    .cms-poll-info-grid { grid-template-columns: 1fr; }
    .cms-poll-image-field { max-width: 13rem; }
    .cms-clean-field-wide { grid-column: auto; }
    .cms-clean-card { padding: .9rem; }
    .cms-clean-card-head { align-items: flex-start; flex-direction: column; gap: .25rem; }
    .cms-option-clean-row summary { padding: .65rem; }
    .cms-option-clean-values { gap: .25rem; overflow-x: auto; }
    .cms-option-clean-values span { min-width: 4.2rem; }
    .cms-poll-clean-row { grid-template-columns: 2.4rem minmax(0, 1fr) auto; }
    .cms-poll-clean-row > .cms-clean-status { grid-column: 2; justify-self: start; }
    .cms-poll-clean-row > .cms-clean-row-actions { grid-column: 3; grid-row: 1 / span 2; }
    .cms-clean-search { width: 100%; }
    .cms-users-list { overflow-x: visible; }
    .cms-users-list-head { display: none; }
    .cms-user-clean-row { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .65rem; padding: .85rem; }
    .cms-user-clean-identity { min-width: 0; }
    .cms-user-clean-status-wrap { justify-self: end; text-align: right; }
    .cms-user-clean-power { grid-column: 1 / -1; margin-top: -.1rem; }
    .cms-user-clean-actions { grid-column: 1 / -1; justify-content: flex-start; border-top: 1px solid #f0eeec; padding-top: .7rem; }
    .cms-taxonomy-list-head,
    .cms-taxonomy-row { padding-right: .7rem; padding-left: .7rem; }
    .cms-moderation-row { grid-template-columns: 1fr; }
    .cms-moderation-row > form { justify-content: flex-start; }
}

/* Power page earning actions */
.power-page {
    padding-top: 3rem;
}

.power-intro {
    margin: 0 auto 1.15rem;
    text-align: center;
}

.power-intro-kicker {
    display: inline-flex;
    color: #159c6e;
    align-items: center;
    gap: .35rem;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .18em;
}

.power-intro-kicker i {
    font-size: .72rem;
}

.power-intro-title {
    margin-top: .4rem;
    color: var(--ink);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: 1;
}

.power-earn-grid {
    gap: .75rem;
    margin-top: 0;
}

.power-earn-card {
    min-height: 11.75rem;
    gap: .55rem;
    padding: 1rem;
}

.power-earn-card > div {
    flex: 0 1 auto;
}

.power-earn-card h2 {
    margin-top: .55rem;
}

.power-earn-card p {
    line-height: 1.4;
}

.power-earn-card .power-pack-button {
    margin-top: auto;
}

.power-pack-button {
    width: 100%;
    min-height: 2.45rem;
    border: 1px solid #5b5c64;
    border-radius: .72rem;
    background: #575860;
    color: white;
    padding: .62rem .85rem;
    font-size: .7rem;
    font-weight: 950;
    box-shadow: 0 3px 0 #393a41;
}

.power-pack-button:hover:not(:disabled) {
    background: #686971;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 #393a41;
}

.power-pack-button.is-available {
    border-color: #149567;
    background: #18a873;
    box-shadow: 0 3px 0 #0e744f;
}

.power-pack-button.is-available:hover:not(:disabled) {
    background: #20b77e;
    box-shadow: 0 4px 0 #0e744f;
}

.power-pack-button.is-claimed {
    border-color: #176c4d;
    background: #23694f;
    color: white;
    box-shadow: 0 3px 0 #124934;
}

.power-pack-button.is-unavailable {
    border-color: #55565d;
    background: #5b5c64;
    color: rgba(255,255,255,.78);
}

.power-pack-button:disabled {
    cursor: not-allowed;
    opacity: .86;
}

.power-section-heading-blue .section-kicker,
.power-section-heading-blue .section-kicker i {
    color: #2c8dd7;
}

.power-free-section {
    margin-top: 0;
}

.power-creator-card,
.power-creator-stats-card {
    grid-column: 1 / -1;
    width: 100%;
    box-sizing: border-box;
}

.power-creator-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    border: 1px solid #bde8d4;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #f4fff9, #e7f9ef);
    padding: 1rem 1.2rem;
    color: var(--ink);
    text-align: left;
    text-decoration: none;
}

.power-creator-card:hover,
.power-creator-card:focus-visible {
    border-color: #159c6e;
    background: linear-gradient(135deg, #edfff6, #dcf7e9);
    color: var(--ink);
    transform: translateY(-1px);
}

.power-creator-icon {
    display: inline-flex;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: white;
    color: #159c6e;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(21,156,110,.08);
}

.power-creator-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .25rem;
}

.power-creator-copy strong {
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -.035em;
}

.power-creator-copy span {
    color: #4e7463;
    font-size: .78rem;
    line-height: 1.45;
}

.power-creator-arrow-wrap {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7eee1;
    border-radius: .75rem;
    background: white;
    color: #159c6e;
    box-shadow: 0 2px 0 rgba(21,156,110,.08);
}

.power-creator-arrow {
    font-size: 1rem;
}

.power-creator-apply {
    display: none;
}

.power-creator-stats-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(20rem, .9fr);
    min-height: 5.25rem;
    align-items: center;
    gap: 1rem;
    border: 1px solid #bde8d4;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #f4fff9, #e7f9ef);
    padding: .8rem 1rem;
    text-align: left;
}

.power-creator-stats-head {
    display: flex;
    min-width: 10rem;
    align-items: center;
    gap: .6rem;
}

.power-creator-stats-title {
    order: 1;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -.035em;
}

.power-creator-stats-state {
    order: 2;
    border-radius: 999px;
    background: #d2f4e2;
    padding: .22rem .5rem;
    color: #19734f;
    font-size: .62rem;
    font-weight: 900;
}

.power-creator-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(8rem, 1fr));
    width: 100%;
    min-width: 0;
}

.power-creator-stat {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: .1rem;
    border-left: 1px solid #ccebd9;
    padding-inline: 1rem;
    text-align: center;
}

.power-creator-stat strong {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 950;
    line-height: 1;
}

.power-creator-stat span {
    color: #4e7463;
    font-size: .66rem;
    font-weight: 800;
    white-space: nowrap;
}

.creator-page {
    max-width: 800px;
    text-align: center;
}

.creator-hero {
    max-width: 42rem;
    margin: 0 auto;
}

.creator-hero .page-title {
    font-size: clamp(2.3rem, 6vw, 4.2rem);
}

.creator-hero p {
    max-width: 35rem;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}

.creator-panel {
    margin-top: 2rem;
    border: 1px solid var(--line);
    border-radius: 1.35rem;
    background: white;
    padding: 1.25rem;
    text-align: left;
    box-shadow: 0 8px 25px rgba(21,21,26,.035);
}

.creator-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.creator-benefit {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: 1px solid #d7f0e2;
    border-radius: 1rem;
    background: #f5fff9;
    padding: .95rem;
}

.creator-benefit-icon {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: .75rem;
    background: #dff8ec;
    color: #159c6e;
}

.creator-benefit strong {
    display: block;
    color: var(--ink);
    font-size: .86rem;
    font-weight: 950;
}

.creator-benefit p,
.creator-apply p {
    margin-top: .35rem;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}

.creator-example {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-top: .85rem;
    border-radius: .9rem;
    background: #fff8dc;
    padding: .85rem .95rem;
    color: #715a10;
    font-size: .78rem;
    line-height: 1.5;
}

.creator-example i {
    margin-top: .15rem;
    color: #bc8a00;
}

.creator-apply {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}

.creator-apply p {
    max-width: 31rem;
    margin-top: 0;
}

.creator-apply .btn {
    flex: 0 0 auto;
}

.power-pack-card .power-pack-button {
    margin-top: .85rem;
}

@media (max-width: 560px) {
    .auth-page .auth-card {
        padding: 1.35rem 1rem;
    }

    .auth-title {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
        white-space: normal;
    }

    .auth-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .power-creator-stats-card {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: .65rem;
        padding: 1rem;
        text-align: center;
    }

    .power-creator-stats-head {
        min-width: 0;
        align-items: center;
        flex-direction: column;
        gap: .4rem;
        text-align: center;
    }

    .power-creator-stats-title {
        order: 2;
    }

    .power-creator-stats-state {
        order: 1;
    }

    .power-creator-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .power-creator-stat {
        padding-inline: .5rem;
    }

    .power-creator-card {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: .7rem;
        padding: 1rem;
        text-align: center;
    }

    .power-creator-copy {
        align-items: center;
        text-align: center;
    }

    .power-creator-copy strong {
        font-size: 1.05rem;
    }

    .power-creator-copy span {
        max-width: 34rem;
    }

    .power-creator-arrow-wrap {
        display: none;
    }

    .power-creator-apply {
        display: inline-flex;
        min-height: 2.35rem;
        align-items: center;
        justify-content: center;
        border: 1px solid #d7eee1;
        border-radius: .72rem;
        background: white;
        padding: .55rem 1.1rem;
        color: #159c6e;
        font-size: .7rem;
        font-weight: 950;
        letter-spacing: .06em;
        box-shadow: 0 2px 0 rgba(21,156,110,.08);
    }

    .creator-page {
        padding-top: 2.25rem;
    }

    .creator-benefits {
        grid-template-columns: 1fr;
    }

    .creator-apply {
        align-items: stretch;
        flex-direction: column;
    }

    .creator-apply .btn {
        width: 100%;
    }

}

/* Audit fixes: preserve the shared focus contract for controls that use a
   border-only focus treatment, and give tablet poll controls a clean wrap. */
.search-box-v2 input:focus-visible,
.search-box input:focus-visible,
.social-composer input:focus-visible,
.social-composer textarea:focus-visible,
.reply-composer input:focus-visible,
.reply-composer textarea:focus-visible,
.cms-clean-form input:focus-visible,
.cms-clean-form select:focus-visible,
.cms-clean-form textarea:focus-visible,
.cms-clean-search input:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--brand-accent) 28%, var(--yellow));
    outline-offset: 2px;
}

.search-box-v2 input:focus,
.search-box input:focus,
.social-composer input:focus,
.social-composer textarea:focus,
.reply-composer input:focus,
.reply-composer textarea:focus {
    box-shadow: none;
}

/* Chat composers intentionally use a clean, borderless focus state. */
.social-composer input:focus-visible,
.social-composer textarea:focus-visible,
.reply-composer input:focus-visible,
.reply-composer textarea:focus-visible {
    outline: 0;
    outline-offset: 0;
}

/* Search fields use the surrounding shell for their visual focus state. */
.search-box-v2 input:focus-visible,
.search-box input:focus-visible,
.community-hub-search input:focus-visible {
    outline: 0;
    outline-offset: 0;
}

.leaderboard-row:has([data-boost-toggle]):hover,
.leaderboard-row:has([data-boost-toggle]):focus-within {
    background: color-mix(in srgb, var(--hot) 3%, white);
}

@media (min-width: 681px) and (max-width: 900px) {
    .poll-toolbar-groups {
        align-items: stretch;
        flex-direction: column;
        gap: .7rem;
    }

    .period-tabs,
    .poll-social-tabs {
        justify-content: center;
    }

    .poll-social-tabs {
        border-top: 1px solid var(--line);
        border-left: 0;
        padding-top: .7rem;
        padding-left: 0;
    }
}

/* Homepage Explore CTA: cool charcoal fill with a deep charcoal edge. */
.hero-actions .btn-dark {
    background: oklch(42% .034 259.733);
    --hero-edge: oklch(27.8% .033 256.848);
    box-shadow: 0 4px 0 var(--hero-edge), 0 9px 16px rgba(21,21,26,.12);
}

.hero-actions .btn-dark:hover {
    background: oklch(46% .034 259.733);
    box-shadow: 0 5px 0 var(--hero-edge), 0 12px 20px rgba(21,21,26,.15);
}

/* Power earning actions: keep all three CTAs full-width and evenly spaced. */
.power-earn-card > .power-pack-button {
    width: 100%;
    margin-top: .65rem;
}

.power-referral-card > div {
    width: 100%;
}

.power-pack-button.is-referral {
    border-color: #dedad6;
    background: white;
    color: var(--ink);
    box-shadow: 0 3px 0 #dedad6;
}

.power-pack-button.is-referral:hover:not(:disabled) {
    border-color: #c9c5c1;
    background: #faf9f8;
    color: var(--ink);
    box-shadow: 0 4px 0 #c9c5c1;
}

/* Communities: a capped, centered grid instead of a carousel. */
.community-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 64rem);
    margin: 1.35rem auto 0;
    gap: .8rem;
    overflow: visible;
    padding: .25rem .1rem .75rem;
    scroll-snap-type: none;
}

.community-card {
    min-width: 0;
    width: 100%;
    flex: initial;
}

.community-picker--count-1 {
    grid-template-columns: minmax(0, 15rem);
    justify-content: center;
}

.community-picker--count-2 {
    grid-template-columns: repeat(2, minmax(0, 15rem));
    justify-content: center;
}

.community-picker--count-3 {
    grid-template-columns: repeat(3, minmax(0, 15rem));
    justify-content: center;
}

@media (max-width: 760px) {
    .community-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
        margin-top: 1rem;
        padding-inline: 0;
    }

    .community-picker--count-1 {
        grid-template-columns: minmax(0, 15rem);
    }

    .community-card {
        min-height: 4.65rem;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: .3rem .45rem;
        padding: .5rem;
    }

    .community-card > img {
        width: 2.2rem;
        height: 2.2rem;
        border-radius: .62rem;
    }

    .community-card-tier {
        padding: .16rem .3rem;
        font-size: .45rem;
    }

    .community-card-copy strong {
        font-size: .75rem;
    }

    .community-card-copy small {
        display: none;
    }

    .community-card-arrow {
        width: 1.45rem;
        height: 1.45rem;
        font-size: .52rem;
    }
}

/* Communities hub: a searchable chat switcher with one shared conversation pane. */
.communities-intro { max-width: 48rem; margin-inline: auto; text-align: center; }
.communities-intro .section-title { margin: 2px 0 0; font-size: clamp(1.55rem, 3vw, 2rem); white-space: nowrap; }
.community-hub { --community-panel-height: min(42rem, calc(100vh - 10rem)); display: grid; grid-template-columns: minmax(18rem, 22rem) minmax(0, 1fr); align-items: stretch; gap: 1rem; margin-top: 1.35rem; }
.community-hub-sidebar, .community-hub-main { height: var(--community-panel-height); min-width: 0; max-height: var(--community-panel-height); overflow: hidden; border: 1px solid var(--line); border-radius: 1.25rem; background: white; box-shadow: 0 8px 25px rgba(21,21,26,.035); }
.community-hub-sidebar { position: sticky; top: 6.25rem; display: flex; flex-direction: column; }
.community-hub-nav { display: grid; width: 100%; min-height: 0; flex: 1 1 0; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.community-hub-nav > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.05rem; color: var(--ink); font-size: .86rem; font-weight: 950; list-style: none; }
.community-hub-nav > summary::-webkit-details-marker { display: none; }
.community-hub-nav > summary > span:first-child { display: inline-flex; align-items: center; gap: .45rem; }
.community-hub-nav > summary > span:first-child i { color: var(--social-accent); }
.community-hub-count { display: inline-flex; min-width: 1.45rem; height: 1.45rem; align-items: center; justify-content: center; border-radius: 999px; background: color-mix(in srgb, var(--social-accent) 11%, white); color: var(--social-accent); font-size: .65rem; }
.community-hub-nav-content { display: flex; min-width: 0; min-height: 0; height: 100%; align-self: stretch; grid-row: 2; flex-direction: column; overflow: hidden; border-top: 1px solid #f0eeec; }
.community-hub-search { display: flex; align-items: center; gap: .5rem; margin: .75rem; border: 1px solid #ebe7e2; border-radius: .8rem; background: #faf9f7; padding: .25rem .5rem .25rem .7rem; color: #9b9690; }
.community-hub-search:focus-within { border-color: color-mix(in srgb, var(--social-accent) 42%, var(--line)); background: white; }
.community-hub-search.is-loading { opacity: .72; }
.community-hub-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; padding: .55rem .1rem; color: var(--ink); font: inherit; font-size: .72rem; }
.community-hub-search input:focus { outline: 0; box-shadow: none; }
.community-hub-search > a { display: inline-flex; width: 1.5rem; height: 1.5rem; align-items: center; justify-content: center; border-radius: 50%; color: #9b9690; }
.community-hub-search > a[hidden] { display: none; }
.community-hub-search > a:hover { background: #ebe7e2; color: var(--ink); }
.community-hub-list { display: flex; min-height: 0; flex: 1 1 0; flex-direction: column; align-items: stretch; gap: .45rem; overflow-y: auto; overscroll-behavior: contain; padding: 0 .65rem .7rem; scrollbar-color: #d8d2cc transparent; scrollbar-gutter: stable; scrollbar-width: thin; }
.community-hub-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; min-width: 0; align-items: stretch; flex: 0 0 auto; gap: .2rem; border: 1px solid var(--line); border-radius: .9rem; background: #fff; }
.community-hub-card:hover, .community-hub-card.active { border-color: var(--community-accent); background: color-mix(in srgb, var(--community-accent) 5%, white); }
.community-hub-card.is-vip { background: color-mix(in srgb, var(--community-accent) 7%, white); }
.community-hub-card.is-vip.active, .community-hub-card.is-vip:hover { border-color: var(--community-accent); }
.community-hub-card-link { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); min-width: 0; align-items: center; gap: .6rem; padding: .62rem .2rem .62rem .62rem; color: var(--ink); text-decoration: none; }
.community-hub-card-link > img { width: 2.6rem; height: 2.6rem; border: 2px solid white; border-radius: .7rem; object-fit: cover; box-shadow: 0 0 0 1px rgba(21,21,26,.08); }
.community-hub-card-copy { display: block; min-width: 0; }
.community-hub-card-copy strong, .community-hub-card-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-hub-card-copy strong { margin-top: .06rem; font-size: .78rem; font-weight: 950; }
.community-hub-card-copy small { margin-top: .22rem; color: var(--muted); font-size: .58rem; font-weight: 750; }
.community-hub-card-copy .community-hub-card-meta { display: flex; align-items: center; gap: 0; }
.community-hub-card-members { display: inline-flex; align-items: center; justify-content: center; gap: .22rem; color: var(--muted); font-size: .65rem; }
.community-hub-card-poll { display: block; overflow: hidden; color: var(--community-accent); font-size: .56rem; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.community-pin-form { display: flex; align-items: center; padding: .35rem; }
.community-pin-form button { display: inline-flex; width: 1.9rem; height: 1.9rem; align-items: center; justify-content: center; border: 0; border-radius: .6rem; background: transparent; color: #b4ada7; font-size: .65rem; }
.community-pin-form button:hover, .community-hub-card.is-pinned .community-pin-form button { background: color-mix(in srgb, var(--community-accent) 18%, white); color: var(--community-accent); }
.community-hub-empty { display: grid; justify-items: center; gap: .35rem; padding: 2rem 1rem; color: var(--muted); text-align: center; }
.community-hub-empty > i { display: inline-flex; width: 2.6rem; height: 2.6rem; align-items: center; justify-content: center; margin-bottom: .2rem; border-radius: .85rem; background: color-mix(in srgb, var(--social-accent) 10%, white); color: var(--social-accent); }
.community-hub-empty strong { color: var(--ink); font-size: .78rem; font-weight: 950; }
.community-hub-empty p, .community-hub-welcome p { max-width: 19rem; font-size: .7rem; line-height: 1.5; }
.community-hub-main { display: flex; min-height: 0; flex-direction: column; }
.community-hub-main .community-chat-window { display: flex; width: 100%; height: 100%; min-width: 0; min-height: 0; flex-direction: column; }
.community-chat-header { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) auto; align-items: center; gap: .85rem; border-bottom: 1px solid #f0eeec; padding: 1rem 1.2rem; }
.community-chat-header > img { width: 3.4rem; height: 3.4rem; border: 2px solid white; border-radius: .9rem; object-fit: cover; box-shadow: 0 0 0 1px rgba(21,21,26,.1); }
.community-chat-heading { display: flex; min-width: 0; flex-direction: column; justify-content: center; }
.community-chat-heading h3 { margin: 0; overflow: hidden; font-size: 1.1rem; font-weight: 950; letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.community-chat-heading p { margin-top: .28rem; overflow: hidden; color: var(--muted); font-size: .65rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.community-chat-power { display: inline-flex; align-items: center; gap: .25rem; color: var(--muted); font-size: .65rem; font-weight: 850; white-space: nowrap; }
.community-chat-power-value { display: inline-flex; align-items: center; gap: .2rem; color: var(--ink); }
.community-chat-power-value strong { font-weight: 950; }
.community-chat-power .power-coin { width: .95rem; height: .95rem; font-size: .4rem; }
@media (min-width: 761px) {
    .community-chat-power-value strong { font-size: .78rem; }
}
.community-hub-main .community-composer { width: auto; max-width: none; margin: 1rem 1.2rem .85rem; }
.community-hub-main .community-messages { width: auto; max-width: none; min-height: 0; flex: 1 1 auto; align-content: start; align-items: start; grid-auto-rows: max-content; margin: 0 1.2rem 1rem; overflow-y: auto; padding: .05rem .15rem .15rem 0; scrollbar-color: #d8d2cc transparent; scrollbar-gutter: stable; scrollbar-width: thin; }
.community-hub-main .community-message { width: 100%; }
.community-hub-main .social-load-more { margin-bottom: 1rem; }
.community-hub-welcome { display: flex; min-height: 0; flex: 1 1 auto; align-items: center; justify-content: center; flex-direction: column; gap: .6rem; padding: 2rem; color: var(--muted); text-align: center; }
.community-hub-welcome-icon { display: inline-flex; width: 4rem; height: 4rem; align-items: center; justify-content: center; border-radius: 1.2rem; background: color-mix(in srgb, var(--brand-accent) 11%, white); color: var(--brand-accent); font-size: 1.35rem; }
.community-hub-welcome h2 { color: var(--ink); font-size: 1.25rem; font-weight: 950; letter-spacing: -.05em; }
.community-hub-card { transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }

@media (max-width: 760px) {
    .communities-intro .section-title { font-size: 1.6rem; }
    .community-hub { --community-panel-height: min(36rem, calc(100vh - 9rem)); }
    .community-hub { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
    .community-hub-sidebar, .community-hub-main { width: 100%; }
    .community-hub-sidebar { position: static; max-height: var(--community-panel-height); overflow: hidden; }
    .community-hub-nav:not([open]) .community-hub-nav-content { display: none; }
    .community-hub-nav > summary { padding: .85rem .95rem; }
    .community-hub-list { max-height: none; padding-bottom: .6rem; }
    .community-hub-main { max-height: var(--community-panel-height); }
    .community-hub-main .community-chat-header { grid-template-columns: 2.8rem minmax(0, 1fr); padding: .85rem .9rem; }
    .community-hub-main .community-chat-header > img { width: 2.8rem; height: 2.8rem; border-radius: .75rem; }
    .community-hub-main .community-chat-heading { min-height: 2.8rem; }
    .community-hub-main .community-chat-power { grid-column: 2; justify-self: start; margin-top: -.4rem; }
    .community-hub-main .community-composer { margin: .8rem .85rem .7rem; }
    .community-hub-main .community-messages { max-height: none; margin: 0 .85rem .85rem; overflow-y: auto; }
    .community-hub-welcome { min-height: 0; }
}

/* Keep hub tooltips visible without changing the message viewport's scrollbar state. */
.community-hub-main .social-author .user-badge-tooltip { top: calc(100% + .6rem); bottom: auto; }
.community-hub-main .social-author .user-badge-tooltip::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--ink); }

/* Web-app interaction contract: shared affordances and lightweight async feedback. */
html { scroll-behavior: smooth; }
:where(a[href], button, summary, [role="button"], input[type="submit"], input[type="button"]) { cursor: pointer; }
:where(button:disabled, [aria-disabled="true"]) { cursor: not-allowed; }
summary { user-select: none; }
[aria-busy="true"] { cursor: progress; }
button[aria-busy="true"], button.is-pending { cursor: progress; }
#leaderboard[aria-busy="true"] { opacity: .68; }
.search-live.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 1.25rem; color: var(--hot); font-size: .7rem; font-weight: 950; letter-spacing: .17em; line-height: 1; text-transform: uppercase; }
details > summary { transition: color .18s ease, background-color .18s ease; }
details[open] > summary { color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
    .market-card,
    .category-card,
    .power-earn-card,
    .power-pack-card,
    .trophy-card,
    .profile-achievement,
    .social-sign-in,
    .community-pill,
    .community-card,
    .boost-signin-card,
    .social-comment,
    .community-message,
    .cms-clean-card,
    .cms-clean-list-card {
        transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
    }

    .leaderboard-row { transition: background-color .18s ease, border-color .18s ease; }
    .mobile-menu:not(.hidden) { animation: favz-menu-in .2s ease-out both; }
    .reply-composer[open] form,
    .cms-clean-add-card[open] .cms-clean-form,
    .cms-clean-add-option[open] .cms-clean-form { animation: favz-panel-in .2s ease-out both; }

    @media (hover: hover) {
        .mobile-menu-button:hover { border-color: var(--brand-accent); background: color-mix(in srgb, var(--brand-accent) 8%, white); color: var(--brand-accent); transform: translateY(-1px); }
        .social-sign-in:hover,
        .community-pill:hover,
        .social-load-more:hover,
        .power-earn-card:hover,
        .power-pack-card:hover { transform: translateY(-1px); }
        .mobile-menu a:hover i { color: var(--brand-accent); transform: translateX(2px); }
    }

    :where(button:not(:disabled), [role="button"], summary, a.btn, a.filter-pill):active { transform: translateY(1px); }
}

@keyframes favz-menu-in { from { opacity: 0; transform: translateY(-.35rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes favz-panel-in { from { opacity: 0; transform: translateY(-.25rem); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
}

/* Final responsive contract for the shared poll, social, profile, and community pieces. */
.trophy-tier-label,
.social-rarity-pill { font-style: normal; }

.boost-toggle {
    justify-content: center;
    background: oklch(37.3% .034 259.733);
    box-shadow: 0 4px 0 oklch(27.8% .033 256.848), 0 8px 14px rgba(21,21,26,.1);
}
.boost-toggle:hover,
.boost-toggle.is-open {
    background: oklch(42% .034 259.733);
    box-shadow: 0 5px 0 oklch(27.8% .033 256.848), 0 9px 16px rgba(21,21,26,.12);
}
.leaderboard-power { gap: .25rem; }
.leaderboard-power > span:last-child { min-width: 0; text-align: left; }

/* Google accounts may have no country or birth year. Keep their compact
   profile summary balanced on desktop and reduce it to two cards on mobile. */
.profile-stats.is-minimal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 42rem;
}

@media (max-width: 760px) {
    /* Keep entity media square when the mobile row gives the option name less room. */
    .leaderboard-avatar {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
        aspect-ratio: 1 / 1;
    }

    .market-card-foot {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: .55rem;
    }
    .market-power-summary { min-width: 0; }
    .market-open { flex: 0 0 auto; white-space: nowrap; }

    .profile-stat-member-since { display: none; }
    .profile-stats.is-minimal { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .poll-toolbar-groups { gap: .35rem; }
    .poll-social-tabs { margin-top: -.1rem; padding-top: .45rem; }

    .leaderboard-row {
        grid-template-columns: 2.1rem 2.5rem minmax(0, 1fr) auto auto;
        grid-template-areas:
            "rank avatar option power action";
        column-gap: .45rem;
        row-gap: 0;
    }
    .leaderboard-row > :nth-child(1) { grid-area: rank; }
    .leaderboard-row > :nth-child(2) { grid-area: avatar; }
    .leaderboard-row > :nth-child(3) { grid-area: option; }
    .leaderboard-row > :nth-child(4) { grid-area: power; justify-self: end; }
    .leaderboard-row > :nth-child(5) { grid-area: action; justify-self: end; width: auto; margin-top: 0; transform: translateX(2px); }
    .leaderboard-option strong { font-size: .82rem; }
    .leaderboard-action .boost-toggle {
        width: 2.4rem;
        min-width: 2.4rem;
        height: 2.4rem;
        min-height: 2.4rem;
        justify-content: center;
        gap: 0;
        padding: 0;
    }
    .leaderboard-action .boost-toggle-label { display: none; }

    /* Keep the conversation controls centered and use one shared flow gap. */
    .comments-toolbar {
        align-items: center;
        flex-direction: column;
        gap: .35rem;
    }
    .comments-toolbar > p { display: none; }
    .comment-sort {
        width: 100%;
        justify-content: center;
    }
    .social-composer,
    .social-sign-in,
    .social-restriction-card,
    .comment-list {
        margin-top: 1rem;
    }

    /* Chat messages keep the long-press menu; comments expose the same menu
       through a compact trigger beside Like and Reply. */
    .social-moderation-mobile-trigger { display: none; }

    /* Remove decorative leading icons where a narrow row would otherwise wrap. */
    .low-power-banner > i,
    .verification-banner > i,
    .global-event-banner > i,
    .daily-drop-banner > i,
    .social-empty > i,
    .community-hub-empty > i,
    .community-hub-welcome-icon,
    .social-sign-in > i,
    .social-restriction-icon { display: none; }

    .community-chat-header,
    .community-hub-main .community-chat-header {
        grid-template-columns: 2.8rem minmax(0, 1fr) auto;
        gap: .6rem;
    }
    .community-chat-power,
    .community-hub-main .community-chat-power {
        grid-column: auto;
        justify-self: end;
        margin-top: 0;
    }
    .community-hub { --community-panel-height: min(42rem, calc(100vh - 7rem)); }
    .community-hub-sidebar:has(.community-hub-nav:not([open])) {
        height: auto;
        max-height: none;
    }
    .community-hub-nav:not([open]) {
        display: block;
        flex: 0 0 auto;
        height: auto;
    }
    .community-hub-nav:not([open]) .community-hub-nav-content { display: none; }
    .community-hub-main .community-messages { min-height: 18rem; }
}

/* Touch badges open on tap or long-press. The tooltip is an overlay, so it
   never reserves space or moves the profile content. */
@media (max-width: 760px) {
    .user-badge { touch-action: manipulation; }
    .user-badge:not(.is-tooltip-open):is(:hover, :focus, :focus-within) .user-badge-tooltip {
        display: none;
    }
    .user-badge.is-tooltip-open .user-badge-tooltip {
        display: block;
    }
    .social-author .user-badge.is-tooltip-open .user-badge-tooltip,
    .profile-hero-card .user-badge.is-tooltip-open .user-badge-tooltip {
        display: flex;
        flex-direction: column;
    }
    .profile-hero-card:has(.user-badge:hover, .user-badge:focus, .user-badge:focus-within) .profile-bio {
        margin-top: 1.7rem;
    }
}

/* Mobile-only interaction polish. Keep the desktop rhythm and controls intact. */
@media (max-width: 760px) {
    .hero-actions .hero-cta {
        font-size: .78rem;
        padding-inline: .75rem;
        white-space: nowrap;
    }

    .activity-track { animation-duration: 78s; }
    .poll-hero-v2 h1 { letter-spacing: -.055em; }

    .auth-shell.auth-page {
        min-height: auto;
        align-items: flex-start;
        padding: 1.25rem .75rem 2rem;
    }
    .auth-page .auth-card { margin-top: 0; }

    .social-composer input,
    .social-composer textarea,
    .reply-composer input,
    .reply-composer textarea {
        font-size: 16px;
    }

    .social-comment-content {
        position: relative;
    }
    .social-comment-content > .social-moderation-actions {
        top: auto;
        right: .65rem;
        bottom: 1.1rem;
    }
    .social-comment-content > .social-moderation-actions > .social-moderation-mobile-trigger {
        display: inline-flex;
    }
    .social-comment-content > .social-body { padding-right: 0; }
    .social-comment-content > .comment-actions { padding-right: 2.1rem; }
    .social-comment-content:has(> .comment-actions > .reply-composer[open]) > .social-moderation-actions {
        bottom: calc(4.05rem + 1.1rem);
    }
    .community-message .social-moderation-mobile-trigger { display: none; }
}

/* Stable category cards: the card grows with the grid row while the
   subcategory area reserves exactly two complete pill rows. This prevents a
   long category name or a narrow viewport from pushing pills underneath the
   card edge. */
.category-card {
    aspect-ratio: auto;
    height: auto;
    min-height: 0;
    justify-content: flex-start;
    gap: .75rem;
    overflow: hidden;
}
.category-card-head,
.category-cta { flex: 0 0 auto; }
.category-subchips {
    display: flex;
    width: 100%;
    min-height: 4.55rem;
    max-height: 4.55rem;
    align-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
}
.category-subchips span {
    line-height: 1.25;
}
.category-cta { margin-top: 0; }

.verification-page { padding: 1.5rem 1rem; }
.verification-card {
    max-width: 37.5rem;
    padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 5vw, 3.25rem);
    box-shadow: 0 8px 24px rgba(21, 21, 26, .045);
}
.verification-icon {
    display: flex;
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border-radius: 1.25rem;
    background: #f3f1ef;
    color: var(--ink);
    font-size: 2rem;
}
.verification-icon.is-success { background: #dcf8ee; color: #117654; }
.verification-title { margin: 1.3rem 0 0; font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 950; letter-spacing: -.07em; line-height: 1; }
.verification-copy { margin: .75rem auto 0; max-width: 30rem; color: #66636a; font-size: 1rem; line-height: 1.55; }
.verification-action { margin-top: 1.5rem; }

@media (max-width: 760px) {
    .category-card { min-height: 0; }
    .category-subchips { min-height: 4.55rem; max-height: 4.55rem; }
}
@media (max-width: 420px) {
    .category-card { min-height: 0; }
    .category-subchips { min-height: 4.55rem; max-height: 4.55rem; }
}

/* CMS cold-start helpers */
.cms-seeding-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
    gap: .9rem;
    align-items: start;
}
.cms-seeding-card { min-width: 0; }
.cms-seeding-result {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .9rem;
    border: 1px solid #c9ecd9;
    border-radius: .75rem;
    background: #f1fff7;
    color: #187650;
    padding: .7rem .85rem;
    font-size: .72rem;
    font-weight: 850;
}
.cms-seeding-result i { color: #159c6e; }
.cms-seeding-fieldset {
    margin-top: .85rem;
    border: 1px solid #eee9e5;
    border-radius: .8rem;
    padding: .8rem;
}
.cms-seeding-fieldset-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .6rem;
    color: #6f6a72;
    font-size: .7rem;
    font-weight: 900;
}
.cms-seeding-fieldset-head small { color: #99949a; font-size: .62rem; font-weight: 750; }
.cms-seeding-bot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.cms-seeding-bot {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: .5rem !important;
    min-width: 0;
    border: 1px solid #eee9e5;
    border-radius: .65rem;
    background: #fff;
    padding: .55rem .6rem;
    cursor: pointer;
}
.cms-seeding-bot:has(input:checked) { border-color: #9fdcc1; background: #f1fff7; }
.cms-seeding-bot input { flex: 0 0 auto; width: auto; accent-color: #159c6e; }
.cms-seeding-bot > span { min-width: 0; }
.cms-seeding-bot strong, .cms-seeding-bot small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cms-seeding-bot strong { color: var(--ink); font-size: .7rem; font-weight: 900; }
.cms-seeding-bot strong i { color: #159c6e; font-size: .62rem; }
.cms-seeding-bot small { margin-top: .15rem; color: #99949a; font-size: .6rem; font-weight: 750; }
.cms-seeding-bot .power-coin { display: inline-flex; }
.cms-seeding-warning {
    display: flex;
    gap: .55rem;
    margin: .2rem 0 1rem;
    border-radius: .75rem;
    background: #fff7eb;
    color: #86621c;
    padding: .75rem;
    font-size: .7rem;
    line-height: 1.45;
}
.cms-seeding-warning i { color: #d08e1a; padding-top: .1rem; }
.cms-seeding-run { margin-top: .9rem; }
.cms-seeding-run-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; }
.cms-seeding-run-list span { display: flex; flex-direction: column; gap: .15rem; min-width: 0; border-radius: .6rem; background: #faf9f7; padding: .55rem; }
.cms-seeding-run-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: .68rem; }
.cms-seeding-run-list small { color: #88838a; font-size: .6rem; }
@media (max-width: 900px) {
    .cms-seeding-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .cms-seeding-bot-grid { grid-template-columns: 1fr; }
    .cms-seeding-run-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Entity image frames: prefer square-ish source assets so products, logos,
   portraits, and the initials fallback remain clear at thumbnail size. */
.media-icon--option {
    background: #f7f6f4;
}
.market-leader {
    grid-template-columns: 1.35rem 2.25rem minmax(0, 1fr) auto;
}
.market-avatar {
    width: 2.25rem;
    height: 2.25rem;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: .12rem;
    border-radius: .6rem;
    background: #f7f6f4;
}
.leaderboard-head {
    grid-template-columns: 2.25rem 2.55rem minmax(0, 1fr) 7rem 8rem;
}
.leaderboard-row {
    grid-template-columns: 2.25rem 2.55rem minmax(0, 1fr) 7rem 8rem;
}
.leaderboard-avatar {
    width: 2.55rem;
    height: 2.55rem;
    min-width: 2.55rem;
    min-height: 2.55rem;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: .14rem;
    border-radius: .7rem;
    background: #f7f6f4;
}
.cms-option-clean-image {
    width: 3.1rem;
    height: 2.05rem;
    aspect-ratio: 1.51 / 1;
    object-fit: contain;
    padding: .16rem .28rem;
    border-radius: .55rem;
    background: #f7f6f4;
}
@media (max-width: 1180px) {
    .leaderboard-row {
        grid-template-columns: 2.1rem 2.5rem minmax(0, 1fr);
    }
}
@media (max-width: 760px) {
    .market-avatar {
        width: 2.15rem;
        height: 2.15rem;
    }
    .market-leader {
        grid-template-columns: 1.35rem 2.15rem minmax(0, 1fr) auto;
    }
    .leaderboard-row {
        grid-template-columns: 2.1rem 2.5rem minmax(0, 1fr) auto auto;
    }
    .leaderboard-avatar {
        width: 2.5rem;
        height: 2.5rem;
        min-width: 2.5rem;
        min-height: 2.5rem;
        aspect-ratio: 1 / 1;
    }
}
@media (max-width: 420px) {
    .market-avatar {
        width: 2rem;
        height: 2rem;
    }
    .market-leader {
        grid-template-columns: 1.35rem 2rem minmax(0, 1fr) auto;
    }
    .leaderboard-row {
        grid-template-columns: 2.1rem 2.35rem minmax(0, 1fr) auto auto;
    }
    .leaderboard-avatar {
        width: 2.35rem;
        height: 2.35rem;
        min-width: 2.35rem;
        min-height: 2.35rem;
    }
}
