/* Direction 2 look (approved 2026-11-05), milestone 1: shared colors, type and the page shell.
   Loaded last. Black, Charcoal and Dark green all show the Direction 2 black/charcoal surfaces;
   Light keeps its light surfaces with the same blue actions. Gold stays for accents and category
   colors are untouched. Page bodies (cards, pills, buttons) are restyled in later milestones. */

/* ---- Shared tokens ---- */
:root{
  --v2-page:#020406;--v2-bar:#090b0c;--v2-bar-line:#15171a;--v2-side:#121416;--v2-side-line:#222427;
  --v2-box:#101213;--v2-field:#1a1c1e;--v2-field-line:#2a2c2f;--v2-card:#1a1c1e;--v2-card2:#161819;--v2-rcard:#0e1011;
  --v2-text:#f1f3f5;--v2-muted:#a3a6ab;--v2-divider:#303234;
  --v2-blue:#1560cb;--v2-blue-ink:#fff;--v2-link:#3a8bff;
  --v2-post:linear-gradient(180deg,#2f7bf5,#1560cb);
  --v2-tab-on:linear-gradient(180deg,#06162b 0%,#0b3a80 55%,#0d4fb3 100%);--v2-tab-on-line:#1d5fc4;
  --v2-row-on:linear-gradient(90deg,#155fcb 0%,#1b4a92 55%,#202d41 100%);
  --v2-secondary:#212a38;--v2-secondary-line:#2c3a55;
  --v2-gold:#8b94a0;--v2-gold-btn:linear-gradient(180deg,#979faa,#727d8c);--v2-badge:#e0312b;
  --v2-logo:'Exo 2',Inter,system-ui,sans-serif;--v2-script:'Kaushan Script',cursive;
  --v2-chrome:linear-gradient(180deg,#ffffff 0%,#e9ebee 38%,#9a9ea4 50%,#f4f5f7 64%,#b4b8be 100%);
  --v2-bar-h:80px;
  /* The BST Post coin beside the wordmark: Brady's eagle-and-flag coin (November 6), cut out on transparency. */
  --v2-coin:url(/brand/coin-256.png)
}
@media (max-width:850px){:root{--v2-bar-h:56px}}

/* Every dark appearance: the Community tokens and the older layers' tokens take the Direction 2 surfaces. */
html:not(#v2)[data-theme=dark]{
  --cm-bg:#020406;--cm-card:#161819;--cm-card2:#101213;--cm-line:#222427;--cm-btn:#1a1c1e;--cm-btn-line:#2a2c2f;
  --cm-text:#f1f3f5;--cm-soft:#d6d8dc;--cm-muted:#a3a6ab;--cm-chip:#1a1c1e;--cm-chip-line:#2a2c2f;--cm-chip-text:#c9ccd1;
  --cm-active:#16253b;--cm-stage:radial-gradient(circle at 50% 42%,#26292d 0%,#121416 72%);
  --cm-cover:linear-gradient(120deg,#0d1626 0%,#121416 48%,#1a1c1e 100%);
  --ink:#f1f3f5;--muted:#a3a6ab;--line:#2a2c2f;--surface:#121416;--soft:#1a1c1e;--neutral-bg:#020406;--neutral-input:#1a1c1e;
  background:#020406;color-scheme:dark
}
html:not(#v2)[data-theme=dark] :is(body,main){background:var(--v2-page)}

/* ---- Type: Inter body; the chrome italic logo face for the wordmark ---- */
html:not(#v2) .brand-text>span{font-family:var(--v2-logo);font-style:italic;font-weight:900;text-transform:uppercase;letter-spacing:1px;line-height:1}
html:not(#v2)[data-theme=dark] .brand-text>span{background:var(--v2-chrome);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:.8px #000;filter:drop-shadow(0 2px 2px rgba(0,0,0,.9))}
html:not(#v2) .brand-text small{font:700 10px Inter,sans-serif;letter-spacing:.6px;text-transform:uppercase;color:inherit}
html:not(#v2)[data-theme=dark] .brand-text small{color:var(--v2-text)}

/* ---- Desktop top bar: 80px, the BST Post coin and the chrome wordmark ---- */
html:not(#v2) header{height:var(--v2-bar-h);padding:0 20px;gap:18px}
html:not(#v2)[data-theme=dark] header{background:var(--v2-bar);border-bottom:1px solid var(--v2-bar-line);backdrop-filter:none}
html:not(#v2) main{padding-top:var(--v2-bar-h)}
html:not(#v2) .sx-bell{top:var(--v2-bar-h)}
html:not(#v2) header .brand{display:flex;align-items:center;gap:10px;margin:0 12px 0 0}
html:not(#v2) :is(.brand-icon,.cm-logo,.cm-mark){background-image:var(--v2-coin)}
html:not(#v2) header .brand-icon{width:62px;height:62px;margin:0;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6))}
html:not(#v2) header .brand-text{display:flex;flex-direction:column;gap:5px}
html:not(#v2) header .brand-text>span{font-size:40px}
html:not(#v2) header .brand-text small{display:block;font-size:10px;letter-spacing:.9px;white-space:nowrap}
html:not(#v2) .cm-hsearch{max-width:420px;min-height:40px;border-radius:20px}
html:not(#v2)[data-theme=dark] .cm-hsearch{background:#0f1112;border-color:var(--v2-field-line);color:#b8bbc0}
html:not(#v2) .cm-hsearch:focus-within{border-color:var(--v2-tab-on-line)}
html:not(#v2) header .cm-iconbtn{color:var(--cm-text)}
html:not(#v2) header .cm-dot{background:var(--v2-badge)}
/* Header actions are blue in every appearance; the secondary button is the slate one. */
html:not(#v2) header :is(.cm-btn.gold,.primary){background:var(--v2-post);border-color:transparent;color:var(--v2-blue-ink);border-radius:20px}
html:not(#v2) header :is(.cm-btn.gold,.primary):hover{background:var(--v2-post);filter:brightness(1.1)}
html:not(#v2) header .cm-btn:not(.gold){border-radius:20px}
html:not(#v2)[data-theme=dark] header .cm-btn:not(.gold){background:var(--v2-secondary);border-color:var(--v2-secondary-line);color:#fff}

/* ---- Desktop menu button and icon tabs (Community, Coin Exchange, Marketplace, My Collection, More) ---- */
html:not(#v2) .v2-menu{flex:none;width:40px;height:40px;margin:0 2px 0 -6px;border:0;border-radius:8px;background:transparent;color:var(--cm-text);display:grid;place-items:center;cursor:pointer}
html:not(#v2) .v2-menu svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html:not(#v2) .v2-menu:hover{background:var(--cm-btn)}
html:not(#v2) .v2-tabs{flex:none;display:flex;align-items:center;gap:6px;height:100%}
html:not(#v2) .v2-tabs [hidden]{display:none!important}
html:not(#v2) .v2-tab{flex:none;width:auto;margin:0;height:60px;min-width:62px;padding:0 9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--cm-text);font:500 13.5px Inter,sans-serif;white-space:nowrap;cursor:pointer}
html:not(#v2) .v2-tab svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
html:not(#v2) .v2-tab svg.v2-fill{fill:currentColor;stroke:none}
html:not(#v2) .v2-tab span{display:block;font:inherit;line-height:1.2}
html:not(#v2) .v2-tab svg.v2-caret{display:inline-block;width:9px;height:6px;margin-left:2px;vertical-align:middle;stroke-width:1.6}
html:not(#v2) .v2-tab:not(.on):hover{background:var(--cm-btn)}
html:not(#v2) .v2-tab.on{background:var(--v2-tab-on);border-color:var(--v2-tab-on-line);color:#fff;font-weight:600}
html:not(#v2) .v2-more{position:relative}
html:not(#v2) .v2-more-list{position:absolute;top:calc(100% + 6px);right:0;min-width:200px;padding:6px;display:flex;flex-direction:column;background:var(--cm-card);border:1px solid var(--cm-line);border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.35);z-index:20}
html:not(#v2) .v2-more-list[hidden]{display:none}
html:not(#v2) .v2-more-list button{padding:10px 12px;border:0;border-radius:7px;background:transparent;color:var(--cm-text);font:500 14px Inter,sans-serif;text-align:left;cursor:pointer}
html:not(#v2) .v2-more-list button:hover{background:var(--cm-btn)}
html:not(#v2) .v2-more-list button[aria-current]{background:var(--v2-row-on);color:#fff}
html:not(#v2) .v2-tabs + .cm-hsearch{flex:1 1 180px;min-width:150px;margin-left:4px}
/* The menu button hides the side menu; the page then uses the full width. */
@media (min-width:851px){
  html:not(#v2) body.v2-side-off .sidebar{display:none}
  html:not(#v2) body.v2-side-off main{margin-left:0}
}
/* Narrower desktops: icons only (each tab keeps its name for screen readers and as a tooltip). With names the header
   needs about 1480px signed out (Post, Sign in, Join), so below 1500px Join was pushed off the right edge. */
@media (min-width:851px) and (max-width:1500px){
  html:not(#v2) .v2-tab{min-width:46px;height:46px;padding:0 8px}
  html:not(#v2) .v2-tab span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  html:not(#v2) header .brand-text>span{font-size:34px}
}
@media (min-width:851px) and (max-width:1100px){html:not(#v2) header .brand-text{display:none}}
/* Phones keep the bottom tab bar instead. */
@media (max-width:850px){html:not(#v2) :is(.v2-tabs,.v2-menu){display:none}}

/* ---- Community banner (Brady's image, November 6): under the top bar, across the main column ---- */
/* Brady's banner set (November 11) has see-through corners around its coins, so no backing colour shows behind it. */
html:not(#v2) .v2-banner{position:relative;margin:0 12px 0 0;overflow:hidden;line-height:0}
html:not(#v2) .v2-banner[hidden]{display:none}
/* Brady, November 8: nothing of the banner is ever cut. It always shows whole at its own shape (7:1 on every
   screen), simply taller on wide screens; no height limit and no cropping. */
html:not(#v2) .v2-banner img{display:block;width:100%;height:auto}
html:not(#v2) .v2-banner-join{position:absolute;right:1.5%;bottom:8%;display:none;align-items:center;gap:6px;height:38px;padding:0 16px;border:1.5px solid #d6d8dc;border-radius:6px;background:rgba(0,0,0,.65);color:#fff;font:500 14px Inter,sans-serif;line-height:1;cursor:pointer}
html:not(#v2) .v2-banner-join:hover{background:rgba(0,0,0,.85)}
html:not(#v2) body.v2-community.cm-signed-out .v2-banner-join{display:flex}
/* Narrower, it would cover the banner's own words; the header's Join stays. (After the rule above, so it wins.) */
@media (max-width:1180px){html:not(#v2) body.v2-community.cm-signed-out .v2-banner-join{display:none}}
/* Wider screens: the banner, the posts column and the right column share edges, about 14px from the side menu
   and 12px from the window, with a 15px gap between the columns (Brady, November 6, as in the mockup). */
@media (min-width:851px){
  html:not(#v2) body.v2-community .v2-banner{margin-left:4px}
  html:not(#v2) body.v2-community #content{padding:14px 12px 45px 4px}
  html:not(#v2) body.v2-community .cm-wrap{gap:15px}
  html:not(#v2) body.v2-community.v2-side-off .v2-banner{margin-left:12px}
  html:not(#v2) body.v2-community.v2-side-off #content{padding-left:12px}
  /* A slimmer posting box, about the mockup's 80px. */
  html:not(#v2) body.v2-community .cm-compose.cm-pad{padding:12px 16px}
  html:not(#v2) body.v2-community .cm-compose-row>.cm-av{width:46px;height:46px;flex-basis:46px}
  html:not(#v2) body.v2-community .cm-compose-input{min-height:46px}
  html:not(#v2) body.v2-community .v2-post-btn{height:40px}
}
/* Pages without a banner of their own (v2-home, set by paintNav): the Home/Community banner replaces the gold band on
   every screen size, placed as on the restyled pages; the page body keeps its own look (Brady, November 6). */
html:not(#v2) body.v2-home .site-banner{display:none}
@media (min-width:851px){
  html:not(#v2) body.v2-home .v2-banner{margin-left:4px}
  html:not(#v2) body.v2-home.v2-side-off .v2-banner{margin-left:12px}
}
/* Phones: Brady's phone banner for the page (November 6), edge to edge under the top bar, in place of the gold band. */
@media (max-width:850px){
  html:not(#v2) .v2-banner{margin:0;border-radius:0}
  html:not(#v2) body.v2-page .site-banner{display:none}
}

/* ---- Community page body (build-plan step 4): 10px cards, the flat posting box, post cards with a divided
   action row, blue links and active states. Gold stays on the Coin Exchange card and coin/album accents;
   category colors are untouched. ---- */
html:not(#v2) body.v2-community #content .cm-card{border-radius:10px}
html:not(#v2) body.v2-community .cm-compose-input{border-radius:8px}
html:not(#v2) body.v2-community .cm-post-actions{border-top:1px solid var(--cm-line);margin-top:12px;padding-top:6px}
html:not(#v2) body.v2-community .cm-post-actions .cm-act{font-weight:500}
html:not(#v2) body.v2-community .cm-aside .cm-h3{font-size:17px;font-weight:600}
html:not(#v2) body.v2-community .cm-tabs [aria-selected=true]{border-bottom-color:var(--v2-blue);color:var(--v2-link)}
html:not(#v2) body.v2-community button.cm-chip[aria-pressed=true]{background:var(--v2-blue);border-color:var(--v2-blue);color:#fff}
html:not(#v2) body.v2-community .cm-tag{color:var(--v2-link)}
/* Dark appearances: the mockup's surfaces. */
html:not(#v2)[data-theme=dark] body.v2-community .cm-compose{background:var(--v2-box);border-color:#222426}
html:not(#v2)[data-theme=dark] body.v2-community .cm-compose-input{background:var(--v2-field);border-color:var(--v2-field-line);color:#b8bbc0}
html:not(#v2)[data-theme=dark] body.v2-community .cm-compose .v2-compose-coin{color:#eceef1}
html:not(#v2)[data-theme=dark] .v2-compose-side{border-color:#2a2d31}
html:not(#v2)[data-theme=dark] body.v2-community .cm-post{background:linear-gradient(180deg,var(--v2-card),var(--v2-card2));border-color:var(--v2-field-line)}
html:not(#v2)[data-theme=dark] body.v2-community .cm-post-actions{border-top-color:var(--v2-field-line)}
html:not(#v2)[data-theme=dark] body.v2-community .cm-post-actions .cm-act{color:#eceef1}
html:not(#v2)[data-theme=dark] body.v2-community .cm-aside .cm-card.cm-pad{background:var(--v2-rcard);border-color:var(--v2-side-line)}
/* Light: the darker blue keeps links and the selected tab readable on white. */
html:not(#v2):not([data-theme=dark]) body.v2-community :is(.cm-tag,.cm-tabs [aria-selected=true]){color:#0d4fb3}

/* ---- Other pages (build-plan step 5): Coin Exchange, Marketplace, Messages, Collections, Account & Help.
   paintNav sets v2-page (and v2-exchange, v2-marketplace, v2-messages, v2-collections or v2-account), so pages not
   yet restyled keep their look. Brady's banner for each tab replaces the gold band on wider screens; phones keep
   the band until the phone milestone. Gold stays on the Coin Exchange intro and Explore button; category colors
   are untouched. ---- */
@media (min-width:851px){
  html:not(#v2) body.v2-page .site-banner{display:none}
  html:not(#v2) body.v2-page .v2-banner{margin-left:4px}
  html:not(#v2) body.v2-page.v2-side-off .v2-banner{margin-left:12px}
  /* The page body shares the banner's edges, as on the Community page. */
  html:not(#v2) body.v2-page #content{padding:14px 12px 45px 4px}
  html:not(#v2) body.v2-page.v2-side-off #content{padding-left:12px}
}
html:not(#v2) body.v2-page #content :is(.panel,.listing,.cm-card,.cm-dcard,.cx-intro,.cx-invite-card,.hero,.feed-summary,.refine-filters,.mc-card,.dm-list,.dm-thread){border-radius:10px}
html:not(#v2) body.v2-page #content :is(.primary,.secondary,.cm-btn,.cx-explore,.cx-list,.hero-button){border-radius:8px}
html:not(#v2) body.v2-page #content :is(.primary,.cm-btn.gold){background:var(--v2-post);border-color:transparent;color:var(--v2-blue-ink)}
html:not(#v2) body.v2-page #content :is(.primary,.cm-btn.gold):hover{background:var(--v2-post);filter:brightness(1.1)}
html:not(#v2) body.v2-page #content :is(.categories button,.filter-chips button,.community-tabs button,.inbox-tabs button,button.cm-chip,button.mc-chip,.dm-tabbtn){border-radius:999px}
html:not(#v2) body.v2-page #content :is(.categories button.active,.community-tabs button.active,.inbox-tabs button.active,button.cm-chip[aria-pressed=true],button.mc-chip[aria-pressed=true],.dm-tabbtn.on){background:var(--v2-blue);border-color:var(--v2-blue);color:#fff}
html:not(#v2) body.v2-page #content :is(.cx-modes button.active,.mc-tabs .on){background:var(--v2-tab-on);color:#fff}
html:not(#v2) body.v2-page #content .cm-tabs [aria-selected=true]{border-bottom-color:var(--v2-blue);color:var(--v2-link)}
html:not(#v2) body.v2-page #content :is(.text-button,.dm-alllink){color:var(--v2-link)}
/* Dark appearances: the mockup's charcoal cards, slate secondary buttons and fields. */
html:not(#v2)[data-theme=dark] body.v2-page #content :is(.panel,.listing,.cx-invite-card,.feed-summary,.refine-filters,.mc-card,.cm-card,.cm-dcard){background:linear-gradient(180deg,var(--v2-card),var(--v2-card2));border-color:var(--v2-field-line)}
html:not(#v2)[data-theme=dark] body.v2-page #content :is(.secondary,.cm-btn:not(.gold)){background:var(--v2-secondary);border-color:var(--v2-secondary-line);color:#fff}
html:not(#v2)[data-theme=dark] body.v2-page #content :is(.secondary,.cm-btn:not(.gold)):hover{filter:brightness(1.15)}
html:not(#v2)[data-theme=dark] body.v2-page #content :is(input,select,textarea){background:var(--v2-field)!important;border-color:var(--v2-field-line)!important}
html:not(#v2)[data-theme=dark] body.v2-page #content .cx-modes{background:var(--v2-box);border-color:var(--v2-field-line)}
/* Light: the darker blue keeps links and the selected tab readable on white. */
html:not(#v2):not([data-theme=dark]) body.v2-page #content :is(.text-button,.dm-alllink,.cm-tabs [aria-selected=true]){color:#0d4fb3}

/* ---- Coin Exchange page (Brady's Direction 2 mockup, November 6): search bar with Filters and Sort, community
   tiles, Browse coins with All / Buy / Trade pills, coin cards with View listing and Message, a List a coin card,
   and a right column (My Collection, Want List, Exchange chat, Marketplace). Gold stays on prices and the chat card;
   each community keeps its own coin colors. ---- */
html:not(#v2) .v2-banner-list{position:absolute;right:1.5%;top:50%;transform:translateY(-50%);display:none;align-items:center;gap:6px;height:38px;padding:0 16px;border:1.5px solid #d6d8dc;border-radius:6px;background:rgba(0,0,0,.65);color:#fff;font:500 14px Inter,sans-serif;line-height:1;cursor:pointer}
html:not(#v2) .v2-banner-list:hover{background:rgba(0,0,0,.85)}
@media (min-width:1181px){html:not(#v2) body.v2-shop .v2-banner-list{display:flex}}
html:not(#v2) body.v2-shop .cx-ico{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html:not(#v2) body.v2-shop .cx-ico.cx-fill{fill:currentColor;stroke:none}
/* Two columns that wrap to one when the page is narrow, as on the Community page. */
html:not(#v2) body.v2-shop .cx-wrap{display:flex;flex-wrap:wrap;gap:15px;align-items:flex-start}
html:not(#v2) body.v2-shop .cx-main{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:12px}
html:not(#v2) body.v2-shop .cx-side{flex:1 1 293px;min-width:0;display:flex;flex-direction:column;gap:14px}
/* Search bar: the field, Filters and Sort in one 64px card. */
html:not(#v2) body.v2-shop .cx-bar{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--cm-line);border-radius:10px;background:var(--cm-card)}
html:not(#v2) body.v2-shop .cx-search{flex:1;min-width:0}
html:not(#v2) body.v2-shop #content .cx-bar .search{display:flex;align-items:center;gap:10px;height:44px;min-height:44px;margin:0;padding:0 14px;border-radius:8px;box-shadow:none}
html:not(#v2) body.v2-shop #content .cx-bar .search input{min-height:0;height:40px;padding:0;border:0!important;background:transparent!important;font-size:14px}
/* Filters and Sort: two matching 44px slate buttons beside the field (an older layer gave buttons a top margin). */
html:not(#v2) body.v2-shop #content :is(.cx-filter-btn,.cx-sort){flex:none;box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:0 14px;border:1px solid var(--cm-btn-line);border-radius:6px;background:var(--cm-btn);color:var(--cm-text);font:600 13.5px Inter,sans-serif;cursor:pointer}
html:not(#v2) body.v2-shop #content .cx-bar .search>span{font-size:16px;opacity:.75}
html:not(#v2) body.v2-shop .cx-filter-btn{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
html:not(#v2) body.v2-shop .cx-filter-btn b{min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--v2-blue);color:#fff;font-size:11px;display:grid;place-items:center}
html:not(#v2) body.v2-shop .cx-filter-btn b:empty{display:none}
html:not(#v2) body.v2-shop #content .cx-sort{display:inline-flex;align-items:center;gap:4px;padding-right:10px}
html:not(#v2) body.v2-shop #content .cx-sort select{width:auto;height:42px;min-height:0;margin:0;padding:0 22px 0 2px;border:0!important;border-radius:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a3a6ab' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 4px center/11px 8px!important;color:inherit!important;font:inherit;-webkit-appearance:none;appearance:none;cursor:pointer;box-shadow:none}
html:not(#v2) body.v2-shop #content .cx-sort select:focus-visible{outline:2px solid var(--v2-link);outline-offset:2px}
html:not(#v2) body.v2-shop #content .cx-sort select option{background:var(--cm-card);color:var(--cm-text)}
html:not(#v2) body.v2-shop .cx-filters[hidden]{display:none}
html:not(#v2) body.v2-shop .cx-filters{flex:none;border:1px solid var(--cm-line);border-radius:10px;background:var(--cm-card)}
html:not(#v2) body.v2-shop .cx-filter-grid{padding:16px}
/* Tile rows (Brady, November 8): every tile on one line, no More tile. Arrows on wider screens, swipe on phones.
   The Coin Exchange, Marketplace, Saved and the Community page's communities. */
html:not(#v2) .v2-tilerow{display:flex;align-items:center;gap:6px;min-width:0}
html:not(#v2) .v2-tilerow>.cx-tiles{flex:1 1 auto;min-width:0}
html:not(#v2) .v2-tilearrow{flex:none;width:32px;height:32px;min-height:0;padding:0;display:flex;align-items:center;justify-content:center;border:1px solid var(--cm-line);border-radius:50%;background:var(--cm-card);color:var(--cm-text);cursor:pointer}
html:not(#v2) .v2-tilearrow svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html:not(#v2) .v2-tilearrow:disabled{opacity:.35;cursor:default}
html:not(#v2) .v2-tilearrow:focus-visible{outline:2px solid var(--v2-link);outline-offset:2px}
html:not(#v2) .v2-tilerow-fits .v2-tilearrow{display:none}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles{display:flex;flex-wrap:nowrap;gap:8px;margin:0;padding:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles::-webkit-scrollbar{display:none}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button{flex:0 0 92px;scroll-snap-align:start;min-width:0;height:76px;padding:0 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid var(--cm-line);border-radius:8px;background:var(--cm-card);color:var(--cm-text);font:500 12px Inter,sans-serif;white-space:nowrap;cursor:pointer}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button>span:last-child{max-width:100%;overflow:hidden;text-overflow:ellipsis}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles .cx-ico{width:26px;height:26px}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button.active{background:var(--v2-tab-on);border-color:var(--v2-tab-on-line);color:#fff}
/* Community coins (Brady, November 11): his silver challenge coin for each community (site/brand/coins), set on the
   tile or the community page by any of the attributes below and drawn by one rule. The name sits under the coin. */
html:not(#v2) :is(body.v2-exchange,.v2-circles,.ch-tiles,.pl-ring) .cx-medal{width:44px;height:44px;flex:none;border-radius:50%;background:var(--medal-coin,radial-gradient(circle,#3a3d42,#1b1d20)) center/contain no-repeat;filter:drop-shadow(0 2px 4px rgba(0,0,0,.6))}
html:not(#v2) :is([data-coin-category="Military"],[data-ch-cat="Military"],[data-cp-cat="Military"],[data-medal="Military"]){--medal-coin:url(/brand/coins/military.webp)}
html:not(#v2) :is([data-coin-category="Law Enforcement"],[data-ch-cat="Law Enforcement"],[data-cp-cat="Law Enforcement"],[data-medal="Law Enforcement"]){--medal-coin:url(/brand/coins/law-enforcement.webp)}
html:not(#v2) :is([data-coin-category="Fire & Rescue"],[data-ch-cat="Fire & Rescue"],[data-cp-cat="Fire & Rescue"],[data-medal="Fire & Rescue"]){--medal-coin:url(/brand/coins/fire-rescue.webp)}
html:not(#v2) :is([data-coin-category="EMS"],[data-ch-cat="EMS"],[data-cp-cat="EMS"],[data-medal="EMS"]){--medal-coin:url(/brand/coins/ems.webp)}
html:not(#v2) :is([data-coin-category="911 & Dispatch"],[data-ch-cat="911 & Dispatch"],[data-cp-cat="911 & Dispatch"],[data-medal="911 & Dispatch"]){--medal-coin:url(/brand/coins/dispatch.webp)}
html:not(#v2) :is([data-coin-category="Corrections"],[data-ch-cat="Corrections"],[data-cp-cat="Corrections"],[data-medal="Corrections"]){--medal-coin:url(/brand/coins/corrections.webp)}
html:not(#v2) :is([data-coin-category="Healthcare"],[data-ch-cat="Healthcare"],[data-cp-cat="Healthcare"],[data-medal="Healthcare"]){--medal-coin:url(/brand/coins/healthcare.webp)}
html:not(#v2) :is([data-coin-category="Emergency Management & Search and Rescue"],[data-ch-cat="Emergency Management & Search and Rescue"],[data-cp-cat="Emergency Management & Search and Rescue"],[data-medal="Emergency Management & Search and Rescue"]){--medal-coin:url(/brand/coins/emergency.webp)}
html:not(#v2) :is([data-coin-category="Government & Public Service"],[data-ch-cat="Government & Public Service"],[data-cp-cat="Government & Public Service"],[data-medal="Government & Public Service"]){--medal-coin:url(/brand/coins/government.webp)}
html:not(#v2) :is([data-coin-category="Security"],[data-ch-cat="Security"],[data-cp-cat="Security"],[data-medal="Security"]){--medal-coin:url(/brand/coins/security.webp)}
html:not(#v2) :is([data-coin-category="Businesses & Other Professions"],[data-ch-cat="Businesses & Other Professions"],[data-cp-cat="Businesses & Other Professions"],[data-medal="Businesses & Other Professions"]){--medal-coin:url(/brand/coins/businesses.webp)}
html:not(#v2) :is([data-coin-category="Clubs, Charities & Events"],[data-ch-cat="Clubs, Charities & Events"],[data-cp-cat="Clubs, Charities & Events"],[data-medal="Clubs, Charities & Events"]){--medal-coin:url(/brand/coins/clubs.webp)}
html:not(#v2) :is([data-coin-category="Other Challenge Coins"],[data-ch-cat="Other Challenge Coins"],[data-cp-cat="Other Challenge Coins"],[data-medal="Other Challenge Coins"]){--medal-coin:url(/brand/coins/other.webp)}
html:not(#v2) :is([data-coin-category="Clubs, Charities & Events"],[data-ch-cat="Clubs, Charities & Events"],[data-cp-cat="Clubs, Charities & Events"],[data-medal="Clubs, Charities & Events"]){--medal-ink:#fff;--medal-face:#552c80;--medal-hi:#8150b4;--medal-icon:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.3 21l8.2-11.7c.9-1.2 1.5-2.5 1.5-3.9a4 4 0 0 0-8 0c0 1.4.6 2.7 1.5 3.9l8.2 11.7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>")}
/* Browse coins with the count and the All / Buy / Trade pills on one line. */
html:not(#v2) body.v2-shop .cx-browse{margin:4px 0 0}
html:not(#v2) body.v2-shop .cx-browse-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 12px;margin:0 0 12px}
html:not(#v2) body.v2-shop .cx-browse-head h2{font-size:18px;font-weight:600;letter-spacing:0}
html:not(#v2) body.v2-shop .cx-browse-head>p{margin:0;font-size:13px}
html:not(#v2) body.v2-shop #content .cx-modes{margin-left:auto;display:flex;gap:8px;padding:0;border:0;background:none}
html:not(#v2) body.v2-shop #content .cx-modes button{min-height:0;height:32px;padding:0 14px;border:1px solid var(--cm-line);border-radius:16px;background:var(--cm-card);color:var(--cm-text);font:600 13px Inter,sans-serif}
html:not(#v2) body.v2-shop #content .cx-modes button.active{background:linear-gradient(180deg,#0f4393,#1560cb);border-color:#2a6fd6;color:#fff}
/* Coin cards: the coin on a stage, a blue tag, title and gold price, then View listing and Message. */
html:not(#v2) body.v2-shop #grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
html:not(#v2) body.v2-shop #grid .listing{display:flex;flex-direction:column;overflow:hidden}
html:not(#v2) body.v2-shop #grid .listing>a{flex:1}
html:not(#v2) body.v2-shop #grid .listing-image{height:200px;width:100%;object-fit:contain;background:radial-gradient(circle at 50% 45%,#2a2c30 0%,#121416 75%);border-bottom:1px solid var(--cm-line)}
html:not(#v2) body.v2-shop #content #grid .listing .tag{top:10px;left:10px;bottom:auto;height:22px;display:inline-flex;align-items:center;padding:0 8px;border-radius:4px;background:#0f4393;color:#fff;font-size:11.5px;font-weight:700}
html:not(#v2) body.v2-shop #grid .listing-body{padding:12px 14px 6px}
html:not(#v2) body.v2-shop #grid .listing-top h3{font-size:15px;font-weight:600}
html:not(#v2) body.v2-shop #grid .price{font-size:18px;font-weight:700;color:var(--v2-gold)}
html:not(#v2) body.v2-shop .cx-card-acts{display:flex;gap:8px;padding:4px 14px 14px}
html:not(#v2) body.v2-shop #content .cx-card-acts button{flex:1;height:36px;min-height:36px;margin:0;padding:0 10px;border-radius:6px;font:700 13.5px Inter,sans-serif}
html:not(#v2) body.v2-shop .cx-list-card{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:20px;text-align:center;border:1.5px dashed var(--v2-secondary-line);border-radius:10px;background:var(--v2-rcard);color:var(--v2-text)}
html:not(#v2) body.v2-shop .cx-list-card h3{margin:0;font-size:16px;font-weight:600;color:inherit}
html:not(#v2) body.v2-shop .cx-list-card p{margin:0;font-size:13px;color:var(--v2-muted)}
html:not(#v2) body.v2-shop .cx-list-plus{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:var(--v2-secondary);border:1px solid var(--v2-secondary-line);color:#fff}
html:not(#v2) body.v2-shop .cx-list-plus .cx-ico{width:30px;height:30px}
html:not(#v2) body.v2-shop #content .cx-list-card button{height:36px;min-height:36px;padding:0 14px;border-radius:6px;font:700 13.5px Inter,sans-serif}
/* Right column. */
html:not(#v2) body.v2-shop .cx-side-card{padding:14px;border:1px solid var(--cm-line);border-radius:10px;background:var(--cm-card)}
html:not(#v2) body.v2-shop .cx-side-card h3{margin:0;font-size:17px;font-weight:600;letter-spacing:0}
html:not(#v2) body.v2-shop .cx-side-card p{margin:6px 0 12px;font-size:12.5px;line-height:1.45;color:var(--cm-muted)}
html:not(#v2) body.v2-shop #content .cx-side-card button{width:100%;height:36px;min-height:36px;border-radius:6px;font:700 13.5px Inter,sans-serif}
html:not(#v2) body.v2-shop .cx-chat-card{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid #222427;border-radius:10px;background:radial-gradient(circle at 20% 55%,rgba(255,255,255,.06),transparent 45%),#010101;color:#f1f3f5}
html:not(#v2) body.v2-shop .cx-chat-icon{width:80px;height:80px;flex:none;border-radius:16px;display:grid;place-items:center;background:var(--v2-secondary);border:1px solid var(--v2-secondary-line);color:var(--v2-gold)}
html:not(#v2) body.v2-shop .cx-chat-icon .cx-ico{width:40px;height:40px}
html:not(#v2) body.v2-shop .cx-chat-card h3{margin:0;font:italic 900 19px/1 var(--v2-logo);text-transform:uppercase;color:var(--v2-gold);letter-spacing:.5px}
html:not(#v2) body.v2-shop .cx-chat-card p{margin:5px 0 0;font-size:11.5px;line-height:1.35;color:#d6d8dc!important}
html:not(#v2) body.v2-shop .cx-chat-btn{margin-top:8px;height:26px;padding:0 12px;border:0;border-radius:5px;background:var(--v2-gold-btn);color:#0e1012;font:700 12.5px Inter,sans-serif;cursor:pointer}
html:not(#v2) body.v2-shop .cx-market{margin:0;font-size:12.5px}
/* Dark appearances: the mockup's surfaces. */
html:not(#v2)[data-theme=dark] body.v2-shop :is(.cx-bar,.cx-filters){background:var(--v2-box);border-color:#222426}
html:not(#v2)[data-theme=dark] body.v2-shop #content .cx-bar .search{background:var(--v2-field);border:1px solid var(--v2-field-line);color:#b8bbc0}
html:not(#v2)[data-theme=dark] body.v2-shop #content :is(.cx-filter-btn,.cx-sort){background:var(--v2-secondary);border-color:var(--v2-secondary-line);color:#fff}
html:not(#v2)[data-theme=dark] :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button:not(.active){background:var(--v2-side);border-color:var(--v2-field-line);color:#eceef1}
html:not(#v2)[data-theme=dark] body.v2-shop #content .cx-modes button:not(.active){background:var(--v2-side);border-color:var(--v2-field-line);color:#d6d8dc}
html:not(#v2)[data-theme=dark] body.v2-shop #grid .listing-image{border-bottom-color:var(--v2-field-line)}
html:not(#v2)[data-theme=dark] body.v2-shop .cx-side-card{background:var(--v2-rcard);border-color:var(--v2-side-line)}
/* Light: light cards and stage, a darker gold for prices on white. */
html:not(#v2):not([data-theme=dark]) body.v2-shop #grid .listing-image{background:radial-gradient(circle at 50% 45%,#ffffff 0%,#eceef1 75%)}
html:not(#v2):not([data-theme=dark]) body.v2-shop #grid .price{color:#4b525b}
html:not(#v2):not([data-theme=dark]) body.v2-shop .cx-list-card{background:#f6f8fb;border-color:#a9b8d0;color:var(--cm-text)}
html:not(#v2):not([data-theme=dark]) body.v2-shop .cx-list-card p{color:var(--cm-muted)}
/* Phones: the search on its own row, four tiles across. The rest of the phone look is step 6. */
@media (max-width:760px){
  html:not(#v2) body.v2-shop .cx-bar{flex-wrap:wrap}
  html:not(#v2) body.v2-shop .cx-search{flex:1 0 100%}
  html:not(#v2) body.v2-shop #content .cx-filter-btn{flex:1 1 0;justify-content:center}
  html:not(#v2) body.v2-shop #content .cx-tools{flex:1 1 0;min-width:0;width:auto}
  html:not(#v2) body.v2-shop #content .cx-sort{width:100%;min-width:0}
  html:not(#v2) body.v2-shop #content .cx-sort select{flex:1;min-width:0}
  html:not(#v2) .v2-tilearrow{display:none}
  html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button{flex-basis:80px}
  html:not(#v2) body.v2-shop #content .cx-modes{margin-left:0;width:100%}
  html:not(#v2) body.v2-shop #content .cx-modes button{flex:1}
}

/* ---- Marketplace (Brady, November 6): the Coin Exchange layout above (v2-shop) without the coin parts. Category
   tiles get line icons in their own colors; Meet safely is the blue counterpart of the gold Exchange chat card. ---- */
html:not(#v2) body.v2-marketplace #content .mk-tiles{grid-template-columns:repeat(9,minmax(0,1fr))}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles button:not(.active) .cx-ico{color:#a3a6ab}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Law Enforcement Gear"]:not(.active) .cx-ico{color:#7fa6e6}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Fire & Rescue Gear"]:not(.active) .cx-ico{color:#e2574c}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Medical & EMS Supplies/Gear"]:not(.active) .cx-ico{color:#4a9be0}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Outdoor & Everyday Gear"]:not(.active) .cx-ico{color:#6fbf73}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Electronics"]:not(.active) .cx-ico{color:#b07ad8}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Home & everyday"]:not(.active) .cx-ico{color:#8e97a2}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles [data-category="Vehicles"]:not(.active) .cx-ico{color:#c8ccd2}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) .mk-safe-card .cx-chat-icon{color:#6aa0f0}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) .mk-safe-card h3{color:#6aa0f0}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) .mk-safe-card .cx-chat-btn{background:var(--v2-post);color:#fff}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #grid .mk-nophoto{height:200px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:radial-gradient(circle at 50% 45%,#2a2c30 0%,#121416 75%);border-bottom:1px solid var(--cm-line);color:#a3a6ab;font:600 12px Inter,sans-serif}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #grid .mk-nophoto .cx-ico{width:56px;height:56px;stroke-width:1.4}
html:not(#v2):not([data-theme=dark]) body:is(.v2-marketplace,.v2-saved) #grid .mk-nophoto{background:radial-gradient(circle at 50% 45%,#ffffff 0%,#eceef1 75%);color:#6b7078}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) .cx-filter-grid .mk-note{flex:1 0 100%;font-size:12.5px;color:var(--cm-muted)}
html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .community-tabs.cx-modes{margin-bottom:0}
@media (max-width:760px){html:not(#v2) body:is(.v2-marketplace,.v2-saved) #content .mk-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Category icons (Brady, November 11): his dark rounded icons with the name drawn in, no box around them. The
   chosen one gets a blue ring. 88px on wider screens, 72px on phones. */
html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles.mk-tiles.mk-tiles button:has(.mk-art){flex-basis:92px;height:auto;padding:2px;background:none;border-color:transparent;box-shadow:none}
html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles .mk-art{display:block;width:88px;height:88px;border-radius:18px;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));transition:transform .12s}
html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles button:hover .mk-art{transform:translateY(-2px)}
html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles button.active .mk-art{box-shadow:0 0 0 3px #3a8bff}
html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles button:focus-visible{outline:2px solid var(--v2-link);outline-offset:2px}
@media (max-width:760px){html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles.mk-tiles.mk-tiles button:has(.mk-art){flex-basis:76px}html:not(#v2) :is(body.v2-marketplace,body.v2-saved) #content .mk-tiles .mk-art{width:72px;height:72px;border-radius:15px}}


/* ---- Posting box (Brady, November 8): your photo, the field (it opens the post window), and Share a coin set apart
   by a line, with "From your collection" under it. Narrow boxes and phones put Share a coin on its own row. ---- */
html:not(#v2) .cm-compose{container-type:inline-size}
html:not(#v2) .cm-compose-row{gap:16px;align-items:center}
html:not(#v2) .cm-compose-row>.cm-av{width:50px;height:50px;flex:0 0 50px}
html:not(#v2) .cm-compose-input{min-height:53px}
html:not(#v2) .v2-compose-side{flex:none;display:flex;align-self:stretch;align-items:center;padding-left:16px;border-left:1px solid var(--cm-line,#d5d9de)}
html:not(#v2) .cm-compose .v2-compose-coin{display:flex;align-items:center;gap:10px;min-height:48px;padding:0 12px;background:transparent;border-color:transparent;border-radius:8px;text-align:left;font:500 12.5px/1.25 Inter,sans-serif}
html:not(#v2) .cm-compose .v2-compose-coin:hover{background:var(--cm-btn)}
html:not(#v2) .cm-compose .v2-compose-coin svg{width:28px;height:28px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html:not(#v2) .v2-compose-coin>span{display:flex;flex-direction:column}
html:not(#v2) .v2-compose-coin b{font-weight:600;font-size:14px}
html:not(#v2) .v2-compose-coin small{color:var(--cm-muted);font-size:12px}
@container (max-width:520px){
  html:not(#v2) .cm-compose-row{flex-wrap:wrap;gap:10px}
  html:not(#v2) .v2-compose-side{flex:1 0 100%;padding:8px 0 0;border-left:0;border-top:1px solid var(--cm-line,#d5d9de)}
  html:not(#v2) .cm-compose .v2-compose-coin{flex:1;justify-content:center}
}

/* ---- Profile card at the top of the side menu: big photo and name on the member's own banner, darkened ---- */
html:not(#v2) .cm-me{position:relative;border-radius:12px;background:#000}
html:not(#v2) .cm-me:hover{border-color:var(--v2-tab-on-line)}
html:not(#v2) .cm-me:focus-visible{outline-color:var(--v2-link)}
html:not(#v2) .cm-me-banner{position:absolute;inset:0;height:auto}
html:not(#v2) .cm-me-banner::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.8) 0%,rgba(0,0,0,.6) 55%,rgba(0,0,0,.4) 100%)}
html:not(#v2) .cm-me-row{position:relative;margin:0;padding:18px 4px 18px 12px;gap:8px}
html:not(#v2) .cm-me-av{width:66px;height:66px;flex:0 0 66px;border:2px solid rgba(255,255,255,.55);font-size:21px}
html:not(#v2) .cm-me-id{padding-top:0;gap:3px}
html:not(#v2) .cm-me-id b{font-size:16.5px;font-weight:600;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.8)}
html:not(#v2) .cm-me-id small{font-size:13.5px;line-height:1.25;color:#d6d8dc;white-space:normal;overflow-wrap:anywhere}
@media (max-width:1150px){html:not(#v2) .cm-me-av{width:60px;height:60px;flex-basis:60px;font-size:19px}}
html:not(#v2) .cm-me-more{padding-top:0;margin-left:-6px;color:#d6d8dc;display:flex}
html:not(#v2) .cm-me-more svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* Dark: the card and the menu card below read as one card, with a divider between them. */
html:not(#v2)[data-theme=dark] .sidebar .cm-me:not([hidden]){margin:0;border-color:var(--v2-side-line);border-bottom:0;border-radius:12px 12px 0 0}
html:not(#v2)[data-theme=dark] .sidebar .cm-me:not([hidden])+nav{border-top:1px solid var(--v2-divider);border-top-left-radius:0;border-top-right-radius:0}

/* ---- Left card: profile/menu/communities on a rounded charcoal card with the blue active row ---- */
html:not(#v2) .sidebar{top:var(--v2-bar-h);height:calc(100vh - var(--v2-bar-h));padding:14px 10px 24px 14px}
html:not(#v2)[data-theme=dark] .sidebar{background:var(--v2-page)}
html:not(#v2)[data-theme=dark] .sidebar>nav{background:var(--v2-side);border:1px solid var(--v2-side-line);border-radius:12px;padding:10px 8px}
html:not(#v2) .sidebar :is(nav button,.extra-nav button){border-radius:7px}
html:not(#v2) .sidebar :is(nav button,.extra-nav button).active{background:var(--v2-row-on);color:#fff}
html:not(#v2)[data-theme=dark] .sidebar :is(nav button,.extra-nav button){color:#eceef1}
html:not(#v2)[data-theme=dark] .sidebar :is(nav button,.extra-nav button):not(.active):hover{background:var(--v2-field)}
html:not(#v2) .sidebar :is(nav b,.sm-badge):not(:empty):not(#savedCount){background:var(--v2-badge);color:#fff}

/* ---- Phone: 56px top bar and the bottom tab bar (Home, Exchange, +, Messages, You) ---- */
@media (max-width:850px){
  html:not(#v2) header{padding:0 8px 0 10px;gap:8px}
  html:not(#v2) header .brand{gap:6px;margin:0}
  html:not(#v2) header .brand-icon{width:40px;height:40px}
  html:not(#v2) header .brand-text{gap:2px}
  html:not(#v2) header .brand-text>span{font-size:24px;letter-spacing:1.5px}
  html:not(#v2) header .brand-text small{font-size:6.2px;letter-spacing:.3px}
  html:not(#v2) .cm-htools .cm-btn{min-height:36px;padding:0 12px}
}
html:not(#v2)[data-theme=dark] .mobile-bottom-nav{background:var(--v2-bar);border-top:1px solid var(--v2-bar-line)}
html:not(#v2)[data-theme=dark] .mobile-bottom-nav button{background:transparent;color:#eceef1}
html:not(#v2) .mobile-bottom-nav button.active{background:transparent;color:var(--v2-link)}
html:not(#v2) .mobile-bottom-nav .cm-plus span{width:46px;height:46px;border-radius:50%;background:var(--v2-post);color:#fff;box-shadow:0 4px 12px rgba(21,96,203,.5)}

/* Light keeps light surfaces; its links on the new blue need the darker shade for contrast. */
html:not(#v2):not([data-theme=dark]) .mobile-bottom-nav button.active{color:#0d4fb3}

/* ---- Phone layout (build-plan step 6, Brady's phone mockup): menu and search in the 56px top bar, the coin
   communities as circles under the banner, a one-row posting box, pill feed tabs, full-width posts. The bottom
   tab bar (Home, Exchange, +, Messages, You) is above. Light keeps light surfaces with the same blue. ---- */
html:not(#v2) .v2-circles,html:not(#v2) .v2-phone-search{display:none}
@media (max-width:850px){
  html:not(#v2) .v2-menu{display:grid;margin:0 -2px 0 -6px;width:44px;height:44px}
  html:not(#v2) .v2-phone-search{display:inline-flex}
  html:not(#v2) .v2-phone-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  /* Community: the page body runs edge to edge; its parts keep 12px from the sides. */
  html:not(#v2) body.v2-community #content{padding:0 0 24px}
  html:not(#v2) body.v2-community .cm-main{gap:12px}
  html:not(#v2) body.v2-community :is(.cm-tabs,.cm-search,#chActive,.cm-aside){margin-left:12px;margin-right:12px}
  html:not(#v2) body.v2-community .cm-aside{margin-top:12px}
  html:not(#v2) .v2-circles{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:10px 10px 2px;margin:0}
  html:not(#v2) .v2-circles::-webkit-scrollbar{display:none}
  html:not(#v2) .v2-circles button{flex:0 0 72px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:0;border:0;background:none;color:var(--cm-text);font:500 11px/1.15 Inter,sans-serif;text-align:center;cursor:pointer}
  html:not(#v2) .v2-ring{width:62px;height:62px;border-radius:50%;padding:2px;box-sizing:border-box;background:linear-gradient(180deg,#5a5e64,#2a2c2f);display:flex;align-items:center;justify-content:center}
  html:not(#v2) .v2-circles .v2-ring{position:relative}
  html:not(#v2) .v2-circles .v2-ring::after{content:'';position:absolute;inset:2px;border-radius:50%;border:2px solid #0a0c0e;background:radial-gradient(circle,#3a3d42,#121416);z-index:0}
  html:not(#v2) .v2-circles .v2-ring>*{position:relative;z-index:1}
  html:not(#v2) .v2-circles svg{width:30px;height:30px;fill:#fff}
  html:not(#v2) .v2-circles [aria-pressed=true] .v2-ring{background:linear-gradient(180deg,#3a8bff,#1560cb)}
  html:not(#v2) .v2-circles [aria-pressed=true] .v2-ring::after{background:radial-gradient(circle,#1d3f7a,#0c1a33)}
  html:not(#v2) .v2-circles [aria-pressed=true]>span:last-child{color:var(--v2-link);font-weight:600}
  /* The posting box: your picture and the field on one row, Share a coin under them on its own row. */
  html:not(#v2) body.v2-community .cm-compose.cm-pad{padding:4px 12px 0;background:none;border:0;box-shadow:none;border-radius:0}
  html:not(#v2) body.v2-community .cm-compose-row{flex-wrap:wrap;gap:8px 10px;align-items:center}
  html:not(#v2) body.v2-community .cm-compose-row>.cm-av{width:42px;height:42px;flex:0 0 42px}
  html:not(#v2) body.v2-community .cm-compose-input{flex:1;min-width:0;min-height:42px;border-radius:21px;padding:0 14px;font-size:13.5px}
  html:not(#v2) body.v2-community .v2-compose-side{flex:1 0 100%;padding:6px 0 0;border-left:0;border-top:1px solid var(--cm-line,#d5d9de)}
  html:not(#v2) body.v2-community .cm-compose .v2-compose-coin{flex:1;justify-content:center;min-height:44px}
  /* Feed tabs: the existing Discover / Shared coins / Collections as pills. */
  html:not(#v2) body.v2-community .cm-tabs{display:flex;gap:4px;border-bottom:0;padding:0}
  html:not(#v2) body.v2-community .cm-tabs>*{flex:1;height:38px;display:flex;align-items:center;justify-content:center;margin:0;padding:0 6px;border:1px solid transparent;border-radius:6px;font:500 13px Inter,sans-serif;white-space:nowrap;text-decoration:none}
  html:not(#v2) body.v2-community .cm-tabs [aria-selected=true]{background:#e6effc;border-color:#b9d0f3;color:#0d4fb3}
  html:not(#v2)[data-theme=dark] body.v2-community .cm-tabs>*{color:#eceef1}
  html:not(#v2)[data-theme=dark] body.v2-community .cm-tabs [aria-selected=true]{background:#122338;border-color:#1d3a63;color:#3a8bff}
  /* Posts keep the rounded card edges, 8px apart. */
  html:not(#v2) body.v2-community .cm-feed{gap:8px}
  html:not(#v2) body.v2-community #content .cm-post{padding-left:12px;padding-right:12px}
  html:not(#v2)[data-theme=dark] body.v2-community .cm-post{background:var(--v2-side);border-color:var(--v2-side-line)}
}
html:not(#v2):not([data-theme=dark]) .v2-circles .v2-ring::after{border-color:#fff;background:radial-gradient(circle,#ffffff,#e4e6ea)}
html:not(#v2):not([data-theme=dark]) .v2-circles [aria-pressed=true] .v2-ring::after{background:radial-gradient(circle,#2f6fd0,#123a7a)}
html:not(#v2):not([data-theme=dark]) .v2-circles [aria-pressed=true]>span:last-child{color:#0d4fb3}
/* Phone bar: line icons (Brady's phone mockup), light on the bar and blue for the page you're on; + is a blue circle. */
html:not(#v2) .mobile-bottom-nav button>span svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html:not(#v2) .mobile-bottom-nav button>span svg.v2-fill{fill:currentColor;stroke:none}
html:not(#v2) .mobile-bottom-nav .cm-plus span svg{width:26px;height:26px;stroke-width:2.4;color:#fff}
/* Signed out on phones the top bar keeps the menu, logo and Join: the feed's own search sits just below, and on
   narrow phones Sign in moves to the menu ("Sign in or join"), so nothing runs off the screen. */
@media (max-width:850px){html:not(#v2) body.cm-signed-out .v2-phone-search{display:none}}
@media (max-width:400px){html:not(#v2) body.cm-signed-out #cmHeaderSignIn{display:none}}
/* Phones: the top bar has no room for List a coin / Sell an item; the tab bar's + does it on those pages. */
@media (max-width:850px){html:not(#v2) header #createListing{display:none}}

/* ---- No gold or yellow anywhere (Brady, November 6): former gold accents are silver, former gold buttons are the
   site's blue; the BST POST wordmark carries a ™ as in Brady's picture. Brady's own images (his coin logo and the
   banners) are unchanged. ---- */
html:not(#v2) .cm-btn.gold{background:var(--v2-post);border-color:transparent;color:#fff}
html:not(#v2) .cm-btn.gold:hover{background:var(--v2-post);filter:brightness(1.12)}
html:not(#v2) header .brand-text>span::after{content:'\2122';display:inline-block;vertical-align:top;margin:.05em 0 0 .08em;font:700 .3em Inter,sans-serif;font-style:normal;letter-spacing:0;-webkit-text-stroke:0;-webkit-text-fill-color:currentColor;color:var(--cm-text)}
html:not(#v2)[data-theme=dark] header .brand-text>span::after{-webkit-text-fill-color:#f1f3f5;color:#f1f3f5}

/* My Collection is a tab of Collections (Brady, November 6): no separate side-menu item; the switch sits on top. */
html:not(#v2) .sidebar [data-cx-nav="collection"]{display:none!important}
html:not(#v2) .mc-switch{margin:0 0 16px}

/* Brady, November 6: no "Listings, photos … are live on BST Post · What's connected?" strip anywhere (the notice bar
   above still carries account notices such as confirming your email). Short pages (Collections …) no longer drift
   down from the banner: the page body's old margin:auto stays horizontal only. */
html:not(#v2) .demo-note{display:none!important}
html:not(#v2) main>#content{margin-top:0}

/* The BST POST wordmark as in Brady's November 6 image: smooth brushed chrome (bright top, a soft grey band, darker
   foot), no black outline, a soft shadow to lift it off the bar. */
html:not(#v2)[data-theme=dark] header .brand-text>span{background:linear-gradient(180deg,#ffffff 0%,#f3f4f6 22%,#dcdfe3 42%,#b9bdc3 50%,#d2d5da 58%,#c2c6cc 76%,#8f949b 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-stroke:0;letter-spacing:.5px;-webkit-font-smoothing:antialiased;filter:drop-shadow(0 1px 0 rgba(0,0,0,.55)) drop-shadow(0 2px 3px rgba(0,0,0,.6))}

/* The BST POST wordmark as in Brady's November 6 picture: a lighter weight than the old 900 and a stronger forward
   slant (the face's italic plus a small extra lean). */
html:not(#v2) header .brand-text>span{display:inline-block;font-weight:700;letter-spacing:1.5px;transform:skewX(-9deg);transform-origin:0 100%}

/* Brady, November 6: less space above and below the Community feed tabs (Discover, Shared coins, Collections). The
   empty active-filter row no longer adds a second gap, and the tabs are a little shorter. */
html:not(#v2) .cm-feed-wrap{gap:16px}
html:not(#v2) body.v2-community .cm-feed-wrap{gap:10px;margin-top:-10px}
html:not(#v2) body.v2-community #chActive:empty{display:none}
@media (min-width:851px){html:not(#v2) body.v2-community .cm-tabs>*{min-height:36px;height:36px}}

/* Saved (Brady, November 6): saved listings only, in the Coin Exchange / Marketplace layout (coin-home.js savedHome);
   ten category tiles including Coins. Saved searches are gone, so no "Save this search" button anywhere. */
@media (min-width:761px){html:not(#v2) body.v2-saved #content .sv-tiles{grid-template-columns:repeat(10,minmax(0,1fr))}}
html:not(#v2) body.v2-saved #content .sv-tiles [data-category="Challenge coins"]:not(.active) .cx-ico{color:#c8ccd2}
html:not(#v2) body.v2-saved #svMore:not(:empty){display:flex;flex-direction:column;gap:15px;margin-top:15px}
html:not(#v2) body.v2-saved #svMore>.panel{margin:0}
html:not(#v2) [data-action="saveSearch"]{display:none!important}
html:not(#v2) body.v2-saved #v2BannerList{display:none!important}

/* Official Communities (community-places.js): a community's page header, sections and place chips on posts. */
html:not(#v2) .pl-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
html:not(#v2) .pl-ring{flex:none;position:relative}
html:not(#v2) .pl-who{flex:1 1 200px;min-width:0}
html:not(#v2) .pl-name{font-size:22px;margin:2px 0}
html:not(#v2) .pl-counts{margin:0;font-size:14px}
html:not(#v2) .pl-acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
html:not(#v2) .pl-acts .cm-btn{display:inline-flex;align-items:center;gap:6px}
html:not(#v2) .pl-acts [aria-pressed=true]{color:var(--v2-link);border-color:currentColor}
html:not(#v2) [data-pl-section] svg{vertical-align:-2px}
html:not(#v2) .ps-place{text-decoration:none}
html:not(#v2) .ps-sharedto{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
html:not(#v2) .ps-unshare{padding:2px 6px;min-width:0}
html:not(#v2) .ps-shared{margin:0 18px 8px}
@media (max-width:850px){
  html:not(#v2) body.cm-page .pl-head{margin:0 12px}
  html:not(#v2) body.v2-community .cm-main>.cm-back{margin:0 12px}
  html:not(#v2) .pl-acts{width:100%}
}

/* Tile rows across the full width under the banner, above the page's columns (Brady, November 8). The Community
   pages show them on wider screens only (phones keep the circles in the column). */
html:not(#v2) #content>.v2-tilerow{margin:0 0 12px}
html:not(#v2) body.v2-community #content>.v2-tilerow{margin:0 12px 12px}
html:not(#v2) :is(body.v2-community,body.v2-collections) .ch-tiles .cx-ico{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:850px){html:not(#v2) body.v2-community #content>.v2-tilerow{display:none}}

/* Member Groups (community-groups.js, Brady, November 8): the Groups page's cards and a group's page header. */
html:not(#v2) .gr-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
html:not(#v2) .gr-top>div:first-child{flex:1 1 260px;min-width:0}
/* The search bar is the Coin Exchange one (.cx-bar, Brady, November 8): a card holding the field, above the page. */
html:not(#v2) .gr-bar{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:0;border:1px solid var(--cm-line);border-radius:10px;background:var(--cm-card)}
html:not(#v2) .gr-bar .cx-search{flex:1;min-width:0}
html:not(#v2) #content .gr-bar .search{display:flex;align-items:center;gap:10px;height:44px;min-height:44px;margin:0;padding:0 14px;border-radius:8px;box-shadow:none;max-width:none;width:100%;box-sizing:border-box}
html:not(#v2) #content .gr-bar .search input{flex:1;min-width:0;min-height:0;height:40px;padding:0;border:0!important;background:transparent!important;font-size:14px}
html:not(#v2) #content .gr-bar .search>span{font-size:16px;opacity:.75}
html:not(#v2)[data-theme=dark] .gr-bar{background:var(--v2-box);border-color:#222426}
html:not(#v2)[data-theme=dark] #content .gr-bar .search{background:var(--v2-field);border:1px solid var(--v2-field-line);color:#b8bbc0}
html:not(#v2) .gr-h{margin:6px 0 10px}
html:not(#v2) .gr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
html:not(#v2) .gr-card{display:flex;flex-direction:column;overflow:hidden;padding:0}
html:not(#v2) .gr-cover{display:block;height:84px;background:linear-gradient(135deg,#1d3557,#3b5b8a 55%,#8fa5c3);background-size:cover;background-position:center}
html:not(#v2) .gr-cover-lg{height:150px}
html:not(#v2) .gr-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
html:not(#v2) .gr-body .cm-h3 a{color:inherit;text-decoration:none}
html:not(#v2) .gr-count,html:not(#v2) .gr-desc{margin:0;font-size:14px}
html:not(#v2) .gr-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:6px}
html:not(#v2) .gr-head{padding:0;overflow:hidden}
html:not(#v2) .gr-head .cm-chips svg,html:not(#v2) .gr-card .cm-chips svg{vertical-align:-2px}
html:not(#v2) .gr-people{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
html:not(#v2) .gr-person{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
html:not(#v2) .gr-pname{flex:1 1 140px;min-width:0}
html:not(#v2) .gr-ptail{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
html:not(#v2) .gr-danger{margin-top:12px}
@media (max-width:850px){
  html:not(#v2) body.cm-page .gr-top,html:not(#v2) body.cm-page .gr-head{margin:0 12px}
  html:not(#v2) body.cm-page .gr-bar{margin:0 12px}
  html:not(#v2) .cm-main>section>.gr-h,html:not(#v2) .cm-main>section>.gr-grid{margin-left:12px;margin-right:12px}
  html:not(#v2) .gr-cover-lg{height:110px}
  html:not(#v2) #grBody>.pl-acts{margin:0 12px 12px!important;width:auto}
}

/* The four Community feeds (community-posts.js, social expansion milestone 3): For You, Following, Friends, Groups. */
html:not(#v2) .ps-feeds{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 4px}
html:not(#v2) .ps-feeds:empty{display:none}
html:not(#v2) .ps-feed{font:inherit;font-size:14px;font-weight:600;padding:7px 14px;border-radius:999px;border:1px solid var(--cm-chip-line);background:var(--cm-chip);color:var(--cm-chip-text);cursor:pointer;min-height:36px}
html:not(#v2) .ps-feed[aria-pressed=true]{background:var(--v2-blue);border-color:var(--v2-blue);color:var(--v2-blue-ink)}
html:not(#v2) .ps-feed-def{font:inherit;font-size:13px;background:none;border:0;color:var(--v2-link);cursor:pointer;padding:6px 4px;text-decoration:underline}
/* Followers (community-follows.js): counts that open the lists, and the settings form. */
html:not(#v2) .sx-focounts{display:inline-flex;gap:14px;flex-wrap:wrap}
html:not(#v2) .sx-folink{font:inherit;background:none;border:0;padding:0;color:inherit;cursor:pointer}
html:not(#v2) .sx-folink:hover b,html:not(#v2) .sx-folink:focus-visible b{text-decoration:underline}
html:not(#v2) .sx-folist{margin-top:12px;max-height:60vh;overflow:auto}
html:not(#v2) .sx-foset label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
html:not(#v2) .sx-foset select{width:100%;max-width:100%}
html:not(#v2) .sx-foset .sx-focheck{display:flex;gap:8px;align-items:center}
html:not(#v2) .sx-foset .status-note:empty{display:none}

/* ---- Phone navigation (Brady, November 8): Messages beside the bell in the top bar; the bottom bar is Home,
   Exchange, +, Exchange Chat, Marketplace, and your photo beside Messages; the menu button slides the side menu in from the left, in the same look as the
   desktop side menu. The You button stays hidden: the mini profile at the top of the menu opens the You panel. ---- */
html:not(#v2) #mobileMore,html:not(#v2) .v2-drawer-head,html:not(#v2) .v2-scrim{display:none!important}
html:not(#v2) #cmHeaderMessages{position:relative}
html:not(#v2) #cmHeaderMessages .sm-badge{position:absolute;top:3px;right:1px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--v2-badge);color:#fff;font:700 10.5px/17px Inter,sans-serif;text-align:center;box-sizing:border-box}
html:not(#v2) #cmHeaderMessages:has(.sm-badge) .cm-dot{display:none}
html:not(#v2) #cmHeaderMessages.on{color:var(--v2-link)}
html:not(#v2):not([data-theme=dark]) #cmHeaderMessages.on{color:#0d4fb3}
@media (max-width:900px){
  html:not(#v2) header .cm-htools #cmHeaderMessages:not([hidden]){display:inline-flex!important}
}
@media (max-width:850px){
  html:not(#v2) header .cm-htools #cmHeaderYou:not([hidden]){display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;width:34px;height:34px;min-width:34px;margin-left:2px;overflow:hidden;font-size:12px}
  html:not(#v2) header .cm-htools #cmHeaderYou{padding:0;border-radius:50%}
  html:not(#v2) header .cm-htools #cmHeaderYou>*{width:100%;height:100%;border-radius:50%}
  html:not(#v2) header .cm-htools #cmHeaderYou img{object-fit:cover}
  html:not(#v2) header .cm-htools #cmHeaderYou .initials-coin b{font-size:12px}
  /* Room for search, bell, Messages and your photo: a slightly smaller logo. */
  html:not(#v2) body:not(.cm-signed-out) header{gap:4px}
  html:not(#v2) body:not(.cm-signed-out) header .brand-icon{width:34px;height:34px}
  html:not(#v2) body:not(.cm-signed-out) header .brand-text>span{font-size:19px;letter-spacing:.8px}
  html:not(#v2) body:not(.cm-signed-out) header .brand-text small{font-size:5px;letter-spacing:.1px}
  html:not(#v2) .mobile-bottom-nav button{white-space:nowrap;letter-spacing:-.2px}
}
@media (max-width:850px){
  html:not(#v2) .cm-htools{gap:2px}
  html:not(#v2) .cm-htools .cm-iconbtn{width:36px;height:36px;min-width:36px}
  html:not(#v2) .cm-htools .cm-iconbtn svg{width:20px;height:20px}
  html:not(#v2) .cm-htools .cm-iconbtn .cm-dot{top:7px;right:7px}
  html:not(#v2) .mobile-bottom-nav button{font-size:11px}
}
/* The slide-in menu: the desktop side menu, full height, over everything but dialogs. Phones, and (Brady, November 9:
   the side menu squeezed the pages at in-between sizes) every window up to 1150px wide: community-home.js sets v2-side-float. */
html:not(#v2) body.v2-side-float .sidebar{display:flex!important;flex-direction:column;position:fixed;top:0;bottom:0;left:0;right:auto;z-index:1000;width:min(300px,84vw);height:100dvh;
  padding:0 12px calc(16px + env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;transform:translateX(-102%);visibility:hidden;
  transition:transform .22s ease,visibility 0s linear .22s;box-shadow:none;border-right:1px solid var(--cm-line)}
html:not(#v2) body.v2-side-float.v2-drawer-open .sidebar{transform:none;visibility:visible;transition:transform .22s ease;box-shadow:12px 0 40px rgba(0,0,0,.5)}
html:not(#v2)[data-theme=dark] body.v2-side-float .sidebar{background:var(--v2-side);border-right-color:var(--v2-side-line)}
html:not(#v2) body.v2-side-float.v2-drawer-open .v2-scrim{display:block!important;position:fixed;inset:0;z-index:999;background:rgba(0,0,0,.55)}
html:not(#v2) body.v2-side-float.v2-drawer-open{overflow:hidden}
html:not(#v2) body.v2-side-float .sidebar .v2-drawer-head{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:1;
  flex-shrink:0; /* the menu is a fixed-height column: without this the head squeezes to 56px and Sign in/Join spill over the first row */
  margin:0 -12px 8px;padding:calc(10px + env(safe-area-inset-top)) 12px 10px 18px;min-height:56px;box-sizing:border-box;
  background:#0a0b0c url(/brand/dialog-flag-1600.webp) right center/cover no-repeat;border-bottom:1px solid var(--v2-bar-line,#15171a)}
html:not(#v2) .v2-drawer-head>b{color:#fff;font:700 17px Inter,sans-serif;text-shadow:0 1px 3px rgba(0,0,0,.7)}
html:not(#v2) .v2-drawer-close{display:grid;place-items:center;width:40px;height:40px;min-width:0;margin:0;padding:0;border:1px solid rgba(255,255,255,.28);border-radius:9px;background:rgba(8,9,10,.72);color:#fff;cursor:pointer}
html:not(#v2) .v2-drawer-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
html:not(#v2) .v2-drawer-join{display:none;flex:1 0 100%;gap:8px}
html:not(#v2) body.cm-signed-out .v2-drawer-join{display:flex}
html:not(#v2) .v2-drawer-join .cm-btn{flex:1;justify-content:center;min-height:40px}
html:not(#v2) body.v2-side-float .sidebar>.nav-label{display:none}
@media (max-width:370px){
  html:not(#v2) body:not(.cm-signed-out) header .brand-icon{width:30px;height:30px}
  html:not(#v2) body:not(.cm-signed-out) header .brand-text>span{font-size:16px;letter-spacing:.5px}
  html:not(#v2) body:not(.cm-signed-out) header .brand-text small{display:none}
}
/* 320px phones: menu, logo, search, bell, Messages and your photo ran 7px past the header's right padding (and off
   screen beside a 15px scrollbar); slightly narrower menu and icon buttons keep the 8px edge. */
@media (max-width:340px){
  html:not(#v2) header #v2Menu{width:38px;padding:0 5px}
  html:not(#v2) .cm-htools .cm-iconbtn{width:34px;height:34px;min-width:34px}
}

/* ---- Coin Exchange / Exchange Chat switch (Brady, November 8): two halves under the banner on both pages, the page
   you're on filled blue. Lines up with the banner; full width on phones. ---- */
html:not(#v2) .v2-xswitch{display:flex;gap:4px;margin:12px 12px 0 4px;padding:4px;border:1px solid var(--cm-btn-line,#d5d9de);border-radius:10px;background:var(--cm-card,#fff)}
html:not(#v2) .v2-xswitch[hidden]{display:none}
html:not(#v2) body.v2-side-off .v2-xswitch{margin-left:12px}
html:not(#v2) .v2-xswitch button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--cm-text,#172e2c);font:600 14px Inter,sans-serif;cursor:pointer}
html:not(#v2) .v2-xswitch button:hover{background:var(--cm-btn,#eef0f2)}
html:not(#v2) .v2-xswitch button[aria-current=page]{background:linear-gradient(180deg,#2f7bf5,#1560cb);color:#fff;cursor:default}
html:not(#v2) .v2-xswitch svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html:not(#v2)[data-theme=dark] .v2-xswitch{background:var(--v2-box,#141618);border-color:#222426}
html:not(#v2)[data-theme=dark] .v2-xswitch button:not([aria-current=page]){color:#eceef1}
@media (max-width:850px){html:not(#v2) .v2-xswitch{margin:10px 12px 0}}

/* ---- The Filters panel in the site look (Brady, November 8; coin-home.js tidyFilters): a heading, three labeled
   groups with even fields on a grid, and a footer with Clear all and the blue Apply filters. Phones: two per row. ---- */
html:not(#v2) body.v2-shop #content .cx-filters{padding:16px 18px}
html:not(#v2) body.v2-shop #content .cx-fhead{display:flex;align-items:center;gap:10px;margin:0 0 12px}
html:not(#v2) body.v2-shop #content .cx-fhead .cx-ico{width:22px;height:22px;color:var(--v2-link,#3a8bff)}
html:not(#v2) body.v2-shop #content .cx-fhead h2{margin:0;font:700 17px Inter,sans-serif;color:var(--cm-text)}
html:not(#v2) body.v2-shop #content .cx-filter-grid{display:flex;flex-direction:column;gap:14px;padding:0}
html:not(#v2) body.v2-shop #content .cx-filter-grid .cx-fgroup{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:none!important;box-shadow:none}
html:not(#v2) body.v2-shop #content .cx-fgroup h3{margin:0 0 8px;font:700 12px Inter,sans-serif;letter-spacing:.6px;text-transform:uppercase;color:var(--cm-muted)}
html:not(#v2) body.v2-shop #content .cx-ffields{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px 12px}
html:not(#v2) body.v2-shop #content .cx-ffields>label{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;font:600 12.5px Inter,sans-serif;color:var(--cm-text)!important}
html:not(#v2) body.v2-shop #content .cx-ffields :is(select,input){width:100%;box-sizing:border-box;height:42px;min-height:42px;margin:0;padding:0 10px;border:1px solid var(--cm-btn-line,#d5d9de);border-radius:8px;background:var(--cm-card2,#fff);color:var(--cm-text);font:500 14px Inter,sans-serif}
html:not(#v2)[data-theme=dark] body.v2-shop #content .cx-ffields :is(select,input){background:var(--v2-field);border-color:var(--v2-field-line);color:#eceef1}
html:not(#v2) body.v2-shop #content .cx-fgroup :is(small,p){display:block;margin:8px 0 0;font-size:12.5px;color:var(--cm-muted)}
html:not(#v2) body.v2-shop #content .cx-fgroup p:empty{display:none}
html:not(#v2) body.v2-shop #content .cx-filter-grid>:is([data-action=saveSearch],.mk-note){align-self:flex-start}
html:not(#v2) body.v2-shop #content .cx-ffoot{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--cm-line)}
html:not(#v2) body.v2-shop #content .cx-ffoot button{box-sizing:border-box;height:40px;min-height:40px;margin:0;padding:0 18px;border-radius:8px;font:600 14px Inter,sans-serif}
@media (max-width:850px){
  html:not(#v2) body.v2-shop #content .cx-filters{padding:14px}
  html:not(#v2) body.v2-shop #content .cx-ffields{grid-template-columns:1fr 1fr;gap:8px 10px}
  html:not(#v2) body.v2-shop #content .cx-ffoot button{flex:1}
  /* Shorter on phones: the two long help notes are left out (errors still show), and the spacing is tighter. */
  html:not(#v2) body.v2-shop #content .cx-fgroup :is(small,#distanceHelp){display:none}
  html:not(#v2) body.v2-shop #content .cx-filter-grid{gap:10px}
  html:not(#v2) body.v2-shop #content .cx-fhead{margin-bottom:8px}
  html:not(#v2) body.v2-shop #content .cx-fgroup h3{margin-bottom:6px}
  html:not(#v2) body.v2-shop #content .cx-ffields :is(select,input){height:40px;min-height:40px;font-size:16px}
  html:not(#v2) body.v2-shop #content .cx-ffoot{margin-top:12px;padding-top:12px}
}

/* ---- Community coins: sizes and full names (Brady, November 11) ----
   The coin with the community's full name under it, wrapped onto as many lines as it needs and never cut off.
   Desktop and tablet tiles grow to the longest name (the row keeps one height); phones show the coin filling the
   whole circle; a community's own page shows it larger. */
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups]){flex:1 1 84px;min-width:64px;max-width:116px;height:auto;min-height:96px;justify-content:flex-start;padding:10px 4px 9px;white-space:normal}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups])>span:last-child{overflow:visible;text-overflow:clip;text-align:center;font-size:11.5px;line-height:1.2;overflow-wrap:break-word}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups]) .cx-ico{margin:9px 0}
html:not(#v2) .v2-circles button{align-self:flex-start}
html:not(#v2) .v2-circles .v2-ring:has(.cx-medal){background:none;padding:0}
html:not(#v2) .v2-circles .v2-ring:has(.cx-medal)::after{display:none}
html:not(#v2) body .v2-circles .cx-medal{width:62px;height:62px}
html:not(#v2) .v2-circles [aria-pressed=true] .v2-ring:has(.cx-medal){box-shadow:0 0 0 3px #3a8bff}
html:not(#v2) .pl-ring:has(.cx-medal){background:none;padding:0;border-radius:50%}
html:not(#v2) .pl-ring:has(.cx-medal)::after{display:none}
html:not(#v2) body .pl-ring .cx-medal{width:64px;height:64px}
/* Groups: Brady's Groups coin (November 11), on the Community row and the phone circles. */
html:not(#v2) [data-ch-groups]{--medal-coin:url(/brand/coins/groups.webp)}
/* All: Brady's All Coins coin (November 11), on the Community, Coin Exchange and Collections rows and the phone circles. */
html:not(#v2) :is([data-coin-category="All communities"],[data-coin-category=""],[data-ch-cat=""],[data-cp-cat=""]){--medal-coin:url(/brand/coins/all.webp)}
/* Wider screens (Brady, November 11): no boxes, just the coin with its name under it. The chosen one gets a blue ring
   and a blue name. Coins are 80px here. (Classes repeated to outrank the boxes.) */
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles.cx-tiles.cx-tiles button .cx-medal{width:min(80px,100%);height:auto;aspect-ratio:1}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles.cx-tiles.cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups]){background:none;border-color:transparent;box-shadow:none;color:var(--cm-text);min-height:0;padding:4px 4px 6px}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles.cx-tiles.cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups]):hover>span:last-child{color:var(--v2-link)}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles.cx-tiles.cx-tiles button:is([data-coin-category],[data-ch-cat],[data-cp-cat],[data-ch-groups]):is(.active,[aria-pressed=true])>span:last-child{color:var(--v2-link);font-weight:600}
html:not(#v2) :is(body.v2-shop,body.v2-community,body.v2-collections) #content .cx-tiles.cx-tiles.cx-tiles button:is(.active,[aria-pressed=true]) :is(.cx-medal,.cx-ico){box-shadow:0 0 0 3px #3a8bff}

/* Silver edges (Brady, November 11): every card and panel gets a dark silver rim to go with the Marketplace category
   icons: a black outer line, then a 2px band of one plain dark silver (no light-and-shadow shading).
   Drawn as an overlay so each card keeps its own background. Dark appearances only;
   Light keeps its plain light borders. */
html:not(#v2)[data-theme=dark] :is(.cm-card,.cx-side-card,.cx-chat-card,.cx-bar,#grid .listing,.cx-list-card,.bst-cookie-card,#v2Side>.cm-me,#v2Side>nav,.panel,.xc-panel,.xc-card,.status-note,.v2-xswitch,.mc-tabs,.dm-tabs,.xc-input,.cx-browse-search){border:1px solid #000!important;box-shadow:0 2px 8px rgba(0,0,0,.55)}
html:not(#v2)[data-theme=dark] :is(.cm-card,.cx-side-card,.cx-chat-card,.cx-bar,.cx-list-card,#v2Side>nav,.panel,.xc-panel,.xc-card,.status-note,.v2-xswitch,.mc-tabs,.dm-tabs,.xc-input,.cx-browse-search):not(.xc-rooms,.xc-main,.hp-contact){position:relative}
html:not(#v2)[data-theme=dark] :is(.cm-card,.cx-side-card,.cx-chat-card,.cx-bar,#grid .listing,.cx-list-card,.bst-cookie-card,#v2Side>.cm-me,#v2Side>nav,.panel,.xc-panel,.xc-card,.status-note,.v2-xswitch,.mc-tabs,.dm-tabs,.xc-input,.cx-browse-search)::after{content:'';position:absolute;inset:0;z-index:3;border-radius:inherit;padding:2px;pointer-events:none;
  background:#55595f;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
/* The mini profile and the side menu under it read as one panel: one rim runs round both, with no line between. */
html:not(#v2)[data-theme=dark] #v2Side>.cm-me{border-bottom-width:0!important;box-shadow:none}
html:not(#v2)[data-theme=dark] #v2Side>nav:not(.v2-x){border-top-width:0!important}
html:not(#v2)[data-theme=dark] #v2Side>.cm-me::after{padding:2px 2px 0}
html:not(#v2)[data-theme=dark] #v2Side>nav:not(.v2-x)::after{padding:0 2px 2px}
/* Pop-up windows scroll, so their rim is the border itself (plus a matching outer ring) rather than an overlay. */
html:not(#v2)[data-theme=dark] dialog:not(.bst-cookie-panel){border:1px solid #55595f!important;box-shadow:0 0 0 1px #55595f,0 0 0 2px #000,0 18px 48px rgba(0,0,0,.6)}
/* Controls get the same dark silver edge (Brady, November 11): buttons, pill tabs and chips, search and sort boxes,
   text boxes and drop-downs. Only their edge colour changes; fills stay (blue stays blue), and a box being typed in
   keeps its blue focus edge. Round member pictures, room icons, the coin and category tiles and the top-bar icons
   keep their own look (no box). */
html:not(#v2)[data-theme=dark] :is(button,input,select,textarea,label.search,label.cx-sort,label.xc-field,form.cm-hsearch,.cx-chat-icon,.cx-list-plus):not(:focus,:focus-within,.cm-av,.xc-av,.xc-room-ico,.v2-tab:not(.on),.cx-tiles button){border-color:#55595f!important}
/* The blue action button used by Groups (Create a group, Join, Accept, Invite people) and community pages (Join).
   Its style went with the old posting box (989d03c), leaving a plain gray box; restored here. */
html:not(#v2) .v2-post-btn{flex:none;min-width:69px;height:40px;padding:0 16px;border:1px solid #2a6fd6;border-radius:6px;background:linear-gradient(180deg,#0f4393,#1560cb);color:#fff;font:700 14px Inter,sans-serif;cursor:pointer;white-space:nowrap}
html:not(#v2) .v2-post-btn:hover{filter:brightness(1.12)}
html:not(#v2) .v2-post-btn:disabled{opacity:.5;cursor:default;filter:none}
@media (max-width:760px){html:not(#v2) .v2-post-btn{height:34px;border-radius:17px;font-size:13.5px;font-weight:600}}

/* ---- The deal view (inbox.js), from Brady's mockups (November 12), in Direction 2's black, silver and blue, without
   the flag: a title line, then the Deal card (status, next step, the offer, its actions and links) beside the
   Conversation card (messages and the box to write one). The same view sits in Messages' right-hand pane. ---- */
.tx{--tx-card:var(--v2-card2,#161819);--tx-card2:var(--v2-field,#1a1c1e);--tx-line:#55595f;--tx-soft:var(--v2-divider,#303234);--tx-text:var(--v2-text,#f1f3f5);--tx-muted:var(--v2-muted,#a3a6ab);
  --tx-ico:#c9cdd3;--tx-blue:var(--v2-link,#3a8bff);--tx-btn:var(--v2-post,linear-gradient(180deg,#2f7bf5,#1560cb));--tx-mine:var(--v2-secondary,#212a38);
  color:var(--tx-text);font-family:Inter,system-ui,sans-serif;padding:4px 0 24px}
html:not([data-theme=dark]) .tx{--tx-card:#fff;--tx-card2:#f4f5f7;--tx-line:#c9ced5;--tx-soft:#e1e4e8;--tx-text:#15181c;--tx-muted:#5d6570;--tx-ico:#4a525c;--tx-blue:#1560cb;--tx-mine:#eaf0f8}
.tx *{box-sizing:border-box}
.tx [hidden]{display:none!important}
.tx-ico{flex:none;color:var(--tx-ico)}
.tx .tx-back{display:inline-flex;align-items:center;gap:8px;padding:6px 0;border:0;background:none;color:var(--tx-text);font:600 15px Inter,sans-serif;cursor:pointer}
.tx-back .tx-ico{color:var(--tx-text)}
.tx-back:hover{color:var(--tx-blue)}
.tx-eyebrow{display:flex;align-items:center;gap:10px;margin:14px 0 0;font:600 12.5px Inter,sans-serif;letter-spacing:.28em;text-transform:uppercase;color:var(--tx-muted)}
.tx-eyebrow::before{content:"";width:22px;height:1px;background:var(--tx-line)}
.tx .tx-title{margin:8px 0 6px;font:800 34px/1.15 Inter,sans-serif;color:var(--tx-text)!important;letter-spacing:-.01em}
.tx-sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 20px;font-size:16px;color:var(--tx-text)}
.tx-sub>span{display:inline-flex;align-items:center;gap:8px}
.tx-sub .tx-ico{color:var(--tx-muted)}
.tx-sep{width:1px;height:20px;background:var(--tx-line)}
.tx-dot{color:var(--tx-muted)}
.tx-money{color:var(--tx-blue)!important;font-weight:800}
.tx-sub .tx-money{font-size:20px}
.tx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.tx-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:20px 22px 22px;border:2px solid var(--tx-line);border-radius:12px;background:var(--tx-card);box-shadow:0 2px 8px rgba(0,0,0,.45)}
.tx-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid var(--tx-soft)}
.tx .tx-head h2{margin:0;flex:1;min-width:0;font:750 22px/1.2 Inter,sans-serif;color:var(--tx-text)!important}
.tx-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 13px;border:1px solid var(--tx-line);border-radius:999px;background:var(--tx-card2);color:var(--tx-text);font-weight:600;font-size:14px;white-space:nowrap}
.tx-pill.is-done{border-color:#2fbf5b;background:rgba(47,191,91,.12)}
.tx-pill.is-done .tx-ico{color:#2fbf5b}
.tx-next{display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border:1px solid var(--tx-line);border-left:3px solid var(--v2-blue,#1560cb);border-radius:10px;background:var(--tx-card2)}
.tx-next-ico{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--v2-blue,#1560cb)}
.tx-next-ico .tx-ico{color:#fff}
.tx .tx-next h3{margin:2px 0 4px;font:750 19px Inter,sans-serif;color:var(--tx-text)!important}
.tx-next p{margin:0;font-size:15px;line-height:1.45;color:var(--tx-text)}
.tx-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));padding:4px 0 14px;border-bottom:1px solid var(--tx-soft)}
.tx-fact{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 8px;text-align:center}
.tx-fact+.tx-fact{border-left:1px solid var(--tx-soft)}
.tx-fact small{display:inline-flex;align-items:center;gap:7px;font-size:15px;color:var(--tx-muted)}
.tx-fact small .tx-ico{color:var(--tx-ico)}
.tx-fact strong{font:750 25px/1.15 Inter,sans-serif;color:var(--tx-text)}
.tx-when{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;color:var(--tx-text)}
.tx-actions,.tx-links{display:flex;flex-wrap:wrap;gap:10px}
.tx-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:0 16px;border:1px solid var(--tx-line);border-radius:8px;background:var(--tx-card2);color:var(--tx-text)!important;font:650 14.5px Inter,sans-serif;cursor:pointer}
.tx-btn .tx-ico{color:var(--tx-ico)}
.tx-btn:hover{border-color:#8b9099}
.tx-btn:disabled{opacity:.55;cursor:default}
.tx-btn.is-main{border-color:#2b74e6;background:var(--tx-btn);color:#fff!important}
.tx-btn.is-main .tx-ico{color:#fff}
.tx-btn.is-outline{border-color:var(--tx-line)}
.tx-btn.is-quiet{border-color:transparent;background:none;padding:0 6px;color:var(--tx-blue)!important}
.tx-btn.is-quiet .tx-ico{color:var(--tx-blue)}
.tx-form{display:flex;flex-direction:column;gap:6px}
.tx-muted{margin:0;color:var(--tx-muted);font-size:14.5px;line-height:1.45}
.tx-history summary{cursor:pointer;color:var(--tx-muted)}
.tx-card h3{margin:4px 0 0;font-size:16px;color:var(--tx-text)}
/* Conversation */
.tx-chat{min-height:460px}
.tx-thread{flex:1;min-height:180px;max-height:52vh;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:2px 2px 6px}
.tx-msg{align-self:flex-start;max-width:min(88%,520px);padding:10px 14px;border:1px solid var(--tx-soft);border-radius:12px;border-bottom-left-radius:4px;background:var(--tx-card2)}
.tx-msg.is-mine{align-self:flex-end;border-radius:12px;border-bottom-right-radius:4px;background:var(--tx-mine)}
.tx-msg.is-offer{border-color:var(--tx-line)}
.tx-msg b{display:block;margin-bottom:3px;font-size:14px;color:var(--tx-text)}
.tx-msg p{margin:0 0 6px;font-size:15px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--tx-text)}
.tx-msg small{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--tx-muted)}
.tx-report{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:var(--tx-muted)!important;font:inherit;cursor:pointer}
.tx-report .tx-ico{color:var(--tx-muted)}
.tx-report:hover{color:var(--tx-text)!important}
.tx-event{align-self:center;margin:2px 0;padding:4px 12px;border-radius:12px;background:var(--tx-card2);font-size:13px;color:var(--tx-muted)}
.tx-send{display:flex;align-items:flex-end;gap:8px}
.tx-send textarea{flex:1;min-width:0;min-height:44px;max-height:140px;padding:11px 14px;border:1px solid var(--tx-line)!important;border-radius:8px;background:var(--tx-card2)!important;color:var(--tx-text)!important;font:15px/1.4 Inter,sans-serif;resize:none;outline:0}
.tx-send textarea:focus{border-color:#8b9099!important}
.tx-send-btn{flex:none;width:52px;height:44px;border:0;border-radius:8px;background:var(--tx-btn);display:grid;place-items:center;cursor:pointer}
.tx-send-btn .tx-ico{color:#fff}
.tx-send-btn:disabled{opacity:.6}
.tx-safe{display:flex;align-items:center;gap:12px;margin:0;padding:12px 14px;border:1px solid var(--tx-soft);border-radius:10px;background:var(--tx-card2);font-size:14px;line-height:1.45;color:var(--tx-muted)}
.tx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* In Messages' right-hand pane: smaller, the two cards stacked when the pane is narrow. */
.tx.is-pane{padding:14px 16px 18px;container-type:inline-size}
#dmThread .tx.is-pane .tx-back{display:none}
.tx.is-pane .tx-title{font-size:26px;margin-top:0}
.tx.is-pane .tx-sub{margin-bottom:14px}
@container (max-width:860px){.tx.is-pane .tx-grid{grid-template-columns:minmax(0,1fr)}.tx.is-pane .tx-thread{max-height:none}}
#dmThread:has(> .tx){overflow-y:auto}
@media (max-width:1100px){.tx:not(.is-pane) .tx-grid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:850px){#dmThread .tx.is-pane .tx-back{display:inline-flex}}
/* Phones (Brady, November 12: "needs to look better"): one frame instead of a card inside a card, smaller type,
   actions two to a row, the links as a compact row and a short safety note. */
@media (max-width:600px){
  #dmThread:has(> .tx){border:0!important;background:none!important;box-shadow:none!important;border-radius:0}
  #dmThread:has(> .tx)::after{display:none!important}
  .tx.is-pane{padding:2px 0 12px}
  .tx .tx-back{font-size:14px;padding:2px 0}
  .tx .tx-title{margin:6px 0 4px;font-size:22px}
  .tx.is-pane .tx-title{font-size:22px}
  .tx-sub,.tx.is-pane .tx-sub{gap:2px 12px;margin-bottom:12px;font-size:14px;color:var(--tx-muted)}
  .tx-sub .tx-ico{width:16px;height:16px}
  .tx-sub>.tx-sep,.tx-sub>.tx-dot{display:none}
  .tx-sub .tx-money{font-size:16px}
  .tx-grid{gap:12px}
  .tx-card{gap:12px;padding:14px;border-radius:12px}
  .tx-head{gap:10px;padding-bottom:10px}
  .tx-head>.tx-ico{width:22px;height:22px}
  .tx .tx-head h2{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tx-pill{padding:4px 9px;font-size:12px;gap:5px}
  .tx-pill .tx-ico{width:14px;height:14px}
  .tx-next{gap:10px;padding:11px 12px}
  .tx-next-ico{width:28px;height:28px}
  .tx-next-ico .tx-ico{width:16px;height:16px}
  .tx .tx-next h3{margin:0 0 2px;font-size:15px}
  .tx-next p{font-size:13.5px;line-height:1.4}
  .tx-facts{grid-template-columns:repeat(3,minmax(0,1fr));padding:2px 0 10px}
  .tx-fact{gap:4px;padding:0 4px}
  .tx-fact strong{font-size:16px}
  .tx-fact small{font-size:11.5px;gap:4px}
  .tx-fact small .tx-ico{width:14px;height:14px}
  .tx-when{gap:8px;font-size:13px;color:var(--tx-muted)}
  .tx-when .tx-ico{width:16px;height:16px}
  .tx-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tx-actions .tx-btn:only-child,.tx-actions .tx-btn.is-main:first-child:nth-last-child(odd){grid-column:1 / -1}
  .tx-btn{min-height:40px;padding:0 10px;font-size:13.5px;gap:6px}
  .tx-btn .tx-ico{width:16px;height:16px}
  .tx-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .tx-links .tx-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tx-links .tx-btn.is-quiet{grid-column:1 / -1;min-height:30px;font-size:13px}
  .tx-chat{min-height:0}
  .tx-thread{min-height:0;max-height:none;gap:8px}
  .tx-msg{max-width:86%;padding:8px 12px}
  .tx-msg b{font-size:13px}
  .tx-msg p{font-size:14.5px;margin-bottom:4px}
  .tx-msg small{font-size:12px}
  .tx-send textarea{min-height:42px;padding:10px 12px;font-size:15px}
  .tx-send-btn{width:46px;height:42px}
  .tx-safe{gap:8px;padding:9px 11px;font-size:12.5px}
  .tx-safe .tx-ico{width:18px;height:18px}
}
.tx-btn i{font-style:normal}
.tx-btn .tx-short{display:none}
@media (max-width:600px){.tx-links .tx-btn .tx-long{display:none}.tx-links .tx-btn .tx-short{display:inline}}
