/* One coherent beta palette. Colors only; all auth/payment/data logic stays owned by existing modules. */
html[data-brand-refresh=v2],html[data-brand-refresh=v2] #phone,html[data-brand-refresh=v2] #modal,html[data-brand-refresh=v2] #mw-root{--bg:#09232b!important;--surface:#12313a!important;--surface2:#1b3b44!important;--surface-2:#1b3b44!important;--ink:#f6f9f5!important;--text:#f6f9f5!important;--mut:#b5c8ca!important;--muted:#b5c8ca!important;--text-secondary:#b5c8ca!important;--line:#34505a!important;--border:#34505a!important;--border-strong:#47636b!important;--accent:#d3fa75!important;--accent-soft:#d3fa751a!important;--brand-fill:#d3fa75!important;--brand-text:#d3fa75!important;--brand-soft:#d3fa751a!important;--brand-ink:#102a2a!important;--chip:#1b3b44!important;--glass:#12313ae8!important;color-scheme:dark;color:var(--ink)}
html[data-brand-refresh=v2][data-theme=light],html[data-brand-refresh=v2][data-theme=light] #phone,html[data-brand-refresh=v2][data-theme=light] #modal,html[data-brand-refresh=v2][data-theme=light] #mw-root{--bg:#f4f6f0!important;--surface:#fff!important;--surface2:#e7eee7!important;--surface-2:#e7eee7!important;--ink:#112d35!important;--text:#112d35!important;--mut:#52696b!important;--muted:#52696b!important;--text-secondary:#52696b!important;--line:#d7dfd8!important;--border:#d7dfd8!important;--border-strong:#bdccc4!important;--accent:#315b3b!important;--accent-soft:#d3fa7533!important;--brand-fill:#d3fa75!important;--brand-text:#24553c!important;--brand-soft:#d3fa7533!important;--brand-ink:#102a2a!important;--chip:#e7eee7!important;--glass:#ffffffeb!important;color-scheme:light}
html[data-brand-refresh=v2] body,html[data-brand-refresh=v2] #phone,html[data-brand-refresh=v2] #scroll{background:var(--bg)!important;color:var(--ink)!important}
html[data-brand-refresh=v2] #phone .topbar,html[data-brand-refresh=v2] #phone .topbar-inner{background:var(--surface)!important;border-color:var(--border)!important}
html[data-brand-refresh=v2] #phone .brand-domain{color:var(--brand-text)!important}
html[data-brand-refresh=v2] #modal #sheet{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--border)!important}
html[data-brand-refresh=v2] #modal :is(.auth-method,.auth-terms-card,.terms-consent,.auth-hint,.field input,.field textarea,.field select){background:var(--surface-2)!important;color:var(--ink)!important;border-color:var(--border)!important}
html[data-brand-refresh=v2] #modal :is(#emailOtpSeg,#authSeg) button[style*="var(--accent)"]{background:#d3fa75!important;color:#102a2a!important;border-color:#d3fa75!important}
html[data-brand-refresh=v2] #phone :is(.trade-badge,.help-contact .primary,.sell-plus,.service-request-btn){background:#d3fa75!important;color:#102a2a!important}
html[data-brand-refresh=v2] #phone :is(.trade-badge,.help-contact .primary,.sell-plus,.service-request-btn) :is(span,svg){color:#102a2a!important}
html[data-brand-refresh=v2] #phone :is(.smart-auth-mark,.v21-member-icon,.payment-lock,.payment-method-card.on .payment-method-check,.sell-flow-progress span.on b,.v4-brand-filter button.on,.v4-finder-icon,.v5-budgets button.on,.v5-intents button.on i,.v5-result-count,.v5-show,.listing-responsibility-mark){background:#d3fa75!important;color:#102a2a!important;border-color:#d3fa75!important}
html[data-brand-refresh=v2] #phone :is(.smart-auth-mark,.v21-member-icon,.payment-lock,.payment-method-card.on .payment-method-check,.v4-brand-filter button.on,.v4-finder-icon,.v5-budgets button.on,.v5-intents button.on i,.v5-result-count,.v5-show,.listing-responsibility-mark) :is(span,svg,strong,b){color:#102a2a!important}
html[data-brand-refresh=v2] :is(#phone,#modal) .listing-photo-preview.is-primary button{background:#d3fa75!important;color:#102a2a!important;border-color:#d3fa75!important}
html[data-brand-refresh=v2] :is(#phone,#modal) .listing-photo-preview.is-primary button :is(span,svg){color:#102a2a!important}
html[data-brand-refresh=v2] #phone :is(.acct-top,.acct-row,.v4-account-card,.v4-row,.v4-account-group,.profile-session-actions,.notification-item,.dt-specs,.spec,.seller,.card,.dt-price-card,.dt-info-card,.myad-card){background-color:var(--surface)!important;color:var(--ink)!important;border-color:var(--border)!important}
html[data-brand-refresh=v2] #phone :is(.acct-row .t,.acct-top .nm,.v4-row-main,.dt-title,.spec .v,.seller .snm){color:var(--ink)!important}
html[data-brand-refresh=v2] #phone :is(.card .price,.dt-price,#simRow .price){color:var(--brand-text)!important}
html[data-brand-refresh=v2] :is(#phone,#modal,#mw-root) :is(.submit,.v2-search button,.v21-member-join,.mw-send,.v3-action-grid button.primary,.v3-smart-builder button,#profileLogout){background:#d3fa75!important;color:#102a2a!important;border-color:#d3fa75!important}
html[data-brand-refresh=v2] :is(#phone,#modal,#mw-root) :is(.submit,.v2-search button,.v21-member-join,.mw-send,.v3-action-grid button.primary,.v3-smart-builder button,#profileLogout) :is(span,strong,b,svg){color:#102a2a!important}
html[data-brand-refresh=v2] #phone #sortChips .chip.on,html[data-brand-refresh=v2] #phone #viewToggle button.on{background:#d3fa75!important;color:#102a2a!important;border-color:#d3fa75!important}
html[data-brand-refresh=v2] #phone #viewToggle button.on :is(span,svg),html[data-brand-refresh=v2] #phone #sortChips .chip.on :is(span,svg){color:#102a2a!important;stroke:currentColor!important}
html[data-brand-refresh=v2] #phone :is(.seg .o.on,.tier .o.on){background:#d3fa75!important;color:#102a2a!important;border-color:#d3fa75!important}
html[data-brand-refresh=v2] #phone :is(.seg .o.on,.tier .o.on) :is(span,strong,b,small,svg){color:#102a2a!important}
html[data-brand-refresh=v2] #phone .dt-gallery,html[data-brand-refresh=v2] #phone .dt-hero{background:#10272e!important;border-color:var(--border)!important}
html[data-brand-refresh=v2] .twsm-root{--sm-bg:#09232b;--sm-surface:#12313a;--sm-ink:#f6f9f5;--sm-mut:#b5c8ca;--sm-line:#34505a;--sm-soft:#1b3b44;--sm-brand:#d3fa75;--sm-brand-soft:#d3fa751a;--sm-in:#1b3b44;--sm-out:#d3fa75;--sm-out-meta:#345b38;background:var(--sm-bg);color:var(--sm-ink)}
html[data-brand-refresh=v2][data-theme=light] .twsm-root{--sm-bg:#f4f6f0;--sm-surface:#fff;--sm-ink:#112d35;--sm-mut:#52696b;--sm-line:#d7dfd8;--sm-soft:#e7eee7;--sm-brand:#315b3b;--sm-brand-soft:#e2edcc;--sm-in:#fff;--sm-out:#d3fa75;--sm-out-meta:#345b38}
html[data-brand-refresh=v2] .twsm-message.mine{background:#d3fa75!important;color:#102a2a!important;border:1px solid #b8db62}
html[data-brand-refresh=v2] .twsm-message.mine :is(p,span,small,button){color:#102a2a!important}
html[data-brand-refresh=v2] .twsm-message.mine .twsm-message-meta{color:#345b38!important}
html[data-brand-refresh=v2] .twsm-message.mine .twsm-read{color:#24513d!important}
html[data-brand-refresh=v2] .twsm-compose>button,html[data-brand-refresh=v2] .twsm-primary,html[data-brand-refresh=v2] .twsm-badge{background:#d3fa75!important;border-color:#d3fa75!important;color:#102a2a!important}
html[data-brand-refresh=v2] .twsm-compose>button svg{color:#102a2a!important;stroke:currentColor}
html[data-brand-refresh=v2] .twsm-inbox-list{background:var(--sm-bg)}
html[data-brand-refresh=v2] .twsm-thread{margin:8px 10px;width:calc(100% - 20px);border:1px solid var(--sm-line);border-radius:17px;min-height:100px;background:var(--sm-surface)}
html[data-brand-refresh=v2] .twsm-thread.selected{background:var(--sm-brand-soft)}
html[data-brand-refresh=v2] .twsm-head,html[data-brand-refresh=v2] .twsm-compose-area,html[data-brand-refresh=v2] .twsm-inbox-tools{background:var(--sm-surface);border-color:var(--sm-line)}
html[data-brand-refresh=v2] .twsm-inbox-tabs button.on{background:#d3fa75!important;color:#102a2a!important}
html[data-brand-refresh=v2] #mw-root :is(.mw-panel,.mw-body,.mw-header,.mw-compose){background:var(--surface)!important;color:var(--ink)!important;border-color:var(--border)!important}
/* Restore the intended Home hierarchy after the legacy iOS blanket inherit rule.
   Every role scales with native Dynamic Type rather than fixing an unscalable size. */
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh]{font-family:Alexandria,-apple-system,sans-serif!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-intro h1{font-size:calc(25px * var(--sport-font-scale,1))!important;font-weight:750!important;line-height:1.45!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-hero h2{font-size:calc(29px * var(--sport-font-scale,1))!important;font-weight:750!important;line-height:1.45!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-hero-label{font-size:calc(9px * var(--sport-font-scale,1))!important;font-weight:600!important;line-height:1.6!important;letter-spacing:1.6px!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-hero p{font-size:calc(12px * var(--sport-font-scale,1))!important;line-height:1.8!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-hero-sign{font-size:calc(8px * var(--sport-font-scale,1))!important;line-height:1.6!important;letter-spacing:1px!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-kicker{font-size:calc(10px * var(--sport-font-scale,1))!important;font-weight:500!important;line-height:1.6!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] :is(.hr-section-head h2,.hr-sell h2){font-size:calc(21px * var(--sport-font-scale,1))!important;font-weight:700!important;line-height:1.5!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] :is(.hr-return h2,.hr-tool strong){font-size:calc(14px * var(--sport-font-scale,1))!important;font-weight:650!important;line-height:1.6!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] :is(.hr-return p,.hr-sell p,.hr-tool small){font-size:calc(12px * var(--sport-font-scale,1))!important;line-height:1.8!important}
html[data-tw-sport=true][data-brand-refresh=v2] #phone #s-home[data-home-refresh] .hr-hero-content{max-width:82%;padding:23px}
@media(prefers-reduced-motion:reduce){html[data-brand-refresh=v2] .twsm-root *{scroll-behavior:auto!important;transition:none!important}}

/* 2026-10-16: quiet, palette-coordinated featured mark only.
   Existing state, positioning, layering, accessible label and hit testing remain owned by the original markup/rules. */
html[data-brand-refresh=v2] body #phone .featured-star{
  width:28px!important;height:28px!important;min-width:28px!important;
  padding:0!important;border-radius:10px!important;
  border:1px solid rgba(211,250,117,.38)!important;
  background:linear-gradient(145deg,rgba(31,65,72,.96),rgba(9,35,43,.94))!important;
  color:#d3fa75!important;
  box-shadow:0 2px 7px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.12)!important;
  -webkit-backdrop-filter:blur(10px) saturate(125%);
  backdrop-filter:blur(10px) saturate(125%);
  animation:none!important;
}
html[data-brand-refresh=v2] body #phone .featured-star>svg{
  width:14px!important;height:14px!important;color:inherit!important;
  fill:currentColor!important;stroke:none!important;opacity:1!important;
}
html[data-brand-refresh=v2] body #phone .featured-star>span{display:none!important}
html[data-brand-refresh=v2][data-theme=light] body #phone .featured-star{
  border-color:rgba(49,91,59,.24)!important;
  background:linear-gradient(145deg,rgba(244,255,225,.98),rgba(216,239,174,.96))!important;
  color:#102a2a!important;
  box-shadow:0 2px 7px rgba(16,42,42,.12),inset 0 1px 0 rgba(255,255,255,.75)!important;
}
