/* Page redesign (Brady's REDO mockups, November 14). Loaded last. The banners and coin tile rows stay; everything
   under them follows the mockups' layout in the site's own colors (charcoal surfaces, silver lines, blue actions).
   Shared pieces first (one button size, page titles, tab bars, filter bars, empty panels), then each page. */

:root{
  --rd-radius:14px;--rd-btn-h:40px;--rd-pill-h:36px;
  --rd-card:var(--cm-card,#fff);--rd-card2:var(--cm-card2,#f6f7f8);--rd-line:var(--cm-line,#e2e5e9);
  --rd-text:var(--cm-text,#16191d);--rd-muted:var(--cm-muted,#6b7179);--rd-field:var(--cm-btn,#fff);--rd-field-line:var(--cm-btn-line,#d6d9de);
  --rd-blue:var(--v2-blue,#1560cb);--rd-blue-fill:var(--v2-post,linear-gradient(180deg,#2f7bf5,#1560cb));
  --rd-ico-bg:rgba(21,96,203,.10);--rd-ico-line:rgba(58,139,255,.35);--rd-ico:#2f7bf5;
  --rd-green:#2fb36d
}
html[data-theme=dark]{--rd-ico-bg:rgba(21,96,203,.14);--rd-ico-line:rgba(58,139,255,.4);--rd-ico:#5aa0ff}
.rd-svg{width:18px;height:18px;flex:0 0 auto}

/* ---- One button size across the site ----
   Every action button in a page or pop-up is 40px tall with 14px text; tiles, tabs, chips and icon buttons keep
   their own shapes. */
html:not(#v2) body :is(#content,#modal,.cx-side,.mk-side) :is(button.primary,button.secondary,a.primary,a.secondary,.cm-btn:not(.cm-compose-input):not(.cm-ico):not(.v2-compose-coin),.v2-post-btn,.cx-chat-btn,.cx-filter-btn,.hero-button,.rd-btn){
  min-height:var(--rd-btn-h);height:var(--rd-btn-h);padding:0 18px;font-size:14px;font-weight:600;line-height:1;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;box-sizing:border-box;text-decoration:none
}
html:not(#v2) body :is(#content,#modal) :is(button,a):is(.primary,.secondary) .rd-svg{width:17px;height:17px}
html:not(#v2) body #content .v2-compose-coin{min-height:var(--rd-btn-h);height:var(--rd-btn-h);padding:0 14px;border-radius:10px}
html:not(#v2) body #content :is(.secondary,.cm-btn:not(.gold)):not(.active):not([aria-pressed=true]){background:var(--rd-field);border:1px solid var(--rd-field-line);color:var(--rd-text)}
html:not(#v2)[data-theme=dark] body #content :is(.secondary,.cm-btn:not(.gold)):not(.active):not([aria-pressed=true]){background:var(--ap-btn,#121416);border-color:var(--ap-btn-line,#34373b);color:#f1f3f5}
html:not(#v2) body #content :is(.secondary,.cm-btn:not(.gold)):not(.active):not([aria-pressed=true]):hover{border-color:#5a8fd8}
/* Item-window buttons on narrow screens: text that can't fit wraps inside the button (still at least 40px tall)
   instead of spilling past the window's edge, as dialogs-v2.css intends; .dv-short is the phone wording of a long label. */
.dv-short{display:none}
@media (max-width:850px){
  html:not(#v2) body #modal .dv-acts .dlg-foot-btns>:is(.primary,.secondary){height:auto;max-width:100%;padding:8px 12px;white-space:normal;line-height:1.2;text-align:center}
}
@media (max-width:640px){.dv-acts .dv-long{display:none}.dv-acts .dv-short{display:inline}}
/* Side cards' buttons sit at their own width, as in the mockups. */
html:not(#v2) body #content .cx-side :is(.primary,.secondary,.cx-chat-btn){width:auto;align-self:flex-start}

/* ---- Page title: the eyebrow, an icon tile, the title and its line ---- */
html:not(#v2) #content .page-heading .eyebrow{color:var(--rd-muted)!important;font-size:11px;font-weight:600;letter-spacing:3px;display:flex;align-items:center;gap:10px}
html:not(#v2) #content .page-heading .eyebrow::before{content:"";width:18px;height:2px;background:currentColor;opacity:.7}
html:not(#v2) #content .page-heading.rd-has-ico{display:grid;grid-template-columns:auto 1fr;column-gap:18px;align-items:center}
html:not(#v2) #content .page-heading.rd-has-ico .eyebrow{grid-column:1/-1;margin-bottom:10px}
html:not(#v2) #content .page-heading.rd-has-ico .rd-hico{grid-row:span 2}
html:not(#v2) #content .page-heading.rd-has-ico :is(h1,p){grid-column:2;margin-top:0}
html:not(#v2) #content .page-heading h1{font-size:34px;font-weight:800;letter-spacing:-.5px;margin-bottom:4px;line-height:1.15}
html:not(#v2) #content .page-heading p{font-size:14px;color:var(--rd-muted);margin:0}
.rd-hico{display:grid;place-items:center;width:64px;height:64px;border-radius:16px;background:var(--rd-ico-bg);border:1px solid var(--rd-ico-line);color:var(--rd-ico);box-shadow:0 0 18px rgba(21,96,203,.18) inset}
.rd-hico .rd-svg{width:32px;height:32px}
@media (max-width:640px){
  html:not(#v2) #content .page-heading h1{font-size:26px}
  .rd-hico{width:48px;height:48px;border-radius:12px}.rd-hico .rd-svg{width:24px;height:24px}
}

/* ---- Tab bars (Moderation, Professional checks, Business applications): a framed row of icon buttons ---- */
html:not(#v2) #content .rd-tabbar{display:flex;flex-wrap:wrap;gap:12px;padding:12px;margin:18px 0 16px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card);width:fit-content;max-width:100%;box-sizing:border-box;border-bottom:1px solid var(--rd-line)}
html:not(#v2) #content .rd-tabbar>button{min-height:44px;height:44px;padding:0 20px;border-radius:10px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;gap:10px;
  background:var(--rd-field);border:1px solid var(--rd-field-line);color:var(--rd-text);margin:0}
html:not(#v2)[data-theme=dark] #content .rd-tabbar>button{background:var(--ap-btn,#121416);border-color:var(--ap-btn-line,#34373b);color:#f1f3f5}
html:not(#v2) #content .rd-tabbar>button:is(.primary,.active,[aria-pressed=true]){background:var(--rd-blue-fill);border-color:#3a8bff;color:#fff;box-shadow:0 0 14px rgba(47,123,245,.35)}
html:not(#v2) #content .rd-tabbar>button .rd-svg{width:20px;height:20px}
html:not(#v2) #content .rd-tabbar>button::after{display:none}
@media (max-width:640px){html:not(#v2) #content .rd-tabbar{width:100%;gap:8px;padding:8px}html:not(#v2) #content .rd-tabbar>button{padding:0 12px;font-size:13px;flex:1 1 auto;justify-content:center}}

/* ---- Filter bar (Moderation): icon labels, the selects and Reset filters at the end ---- */
html:not(#v2) #content .mod-filters{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;padding:14px 18px;margin:0 0 16px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2) #content .mod-filters label.cx-sort{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;color:var(--rd-text);margin:0}
html:not(#v2) #content .mod-filters label.cx-sort+label.cx-sort{padding-left:22px;border-left:1px solid var(--rd-line)}
html:not(#v2) #content .mod-filters select{min-width:220px;height:var(--rd-btn-h);border-radius:10px}
html:not(#v2) #content .mod-filters .rd-reset{margin-left:auto}
@media (max-width:640px){html:not(#v2) #content .mod-filters label.cx-sort+label.cx-sort{padding-left:0;border-left:0}html:not(#v2) #content .mod-filters select{min-width:0;flex:1}html:not(#v2) #content .mod-filters label.cx-sort{flex:1 1 100%}html:not(#v2) #content .mod-filters .rd-reset{margin-left:0}}

/* ---- Empty panels: a big outlined icon, a title and a line ---- */
html:not(#v2) #content .rd-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:44px 24px 48px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);
  background:radial-gradient(120% 90% at 50% 120%,rgba(21,96,203,.14),transparent 60%),var(--rd-card)}
html:not(#v2) #content .rd-empty-ico{display:grid;place-items:center;color:var(--rd-ico);filter:drop-shadow(0 0 10px rgba(47,123,245,.45));margin-bottom:10px}
html:not(#v2) #content .rd-empty-ico .rd-svg{width:72px;height:72px;stroke-width:1.4}
html:not(#v2) #content .rd-empty h3{font-size:22px;font-weight:800;margin:0;color:var(--rd-text)}
html:not(#v2) #content .rd-empty p{margin:0;color:var(--rd-muted);font-size:14px;max-width:520px}
html:not(#v2) #content .rd-empty-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:14px}

/* ---- A card with an icon tile on the left (Trusted email domains) ---- */
html:not(#v2) #content .rd-note-card{display:flex;align-items:center;gap:20px;padding:20px 22px;border-radius:var(--rd-radius)}
html:not(#v2) #content .rd-note-card h3{margin:0 0 4px;font-size:20px;font-weight:800}
html:not(#v2) #content .rd-note-card p{margin:2px 0 0;color:var(--rd-muted)}
.rd-note-ico{display:grid;place-items:center;flex:0 0 auto;width:64px;height:64px;border-radius:14px;background:var(--rd-ico-bg);border:1px solid var(--rd-ico-line);color:var(--rd-ico);margin-right:4px}
.rd-note-ico .rd-svg{width:32px;height:32px}
html:not(#v2) #content .rd-note-card>div{padding-left:20px;border-left:1px solid var(--rd-line)}

/* ---- Small shared bits: pill switches, a search field, a status pill, an info note ---- */
.rd-pills{display:inline-flex;gap:8px;flex-wrap:wrap}
.rd-pills>button{height:var(--rd-pill-h);padding:0 16px;border-radius:999px;font-size:13px;font-weight:600;background:var(--rd-field);border:1px solid var(--rd-field-line);color:var(--rd-text)}
html[data-theme=dark] .rd-pills>button{background:var(--ap-btn,#121416);border-color:var(--ap-btn-line,#34373b);color:#f1f3f5}
.rd-pills>button:is(.active,[aria-pressed=true]){background:var(--rd-blue-fill);border-color:#3a8bff;color:#fff}
.rd-search{display:flex;align-items:center;gap:10px;height:var(--rd-btn-h);padding:0 14px;border:1px solid var(--rd-field-line);border-radius:10px;background:var(--rd-field);color:var(--rd-muted)}
html[data-theme=dark] .rd-search{background:var(--ap-field,#0e1011);border-color:var(--ap-btn-line,#34373b)}
.rd-search input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;padding:0!important;height:100%;color:var(--rd-text)}
.rd-status{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid var(--rd-ico-line);color:var(--rd-text);white-space:nowrap}
.rd-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#2f7bf5}
.rd-status.off::before{background:var(--rd-muted)}
.rd-note{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid var(--rd-ico-line);border-radius:10px;background:var(--rd-ico-bg);color:var(--rd-text);font-size:13px;margin:16px 0 0}
.rd-note .rd-svg{color:var(--rd-ico)}

/* ---- Support messages: the list on the left, the chosen message on the right ---- */
html:not(#v2) #content .hp-split{display:grid;grid-template-columns:minmax(260px,320px) 1fr;gap:20px;align-items:start;margin-top:20px}
html:not(#v2) #content .hp-list{display:flex;flex-direction:column;gap:14px;padding:16px;margin:0;min-height:420px;border-radius:var(--rd-radius)}
html:not(#v2) #content .hp-rows{display:flex;flex-direction:column;gap:10px}
html:not(#v2) #content .hp-row{display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:12px;text-align:left;padding:12px;border-radius:12px;border:1px solid var(--rd-line);background:transparent;color:var(--rd-text);width:100%}
html:not(#v2) #content .hp-row.active{border-color:#3a8bff;background:var(--rd-ico-bg);box-shadow:0 0 0 1px rgba(58,139,255,.25)}
html:not(#v2) #content .hp-row strong{display:block;font-size:14px}
html:not(#v2) #content .hp-row small{display:block;margin:2px 0 0;font-size:12px;color:var(--rd-muted)}
html:not(#v2) #content .hp-row>.rd-svg{margin-top:2px;color:var(--rd-muted)}
html:not(#v2) #content .hp-detail{margin:0;padding:22px;border-radius:var(--rd-radius)}
html:not(#v2) #content .hp-dhead{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:not(#v2) #content .hp-dhead h2{margin:0;font-size:24px;font-weight:800}
html:not(#v2) #content .hp-dmeta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:8px 0 16px;color:var(--rd-muted);font-size:13px}
html:not(#v2) #content .hp-dmeta>span{display:inline-flex;align-items:center;gap:6px}
html:not(#v2) #content .hp-dmeta>span+span:not(.access-tag){padding-left:18px;border-left:1px solid var(--rd-line)}
html:not(#v2) #content .hp-facts{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2)}
html:not(#v2) #content .hp-facts>div{display:flex;align-items:center;gap:12px;padding:12px 16px;min-width:0}
html:not(#v2) #content .hp-facts>div+div{border-left:1px solid var(--rd-line)}
html:not(#v2) #content .hp-facts small{display:block;margin:0;font-size:11px;color:var(--rd-muted)}
html:not(#v2) #content .hp-facts strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not(#v2) #content .hp-fact-ico{color:var(--rd-muted)}
html:not(#v2) #content .hp-fullname{margin:8px 0 0}
html:not(#v2) #content .hp-msgbox{margin:16px 0;padding:14px 16px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2)}
html:not(#v2) #content .hp-msgbox h3{display:flex;align-items:center;gap:8px;margin:0 0 10px;font-size:14px}
html:not(#v2) #content .hp-msgbox .mod-quote{margin:0;padding:10px 14px;border-left:3px solid #2f7bf5;border-radius:0 8px 8px 0;background:var(--rd-card);white-space:pre-wrap}
html:not(#v2) #content .hp-reply-form>label:first-child{display:flex;align-items:center;gap:8px;font-weight:700}
html:not(#v2) #content .hp-reply-form .modal-actions{justify-content:flex-start;align-items:center;gap:12px;flex-wrap:wrap}
/* Send reply, Mark handled and View member on one line: style.css gives .secondary a 20px top margin. */
html:not(#v2) #content .hp-reply-form .modal-actions>*{margin:0!important}
@media (max-width:900px){html:not(#v2) #content .hp-split{grid-template-columns:1fr}html:not(#v2) #content .hp-list{min-height:0}html:not(#v2) #content .hp-facts{grid-template-columns:1fr}html:not(#v2) #content .hp-facts>div+div{border-left:0;border-top:1px solid var(--rd-line)}}

/* Primary buttons are blue on every page, as on the redesigned ones (the site's blue actions). */
html:not(#v2) body #content :is(button.primary,a.primary,.cm-btn.gold){background:var(--rd-blue-fill);border:1px solid transparent;color:#fff}
html:not(#v2) body #content :is(button.primary,a.primary,.cm-btn.gold):hover{filter:brightness(1.1)}
html:not(#v2) body #content :is(button.primary,a.primary):disabled{opacity:.55;filter:none}
html:not(#v2) .rd-search input,html:not(#v2)[data-theme=dark] .rd-search input{background:transparent!important;border:0!important;box-shadow:none!important;height:100%;min-height:0;padding:0!important;color:var(--rd-text)}
html:not(#v2) #content .hp-split>.panel{margin:0}
html:not(#v2) #content .hp-rows .status-note{background:none;border:0;padding:4px 2px;margin:0;color:var(--rd-muted)}

/* ==== Coin Exchange, Marketplace, Saved and Your listings (Brady's REDO mockups) ==== */
/* The search bar: one framed panel with the field, Filters, a divider and Sort. */
html:not(#v2):not(#rd) body #content .cx-bar{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card);box-shadow:0 0 0 1px rgba(58,139,255,.06),0 8px 24px rgba(0,0,0,.18)}
html:not(#v2):not(#rd) body #content .cx-bar .cx-search{flex:1;min-width:0}
html:not(#v2):not(#rd) body #content .cx-bar :is(.cx-filter-btn,.cx-sort){height:var(--rd-btn-h);min-height:var(--rd-btn-h);border-radius:10px}
html:not(#v2):not(#rd) body #content .cx-bar .cx-tools{display:flex;align-items:center;gap:14px;padding-left:14px;border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .cx-bar .cx-filter-btn{border-color:#3a6fb8}
/* Browse coins / Browse items: an icon, the title, the count and the All / Buy / Trade switch. */
/* Browse coins / items sits 12px under the search bar (Brady, 2026-11-15). */
html:not(#v2):not(#rd) body #content .cx-browse-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:0 0 14px}
html:not(#v2):not(#rd) body #content .cx-main>.cx-bar~.cx-browse{margin-top:-4px}
html:not(#v2):not(#rd) body #content .cx-browse-head h2{font-size:24px;font-weight:800;margin:0}
html:not(#v2):not(#rd) body #content .cx-browse-head>p{margin:0;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .cx-browse-head :is(.cx-modes,.community-tabs){margin-left:auto}
.rd-bico{display:inline-grid;place-items:center;color:var(--rd-text)}.rd-bico .rd-svg{width:28px;height:28px}
html:not(#v2):not(#rd) body #content :is(.cx-modes,.community-tabs)>button{height:var(--rd-pill-h);min-height:var(--rd-pill-h);padding:0 18px;border-radius:999px;font-size:14px;font-weight:600}
html:not(#v2):not(#rd) body #content :is(.cx-modes,.community-tabs)>button:is(.active,[aria-pressed=true]){background:var(--rd-blue-fill);border-color:#3a8bff;color:#fff}

/* Listing cards: photo, badge and save button, then Available | audience, title and price, place, seller | reach,
   and the two buttons side by side. */
html:not(#v2):not(#rd) body #content :is(#grid,#ownGrid,.listing-grid) .listing{display:flex;flex-direction:column;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card);overflow:hidden;padding:0}
html:not(#v2):not(#rd) body #content .listing>a{display:flex;flex-direction:column;flex:1;color:inherit}
html:not(#v2):not(#rd) body #content .listing .listing-visual{border-radius:0;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .listing .tag{display:inline-flex;align-items:center;gap:6px;top:12px;left:12px;height:26px;padding:0 10px;border-radius:999px;background:var(--rd-blue-fill);color:#fff;font-size:12px;font-weight:600;border:0}
html:not(#v2):not(#rd) body #content .listing .tag .rd-svg{width:15px;height:15px}
html:not(#v2):not(#rd) body #content .listing .save{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.35);color:#fff;top:12px;right:12px}
html:not(#v2):not(#rd) body #content .listing .listing-body{padding:12px 16px 4px;display:flex;flex-direction:column;gap:8px}
html:not(#v2):not(#rd) body #content .listing .listing-meta{display:flex;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid var(--rd-line);font-size:12.5px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .listing .listing-meta>span{display:inline-flex;align-items:center;gap:6px;min-width:0}
html:not(#v2):not(#rd) body #content .listing .listing-meta>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html:not(#v2):not(#rd) body #content .listing .rd-avail::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--rd-muted);flex:none}
html:not(#v2):not(#rd) body #content .listing .rd-avail.on::before{background:var(--rd-green);box-shadow:0 0 6px rgba(47,179,109,.7)}
html:not(#v2):not(#rd) body #content .listing .listing-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
html:not(#v2):not(#rd) body #content .listing .listing-top h3{font-size:18px;font-weight:800;margin:0;line-height:1.25}
html:not(#v2):not(#rd) body #content .listing .listing-top .price{font-size:18px;font-weight:800;white-space:nowrap;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .listing :is(.listing-location,.seller>span){display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .listing .seller{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:9px;border-top:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .listing .seller>span:last-child{color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .listing .rd-svg{width:16px;height:16px;flex:none}
html:not(#v2):not(#rd) body #content .listing :is(.cx-card-acts,.listing-controls){display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:12px;padding:12px 16px 16px;margin:0}
html:not(#v2):not(#rd) body #content .listing :is(.cx-card-acts,.listing-controls)>button{width:100%;padding:0 10px}
/* The List a coin / Sell an item card: a plus in a ring, the title, a line and the button. */
html:not(#v2):not(#rd) body #content .cx-list-card{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:10px;padding:28px 24px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:radial-gradient(90% 70% at 50% 100%,rgba(21,96,203,.10),transparent 70%),var(--rd-card)}
html:not(#v2):not(#rd) body #content .cx-list-card .cx-list-plus{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;border:1.5px solid #3a8bff;color:var(--rd-text);background:transparent;box-shadow:0 0 18px rgba(47,123,245,.35)}
html:not(#v2):not(#rd) body #content .cx-list-card .cx-list-plus svg{width:34px;height:34px}
html:not(#v2):not(#rd) body #content .cx-list-card h3{font-size:22px;font-weight:800;margin:6px 0 0}
html:not(#v2):not(#rd) body #content .cx-list-card p{color:var(--rd-muted);max-width:300px;margin:0 0 8px}

/* The side cards: an icon tile, the title, a line and the button or link. */
html:not(#v2):not(#rd) body #content .rd-side{display:flex;flex-direction:column;gap:18px}
html:not(#v2):not(#rd) body #content .rd-promo{display:flex;gap:16px;align-items:flex-start;padding:20px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:radial-gradient(80% 90% at 100% 100%,rgba(21,96,203,.12),transparent 65%),var(--rd-card);margin:0}
.rd-promo-ico{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:14px;background:var(--rd-ico-bg);border:1px solid var(--rd-ico-line);color:var(--rd-ico)}
.rd-promo-ico .rd-svg{width:28px;height:28px}
html:not(#v2):not(#rd) body #content .rd-promo h3{margin:2px 0 6px;font-size:20px;font-weight:800;color:var(--rd-text);font-family:inherit;font-style:normal;text-transform:none;letter-spacing:0;background:none;-webkit-text-fill-color:currentColor}
html:not(#v2):not(#rd) body #content .rd-promo p{margin:0 0 14px;color:var(--rd-muted);font-size:14px;line-height:1.45}
html:not(#v2):not(#rd) body #content .rd-promo .rd-link{display:inline-flex;align-items:center;gap:8px;color:var(--v2-link,#2f7bf5);font-size:15px;font-weight:700;padding:0;height:auto;min-height:0;background:none;border:0}
html:not(#v2):not(#rd) body #content .rd-promo .primary .rd-svg{order:2}

/* Your listings: the actions in one framed bar, vacation mode at the right end. */
html:not(#v2):not(#rd) body #content .rd-actbar{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:12px;margin:18px 0;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2):not(#rd) body #content .rd-actbar .rd-end{margin-left:auto}
@media (max-width:640px){html:not(#v2):not(#rd) body #content .rd-actbar>button{flex:1 1 auto}html:not(#v2):not(#rd) body #content .rd-actbar .rd-end{margin-left:0;flex-basis:100%}
  html:not(#v2):not(#rd) body #content .cx-bar{flex-wrap:wrap}html:not(#v2):not(#rd) body #content .cx-bar .cx-tools{padding-left:0;border-left:0}}

/* Cards are wide enough for the title, price and both buttons (about three to a row on a desktop). */
html:not(#v2):not(#rd) body #content :is(#grid,#ownGrid){display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
html:not(#v2):not(#rd) body #content .listing .listing-top .price{white-space:normal;text-align:right;max-width:45%}
html:not(#v2):not(#rd) body #content .rd-promo .rd-link{justify-content:flex-start;text-align:left;white-space:normal;width:auto}
html:not(#v2):not(#rd) body #content .rd-promo>div{min-width:0;flex:1}

/* ==== Saved listings ==== */
html:not(#v2) #content .page-heading.rd-noeye{margin:6px 0 18px}
html:not(#v2):not(#rd) body #content #grid>.rd-empty{grid-column:1/-1}
html:not(#v2):not(#rd) body #content #grid>.rd-empty h3{font-size:22px}
/* Saved collection coins, Saved posts, Favorite collections: icon | title and line | what's saved. */
html:not(#v2):not(#rd) body #content .rd-row{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,1.1fr);align-items:center;gap:20px;padding:16px 20px;margin:16px 0 0;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
.rd-row-ico{display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:var(--rd-ico-bg);border:1px solid var(--rd-ico-line);color:var(--rd-ico)}
.rd-row-ico .rd-svg{width:24px;height:24px}
html:not(#v2):not(#rd) body #content .rd-row-text{padding-left:20px;border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .rd-row-text h3{margin:0 0 4px;font-size:18px;font-weight:800}
html:not(#v2):not(#rd) body #content .rd-row-text p{margin:0;color:var(--rd-muted);font-size:13px}
html:not(#v2):not(#rd) body #content .rd-row-none{display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2)}
html:not(#v2):not(#rd) body #content .rd-row-none .rd-svg{width:26px;height:26px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .rd-row-none strong{display:block;font-size:14px}
html:not(#v2):not(#rd) body #content .rd-row-none span{display:block;color:var(--rd-muted);font-size:12.5px;margin-top:2px}
html:not(#v2):not(#rd) body #content .rd-row-body>:first-child{margin-top:0}
@media (max-width:900px){html:not(#v2):not(#rd) body #content .rd-row{grid-template-columns:auto 1fr}html:not(#v2):not(#rd) body #content .rd-row-body{grid-column:1/-1}}

/* Narrow side columns: the side cards stack the icon over the words, and their buttons may wrap. */
html:not(#v2):not(#rd) body #content .rd-promo :is(.primary,.secondary){max-width:100%;white-space:normal;height:auto;min-height:var(--rd-btn-h);padding:8px 16px;text-align:left;line-height:1.25}
@media (max-width:1400px){html:not(#v2):not(#rd) body #content .rd-promo{flex-direction:column;gap:12px}}
/* Saved: the page title says Saved listings, so the list heading is for screen readers only. */
html:not(#v2):not(#rd) body #content .sv-wrap #cxBrowseTitle{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ==== Collections (the collector directory) ==== */
html:not(#v2):not(#rd) body #content .rd-dirbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0 8px;padding:0;background:none;border:0}
html:not(#v2):not(#rd) body #content .rd-dirbar .rd-grow{flex:1 1 320px}
.rd-select{position:relative;display:flex;align-items:center;gap:8px;height:var(--rd-btn-h);padding:0 0 0 14px;border:1px solid var(--rd-field-line);border-radius:10px;background:var(--rd-field);color:var(--rd-text)}
html[data-theme=dark] .rd-select{background:var(--ap-field,#0e1011);border-color:var(--ap-btn-line,#34373b)}
html:not(#v2):not(#rd) body .rd-select select{height:100%;min-height:0;border:0!important;background-color:transparent!important;box-shadow:none!important;padding:0 34px 0 0;color:var(--rd-text);font-weight:500;min-width:140px}
html:not(#v2):not(#rd) body #content .rd-dirbar>.primary{padding:0 22px}
.rd-found{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}
.rd-found h2{margin:0;font-size:18px;font-weight:800;text-transform:capitalize}
.rd-view{display:inline-flex;border:1px solid var(--rd-field-line);border-radius:10px;overflow:hidden}
html[data-theme=dark] .rd-view{border-color:var(--ap-btn-line,#34373b)}
.rd-view>button{display:grid;place-items:center;width:46px;height:38px;background:transparent;color:var(--rd-text);border:0}
.rd-view>button[aria-pressed=true]{background:var(--rd-ico-bg);color:var(--rd-ico);box-shadow:inset 0 0 0 1px #3a8bff}
html:not(#v2):not(#rd) body #content .cm-dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
html:not(#v2):not(#rd) body #content .rd-ccard{display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2):not(#rd) body #content .rd-ccover{display:grid;place-items:center;height:130px;background:linear-gradient(120deg,#0d1626 0%,#16253b 45%,#121416 100%)}
html:not(#v2):not(#rd) body #content .rd-ccover>*{width:96px;height:96px;border:3px solid #c9ccd1;box-shadow:0 4px 18px rgba(0,0,0,.5);font-size:30px}
html:not(#v2):not(#rd) body #content .rd-cbody{display:flex;flex-direction:column;gap:12px;padding:14px 18px 18px}
html:not(#v2):not(#rd) body #content .rd-cbody .cm-name{font-size:22px;font-weight:800;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .rd-csince{display:flex;align-items:center;gap:8px;margin:-6px 0 0;color:var(--rd-text);font-size:14px;padding-bottom:12px;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .rd-cstats{display:flex;align-items:center}
html:not(#v2):not(#rd) body #content .rd-cthumb{width:68px;height:68px;border-radius:50%;overflow:hidden;flex:none;margin-right:6px}
html:not(#v2):not(#rd) body #content .rd-cthumb img{width:100%;height:100%;object-fit:cover}
.rd-cstat{display:grid;grid-template-columns:auto auto;align-items:center;justify-items:center;column-gap:8px;row-gap:2px;padding:0 16px;flex:1}
.rd-cstat .rd-svg{width:22px;height:22px}
.rd-cstat b{font-size:20px}
.rd-cstat span{grid-column:1/-1;font-size:13px;color:var(--rd-muted)}
.rd-cstat+.rd-cstat,.rd-cthumb+.rd-cstat{border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .rd-cbody .cm-chip{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px}
html:not(#v2):not(#rd) body #content .rd-cview{width:100%;justify-content:center}
/* View collection and Add friend: one row, same size (Brady, 2026-11-15). The friend buttons sit in the row directly. */
html:not(#v2):not(#rd) body #content .rd-cacts{display:flex;gap:10px;align-items:stretch}
html:not(#v2):not(#rd) body #content .rd-cacts .sx-fr{display:contents}
html:not(#v2):not(#rd) body #content .rd-cacts>:is(a,button),html:not(#v2):not(#rd) body #content .rd-cacts .sx-fr>button{flex:1 1 0;min-width:0;width:auto;height:44px;min-height:44px;margin:0;padding:0 12px;justify-content:center;gap:8px;white-space:nowrap}
html:not(#v2):not(#rd) body #content .rd-cacts:has(.sx-fr) .rd-cview .rd-svg:last-child{display:none}
html:not(#v2):not(#rd) body #content .rd-cacts .rd-cview .rd-svg:first-child{margin-left:0}
html:not(#v2):not(#rd) body #content .rd-cview .rd-svg:last-child{margin-left:auto}
html:not(#v2):not(#rd) body #content .rd-cview .rd-svg:first-child{margin-left:auto}
/* List view: one row per collector. */
html:not(#v2):not(#rd) body #content .cm-dgrid.rd-listview{grid-template-columns:1fr}
html:not(#v2):not(#rd) body #content .rd-listview .rd-ccard{flex-direction:row}
html:not(#v2):not(#rd) body #content .rd-listview .rd-ccover{width:160px;height:auto;flex:none}
html:not(#v2):not(#rd) body #content .rd-listview .rd-cbody{flex:1}
html:not(#v2):not(#rd) body #content .rd-listview .rd-cview{width:auto;align-self:flex-start}

/* ==== My Collection: totals beside the title, the left column of actions and albums, the coins on the right ==== */
html:not(#v2) body #content :is(button,a).rd-icobtn{width:var(--rd-btn-h);padding:0}
html:not(#v2) body #content :is(button,a).rd-icobtn[data-armed]{width:auto;padding:0 14px}
html:not(#v2) #content .page-heading.mc-head{grid-template-columns:auto 1fr auto}
html:not(#v2) #content .page-heading.mc-head .mc-stats{grid-column:3;grid-row:2/span 2}
.mc-stats{display:flex;gap:14px}
.mc-stat{display:flex;align-items:center;gap:14px;min-width:150px;padding:12px 18px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card)}
.mc-stat.on{border-color:#3a8bff;box-shadow:0 0 12px rgba(47,123,245,.25)}
.mc-stat .rd-svg{width:26px;height:26px;color:var(--rd-text)}
.mc-stat small{display:block;margin:0;font-size:12px;color:var(--rd-muted)}
.mc-stat b{font-size:20px}
html:not(#v2):not(#rd) body #content .mc-cols{display:grid;grid-template-columns:minmax(240px,280px) 1fr;gap:18px;align-items:start;margin-top:18px}
html:not(#v2):not(#rd) body #content .mc-side{display:flex;flex-direction:column;gap:12px;padding:16px;margin:0;border-radius:var(--rd-radius)}
html:not(#v2):not(#rd) body #content .mc-side .mc-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;margin:0 0 4px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2)}
html:not(#v2):not(#rd) body #content .mc-side .mc-tabs a{display:flex;align-items:center;justify-content:center;gap:6px;height:var(--rd-pill-h);border-radius:9px;font-size:13px;font-weight:600;color:var(--rd-text);border:0;margin:0;padding:0 8px}
html:not(#v2):not(#rd) body #content .mc-side .mc-tabs a.on{background:var(--rd-blue-fill);color:#fff}
html:not(#v2):not(#rd) body #content .mc-side .mc-tabs a span{background:none;color:inherit;padding:0;font-weight:600}
html:not(#v2):not(#rd) body #content .mc-side .mc-tabs a span::before{content:"("}html:not(#v2):not(#rd) body #content .mc-side .mc-tabs a span::after{content:")"}
html:not(#v2):not(#rd) body #content .mc-side>:is(#mcAdd,#mcNewAlbum){width:100%}
html:not(#v2):not(#rd) body #content .mc-side h3{margin:8px 0 0;padding-top:14px;border-top:1px solid var(--rd-line);font-size:16px}
html:not(#v2):not(#rd) body #content .mc-side .mc-albums{display:flex;flex-direction:column;gap:8px}
html:not(#v2):not(#rd) body #content .mc-album{display:flex;align-items:center;gap:10px;height:var(--rd-btn-h);padding:0 12px;border-radius:10px;border:1px solid var(--rd-field-line);background:transparent;color:var(--rd-text);font-size:13px;text-align:left}
html[data-theme=dark] body #content .mc-album{border-color:var(--ap-btn-line,#34373b)}
html:not(#v2):not(#rd) body #content .mc-album[aria-pressed=true]{border-color:#3a8bff;background:var(--rd-ico-bg)}
html:not(#v2):not(#rd) body #content .mc-album-tools{display:flex;gap:14px;margin:0}
html:not(#v2):not(#rd) body #content .mc-about{display:flex;gap:10px;align-items:flex-start;margin-top:8px;padding:12px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2)}
html:not(#v2):not(#rd) body #content .mc-about strong{display:block;font-size:14px;margin-bottom:2px}
html:not(#v2):not(#rd) body #content .mc-about p{margin:0;font-size:12.5px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .mc-mainp{display:flex;flex-direction:column;gap:16px;min-width:0}
html:not(#v2):not(#rd) body #content .mc-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 14px;margin:0;border-radius:var(--rd-radius)}
html:not(#v2):not(#rd) body #content .mc-viewsw>button{display:inline-flex;align-items:center;gap:8px;border-radius:10px}
html:not(#v2):not(#rd) body #content .mc-sortby{display:flex;align-items:center;gap:12px;font-weight:600;margin:0}
html:not(#v2):not(#rd) body #content .mc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}
html:not(#v2):not(#rd) body #content .mc-grid .mc-card{border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card);overflow:hidden}
html:not(#v2):not(#rd) body #content .mc-grid .mc-body h3{font-size:20px;font-weight:800}
html:not(#v2):not(#rd) body #content .mc-grid .mc-chips{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:12px;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .mc-grid .mc-chip{height:28px;display:inline-flex;align-items:center;padding:0 12px;border-radius:999px}
html:not(#v2):not(#rd) body #content .mc-grid .mc-chip.mc-public{background:rgba(47,179,109,.14);border:1px solid rgba(47,179,109,.5);color:#5fd394}
html:not(#v2):not(#rd) body #content .mc-grid .mc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
/* Showcase: one coin per row, the photo on the left. */
html:not(#v2):not(#rd) body #content .mc-grid.mc-showcase{grid-template-columns:1fr}
html:not(#v2):not(#rd) body #content .mc-showcase .mc-card{display:grid;grid-template-columns:minmax(240px,45%) 1fr;align-items:center;border-color:#5b5f66}
html:not(#v2):not(#rd) body #content .mc-showcase .mc-photo{height:100%;min-height:260px}
html:not(#v2):not(#rd) body #content .mc-showcase .mc-body{padding:24px 28px;display:flex;flex-direction:column;gap:10px}
html:not(#v2):not(#rd) body #content .mc-showcase .mc-body h3{font-size:26px}
html:not(#v2):not(#rd) body #content .mc-guide{display:flex;align-items:center;gap:14px;margin:0;padding:14px 18px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card);font-size:13px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .mc-guide strong{color:var(--rd-text);padding-right:14px;border-right:1px solid var(--rd-line);white-space:nowrap}
html:not(#v2):not(#rd) body #content .mc-guide .rd-svg{color:var(--rd-ico);width:22px;height:22px}
@media (max-width:1100px){html:not(#v2) #content .page-heading.mc-head{grid-template-columns:auto 1fr}html:not(#v2) #content .page-heading.mc-head .mc-stats{grid-column:1/-1;grid-row:auto;margin-top:14px}}
@media (max-width:900px){html:not(#v2):not(#rd) body #content .mc-cols{grid-template-columns:1fr}.mc-stats{flex-wrap:wrap}.mc-stat{min-width:0;flex:1}
  html:not(#v2):not(#rd) body #content .mc-showcase .mc-card{grid-template-columns:1fr}html:not(#v2):not(#rd) body #content .mc-guide{flex-wrap:wrap}}
html:not(#v2):not(#rd) body #content .mc-side .mc-tabs a span{display:inline;min-width:0;height:auto;line-height:inherit;border:0}
html:not(#v2):not(#rd) body #content .mc-side .mc-albums{align-items:stretch}
html:not(#v2):not(#rd) body #content .mc-side .mc-album{width:100%;justify-content:flex-start;margin:0}

/* ==== Groups ==== */
/* Groups and Collections: no heading under the coins, only the page's one-line intro just above its first row (Brady, 2026-11-15). */
html:not(#v2) #content .rd-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
html:not(#v2) #content .cm-main>.rd-intro{margin:0 0 -4px;font-size:14px;color:var(--rd-muted,var(--cm-muted))}
/* The intro, the first rows and the list sit 12px apart on every screen (Brady, 2026-11-15). */
html:not(#v2):not(#rd) body #content .cm-main:has(>.rd-intro){gap:12px}
html:not(#v2):not(#rd) body #content .cm-main:has(>.rd-intro)>:not(.rd-intro){margin-top:0;margin-bottom:0}
html:not(#v2):not(#rd) body #content .cm-main:has(>.rd-intro)>.cm-dir>.rd-found:first-child{margin-top:0}
html:not(#v2):not(#rd) body #content .cm-main>.gr-kinds{margin-bottom:0}
html:not(#v2):not(#rd) body #content .gr-kinds{display:flex;flex-wrap:wrap;align-items:stretch;padding:12px;margin:0 0 16px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2):not(#rd) body #content .gr-kind{display:flex;align-items:center;gap:12px;padding:8px 18px;flex:1 1 160px}
html:not(#v2):not(#rd) body #content .gr-kind+.gr-kind{border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .gr-kind.on{border:1px solid #3a8bff;border-radius:12px;background:var(--rd-ico-bg);margin-right:12px;padding:10px 22px}
html:not(#v2):not(#rd) body #content .gr-kind.on+.gr-kind{border-left:0}
html:not(#v2):not(#rd) body #content .gr-kind .rd-svg{width:30px;height:30px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .gr-kind.on .rd-svg{color:var(--rd-ico);width:34px;height:34px}
html:not(#v2):not(#rd) body #content .gr-kind b{display:block;font-size:14px}
html:not(#v2):not(#rd) body #content .gr-kind.on b{font-size:24px}
html:not(#v2):not(#rd) body #content .gr-kind small{display:block;margin:2px 0 0;color:var(--rd-muted);font-size:12.5px}
html:not(#v2):not(#rd) body #content .gr-bar{display:flex;gap:14px}
html:not(#v2):not(#rd) body #content .gr-bar .rd-search{flex:1}
html:not(#v2):not(#rd) body #content .gr-h{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800;margin:22px 0 14px}
html:not(#v2):not(#rd) body #content .gr-h .rd-svg{width:30px;height:30px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .gr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
html:not(#v2):not(#rd) body #content .gr-card{position:relative;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2):not(#rd) body #content .gr-card .gr-cover{height:140px;border-radius:0}
html:not(#v2):not(#rd) body #content .gr-badge{position:absolute;top:12px;left:12px;display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-radius:999px;background:rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:13px;font-weight:600}
html:not(#v2):not(#rd) body #content .gr-badge .rd-svg{width:15px;height:15px}
html:not(#v2):not(#rd) body #content .gr-body{display:flex;flex-direction:column;gap:8px;padding:14px 18px 18px;flex:1}
html:not(#v2):not(#rd) body #content .gr-body h3{font-size:22px;font-weight:800;margin:0}
html:not(#v2):not(#rd) body #content .gr-body .gr-desc{margin:0;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .gr-count{display:flex;align-items:center;gap:8px;margin:2px 0 0;color:var(--rd-text);font-size:14px}
html:not(#v2):not(#rd) body #content .gr-acts{margin-top:auto;padding-top:6px;display:flex;gap:10px}
html:not(#v2):not(#rd) body #content .gr-acts>:is(button,.primary){flex:1}
html:not(#v2):not(#rd) body #content .gr-about h3{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:800;padding-bottom:14px;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .gr-about h3 .rd-svg{width:28px;height:28px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .gr-about-kind{display:flex;gap:14px;align-items:flex-start;margin:14px 0}
html:not(#v2):not(#rd) body #content .gr-about-kind .rd-svg{width:28px;height:28px;color:var(--rd-ico);margin-top:2px}
html:not(#v2):not(#rd) body #content .gr-about-kind p{margin:0;font-size:13.5px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .gr-about-kind b{display:block;font-size:16px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .gr-about-rules{border-top:1px solid var(--rd-line);padding-top:6px}
html:not(#v2):not(#rd) body #content .gr-about-rules p{display:flex;gap:12px;align-items:flex-start;margin:12px 0 0;font-size:13.5px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .gr-about-rules .rd-svg{width:22px;height:22px;color:var(--rd-ico)}
@media (max-width:640px){html:not(#v2):not(#rd) body #content .gr-kind+.gr-kind{border-left:0}html:not(#v2):not(#rd) body #content .gr-kind.on{flex-basis:100%;margin:0 0 8px}html:not(#v2):not(#rd) body #content .gr-bar{flex-wrap:wrap}html:not(#v2):not(#rd) body #content .gr-bar>.primary{flex:1}}

/* ==== Community feed ==== */
/* The post box: a framed bar with the field and the coin button. */
html:not(#v2):not(#rd) body #content .cm-compose{padding:12px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2):not(#rd) body #content .cm-compose .cm-compose-row{display:flex;align-items:center;gap:14px}
html:not(#v2):not(#rd) body #content .cm-compose .cm-compose-input{flex:1;height:44px;border-radius:10px;text-align:left;padding:0 16px}
html:not(#v2):not(#rd) body #content .cm-compose .v2-compose-coin{border-color:#3a8bff;padding-left:16px;margin-left:4px;position:relative}
/* Discover / Shared coins / Collections: icons, and the chosen one is a blue pill. */
html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--rd-line);padding-bottom:10px;margin:16px 0 14px}
html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs>:is(button,a){display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 20px;border-radius:10px;font-size:15px;font-weight:600;color:var(--rd-text);border:0;background:transparent}
html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs>[aria-selected=true]{background:var(--rd-blue-fill);color:#fff;box-shadow:0 0 14px rgba(47,123,245,.35)}
html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs>:is(button,a)::after{display:none}
html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs .rd-svg{width:20px;height:20px}
/* Posts: a framed card with the author row, a divider, the post, and the actions under a divider. */
html:not(#v2):not(#rd) body #content #chFeed>.cm-card{border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card)}
html:not(#v2):not(#rd) body #content #chFeed .cm-post-acts,html:not(#v2):not(#rd) body #content #chFeed .ps-acts{border-top:1px solid var(--rd-line);padding-top:10px}
html:not(#v2):not(#rd) body #content #chFeed .cm-act{display:inline-flex;align-items:center;gap:8px;font-size:14px}
html:not(#v2):not(#rd) body #content #chFeed .cm-act .rd-svg{width:19px;height:19px}
/* The side cards: a title row with a blue icon and a rule under it. */
html:not(#v2):not(#rd) body #content .rd-feedcard{border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:radial-gradient(80% 90% at 100% 100%,rgba(21,96,203,.10),transparent 65%),var(--rd-card)}
html:not(#v2):not(#rd) body #content .rd-cardh{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;margin:0 0 10px;padding-bottom:10px;border-bottom:1px solid var(--rd-line);color:var(--rd-text);font-family:inherit;font-style:normal;text-transform:none;letter-spacing:0}
html:not(#v2):not(#rd) body #content .rd-cardh .rd-svg{width:24px;height:24px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .rd-trend .rd-svg{color:#ff7a2f}
html:not(#v2):not(#rd) body #content .rd-feedcard h4{margin:0 0 6px;font-size:18px;font-weight:800;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .rd-feedcard .cm-btn.gold{width:100%;justify-content:center}
html:not(#v2):not(#rd) body #content .rd-feedcard .cm-btn.gold .rd-svg:last-child{margin-left:auto}
html:not(#v2):not(#rd) body #content .rd-rowlink{display:flex;align-items:center;gap:14px;margin-top:14px;padding-top:14px;border-top:1px solid var(--rd-line);color:var(--rd-text);font-size:14px}
html:not(#v2):not(#rd) body #content .rd-rowlink .rd-svg{width:24px;height:24px;flex:none}
html:not(#v2):not(#rd) body #content .rd-rowlink .rd-svg:last-child{width:18px;height:18px;margin-left:auto;color:var(--rd-muted)}

/* ==== Messages ==== */
html:not(#v2):not(#rd) body #content .dm-list{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid var(--rd-line);border-radius:var(--rd-radius)}
html:not(#v2):not(#rd) body #content .dm-listhead{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
html:not(#v2):not(#rd) body #content .dm-listhead h1{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:800;margin:0 auto 0 0}
html:not(#v2):not(#rd) body #content .dm-listhead h1 .rd-svg{width:28px;height:28px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .dm-listhead>button{padding:0 14px}
html:not(#v2):not(#rd) body #content .dm-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:5px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2);margin:0}
html:not(#v2):not(#rd) body #content .dm-tabs .dm-tabbtn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:58px;padding:6px;border-radius:9px;font-size:13px;font-weight:600;color:var(--rd-text);border:0;background:transparent;position:relative;text-align:center}
html:not(#v2):not(#rd) body #content .dm-tabs .dm-tabbtn.on{background:var(--rd-blue-fill);color:#fff}
html:not(#v2):not(#rd) body #content .dm-tabs .dm-tabbtn .rd-svg{width:22px;height:22px}
html:not(#v2):not(#rd) body #content .dm-tabs .dm-tabcount{position:absolute;top:4px;right:6px}
html:not(#v2):not(#rd) body #content .dm-rows{display:flex;flex-direction:column;margin:0;padding:0}
html:not(#v2):not(#rd) body #content .dm-rows>li+li{border-top:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .dm-row{display:flex;align-items:center;gap:12px;padding:12px 6px;border-radius:10px}
html:not(#v2):not(#rd) body #content .dm-row.on{background:var(--rd-ico-bg);box-shadow:inset 0 0 0 1px rgba(58,139,255,.4)}
html:not(#v2):not(#rd) body #content .dm-rowtext{flex:1;min-width:0}
html:not(#v2):not(#rd) body #content .dm-rowtext>b{font-size:15px}
html:not(#v2):not(#rd) body #content .dm-rowside{display:flex;flex-direction:column;align-items:flex-end;gap:6px;margin-left:auto;flex:none}
html:not(#v2):not(#rd) body #content .dm-rowside small{margin:0;font-size:12px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .dm-dot.dm-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#1560cb;color:#fff;font-size:12px;font-weight:700;position:static;width:auto}
html:not(#v2):not(#rd) body #content .dm-setting{margin-top:auto;padding:14px 16px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2);display:block}
html:not(#v2):not(#rd) body #content .dm-setting p{display:flex;align-items:center;gap:10px;margin:0 0 8px}
html:not(#v2):not(#rd) body #content .dm-setting label{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .dm-setting input{width:18px;height:18px;accent-color:#1560cb}
/* The empty conversation side. */
html:not(#v2):not(#rd) body #content .dm-thread{border:1px solid var(--rd-line);border-radius:var(--rd-radius)}
html:not(#v2):not(#rd) body #content .dm-pick-one{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:48px 24px}
html:not(#v2):not(#rd) body #content .dm-pick-one .cm-mark{width:150px;height:150px}
html:not(#v2):not(#rd) body #content .dm-pick-one h2{font-size:34px;font-weight:800;margin:6px 0 0}
html:not(#v2):not(#rd) body #content .dm-pick-one>p.cm-muted{max-width:520px;font-size:15px}
html:not(#v2):not(#rd) body #content .dm-pick-acts{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;margin-top:8px}
html:not(#v2):not(#rd) body #content .dm-quick-h{display:flex;align-items:center;gap:16px;width:min(100%,560px);margin:20px 0 4px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .dm-quick-h::before,html:not(#v2):not(#rd) body #content .dm-quick-h::after{content:"";flex:1;height:1px;background:var(--rd-line)}
html:not(#v2):not(#rd) body #content .dm-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;width:min(100%,640px)}
html:not(#v2):not(#rd) body #content .dm-quick>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:78px;border:1px solid var(--rd-field-line);border-radius:12px;background:var(--rd-card2);color:var(--rd-text);font-weight:600;font-size:14px}
html[data-theme=dark] body #content .dm-quick>a{border-color:var(--ap-btn-line,#34373b)}
html:not(#v2):not(#rd) body #content .dm-quick>a:hover,html:not(#v2):not(#rd) body #content .dm-quick>a.on{border-color:#3a8bff}
html:not(#v2):not(#rd) body #content .dm-quick .rd-svg{width:26px;height:26px}
/* New message picker rows. */
.pp-dlg li.dm-pickrow{display:flex;align-items:center;gap:12px}
.pp-dlg li.dm-pickrow>span{flex:1}
@media (max-width:640px){html:not(#v2):not(#rd) body #content .dm-quick{grid-template-columns:1fr}html:not(#v2):not(#rd) body #content .dm-pick-one h2{font-size:26px}}

/* Fields: the frame matches the field inside it (older layers paint inputs with their own background). */
html[data-theme=dark] :is(.rd-search,.rd-select){background:var(--ap-field2,#1a1c1e)}
/* Brady's mockup (November 14): Messages, New message and New group on one row at every width; the three tabs; then
   the search with the filter button beside it. The sizes follow the list's own width (a container), not the window. */
html:not(#v2):not(#rd) body #content .dm-list{container-type:inline-size;container-name:dmlist;flex:0 1 460px}
@media (max-width:1100px){html:not(#v2):not(#rd) body #content .dm-list{flex-basis:380px}}
@media (max-width:640px){html:not(#v2):not(#rd) body #content .dm-list{flex:none;padding:10px;gap:10px}}
/* Narrow screens: an opened conversation or deal is the whole page; "← Messages" goes back to the list (the display:flex above beat community-look.css's hide). */
@media (max-width:760px){html:not(#v2):not(#rd) body #content .dm-page.dm-open>.dm-list{display:none}}
/* The header row scales with the list's width (cqi = 1% of it): at 440px or wider it is full size (21px title, 14px
   buttons); narrower, every size shrinks in step, so the title, New message and New group always fit on one row. */
html:not(#v2):not(#rd) body #content .dm-listhead{flex-wrap:nowrap;gap:min(10px,2.27cqi)}
html:not(#v2):not(#rd) body #content .dm-listhead h1{flex:none;white-space:nowrap;margin:0 auto 0 0;font-size:min(21px,4.77cqi);gap:min(9px,2.05cqi)}
html:not(#v2):not(#rd) body #content .dm-listhead h1 .rd-svg{width:min(26px,5.9cqi);height:min(26px,5.9cqi)}
html:not(#v2):not(#rd) body #content .dm-listhead>button{flex:none;margin:0;height:max(32px,min(40px,9.1cqi));min-height:0;padding:0 min(14px,3.18cqi);font-size:min(14px,3.18cqi);gap:min(8px,1.82cqi);border-radius:min(10px,2.27cqi)}
html:not(#v2):not(#rd) body #content .dm-listhead>button .rd-svg{width:min(17px,3.86cqi);height:min(17px,3.86cqi)}
html:not(#v2):not(#rd) body #content .dm-listhead>button.primary{box-shadow:0 0 14px rgba(47,123,245,.35)}
html:not(#v2):not(#rd) body #content .dm-searchrow{display:flex;gap:10px;align-items:center}
html:not(#v2):not(#rd) body #content .dm-searchrow .dm-search{flex:1;min-width:0;height:44px;margin:0}
html:not(#v2):not(#rd) body #content .dm-filter{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;margin:0;border-radius:10px;border:1px solid var(--rd-field-line);background:var(--rd-field);color:var(--rd-text)}
html[data-theme=dark] body #content .dm-filter{background:var(--ap-field,#0e1011);border-color:var(--ap-btn-line,#34373b)}
html:not(#v2):not(#rd) body #content .dm-filter[aria-pressed=true]{border-color:#3a8bff;background:var(--rd-ico-bg);color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .dm-filter .rd-svg{width:20px;height:20px}
@container dmlist (max-width:379px){
  html:not(#v2):not(#rd) body #content .dm-tabs .dm-tabbtn{min-height:52px;font-size:12px}
  html:not(#v2):not(#rd) body #content .dm-searchrow .dm-search,html:not(#v2):not(#rd) body #content .dm-filter{height:40px}
  html:not(#v2):not(#rd) body #content .dm-filter{width:40px}
}

/* ==== Spacing: desktop trims where the REDO layout ran large ==== */
html:not(#v2):not(#rd) body #content .dm-pick-one{gap:8px;padding:36px 24px}
html:not(#v2):not(#rd) body #content .dm-pick-one .cm-mark{width:112px;height:112px}
html:not(#v2):not(#rd) body #content .dm-pick-one h2{font-size:28px}
html:not(#v2):not(#rd) body #content .dm-quick-h{margin:12px 0 2px}
html:not(#v2):not(#rd) body #content .dm-quick>a{height:68px}
html:not(#v2) #content .rd-empty{padding:32px 24px 36px}
html:not(#v2) #content .rd-empty-ico .rd-svg{width:60px;height:60px}

/* ==== Phones: tighter page gutters, gaps and panels, so cards and lists get the width ==== */
/* ==== Phones: the page fills the screen from under the banner to the bottom menu, side to side (Brady, November 14).
   The footer is hidden; the content area stretches to the bottom menu; cards and bars keep a 12px gutter and the site's
   rounded corners (Brady, 2026-11-15: no square edge-to-edge cards). Messages fills the whole space. ==== */
@media (max-width:640px){
  html:not(#v2) body main>footer.site-footer{display:none!important}
  html:not(#v2) body main{display:flex;flex-direction:column;min-height:100dvh;box-sizing:border-box;padding-bottom:calc(63px + env(safe-area-inset-bottom,0px))!important}
  html:not(#v2) body main>#content{flex:1 0 auto;display:flex;flex-direction:column;margin:0!important;padding:0 12px!important;box-sizing:border-box}
  html:not(#v2) body main>#content>*{max-width:none}
  /* Messages: the list (or the open conversation) is the whole page. */
  html:not(#v2):not(#rd) body #content>.dm-page{flex:1 0 auto;gap:0;min-height:0}
  html:not(#v2):not(#rd) body #content .dm-page>:is(.dm-list,.dm-thread){flex:1 0 auto;border-bottom:0}
  html:not(#v2):not(#rd) body #content .dm-page:not(.dm-open)>.dm-thread{display:none}
  html:not(#v2):not(#rd) body #content .dm-list{padding:12px}
  /* Discover / Shared coins / Collections share the row instead of running off the right edge. */
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs{gap:4px;margin:10px 0}
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs>:is(button,a){flex:1 1 0;min-width:0;justify-content:center;height:38px;padding:0 6px;gap:6px;font-size:13px;white-space:nowrap}
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>.cm-tabs .rd-svg{width:17px;height:17px}
  /* For You / Following / Friends / Groups: four equal pills on one row, with the search lined up under them. */
  html:not(#v2) body #content .ps-feeds{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 8px}
  html:not(#v2) body #content .ps-feeds .ps-feed{min-height:36px;height:36px;padding:0 4px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;margin:0}
  html:not(#v2) body #content .ps-feeds .ps-feed-def{grid-column:1/-1;justify-self:start;padding:2px 0}
  @media (max-width:359px){html:not(#v2) body #content .ps-feeds{gap:4px}html:not(#v2) body #content .ps-feeds .ps-feed{font-size:12px;padding:0 2px;letter-spacing:-.1px}}
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>form.cm-search{display:flex;gap:8px;align-items:center;margin:0 0 10px!important;padding:0}
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>form.cm-search input{flex:1;min-width:0;height:40px;min-height:40px;margin:0}
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>form.cm-search .cm-btn{flex:none;height:40px;min-height:40px;padding:0 14px;margin:0}
  /* A little room between the banner and the first line of text. */
  html:not(#v2) body main>#content>:first-child:is(.page-heading,.bz-dhead,.ah-hub,.sx-frpage){margin-top:12px}
  html:not(#v2):not(#rd) body #content .cm-wrap{row-gap:14px}
  html:not(#v2) #content .page-heading{margin-bottom:12px}
  html:not(#v2) #content .page-heading.rd-has-ico{column-gap:12px}
  html:not(#v2) #content .page-heading.rd-has-ico .eyebrow{margin-bottom:6px}
  html:not(#v2) #content .rd-empty{padding:22px 16px 24px;gap:4px}
  html:not(#v2) #content .rd-empty-ico .rd-svg{width:44px;height:44px}
  html:not(#v2) #content .rd-empty h3{font-size:18px}
  html:not(#v2):not(#rd) body #content .cx-list-card{padding:18px 16px;gap:8px}
  html:not(#v2):not(#rd) body #content .cx-list-card .cx-list-plus{width:52px;height:52px}
  html:not(#v2):not(#rd) body #content .cx-list-card h3{font-size:18px}
  html:not(#v2):not(#rd) body #content .community-tabs.cx-modes{margin-top:10px}
  html:not(#v2):not(#rd) body #content .cx-browse-head{margin:0 0 10px}
  html:not(#v2):not(#rd) body #content .cx-browse-head h2{font-size:20px}
  html:not(#v2):not(#rd) body #content :is(#grid,#ownGrid,.cm-dgrid,.gr-grid,.mc-grid){gap:12px}
  html:not(#v2):not(#rd) body #content .rd-side{gap:12px}
  html:not(#v2):not(#rd) body #content .rd-promo{padding:14px;gap:10px}
  html:not(#v2):not(#rd) body #content .rd-promo h3{font-size:17px}
  html:not(#v2):not(#rd) body #content .cx-bar{padding:8px;gap:8px}
  html:not(#v2):not(#rd) body #content .rd-actbar{padding:8px;gap:8px;margin:12px 0}
  html:not(#v2):not(#rd) body #content .dm-pick-one{padding:24px 14px}
  html:not(#v2):not(#rd) body #content .dm-pick-one .cm-mark{width:80px;height:80px}
  html:not(#v2):not(#rd) body #content .bz-pane{padding:14px;margin-bottom:12px}
  html:not(#v2):not(#rd) body #content .bz-banner{padding:16px;gap:14px;margin:12px 0}
  html:not(#v2):not(#rd) body #content .bz-banner .bz-avatar.big{width:64px;height:64px;font-size:30px}
  html:not(#v2):not(#rd) body #content .bz-banner h1{font-size:26px}
  html:not(#v2):not(#rd) body #content .gr-kinds{padding:8px;margin-bottom:12px}
  html:not(#v2):not(#rd) body #content .gr-h{font-size:20px;margin:14px 0 10px}
  html:not(#v2):not(#rd) body #content .rd-row{padding:12px 14px;gap:12px}
  html:not(#v2):not(#rd) body #content .rd-row-text{padding-left:12px}
}
html:not(#v2):not(#rd) body #content .dm-pick-acts>*{margin:0}

/* ==== Your business and the Storefront ==== */
html:not(#v2):not(#rd) body #content .rd-sech{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:800;margin:26px 0 12px}
html:not(#v2):not(#rd) body #content .rd-sech .rd-svg{width:28px;height:28px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .bz-banner{display:flex;align-items:flex-start;gap:24px;padding:24px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:radial-gradient(70% 120% at 100% 0%,rgba(21,96,203,.14),transparent 60%),var(--rd-card);margin:16px 0}
html:not(#v2):not(#rd) body #content .bz-banner .bz-avatar.big{width:92px;height:92px;border-radius:18px;display:grid;place-items:center;font-size:44px;font-weight:800;flex:none;background:linear-gradient(160deg,#1a2a44,#0e1626);border:2px solid #3a8bff;color:#f1f3f5;box-shadow:0 0 18px rgba(47,123,245,.3)}
html:not(#v2):not(#rd) body #content .bz-banner h1{font-size:34px;font-weight:800;margin:6px 0 4px;line-height:1.1}
html:not(#v2):not(#rd) body #content .bz-eyebrow{display:inline-flex;align-items:center;gap:8px;height:28px;padding:0 12px;border-radius:8px;background:var(--rd-ico-bg);border:1px solid var(--rd-ico-line);color:var(--rd-ico);font-size:12px;font-weight:700;letter-spacing:.6px;text-transform:uppercase}
html:not(#v2):not(#rd) body #content .bz-eyebrow .rd-svg{width:16px;height:16px}
html:not(#v2):not(#rd) body #content .bz-where{display:flex;flex-wrap:wrap;gap:6px 18px;margin:0 0 12px;color:var(--rd-text);font-size:14.5px}
html:not(#v2):not(#rd) body #content .bz-where>span{display:inline-flex;align-items:center;gap:6px}
html:not(#v2):not(#rd) body #content .bz-banner .modal-actions{justify-content:flex-start;flex-wrap:wrap;gap:12px;margin:14px 0 0}
html:not(#v2):not(#rd) body #content .bz-tags{display:flex;flex-wrap:wrap;gap:10px}
html:not(#v2):not(#rd) body #content .bz-tags .bz-tag{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--rd-field-line);background:var(--rd-card2);color:var(--rd-text);font-size:13px;font-weight:600}
html:not(#v2):not(#rd) body #content .bz-tags .rd-svg{width:16px;height:16px}
html:not(#v2):not(#rd) body #content .bz-headtext{flex:1;min-width:0}
html:not(#v2):not(#rd) body #content .bz-headacts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:flex-end;align-self:center}
/* Message (a link) and the Report / Block buttons sit on one line: the buttons lose the form buttons' top margin. */
html:not(#v2):not(#rd) body #content .bz-headacts>*{margin:0!important;height:40px;box-sizing:border-box}
html:not(#v2):not(#rd) body #content .bz-backlink{display:inline-flex;align-items:center;gap:8px;font-size:15px;color:var(--rd-text);margin:8px 0 0}
/* Storefront tabs. */
html:not(#v2):not(#rd) body #content .bz-tabs2{display:flex;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card);overflow-x:auto;margin:0 0 16px}
html:not(#v2):not(#rd) body #content .bz-tabs2>button{flex:1 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:50px;padding:0 20px;border:0;background:transparent;color:var(--rd-text);font-size:15px;font-weight:600;border-radius:0}
html:not(#v2):not(#rd) body #content .bz-tabs2>button+button{border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-tabs2>button.on{background:var(--rd-blue-fill);color:#fff;border-radius:11px}
html:not(#v2):not(#rd) body #content .bz-tabs2 .rd-svg{width:22px;height:22px}
/* Storefront cards. */
html:not(#v2):not(#rd) body #content .bz-pane{margin:0 0 16px;padding:18px 20px;border:1px solid var(--rd-line);border-radius:var(--rd-radius)}
html:not(#v2):not(#rd) body #content .bz-pane h3{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;margin:0}
html:not(#v2):not(#rd) body #content .bz-pane h3 .rd-svg{width:26px;height:26px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .bz-cardhead{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:12px;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-cardacts{display:flex;gap:8px;flex-wrap:wrap}
html:not(#v2):not(#rd) body #content .bz-overview{display:grid;grid-template-columns:minmax(240px,320px) 1fr;gap:16px;align-items:start}
html:not(#v2):not(#rd) body #content .bz-overmain{min-width:0}
html:not(#v2):not(#rd) body #content .bz-overside{display:flex;flex-direction:column;gap:16px;min-width:0}
html:not(#v2):not(#rd) body #content .bz-overside>.panel{margin:0}
html:not(#v2):not(#rd) body #content .bz-about-sm .bz-pre{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden;font-size:13.5px;line-height:1.5;margin:0}
html:not(#v2):not(#rd) body #content .bz-about-sm .bz-facts{font-size:12.5px;gap:6px 14px}
html:not(#v2):not(#rd) body #content .bz-about-sm .bz-more{margin-top:6px;padding:0;font-size:13px}
html:not(#v2):not(#rd) body #content .bz-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}
html:not(#v2):not(#rd) body #content .bz-infocard h3{padding-bottom:12px;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-info-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-info-row .rd-svg{width:24px;height:24px;flex:none}
html:not(#v2):not(#rd) body #content .bz-info-row small{display:block;margin:0;font-size:12px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .bz-info-row strong{display:block;font-size:14.5px;word-break:break-word}
html:not(#v2):not(#rd) body #content .bz-wide{width:100%;margin-top:14px}
html:not(#v2):not(#rd) body #content .bz-aboutcard h3{margin-bottom:10px}
html:not(#v2):not(#rd) body #content .bz-facts{display:flex;flex-wrap:wrap;gap:8px 18px;margin:10px 0 0;font-size:13.5px}
html:not(#v2):not(#rd) body #content .bz-facts>span{display:inline-flex;align-items:center;gap:6px}
html:not(#v2):not(#rd) body #content .bz-facts>span+span{padding-left:18px;border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-reviewcard h3{margin-bottom:10px}
/* Item tiles (both pages). */
html:not(#v2):not(#rd) body #content .bz-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}
html:not(#v2):not(#rd) body #content .bz-item{display:flex;flex-direction:column;align-items:stretch;gap:4px;padding:0 0 12px;overflow:hidden;text-align:left;border:1px solid #3a6fb8;border-radius:12px;background:var(--rd-card2);color:var(--rd-text);margin:0}
html:not(#v2):not(#rd) body #content .bz-item img,html:not(#v2):not(#rd) body #content .bz-item .bz-noimg{width:100%;aspect-ratio:1;object-fit:cover;margin:0 0 6px;border-radius:0}
html:not(#v2):not(#rd) body #content .bz-item>:not(img):not(.bz-noimg){padding:0 12px}
html:not(#v2):not(#rd) body #content .bz-item strong{font-size:16px}
html:not(#v2):not(#rd) body #content .bz-item .bz-price{font-size:20px;font-weight:800;color:#3a8bff}
/* Your business: the facts grid. */
html:not(#v2):not(#rd) body #content .bz-details{padding:18px 22px;border:1px solid var(--rd-line);border-radius:var(--rd-radius)}
html:not(#v2):not(#rd) body #content .bz-facts-grid{display:grid;grid-template-columns:repeat(3,1fr)}
html:not(#v2):not(#rd) body #content .bz-fact{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--rd-line);min-width:0}
html:not(#v2):not(#rd) body #content .bz-fact:not(:nth-child(3n+1)){border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-fact-ico{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:10px;background:var(--rd-ico-bg);border:1px solid var(--rd-ico-line);color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .bz-fact small{display:block;margin:0;font-size:12px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .bz-fact strong{display:block;font-size:15px;word-break:break-word}
html:not(#v2):not(#rd) body #content .bz-aboutline{display:flex;align-items:flex-start;gap:12px;margin:16px 0 0}
html:not(#v2):not(#rd) body #content .bz-details .modal-actions{justify-content:flex-start;gap:12px;margin-top:16px}
html:not(#v2):not(#rd) body #content .bz-details .bz-edit{border-color:#3a8bff}
@media (max-width:1100px){html:not(#v2):not(#rd) body #content .bz-overview,html:not(#v2):not(#rd) body #content .bz-two{grid-template-columns:1fr}html:not(#v2):not(#rd) body #content .bz-facts-grid{grid-template-columns:1fr 1fr}
  html:not(#v2):not(#rd) body #content .bz-fact:not(:nth-child(3n+1)){border-left:0}html:not(#v2):not(#rd) body #content .bz-fact:nth-child(2n){border-left:1px solid var(--rd-line)}}
@media (max-width:640px){html:not(#v2):not(#rd) body #content .bz-banner{flex-direction:column}html:not(#v2):not(#rd) body #content .bz-facts-grid{grid-template-columns:1fr}
  html:not(#v2):not(#rd) body #content .bz-fact:nth-child(2n){border-left:0}html:not(#v2):not(#rd) body #content .bz-headacts{justify-content:flex-start}}
html:not(#v2):not(#rd) body #content .bz-tabs2>button{width:auto;margin:0}
@media (max-width:640px){html:not(#v2):not(#rd) body #content .bz-banner .modal-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}html:not(#v2):not(#rd) body #content .bz-banner .modal-actions>button{width:100%;padding:0 8px}}

/* ==== Businesses directory (Brady's mockup, November 14) ==== */
/* Businesses: no title above the search bar, only the one-line intro right above it (Brady, 2026-11-15). */
html:not(#v2):not(#rd) body #content .bz-dhead{margin:0 0 8px;padding:0;border:0}
html:not(#v2):not(#rd) body #content>.vc-banner~.bz-dhead{margin-top:-10px}
html:not(#v2):not(#rd) body #content .bz-dhead h1{font-size:40px;font-weight:800;letter-spacing:-.5px;line-height:1.1;margin:0 0 6px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .bz-dhead p{margin:0;font-size:14px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .bz-dbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-dsearch{flex:1 1 320px;height:44px}
html:not(#v2):not(#rd) body #content :is(.bz-dsells,.bz-dcount label){display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:500;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .bz-dbar .rd-select{height:44px}
html:not(#v2):not(#rd) body #content .bz-dtoggle{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px;border-radius:999px;border:1px solid var(--rd-field-line);background:var(--rd-field);color:var(--rd-text);font-size:14px;font-weight:500;margin:0}
html[data-theme=dark] body #content .bz-dtoggle{background:var(--ap-btn,#121416);border-color:var(--ap-btn-line,#34373b)}
html:not(#v2):not(#rd) body #content .bz-dtoggle[aria-pressed=true]{border-color:#3a8bff;background:var(--rd-ico-bg);color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .bz-dchips{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
html:not(#v2):not(#rd) body #content .bz-dchips>button{height:var(--rd-pill-h);padding:0 16px;border-radius:999px;font-size:13px;font-weight:500;border:1px solid var(--rd-field-line);background:var(--rd-field);color:var(--rd-text);margin:0}
html[data-theme=dark] body #content .bz-dchips>button{background:var(--ap-btn,#121416);border-color:var(--ap-btn-line,#34373b)}
html:not(#v2):not(#rd) body #content .bz-dchips>button[aria-pressed=true]{border:1.5px solid #3a8bff;background:var(--rd-ico-bg);color:var(--rd-text);box-shadow:0 0 10px rgba(47,123,245,.3)}
html:not(#v2):not(#rd) body #content .bz-dcount{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 12px}
html:not(#v2):not(#rd) body #content .bz-dcount>b{font-size:16px}
html:not(#v2):not(#rd) body #content .bz-dlayout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:20px;align-items:stretch}
html:not(#v2):not(#rd) body #content .bz-dgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,400px),1fr));gap:20px;align-content:start}
html:not(#v2):not(#rd) body #content .bz-dnone{grid-column:1/-1}
/* A business card: the logo tile, name and Reviewed pill, place and shipping, the line, the tags, then the footer. */
html:not(#v2):not(#rd) body #content .bz-dcard{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 18px;padding:20px 20px 16px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:var(--rd-card);cursor:pointer;transition:border-color .15s}
html:not(#v2):not(#rd) body #content .bz-dcard:hover{border-color:#3a6fb8}
html:not(#v2):not(#rd) body #content .bz-dlogo{display:grid;place-items:center;width:84px;height:84px;border-radius:14px;border:1px solid #4a4e55;background:linear-gradient(160deg,#2a2d31,#17191b);color:#e9ebee;font-size:40px;font-weight:700}
html:not(#v2):not(#rd) body #content .bz-dbody{min-width:0;display:flex;flex-direction:column;gap:8px}
html:not(#v2):not(#rd) body #content .bz-dtop{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
html:not(#v2):not(#rd) body #content .bz-dtop h3{margin:2px 0 0;font-size:20px;font-weight:800;line-height:1.2;color:var(--rd-text);min-width:0;overflow-wrap:anywhere}
html:not(#v2):not(#rd) body #content .bz-reviewed{display:inline-flex;align-items:center;gap:6px;flex:none;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--rd-ico-line);background:var(--rd-ico-bg);color:var(--rd-text);font-size:12px;font-weight:600;white-space:nowrap}
html:not(#v2):not(#rd) body #content .bz-reviewed .rd-svg{width:15px;height:15px;color:var(--rd-ico)}
html:not(#v2):not(#rd) body #content .bz-dwhere{display:flex;flex-wrap:wrap;gap:4px 8px;margin:0;font-size:14px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .bz-dwhere>span{display:inline-flex;align-items:center;gap:6px}
html:not(#v2):not(#rd) body #content .bz-dwhere>span+span::before{content:"•";margin-right:4px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .bz-dwhere .rd-svg{width:16px;height:16px}
html:not(#v2):not(#rd) body #content .bz-dabout{margin:0;font-size:14px;color:var(--rd-text);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html:not(#v2):not(#rd) body #content .bz-dtags{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
html:not(#v2):not(#rd) body #content .bz-dtags>span{display:inline-flex;align-items:center;height:30px;padding:0 14px;border-radius:999px;border:1px solid var(--rd-field-line);font-size:13px;font-weight:600;color:var(--rd-text)}
html[data-theme=dark] body #content .bz-dtags>span{border-color:#44484e}
html:not(#v2):not(#rd) body #content .bz-dfoot{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px;padding-top:12px;border-top:1px solid var(--rd-line);font-size:14px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .bz-dfoot>span{display:inline-flex;align-items:center;gap:8px}
html:not(#v2):not(#rd) body #content .bz-dfoot>span+span{padding-left:16px;border-left:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-dfoot .rd-svg{width:17px;height:17px}
html:not(#v2):not(#rd) body #content .bz-dfoot>.primary{margin-left:auto}
html:not(#v2):not(#rd) body #content .bz-dfoot>.primary .rd-svg{width:16px;height:16px}
/* Apply for a business account, after the cards. */
html:not(#v2):not(#rd) body #content .bz-dapply{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:24px 28px;border:1px solid #2a4a7a;border-radius:var(--rd-radius);background:radial-gradient(90% 120% at 100% 0%,rgba(21,96,203,.22),transparent 60%),var(--rd-card)}
html:not(#v2):not(#rd) body #content .bz-dapply-top{display:flex;gap:18px;align-items:center}
html:not(#v2):not(#rd) body #content .bz-dapply h3,html:not(#v2):not(#rd) body #content .bz-why h3{margin:0 0 6px;font-size:24px;font-weight:800;line-height:1.2;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .bz-dapply p{margin:0;font-size:14px;color:var(--rd-muted)}
html:not(#v2):not(#rd) body #content .bz-dapply>.primary{width:100%}
html:not(#v2):not(#rd) body #content .bz-dapply>.primary .rd-svg{order:2}
/* Why shop from approved businesses? */
html:not(#v2):not(#rd) body #content .bz-why{display:flex;flex-direction:column;gap:14px;padding:28px;border:1px solid #2a4a7a;border-radius:var(--rd-radius);background:radial-gradient(90% 60% at 100% 0%,rgba(21,96,203,.22),transparent 60%),var(--rd-card);align-self:start}
html:not(#v2):not(#rd) body #content .bz-dside{display:flex;flex-direction:column;gap:20px;align-self:start;min-width:0}
html:not(#v2):not(#rd) body #content .bz-dside>.bz-why{align-self:stretch}
html:not(#v2):not(#rd) body #content .bz-why-top{display:flex;gap:18px;align-items:center}
html:not(#v2):not(#rd) body #content .bz-why h3{margin:0}
html:not(#v2):not(#rd) body #content .bz-why>p{margin:0 0 4px;font-size:14px;color:var(--rd-muted);line-height:1.5}
html:not(#v2):not(#rd) body #content .bz-why ul{list-style:none;margin:0;padding:0}
html:not(#v2):not(#rd) body #content .bz-why li{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--rd-line);font-size:14px;color:var(--rd-text)}
html:not(#v2):not(#rd) body #content .bz-why li:last-child{border-bottom:1px solid var(--rd-line)}
html:not(#v2):not(#rd) body #content .bz-why li .rd-svg{width:24px;height:24px;flex:none;color:var(--rd-text)}
@media (max-width:1200px){html:not(#v2):not(#rd) body #content .bz-dlayout{grid-template-columns:1fr}html:not(#v2):not(#rd) body #content .bz-dchips{margin-left:0}}
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .bz-dhead{margin:0 0 8px;padding:0}
  html:not(#v2):not(#rd) body #content .bz-dhead h1{font-size:28px}
  html:not(#v2):not(#rd) body #content .bz-dhead p{font-size:13.5px}
  html:not(#v2):not(#rd) body #content .bz-dbar{gap:8px;padding-bottom:12px}
  html:not(#v2):not(#rd) body #content .bz-dsearch{flex-basis:100%;height:40px}
  html:not(#v2):not(#rd) body #content .bz-dsells{flex:1;min-width:0}html:not(#v2):not(#rd) body #content .bz-dsells .rd-select{flex:1;min-width:0;height:40px}
  html:not(#v2):not(#rd) body #content .bz-dsells>span:first-child{display:none}
  html:not(#v2):not(#rd) body #content .bz-dwhere{flex-direction:column}
  html:not(#v2):not(#rd) body #content .bz-dwhere>span+span::before{display:none}
  html:not(#v2):not(#rd) body #content .bz-dsells select{min-width:0;width:100%}
  html:not(#v2):not(#rd) body #content .bz-dtoggle{height:40px;padding:0 14px}
  html:not(#v2):not(#rd) body #content .bz-dchips{flex-wrap:nowrap;overflow-x:auto;width:100%;scrollbar-width:none}
  html:not(#v2):not(#rd) body #content .bz-dchips>button{flex:none;height:32px;padding:0 12px}
  html:not(#v2):not(#rd) body #content .bz-dcount{margin:8px 0 10px}
  html:not(#v2):not(#rd) body #content .bz-dcount .rd-select{height:36px}
  html:not(#v2):not(#rd) body #content :is(.bz-dlayout,.bz-dgrid){gap:12px}
  html:not(#v2):not(#rd) body #content .bz-dcard{gap:0 12px;padding:14px 14px 12px}
  html:not(#v2):not(#rd) body #content .bz-dlogo{width:56px;height:56px;border-radius:12px;font-size:26px}
  html:not(#v2):not(#rd) body #content .bz-dtop{flex-direction:column;gap:6px}
  html:not(#v2):not(#rd) body #content .bz-dtop h3{font-size:17px}
  html:not(#v2):not(#rd) body #content .bz-dwhere,html:not(#v2):not(#rd) body #content .bz-dabout{font-size:13px}
  html:not(#v2):not(#rd) body #content .bz-dtags>span{height:26px;padding:0 10px;font-size:12px}
  html:not(#v2):not(#rd) body #content .bz-dfoot{margin-top:12px;padding-top:10px;gap:8px 12px;font-size:13px}
  html:not(#v2):not(#rd) body #content .bz-dfoot>span+span{padding-left:12px}
  html:not(#v2):not(#rd) body #content .bz-dfoot>.primary{width:100%;margin-left:0}
  html:not(#v2):not(#rd) body #content :is(.bz-dapply,.bz-why){padding:16px;gap:14px}
  html:not(#v2):not(#rd) body #content :is(.bz-dapply,.bz-why) h3{font-size:19px}
  html:not(#v2):not(#rd) body #content .bz-why li{padding:10px 0;gap:12px;font-size:13px}
}

/* ==== Sidebar: a count badge sits on the corner of its row's icon, so long labels like Support messages keep one line
   and the badge is never pushed out of the sidebar ==== */
html:not(#v2) .sidebar :is(nav,.extra-nav) button:has(.sm-badge){position:relative}
html:not(#v2) body .sidebar :is(nav,.extra-nav) button .sm-badge{position:absolute;left:27px;top:5px;margin:0;min-width:17px;height:17px;padding:0 4px;border-radius:9px;font-size:10.5px;font-weight:700;line-height:15px;text-align:center;box-sizing:border-box;border:1px solid var(--cm-panel,#151719);background:var(--v2-badge,#e0312b);color:#fff;pointer-events:none}

/* ==== Desktop (≥851px): no banner pictures. The flag-and-coins picture sits behind the whole page, faded, and each
   page's banner words (title, then its four or five words) sit on it as text. Phones keep the banner pictures. ==== */
@media (min-width:851px){
  html:not(#v2):not(#bg) body{background:linear-gradient(rgba(10,11,13,.55),rgba(10,11,13,.78)) fixed,url('/brand/page-bg.webp') right top/calc(100% - var(--bg-left,254px)) 100% fixed no-repeat,#0b0c0e}
  html:not(#v2):not(#bg) body main{background:transparent}
  html:not(#v2) body .v2-banner img{display:none}
  html:not(#v2) body .v2-banner{line-height:normal;background:none;border:0;box-shadow:none;min-height:0;padding:16px 0 14px}
  /* Left-aligned with the page's cards, on a 25% shadow box: big title, an upright line, then the small words. */
  html:not(#v2) body .v2-banner-text{display:inline-flex;align-items:center;gap:22px;max-width:100%;box-sizing:border-box;padding:16px 26px;text-align:left;background:rgba(0,0,0,.25);border-radius:10px;box-shadow:0 6px 22px rgba(0,0,0,.25)}
  html:not(#v2) body .v2-banner-title{font:italic 900 46px/1.05 Inter,sans-serif;letter-spacing:.5px;text-transform:uppercase;background:linear-gradient(180deg,#fff 0%,#d5d9de 45%,#8c939c 55%,#e9ecef 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 2px 6px rgba(0,0,0,.8));white-space:nowrap}
  html:not(#v2) body .v2-banner-tag{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;align-self:stretch;align-content:center;padding-left:22px;border-left:2px solid rgba(214,218,224,.55);gap:6px 14px;font:600 14px/1 Inter,sans-serif;letter-spacing:4px;text-transform:uppercase;color:#e6e8eb;text-shadow:0 1px 4px rgba(0,0,0,.9)}
  html:not(#v2) body .v2-banner-tag i{font-style:normal;color:#3a8bff;text-shadow:0 0 8px #3a8bff;letter-spacing:0}
}
@media (min-width:851px) and (max-width:1180px){html:not(#v2) body .v2-banner-title{font-size:36px}}
/* The background starts right of the left menu: its width per screen size (style.css), none when the menu is closed. */
@media (min-width:851px) and (max-width:1150px){html:not(#v2) body{--bg-left:220px}}
html:not(#v2) body.v2-side-off{--bg-left:0px}
.v2-banner-text{display:none}
/* Desktop: one left line on every page (Brady, November 15). The title box, the first coin of a tile row and the page's
   content all start at the banner's left edge. Pages under the Home banner drop their wider inset; a tile row's left
   arrow floats over the coins (only once scrolled) instead of pushing the first coin in. */
@media (min-width:851px){
  html:not(#v2) body.v2-home #content{padding-left:4px;padding-right:12px}
  html:not(#v2) body.v2-home.v2-side-off #content{padding-left:12px}
  html:not(#v2) body.v2-community #content>.v2-tilerow{margin-left:0;margin-right:0}
  html:not(#v2) body .v2-tilerow{position:relative}
  html:not(#v2) body .v2-tilerow>.v2-tilearrow:first-child{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:2;box-shadow:0 2px 10px rgba(0,0,0,.6)}
  html:not(#v2) body .v2-tilerow>.v2-tilearrow:first-child:disabled{display:none}
  /* Line up what is seen: the title's words (not its shadow box) and the first coin picture (not its tile). */
  html:not(#v2) body .v2-banner-text{padding-left:0;padding-right:26px}
  /* (The coin row's pull-left is measured in coin-home.js tileRow, as tiles widen with the window.) */
  /* The banner shares the content's width cap and centring (style.css #content: 1600px, auto margins) and its inset,
     so the title stays on the line on very wide windows too. */
  html:not(#v2) body main>.v2-banner{width:100%;max-width:1600px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;padding-left:4px;padding-right:12px}
  html:not(#v2) body.v2-side-off main>.v2-banner{padding-left:12px}
  /* The Coin Exchange / Coin Exchange Chat switch under the banner runs from the content's left edge to its right. */
  html:not(#v2) body main>.v2-xswitch{margin-left:max(4px,calc((100% - 1600px)/2 + 4px))!important;margin-right:max(12px,calc((100% - 1600px)/2 + 12px))!important}
  html:not(#v2) body.v2-side-off main>.v2-xswitch{margin-left:max(12px,calc((100% - 1600px)/2 + 12px))!important}
}

/* ==== Community feed row (Brady, November 15): For You, Following, Friends, Groups and Shared coins as one row of pills,
   the posting box under it. The feed pills stay while Shared coins is on (then none of them is lit). ==== */
html:not(#v2):not(#rd) body #content .ch-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 0}
html:not(#v2):not(#rd) body #content .ch-bar>.ps-feeds{display:flex;flex-wrap:nowrap;margin:0;gap:8px}
/* The "Open … first" shortcut is left out of this row; the opening feed is set on the Followers tab of Friends & Favorites (Your settings). */
html:not(#v2):not(#rd) body #content .ch-bar .ps-feed-def{display:none}
html:not(#v2):not(#rd) body #content .ch-bar .ch-coins{display:inline-flex;align-items:center;gap:7px;margin:0;white-space:nowrap}
html:not(#v2):not(#rd) body #content .ch-bar .ch-coins .rd-svg{width:16px;height:16px}
html:not(#v2):not(#rd) body #content .ch-bar.ch-on-coins .ps-feed[aria-pressed=true]:not(.ch-coins){background:var(--cm-chip);border-color:var(--cm-chip-line);color:var(--cm-chip-text)}
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .ch-bar{margin:10px 0 0;gap:6px}
  html:not(#v2):not(#rd) body #content .ch-bar>.ps-feeds{display:grid;flex:1 1 100%;margin:0}
  html:not(#v2):not(#rd) body #content .ch-bar .ch-coins{height:36px;font-size:13px}
  /* Home's first post sat ~540px down on a 375px phone (Brady, 2026-11-16): the feed row stays one row, Share a coin is
     a coin icon beside "What's on your mind?" (its words kept for screen readers), and the search bar waits for the
     top bar's magnifier (community-home.js adds .ch-open) unless a search is already typed in. */
  html:not(#v2):not(#rd) body #content .ch-bar{flex-wrap:nowrap;gap:4px}
  html:not(#v2):not(#rd) body #content .ch-bar>.ps-feeds{flex:4 1 0;min-width:0;gap:4px}
  html:not(#v2):not(#rd) body #content .ch-bar .ps-feed{min-width:0;padding:0 2px;font-size:12px;letter-spacing:-.1px}
  html:not(#v2):not(#rd) body #content .ch-bar .ch-coins{flex:1 1 0;justify-content:center;white-space:normal;line-height:1.1;text-align:center}
  html:not(#v2):not(#rd) body #content .ch-bar .ch-coins .rd-svg{display:none}
  @media (max-width:359px){
    html:not(#v2):not(#rd) body #content .ch-bar .ps-feed{padding:0 1px;font-size:11.5px;letter-spacing:-.25px}
    html:not(#v2):not(#rd) body #content .ch-bar .ch-coins{flex:.7 1 0}
  }
  html:not(#v2):not(#rd) body #content .cm-compose .cm-compose-row{flex-wrap:nowrap;gap:10px}
  html:not(#v2):not(#rd) body #content .cm-compose .v2-compose-side{flex:none;align-self:center;padding:0 0 0 10px;border-top:0;border-left:1px solid var(--cm-line,#d5d9de)}
  html:not(#v2):not(#rd) body #content .cm-compose .v2-compose-coin{flex:none;width:44px;min-height:44px;height:44px;padding:0;justify-content:center}
  html:not(#v2):not(#rd) body #content .cm-compose .v2-compose-coin>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html:not(#v2):not(#rd) body #content .cm-feed-wrap>form#chSearch:not(.ch-open):has(#chQ:placeholder-shown){display:none}
}

/* Friends & Favorites tabs: the same pills as the Community feed row (For You, Following…): chip colors, blue when
   chosen. Two-word names stack on two lines, with as little spacing as possible (Brady, 2026-11-15). */
html:not(#v2):not(#rd) body #content .cm-tabs.sx-frtabs{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;border-bottom:0;padding:0;margin:0 0 12px;overflow-x:auto;scrollbar-width:none}
html:not(#v2):not(#rd) body #content .cm-tabs.sx-frtabs>button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:4px;width:min-content;min-height:36px;height:auto;margin:0;padding:4px 14px;border:1px solid var(--cm-chip-line);border-radius:999px;background:var(--cm-chip);color:var(--cm-chip-text);font:600 14px/1.1 Inter,system-ui,sans-serif;text-align:center;white-space:normal;box-shadow:none}
html:not(#v2):not(#rd) body #content .cm-tabs.sx-frtabs>button[aria-selected=true]{background:var(--v2-blue);border-color:var(--v2-blue);color:var(--v2-blue-ink)}
html:not(#v2):not(#rd) body #content .cm-tabs.sx-frtabs>button::after{display:none}
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .cm-tabs.sx-frtabs{gap:3px;margin:0 0 10px}
  html:not(#v2):not(#rd) body #content .cm-tabs.sx-frtabs>button{flex:1 1 auto;padding:2px 4px;font-size:12px;letter-spacing:-.1px}
}

/* Coin Exchange and Marketplace on phones: the search on its own full row, Filters and Sort sharing the row below
   (Brady, 2026-11-15: the search box was running under the Filters button). */
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .cx-bar{flex-wrap:wrap;gap:8px}
  html:not(#v2):not(#rd) body #content .cx-bar .cx-search{flex:1 0 100%;min-width:0}
  html:not(#v2):not(#rd) body #content .cx-bar .cx-search>label.search{width:100%;min-width:0;box-sizing:border-box}
  html:not(#v2):not(#rd) body #content .cx-bar .cx-filter-btn{flex:1 1 0;min-width:0;justify-content:center}
  html:not(#v2):not(#rd) body #content .cx-bar .cx-tools{flex:1 1 0;min-width:0;gap:0}
  html:not(#v2):not(#rd) body #content .cx-bar .cx-sort{width:100%;min-width:0;justify-content:center}
  html:not(#v2):not(#rd) body #content .cx-bar .cx-sort select{flex:1;min-width:0}
}

/* Saved listings, Your listings and the team pages (Moderation, Support messages, Professional checks, Business
   applications): no title or icon tile under the coins, only the page's one-line intro just above its first bar,
   12px away (Brady, 2026-11-15). The title stays for screen readers. */
html:not(#v2):not(#rd) body #content .page-heading.rd-lean{display:block;margin:0 0 12px;padding:0}
html:not(#v2):not(#rd) body #content .page-heading.rd-lean>:is(.eyebrow,.rd-hico){display:none}
html:not(#v2):not(#rd) body #content .page-heading.rd-lean>h1{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
html:not(#v2):not(#rd) body #content .page-heading.rd-lean>p{margin:0;max-width:none}
html:not(#v2):not(#rd) body #content .cx-main>.page-heading.rd-lean{margin-bottom:0}
html:not(#v2):not(#rd) body #content .page-heading.rd-lean+.utility-row{margin-top:0}
/* Your listings: action bar, then the listings, 12px apart. */
html:not(#v2):not(#rd) body #content .utility-row.rd-actbar:has(+#ownGrid){margin-bottom:12px}
html:not(#v2):not(#rd) body #content #ownGrid>.rd-empty:only-child{margin:0}
/* Marketplace, Coin Exchange and Saved: the count line sits 10px over the cards; an empty filter-chip row takes no room. */
html:not(#v2):not(#rd) body #content .cx-browse-head{margin-bottom:10px}
@media (min-width:641px){html:not(#v2):not(#rd) body #content .cx-browse-head .community-tabs{margin-top:0;margin-bottom:0}}
html:not(#v2):not(#rd) body #content .cx-browse>.filter-chips:not(:has(button)){display:none}
/* Saved: the favorite collections, saved posts and saved coins rows sit 12px apart. */
html:not(#v2):not(#rd) body #content #svMore{margin-top:0;gap:12px}
html:not(#v2):not(#rd) body #content #svMore>.rd-row{margin:0}
/* Team pages: intro, tab bar, filters and cards 12px apart. */
html:not(#v2):not(#rd) body #content .page-heading.rd-lean~:is(.rd-tabbar,.mod-filters,.panel,.hp-split){margin-top:0;margin-bottom:12px}
/* Saved with nothing to show: the count line (and any feed pills) sit inside the top of the gray box instead of
   above it (Brady, 2026-11-15). */
html:not(#v2):not(#rd) body #content .sv-wrap .cx-browse:has(#grid>.rd-empty){position:relative}
html:not(#v2):not(#rd) body #content .sv-wrap .cx-browse:has(#grid>.rd-empty)>.cx-browse-head{position:absolute;z-index:1;top:12px;left:20px;right:20px;min-height:36px;margin:0}
html:not(#v2):not(#rd) body #content .sv-wrap #grid>.rd-empty{padding-top:60px}

/* ---- Team / Accounts (Brady's Accounts mockup, 2026-11-15): count tiles, a search-and-filter bar, then a table with
   photo, member ID, join date, role/type, status and Manage, or the same accounts as cards. ---- */
html:not(#v2) #content .ta-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:14px 0 16px}
html:not(#v2) #content .ta-stat{display:flex;align-items:center;gap:16px;min-height:84px;margin:0;padding:16px 20px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:linear-gradient(180deg,var(--rd-card),var(--rd-card2));color:var(--rd-text);text-align:left;cursor:pointer;font:inherit;box-shadow:none}
html:not(#v2) #content .ta-stat:hover{border-color:var(--rd-ico-line)}
html:not(#v2) #content .ta-stat[aria-pressed=true]{border-color:var(--rd-blue);background:linear-gradient(120deg,rgba(21,96,203,.38),rgba(21,96,203,.08) 70%),var(--rd-card);box-shadow:inset 0 0 0 1px rgba(58,139,255,.25)}
html:not(#v2) #content .ta-stat-ico{display:grid;place-items:center;width:46px;height:46px;flex:0 0 auto;color:var(--rd-text)}
html:not(#v2) #content .ta-stat-ico .rd-svg{width:32px;height:32px;stroke-width:1.5}
html:not(#v2) #content .ta-stat[aria-pressed=true] .ta-stat-ico{color:var(--rd-ico)}
html:not(#v2) #content .ta-stat-txt{display:flex;flex-direction:column;gap:2px;min-width:0}
html:not(#v2) #content .ta-stat-txt small{color:var(--rd-muted);font-size:14px;font-weight:500}
html:not(#v2) #content .ta-stat-txt b{color:var(--rd-text);font-size:28px;line-height:1.1;font-weight:700}

html:not(#v2) #content .ta-bar{display:flex;align-items:flex-end;gap:16px;margin:0 0 16px;padding:16px 18px;border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:linear-gradient(180deg,var(--rd-card),var(--rd-card2))}
html:not(#v2) #content .ta-search{position:relative;flex:1 1 auto;min-width:0;margin:0}
html:not(#v2) #content .ta-search .rd-svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--rd-muted);pointer-events:none}
html:not(#v2) #content .ta-search input{width:100%;min-height:46px;margin:0;padding:0 14px 0 46px;border-radius:12px;background:var(--rd-field);border:1px solid var(--rd-field-line);color:var(--rd-text);font:15px Inter,sans-serif}
html:not(#v2) #content .ta-sep{align-self:stretch;width:1px;margin:4px 0;background:var(--rd-line)}
html:not(#v2) #content .ta-field{display:flex;flex-direction:column;gap:6px;flex:0 0 190px;margin:0;color:var(--rd-muted);font-size:12px;font-weight:600}
html:not(#v2) #content :is(.ta-field,.ta-sort) select{min-height:40px;margin:0;padding:0 34px 0 12px;border-radius:10px;background-color:var(--rd-field);border:1px solid var(--rd-field-line);color:var(--rd-text);font:500 14px Inter,sans-serif}
html:not(#v2) #content .ta-bar .ta-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;margin:0;padding:0 26px;border-radius:12px;flex:0 0 auto}

html:not(#v2) #content .ta-panel{border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:linear-gradient(180deg,var(--rd-card),var(--rd-card2));overflow:hidden}
html:not(#v2) #content .ta-panel-head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid var(--rd-line)}
html:not(#v2) #content .ta-panel-head h2{flex:1;margin:0;font-size:20px;font-weight:700;color:var(--rd-text)}
html:not(#v2) #content .ta-sort{display:flex;align-items:center;gap:10px;margin:0;color:var(--rd-muted);font-size:13px;font-weight:500}
html:not(#v2) #content .ta-views{display:flex;border:1px solid var(--rd-field-line);border-radius:10px;overflow:hidden}
html:not(#v2) #content .ta-views button{display:grid;place-items:center;width:42px;height:38px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:var(--rd-field);color:var(--rd-muted);box-shadow:none}
html:not(#v2) #content .ta-views button+button{border-left:1px solid var(--rd-field-line)}
html:not(#v2) #content .ta-views button[aria-pressed=true]{background:rgba(21,96,203,.22);color:var(--rd-ico)}

html:not(#v2) #content .ta-list .ta-row{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr) minmax(0,.95fr) 112px;align-items:center;gap:14px;padding:10px 20px;color:var(--rd-text)}
html:not(#v2) #content .ta-list .ta-row+.ta-row{border-top:1px solid var(--rd-line)}
html:not(#v2) #content .ta-list .ta-row:not(.ta-headrow):hover{background:color-mix(in srgb,currentColor 4%,transparent)}
html:not(#v2) #content .ta-list .ta-headrow{padding-top:11px;padding-bottom:11px;background:color-mix(in srgb,var(--rd-card2) 70%,transparent);color:var(--rd-muted);font-size:13px;font-weight:600}
html:not(#v2) #content .ta-who{display:flex;align-items:center;gap:14px;min-width:0}
html:not(#v2) #content .ta-ava{position:relative;display:grid;place-items:center;width:48px;height:48px;flex:0 0 auto;border-radius:50%;overflow:hidden;background:linear-gradient(180deg,#26456f,#173055);border:1px solid var(--rd-field-line);color:#fff;font-weight:700;font-size:16px}
html:not(#v2) #content .ta-ava img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
html:not(#v2) #content .ta-main{display:flex;flex-direction:column;min-width:0;line-height:1.3}
html:not(#v2) #content .ta-main b{font-size:15px;font-weight:700}
html:not(#v2) #content .ta-main :is(.ta-muted,small){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--rd-muted);font-size:13px;font-weight:400}
html:not(#v2) #content .ta-id{min-width:0}
html:not(#v2) #content .ta-id code{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 10px;border:1px solid var(--rd-field-line);border-radius:8px;background:var(--rd-field);color:var(--rd-text);font:500 13px Inter,sans-serif}
html:not(#v2) #content .ta-date{display:flex;align-items:center;gap:8px;font-size:14px;white-space:nowrap}
html:not(#v2) #content .ta-date .rd-svg{color:var(--rd-muted)}
html:not(#v2) #content .ta-tags{display:flex;flex-wrap:wrap;gap:6px}
html:not(#v2) #content .ta-tags .access-tag{display:inline-flex;align-items:center;min-height:26px;margin:0;padding:0 10px;border-radius:7px;border:1px solid var(--rd-field-line);background:var(--rd-field);color:var(--rd-text);font-size:13px;font-weight:500}
html:not(#v2) #content .ta-tags .ta-team{border-color:rgba(58,139,255,.45);background:rgba(21,96,203,.22);color:var(--rd-ico)}
html:not(#v2) #content .ta-pill{display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:0 10px;border-radius:7px;font-size:13px;font-weight:500;white-space:nowrap}
html:not(#v2) #content .ta-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
html:not(#v2) #content .ta-ok{background:rgba(47,179,109,.14);color:var(--rd-green)}
html:not(#v2) #content .ta-warn{background:rgba(163,166,171,.16);color:#c9cdd2}
html:not(#v2) #content .ta-bad{background:rgba(224,49,43,.15);color:#ff6b62}
html:not(#v2) #content .ta-off{background:color-mix(in srgb,currentColor 8%,transparent);color:var(--rd-muted)}
html:not(#v2) #content .ta-act{justify-self:end}
html:not(#v2) #content .ta-manage{display:inline-flex;align-items:center;gap:6px;min-height:36px;margin:0;padding:0 12px 0 16px;border:1px solid var(--rd-field-line);border-radius:10px;background:var(--rd-field);color:var(--rd-text);font:600 14px Inter,sans-serif;box-shadow:none;cursor:pointer}
html:not(#v2) #content .ta-manage:hover{border-color:var(--rd-blue);color:var(--rd-ico)}
html:not(#v2) #content .ta-manage .rd-svg{width:16px;height:16px}
html:not(#v2) #content .ta-empty{margin:0;padding:28px 20px;color:var(--rd-muted);text-align:center}
html:not(#v2) #content .ta-more{margin:0;padding:14px 20px;border-top:1px solid var(--rd-line);text-align:center}

/* Cards: the same accounts in a grid. */
html:not(#v2) #content .ta-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;padding:16px}
html:not(#v2) #content .ta-grid .ta-row.ta-headrow{display:none}
html:not(#v2) #content .ta-grid .ta-row{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:10px 8px;padding:16px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2);color:var(--rd-text)}
html:not(#v2) #content .ta-grid :is(.ta-who,.ta-tags,.ta-act){grid-column:1/-1}
html:not(#v2) #content .ta-grid .ta-act{justify-self:stretch}
html:not(#v2) #content .ta-grid .ta-manage{width:100%;justify-content:center}

/* Light appearance: keep the tints readable. */
html:not([data-theme=dark]):not(#v2) #content .ta-stat[aria-pressed=true]{background:linear-gradient(120deg,rgba(21,96,203,.16),rgba(21,96,203,.03) 70%),var(--rd-card)}
html:not([data-theme=dark]):not(#v2) #content .ta-warn{color:#4b5058}
html:not([data-theme=dark]):not(#v2) #content .ta-bad{color:#b3261e}
html:not([data-theme=dark]):not(#v2) #content .ta-ok{color:#1d7f4b}

@media(max-width:1100px){
  html:not(#v2) #content .ta-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  html:not(#v2) #content .ta-bar{flex-wrap:wrap}
  html:not(#v2) #content .ta-search{flex:1 1 100%}
  html:not(#v2) #content .ta-sep{display:none}
  html:not(#v2) #content .ta-field{flex:1 1 160px}
  html:not(#v2) #content .ta-list .ta-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr) 112px}
  html:not(#v2) #content .ta-list .ta-date,html:not(#v2) #content .ta-list .ta-headrow>:nth-child(3){display:none}
}
@media(max-width:760px){
  html:not(#v2) #content .ta-stats{gap:10px}
  html:not(#v2) #content .ta-stat{min-height:0;padding:12px 14px;gap:10px}
  html:not(#v2) #content .ta-stat-ico{width:34px;height:34px}
  html:not(#v2) #content .ta-stat-ico .rd-svg{width:24px;height:24px}
  html:not(#v2) #content .ta-stat-txt small{font-size:12px}
  html:not(#v2) #content .ta-stat-txt b{font-size:22px}
  html:not(#v2) #content .ta-bar{padding:12px;gap:10px}
  html:not(#v2) #content .ta-bar .ta-go{flex:1 1 100%}
  html:not(#v2) #content .ta-panel-head{flex-wrap:wrap;padding:12px 14px}
  html:not(#v2) #content .ta-panel-head h2{flex:1 1 100%;font-size:18px}
  html:not(#v2) #content .ta-sort{flex:1}
  html:not(#v2) #content .ta-sort select{flex:1;min-width:0}
  html:not(#v2) #content .ta-rows .ta-row.ta-headrow{display:none}
  html:not(#v2) #content .ta-list .ta-row{grid-template-columns:1fr auto;gap:8px;padding:14px}
  html:not(#v2) #content .ta-list :is(.ta-who,.ta-tags){grid-column:1/-1}
  html:not(#v2) #content .ta-list .ta-date{display:flex;font-size:13px;color:var(--rd-muted)}
  html:not(#v2) #content .ta-grid{grid-template-columns:1fr;padding:12px}
}
/* The account window shows the same status pill beside the type tags. */
#modal .ta-tags{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#modal .ta-pill{display:inline-flex;align-items:center;gap:7px;min-height:24px;padding:0 10px;border-radius:7px;font-size:12px;font-weight:600}
#modal .ta-pill::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
#modal .ta-ok{background:rgba(47,179,109,.14);color:#2fb36d}
#modal .ta-warn{background:rgba(163,166,171,.16);color:#c9cdd2}
#modal .ta-bad{background:rgba(224,49,43,.15);color:#ff6b62}
#modal .ta-off{background:color-mix(in srgb,currentColor 8%,transparent)}

/* The Manage window: one card per job (reason, details, sign-in, team role, profile, suspension, danger zone), and one
   button style throughout: outlined charcoal, blue on hover, red for Suspend and Delete. Save changes stays in the foot. */
:is(#content,#modal) .ta-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;margin:0;padding:0 16px;border:1px solid var(--rd-field-line);border-radius:10px;background:var(--rd-field);color:var(--rd-text);font:600 14px Inter,sans-serif;text-decoration:none;white-space:nowrap;box-shadow:none;cursor:pointer}
:is(#content,#modal) .ta-btn:hover{border-color:var(--rd-blue);color:var(--rd-ico)}
:is(#content,#modal) .ta-btn :is(.rd-svg,svg){width:17px;height:17px;flex:0 0 auto}
:is(#content,#modal) .ta-btn:disabled{opacity:.55;cursor:default}
#modal .ta-btn-danger{border-color:rgba(224,49,43,.55);color:#ff6b62}
#modal .ta-btn-danger:hover{border-color:#e0312b;background:rgba(224,49,43,.12);color:#ff8a83}
#modal .ta-account .ta-view{margin:12px 0 4px}
#modal .ta-account .ta-edit{display:flex;flex-direction:column;gap:12px;margin-top:10px}
#modal .ta-account .ta-sec{display:flex;flex-direction:column;gap:8px;margin:0;padding:14px 16px 16px;border:1px solid var(--rd-line);border-radius:12px;background:var(--rd-card2)}
#modal .ta-account .ta-sec>h3.dv-h{margin:0 0 2px!important}
#modal .ta-account .ta-sec label{margin:4px 0 0;color:var(--rd-muted);font-size:13px;font-weight:600}
#modal .ta-account .ta-sec :is(input,textarea,select){width:100%;margin:0;min-height:42px;border-radius:10px}
#modal .ta-account .ta-sec .cp-handle{margin:0}
#modal .ta-account .ta-sec .cp-handle input{min-height:40px}
#modal .ta-account .ta-grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#modal .ta-account .ta-grid2>div{display:flex;flex-direction:column;gap:6px}
#modal .ta-account .ta-note{margin:0;color:var(--rd-muted);font-size:13px;line-height:1.5}
#modal .ta-account .ta-line{display:flex;align-items:center;gap:10px}
#modal .ta-account .ta-line>:is(select,input,.ta-note){flex:1 1 auto;min-width:0}
#modal .ta-account .ta-line>.ta-btn{flex:0 0 auto}
#modal .ta-account .ta-btns{display:flex;flex-wrap:wrap;gap:10px}
#modal .ta-account .ta-sec-reason{border-color:var(--rd-ico-line)}
#modal .ta-account .ta-sec .cp-error{margin:0}
#modal .ta-account .ta-danger{border-color:rgba(224,49,43,.45);background:linear-gradient(180deg,rgba(224,49,43,.07),transparent),var(--rd-card2)}
#modal .ta-account .ta-danger h3.dv-h,#modal .ta-account .ta-danger h3.dv-h .dlg-ico{color:#ff6b62}
#modal .ta-account .ta-deleted{margin-top:14px;padding:12px 14px;border:1px solid var(--rd-line);border-radius:10px;background:var(--rd-card2)}
#content .ta-more .ta-btn{min-width:200px}
html:not([data-theme=dark]) #modal .ta-btn-danger,html:not([data-theme=dark]) #modal .ta-account .ta-danger h3.dv-h{color:#b3261e}
@media(max-width:640px){
  #modal .ta-account .ta-grid2{grid-template-columns:1fr}
  #modal .ta-account .ta-line{flex-wrap:wrap}
  #modal .ta-account .ta-line>*,#modal .ta-account .ta-line>.ta-btn{flex:1 1 100%}
  #modal .ta-account .ta-btns>.ta-btn{flex:1 1 100%}
}

/* Alignment pass (2026-11-15): no words broken mid-word, banner words on one line, nothing hidden
   behind a header. */
/* Coin tile labels: break between words only ("Law / Enforcement", never "Enforceme / nt"). A long word may use
   the tile's side padding and half of the 8px gap so it fits on one line. */
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles.cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups])>span:last-child{max-width:none;width:calc(100% + 16px);margin-inline:-8px;overflow-wrap:normal;word-break:normal;hyphens:none}
/* Side cards: when a text link wraps, it wraps like a sentence with the arrow after its last word. */
html:not(#v2):not(#rd) body #content .rd-promo .rd-link{display:inline;text-align:left;line-height:1.4}
html:not(#v2):not(#rd) body #content .rd-promo .rd-link .rd-svg{display:inline-block;vertical-align:-3px;margin-left:4px}
/* Saved with nothing to show: the count line and feed pills sit in the gray box's normal flow, so the box grows
   when they wrap (phones) instead of covering the empty-state picture. */
html:not(#v2):not(#rd) body #content .sv-wrap .cx-browse:has(#grid>.rd-empty){border:1px solid var(--rd-line);border-radius:var(--rd-radius);background:radial-gradient(120% 90% at 50% 120%,rgba(21,96,203,.14),transparent 60%),var(--rd-card)}
html:not(#v2):not(#rd) body #content .sv-wrap .cx-browse:has(#grid>.rd-empty)>.cx-browse-head{position:static;min-height:36px;margin:0;padding:12px 20px 0}
html:not(#v2):not(#rd) body #content .sv-wrap #grid>.rd-empty{padding-top:16px;border:0;border-radius:0;background:none}
/* Desktop banner: the page's words stay on one line. When a long title leaves no room beside it, they move under the
   title as a whole (community-home.js adds .v2-banner-stacked), starting at the title's left edge with no upright line. */
@media (min-width:851px){
  html:not(#v2) body .v2-banner-text{flex-wrap:wrap;row-gap:10px}
  html:not(#v2) body .v2-banner-tag{flex:0 0 auto;flex-wrap:nowrap;white-space:nowrap}
  html:not(#v2) body .v2-banner-stacked .v2-banner-tag{border-left-color:transparent;margin-left:-24px}
}
@media (max-width:640px){
  /* A little room between the banner and the first line of text (the earlier rule lost to the pages' own margins). */
  html:not(#v2):not(#rd) body main>#content>:is(:first-child,.rd-sr:first-child+*):is(.page-heading,.bz-dhead,.ah-hub,.sx-frpage){margin-top:12px}
}
/* My Collection's count tiles on phones: picture above the words, so "Total coins" fits on one line and the three
   numbers line up. */
@media (max-width:480px){
  html:not(#v2) #content .mc-stat{flex-direction:column;align-items:flex-start;gap:6px;padding:10px 12px}
  html:not(#v2) #content .mc-stat small{white-space:nowrap}
}
/* Very small phones (320px): a select's 140px floor pushed the Businesses "Sells" box past the screen edge. */
@media (max-width:359px){html:not(#v2):not(#rd) body .rd-select{min-width:0}html:not(#v2):not(#rd) body .rd-select select{min-width:0;width:100%}}
/* Side-card buttons span the whole card, words and arrow on one centered line (Brady, 2026-11-15). Wide screens put the
   icon beside the words, so there the button reaches back under the icon (56px icon + 16px gap). */
html:not(#v2):not(#rd) body #content .rd-promo :is(.primary,.secondary){width:100%;max-width:none;justify-content:center;text-align:center;white-space:nowrap;padding-inline:12px}
@media (min-width:1401px){html:not(#v2):not(#rd) body #content .rd-promo :is(.primary,.secondary){width:calc(100% + 72px);margin-left:-72px}}

/* ---- Compact phone headers (Brady, 2026-11-16): profile, storefront, group and My Collection put the photo/logo
   (64px) beside the name, keep buttons on one row, slim the counts, and cut intros to 2 lines with a More link
   (redo.js clampIntros). Desktop is unchanged. ---- */
.rd-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.rd-more{display:inline-block;margin:2px 0 0;padding:0;border:0;background:none;color:var(--rd-link,#3a8bff);font:600 13px Inter,sans-serif;cursor:pointer}
@media (max-width:640px){
  /* Member profile */
  html:not(#v2):not(#rd) body #content .cm-profile .cm-cover{height:100px}
  html:not(#v2):not(#rd) body #content .cm-profile-top{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;row-gap:10px;align-items:end;padding:0 14px 12px}
  html:not(#v2):not(#rd) body #content .cm-profile-top .cm-av{width:64px;height:64px;margin-top:-28px;border-width:3px;font-size:22px}
  html:not(#v2):not(#rd) body #content .cm-profile-top .cm-av .initials-coin{width:100%;height:100%}
  html:not(#v2):not(#rd) body #content .cm-profile-top .cm-av .initials-coin b{width:84%;height:84%;font-size:20px}
  html:not(#v2):not(#rd) body #content .cm-profile-top .cm-who{padding-top:0}
  html:not(#v2):not(#rd) body #content .cm-profile-top h1{font-size:21px;line-height:1.2}
  html:not(#v2):not(#rd) body #content .cm-profile-top .cm-actions{grid-column:1/-1;display:flex;flex-wrap:nowrap;gap:8px;margin:0}
  html:not(#v2):not(#rd) body #content .cm-profile-top .cm-actions>*{flex:1 1 0;min-width:0;margin:0;padding:0 8px}
  html:not(#v2):not(#rd) body #content .cm-profile-about{padding:0 14px 12px;gap:8px}
  html:not(#v2):not(#rd) body #content .cm-profile-about .cm-stats-row{gap:2px 14px;font-size:13px}
  /* Business storefront */
  html:not(#v2):not(#rd) body #content .bz-storehead{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;row-gap:10px;align-items:start;padding:14px}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-avatar.big{width:64px;height:64px;font-size:26px;margin:0}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-headtext{min-width:0;margin:0}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-eyebrow{font-size:10.5px;padding:3px 8px;margin:0 0 4px}
  html:not(#v2):not(#rd) body #content .bz-storehead h1{font-size:21px;line-height:1.2;margin:0 0 4px}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-where{gap:2px 10px;font-size:13px;margin:0}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-tags{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:6px;margin:0}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-tags::-webkit-scrollbar{display:none}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-tags>*{flex:none;font-size:12px}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-headacts{grid-column:1/-1;display:flex;flex-wrap:nowrap;gap:8px;width:100%;margin:0}
  html:not(#v2):not(#rd) body #content .bz-storehead .bz-headacts>:not(.rd-icobtn){flex:1 1 0;min-width:0}
  /* Group */
  html:not(#v2) .gr-head .gr-cover-lg{height:76px}
  .gr-crest{left:14px;top:40px;width:64px;height:64px}
  html:not(#v2) .gr-head .pl-head{padding-top:30px;gap:10px}
  html:not(#v2):not(#rd) body #content .gr-head .pl-name{font-size:21px;line-height:1.2}
  html:not(#v2):not(#rd) body #content .gr-head .pl-who>.cm-eyebrow{display:block;line-height:1.35}
  html:not(#v2):not(#rd) body #content .gr-head .pl-who>.cm-eyebrow svg{vertical-align:-3px;margin-right:4px}
  html:not(#v2):not(#rd) body #content .gr-head .pl-acts{display:flex;flex-wrap:nowrap;gap:8px;width:100%}
  html:not(#v2):not(#rd) body #content .gr-head .pl-acts>*{flex:1 1 0;min-width:0;padding:0 8px;justify-content:center}
  .gr-quick-phone .gr-quick-btn{flex-direction:row;gap:6px;min-height:44px;padding:0 6px;font-size:12.5px}
  .gr-quick-phone .gr-quick-btn .dlg-ico{width:18px;height:18px}
  /* My Collection */
  html:not(#v2):not(#rd) body #content .page-heading.mc-head .mc-stats{gap:8px;margin-top:0}
  html:not(#v2):not(#rd) body #content .page-heading.mc-head .mc-stat{flex:1 1 0;min-width:0;flex-direction:row;align-items:center;gap:8px;padding:8px 10px}
  html:not(#v2):not(#rd) body #content .page-heading.mc-head .mc-stat .rd-svg{width:20px;height:20px}
  html:not(#v2):not(#rd) body #content .page-heading.mc-head .mc-stat b{font-size:17px}
  html:not(#v2):not(#rd) body #content .page-heading.mc-head .mc-stat small{font-size:11px}
  html:not(#v2):not(#rd) body #content .mc-side{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  html:not(#v2):not(#rd) body #content .mc-side>:not(#mcAdd):not(#mcNewAlbum){grid-column:1/-1}
  html:not(#v2):not(#rd) body #content .mc-side>:is(#mcAdd,#mcNewAlbum){margin:0;padding:0 8px}
}
/* My Collection: no title block under the switch (Brady, 2026-11-16, the banner says it); only the count tiles. */
html:not(#v2):not(#rd) body #content .page-heading.mc-lean{display:block;min-height:0;margin:14px 0 0;padding:0}
html:not(#v2):not(#rd) body #content .page-heading.mc-lean:not(:has(.mc-stats)){margin:0}
html:not(#v2):not(#rd) body #content .page-heading.mc-lean .mc-stats{margin:0}

/* Post actions (Brady, 2026-11-16): phones keep Like, Comment and Share on one row with a ••• menu for the rest
   (community-posts.js openMore places it below or above the button, inside the screen); wider screens show every
   button in the row as before. */
.ps-more,.ps-more-list{display:contents}
.ps-more-btn{display:none!important}
@media (max-width:640px){
  html:not(#v2) .cm-post-actions{flex-wrap:nowrap;align-items:center}
  html:not(#v2) .cm-post-actions>.cm-act{flex:none}
  .ps-more{display:block;position:relative;flex:none}
  .ps-more-btn{display:inline-flex!important;align-items:center;justify-content:center;min-width:40px;letter-spacing:1px;font-weight:700}
  .ps-more-list{display:none;position:fixed;z-index:60;min-width:190px;max-width:calc(100vw - 16px);padding:6px;border:1px solid var(--rd-line,#2a2d31);border-radius:12px;background:var(--rd-card,#16181b);box-shadow:0 10px 30px rgba(0,0,0,.45);box-sizing:border-box}
  .ps-more.open .ps-more-list{display:flex;flex-direction:column;gap:2px}
  .ps-more-list>:is(button,a){display:flex!important;align-items:center;gap:10px;width:100%;min-height:42px;margin:0;padding:0 12px;border-radius:8px;justify-content:flex-start;text-align:left;text-decoration:none;white-space:nowrap}
  .ps-more-list>:is(button,a):hover,.ps-more-list>:is(button,a):focus-visible{background:var(--cm-btn,#202327)}
  .ps-more-list [data-ps-delete],.ps-more-list [data-ps-report]{color:#ff6b61}
}

/* Tab rows on phones (Brady, 2026-11-16): the storefront, member profile and group tabs ran past the edge with no
   sign there was more; now every tab fits the row (each shrinks, never below its longest word) and longer names stack on two lines, as on Friends &
   Favorites. Icons drop on phones to make room. */
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content :is(.bz-tabs2,.cm-ptabs,.gr-tabs){display:flex;flex-wrap:nowrap;overflow:visible;gap:2px}
  html:not(#v2):not(#rd) body #content :is(.bz-tabs2,.cm-ptabs,.gr-tabs)>:is(button,a){flex:1 1 auto;min-width:min-content;display:flex;align-items:center;justify-content:center;gap:4px;padding:0 3px;font-size:12.5px;line-height:1.15;white-space:normal;text-align:center;overflow-wrap:normal}
  html:not(#v2):not(#rd) body #content :is(.bz-tabs2,.gr-tabs)>:is(button,a) svg{display:none}
  html:not(#v2):not(#rd) body #content .cm-ptabs .cm-count{flex:none}
}
@media (max-width:359px){
  html:not(#v2):not(#rd) body #content :is(.bz-tabs2,.cm-ptabs,.gr-tabs)>:is(button,a){font-size:11.5px;padding:0 2px;letter-spacing:-.15px}
}

/* Filter bars on phones (Brady, 2026-11-16): compact but never cut off. Collector Showcase: search and its Search
   button share a row, State and Sort sit side by side; Businesses: Sells beside With reviews. redo.js fitFilters adds
   .rd-stack (one menu per row) when a picked value can't show in full at half width. Buttons and menus stay 40px. */
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .rd-dirbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
  html:not(#v2):not(#rd) body #content .rd-dirbar>.rd-search{flex:1 1 55%;order:0;width:auto;min-width:0;margin:0}
  html:not(#v2):not(#rd) body #content .rd-dirbar>button{flex:none;order:1;width:auto;margin:0;padding:0 14px}
  html:not(#v2):not(#rd) body #content .rd-dirbar>label.rd-select{order:2;flex:1 1 calc(50% - 4px);max-width:calc(50% - 4px);min-width:0;width:auto;margin:0}
  html:not(#v2):not(#rd) body #content .rd-dirbar>label.rd-select select{width:100%;min-width:0}
  html:not(#v2):not(#rd) body #content .rd-dirbar.rd-stack>label.rd-select{flex-basis:100%;max-width:none}
  html:not(#v2):not(#rd) body #content .bz-dbar>.bz-dsells{flex:1 1 0;min-width:0;width:auto}
  html:not(#v2):not(#rd) body #content .bz-dbar>.bz-dsells .rd-select,html:not(#v2):not(#rd) body #content .bz-dbar>.bz-dsells select{width:100%;min-width:0}
  html:not(#v2):not(#rd) body #content .bz-dbar>.bz-dtoggle{flex:none}
  html:not(#v2):not(#rd) body #content .bz-dbar.rd-stack>.bz-dsells{flex:1 1 100%}
}

/* Share to… with nowhere to share (Brady, 2026-11-16): Close, Communities and Find a group. Phones put Find a group on
   its own full-width row with Communities and Close side by side under it, so nothing runs off the window. */
html:not(#v2) #modal .ps-nowhere .dlg-foot-btns>a{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
@media (max-width:520px){
  html:not(#v2) #modal .ps-nowhere .dlg-foot-btns{display:flex;flex-wrap:wrap;gap:8px}
  html:not(#v2) #modal .ps-nowhere .dlg-foot-btns>*{flex:1 1 40%;min-width:0;margin:0}
  html:not(#v2) #modal .ps-nowhere .dlg-foot-btns>.primary{flex-basis:100%;order:-1}
}

/* Group page buttons (Brady, 2026-11-20: "more like the site"). The tabs are the same round pills as the Community
   feed row (blue when picked), Edit group is the blue action, Notify me / Leave / Report are pill chips, and the
   phone's quick actions are one row of pills (Group settings drops there: Edit group above opens the same window). */
html:not(#v2):not(#rd) body #content .gr-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;padding:0;border:0;background:none;box-shadow:none}
html:not(#v2):not(#rd) body #content .gr-tabs>button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;height:36px;margin:0;padding:0 16px;border:1px solid var(--cm-chip-line);border-radius:999px;background:var(--cm-chip);color:var(--cm-chip-text);font:600 14px Inter,sans-serif;box-shadow:none;cursor:pointer}
html:not(#v2):not(#rd) body #content .gr-tabs>button::after{display:none}
html:not(#v2):not(#rd) body #content .gr-tabs>button[aria-selected=true]{background:var(--v2-blue,#1560cb);border-color:var(--v2-blue,#1560cb);color:var(--v2-blue-ink,#fff)}
html:not(#v2):not(#rd) body #content .gr-head .pl-acts>:is(.cm-btn,.v2-post-btn){display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-height:40px;padding:0 16px;border-radius:999px;font:600 14px Inter,sans-serif;white-space:nowrap}
html:not(#v2):not(#rd) body #content .gr-head .pl-acts>.cm-btn:not(.gr-edit-btn){border:1px solid var(--cm-chip-line);background:var(--cm-chip);color:var(--cm-chip-text)}
html:not(#v2):not(#rd) body #content .gr-head .pl-acts>#grNotify[aria-pressed=true]{color:var(--v2-link,#3a8bff);border-color:currentColor}
html:not(#v2):not(#rd) body #content .gr-head .pl-acts>.gr-edit-btn{border:1px solid #2a6fd6!important;background:linear-gradient(180deg,#0f4393,#1560cb);color:#fff!important}
html:not(#v2):not(#rd) body #content .gr-head .pl-acts>.gr-edit-btn .dlg-ico{color:#fff}
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .gr-tabs{display:flex;flex-wrap:nowrap;gap:6px;margin:10px 12px}
  html:not(#v2):not(#rd) body #content .gr-tabs>button{flex:1 1 auto;min-width:0;padding:0 6px;font-size:13px;white-space:nowrap}
  html:not(#v2):not(#rd) body #content .gr-tabs .dlg-ico{display:none}
  html:not(#v2):not(#rd) body #content .gr-head .pl-acts>:is(.cm-btn,.v2-post-btn){padding:0 10px;font-size:13.5px}
  .gr-quick-phone{display:flex!important;flex-direction:row;flex-wrap:nowrap;gap:8px;margin:10px 12px 0}
  .gr-quick-phone .gr-quick-btn{flex:1 1 0;min-width:0;flex-direction:row;justify-content:center;gap:6px;height:40px;min-height:40px;padding:0 10px;border-radius:999px;border-color:var(--cm-chip-line);background:var(--cm-chip);color:var(--cm-chip-text);font-size:13.5px;white-space:nowrap}
  .gr-quick-phone .gr-quick-btn[data-gr-quick=settings]{display:none}
}

/* Phones: every window fills the whole screen (Brady, 2026-11-20: a listing left a strip of the page showing on the
   right). The listing, member and other detail windows set their own desktop widths after dialogs-v2.css's phone rule,
   so this restates it with a stronger selector. */
@media (max-width:850px){
  html:not(#v2):not(#rd) body #modal:not(.more-open)[open]{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}
}

/* Become a Supporter cards (Brady, 2026-11-20): Community, Groups, Coin Exchange, Marketplace and Saved side columns.
   Supporter Memberships are for personal accounts, so business accounts don't see them. */
body.bst-biz .rd-support{display:none!important}
/* Side menu: a gold Become a Supporter button under the menu, and Virtual Coins greyed out with "Work in progress"
   (Brady, 2026-11-20: shown, not clickable, until the member launch). */
.sidebar .rd-side-support{display:flex;align-items:center;justify-content:center;gap:8px;margin:12px 12px 4px;height:40px;text-decoration:none}
.sidebar .rd-side-support .rd-svg{width:17px;height:17px}
.sidebar nav button.rd-soon,.sidebar nav button.rd-soon:hover{opacity:.5;cursor:not-allowed;background:none!important;box-shadow:none!important}
.sidebar nav button.rd-soon{flex-wrap:wrap;row-gap:0;height:auto!important;min-height:40px;padding-top:6px!important;padding-bottom:6px!important}
.sidebar nav button.rd-soon .rd-soon-tag{flex-basis:100%;padding-left:36px;font-size:11.5px;font-weight:600;line-height:1.2;white-space:nowrap}
/* "Work in progress" sits right under the name, a couple of px down, in red (Brady, 2026-11-20). The sidebar's 12px gap
   (community-look.css) outranks the row-gap above, so this needs the extra ids. The name is dimmed by its colour rather
   than opacity, so the red stays clear. */
html:not(#cm):not(#rd) .sidebar nav button.rd-soon,html:not(#cm):not(#rd) .sidebar nav button.rd-soon:hover{row-gap:2px;align-content:center;opacity:1;color:color-mix(in srgb,var(--cm-muted) 55%,transparent)}
html:not(#cm):not(#rd) .sidebar nav button.rd-soon .rd-soon-tag{margin-top:0;color:#ef4444!important} /* appearance.css greys every <small> with !important */

/* ---- Collector profile header (Brady's mockup, 2026-11-20, minus the banner picture) ----
   One dark card with the member's cover on top (custom photo or the default compass art, never the mockup's
   coin-and-flag photo): coin avatar over the cover's edge · name, @handle/place/member since · actions top right; bio on the
   left with the stats row on the right, split by thin lines; tabs with icons, the active one a blue pill with an
   underline. The ids in the selector outrank the older profile rules in community-look.css and look-v2.css. */
html:not(#v2):not(#rd) body #content .pf-card{overflow:hidden;padding:0 0 12px;border-radius:14px}
/* The cover band is 3:1, the same shape the cover is framed in when uploaded (site/photo-framer.js), so a member's
   picture shows whole instead of a zoomed-in middle strip. Default compass: drawn whole (the shared --profile-compass
   is 118%, which clipped it), set in from the right edge. */
html:not(#v2):not(#rd) body #content .pf-card .pf-cover.cm-cover{height:auto;aspect-ratio:3/1}
html:not(#v2):not(#rd) body #content .pf-cover:not(.custom-cover){background-size:auto 80%,auto;background-position:right 28px center,0 0}
html:not(#v2):not(#rd) body #content :is(.pf-top,.pf-about,.pf-tabs){margin-left:22px;margin-right:22px}
html:not(#v2):not(#rd) body #content .pf-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:18px;align-items:start}
html:not(#v2):not(#rd) body #content :is(.pf-who,.pf-actions){padding-top:14px}
html:not(#v2):not(#rd) body #content .pf-av{position:relative;z-index:2;width:96px;height:96px;margin:-44px 0 0;border:0;font-size:30px;box-shadow:0 0 0 1px color-mix(in srgb,var(--v2-blue,#2f7cf6) 35%,transparent),0 0 22px color-mix(in srgb,var(--v2-blue,#2f7cf6) 18%,transparent)}
html:not(#v2):not(#rd) body #content .pf-av .initials-coin{width:100%;height:100%}
html:not(#v2):not(#rd) body #content .pf-av .initials-coin b{font-size:30px}
html:not(#v2):not(#rd) body #content .pf-who{min-width:0}
html:not(#v2):not(#rd) body #content .pf-who h1{margin:0;font:800 26px/1.15 Inter,sans-serif;letter-spacing:-.5px;color:var(--cm-text);overflow-wrap:anywhere}
html:not(#v2):not(#rd) body #content .pf-meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin:6px 0 0;font-size:14px;color:var(--cm-soft)}
html:not(#v2):not(#rd) body #content .pf-meta>span{display:inline-flex;align-items:center;gap:7px}
html:not(#v2):not(#rd) body #content :is(.pf-meta,.pf-biolink,.pf-tabs) .rd-svg{width:16px;height:16px;flex:none}
html:not(#v2):not(#rd) body #content .pf-actions{max-width:480px;flex-wrap:wrap;justify-content:flex-end;gap:8px}
html:not(#v2):not(#rd) body #content .pf-actions :is(.sx-fr,.sx-fo){display:contents}
html:not(#v2):not(#rd) body #content .pf-actions .cm-btn{min-height:36px;padding:0 14px;border-radius:10px;font-size:14px;font-weight:600;gap:6px}
html:not(#v2):not(#rd) body #content .pf-actions .cm-btn:not(.gold){background:transparent;border:1px solid var(--cm-btn-line);color:var(--cm-text)}
html:not(#v2):not(#rd) body #content .pf-actions .cm-btn svg{width:16px;height:16px}
html:not(#v2):not(#rd) body #content .pf-about{display:flex;flex-wrap:nowrap;align-items:center;gap:24px;padding:12px 0 14px}
html:not(#v2):not(#rd) body #content .pf-left{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:10px;padding-top:0}
html:not(#v2):not(#rd) body #content .pf-about .cm-bio{flex:none;margin:0;font-style:italic;font-size:14.5px}
html:not(#v2):not(#rd) body #content .pf-biolink{display:inline-flex;align-items:flex-start;gap:10px;padding:0;border:0;background:none;color:var(--cm-muted);font:italic 14.5px/1.4 Inter,sans-serif;text-align:left;cursor:pointer}
html:not(#v2):not(#rd) body #content .pf-biolink:hover span{color:var(--cm-text);text-decoration:underline}
html:not(#v2):not(#rd) body #content .pf-stats{flex:none;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:stretch;row-gap:10px}
html:not(#v2):not(#rd) body #content .pf-stats .sx-focounts{display:contents}
html:not(#v2):not(#rd) body #content .pf-stats>span:not(.sx-focounts),html:not(#v2):not(#rd) body #content .pf-stats .sx-focounts>*{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:76px;padding:2px 14px;border:0;border-left:1px solid var(--cm-line);background:none;font:inherit;font-size:13px;color:var(--cm-text);text-align:center}
html:not(#v2):not(#rd) body #content .pf-stats>span:first-child{border-left:0}
html:not(#v2):not(#rd) body #content .pf-stats b{font:800 18px/1.1 Inter,sans-serif;color:var(--cm-text)}
html:not(#v2):not(#rd) body #content .pf-stats .sx-folink{cursor:pointer}
html:not(#v2):not(#rd) body #content .pf-stats .sx-folink:hover .cm-muted{color:var(--cm-text);text-decoration:underline}
html:not(#v2):not(#rd) body #content .pf-stats .pf-norev{justify-content:center;padding-top:2px;font-size:13.5px}
html:not(#v2):not(#rd) body #content .pf-tabs{display:flex;gap:4px;margin-top:0;margin-bottom:0;padding:8px 0 0;border-top:1px solid var(--cm-line);border-bottom:1px solid var(--cm-line);overflow-x:auto;scrollbar-width:none}
html:not(#v2):not(#rd) body #content .pf-tabs>[role=tab]{position:relative;flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;margin:0;padding:0 14px;border:0;border-radius:10px 10px 8px 8px;background:none;font:600 14px Inter,sans-serif;color:var(--cm-soft);white-space:nowrap;cursor:pointer}
html:not(#v2):not(#rd) body #content .pf-tabs>[role=tab]:hover{color:var(--cm-text);background:color-mix(in srgb,var(--cm-text) 5%,transparent)}
html:not(#v2):not(#rd) body #content .pf-tabs>[role=tab][aria-selected=true]{background:color-mix(in srgb,var(--v2-blue,#2f7cf6) 22%,transparent);color:var(--cm-text)}
html:not(#v2):not(#rd) body #content .pf-tabs>[role=tab][aria-selected=true]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:var(--v2-blue,#2f7cf6);box-shadow:0 0 10px color-mix(in srgb,var(--v2-blue,#2f7cf6) 70%,transparent)}
html:not(#v2):not(#rd) body #content .pf-tabs .cm-count{min-width:22px;padding:1px 7px;border-radius:999px;background:color-mix(in srgb,var(--cm-text) 10%,transparent);color:var(--cm-text);font-size:12px;text-align:center}
html:not(#v2):not([data-theme=dark]):not(#rd) body #content .pf-tabs>[role=tab][aria-selected=true]{background:#e6effc;color:#0d4fb3}
/* Narrower desktop and tablets: the stats row drops under the bio, actions under the name. */
@media (max-width:1180px){
  html:not(#v2):not(#rd) body #content .pf-about{flex-direction:column;gap:16px}
  html:not(#v2):not(#rd) body #content .pf-stats{justify-content:flex-start}
  html:not(#v2):not(#rd) body #content .pf-stats>span:first-child{padding-left:0}
}
@media (max-width:900px){
  html:not(#v2):not(#rd) body #content .pf-top{grid-template-columns:auto minmax(0,1fr)}
  html:not(#v2):not(#rd) body #content .pf-actions{grid-column:1/-1;max-width:none;justify-content:flex-start;margin-top:16px;padding-top:0}
}
/* Phones (<=640px), phone only (Brady, 2026-11-20: "a better flow"): one column read top to bottom - cover, the coin
   beside the name and member since, the bio, the buttons (your own two share one row; a visitor's six wrap), the
   counts in one band between thin lines with the rating under them, then the tabs (they fit one row, icons dropped,
   per the 2026-11-16 tab rule). The wrappers step aside (display:contents) so the card's grid can order the pieces.
   12px gutter and rounded corners kept. */
@media (max-width:640px){
  html:not(#v2):not(#rd) body #content .pf-card{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;padding:0 14px 8px;border-radius:14px}
  html:not(#v2):not(#rd) body #content :is(.pf-top,.pf-about,.pf-left){display:contents}
  html:not(#v2):not(#rd) body #content .pf-cover{grid-column:1/-1;order:0;margin:0 -14px}
  html:not(#v2):not(#rd) body #content .pf-cover:not(.custom-cover){background-position:right 14px center,0 0}
  html:not(#v2):not(#rd) body #content .pf-av{order:1;grid-column:1;width:64px;height:64px;margin-top:-26px}
  html:not(#v2):not(#rd) body #content .pf-av .initials-coin b{font-size:20px}
  html:not(#v2):not(#rd) body #content .pf-who{order:2;grid-column:2;align-self:end;padding-top:8px}
  html:not(#v2):not(#rd) body #content .pf-who h1{font-size:20px}
  html:not(#v2):not(#rd) body #content .pf-meta{margin-top:3px;font-size:12.5px;gap:2px 10px;color:var(--cm-muted)}
  html:not(#v2):not(#rd) body #content .pf-meta .rd-svg{width:14px;height:14px}
  html:not(#v2):not(#rd) body #content .pf-about .cm-bio{order:3;grid-column:1/-1;margin-top:12px}
  html:not(#v2):not(#rd) body #content .pf-left>.rd-more{order:3;grid-column:1/-1;justify-self:start} /* redo.js adds More after a long bio */
  html:not(#v2):not(#rd) body #content .pf-left>.cm-chips{order:4;grid-column:1/-1;margin-top:8px}
  html:not(#v2):not(#rd) body #content :is(.pf-about .cm-bio,.pf-biolink){font-size:13.5px}
  html:not(#v2):not(#rd) body #content .pf-actions{order:5;grid-column:1/-1;max-width:none;flex-wrap:wrap;gap:6px;margin-top:12px;padding-top:0}
  html:not(#v2):not(#rd) body #content .pf-actions .cm-btn{flex:1 1 auto;min-width:0;margin:0;padding:0 10px;white-space:nowrap;min-height:36px;border-radius:9px;justify-content:center;font-size:13px}
  html:not(#v2):not(#rd) body #content .pf-stats{order:6;grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(58px,1fr));width:auto;margin-top:14px;padding:10px 0 8px;row-gap:6px;border-top:1px solid var(--cm-line)}
  html:not(#v2):not(#rd) body #content .pf-stats>span:not(.sx-focounts),html:not(#v2):not(#rd) body #content .pf-stats .sx-focounts>*{min-width:0;padding:0 1px;border-left:0;font-size:11.5px;line-height:1.2;white-space:nowrap}
  html:not(#v2):not(#rd) body #content .pf-stats>span:first-child{padding-left:2px}
  html:not(#v2):not(#rd) body #content .pf-stats b{font-size:16px}
  html:not(#v2):not(#rd) body #content .pf-stats .pf-rating{grid-column:1/-1;flex-direction:row;gap:6px;padding-top:2px;font-size:12px}
  html:not(#v2):not(#rd) body #content .pf-stats .pf-rating b{font-size:13px}
  html:not(#v2):not(#rd) body #content .pf-tabs{order:7;grid-column:1/-1;margin:0;gap:2px;padding-top:6px;overflow:visible}
  html:not(#v2):not(#rd) body #content .pf-tabs>[role=tab]{flex:1 1 auto;min-width:min-content;justify-content:center;gap:4px;min-height:36px;padding:0 4px;border-radius:9px 9px 6px 6px;font-size:12.5px;line-height:1.15;white-space:normal;text-align:center}
  html:not(#v2):not(#rd) body #content .pf-tabs .rd-svg{display:none}
  html:not(#v2):not(#rd) body #content .pf-tabs .cm-count{min-width:0;padding:1px 6px;font-size:11.5px}
}
