/* ============================================================================
   Layout B: the shared building blocks of the Skin B page layouts.

   Skin B (css/skin-b.css) repaints the app; these are the layout pieces the
   re-laid-out pages are built from, so a page and its sub-pages read as one
   design. First used by the Profile dashboard (Sep 23).

   Every class is prefixed b- so nothing collides with a page's own styles.
   Pages keep their classic markup next to the new one:
     .b-only      shown in Skin B, hidden in classic view
     .classic-only  the reverse
   Colours come from the skin tokens, with literal fallbacks for classic.
   ========================================================================= */

html:not([data-skin="b"]) .b-only{display:none!important;}
html[data-skin="b"] .classic-only{display:none!important;}

.b-page{max-width:560px;margin:0 auto;padding:var(--sp-4) 16px calc(env(safe-area-inset-bottom) + 110px);}

/* ---------------------------------------------------------------- blocks */
.b-card{background:var(--c-surface-2);border:1px solid var(--c-border);border-radius:28px;padding:20px;margin-bottom:14px;}
.b-sec{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin:22px 6px 10px;font-family:var(--font-mono);font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:var(--c-text-muted);}
.b-sec a,.b-sec button{color:var(--c-text-secondary);text-decoration:none;background:none;border:0;font:inherit;letter-spacing:inherit;cursor:pointer;padding:0;}
.b-empty{padding:26px 18px;text-align:center;color:var(--c-text-muted);font-size:13.5px;}

/* ----------------------------------------------------------------- lists */
.b-list{background:var(--c-surface-2);border:1px solid var(--c-border);border-radius:28px;overflow:hidden;margin-bottom:14px;}
.b-row{display:flex;align-items:center;gap:14px;padding:15px 18px;border:0;border-bottom:1px solid var(--c-border);color:inherit;text-decoration:none;min-height:60px;background:none;width:100%;text-align:left;font:inherit;cursor:pointer;}
.b-row:last-child{border-bottom:0;}
.b-row .b-main{flex:1;min-width:0;}
.b-row .b-nm{font-size:14.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--c-text-primary);}
.b-row .b-sub{font-family:var(--font-mono);font-size:10.5px;color:var(--c-text-muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.b-row .b-chev{color:var(--c-text-muted);font-size:18px;flex-shrink:0;}
.b-row .b-ic{width:40px;height:40px;border-radius:50%;background:var(--c-surface-3);display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--c-text-secondary);}
.b-row .b-ic svg{width:19px;height:19px;}
.b-row.b-danger,.b-row.b-danger .b-nm,.b-row.b-danger .b-ic{color:var(--c-red);}
.b-row.b-mine{background:var(--sk-yellow-fill,var(--c-yellow));}
.b-row.b-mine .b-nm,.b-row.b-mine .b-sub,.b-row.b-mine .b-pos{color:var(--sk-on-yellow,#111214);}
.b-pos{font-family:var(--font-display);font-size:18px;font-weight:900;width:26px;text-align:center;color:var(--c-text-muted);flex-shrink:0;}

.b-av{width:42px;height:42px;border-radius:50%;background:var(--c-surface-3);border:1px solid var(--c-border);display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-weight:900;font-size:14px;color:var(--c-text-primary);overflow:hidden;flex-shrink:0;}
.b-av img{width:100%;height:100%;object-fit:cover;}
.b-av--lg{width:60px;height:60px;font-size:20px;}

/* -------------------------------------------------------------- identity */
.b-me{display:flex;align-items:center;gap:14px;margin:4px 4px 18px;}
.b-me h1{font-family:var(--font-display);font-size:26px;font-weight:900;text-transform:uppercase;line-height:1;margin:0 0 5px;letter-spacing:.3px;color:var(--c-text-primary);}
.b-me .b-hd{font-family:var(--font-mono);font-size:11px;color:var(--c-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.b-me .b-acts{display:flex;gap:8px;margin-left:auto;flex-shrink:0;}
.b-icb{width:44px;height:44px;border-radius:50%;border:1px solid var(--c-border);background:var(--c-surface-2);color:var(--c-text-primary);display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;padding:0;}
.b-icb svg{width:19px;height:19px;}

/* ------------------------------------------------------- the accent block */
.b-now{background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);border-radius:28px;padding:22px;margin-bottom:14px;position:relative;overflow:hidden;}
.b-now .b-k{font-family:var(--font-mono);font-size:11px;letter-spacing:1.6px;text-transform:uppercase;opacity:.65;margin-bottom:10px;}
.b-now h2{font-family:var(--font-display);font-size:30px;font-weight:900;text-transform:uppercase;line-height:1;margin:0 0 6px;color:inherit;}
.b-now p{margin:0 0 18px;font-size:13.5px;opacity:.78;line-height:1.45;color:inherit;}
.b-now .b-more{display:block;margin-top:14px;font-size:12.5px;font-weight:600;color:inherit;opacity:.75;}
/* Inside the yellow block an avatar takes the block's ink. !important because
   the nav avatar script paints the user's avatar colour inline, which can be
   yellow on yellow. */
.b-now .b-av{background:rgba(0,0,0,.12)!important;border-color:transparent!important;color:inherit!important;}
.b-vs{display:flex;align-items:center;gap:12px;margin-bottom:16px;}
.b-vs .b-av{width:48px;height:48px;}

/* the pill: black, with the yellow icon capsule */
.b-pill{display:inline-flex;align-items:center;gap:10px;background:#111214;color:#fff;border:0;border-radius:999px;padding:6px 22px 6px 6px;font-family:var(--font-display);font-size:15px;font-weight:800;letter-spacing:1px;text-transform:uppercase;min-height:48px;text-decoration:none;cursor:pointer;}
.b-pill i{width:36px;height:36px;border-radius:50%;background:var(--c-yellow);color:#111214;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:17px;font-weight:900;}
.b-pill--ghost{background:transparent;color:inherit;border:1.5px solid currentColor;}
.b-pill:not(:has(> i)){padding:6px 24px;justify-content:center;text-align:center;}

/* the full-width primary action at the bottom of a screen */
.b-full{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:56px;border-radius:28px;border:0;background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);font-family:var(--font-display);font-size:16px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;text-decoration:none;cursor:pointer;margin:6px 0 14px;}

/* ----------------------------------------------------------------- chips */
.b-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -4px 10px;padding:0 4px 4px;}
.b-chips::-webkit-scrollbar{display:none;}
/* more chips past the right edge: fade it so the row reads as scrollable */
.b-chips.is-more{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 56px),transparent);}
.b-chip{flex-shrink:0;border:1px solid var(--c-border);background:var(--c-surface-3);color:var(--c-text-secondary);border-radius:999px;padding:9px 16px;font:600 13px var(--font-body);cursor:pointer;min-height:40px;white-space:nowrap;text-decoration:none;display:inline-flex;align-items:center;}
.b-chip.on{background:var(--sk-yellow-fill,var(--c-yellow));border-color:transparent;color:var(--sk-on-yellow,#111214);font-weight:700;}
/* rating chips (js/rating-card.js): the number after the sport, and a sport not played yet */
.b-chip-n{margin-left:7px;font-family:var(--font-mono);font-size:12px;opacity:.75;}
.b-chip.is-idle:not(.on){border-style:dashed;opacity:.7;}

/* ------------------------------------------------- the one dominant number */
.b-ring{position:relative;width:216px;height:216px;margin:10px auto 6px;}
.b-ring svg{transform:rotate(-90deg);display:block;}
.b-ring .b-mid{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.b-ring .b-mid b{font-family:var(--font-display);font-size:60px;font-weight:900;line-height:1;color:var(--c-text-primary);}
.b-ring .b-mid b.is-idle{color:var(--c-text-muted);}
/* where a rating stands among ranked players (js/rating-card.js) */
.b-standing{margin:10px 2px 4px;}
.b-standing-top{display:flex;align-items:baseline;gap:6px;font-size:13px;color:var(--c-text-secondary);}
.b-standing-top b{font-family:var(--font-display);font-size:17px;color:var(--c-text-primary);}
.b-standing-top em{margin-left:auto;font:600 11px var(--font-mono);font-style:normal;color:var(--c-text-muted);}
.b-standing-bar{height:6px;border-radius:99px;background:var(--c-surface-3);overflow:hidden;margin-top:7px;}
.b-standing-bar i{display:block;height:100%;background:var(--c-yellow);border-radius:99px;}
/* tiers on the ranking page: colour only from Elite up, so it means something */
.b-band{display:flex;align-items:baseline;gap:8px;padding:12px 18px 6px;font:700 10px var(--font-mono);letter-spacing:1.2px;text-transform:uppercase;color:var(--c-text-muted);border-top:1px solid var(--c-border);}
.b-band:first-child{border-top:0;}
.b-band small{font-weight:600;font-size:10px;opacity:.75;}
.b-band.b-tier--elite b{color:var(--c-blue);}
.b-band.b-tier--legend b{color:var(--c-purple);}
.b-band.b-tier--goat b{color:var(--c-text-primary);}
.b-tier-t{font-weight:700;color:var(--c-text-secondary);}
.b-tag.srb-state{margin:0 6px 0 0;}
/* win chance (js/rating-card.js) */
.b-odds{font-size:13px;color:var(--c-text-secondary);margin:2px 0 12px;}
.b-odds b{color:var(--c-text-primary);}
.b-odds-rough{color:var(--c-text-muted);font-size:12px;}
.b-tier-t.b-tier--elite{color:var(--c-blue);}
.b-tier-t.b-tier--legend{color:var(--c-purple);}
.b-tier-t.b-tier--goat{color:var(--sk-on-yellow,#111214);background:var(--sk-yellow-fill,var(--c-yellow));border-radius:4px;padding:0 4px;}
.b-row.b-mine .b-tier-t{color:inherit;}
.b-ring .b-mid span{font-family:var(--font-mono);font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--c-text-muted);margin-top:4px;}
.b-ring-cap{text-align:center;font-size:13px;color:var(--c-text-secondary);margin-bottom:14px;}
.b-ring-cap b{color:var(--c-text-primary);}
.b-meta{display:flex;justify-content:space-around;border-top:1px solid var(--c-border);padding-top:14px;}
.b-meta > div{text-align:center;min-width:0;}
.b-meta b{display:block;font-family:var(--font-display);font-size:22px;font-weight:900;color:var(--c-text-primary);}
.b-meta span{font-family:var(--font-mono);font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:var(--c-text-muted);}
.b-spark{height:44px;margin:4px 0 14px;}
.b-spark svg{width:100%;height:100%;display:block;}

/* ---------------------------------------------- colour at block size */
.b-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;}
.b-tile{border-radius:22px;padding:18px;min-height:120px;display:flex;flex-direction:column;justify-content:space-between;text-decoration:none;position:relative;}
/* Tabular lining figures: the condensed display 0 on its own reads as a capsule. */
.b-tile b{font-family:var(--font-display);font-size:38px;font-weight:900;line-height:.95;font-variant-numeric:tabular-nums;}
.b-tile span{font-size:12.5px;font-weight:600;opacity:.72;}
.b-tile .b-arw{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;background:rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:14px;}
.b-t-green{background:var(--sk-green-soft,#D8F7E6);color:var(--sk-green-ink,#0A5233);}
.b-t-red{background:var(--sk-red-soft,#FBDEDF);color:var(--sk-red-ink,#7C1D21);}
.b-t-blue{background:var(--sk-blue-soft,#D6ECFF);color:var(--sk-blue-ink,#0B3A5C);}
.b-t-yellow{background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);}
.b-t-plain{background:var(--c-surface-2);color:var(--c-text-primary);border:1px solid var(--c-border);}

/* result / score pill */
.b-score{font-family:var(--font-display);font-size:16px;font-weight:900;padding:5px 12px;border-radius:999px;white-space:nowrap;flex-shrink:0;}
.b-s-win{background:var(--sk-green-soft,#D8F7E6);color:var(--sk-green-ink,#0A5233);}
.b-s-loss{background:var(--sk-red-soft,#FBDEDF);color:var(--sk-red-ink,#7C1D21);}
.b-s-draw{background:var(--c-surface-3);color:var(--c-text-secondary);}
.b-s-yellow{background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);}

.b-bar{height:6px;border-radius:99px;background:var(--c-surface-3);overflow:hidden;margin-top:7px;}
.b-bar i{display:block;height:100%;background:var(--c-yellow);border-radius:99px;}

/* photo-first card */
.b-photo{position:relative;border-radius:28px;overflow:hidden;margin-bottom:14px;min-height:240px;background:var(--c-surface-3) center/cover no-repeat;display:flex;align-items:flex-end;}
.b-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(8,8,10,.88));}
.b-photo .b-cap{position:relative;padding:20px;color:#fff;width:100%;}
.b-photo h2{font-family:var(--font-display);font-size:28px;font-weight:900;text-transform:uppercase;margin:0 0 6px;line-height:1.05;color:#fff;}
.b-photo .b-cap-meta{font-family:var(--font-mono);font-size:11px;letter-spacing:1.4px;text-transform:uppercase;opacity:.85;}
.b-photo .b-badge{position:absolute;top:16px;left:16px;z-index:1;background:var(--c-yellow);color:#111214;border-radius:999px;padding:8px 14px;font-family:var(--font-display);font-weight:900;font-size:15px;}

.b-sk{height:110px;border-radius:28px;background:var(--c-surface-2);border:1px solid var(--c-border);margin-bottom:14px;opacity:.6;}

/* ------------------------------------------------ promoted from the pages
   First built page-locally (Play, Marketplace, Venue, Profile) and shared
   from Sep 23 so sub-pages reuse them rather than invent their own. */

/* a small action pill at the end of a row */
.b-act{flex-shrink:0;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;border:0;background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);font:800 12px var(--font-display);letter-spacing:1px;text-transform:uppercase;cursor:pointer;white-space:nowrap;text-decoration:none;}
.b-act--ghost{background:var(--c-surface-3);color:var(--c-text-secondary);}
/* a count inside a chip: "Incoming 3" */
.b-count{margin-left:7px;font-family:var(--font-mono);font-size:11px;opacity:.7;}

/* the sticky back bar of a focused sub-view */
.b-back{position:sticky;top:var(--nav-height);z-index:5;display:flex;align-items:center;gap:12px;max-width:560px;margin:0 auto;padding:12px 16px;background:var(--sk-bg,var(--c-black));}
.b-back h2{margin:0;font-family:var(--font-display);font-size:22px;font-weight:900;text-transform:uppercase;color:var(--c-text-primary);}

/* a page title row: big title, a sub line, icon buttons on the right */
.b-title{display:flex;align-items:center;gap:12px;margin:4px 4px 16px;}
.b-title h1{font-family:var(--font-display);font-size:30px;font-weight:900;text-transform:uppercase;line-height:1;margin:0 0 4px;color:var(--c-text-primary);}
.b-title .b-hd{font-family:var(--font-mono);font-size:11px;color:var(--c-text-muted);}
.b-title .b-acts{display:flex;gap:8px;margin-left:auto;flex-shrink:0;}

/* a pill search box, with an optional select beside it */
.b-search{display:flex;gap:8px;margin:0 0 12px;}
.b-search input{flex:1;min-width:0;height:48px;padding:0 18px;border-radius:999px;border:1px solid var(--c-border);background:var(--c-surface-2);color:var(--c-text-primary);font:15px var(--font-body);outline:none;}
.b-search input:focus{border-color:var(--c-yellow);}
.b-search select{height:48px;padding:0 14px;border-radius:999px;border:1px solid var(--c-border);background:var(--c-surface-2);color:var(--c-text-secondary);font:600 13px var(--font-body);}

/* a row of pills that wraps */
.b-pills{display:flex;gap:10px;flex-wrap:wrap;}

/* a two-column grid of photo-first cards */
.b-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:14px;}
.b-gcard{display:block;text-align:left;padding:0;border:1px solid var(--c-border);background:var(--c-surface-2);border-radius:22px;overflow:hidden;color:inherit;font:inherit;cursor:pointer;min-width:0;text-decoration:none;}
.b-gimg{position:relative;aspect-ratio:1;background:var(--c-surface-3) center/cover no-repeat;display:flex;align-items:center;justify-content:center;font-size:42px;}
.b-gprice{position:absolute;left:10px;bottom:10px;background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);border-radius:999px;padding:6px 12px;font-family:var(--font-display);font-size:16px;font-weight:900;line-height:1;}
.b-gtag{position:absolute;left:10px;top:10px;background:rgba(10,10,12,.7);color:#fff;border-radius:999px;padding:5px 10px;font:600 10.5px var(--font-mono);letter-spacing:.8px;text-transform:uppercase;font-style:normal;}
.b-gbody{padding:12px 14px 14px;}

/* a square thumbnail at the start of a row */
.b-thumb{width:48px;height:48px;border-radius:14px;background:var(--c-surface-3) center/cover no-repeat;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;}

/* "Show more" under a list */
.b-morebtn{display:block;width:100%;min-height:48px;border-radius:999px;border:1px solid var(--c-border);background:var(--c-surface-2);color:var(--c-text-primary);font:600 14px var(--font-body);cursor:pointer;margin-bottom:14px;}

/* overlapping avatars */
.b-who{display:flex;align-items:center;}
.b-who .b-av{width:38px;height:38px;margin-left:-10px;border:2px solid var(--c-surface-2);font-size:12px;}
.b-who .b-av:first-child{margin-left:0;}
.b-now .b-who .b-av{border-color:var(--sk-yellow-fill,#FCD00F)!important;}

/* an unread dot for a row */
.b-dot{width:9px;height:9px;border-radius:50%;background:var(--c-yellow);flex-shrink:0;}

/* a status tag (Live / Owner / In review ...). --sm sits inline after a name,
   --lg is the pill at the end of a row; colour with --ok / --warn / --live / --no. */
.b-tag{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:999px;background:var(--c-surface-3);color:var(--c-text-secondary);font:700 10px var(--font-mono);letter-spacing:.8px;text-transform:uppercase;white-space:nowrap;vertical-align:middle;}
.b-tag--ok{background:var(--sk-green-soft,#D8F7E6);color:var(--sk-green-ink,#0A5233);}
.b-tag--warn,.b-tag--live{background:var(--sk-yellow-fill,var(--c-yellow));color:var(--sk-on-yellow,#111214);}
.b-tag--no{background:var(--sk-red-soft,#FBDEDF);color:var(--sk-red-ink,#7C1D21);}

/* the two text lines under a grid card's photo */
.b-gnm{font-size:14px;font-weight:700;color:var(--c-text-primary);line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.b-gsub{font-family:var(--font-mono);font-size:10.5px;color:var(--c-text-muted);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* ---- consolidated Sep 23 from page copies (league pages, club, search,
   notifications, tournament, managed, marketplace, friends, profile, venue,
   calendar). Pages keep only their real differences as scoped overrides. ---- */

/* tag sizes: --sm inline after a name, --lg at the end of a row */
.b-tag--sm{display:inline-block;padding:1px 6px;margin-left:6px;font-weight:inherit;font-size:9.5px;line-height:inherit;letter-spacing:1px;vertical-align:1px;white-space:inherit;}
.b-tag--lg{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;font-weight:600;font-size:10.5px;letter-spacing:1px;flex-shrink:0;vertical-align:baseline;}

/* two teams either side of VS or a score, inside the yellow block */
.b-fx{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;margin:4px 0 14px;color:inherit;text-decoration:none;}
.b-fx-side{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;min-width:0;color:inherit;text-decoration:none;}
.b-fx-side .b-av{width:56px;height:56px;font-size:16px;}
.b-fx-side b{font-family:var(--font-display);font-size:16px;font-weight:900;text-transform:uppercase;line-height:1.05;max-width:100%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.b-fx-mid{font-family:var(--font-display);font-size:22px;font-weight:900;text-align:center;white-space:nowrap;}
.b-fx-mid.score{font-size:34px;letter-spacing:1px;}
/* a red live dot before a status word */
.b-live{display:inline-flex;align-items:center;gap:6px;}
.b-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#E8434A;}

/* a fixture row: date column (.b-when), two team lines (.b-tl), status (.b-st) */
.b-when{width:52px;flex-shrink:0;font-family:var(--font-mono);font-size:10.5px;line-height:1.35;color:var(--c-text-muted);}
.b-tl{display:flex;align-items:center;gap:8px;min-width:0;}
.b-tl + .b-tl{margin-top:6px;}
.b-tl .b-av{width:24px;height:24px;font-size:9px;}
.b-tl span{flex:1;min-width:0;font-size:14px;font-weight:600;color:var(--c-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.b-tl.us span{font-weight:800;}
.b-tl b{font-family:var(--font-display);font-size:17px;font-weight:900;color:var(--c-text-primary);min-width:20px;text-align:right;}
.b-tl.lost span,.b-tl.lost b{color:var(--c-text-muted);}
.b-st{font-family:var(--font-mono);font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--c-text-muted);flex-shrink:0;}
.b-st.live{color:#E8434A;}

/* actions at the end of a row, and the small round icon button among them */
.b-racts{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.b-icb--sm{width:36px;height:36px;}
.b-icb--sm svg{width:17px;height:17px;}

/* an avatar with an online dot */
.b-avwrap{position:relative;flex-shrink:0;}
.b-online{position:absolute;right:0;bottom:0;width:12px;height:12px;border-radius:50%;background:var(--c-green);border:2px solid var(--c-surface-2);}

/* a tappable star rating */
.b-stars{display:flex;gap:6px;margin-bottom:12px;}
.b-stars button{border:0;background:none;padding:0;font-size:30px;line-height:1;color:var(--c-surface-4);cursor:pointer;min-width:40px;min-height:40px;}
.b-stars button.on{color:#E0A800;}

/* a strip of day chips: today ringed, selected filled, a dot when something is on */
.b-days{position:relative;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -16px 14px;padding:2px 16px 6px;scroll-behavior:smooth;}
.b-days::-webkit-scrollbar{display:none;}
.b-day{flex-shrink:0;width:54px;min-height:78px;border-radius:999px;border:1px solid var(--c-border);background:var(--c-surface-2);color:var(--c-text-secondary);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;padding:8px 0;font:inherit;}
.b-day span{font-family:var(--font-mono);font-size:10px;letter-spacing:1px;text-transform:uppercase;}
.b-day b{font-family:var(--font-display);font-size:22px;font-weight:900;line-height:1;color:var(--c-text-primary);}
.b-day i{width:6px;height:6px;border-radius:50%;background:var(--c-yellow);}
.b-day i.b-nodot{background:transparent;}
.b-day.today{border:2px solid var(--c-yellow);}
.b-day.on{background:var(--sk-yellow-fill,var(--c-yellow));border-color:transparent;color:var(--sk-on-yellow,#111214);}
.b-day.on b{color:var(--sk-on-yellow,#111214);}
.b-day.on i{background:var(--sk-on-yellow,#111214);}
.b-day.on i.b-nodot{background:transparent;}

/* ---------------------------------------------------------------- desktop
   On a laptop a 560px column read as a phone in the middle of the screen.
   Wide screens get a wider column and grids with more across. Pages with
   their own side columns (feed, dashboard) keep their layout. */
@media (min-width:1024px){
  .b-page{max-width:760px;}
  .b-grid{grid-template-columns:repeat(3,1fr);}
  .b-tiles{grid-template-columns:repeat(4,1fr);}
  .b-tile{min-height:110px;}
}

/* A business's contact details on its public profile (js/pages/profile-b.js bizContact, mig 183). */
.pb-biz{margin-top:14px;padding-top:12px;border-top:1px solid rgba(0,0,0,.1);display:flex;flex-direction:column;gap:8px;}
.pb-biz-r{display:flex;gap:10px;align-items:flex-start;color:inherit;text-decoration:none;font-size:14px;line-height:1.4;}
.pb-biz-r svg{flex-shrink:0;margin-top:1px;opacity:.75;}
a.pb-biz-r:hover span{text-decoration:underline;}
