/* Backline — Backstage.
   Personality on top of the iOS layer (styles.css): the iOS structure stays
   (tab bar, sheets, system font for reading), and the stage shows up in the
   moments that matter: gig posters, gaffer tape, the mixing
   desk, the setlist sheet, the All Access pass, the road case and VU meters.
   Delete this file and its <link> to go back to the plain iOS look. */

:root {
  --bg: #F4F0E6;                         /* poster paper instead of iOS gray */
  --panel: #FFFDF8;
  --ink: #15130F;
  --muted: rgba(21, 19, 15, .6);
  --line: rgba(21, 19, 15, .12);
  --sep: rgba(21, 19, 15, .2);
  --accent: #E4511B;                     /* amp-on orange */
  --on-accent: #fff;                     /* text and icons on orange */
  --accent-text: #B23A0C;                /* orange text on the light page (4.5:1+) */
  --accent-soft: rgba(228, 81, 27, .13);
  --bar: rgba(244, 240, 230, .84);
  --seg-active: #FFFDF8;
  --tab-track: rgba(21, 19, 15, .06);
  --tab-dot: rgba(21, 19, 15, .2);
  --stage: #12100E;
  --gaffer: #E8DFC6;
  --nav-solid: #F4F0E6;                  /* = manifest theme_color (Android) */

  --f-poster: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --f-mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-hand: 'Permanent Marker', 'Marker Felt', cursive;
  --f-sten: 'Allerta Stencil', var(--f-mono);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 24' preserveAspectRatio='none'%3E%3Cpath d='M0 14 L8 9 L15 16 L24 8 L33 13 L41 6 L52 15 L60 10 L71 17 L79 8 L90 12 L98 5 L108 14 L118 9 L126 16 L137 7 L146 13 L155 9 L166 17 L174 10 L185 14 L193 6 L204 12 L213 8 L223 16 L232 11 L241 17 L250 7 L261 13 L270 9 L279 15 L290 6 L298 12 L309 9 L318 16 L327 10 L338 14 L347 7 L356 13 L366 9 L375 16 L384 11 L392 15 L400 9 L400 24 L0 24 Z'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0E0C; --panel: #1C1A17; --ink: #F4F0E6; --muted: rgba(244, 240, 230, .6);
    --line: rgba(244, 240, 230, .12); --sep: rgba(244, 240, 230, .2);
    --accent: #FF6A2F; --accent-soft: rgba(255, 106, 47, .2); --bar: rgba(18, 16, 14, .82); --seg-active: #3A3631; --tab-track: rgba(244, 240, 230, .07); --tab-dot: rgba(244, 240, 230, .18);
    --gaffer: #D9CFB4; --nav-solid: #141210; --accent-text: #FF7A45;
  }
}
:root[data-theme="dark"] {
  --bg: #0F0E0C; --panel: #1C1A17; --ink: #F4F0E6; --muted: rgba(244, 240, 230, .6);
  --line: rgba(244, 240, 230, .12); --sep: rgba(244, 240, 230, .2);
  --accent: #FF6A2F; --accent-soft: rgba(255, 106, 47, .2); --bar: rgba(18, 16, 14, .82); --seg-active: #3A3631; --tab-track: rgba(244, 240, 230, .07); --tab-dot: rgba(244, 240, 230, .18);
  --gaffer: #D9CFB4; --nav-solid: #141210; --accent-text: #FF7A45;
}
html.android-app .nav { background: var(--nav-solid); }
@media (prefers-color-scheme: dark) { html.android-app:not([data-theme="light"]) .nav { background: var(--nav-solid); } }

/* ---- Type --------------------------------------------------------------- */

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; }
.home__date { font-family: var(--f-mono); font-weight: 400; font-size: 12px; letter-spacing: .14em; }
.pagehead .title, .page > .title, .page--narrow > .title {
  font-family: var(--f-poster); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .98;
  font-size: clamp(38px, 7vw, 52px);
}

/* Wordmark: the app icon (icons/mark.png) next to BACKLINE in Anton */
.wordmark { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-poster); font-weight: 400; font-size: 25px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.wordmark::before {
  content: ''; flex: none; width: 1.3em; height: 1.3em; border-radius: 22.5%;
  background: url("../icons/mark.png") center / contain no-repeat;
  box-shadow: 0 0 0 1px rgba(244, 240, 230, .1); /* keeps the dark tile visible on dark screens */
}
.wordmark--hero::before { display: none; }
.bell__dot { background: var(--accent); }

/* Tab bar: the active tab is the bright one, with a heavier icon */
.nav__item.is-active { color: var(--ink); }
.nav__item.is-active svg { fill: none; stroke-width: 2; }
.nav__item.is-active { font-weight: 700; }
.nav__item.is-active::before { display: none; } /* no dot: it read like a notification */

/* ---- Gaffer tape section titles ----------------------------------------- */

.homesec__title, .desk__head .subtitle, .setlist .desk__head .subtitle, .page--me > .subtitle, .mewide__you > .subtitle, .mewide__menus > .subtitle {
  display: inline-flex; align-self: flex-start; width: max-content; max-width: 100%;
  padding: 5px 14px 4px; font-family: var(--f-hand); font-weight: 400; font-size: 16px; letter-spacing: .01em; line-height: 1.3;
  color: #2a2620; background: var(--grain-soft), var(--gaffer); transform: rotate(-1.2deg);
  clip-path: polygon(1% 8%, 4% 0, 9% 6%, 15% 1%, 22% 5%, 30% 0, 40% 4%, 52% 0, 63% 5%, 74% 1%, 85% 4%, 93% 0, 99% 6%, 100% 92%, 96% 100%, 88% 94%, 79% 100%, 68% 95%, 57% 100%, 45% 95%, 33% 100%, 22% 94%, 12% 100%, 5% 95%, 0 100%);
}
.homesec__title .badge { transform: rotate(1.2deg); }
.homesec__head { align-items: center; }
.homesec__head .homesec__title { width: auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.homesec__more { flex: none; }
.page--me > .subtitle { margin: 30px 0 12px; }

/* ---- Gig posters --------------------------------------------------------- */

.gig { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 20px; background: var(--stage); color: #F4F0E6; text-decoration: none; }
.gig__duo { position: absolute; inset: 0; background: var(--gink, #E4511B); }
.gig__duo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1) contrast(1.35) brightness(1.05); mix-blend-mode: multiply; }
.gig__dots { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; background: radial-gradient(circle, rgba(0, 0, 0, .42) 1.1px, transparent 1.6px) 0 0 / 5px 5px; }
.gig__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28%, rgba(10, 9, 8, .88) 100%); }
.gig::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--grain); opacity: .35; mix-blend-mode: overlay; }
.gig__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 18px; }
.gig .mono { color: rgba(244, 240, 230, .85); }
.gig__title { display: block; margin: 0; font-family: var(--f-poster); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .01em; color: #F4F0E6; overflow-wrap: anywhere; }
.stamp {
  position: absolute; z-index: 2; top: 14px; left: 14px; padding: 5px 8px; border: 2px solid currentColor; border-radius: 4px;
  font-family: var(--f-mono); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #F4F0E6;
  transform: rotate(-4deg);
}
.stamp--right { left: auto; right: 16px; color: #FFD60A; transform: rotate(5deg); }

/* Next up on Home */
.nextgig { display: grid; gap: 10px; }
.gig--next { min-height: 340px; }
.gig--next .gig__title { font-size: clamp(44px, 13vw, 60px); margin: 2px 0 2px; }
.gig__where { opacity: .8; }
.gig__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.gig__lineup { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 1.2; color: rgba(244, 240, 230, .9); }
.picks { display: flex; gap: 3px; flex: none; }
.gpick { width: 18px; height: 20px; background: var(--c); clip-path: path('M9 20C3.6 14.5 0 9.1 0 5 0 1.4 4 0 9 0s9 1.4 9 5c0 4.1-3.6 9.5-9 15z'); }
.gpick--open { background: none; clip-path: none; width: 16px; height: 18px; border: 2px dashed rgba(244, 240, 230, .7); border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; }
.led {
  flex: none; font-family: var(--f-mono); font-weight: 700; font-size: 15px; letter-spacing: .06em; color: #FF7A45;
  padding: 6px 9px; border-radius: 7px; background: #140c08;
  text-shadow: 0 0 6px rgba(255, 106, 47, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 2px 6px rgba(0, 0, 0, .8);
}
.led small { font-size: .68em; opacity: .75; margin: 0 4px 0 1px; }
.led small:last-child { margin-right: 0; }
.nextup__gear { background: var(--panel); border: 1px dashed var(--sep); }

/* Home carousel */
.minijams { grid-auto-columns: 220px; gap: 12px; }
.gig--mini { scroll-snap-align: start; height: 252px; border-radius: 18px; }
.gig--mini .gig__body { padding: 14px; gap: 5px; }
.gig--mini .gig__title { font-size: 29px; }
.gig__meta { display: grid; gap: 7px; font-size: 12.5px; color: rgba(244, 240, 230, .85); }
.gig__need { justify-self: start; padding: 3px 7px; border-radius: 3px; background: #F4F0E6; color: #15130F; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

/* Jam page hero */
.gig--hero { aspect-ratio: auto; min-height: 380px; border-radius: 22px; margin: 0 0 18px; }
.gig--hero .gig__body { bottom: 22px; padding: 22px; }
.gig--hero .gig__title { font-size: clamp(46px, 11vw, 76px); }
.gig--hero .fab-back { z-index: 3; }
.gig__torn { display: none; }
@media (max-width: 600px) {
  .gig--hero { border-radius: 0; margin: calc(-1 * var(--main-top, 20px)) calc(-1 * var(--gutter)) 14px; min-height: 410px; }
  .gig--hero .gig__body { padding: 18px var(--gutter); }
  .gig--hero .fab-back { top: calc(env(safe-area-inset-top, 0px) + 12px); left: 12px; }
  .gig--hero .stamp--right { top: calc(env(safe-area-inset-top, 0px) + 18px); }
  .gig__torn { display: block; position: absolute; z-index: 2; left: 0; right: 0; bottom: -1px; height: 22px; background: var(--bg); -webkit-mask: var(--torn) 0 0 / 100% 100%; mask: var(--torn) 0 0 / 100% 100%; }
}
.fab-back { background: rgba(15, 14, 12, .45); color: #fff; }

.gigmeta { display: grid; gap: 14px; margin-bottom: 22px; }
.gigmeta__host { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
/* Who's in: overlapping faces (host first, ringed in orange) and their names as links */
.lineup { display: flex; align-items: center; gap: 12px; }
.lineup__faces { display: flex; flex: none; }
.lineup .avatar { display: grid; width: 40px; height: 40px; font-size: 14px; }
.lineup__faces > * { position: relative; }
.lineup__faces > * + * { margin-left: -8px; }
.lineup__faces > :nth-child(1) { z-index: 5; } .lineup__faces > :nth-child(2) { z-index: 4; } .lineup__faces > :nth-child(3) { z-index: 3; }
.lineup__faces > :nth-child(4) { z-index: 2; } .lineup__faces > :nth-child(5) { z-index: 1; }
.lineup__face { display: flex; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg); text-decoration: none; transition: transform .12s; }
.lineup__face:hover { transform: translateY(-2px); z-index: 6; }
.lineup__face--host { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
.lineup__more, .lineup__open { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 2px var(--bg); }
.lineup__more { background: var(--seg-active); color: var(--ink); box-shadow: 0 0 0 2px var(--bg), inset 0 0 0 1px var(--line); }
.lineup__open { background: var(--bg); color: var(--accent-text, var(--accent)); border: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent); }
.lineup__text { min-width: 0; }
.lineup__text b { display: block; font-size: 16px; font-weight: 600; }
.lineup__text small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.lineup__text a { color: var(--accent-text, var(--accent)); font-weight: 600; text-decoration: none; }
.lineup__text a:hover { text-decoration: underline; }
a.ch { text-decoration: none; color: inherit; }
.gigmeta__host b { display: block; font-size: 16px; font-weight: 600; }
.gigmeta__host small { display: block; color: var(--muted); font-size: 13px; margin-top: 1px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-radius: 14px; overflow: hidden; background: var(--line); }
.facts > div { display: grid; gap: 2px; align-content: start; padding: 11px 13px; background: var(--panel); }
.facts .mono { color: var(--muted); font-size: 11px; }
.facts b { font-size: 15px; font-weight: 600; }
.facts b a { color: var(--accent-text, var(--accent)); text-decoration: none; }
.facts small { color: var(--muted); font-size: 13px; }

/* ---- Speaker avatars ----------------------------------------------------- */

.spk { display: inline-grid; flex: none; border-radius: 50%; box-shadow: 0 0 0 2.5px var(--c), 0 0 0 4.5px var(--bg); margin: 4px; }
.spk .avatar:not(:has(img)) {
  color: #F4F0E6;
  background: radial-gradient(circle, #2b2723 0 33%, #12100e 34% 37%, #2b2723 38% 59%, #1a1816 60% 63%, #2b2723 64% 100%);
}
.spk .avatar--lg { width: 64px; height: 64px; font-size: 20px; }

/* ---- VU meters ----------------------------------------------------------- */

.vu { display: block; }
.vu__face { fill: #F7E9C8; }
.vu--lg .vu__face { fill: #F5E3B8; }
.vu__arc, .vu__tick { fill: none; stroke: #2a2420; }
.vu__red, .vu__tick--red { fill: none; stroke: #D7261E; }
.vu__num, .vu__num--red { font-family: var(--f-mono); font-size: 11px; text-anchor: middle; fill: #2a2420; }
.vu__num--red { fill: #D7261E; }
.vu__vu { font-family: var(--f-poster); font-size: 18px; letter-spacing: 2px; text-anchor: middle; fill: #2a2420; }
.vu__lbl { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 1.5px; text-anchor: middle; fill: #5b5048; }
.vu__score { font-family: var(--f-poster); font-size: 30px; fill: #D7261E; }
.vu__needle { stroke: #15130F; transform: rotate(var(--a)); animation: vu-in 1.4s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
.vu__hub { fill: #2a2420; }
@keyframes vu-in { from { transform: rotate(-50deg); } }
@media (prefers-reduced-motion: reduce) { .vu__needle { animation: none; } }

.score--vu { display: grid; justify-items: center; gap: 3px; text-align: center; }
.score--vu .vu { width: 64px; height: 38px; }
.score--vu small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; font-weight: 400; text-transform: none; }
.panel--match .vu--lg { width: 100%; max-width: 360px; height: auto; margin-bottom: 14px; }

/* ---- Home shortcuts ----------------------------------------------------- */

.shortcuts { display: grid; gap: 10px; min-width: 0; }
.shortcuts__main, .shortcuts__more { display: grid; gap: 10px; }
.shortcuts__main { grid-template-columns: 1fr 1fr; }
.shortcuts__more { grid-template-columns: repeat(3, 1fr); }
.qbtn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; border-radius: 14px;
  font-weight: 700; font-size: 16px; text-decoration: none; color: var(--on-accent, #fff); background: var(--accent);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18); transition: transform .08s;
}
.qbtn--ink { background: var(--ink); color: var(--bg); }
.qbtn svg, .qtile svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.qtile {
  display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); font-size: 14px; font-weight: 600; transition: transform .08s;
}
.qtile__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text, var(--accent)); }
.qbtn:active, .qtile:active { transform: translateY(1px); }

/* ---- Lineup as a mixing desk -------------------------------------------- */

.desk { background: none; border: 0; box-shadow: none; padding: 0; }
.desk__head { align-items: center; }
.strip--lg {
  flex-wrap: nowrap; gap: 6px; padding: 14px 10px 14px; border-radius: 16px;
  background: linear-gradient(180deg, #2b2926, #1c1a18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 8px 18px rgba(0, 0, 0, .12);
  overflow-x: auto; scrollbar-width: none;
}
.strip--lg::-webkit-scrollbar { display: none; }
.strip--lg .ch, .strip--lg:not(.strip--hero) .ch {
  --track-h: 112px; --knob-h: 16px;
  flex: 1 1 0; min-width: 54px; width: auto; max-width: 96px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 0; background: none; border: 0; border-radius: 0; color: #F4F0E6;
}
.strip--lg .ch__tape, .strip--lg .ch:nth-child(2n) .ch__tape, .strip--lg .ch:nth-child(3n) .ch__tape {
  order: -1; width: 100%; min-height: 40px; justify-content: center; padding: 4px 3px 3px;
  background: var(--grain-soft), #f2ecd9; color: #1b1915; font-family: var(--f-hand); line-height: 1.1;
  clip-path: none; transform: rotate(-1.5deg);
}
.strip--lg .ch:nth-child(2n) .ch__tape { transform: rotate(1.4deg); }
.strip--lg .ch:nth-child(3n) .ch__tape { transform: rotate(-.4deg); }
.strip--lg .ch__inst { order: 2; font-family: var(--f-mono); font-size: 9.5px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: rgba(27, 25, 21, .6); }
.strip--lg .ch__who, .strip--lg .ch.is-open .ch__who { order: 1; font-size: 13px; font-weight: 400; color: #1b1915; opacity: 1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strip--lg .ch__jack { display: none; }
.strip--lg .ch__fader {
  width: 30px; height: var(--track-h); overflow: visible; background: none; border-radius: 0;
}
.strip--lg .ch__fader::after { /* scale ticks on both sides of the slot */
  content: ''; position: absolute; inset: 0 -2px; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 11px);
  -webkit-mask: linear-gradient(90deg, #000 0 7px, transparent 7px calc(100% - 7px), #000 calc(100% - 7px)); mask: linear-gradient(90deg, #000 0 7px, transparent 7px calc(100% - 7px), #000 calc(100% - 7px));
}
.strip--lg .ch__knob { z-index: 1; }
.strip--lg .ch__fader::before { display: block; left: 50%; width: 6px; margin-left: -3px; border-radius: 3px; background: #0b0a09; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .9); }
.strip--lg .ch__fill, .strip--lg.strip .ch__fill {
  left: 50%; right: auto; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--cable); box-shadow: 0 0 6px var(--cable);
  height: calc(var(--lvl) * (100% - var(--knob-h)));
}
.strip--lg .ch__knob {
  display: block; width: 30px; margin-left: -15px; height: var(--knob-h); border-radius: 3px;
  background: linear-gradient(180deg, #ececec, #9d9d9d); box-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}
.strip--lg .ch__knob::after { left: 4px; right: 4px; top: 7px; height: 2px; background: var(--cable); opacity: 1; box-shadow: 0 0 4px var(--cable); }
.strip--lg .ch.is-open .ch__knob { background: transparent; border: 1.5px dashed rgba(255, 255, 255, .35); box-shadow: none; }
.strip--lg .ch.is-open .ch__knob::after { display: none; }
.strip--lg .ch__host { top: auto; bottom: -2px; position: static; order: 3; color: rgba(244, 240, 230, .6); font-family: var(--f-mono); font-weight: 400; font-size: 9.5px; letter-spacing: .1em; text-shadow: none; }
.strip--lg .ch.is-takeable .ch__tape { background: transparent; border: 1.5px dashed rgba(255, 214, 10, .8); transform: none; }
.strip--lg .ch.is-takeable .ch__who, .strip--lg .ch.is-takeable .ch__inst { color: #FFD60A; font-weight: 400; }
.strip--lg .ch.is-takeable .ch__fader { box-shadow: none; background-color: transparent; }
.strip--lg .ch.is-takeable:hover .ch__knob, .strip--lg .ch.is-takeable:focus-visible .ch__knob { border-color: #FFD60A; }
.strip--lg .ch.is-open:not(.is-takeable) .ch__tape { background: transparent; border: 1.5px dashed rgba(244, 240, 230, .3); transform: none; }
.strip--lg .ch.is-open:not(.is-takeable) .ch__who, .strip--lg .ch.is-open:not(.is-takeable) .ch__inst { color: rgba(244, 240, 230, .6); }
.strip--hero .ch { --track-h: 120px; }
@media (max-width: 420px) { .strip--hero .ch { min-width: 0; } .strip--hero { gap: 4px; } .strip--hero .ch__tape, .strip--hero .ch:nth-child(n) .ch__tape { padding: 4px 1px 3px; } .strip--hero .ch__inst { font-size: 8.5px; letter-spacing: 0; } } /* all six channels fit on a phone */

/* ---- Setlist on a notebook sheet ----------------------------------------- */

.panel.setlist {
  position: relative; margin-top: 26px; padding: 22px 16px 18px 46px; border-radius: 3px; border: 0;
  background: #FFFDF7 linear-gradient(90deg, transparent 34px, rgba(255, 59, 48, .35) 34px 35.5px, transparent 35.5px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 24px rgba(0, 0, 0, .08); transform: rotate(.4deg); color: #1d2a6b;
}
.panel.setlist::before { content: ''; position: absolute; top: -11px; left: 50%; width: 96px; height: 24px; margin-left: -48px; background: var(--grain-soft), rgba(232, 223, 198, .92); transform: rotate(-3deg); }
.setlist .desk__head { margin-left: -30px; }
.setlist .desk__head .muted, .setlist .muted { color: rgba(29, 42, 107, .6); }
.setlist .song { border-top: 0; border-bottom: 1px solid rgba(46, 91, 255, .2); grid-template-columns: 22px minmax(0, 1fr) auto; margin-left: -30px; padding-left: 0; }
.setlist .song__n { font-family: var(--f-hand); font-weight: 400; color: rgba(29, 42, 107, .5); font-size: 15px; }
.setlist .song__main b { font-family: var(--f-hand); font-weight: 400; font-size: 18px; letter-spacing: .01em; color: #1d2a6b; line-height: 1.25; }
.setlist .song__main span { color: rgba(29, 42, 107, .6); }
.setlist .song__count { color: rgba(29, 42, 107, .6); }
.setlist .knowbtn { background: rgba(29, 42, 107, .07); color: #1d2a6b; }
.setlist .knowbtn.is-on { background: rgba(36, 138, 61, .14); color: #1f7a36; }
.setlist .song__faces .avatar { box-shadow: 0 0 0 1.5px #FFFDF7; }
.setlist .songform { border-top: 1px dashed rgba(29, 42, 107, .25); margin-left: -30px; }
.setlist input, .setlist select, .panel.setlist input:not([type="checkbox"]):not([type="radio"]) { background: rgba(29, 42, 107, .06); color: #1d2a6b; }
.setlist .btn--quiet { color: #1d2a6b; }

/* ---- Profile: All Access pass ------------------------------------------- */

.stage {
  position: relative; overflow: hidden; margin: calc(-1 * var(--main-top, 20px)) calc(-1 * var(--gutter)) 18px;
  padding: 0 var(--gutter) 26px; color: #F4F0E6;
  background: radial-gradient(120% 70% at 50% 0%, #3a2a20 0%, #141210 55%, #0d0c0b 100%);
}
.stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--grain); opacity: .25; mix-blend-mode: overlay; }
@media (min-width: 720px) { .stage { margin: 0 0 18px; border-radius: 22px; padding-top: 0; } }
.lanyard { position: relative; height: calc(env(safe-area-inset-top, 0px) + 64px); }
.lanyard i { position: absolute; top: 0; bottom: -10px; width: 22px; background: var(--accent); background-image: repeating-linear-gradient(180deg, transparent 0 18px, rgba(0, 0, 0, .18) 18px 19px); }
.lanyard__l { left: calc(50% - 50px); transform: skewX(18deg); }
.lanyard__r { right: calc(50% - 50px); transform: skewX(-18deg); }
.lanyard u { position: absolute; z-index: 3; left: 50%; bottom: -16px; width: 26px; height: 22px; margin-left: -13px; border-radius: 4px 4px 8px 8px; background: linear-gradient(180deg, #ddd, #8a8a8a); box-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.pass {
  position: relative; z-index: 1; width: min(270px, 82%); margin: 0 auto; border-radius: 16px; overflow: hidden;
  background: #FBF8F1; color: #15130F; transform: rotate(-2.5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .6);
}
.pass::before { content: ''; position: absolute; z-index: 3; top: 10px; left: 50%; width: 46px; height: 9px; margin-left: -23px; border-radius: 5px; background: #2a2622; }
.pass__band { padding: 30px 14px 10px; text-align: center; background: var(--accent); color: var(--on-accent, #fff); }
.pass__band .mono { margin: 0; font-size: 11px; letter-spacing: .3em; opacity: .9; }
.pass__aaa { margin: 2px 0 0; font-family: var(--f-poster); font-size: 42px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.pass__holo { height: 8px; opacity: .85; background: linear-gradient(90deg, #ff9ec7, #ffe58f, #8ff0c8, #8fc8ff, #d39bff, #ff9ec7) 0 0 / 200% 100%; animation: holo 4s linear infinite; }
@keyframes holo { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .pass__holo { animation: none; } }
.pass__me { display: flex; gap: 12px; align-items: center; padding: 14px 14px 8px; }
.avatar--pass { width: 66px; height: 78px; border-radius: 8px; font-family: var(--f-poster); font-weight: 400; font-size: 30px; overflow: hidden; background: #2b2723; color: #F4F0E6; }
.avatar--pass img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2) contrast(1.05); }
.pass__who { min-width: 0; }
.pass__name { margin: 0; font-family: var(--f-body); font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #15130F; }
.pass__city { margin: 3px 0 0; font-size: 13px; color: rgba(21, 19, 15, .6); }
.pass__chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 7px 0 0; }
.pass__chips span { padding: 2px 5px; border-radius: 3px; background: var(--c); color: #fff; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.pass__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; padding: 6px 14px 14px; }
.pass__foot .mono { font-size: 10.5px; line-height: 1.5; letter-spacing: .1em; color: rgba(21, 19, 15, .6); }
.barcode { flex: none; width: 80px; height: 26px; background: repeating-linear-gradient(90deg, #15130f 0 2px, transparent 2px 3px, #15130f 3px 4px, transparent 4px 7px, #15130f 7px 10px, transparent 10px 11px); }
.ledstats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 420px; margin: 26px auto 0; text-align: center; }
.ledstats .led { display: block; padding: 8px 0 6px; font-size: 24px; }
.ledstats .mono { display: block; margin-top: 6px; font-size: 11px; color: rgba(244, 240, 230, .6); }

/* Gear on a road case */
.case {
  position: relative; padding: 16px 14px 12px; border-radius: 4px; color: #F2F2F2;
  background: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.2px) 0 0 / 3px 3px, linear-gradient(180deg, #2e2b26, #1e1c18);
  border: 5px solid #b9bcc0; border-image: linear-gradient(180deg, #e3e5e8, #8d9196) 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
}
.case__c { position: absolute; width: 16px; height: 16px; background: radial-gradient(circle, #555 2px, transparent 2.5px), linear-gradient(135deg, #f1f2f3, #8a8e93); }
.case__c--1 { top: -5px; left: -5px; border-radius: 0 0 8px 0; } .case__c--2 { top: -5px; right: -5px; border-radius: 0 0 0 8px; }
.case__c--3 { bottom: -5px; left: -5px; border-radius: 0 8px 0 0; } .case__c--4 { bottom: -5px; right: -5px; border-radius: 8px 0 0 0; }
.case__title { margin: 0 0 8px; font-family: var(--f-sten); font-size: 20px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.case ul { list-style: none; margin: 0; padding: 0; }
.case li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 0; border-top: 1px dashed rgba(255, 255, 255, .14); font-size: 15px; }
.case li .mono { flex: none; font-size: 11px; color: rgba(255, 255, 255, .55); }
.case .lend { margin-left: 4px; font-size: 11px; color: #FFD60A; background: none; padding: 0; }

/* ---- Segmented tabs as an amp channel switch ----------------------------- */
/* Paper tones on the light page (the lit channel is the white one with the orange LED);
   warm grays in dark mode. */

.tabs { background: var(--tab-track); padding: 3px; border-radius: 10px; }
.tab { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.tab::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--tab-dot); }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--seg-active); color: var(--ink); box-shadow: 0 0 0 .5px var(--line), 0 1px 2px rgba(21, 19, 15, .08); font-weight: 400; }
.tab.is-active::before { background: var(--accent); box-shadow: 0 0 4px 1px color-mix(in srgb, var(--accent) 55%, transparent); }
.tab .badge { font-family: var(--f-body); letter-spacing: 0; background: var(--accent); }

/* ---- Celebration --------------------------------------------------------- */

.cel__text h1 { font-family: var(--f-poster); font-weight: 400; font-size: 46px; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }

/* ---- Accounts and example content --------------------------------------- */

.vtag--demo { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; padding: 2px 6px; border-radius: 3px; background: var(--gaffer); color: #2a2620; }
.title .vtag--demo, .mcard__name .vtag--demo, .item__title .vtag--demo { margin-left: 8px; font-size: 11px; }
.splash { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 10px; background: var(--bg); }
.splash .wordmark { flex-direction: column; gap: 18px; font-size: 34px; }
.splash .wordmark::before { width: 96px; height: 96px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25), 0 0 0 1px rgba(244, 240, 230, .1); }
.splash .mono { color: var(--muted); animation: splash-blink 1.2s ease-in-out infinite; }
.splash__slow { margin-top: 18px; display: grid; justify-items: center; gap: 10px; max-width: 280px; text-align: center; }
@keyframes splash-blink { 50% { opacity: .35; } }
.authpage .title { margin: 6px 0 18px; }
.btn--google { gap: 10px; background: var(--panel); color: var(--ink); border: 1px solid var(--sep); box-shadow: none; }
.btn--google svg { width: 20px; height: 20px; }
.authpage__or { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px; color: var(--muted); font-size: 13px; }
.authpage__or::before, .authpage__or::after { content: ''; flex: 1; height: 1px; background: var(--sep); }
[hidden] { display: none !important; }
.authpage .form__actions .btn { width: 100%; }
.authpage .btn--google + .btn--google { margin-top: 10px; }
.authpage__lead { margin: -8px 0 22px; font-size: 17px; line-height: 1.4; }
.authpage__step { margin: 6px 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.authpage__for { margin: -8px 0 18px; color: var(--muted); overflow-wrap: anywhere; }
.authpage__for b { color: var(--ink); font-weight: 600; }
.authpage__for a { color: var(--accent-text); }
.authpage > .hint.center { margin-top: 14px; }
/* Password with an eye to show it */
.field > .pwfield { position: relative; display: block; margin: 0; padding: 0; font: inherit; color: inherit; text-transform: none; letter-spacing: normal; }
.pwfield input { width: 100%; padding-right: 52px; }
.pwfield__eye { position: absolute; top: 50%; right: 4px; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pwfield__eye svg { width: 22px; height: 22px; }
.pwfield__eye .pwfield__slash { display: none; }
.pwfield__eye[aria-pressed="true"] .pwfield__slash { display: inline; }
.pwrule { margin: -4px 0 4px; font-size: 14px; color: var(--muted); }
.pwrule::before { content: '○'; display: inline-block; width: 1.3em; }
.pwrule.is-ok { color: var(--ok, #248A3D); }
.pwrule.is-ok::before { content: '✓'; }
/* Opening a link from our emails (js/authaction.js) */
.authaction { padding-top: 28px; }
.authaction__brand { margin-bottom: 30px; }
.authaction .title { line-height: 1.12; } /* room for the Ñ's tilde on a second line */
.authaction__text { margin: 0 0 24px; font-size: 17px; line-height: 1.45; }
.authaction__wait { margin: 72px 0; text-align: center; color: var(--muted); }
.authaction .center { margin-top: 16px; }

/* ---- Jam cards in lists: poster strip + lineup as instrument tags ------ */

.jcard { padding-top: 0; overflow: hidden; gap: 12px; }
.jcard__media { display: block; margin: 0 -20px 2px; height: 104px; border-radius: 0; }
.jcard__when { position: absolute; z-index: 2; left: 16px; bottom: 12px; color: rgba(244, 240, 230, .92); }
.jcard__media .stamp { top: 12px; left: auto; right: 14px; transform: rotate(4deg); font-size: 11px; }
.jcard .mcard__head .dateblock { flex: none; }
.jcard .mcard__head p { font-size: 14px; }
.jcard__artists { margin: 0; font-size: 14px; color: var(--muted); }
.jcard .chips { gap: 6px; }
.jcard__count { margin: -4px 0 0; font-size: 13px; }
.chip--open { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cable) 55%, transparent); border-style: dashed; }
.chip--open small { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chip--yours { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent); }
.chip--yours small { color: var(--accent-text, var(--accent)); font-weight: 700; }
.jcard .mcard__head p { white-space: normal; overflow: visible; }
.jcard__venue { overflow-wrap: anywhere; }

/* ---- Artist pickers ------------------------------------------------------- */

.tags { position: relative; }
.tags__suggest {
  position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  max-height: 280px; overflow-y: auto; border-radius: 14px; background: var(--panel);
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px rgba(0, 0, 0, .18);
}
.tags__suggest li { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 9px; cursor: pointer; font-size: 15px; }
.tags__suggest li span { line-height: 1.25; }
.tags__suggest li small { font-size: 13px; line-height: 1.3; color: var(--muted); }
.tags__suggest li:hover, .tags__suggest li.is-active { background: var(--accent-soft); }
.tags__quick { margin-top: 10px; }
.tags__quick .hint { margin-bottom: 8px; }
.tags__quick .chips { gap: 6px; }
.chip--add { border: 1px dashed var(--sep); background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; cursor: pointer; padding: 6px 11px; border-radius: 999px; }
.chip--add:hover, .chip--add:active { border-color: var(--accent); color: var(--accent-text, var(--accent)); }

/* ---- Location ---------------------------------------------------------------- */

.locrow { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: -6px 0 18px; }
.locrow .hint { margin: 0; }
.locprompt { margin: 0 0 16px; }
.facts .addr { display: block; margin-top: 4px; color: var(--ink); font-size: 13px; }
.facts .addr.muted { color: var(--muted); }
.maplink { display: inline-block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--accent-text, var(--accent)); text-decoration: none; }

/* ---- Jam: action row and directions -------------------------------------- */

.jamactions { flex-direction: column; align-items: stretch; gap: 12px; }
.jamactions__chat { width: 100%; }
.jamtools { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 8px; }
.tool {
  display: grid; justify-items: center; gap: 5px; padding: 10px 4px 9px; border: 0; border-radius: 14px;
  background: var(--panel); color: var(--accent-text, var(--accent)); font: inherit; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 0 0 1px var(--line);
}
.tool svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tool span { color: var(--ink); }
.tool:active { transform: scale(.96); }
.dirs__addr { margin: 0 0 14px; font-size: 17px; font-weight: 600; }
.dirs { display: grid; gap: 8px; margin-bottom: 8px; }
.dirs .btn, .dirs .btn--block, .dirs + .btn--block { margin: 0; }
.dirs + .btn--block { margin-top: 4px; }
.lockedparts { margin-bottom: 8px; }

/* ---- Suggestion menus and map previews ---------------------------------- */

.has-amenu { position: relative; display: block; }
.songform__artist { position: relative; display: block; }
.songform__artist input { width: 100%; }
.amenu { min-width: 240px; }

.mapcard { display: block; position: relative; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--panel); text-align: left; cursor: pointer; box-shadow: 0 0 0 1px var(--line); color: inherit; font: inherit; }
figure.mapcard { cursor: default; }
.mapcard figcaption { padding: 9px 12px 10px; font-size: 13px; color: var(--muted); }
.smap { position: relative; overflow: hidden; background: #f2ece0; aspect-ratio: 400 / 180; }
.smap img { display: block; width: 100%; height: 100%; }
.smap__pin { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -26px 0 0 -13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.smap__pin::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #fff; }
.smap__area { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: color-mix(in srgb, var(--accent) 22%, transparent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent); }
.gigmeta .mapcard { margin-top: 2px; }
.page > .mapcard { margin: 0 0 18px; }
.amenu { position: fixed; z-index: 200; right: auto; min-width: 0; }

/* ---- Home: lessons and Market rows ---------------------------------------- */

.homerail { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
.homerail::-webkit-scrollbar { display: none; }
.homerail > * { scroll-snap-align: start; }
.homerail--market { grid-template-columns: none; grid-auto-columns: 168px; gap: 12px; }
.lmini {
  display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: var(--panel); box-shadow: 0 0 0 1px var(--line);
}
.lmini__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.lmini__top .spk { margin: 3px; }
.lmini__top .avatar--md { width: 46px; height: 46px; font-size: 15px; }
.lmini__price { text-align: right; font-family: var(--f-poster); font-size: 20px; line-height: 1; }
.lmini__price small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted); margin-top: 3px; }
.lmini__name { font-weight: 700; font-size: 15.5px; line-height: 1.2; }
.lmini__inst { font-size: 13px; color: var(--muted); }
.lmini__next { margin-top: 6px; font-size: 11px; color: var(--accent-text, var(--accent)); letter-spacing: .06em; }

/* ---- Friends ------------------------------------------------------------------ */

.friendtools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
@media (max-width: 420px) { .friendtools { grid-template-columns: 1fr; } }
.friendsearch { margin: 18px 0 10px; }
.frows { display: grid; background: var(--panel); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); margin-bottom: 8px; }
.frow { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.frow + .frow { border-top: .5px solid var(--sep); }
.frow__who { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: var(--ink); }
.frow__who .spk { margin: 3px; }
.frow__who b { display: block; font-size: 15.5px; }
.frow__who small { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow__who > span { min-width: 0; }
.frow__act { display: flex; gap: 6px; flex: none; }
.findable { margin: -4px 0 18px; }
.note__icon--friend { background: var(--accent-soft); } .note__icon--friend svg { stroke: var(--accent); }
.profilehead__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---- Instrument icons (Qlementine) ------------------------------------- */

.iico { display: block; fill: currentColor; stroke: none; }
.art .iico { width: 46%; height: 46%; color: var(--cable); fill: currentColor; stroke: none; }
.cel__ico .iico { width: 46px; height: 46px; color: #fff; fill: currentColor; stroke: none; }
.cel__ico--you .iico { width: 60px; height: 60px; }
.ticket__glyph .iico { width: 30px; height: 30px; color: #fff; fill: currentColor; stroke: none; }

/* ---- Flows: sign-up and new jam, one question per screen ------------------ */

.flow { display: flex; flex-direction: column; min-height: calc(100dvh - var(--main-top, 20px) - var(--navh) - 40px); }
.flow__top { display: flex; justify-content: space-between; align-items: center; min-height: 34px; margin-bottom: 4px; }
.flow__top .mono { color: var(--muted); }
.fx { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--fill); color: var(--ink); font-size: 16px; cursor: pointer; }
.fsteps { display: flex; gap: 6px; margin: 4px 0 14px; flex: 1; }
.flow__top .fsteps { margin: 0; }
.fsteps i { flex: 1; height: 5px; border-radius: 3px; background: var(--fill-strong); }
.fsteps i.on { background: var(--accent); box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 60%, transparent); }
.fq { font-family: var(--f-poster); font-weight: 400; font-size: clamp(30px, 8vw, 40px); line-height: 1; text-transform: uppercase; margin: 20px 0 6px; }
.fsub { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.4; }
.flow__foot { margin-top: auto; padding-top: 22px; display: grid; gap: 8px; }
.flow .form-error { margin-top: 12px; }

/* The pass that fills in during sign-up */
.fpass { display: flex; gap: 12px; align-items: center; padding: 11px 12px 11px 16px; border-radius: 16px; background: #FBF8F1; color: #15130F; position: relative; overflow: hidden; box-shadow: inset 5px 0 0 var(--accent), 0 1px 0 var(--line), 0 8px 18px rgba(0, 0, 0, .08); }
.fpass::after { content: 'ALL ACCESS'; position: absolute; right: 12px; top: 10px; font-family: var(--f-poster); font-size: 12px; letter-spacing: .06em; color: var(--accent-text, var(--accent)); }
.fpass__ph { width: 50px; height: 58px; flex: none; border-radius: 8px; overflow: hidden; background: #2b2723; color: #F4F0E6; display: grid; place-items: center; font-family: var(--f-poster); font-size: 22px; }
.fpass__ph img { width: 100%; height: 100%; object-fit: cover; }
.fpass__txt { min-width: 0; display: grid; gap: 1px; }
.fpass__txt b { font-size: 16px; padding-right: 76px; }
.fpass__txt small { font-size: 12.5px; color: rgba(21, 19, 15, .6); }
.fpass__tags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 5px; min-height: 16px; }
.fpass__tags i { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 5px; border-radius: 3px; color: #fff; background: var(--c); }
.fpass__tags i.g { background: transparent; color: #15130F; box-shadow: inset 0 0 0 1px rgba(21, 19, 15, .15); }

/* Instrument tiles */
.itiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .itiles { grid-template-columns: repeat(4, 1fr); } }
.itile { display: grid; justify-items: center; gap: 6px; padding: 14px 4px 11px; border: 0; border-radius: 16px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: transform .1s, background-color .15s; }
.itile .iico { width: 34px; height: 34px; color: var(--c); }
.itile.on { background: var(--c); color: #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 40%, transparent); }
.itile.on .iico { color: #fff; }
.itile:active { transform: scale(.95); }
.flevels { display: grid; gap: 8px; margin-top: 14px; }
.flevel { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.fseg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: var(--fill); }
.fseg button { border: 0; background: none; padding: 7px 0; border-radius: 8px; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.fseg button.on { background: var(--c); color: #fff; font-weight: 700; }

/* Chips and options */
.fchips { display: flex; flex-wrap: wrap; gap: 7px; }
.fchip { border: 0; padding: 9px 14px; border-radius: 999px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font: inherit; font-size: 15px; cursor: pointer; }
.fchip.on { background: var(--ink); color: var(--bg); }
.fchip--add { padding: 7px 12px; font-size: 13.5px; background: transparent; }
.fchip--add.on { background: var(--accent); color: var(--on-accent, #fff); box-shadow: none; }
.ftape { align-self: flex-start; width: max-content; max-width: 100%; margin: 20px 0 10px; padding: 4px 13px 3px; font-family: var(--f-hand); font-size: 15px; color: #2a2620; background: var(--grain-soft), var(--gaffer); transform: rotate(-1.2deg); clip-path: polygon(1% 8%, 4% 0, 9% 6%, 15% 1%, 22% 5%, 30% 0, 40% 4%, 52% 0, 63% 5%, 74% 1%, 85% 4%, 93% 0, 99% 6%, 100% 92%, 96% 100%, 88% 94%, 79% 100%, 68% 95%, 57% 100%, 45% 95%, 33% 100%, 22% 94%, 12% 100%, 5% 95%, 0 100%); }
.fadd { margin-top: 10px; }
.fadd input, .finput { width: 100%; }
.fname { margin-top: 18px; }
.fopt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 13px 14px; margin-bottom: 8px; border: 0; border-radius: 14px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); text-align: left; font: inherit; font-size: 15px; cursor: pointer; list-style: none; }
.fopt::-webkit-details-marker { display: none; }
.fopt b { display: block; font-weight: 600; }
.fopt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.fopt.on { box-shadow: 0 0 0 2px var(--accent); }
.fopt:disabled { opacity: .5; cursor: default; }
.fcheck { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent, #fff); font-style: normal; font-size: 14px; }
.ftag { flex: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; border-radius: 4px; }
.ftag--free { background: rgba(36, 138, 61, .14); color: #1f7a36; }
.ftag--booked, .ftag--closed { background: var(--fill); color: var(--muted); }
.fmore { margin-bottom: 8px; }
.fmore[open] > summary { margin-bottom: 12px; }
.fmore.is-on > summary { box-shadow: 0 0 0 2px var(--accent); }
.fdetails .seg { margin-bottom: 12px; }
.fbig { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px; border: 0; border-radius: 16px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.fpin { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; }
.for { text-align: center; color: var(--muted); font-size: 13px; margin: 12px 0; }
.fstatus { margin: 14px 0 0; font-size: 15px; }
.fstatus:not(:empty) { padding: 13px 14px; border-radius: 14px; background: var(--accent-soft); }
.fgoogle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.fgoogle i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); }

/* The jam poster preview */
.gig--flow { min-height: 0; border-radius: 18px; }
.gig--flow .gig__body { position: relative; padding: 13px 14px 14px; min-height: 160px; align-content: end; }
.gig--flow .gig__title { font-size: clamp(28px, 8vw, 36px); }
.gig__flowtop { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; }
.ptag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; border: 1.5px solid rgba(244, 240, 230, .6); color: #F4F0E6; }

/* Published */
.btn--wa { background: #25D366; color: #fff; }
.cel__poster { width: min(270px, 74vw); height: auto; padding: 0; background: none !important; box-shadow: 0 24px 50px rgba(0, 0, 0, .6) !important; border-radius: 18px; rotate: -3deg; }
.cel__poster .gig { text-align: left; }
.cel--poster { --cy: 26%; }
.cel__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; text-align: left; }
.cel__stats div { padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.cel__stats b { display: block; font-family: var(--f-poster); font-weight: 400; font-size: 24px; color: #FF7A45; }
.cel__stats span { font-size: 12.5px; color: rgba(244, 240, 230, .75); line-height: 1.3; }
.cel--welcome { --cy: 23%; }
.cel--welcome .cel__text p { font-size: 15px; }
.cel__stats div { padding: 9px 11px; }
.cel__stats b { font-size: 21px; }
.cel--poster .cel__text { top: calc(var(--cy) + 128px); }
@media (max-height: 700px) { .cel--welcome .cel__stats { display: none; } }
.cel__ico.cel__poster { width: min(270px, 74vw); height: auto; margin: 0; left: calc(min(270px, 74vw) / -2); top: -92px; }

/* ---- Flows: spacing pass ------------------------------------------------------
   Fields here live outside .form, so they don't get its automatic gaps: give them their own. */
.flow .field { display: grid; gap: 6px; margin: 0 0 14px; }
.flow .field > span { margin: 0; }
.flow .fname { margin-top: 18px; }
.flow .flength { margin-top: 6px; }
.flow__foot { gap: 10px; padding-top: 26px; }
.flow__foot .btn, .flow__foot .btn--block { margin: 0; }
.flow__foot p { margin: 4px 0 0; }
.fsec { margin-top: 22px; }
.fsec > .ftape { margin-top: 0; }
.fhint { margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.fhint--top { margin: 0 0 12px; }
.fsec .frows { margin-bottom: 0; }
.fmore { margin-bottom: 0; }
.fmore + .fmore, .fopt + .fmore { margin-top: 0; }
.fmore__body { padding: 4px 2px 6px; }
.fmore__body.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.fmore__body .locrow { margin: -4px 0 14px; }
.fdetails .fmore__body { padding-top: 6px; }
.fvis { display: grid; gap: 0; }
.itile--light.on { color: #15130F; }
.itile--light.on .iico { color: #15130F; }
.fstatus:not(:empty) { margin-top: 16px; }
.fadd { margin-top: 12px; }
.fchips + .ftape { margin-top: 24px; }
.flevel--light .fseg button.on { color: #15130F; }
.fpass__tags i.light, .pass__chips span.light { color: #15130F; }
.flow__foot .btn:disabled { opacity: .45; cursor: default; }
.fgoogle + .field, .fsub + .field { margin-top: 4px; }

/* ---- Hosting at home ------------------------------------------------------------ */

.hostbadge { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text, var(--accent)); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.mcard__name + .hostbadge { margin: 4px 0 0; }
.spacefield .spacebox { display: grid; gap: 0; margin-top: 12px; padding: 14px; border-radius: 14px; background: var(--fill); }
.spacefield .spacebox[hidden] { display: none; }
.spacefield .field { margin-bottom: 14px; }
.spacefield__label { margin: 4px 0 8px; font-size: 14px; font-weight: 600; }
.commit--host { margin-bottom: 10px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.commit--host small { color: var(--muted); font-size: 13px; }
.fhost { margin-top: 18px; }
.fsub--gap { margin-top: 18px; }
.field > .toggle, .spacefield > .toggle { text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--ink); }
.spacefield > .toggle span { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }

/* ---- Safety and privacy -------------------------------------------------- */

.btnrow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.consent { display: grid; gap: 6px; margin: 4px 0 14px; }
.consent .fhint, .fhint a { margin: 0; }
.safetyrow { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 28px 0 8px; font-size: 14px; color: var(--muted); }
.safetyrow .linkbtn { color: var(--muted); font-weight: 600; }
.reviewcard { display: grid; gap: 4px; border-left: 4px solid var(--accent); }
.reviewcard__title { margin: 0; font-size: 19px; line-height: 1.2; }
.reviewcard .row { margin-top: 10px; }
.rv { display: grid; gap: 12px; margin: 0 0 12px; }
.rv__who { display: flex; align-items: center; gap: 10px; }
.rv__who p { margin: 0; }
.rv__q { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.seg--yn { flex: none; }
.seg--yn input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.relia { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; margin-top: 8px; }
.relia__item { display: inline-flex; gap: 6px; align-items: baseline; font-size: 14px; }
.relia__item b { font-family: var(--f-poster); font-size: 20px; font-weight: 400; letter-spacing: .02em; color: var(--accent-text, var(--accent)); }
.relia .muted { flex-basis: 100%; margin: 0; font-size: 12px; }
.radios { display: grid; gap: 4px; }
.radio { display: flex; align-items: center; gap: 10px; padding: 6px 2px; font-size: 15px; cursor: pointer; }
.radio input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.report .dlg__title, .dlg__title { margin: 0 0 4px; font-size: 20px; }
.report .muted { margin: 0 0 6px; }
.plainlist { margin: 0 0 18px; padding-left: 20px; display: grid; gap: 6px; }
.legal h2 { margin: 26px 0 8px; font-size: 18px; }
.legal p, .legal li { line-height: 1.5; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal .back { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }

.menu + .menu { margin-top: 18px; }

/* ---- Room photos carousel ---------------------------------------------------- */

.rgal { position: relative; margin: -4px -4px 14px; }
.rgal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 14px; }
.rgal__track::-webkit-scrollbar { display: none; }
.rgal__slide { flex: 0 0 100%; aspect-ratio: 16 / 10; scroll-snap-align: start; background: var(--line); }
.rgal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rgal__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.rgal__dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 3px rgba(0, 0, 0, .4); transition: background .2s, transform .2s; }
.rgal__dots i.on { background: #fff; transform: scale(1.15); }

/* ---- New jam: studios with photos, rooms, day and time --------------------- */

.fopt--studio { justify-content: flex-start; }
.fopt--studio > span:not(.fthumb) { flex: 1; min-width: 0; }
.fthumb { flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--line); }
.fthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fopt:disabled { opacity: .55; cursor: default; }
.frooms { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -2px 0 12px; padding: 2px 2px 4px; }
.frooms::-webkit-scrollbar { display: none; }
.froom { flex: 0 0 136px; display: grid; gap: 2px; padding: 0 0 9px; border: 0; border-radius: 12px; overflow: hidden; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); text-align: left; font: inherit; cursor: pointer; }
.froom img, .froom__ph { width: 100%; height: 76px; object-fit: cover; display: block; background: var(--line); margin-bottom: 5px; }
.froom b, .froom small { padding: 0 10px; }
.froom b { font-size: 14px; }
.froom small { font-size: 12px; color: var(--muted); }
.froom.on { box-shadow: 0 0 0 2px var(--accent); }
.fdays { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter, 16px)); padding: 2px var(--gutter, 16px) 4px; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter, 16px); }
.fdays::-webkit-scrollbar { display: none; }
.fday { flex: 0 0 54px; display: grid; justify-items: center; gap: 1px; padding: 8px 0; border: 0; border-radius: 12px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font: inherit; cursor: pointer; scroll-snap-align: start; }
.fday small { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.fday b { font-size: 20px; line-height: 1.1; }
.fday--wknd small:first-child { color: var(--accent-text, var(--accent)); font-weight: 700; }
.fday.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.fday.on small { color: inherit; opacity: .8; }
.fday:disabled { opacity: .35; cursor: default; }
.fhours { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.fhour { padding: 10px 0; border: 0; border-radius: 10px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.fhour.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.fhour:disabled { color: var(--muted); text-decoration: line-through; opacity: .5; cursor: default; }
.fother { margin: 12px 0 0; max-width: 180px; }
.photo--add small { text-align: center; line-height: 1.15; padding: 0 4px; font-size: 11.5px; }

/* ---- Pin map under exact-address fields ---------------------------------------- */

.pinmap { display: grid; gap: 6px; margin: 2px 0 12px; }
.pinmap__map { height: 210px; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: #e8e4da; z-index: 0; }
.pinmap__hint { margin: 0; }
.pinmap__map { position: relative; }
.pinmap__center { position: absolute; left: 50%; top: 50%; z-index: 500; width: 30px; height: 32px; margin: -31px 0 0 -15px; pointer-events: none; transition: transform .15s; }
.pinmap__center::before { content: ''; position: absolute; left: 2px; top: 0; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.pinmap__center::after { content: ''; position: absolute; left: 10px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.pinmap__center i { position: absolute; left: 11px; top: 28px; width: 8px; height: 4px; border-radius: 50%; background: rgba(0, 0, 0, .3); transition: transform .15s, opacity .15s; }
.pinmap.is-moving .pinmap__center { transform: translateY(-8px); }
.pinmap.is-moving .pinmap__center i { transform: translateY(8px) scale(1.4); opacity: .6; }
.pinmap__map .gm-style-cc { font-size: 10px; }

/* ---- Community wall ------------------------------------------------------------ */

.wallcomposer { display: flex; align-items: center; gap: 10px; width: 100%; margin: 4px 0 16px; padding: 12px 14px; border: 0; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: var(--muted); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.wallcomposer__text { flex: 1; }
.wallcomposer .spk { flex: none; }
.wallcomposer__icons { font-style: normal; letter-spacing: 4px; }
.posts { display: grid; gap: 14px; }
.post { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.post__head { display: flex; align-items: center; gap: 10px; }
.post__head > div { min-width: 0; }
.post__name { font-weight: 700; color: var(--ink); text-decoration: none; }
.post__head small { display: block; font-size: 12.5px; color: var(--muted); }
.post__text { margin: 0; font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.post .rgal { margin: 0 -14px; }
.post .rgal__track { border-radius: 0; }
.post .rgal__slide { aspect-ratio: 4 / 3; }
.post__audio { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--stage); }
.post__audio audio { width: 100%; height: 36px; }
.post__wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.post__wave i { flex: 1; border-radius: 2px; background: var(--accent); opacity: .85; }
.post__wave i:nth-child(3n) { height: 40%; } .post__wave i:nth-child(3n+1) { height: 85%; } .post__wave i:nth-child(3n+2) { height: 60%; }
.post__wave i:nth-child(5n) { height: 100%; } .post__wave i:nth-child(7n) { height: 30%; }
.post__foot { display: flex; align-items: center; justify-content: space-between; }
.post__like { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 12px; border: 0; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.post__like span { font-size: 17px; filter: grayscale(1); opacity: .7; transition: transform .15s; }
.post__like.on { background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); color: var(--accent-text, var(--accent)); }
.post__like.on span { filter: none; opacity: 1; transform: scale(1.12) rotate(-8deg); }
.post__more { color: var(--muted); font-size: 13.5px; }
.composerform textarea { width: 100%; min-height: 96px; resize: vertical; }
.cattach { display: flex; flex-wrap: wrap; gap: 8px; }
.cattach:empty { display: none; }
.catt { position: relative; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; background: var(--stage); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.catt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catt--audio { width: auto; padding: 0 14px; }
.catt button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }
.ctools { display: flex; flex-wrap: wrap; gap: 8px; }
.ctools .btn { margin: 0; }
.ctools .is-rec { background: var(--accent); color: var(--on-accent, #fff); }

/* ---- Profile stats and posts ------------------------------------------------- */

.stats { display: grid; gap: 8px; margin-bottom: 16px; }
.stats .subtitle { margin: 0 0 4px; }
.stats__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.stats__nums div { display: grid; gap: 2px; padding: 10px 8px; border-radius: 12px; background: var(--bg); text-align: center; }
.stats__nums b { font-family: var(--f-poster); font-size: 30px; font-weight: 400; line-height: 1; color: var(--accent-text, var(--accent)); }
.stats__nums span { font-size: 12px; line-height: 1.2; color: var(--muted); }
.stats .eyebrow { margin: 8px 0 2px; }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.toplist li { display: grid; grid-template-columns: minmax(0, 9em) 1fr 2em; align-items: center; gap: 10px; font-size: 14.5px; }
.toplist span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.toplist i { height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) var(--w), var(--line) var(--w)); }
.toplist b { font-family: var(--f-mono); font-size: 13px; color: var(--muted); font-weight: 400; text-align: right; }
.stats__since { margin: 6px 0 0; font-size: 13px; }
.userposts { margin-top: 18px; }
.userposts .wallcomposer { margin-top: 12px; }

/* ---- Feedback card and admin panel --------------------------------------------- */

.fbcard {
  position: fixed; left: 12px; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 60; max-width: 460px; margin: 0 auto;
  padding: 14px 16px 16px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 12px 32px rgba(0, 0, 0, .22);
  transform: translateY(24px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.fbcard.is-on { transform: none; opacity: 1; }
.fbcard .eyebrow { margin: 0 0 4px; }
.fbcard__q { margin: 0 28px 12px 0; font-size: 17px; line-height: 1.25; }
.fbcard__x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 22px; cursor: pointer; }
.fbcard__scale { display: grid; gap: 5px; }
.fbcard__scale--5 { grid-template-columns: repeat(5, 1fr); }
.fbcard__scale--11 { grid-template-columns: repeat(11, 1fr); gap: 3px; }
.fbcard__scale button, .fbcard__choices button { min-height: 38px; border: 0; border-radius: 10px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0; }
.fbcard__scale--11 button { font-size: 13px; min-height: 34px; border-radius: 8px; }
.fbcard__scale button.on, .fbcard__choices button.on { background: var(--accent); color: var(--on-accent, #fff); box-shadow: none; }
.fbcard__ends { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.fbcard__choices { display: grid; gap: 6px; }
.fbcard__choices button { text-align: left; padding: 0 14px; font-weight: 600; }
.fbcard__more { margin-top: 12px; display: grid; gap: 6px; }
.fbcard__more .field { margin: 0; }
.fbcard__more .row { margin-top: 0; }
.admin__nums { grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
.admin__nums div { background: var(--panel); box-shadow: 0 0 0 1px var(--line); padding: 12px 8px; }
.admin__nums span { font-size: 11.5px; }
.adminrow { padding: 10px 12px; }
.adminrow + .adminrow { border-top: .5px solid var(--sep); }
.adminrow p { margin: 0 0 4px; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }

/* The team's panel: usage, reports, log */
.admin .tabs { margin-top: 6px; }
.admin .tab { gap: 5px; padding-inline: 9px; letter-spacing: .04em; }
.admin .tab::before { width: 5px; height: 5px; }
.adm__chart svg { height: 64px; }
@media (min-width: 720px) { .adm__chart svg { height: 88px; } }
.adm__when { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.adm__three { grid-template-columns: repeat(3, 1fr); }
.admin__nums b { font-size: 28px; }
.admin .fhint { margin: 0 0 6px; font-size: 12.5px; line-height: 1.45; }
.adm__funnel { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.adm__step { display: grid; grid-template-columns: 112px 1fr 76px; align-items: center; gap: 10px; font-size: 13.5px; }
.adm__step i { height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--w), var(--fill) var(--w)); }
.adm__step b { text-align: right; font-variant-numeric: tabular-nums; }
.adm__step small { font-weight: 400; color: var(--muted); }
.adm__charts { display: grid; gap: 10px; }
.adm__chart { margin: 0; padding: 12px 12px 8px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.adm__chart figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; }
.adm__chart figcaption b { font-variant-numeric: tabular-nums; }
.adm__chart svg { display: block; width: 100%; }
.adm__chart rect { fill: color-mix(in srgb, var(--accent) 45%, transparent); }
.adm__chart rect.is-last { fill: var(--accent); }
.adm__axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: var(--muted); }
.adm__chart--line path { fill: none; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.adm__dau { stroke: var(--accent); }
.adm__wau { stroke: var(--muted); stroke-dasharray: 4 3; }
.adm__key { display: inline-block; width: 14px; height: 3px; margin-right: 6px; vertical-align: middle; border-radius: 2px; background: var(--accent); }
.adm__key--wau { background: var(--muted); }
.adm__ranks { display: grid; gap: 10px; margin-top: 18px; }
.adm__rank { padding: 12px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.adm__rank h3 { margin: 0 0 6px; font-size: 14px; }
.adm__rank ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.adm__rank li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.adm__rank li b { font-variant-numeric: tabular-nums; }
.adm__seg { margin: 0 0 12px; }
.adm__seg span { white-space: nowrap; }
.adm__report { display: grid; gap: 2px; padding: 12px; }
.adm__st { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 700; vertical-align: 1px; background: var(--fill); color: var(--muted); }
.adm__st--new { background: var(--accent-soft); color: var(--accent-text, var(--accent)); }
.adm__quote { display: block; margin-top: 4px; color: var(--muted); font-style: italic; }
.adm__details { padding: 8px 10px; border-radius: 10px; background: var(--fill); }
.adm__acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.adm__sus { justify-content: space-between; }
.adm__sus span { display: grid; gap: 2px; }
.adm__sus small { font-size: 12px; }
.adm__link { color: var(--danger) !important; }
@media (min-width: 720px) {
  .adm__charts, .adm__ranks { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Computers: sidebar and wide layouts (1024 px and up) ------------------------
   Phones keep the three-tab bar; the extras in the nav only show here. */

.nav__brand, .nav__desk { display: none; }
@media (min-width: 1024px) {
  :root { --side: 248px; }
  .nav, .nav--5 {
    position: fixed; inset: 0 auto 0 0; transform: none; width: var(--side); height: auto; z-index: 40;
    display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 24px 14px 16px;
    border: 0; border-radius: 0; background: var(--panel); box-shadow: inset -1px 0 0 var(--line);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav__brand { display: inline-flex; margin: 0; font-size: 26px; text-decoration: none; }
  .nav__top { align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 24px; padding-left: 10px; }
  .nav__toggle { width: 38px; height: 38px; flex: none; border: 0; border-radius: 10px; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
  .nav__toggle:hover { background: var(--bg); color: var(--ink); }
  .nav__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
  .nav__desk { display: flex; }
  .nav .nav__item {
    position: relative; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; border-radius: 12px;
    font-size: 15.5px; font-weight: 600; letter-spacing: 0; color: var(--muted); background: none; box-shadow: none;
  }
  .nav .nav__item svg { display: block; width: 22px; height: 22px; fill: none; stroke-width: 1.8; }
  .nav .nav__item:hover { background: var(--bg); color: var(--ink); }
  .nav .nav__item.is-active { background: var(--bg); color: var(--ink); box-shadow: none; }
  /* On jam screens the sidebar lights up Jams, not Home. */
  .nav .nav__item .badge { position: static; margin-left: auto; }
  .nav__new { justify-content: center; margin: 16px 0 0; min-height: 46px; font-size: 16px; }
  .nav__foot { margin-top: auto; align-items: center; gap: 6px; padding: 14px 4px 0; border-top: 1px solid var(--line); }
  .nav__me { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; padding: 6px; border-radius: 12px; }
  .nav__me:hover, .nav__me.is-active { background: var(--bg); }
  .nav__me span { min-width: 0; }
  .nav__me b, .nav__me small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav__me b { font-size: 14.5px; }
  .nav__me small { font-size: 12px; color: var(--muted); }

  .top { display: none; } /* the sidebar has the name and the bell */
  .main .back[href="#/"] { display: none; } /* "← Home": the sidebar is always there */
  .main, .main--bare { --main-top: 40px; max-width: none; padding: 40px 48px 64px; }
  body:has(> .nav) .main { margin-left: var(--side); } /* only beside the sidebar (sign-up has none) */
  /* One width for every wide page (Home, Jams, Community, Profile, a jam…): header, tabs and content
     share the same edges. Reading pages (settings, notifications, search) stay narrow. */
  .main > .page { max-width: 1280px; margin: 0 auto; }
  .main > .page--narrow { max-width: 720px; }
  body:has(.nav) .toast { left: calc(50% + var(--side) / 2); }
  .fbcard { left: calc(var(--side) + 24px); right: 24px; bottom: 24px; }
  .chat { --chat-bottom: 20px; }

  /* Jams: a wall of posters */
  .jamgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
  .jamgrid > * { margin: 0; }

  /* A jam: the jam on the left; actions, lineup and chat on the right, always in view */
  .jamwide { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
  .jamwide__main, .jamwide__side { min-width: 0; }
  .jamwide__side { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: thin; padding: 2px 4px 12px 2px; }
  .jamwide__side > :first-child { margin-top: 0; }
  .jamwide__side .jamactions { max-width: none; }
  .jamwide__side .panel { margin-bottom: 16px; }
  .jamwide__main .stage, .jamwide__main .gig { margin-top: 0; }

  /* Hover: cards lift a little */
  .mcard, .post, .scard { transition: transform .15s ease, box-shadow .15s ease; }
  .jcard:hover, .scard:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--line), 0 12px 28px rgba(0, 0, 0, .1); }
  .btn, .fopt, .fchip, .tab, .qtile, .qbtn { cursor: pointer; }
}

/* ---- One rhythm between cards on a jam and a profile ------------------------------
   The blocks stack with the same gap; their own top/bottom margins don't add up. */
.page--stack, .jamwide__main, .jamwide__side { display: flex; flex-direction: column; gap: 20px; }
.page--stack > *, .jamwide__main > *, .jamwide__side > * { margin-block: 0; }
.page--stack > .back { margin-bottom: -8px; } /* the back link sits close to what it heads */
.page--stack .cols { gap: 20px; }
.page--stack .stackcol { display: flex; flex-direction: column; gap: 20px; }
.page--stack .stackcol > * { margin-block: 0; }
.jamwide__side { padding-bottom: 16px; }
.stats { margin-bottom: 0; }
.userposts { margin-top: 0; }
.userposts .subtitle { margin-top: 0; }
.page--stack > .setlist, .jamwide__main > .setlist { margin-block: 4px 0; } /* just room for the tape on top */
.toplist { max-width: 560px; }

/* ---- Computers: flows, the wall, dialogs and focus ------------------------------------ */
@media (min-width: 1024px) {
  /* Sign-up and New jam: the pass or poster stays big on the left */
  .flow--wide { max-width: 1080px; }
  .flowwide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .flowwide__preview { position: sticky; top: 40px; }
  .flowwide__preview .gig--flow .gig__body { min-height: 460px; padding: 22px 22px 24px; gap: 10px; }
  .flowwide__preview .gig__flowtop { top: 18px; left: 18px; right: 18px; }
  .flowwide__preview .gig--flow .gig__title { font-size: clamp(44px, 4.2vw, 68px); line-height: .95; }
  /* The All Access pass, badge-sized: photo on top, name, tags */
  .flowwide__preview .fpass { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 28px 30px 34px; margin-top: 8px; border-radius: 22px; box-shadow: inset 8px 0 0 var(--accent), 0 1px 0 var(--line), 0 18px 40px rgba(0, 0, 0, .12); }
  .flowwide__preview .fpass::after { right: 26px; top: 24px; font-size: 18px; }
  .flowwide__preview .fpass__ph { width: 132px; height: 156px; border-radius: 14px; font-size: 52px; }
  .flowwide__preview .fpass__txt { gap: 4px; width: 100%; }
  .flowwide__preview .fpass__txt b { font-family: var(--f-poster); font-weight: 400; font-size: 42px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; padding-right: 0; }
  .flowwide__preview .fpass__txt small { font-size: 15px; }
  .flowwide__preview .fpass__tags { gap: 6px; margin-top: 12px; }
  .flowwide__preview .fpass__tags i { font-size: 12px; padding: 4px 8px; border-radius: 4px; }
  .flowwide__steps { min-width: 0; }
  .flowwide__steps .flow__foot { position: static; }

  /* The wall: posts in the middle, jams and musicians on the side */
  .wallwide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 32px; align-items: start; } /* fills the page: the side column lines up with the tabs */
  .wallwide__side { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 16px; }
  /* Friends: the list in two columns of cards; finding people on the side */
  .friendswide .friendsearch { margin-top: 0; }
  .friendswide .friendlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: none; box-shadow: none; border-radius: 0; overflow: visible; }
  .friendswide .friendlist .frow { border: 0; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); padding: 12px; }
  .friendswide .friendlist .frow + .frow { border-top: 0; }
  .friendside { display: grid; gap: 8px; padding: 16px; }
  .friendside .subtitle { margin: 0; }
  .friendside .friendtools { grid-template-columns: 1fr; margin: 0; }
  .friendside .hint { margin: 0; }
  .wallwide__side > .subtitle { margin: 4px 0 -8px; }
  .post .rgal__slide { aspect-ratio: 3 / 2; }

  /* Dialogs: a centered card */
  .dlg { width: 520px; max-height: min(86vh, 760px); border-radius: 20px; }
}
.sidecard { display: grid; gap: 4px; padding: 16px 18px; }
.sidecard .subtitle { margin: 0 0 6px; font-size: 17px; }
.sidecard .homesec__more { margin-top: 8px; justify-self: start; font-size: 14px; }
.sidecard .frows { margin: 0 -8px; }
.siderow { display: grid; gap: 1px; padding: 9px 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.siderow:first-of-type { border-top: 0; }
.siderow:hover b { color: var(--accent-text, var(--accent)); }
.siderow__date { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-text, var(--accent)); }
.siderow b { font-size: 15px; }
.siderow small { font-size: 12.5px; color: var(--muted); }

/* Keyboard focus you can see (mouse clicks don't show it) */
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible,
.fopt:focus-visible, .fchip:focus-visible, .itile:focus-visible, .fday:focus-visible, .fhour:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px;
}
@media (hover: hover) {
  .btn:not(:disabled):hover { filter: brightness(1.06); }
  .fopt:not(:disabled):hover, .fchip:hover, .fday:not(:disabled):hover, .fhour:not(:disabled):hover, .froom:hover { box-shadow: 0 0 0 1.5px var(--accent); }
  .fopt.on:hover { box-shadow: 0 0 0 2px var(--accent); }
}

/* ---- Profile covers ---------------------------------------------------------------- */

.pcover { position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--stage); }
.pcover__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcover.gig::after { opacity: .3; }
/* Profile page: a wide banner; the photo sits over its bottom edge */
.pcover--profile { height: 170px; }
@media (max-width: 600px) { .pcover--profile { height: 140px; margin: 0 calc(-1 * var(--gutter)); border-radius: 0; } }
@media (min-width: 1024px) { .pcover--profile { height: 240px; } }
/* The photo sits on the cover's bottom edge; the name starts beside it, just under the cover. */
.profilehead--covered { position: relative; display: block; margin-top: -8px; }
.profilehead--covered > .spk { position: absolute; z-index: 2; left: 4px; top: -50px; margin: 0; }
.profilehead--covered > .spk .avatar--lg { width: 92px; height: 92px; font-size: 28px; }
.profilehead--covered > .profilehead__text { margin-left: 116px; min-height: 52px; padding-top: 2px; }
.profilehead--covered .profilehead__text .title { margin: 0; line-height: 1.05; }
.profilehead--covered .profilehead__actions { margin-top: 18px; }
@media (min-width: 1024px) {
  .profilehead--covered > .spk { left: 28px; top: -64px; }
  .profilehead--covered > .spk .avatar--lg { width: 120px; height: 120px; font-size: 36px; }
  .profilehead--covered > .profilehead__text { margin-left: 172px; }
}
/* All Access pass: the cover behind the band */
.pass__band { position: relative; isolation: isolate; overflow: hidden; }
.pass__art { position: absolute; inset: 0; z-index: -1; border-radius: 0; }
.pass__art .gig__shade { background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); }
/* Musician cards: a strip across the top */
.mcard--covered { padding-top: 0; overflow: hidden; }
.mcard__cover { height: 64px; margin: 0 -20px; border-radius: 0; }
.mcard--covered .mcard__head { align-items: flex-start; }
.mcard--covered .mcard__head > .spk { margin-top: -34px; position: relative; z-index: 1; }
.mcard--covered .mcard__head > .spk { box-shadow: 0 0 0 2.5px var(--c), 0 0 0 4.5px var(--panel); }
/* Picker in Edit profile */
.coverpick__preview .pcover { height: 120px; border-radius: 16px; }
.coverpick__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 4px; }
.cpo { display: grid; gap: 4px; padding: 4px 4px 6px; border: 0; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 12px; font-weight: 600; text-align: center; cursor: pointer; }
.cpo .pcover--thumb { height: 46px; border-radius: 8px; }
.cpo.on { box-shadow: 0 0 0 2px var(--accent); }
.cpo--upload { place-content: center; min-height: 72px; }
.cpo__plus { font-size: 20px; line-height: 1; color: var(--accent-text, var(--accent)); }

/* ---- Photos in full screen ------------------------------------------------------- */

html.lbox-open { overflow: hidden; }
.lbox { position: fixed; inset: 0; z-index: 300; background: rgba(8, 7, 6, .985); opacity: 0; transition: opacity .2s ease; }
.lbox.is-on { opacity: 1; }
.lbox__track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lbox__track::-webkit-scrollbar { display: none; }
.lbox__slide { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; scroll-snap-align: center; padding: max(56px, env(safe-area-inset-top)) 12px max(48px, env(safe-area-inset-bottom)); }
.lbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); touch-action: pinch-zoom; user-select: none; }
.lbox__x { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 20px; cursor: pointer; }
.lbox__x:hover { background: rgba(255, 255, 255, .24); }
.lbox__count { position: absolute; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-family: var(--f-mono); font-size: 12px; }
.lbox__nav { display: none; position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lbox__nav:hover { background: rgba(255, 255, 255, .26); }
.lbox__nav--prev { left: 20px; } .lbox__nav--next { right: 20px; }
@media (hover: hover) and (min-width: 700px) { .lbox__nav { display: block; } }
/* What opens it */
.rgal__slide img { cursor: zoom-in; }
.spk-zoom { padding: 0; border: 0; background: none; border-radius: 50%; cursor: zoom-in; }
.profilehead--covered > .spk-zoom { position: absolute; z-index: 2; left: 4px; top: -50px; }
.profilehead--covered > .spk-zoom > .spk { margin: 0; }
.profilehead--covered > .spk-zoom .avatar--lg { width: 92px; height: 92px; font-size: 28px; }
@media (min-width: 1024px) {
  .profilehead--covered > .spk-zoom { left: 28px; top: -64px; }
  .profilehead--covered > .spk-zoom .avatar--lg { width: 120px; height: 120px; font-size: 36px; }
}

/* ---- Tab bar on phones: Home · Jams · (＋) · Community · Profile ---------------------- */
.nav--5 { grid-template-columns: repeat(5, 1fr); }
.nav__fab { display: grid; place-items: center; text-decoration: none; }
.nav__fab span {
  display: grid; place-items: center; width: 52px; height: 52px; margin-top: -18px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent, #fff); box-shadow: 0 0 0 5px var(--nav-solid, var(--bg)), 0 6px 16px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform .12s ease;
}
.nav__fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.nav__fab:active span { transform: scale(.94); }
/* Tablets (floating pill at the top): the ＋ becomes a small accent button */
@media (min-width: 820px) and (max-width: 1023px) {
  .nav__fab span { width: 34px; height: 34px; margin: 0 4px; box-shadow: none; }
  .nav__fab svg { width: 18px; height: 18px; }
}
@media (min-width: 1024px) { .nav__fab { display: none; } } /* the sidebar has its New jam button */

/* ---- Push notifications ------------------------------------------------------------- */
.pushpanel { display: grid; gap: 12px; }
.pushpanel p { margin: 0; }
.pushstat--on { font-weight: 700; }
.pushcats { display: grid; gap: 4px; }
.pushcats .toggle { padding: 8px 0; }
.pushask { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); }
.pushask > span { grid-row: span 2; font-size: 24px; }
.pushask p { margin: 0; font-weight: 600; font-size: 15px; }
.pushask .row { margin: 4px 0 0; }
.pushbanner { display: flex; justify-content: space-between; align-items: center; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); font-weight: 600; text-decoration: none; }
.pushbanner[hidden] { display: none; }

/* ---- Bands ----------------------------------------------------------------------------- */
.bandgrid { display: grid; gap: 14px; }
@media (min-width: 700px) { .bandgrid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } }
.bandcard { display: grid; gap: 10px; padding-top: 0; overflow: hidden; }
.bandcard__cover { display: block; text-decoration: none; }
.bandcard__head { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-top: -30px; position: relative; z-index: 1; }
.bandcard__head > span:last-child { min-width: 0; padding-top: 26px; }
.bandcard__head b { font-size: 17px; }
.bandcard__head small { display: block; color: var(--muted); font-size: 13px; }
.bandcard__faces { display: flex; gap: 0; padding-left: 4px; }
.bandcard__faces .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--panel); }
.bandcard .row { margin: 0; }
.bandmark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--stage); color: #F4F0E6; font-family: var(--f-poster); font-size: 22px; letter-spacing: .04em; box-shadow: 0 0 0 4px var(--panel); }
.bandmark--lg { position: absolute; z-index: 2; left: 4px; top: -50px; width: 92px; height: 92px; border-radius: 22px; font-size: 34px; box-shadow: 0 0 0 5px var(--bg); }
@media (min-width: 1024px) { .bandmark--lg { left: 28px; top: -64px; width: 120px; height: 120px; font-size: 44px; } }
.bandinvite { flex-basis: 100%; margin: 0; }
.bandbio { margin: 0; font-size: 16px; line-height: 1.5; }
.bandchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14px; }
.bandchips .chip, .bandtag { text-decoration: none; color: var(--ink); }
.bandtag { justify-self: start; margin-top: 6px; }
.bandinv { display: flex; gap: 6px; align-items: center; }
.bandinv select { min-height: 34px; padding: 0 8px; border-radius: 10px; font-size: 13px; }
.bandinvlist { max-height: 50vh; overflow-y: auto; }
.post__band { color: var(--muted); font-weight: 600; text-decoration: none; font-size: 14px; }
.postas { margin: 0; }

/* ---- Nothing wider than the screen ------------------------------------------------------
   A tab row that doesn't fit scrolls inside itself; hidden file inputs stay in place; and as
   a safety net the content never scrolls sideways (that also kept the phone tab bar from
   stretching with the page). */
.tabs { overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs .tab { flex: 1 0 auto; white-space: nowrap; }
.sr { left: 0; top: 0; }
.cpo, .photo--add, label.btn { position: relative; }
html, body, .main { overflow-x: clip; } /* clip (not hidden) keeps sticky headers working */
.nav { max-width: 100vw; }
.filters, .field--inline { position: relative; } /* their hidden labels stay inside the scrolling row */

/* ---- Photos in chats ------------------------------------------------------------------ */
.composer__photo { flex: none; align-self: flex-end; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); cursor: pointer; }
.composer__photo:hover { color: var(--accent-text, var(--accent)); background: var(--accent-soft); }
.composer__photo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.composer.is-sending { opacity: .6; pointer-events: none; }
.bubble__photo { display: block; max-width: min(260px, 70vw); max-height: 320px; border-radius: 16px; object-fit: cover; cursor: zoom-in; background: var(--line); }
.msg__body .bubble__photo + .bubble { margin-top: 4px; }
.msg--mine .bubble__photo { margin-left: auto; }
.note__icon--published { background: var(--accent-soft); } .note__icon--published svg { stroke: var(--accent); }
.fopt--band { justify-content: flex-start; }
.fopt--band > span:not(.bandmark) { flex: 1; min-width: 0; }
.bandmark--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; box-shadow: none; }
.fchips--band { margin-top: 4px; }

/* #/diag */
.diag__pre { margin: 16px 0; padding: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }

/* My jams: sections and the past list */
.jamsec + .jamsec { margin-top: 32px; }
.jamsec .homesec__title { margin: 0 0 12px; }
.pastlist { display: grid; gap: 10px; }
.pastrow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.pastrow__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; }
.pastrow__link:hover { text-decoration: none; }
.pastrow .dateblock { flex: none; opacity: .85; }
.pastrow__main { min-width: 0; display: grid; gap: 4px; }
.pastrow__main b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pastrow__main .muted { font-size: 14px; }
.pastrow__faces { display: flex; align-items: center; padding-left: 6px; }
.pastrow__faces .avatar { margin-left: -6px; box-shadow: 0 0 0 2px var(--panel); }
.pastrow__faces small { margin-left: 6px; color: var(--muted); font-size: 12px; }
.pastrow__solo { font-size: 13px; }
.pastrow__review { flex: none; }
@media (max-width: 420px) {
  .pastrow { flex-wrap: wrap; }
  .pastrow__review { width: 100%; }
}

/* Post comments */
.post__acts { display: inline-flex; gap: 8px; }
.post__cmt { text-decoration: none; }
.post__cmt:hover { text-decoration: none; }
.post__cmt span { filter: none; opacity: .85; }
.postpage .posts { margin-top: 8px; }
.comments { margin-top: 24px; }
.comments .subtitle { margin: 0 0 12px; }
.clist { display: grid; gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.cmt { display: flex; gap: 10px; align-items: flex-start; }
.cmt > a { flex: none; }
.cmt__body { min-width: 0; flex: 1; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: var(--panel); border: 1px solid var(--line); }
.cmt__body p { margin: 0; }
.cmt__name { font-weight: 700; color: var(--ink); }
.cmt__text { margin-top: 2px !important; white-space: pre-wrap; overflow-wrap: anywhere; }
.cmt__del { margin-top: 4px; color: var(--muted); font-size: 13px; }
.cempty { margin: 0 0 16px; }
.cform { position: sticky; z-index: 5; bottom: calc(var(--navh) + env(safe-area-inset-bottom) + 8px); display: flex; align-items: flex-end; gap: 8px; padding: 8px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.cform .avatar { flex: none; margin-bottom: 4px; }
.cform textarea { flex: 1; min-width: 0; resize: none; border: 0; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; font: inherit; font-size: 16px; line-height: 1.35; padding: 8px 4px; max-height: 160px; color: var(--ink); }
.cform textarea:focus { outline: none; }
.cform .btn { flex: none; }
@media (min-width: 1024px) { .cform { bottom: 16px; } }
.cform textarea { min-height: 38px !important; height: 38px; padding: 9px 4px !important; overflow-y: hidden; white-space: pre-wrap; }
.cform textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmt__name, .cmt__name:hover { text-decoration: none; }

/* Welcome screen: the notifications ask as one compact line above the buttons */
.cel__actions [data-push-prompt]:empty { display: none; }
.cel__actions .pushask { grid-template-columns: auto 1fr auto; gap: 10px; padding: 8px 8px 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .1); text-align: left; }
.cel__actions .pushask > span { grid-row: auto; font-size: 18px; }
.cel__actions .pushask p { font-size: 13px; font-weight: 500; line-height: 1.3; color: rgba(244, 240, 230, .85); }
.cel__actions .pushask .row { margin: 0; }
.cel__actions .pushask .btn { width: auto; min-height: 36px; padding: 0 12px; font-size: 14px; }
.cel__actions .pushstat { margin: 0; text-align: center; color: rgba(244, 240, 230, .85); font-size: 14px; }
@media (max-height: 760px) { .cel--welcome:has(.cel__actions [data-push-prompt]:not(:empty)) .cel__stats { display: none; } }

/* Rows: the text gives way to the buttons; friend requests put Decline / Accept under the
   person on phones, so both always fit. */
.frow__who > span:not(.spk) { flex: 1; overflow: hidden; }
.frow__who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frow--req { flex-wrap: wrap; }
.frow--req .frow__act { width: 100%; padding-left: 52px; }
.frow--req .frow__act .btn { flex: 1; }
@media (min-width: 600px) {
  .frow--req { flex-wrap: nowrap; }
  .frow--req .frow__act { width: auto; padding-left: 0; }
  .frow--req .frow__act .btn { flex: none; }
}

/* Messages inbox and one-on-one chats */
.inboxrow__icon { flex: none; display: grid; place-items: center; }
.inboxrow__icon .inboxrow__date { display: contents; }
.inboxrow.is-unread b { font-weight: 800; }
.inboxhint { margin: 14px 4px 0; font-size: 13px; }
.chat__who { display: inline-block; text-decoration: none; }
.chat--dm .chat__head { text-align: center; }
.chat--dm .safetyrow { margin-top: 18px; }

/* Tab bar: Profile lives in the sidebar on computers; on phones it's your photo in the top bar */
.nav .nav__item--desk { display: none; }
@media (min-width: 1024px) { .nav .nav__item--desk { display: flex; } }
.top .bell { margin-left: auto; }
.top .me { margin-left: 4px; display: grid; place-items: center; width: 40px; height: 40px; }
.top .me .avatar { width: 32px; height: 32px; font-size: 13px; }

/* Message requests */
.dmrequest { margin-top: 12px; text-align: center; }
.dmrequest h2 { margin: 0 0 6px; font-size: 18px; }
.dmrequest p { margin: 0 0 14px; }
.dmrequest .row { justify-content: center; }
.dmnote { margin: 10px 0 0; text-align: center; }
.dmreqs { margin-bottom: 8px; }
.mcard__friends { font-size: 14px; font-weight: 600; color: var(--muted); padding: 0 6px; }

/* Explore: a quiet way to the studios directory */
.studiolink { margin: 28px 0 0; text-align: center; font-size: 15px; }

/* Single-column lists: a long line (unbroken text, buttons) must never widen the list past the
   screen. Grid columns default to fitting their widest content; minmax(0, 1fr) caps them. */
.rows, .frows, .needs, .pastlist, .clist, .posts, .lp-feed, .stack:not(.jamgrid) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 699px) { .bandgrid { grid-template-columns: minmax(0, 1fr); } }
.friendtools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .friendtools { grid-template-columns: minmax(0, 1fr); } }
.homesec, .home__col { grid-template-columns: minmax(0, 1fr); }
.homesec__head { flex-wrap: wrap; row-gap: 4px; }

/* Profile gear rows: a photo on the left */
.gearrow--photo { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr) auto; }
.gearrow--photo .gearphoto { grid-column: 1; grid-row: 1 / span 2; }
.gearrow--photo [name="g_inst"] { grid-column: 2; grid-row: 1; }
.gearrow--photo [name="g_kind"] { grid-column: 3; grid-row: 1; }
.gearrow--photo > button { grid-column: 4; grid-row: 1; }
.gearrow--photo [name="g_name"] { grid-column: 2 / 4; grid-row: 2; }
.gearrow--photo .check { grid-column: 4; grid-row: 2; }
.gearphoto { position: relative; width: 64px; height: 84px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; cursor: pointer; background: var(--fill); border: 1.5px dashed var(--sep); color: var(--muted); }
.gearphoto.has-photo { border: 0; }
.gearphoto img { width: 100%; height: 100%; object-fit: cover; }
.gearphoto svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) {
  .gearrow--photo { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .gearrow--photo .gearphoto { grid-row: 1 / span 4; height: 100%; min-height: 84px; }
  .gearrow--photo [name="g_inst"] { grid-column: 2; grid-row: 1; }
  .gearrow--photo > button { grid-column: 3; grid-row: 1; }
  .gearrow--photo [name="g_kind"] { grid-column: 2 / 4; grid-row: 2; }
  .gearrow--photo [name="g_name"] { grid-column: 2 / 4; grid-row: 3; }
  .gearrow--photo .check { grid-column: 2 / 4; grid-row: 4; }
}

/* ---- Instruments: "Other" tile and repeated parts (New jam, sign-up) ---------------- */
.itile { position: relative; }
.itile--more { overflow: hidden; color: var(--muted); box-shadow: 0 0 0 1px var(--line), inset 0 0 0 1.5px transparent; border: 1.5px dashed var(--line); }
.itile--more .iico { color: var(--muted); }
.itile--more select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.itile__n { position: absolute; top: 6px; right: 6px; min-width: 22px; padding: 1px 6px; border-radius: 999px; background: #fff; color: #15130F; font-style: normal; font-size: 11px; font-weight: 800; line-height: 18px; }

/* ---- New jam on a computer: one page, sections on the left, poster and Publish on the right ---- */
.njdesk { max-width: 1180px; }
.njdesk__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.njdesk__top .title { margin: 4px 0 0; }
.njdesk__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 40px; align-items: start; }
.njsec { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 24px 26px 26px 20px; border-radius: 22px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.njsec + .njsec { margin-top: 16px; }
.njsec__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); font-family: var(--f-poster, inherit); font-size: 18px; }
.njsec__body { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.njsec .fq { margin: 2px 0 0; font-size: 26px; }
.njsec .fsec { margin: 0; }
.njsec .fopt { background: var(--bg); }
.njdesk .itiles { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.njdesk__side { display: flex; flex-direction: column; gap: 14px; }
.njcheck { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.njcheck li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 11px 14px; font-size: 14px; }
.njcheck li + li { border-top: 1px solid var(--line); }
.njcheck i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 800; background: #30D158; color: #fff; }
.njcheck .is-missing i { background: var(--accent); }
.njcheck .is-missing span { color: var(--muted); }
.njcheck b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.njcheck span { min-width: 0; overflow-wrap: anywhere; }
.njdesk [data-nj-next][aria-disabled="true"] { opacity: .55; }

/* Gender (sign-up and Edit profile) */
.genderfield .chips { margin-top: 2px; }
.flow .genderfield { margin-top: 10px; }

/* A part's role on its channel ("Lead", "Rhythm"): under the instrument, same tape */
.ch__role { display: none; }
.strip--lg .ch__role { display: block; order: 3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1b1915; }
.strip--lg .ch.is-takeable .ch__role { color: #FFD60A; }
.strip--lg .ch.is-open:not(.is-takeable) .ch__role { color: rgba(244, 240, 230, .75); }
@media (max-width: 420px) { .strip--hero .ch__role { font-size: 8.5px; letter-spacing: 0; } }

/* Editing your post or comment */
.post__mine { display: inline-flex; gap: 14px; }
.cmt__tools { display: inline-flex; gap: 14px; }
.cedit { display: grid; gap: 6px; margin-top: 2px; }
.cedit textarea { width: 100%; min-height: 60px; padding: 8px 10px; border: 0; border-radius: 12px; background: var(--fill, var(--bg)); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.cedit__acts { display: flex; justify-content: flex-end; gap: 8px; }
/* Replies: under their comment, a step in, with smaller faces */
.cmt__main { min-width: 0; flex: 1; display: grid; gap: 3px; }
.cmt__main > .cmt__body { flex: none; }
.cmt__main > .cmt__tools { padding-left: 14px; }
.cmt__main > .cmt__tools:empty { display: none; }
.cmt__main > .cmt__tools .cmt__del { margin-top: 0; }
.clist--replies { gap: 10px; margin: 8px 0 0; }
.cmt--reply .cmt__body { padding: 8px 12px; }
.cmt__at { font-weight: 700; color: var(--accent-text, var(--accent)); text-decoration: none; }
.cmore { padding: 2px 0 2px 14px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cform { flex-wrap: wrap; }
.cform__reply { flex: 0 0 100%; }
.cform__reply:empty { display: none; }
.creply { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 2px 6px 6px; font-size: 13px; color: var(--muted); border-bottom: .5px solid var(--sep); }
.creply .linkbtn { font-size: 13px; }

/* ---- Applying to a jam, and the lineup's vote ------------------------------------- */
.checkout--apply { position: static; }
.applyhow { margin: 0; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 14px; line-height: 1.45; }
.applyhow b { display: block; margin-bottom: 2px; }
.title__role { color: var(--muted); font-weight: inherit; }
.apps { display: grid; gap: 12px; }
.apps .subtitle { margin-bottom: 0; }
.apps .hint { margin: 0; }
.appcard { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.appcard--low { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 60%, transparent); }
.appcard__who { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.appcard__who span { display: grid; min-width: 0; }
.appcard__who b { font-size: 16px; }
.appcard__who small { color: var(--muted); font-size: 13px; }
.appcard__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.appcard__stats li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: var(--panel); text-align: center; }
.appcard__stats b { font-size: 18px; font-variant-numeric: tabular-nums; }
.appcard__stats span { font-size: 11.5px; line-height: 1.25; color: var(--muted); }
.appcard__stats .is-low b { color: var(--accent-text, var(--accent)); }
.appcard__note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--panel); font-size: 14px; font-style: italic; overflow-wrap: anywhere; }
.appcard__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px; }
.appcard__tally { font-size: 13px; color: var(--muted); }
@media (max-width: 420px) {
  .appcard__foot { grid-template-columns: 1fr 1fr; }
  .appcard__tally { grid-column: 1 / -1; }
}
.myapps { display: grid; gap: 8px; }
.myapp { display: grid; gap: 6px; }
.myapp__state { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--accent-text, var(--accent)); }
/* The poster stays compact so Publish is always on screen */
@media (min-width: 1024px) {
  .njdesk__side.flowwide__preview { top: 24px; }
  .njdesk__side .gig--flow .gig__body { min-height: 280px; }
  .njdesk__side .gig--flow .gig__title { font-size: clamp(34px, 3vw, 46px); }
}

/* New jam: an instrument's roles on its tile, and the "Which guitar?" sheet */
.itile__roles { max-width: 100%; margin-top: -3px; padding: 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 500; opacity: .9; }
.rolesheet .dlg__title { display: flex; align-items: center; gap: 10px; }
.rolesheet__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--c); color: #fff; }
.rolesheet__ico .iico { width: 22px; height: 22px; }
.roleopts { display: grid; gap: 8px; }
.roleopt { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.roleopt input { position: absolute; opacity: 0; pointer-events: none; }
.roleopt span { flex: 1; display: grid; }
.roleopt b { font-weight: 600; font-size: 16px; }
.roleopt small { color: var(--muted); font-size: 13px; }
.roleopt__tick { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); }
.roleopt:has(input:checked) { box-shadow: 0 0 0 2px var(--accent); }
.roleopt:has(input:checked) .roleopt__tick { background: var(--accent); box-shadow: none; }
.roleopt:has(input:checked) .roleopt__tick::after { content: '✓'; display: grid; place-items: center; height: 100%; color: #fff; font-size: 14px; font-weight: 800; font-style: normal; }
.roleopt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rolesheet__remove { margin-right: auto; }

/* New jam: your own part, apart from the ones to fill */
.fme { display: grid; gap: 10px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 9%, var(--panel)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent); }
.fme .fhint { margin: 0; }
.fme__inst { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; }
.fme__ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--c); color: #fff; }
.fme__ico.is-light { color: #15130F; }
.fme__ico .iico { width: 21px; height: 21px; }
.fme__roles { display: grid; gap: 6px; }
.fme__roles > span { font-size: 13px; color: var(--muted); }
.fme .fchips { margin: 0; }
.flineup { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); font-size: 13.5px; line-height: 1.45; }
.itile > span { text-align: center; line-height: 1.15; }
.roleopt.is-taken { opacity: .55; cursor: default; }
.rolesheet__you { margin: 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 14px; font-weight: 600; }

/* Your profile on a computer: you on the left, menus and settings on the right */
@media (min-width: 1024px) {
  .page--mewide { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px; align-items: start; max-width: 1080px; }
  .mewide__you, .mewide__menus { min-width: 0; }
  .mewide__menus > .subtitle:first-child { margin-top: 0; }
  .mewide__you > .subtitle, .mewide__menus > .subtitle { margin: 30px 0 12px; }
  .mewide__you > .menu { margin-top: 12px; }
}

/* A band on a computer: its story on the left, members on the right */
.bandwide__main, .bandwide__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bandwide__main > *, .bandwide__side > * { margin-block: 0; }
@media (min-width: 1024px) {
  .bandwide { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
  .bandwide .bandbio { font-size: 17px; line-height: 1.55; }
  .bandspage__new { display: inline-flex; width: auto; margin-bottom: 4px; }
}

/* Messages on a computer: conversations on the left, the open one on the right */
@media (min-width: 1024px) {
  .main:has(> .inboxpane) { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
  .main:has(> .inboxpane) > .page { width: 100%; max-width: 780px; margin: 0; }
  .inboxpane { position: sticky; top: 40px; max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; padding: 2px; }
  .inboxpane > .pagehead { margin-bottom: 14px; }
  .inboxpane .inboxhint { font-size: 13px; }
  .inboxpane .inboxrow[aria-current] { background: var(--accent-soft, color-mix(in srgb, var(--accent) 16%, transparent)); }
  .inboxpane .inboxrow[aria-current] b { color: var(--accent-text, var(--accent)); }
  .main:has(> .inboxpane) .chat--dm > .back { display: none; }
  .msgpick { display: grid; place-items: center; min-height: calc(100dvh - 140px); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
  .msgpick__box { display: grid; justify-items: center; gap: 10px; color: var(--muted); text-align: center; }
  .msgpick__box svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
  .msgpick__box p { margin: 0; font-size: 16px; }
}

/* The inbox's search box and filters (computers) */
.inboxtools { display: grid; gap: 10px; margin-bottom: 12px; }
.inboxsearch { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: var(--muted); }
.inboxsearch svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.inboxsearch input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; padding: 0; }
.inboxsearch:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.inboxfilters { display: flex; flex-wrap: wrap; gap: 6px; }
.inboxfilters .fchip { padding: 6px 12px; font-size: 13.5px; }
.inboxnone { margin: 8px 4px; }

/* Wide computers: what the chat is about, in a third column */
.chatside { display: none; }
@media (min-width: 1300px) {
  .main:has(> .chatside) { grid-template-columns: 300px minmax(0, 1fr) 280px; gap: 28px; }
  .chatside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 40px; max-height: calc(100dvh - 80px); overflow-y: auto; padding: 2px; }
}
.chatside__poster { display: grid; gap: 4px; padding: 16px; border-radius: 16px; color: var(--cream, #F4F0E6); text-decoration: none; background: linear-gradient(160deg, color-mix(in srgb, var(--gink, #E4511B) 70%, #12100E), #12100E 80%); }
.chatside__poster:hover { text-decoration: none; filter: brightness(1.08); }
.chatside__poster .mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(244, 240, 230, .82); }
.chatside__poster b { font-family: var(--f-poster); font-weight: 400; font-size: 28px; line-height: .98; text-transform: uppercase; color: #F4F0E6; }
.chatside__poster > span:last-child { font-size: 13px; color: rgba(244, 240, 230, .82); }
.chatside__who { display: grid; justify-items: start; gap: 6px; padding: 4px 2px; }
.chatside__who b { font-family: var(--f-poster); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; }
.chatside__who .bandmark--lg { width: 72px; height: 72px; font-size: 26px; position: static; }
.chatside__sec { display: grid; gap: 8px; }
.chatside__h { margin: 0; font-family: var(--f-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chatside__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chatside__list li { display: flex; align-items: center; gap: 10px; font-size: 14px; min-width: 0; }
.chatside__list li .muted { margin-left: auto; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.chatside__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.chatside__dot.is-open { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.chatside__songs { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; }
.chatside__chips { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chatside__actions { display: grid; gap: 8px; margin-top: 4px; }

/* Floating chat button (phones): appears once the big chat button scrolls away */
.chatfab {
  position: fixed; z-index: 40; right: 16px; bottom: calc(var(--navh) + env(safe-area-inset-bottom, 0px) + 16px);
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent, #fff); text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .08);
  opacity: 0; transform: translateY(12px) scale(.85); pointer-events: none; transition: opacity .2s, transform .2s;
}
.chatfab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.chatfab:hover { color: var(--on-accent, #fff); text-decoration: none; }
.chatfab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chatfab .badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; box-shadow: 0 0 0 2px var(--bg); }
@media (min-width: 820px) { .chatfab { bottom: 24px; } }
@media (prefers-reduced-motion: reduce) { .chatfab { transition: none; } }

/* Votes: on Home ("Needs you") and in My jams */
.need--vote .need__text a { font-weight: 600; }
.votejam { display: grid; gap: 6px; }
.votejam__jam { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.suggest__asking { margin-left: 6px; font-size: 13px; font-weight: 600; color: var(--accent-text, var(--accent)); }
.need__sub { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
/* Rows that only take you somewhere: the whole row is the link, with a chevron */
.need--link { grid-template-columns: auto minmax(0, 1fr) auto; }
@media (min-width: 600px) { .need--inline { grid-template-columns: auto minmax(0, 1fr) auto; } .need--inline .need__actions { grid-column: 3; grid-row: 1; } }
.need--link { color: var(--ink); text-decoration: none; padding-top: 10px; padding-bottom: 10px; }
.need--link:hover { text-decoration: none; background: var(--fill, rgba(21, 19, 15, .03)); }
.need--link .need__text b { font-weight: 600; color: var(--accent-text, var(--accent)); }
.need__match { align-self: center; font-size: 13px; color: var(--muted); }
.need__chev { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.needs > .need:first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.needs > .need:last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }

/* Small buttons keep their look but get a ~44px touch area */
.iconbtn, .knowbtn, .composer__send, .fx { position: relative; }
.iconbtn::after, .knowbtn::after, .composer__send::after, .fx::after, .fbcard__x::after, .catt button::after { content: ''; position: absolute; inset: -7px; }
.song__tools { gap: 10px; }
@media (max-width: 819px) { .btn--sm { min-height: 40px; } }
.nav__item { font-size: 11px; color: var(--muted); }
.nav__item.is-active { color: var(--ink); }

/* The one-question survey: above the tab bar (or the screen's bottom when there's none), never on top of the chat button */
.fbcard { bottom: calc(var(--navh) + env(safe-area-inset-bottom, 0px) + 12px); }
body:has(> .nav--away) .fbcard, body:not(:has(> .nav)) .fbcard { bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); }
@media (min-width: 820px) { .fbcard { bottom: 24px; } }
body:has(.fbcard.is-on) .chatfab { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { .fbcard__scale--11 { grid-template-columns: repeat(6, 1fr); gap: 5px; } .fbcard__scale--11 button { min-height: 38px; } }
/* Focus you can see in the chat and comment boxes */
.composer:focus-within, .cform:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.composer__photo:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 50%; }

/* ---- Jams → Explore: For you / All, and the Filters button -------------------------- */
.jxbar { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.jxbar__seg { flex: 1; display: flex; max-width: 420px; }
.jxbar__seg button { flex: 1; min-height: 38px; padding: 0 10px; border: 0; border-radius: 7px; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.jxbar__seg button.is-on { background: var(--seg-active); color: var(--ink); box-shadow: 0 0 0 .5px var(--line), 0 1px 2px rgba(21, 19, 15, .08); }
.jxbar__filters { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; }
.jxbar__filters svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.jxbar__filters .badge { margin-left: 2px; }
.jf__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.jf__head .dlg__title { margin: 0; }
.jf__lbl { margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
.jf__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jf__chips .fchip { min-height: 36px; padding: 6px 13px; font-size: 14px; background: var(--bg); }
.jf__chips .fchip.on { background: var(--accent-soft); color: var(--accent-text, var(--accent)); box-shadow: none; font-weight: 600; }
.jf__acts { margin-top: 16px; }
.jfpanel { margin: -4px 0 16px; padding: 14px 16px 16px; }
.jfpanel .jf__lbl:first-child { margin-top: 0; }
.jfpanel .has-amenu { max-width: 360px; }
.jfpanel > .linkbtn { margin-top: 12px; }
.jcard__why { margin: 0; display: inline-flex; justify-self: start; align-self: start; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 8px; font-size: 13px; font-weight: 600; background: var(--accent-soft); color: var(--accent-text, var(--accent)); }
.jcard__why--soft { background: var(--fill, rgba(21, 19, 15, .06)); color: var(--muted); font-weight: 500; }
.jxrest { margin: 22px 0 10px; font-size: 18px; }

/* ---- Framing the profile photo -------------------------------------------------------- */
.crop { display: grid; gap: 12px; }
.crop .dlg__title, .crop__hint { margin: 0; }
.crop__frame { position: relative; width: min(280px, 78vw); aspect-ratio: 1; margin: 4px auto; overflow: hidden; border-radius: 16px; background: #111; touch-action: none; cursor: grab; user-select: none; }
.crop__frame:active { cursor: grabbing; }
.crop__frame img { display: block; pointer-events: none; }
.avatar:has(img[style]) { position: relative; }
.crop__mask { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .55), inset 0 0 0 2px rgba(255, 255, 255, .85); pointer-events: none; }
.crop__zoom { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.crop__zoom input { width: 100%; accent-color: var(--accent); }

/* ---- Chats on phones: who you're talking to stays pinned at the top ---------------------
   Back arrow, face(s), name and a line about them, in one compact bar (like Messages). */
@media (max-width: 1023px) {
  .chatbar {
    position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 6px;
    margin: calc(-1 * env(safe-area-inset-top, 0px)) -16px 8px; padding: calc(env(safe-area-inset-top, 0px) + 8px) 16px 8px 8px;
    background: var(--bar); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: .5px solid var(--sep);
  }
  .chatbar__back { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; font-size: 0; color: var(--accent-text, var(--accent)); }
  .chatbar__back::before { margin: 0; }
  .chatbar .chat__head {
    flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 0;
    justify-items: start; align-items: center; text-align: left; padding: 0; margin: 0; border: 0;
  }
  .chatbar .chat__faces, .chatbar .chat__who { grid-row: 1 / 3; }
  .chatbar .chat__faces .avatar:nth-child(n + 4) { display: none; }
  .chatbar .chat__faces .avatar { width: 30px; height: 30px; font-size: 11px; }
  .chatbar .chat__faces .avatar + .avatar { margin-left: -7px; }
  .chatbar .chat__faces .avatar { position: relative; }
  .chatbar .chat__faces .avatar:nth-child(1) { z-index: 3; } .chatbar .chat__faces .avatar:nth-child(2) { z-index: 2; } .chatbar .chat__faces .avatar:nth-child(3) { z-index: 1; }
  .chatbar .chat__who .avatar { width: 38px; height: 38px; font-size: 13px; }
  .chatbar .chat__title { font-size: 16px; line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chatbar .chat__head p { max-width: 100%; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chat--dm .chatbar .chat__head { text-align: left; }
}
@media (min-width: 1024px) { .chatbar { display: contents; } }

/* ---- Studios: review badges, the "Do you have a studio?" card and the explainer -------- */
.sbadge { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 8px; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: 0; vertical-align: 3px; background: var(--fill, rgba(21, 19, 15, .06)); color: var(--muted); }
.title .sbadge { vertical-align: 8px; }
.sbadge--rejected { background: var(--warn-soft, rgba(255, 69, 58, .14)); color: var(--danger); }
.studiopitch { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
.studiopitch:hover { text-decoration: none; box-shadow: 0 0 0 1px var(--sep); }
.studiopitch__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); }
.studiopitch__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent-text, var(--accent)); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.studiopitch b { display: block; font-size: 15px; }
.studiopitch small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.sjoin .title { margin-bottom: 8px; }
.sjoin__steps { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 16px; }
.sjoin__step { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; }
.sjoin__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff); font-family: var(--f-poster); font-size: 18px; }
.sjoin__step h3 { margin: 4px 0 2px; font-size: 17px; }
.sjoin__step p { margin: 0; color: var(--muted); line-height: 1.45; }
.sjoin__need { margin-bottom: 18px; }
.sjoin__need .subtitle { margin-top: 0; }
.sjoin__cta { display: grid; gap: 10px; text-align: center; margin-bottom: 24px; }

/* ---- Buy us a coffee ----------------------------------------------------------------- */
.coffee { text-align: center; }
.coffee .back { align-self: start; }
.coffee__cup { margin: 8px 0 0; font-size: 54px; line-height: 1; }
.coffee .lede { margin-left: auto; margin-right: auto; max-width: 36ch; }
.coffee__form { text-align: left; margin-top: 18px; }
.coffee__amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.coffee__amt { position: relative; }
.coffee__amt input { position: absolute; opacity: 0; }
.coffee__amt span { display: grid; place-items: center; min-height: 52px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 16px; cursor: pointer; }
.coffee__amt input:checked + span { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent); color: var(--accent-text, var(--accent)); }
.coffee__amt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.coffee__safe { text-align: center; margin-top: 10px; }
.coffee--done .btn { margin-top: 8px; }

/* The coffee receipt (thank-you screen) */
.cel--coffee { --cy: 27%; }
.cel--coffee .cel__poster { width: min(270px, 74vw); rotate: -4deg; overflow: visible; }
.receipt {
  position: relative; padding: 30px 18px 16px; color: #2a2118; text-align: left; font-family: var(--f-mono); font-size: 12px;
  background: #FBF6EA; border-radius: 4px;
  -webkit-mask: radial-gradient(circle 6px at 50% 100%, #0000 98%, #000) 0 0 / 14px 100% repeat-x;
          mask: radial-gradient(circle 6px at 50% 100%, #0000 98%, #000) 0 0 / 14px 100% repeat-x;
}
.receipt__cup { position: absolute; z-index: 1; left: 50%; top: -34px; transform: translateX(-50%); font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.receipt__cup i { position: absolute; bottom: 34px; width: 4px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, .7); opacity: 0; animation: steam 2.4s ease-in-out infinite; }
.receipt__cup i:nth-child(1) { left: 12px; } .receipt__cup i:nth-child(2) { left: 19px; animation-delay: .5s; } .receipt__cup i:nth-child(3) { left: 26px; animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px) scaleY(.6); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px) scaleY(1.2) translateX(3px); } }
.receipt p { margin: 0; }
.receipt__brand { text-align: center; font-family: var(--f-poster); font-size: 22px; letter-spacing: .06em; text-transform: uppercase; color: #15130F; }
.receipt__meta { text-align: center; margin-top: 2px !important; font-size: 10.5px; letter-spacing: .08em; color: #8a7a64; }
.receipt__rows { margin: 12px 0 8px; padding: 10px 0; border-top: 1px dashed #c9b99a; border-bottom: 1px dashed #c9b99a; display: grid; gap: 6px; }
.receipt__rows p, .receipt__total { display: flex; justify-content: space-between; gap: 10px; }
.receipt__total { font-weight: 700; font-size: 14px; color: #15130F; }
.receipt__stamp {
  position: absolute; right: 14px; bottom: 6px; padding: 3px 10px; border: 3px solid #E4511B; border-radius: 8px; background: #FBF6EA;
  color: #E4511B; font-family: var(--f-poster); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; rotate: -8deg; z-index: 1;
  animation: stamp .5s 1.2s cubic-bezier(.2, 1.6, .4, 1) both;
}
@keyframes stamp { from { opacity: 0; transform: scale(2.4); } }
.receipt__bars { display: block; height: 26px; margin: 12px 4px 4px; background: repeating-linear-gradient(90deg, #2a2118 0 2px, transparent 2px 4px, #2a2118 4px 5px, transparent 5px 8px, #2a2118 8px 11px, transparent 11px 13px); opacity: .85; }
.cel--coffee .cel__text { top: calc(var(--cy) + 196px); }
@media (max-height: 700px) { .cel--coffee { --cy: 25%; } .cel--coffee .cel__text { top: calc(var(--cy) + 150px); } .receipt__bars { display: none; } }

/* ---- Teacher plan -------------------------------------------------------------------- */
.tplan { display: grid; gap: 8px; margin: 4px 0 18px; padding: 16px; box-shadow: 0 0 0 1.5px var(--accent); }
.tplan--on { box-shadow: 0 0 0 1px var(--line); }
.tplan--wait { box-shadow: 0 0 0 1px var(--line); }
.tplan p { margin: 0; }
.tplan__title { font-weight: 700; font-size: 16px; }
.tplan__list { margin: 0; color: var(--muted); font-size: 14px; }
.tplan .btn { justify-self: start; }

/* ---- Teacher's calendar -------------------------------------------------------------- */
.calpanel { display: grid; gap: 8px; margin: 0 0 18px; padding: 16px; }
.calpanel .subtitle { margin: 0; }
.calpanel p { margin: 0; }
.calpanel__on { font-weight: 700; color: var(--ok, #1f9d55); }
.calpanel__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.calpanel__g { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 6px; border-radius: 50%; background: #fff; color: #4285F4; font-weight: 800; font-size: 12px; }
.calhelp { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); display: grid; gap: 6px; }
.calfeed { display: grid; gap: 8px; margin: 12px 0 8px; }
.calfeed__row { margin: 0 0 6px; }

/* ---- Teacher's weekly hours: blocks per day ------------------------------------------- */
.whours__lbl { margin: 4px 0 6px; font-size: 13px; color: var(--muted); }
.whours__presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.whours__presets .fchip { padding: 6px 12px; font-size: 14px; }
.whours { display: grid; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.wday { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; padding: 10px 12px; }
.wday + .wday { border-top: .5px solid var(--sep); }
.wday__day { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.wday__day input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wday__sw { position: relative; flex: none; width: 34px; height: 20px; border-radius: 10px; background: var(--fill-strong, rgba(21, 19, 15, .18)); transition: background .15s; }
.wday__sw::after { content: ''; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.wday__day input:checked + .wday__sw { background: var(--switch-on, #30D158); }
.wday__day input:checked + .wday__sw::after { transform: translateX(14px); }
.wday__day input:focus-visible + .wday__sw { outline: 3px solid var(--accent); outline-offset: 2px; }
.wday__ranges { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.wday__range { display: inline-flex; align-items: center; gap: 4px; }
.wday__range select { min-height: 36px; min-width: 112px; padding: 4px 26px 4px 10px; font-size: 14px; border-radius: 10px; }
.wday__x, .wday__add { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
.wday__add { color: var(--accent-text, var(--accent)); font-weight: 700; margin-left: 8px; }
/* The ✕ of one block and the ＋ for another, apart enough not to hit the wrong one */
.wday__x { margin-left: 2px; }
.wday__x:hover, .wday__add:hover { background: var(--fill, rgba(21, 19, 15, .06)); }
.whours__copy { display: inline-block; margin: 10px 0 4px; font-size: 14px; }
@media (max-width: 420px) { .wday { grid-template-columns: 1fr; gap: 6px; } }

/* ---- Studio rooms: asking for one, the studio's desk ---------------------------------- */
.rbook__sub { margin: -6px 0 6px; font-size: 14px; }
.rbook .jf__lbl { margin: 14px 0 8px; }
.rbook__days { display: flex; gap: 7px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
.rbook__days::-webkit-scrollbar { display: none; }
.rbook__days .fchip { flex: none; white-space: nowrap; }
.rbook__times { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 7px; }
.rbook__times .fchip { padding: 9px 6px; text-align: center; }
.rbook__sum { margin: 14px 0 4px; font-size: 15px; line-height: 1.45; }
.rbook__sum:empty { display: none; }
.rbook__jam { display: grid; gap: 2px; margin: 6px 0 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }
.rbook__jam .mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.rbook .field { margin-top: 14px; }

.rstat { flex: none; align-self: flex-start; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; background: var(--tab-track); color: var(--muted); }
.rstat--requested, .rstat--charging, .rstat--sent { background: var(--accent-soft); color: var(--accent-text); }
.rstat--confirmed, .rstat--paid { background: color-mix(in srgb, var(--ok, #248A3D) 16%, transparent); color: var(--ok, #248A3D); }
.rstat--declined, .rstat--noshow, .rstat--failed, .rstat--uncollectible { background: color-mix(in srgb, var(--danger, #FF3B30) 14%, transparent); color: var(--danger, #FF3B30); }

.rlist { display: grid; gap: 10px; margin-bottom: 22px; }
.rcard { padding: 14px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.rcard__top { display: flex; gap: 12px; align-items: flex-start; }
.rcard__what { display: grid; gap: 2px; flex: 1; min-width: 0; justify-items: start; }
.rcard__what .rstat { margin-bottom: 4px; }
.nowrap { white-space: nowrap; }
.rcard__what b { font-size: 15.5px; }
.rcard__what b a { color: inherit; }
.rcard__what span { font-size: 15px; }
.rcard__note { margin: 10px 0 0; font-size: 14.5px; }
.rcard__acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; margin-top: 12px; }
.rcard--cancelled, .rcard--expired, .rcard--declined { opacity: .72; }
.rcard--blocked { background: var(--tab-track); box-shadow: none; }
.rcard__lock { font-size: 20px; line-height: 40px; width: 40px; text-align: center; }
.smark--sm { width: 40px; height: 40px; border-radius: 9px; font-size: 15px; }

.room__acts { display: flex; gap: 8px; flex-wrap: wrap; }
.jroom { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }
.jroom p { margin: 0; font-size: 15px; }
.jroom .btnrow { margin-top: 10px; }
.jroom--ok { background: color-mix(in srgb, var(--ok, #248A3D) 14%, transparent); }
.jroom--ok p { color: var(--ok, #248A3D); font-weight: 700; }
.jroom--no { background: color-mix(in srgb, var(--danger, #FF3B30) 10%, transparent); }

.rdesk .tabs { margin-bottom: 18px; }
.rdesk__bar { justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.rdesk__bar p { margin: 0; flex: 1; min-width: 200px; font-size: 14.5px; }
.rbill { margin-bottom: 14px; }
.rbill .subtitle { margin-top: 0; }
.rbill__nums { display: grid; gap: 8px; }
.rbill__nums p { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 15px; }
.rbill__nums span { color: var(--muted); }
.rbill__card { font-weight: 700; margin: 0 0 10px; }
.rbill__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rbill__list li { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 15px; }
.rbill__list li span:first-child { flex: 1; text-transform: capitalize; }
.need__icon--room { background: var(--accent-soft); }
.need__icon--room svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.scal__room { padding: 10px 0; border-top: 1px solid var(--line); }
.scal__room:first-of-type { border-top: 0; padding-top: 0; }
.scal__room .field { margin-bottom: 4px; }
.scal__room small { display: block; font-size: 13.5px; }
.scal__err { color: var(--danger, #FF3B30); }
/* Four tabs on a phone: tighter so they all fit. */
@media (max-width: 480px) { .rdesk .tabs .tab { letter-spacing: .02em; gap: 5px; padding-left: 6px; padding-right: 6px; font-size: 11px; } .rdesk .tabs .tab:not(.is-active)::before { display: none; } }

/* ---- My business (#/business) ---------------------------------------------------------- */
.bizchip { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 6px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 600; text-decoration: none; }
.bizchip.is-active { background: var(--accent); color: var(--on-accent, #fff); }
.bizchip .badge { background: var(--accent); color: var(--on-accent, #fff); }
.bizchip.is-active .badge { background: var(--on-accent, #fff); color: var(--accent); }
.biz .bizfilter { margin: 4px 0 16px; }
.biz .bizfilter .fchip { text-decoration: none; }
.bizstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; }
.bizstat { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.bizstat span { font-size: 13px; color: var(--muted); }
.bizstat b { font-size: 26px; line-height: 1.15; font-weight: 700; }
.bizstat b.bizstat--hot { color: var(--accent-text); }
.bizstat small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bizsec { margin-bottom: 22px; }
.bizsec .subtitle { margin-top: 0; }
.bizcols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; }
.bizag__day { margin: 10px 0 6px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bizag__row { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; color: inherit; text-decoration: none; }
.bizag__time { flex: none; width: 72px; font-size: 13.5px; color: var(--muted); }
.bizag__what { flex: 1; min-width: 0; padding: 8px 12px; border-radius: 10px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bizag__what--room { background: var(--accent-soft); color: var(--accent-text); }
.bizag__what--lesson { background: color-mix(in srgb, var(--ok, #248A3D) 14%, transparent); color: var(--ok, #248A3D); }
.bizag__what--busy { background: var(--tab-track); color: var(--muted); }
.bizacct { display: grid; gap: 0; padding: 4px 14px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.bizacct__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.bizacct__row:first-child { border-top: 0; }
.bizacct__row span { color: var(--muted); }
.bizacct__row span small { display: block; font-size: 11.5px; color: var(--ink); font-weight: 600; }
.bizacct__row b { text-align: right; font-weight: 600; }
.bizacct__ok { color: var(--ok, #248A3D); }
.bizquick { margin-top: 12px; }
.bizquick .fchip { font-size: 14px; padding: 7px 12px; text-decoration: none; }
@media (max-width: 760px) {
  .bizstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bizcols { grid-template-columns: 1fr; gap: 0; }
}
button.fab-back { border: 0; padding: 0; cursor: pointer; }
/* Phone top bar: logo, Business, bell and you always fit (Business turns into an icon on small phones). */
.top .wordmark { min-width: 0; flex-shrink: 1; }
.top .bell, .top .me, .top .bizchip { flex-shrink: 0; }
.top .bizchip + .bell { margin-left: 0; }
.bizchip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
@media (max-width: 400px) { .bizchip { padding: 6px 9px; } .bizchip__label { display: none; } }
.bizplan { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; } .bizplan p { margin: 0; flex: 1; min-width: 220px; }
/* New jam on phones: Next always in reach, Back beside it. */
.flow__foot--stick { position: sticky; bottom: 0; z-index: 5; margin-left: calc(-1 * var(--gutter, 16px)); margin-right: calc(-1 * var(--gutter, 16px)); padding: 14px var(--gutter, 16px) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 16px); }
.flow__foot--two { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }

/* ---- Booking and paying for a room ------------------------------------------------------- */
.rbook__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--tab-track); font-size: 15px; }
.rbook__total b { font-size: 22px; }
.rbook__pay { display: grid; gap: 0; }
.rbook__n { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 6px; font-size: 15px; }
.rbook__step { display: inline-flex; align-items: center; gap: 10px; }
.rbook__step .fchip { width: 44px; height: 44px; padding: 0; font-size: 20px; }
.rbook__step b { min-width: 24px; text-align: center; font-size: 18px; }
.jroom__paid { margin-top: 4px !important; font-weight: 600; color: var(--ink) !important; }
.jroom__more { display: inline-block; margin-top: 8px; font-size: 14.5px; }
.rcard__pay { color: var(--ink); font-weight: 600; }
.rroom__facts { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 4px 0 18px; font-size: 15px; }
.rroom__progress { height: 10px; border-radius: 99px; background: var(--tab-track); overflow: hidden; margin: 6px 0 10px; }
.rroom__progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.rroom__pay .btn--block { margin-top: 12px; }
.rroom__cancel { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.rroom__cancel p { margin: 0 0 8px; font-size: 14.5px; }
.rroom .btnrow { margin-top: 14px; }
.pubroom__poster { max-width: 320px; margin: 8px auto 20px; } .pubroom .btn--block { margin-top: 10px; }
.cardlist { display: grid; gap: 10px; margin-bottom: 14px; }
.cardlist .panel { margin: 0; }
.cardrow__card { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 8px; margin: 0 0 8px; }
.rbook__card { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 600; }
.rbook__split { margin: 12px 0 4px; font-size: 15px; }
.jroom--ok .fhint { color: var(--muted); font-weight: 400; margin-top: 8px; }
/* New jam: public or private, with an icon each. */
.fvis--icons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fvis__opt { position: relative; display: grid; justify-items: start; gap: 4px; padding: 14px; border: 0; border-radius: 16px; background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); text-align: left; font: inherit; cursor: pointer; }
.fvis__opt.on { box-shadow: 0 0 0 2px var(--accent); background: var(--accent-soft); }
.fvis__opt b { font-size: 16px; }
.fvis__opt small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.fvis__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; background: var(--tab-track); color: var(--ink); }
.fvis__opt.on .fvis__ico { background: var(--accent); color: var(--on-accent, #fff); }
.fvis__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.fvis__opt .fcheck { position: absolute; top: 12px; right: 12px; }

/* ---- Trust: stars, history and tags (profiles and the lineup's vote card) ---------------- */
.trust { display: grid; gap: 10px; }
.trust__stars { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0; }
.trust__stars b { font-family: var(--f-poster); font-size: 28px; font-weight: 400; letter-spacing: .02em; color: var(--accent-text, var(--accent)); }
.trust__stars span { font-size: 13px; color: var(--muted); }
.trust__stars--new b { font-family: inherit; font-size: 15px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); }
.trust__stars--none span { font-size: 14px; }
.trust--compact .trust__stars b { font-size: 22px; }
.trust__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.trust__stats li { display: grid; gap: 1px; padding: 8px 10px; border-radius: 12px; background: var(--panel); text-align: center; }
.trust__stats b { font-size: 18px; font-variant-numeric: tabular-nums; }
.trust__stats span { font-size: 11.5px; line-height: 1.25; color: var(--muted); }
.trust__stats .is-low b { color: var(--accent-text, var(--accent)); }
.trust__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.trust__tag { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 13px; font-weight: 600; }
.trust__tag small { font-weight: 400; color: var(--muted); }
.trust__warn { margin: 0; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 13.5px; }
.trust__foot { margin: 0; font-size: 13px; color: var(--muted); }
.trust__foot b { color: var(--ink); font-weight: 600; }

/* Review: stars and tags for someone who showed up */
.rv__more { display: grid; gap: 10px; padding-top: 4px; }
.rv__more[hidden] { display: none; }
.rv__rate { display: grid; gap: 2px; }
.rv__stars { display: flex; gap: 2px; margin-left: -6px; }
.rv__stars label { cursor: pointer; }
.rv__stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv__stars span { display: grid; place-items: center; width: 40px; height: 44px; font-size: 30px; line-height: 1; color: color-mix(in srgb, var(--muted) 45%, transparent); transition: color .12s, transform .12s; }
.rv__stars label.on span { color: #F5A623; }
.rv__stars input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 8px; }
.rv__stars label:active span { transform: scale(1.15); }
.rv__tagq { margin: 0; font-size: 14px; color: var(--muted); }
.rv__tag { cursor: pointer; }
.rv__tag input { position: absolute; opacity: 0; pointer-events: none; }
.rv__tag:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Studio rating (studio page and cards) and the place in the survey */
.srate { color: var(--accent-text, var(--accent)); font-weight: 700; }
.srating { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 4px 0 8px; }
.srating b { font-family: var(--f-poster); font-size: 24px; font-weight: 400; letter-spacing: .02em; color: var(--accent-text, var(--accent)); }
.srating > span:not(.trust__tag) { font-size: 13px; color: var(--muted); margin-right: 4px; }
.rv--place .smark { flex: none; }
.rvpage__top { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 12px; }
/* Edit jam: when and where can't change once the room is paid */
[data-locked] { opacity: .55; }

/* Phones: every small control gets at least a 44 × 44 px touch area, without changing how it looks.
   The invisible ::after is centered on the control and only grows what's under 44 px. */
@media (pointer: coarse), (max-width: 819px) {
  /* :where() has no weight: any control that already sets its own position keeps it. */
  :where(.tab, .linkbtn, .back, .me, .post__like, .post__name, .homesec__more, .seg > button, .seg label, .fchip, .btn) { position: relative; }
  .tab::after, .linkbtn::after, .back::after, .bell::after, .me::after, .fab-back::after, .artist__back::after, .post__like::after, .post__name::after,
  .homesec__more::after, .lineup__face::after, .seg > button::after, .seg label::after, .fchip::after, .btn::after {
    content: ''; position: absolute; left: 50%; top: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%);
  }
}

/* Card lines (instruments, area, city) wrap to a second line instead of cutting at "Guitarra, Uk…" */
.mcard__head p { white-space: normal; overflow: hidden; text-overflow: clip; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* Filters wrap onto a second row instead of running off the screen */
.filters { flex-wrap: wrap; overflow-x: visible; }

/* Confirm your email: the bar on top of every screen until it's confirmed */
.verifybar { display: grid; gap: 8px; margin: 0 0 16px; padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); }
.verifybar p { margin: 0; font-size: 14px; line-height: 1.4; }
.verifybar__t { font-size: 15px !important; }
.verifybar--page { margin-top: 12px; }

/* Few musicians nearby yet: an honest note in Home with an invite */
.fewnear { display: grid; gap: 8px; margin: 0 0 16px; padding: 16px; border-radius: 18px; background: var(--accent-soft); }
.fewnear p { margin: 0; font-size: 14px; line-height: 1.45; }
.fewnear__t { font-size: 15px !important; }

/* Sign-up on computers: the same All Access pass as the profile, filling in as you go */
.stage--draft { padding-bottom: 40px; }
.stage--draft .pass { width: min(300px, 86%); }
.pass__name--empty { color: rgba(21, 19, 15, .3) !important; }

/* Celebrations on computers: text and numbers stay a readable width, buttons right below them */
@media (min-width: 820px) {
  .cel__text { left: 0; right: 0; margin: 0 auto; max-width: 560px; }
  .cel--welcome .cel__stats { max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 820px) and (min-height: 720px) {
  .cel--welcome .cel__actions { bottom: auto; top: calc(var(--cy) + 400px); }
}

/* Search: the magnifier in the top bar, and the search page */
.top .topsearch { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); position: relative; }
.top .topsearch svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.top .topsearch ~ .bell, .top .topsearch ~ .bizchip { margin-left: 0; }
.top .topsearch::after { content: ''; position: absolute; inset: -2px; }
.searchbox { display: block; margin: 4px 0 18px; }
.searchbox input {
  width: 100%; min-height: 50px; border-radius: 999px !important; padding: 0 18px 0 46px !important; font-size: 17px;
  background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m20 20-4.8-4.8'/%3E%3C/svg%3E") no-repeat 16px center !important;
  border: 1px solid var(--line);
}
.slist .frow__who small { white-space: normal; }
.slist .frow__who { min-width: 0; }
.ssec { margin: 0 0 22px; }
.ssec__h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ssec__h small { font-weight: 600; }
.ssec__h .linkbtn { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: 14px; }
.slist { display: grid; border-radius: 16px; background: var(--panel); overflow: hidden; }
.slist > * + * { box-shadow: inset 0 .5px 0 var(--sep); }
.slist .frow { padding: 10px 14px; margin: 0; background: none; border-radius: 0; }
.srow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; color: var(--ink); text-decoration: none; }
.srow:hover { color: var(--ink); text-decoration: none; background: var(--fill); }
.srow__txt { display: grid; min-width: 0; }
.srow__txt b { font-size: 16px; font-weight: 600; }
.srow__txt small { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.srow .smark, .srow .bandmark { flex: none; }
.ssec__more { margin-top: 8px; }

/* Sign-up of a studio account (computers): a card for the studio instead of the musician's pass */
.sprev { display: grid; gap: 8px; justify-items: start; padding: 32px; border-radius: 22px; background: radial-gradient(120% 70% at 50% 0%, #3a2a20 0%, #141210 55%, #0d0c0b 100%); color: #F4F0E6; }
.sprev .smark { font-size: 28px; }
.sprev h2 { margin: 0; font-family: var(--f-poster); font-weight: 400; font-size: 40px; line-height: 1; text-transform: uppercase; color: #F4F0E6; }
.sprev p { margin: 0; color: rgba(244, 240, 230, .75); font-size: 15px; }
.sprev .lp-eyebrow { color: #FF7A45; margin: 0; }

/* Jam page on phones: the part you can play, fixed above the tab bar. */
.joinbar {
  position: fixed; z-index: 41; left: 16px; right: 16px; bottom: calc(var(--navh) + env(safe-area-inset-bottom, 0px) + 24px);
  animation: joinbar-in .25s ease-out both;
}
.joinbar .btn { margin: 0; min-height: 52px; font-size: 17px; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
body:has(> .joinbar) .page--stack { padding-bottom: 96px; }
body:has(> .joinbar) .chatfab { bottom: calc(var(--navh) + env(safe-area-inset-bottom, 0px) + 92px); }
@keyframes joinbar-in { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .joinbar { animation: none; } }
/* Home: one notice at a time. While the alerts prompt shows, the invite-friends card waits. */
.home__col:has([data-push-prompt] .pushask) .fewnear { display: none; }
/* Musician cards on phones: the match meter sits on the cover's corner, so the name and the
   instruments get the whole width instead of wrapping one word per line. */
@media (max-width: 560px) {
  .mcard--covered { position: relative; }
  .mcard--covered .mcard__head > div { flex: 1; min-width: 0; }
  .mcard--covered .score--vu {
    position: absolute; top: 10px; right: 10px; padding: 6px 8px 5px; border-radius: 12px;
    background: rgba(18, 16, 14, .72); color: #F4F0E6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .mcard--covered .score--vu .vu { width: 52px; height: 31px; }
}
/* ---- Home on computers (js/homedesk.js) ------------------------------------------------- */
.main > .homedesk { max-width: 1280px; display: flex; flex-direction: column; gap: 26px; }
.desktop { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; }
.desktop__hello { flex: 1 1 380px; min-width: 0; }
.desktop__hello .home__headline { margin: 0; }
.desktop__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.desksearch { display: flex; align-items: center; gap: 8px; width: 340px; max-width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--sep); color: var(--muted); }
.desksearch:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.desksearch svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.desksearch input { flex: 1; min-width: 0; border: 0; padding: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.desksearch kbd { flex: none; font: 700 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 5px; background: var(--fill, rgba(21, 19, 15, .07)); color: var(--muted); }
.desktop__tools .bizchip { display: inline-flex; }
.homedesk__notice > * { margin: 0; }
/* One-line notices become a slim strip (the survey card after a jam stays a card) */
.homedesk__notice .fewnear, .homedesk__notice .pushask { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 12px 16px; }
.homedesk__notice .fewnear > p, .homedesk__notice .pushask > p { margin: 0; }
.homedesk__notice .fewnear > p:not(:first-child), .homedesk__notice .pushask > p { flex: 1 1 320px; color: var(--muted); }
.homedesk__notice .btnrow { margin: 0 0 0 auto; }

.deskweek .homesec__head { flex-wrap: wrap; row-gap: 6px; }
.deskweek__legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 0 auto; font: 12px/1.2 var(--f-mono); color: var(--muted); }
.deskweek__legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.deskweek__legend .is-mine::before { background: var(--accent); }
.deskweek__legend .is-invited::before { box-shadow: inset 0 0 0 1.5px var(--accent-text); background: var(--accent-soft); }
.deskweek__legend .is-open::before { box-shadow: inset 0 0 0 1.5px var(--ink); }
.deskweek__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.deskday { display: flex; flex-direction: column; gap: 6px; min-height: 132px; min-width: 0; padding: 12px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.deskday.is-today { box-shadow: 0 0 0 2px var(--ink); }
.deskday__head { display: flex; flex-direction: column; gap: 4px; margin: 0 0 2px; }
.deskday__head span { font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.deskday__head b { font-family: var(--f-poster); font-weight: 400; font-size: 26px; line-height: 1; }
.deskday__item { display: grid; gap: 1px; min-width: 0; padding: 6px 8px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.deskday__item b { font-size: 13px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deskday__item small { font: 11px/1.3 var(--f-mono); color: inherit; opacity: .85; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deskday__item:hover { text-decoration: none; filter: brightness(.97); }
.deskday__item.is-mine { background: var(--accent); color: var(--on-accent, #fff); }
.deskday__item.is-invited { background: var(--accent-soft); box-shadow: inset 0 0 0 1.5px var(--accent-text); }
.deskday__item.is-open { box-shadow: inset 0 0 0 1.5px var(--ink); }
.deskday__more { font-size: 12px; font-weight: 600; }

.homedesk__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.homedesk__main, .homedesk__rail { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.deskcard { padding: 16px; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); gap: 8px; }
.deskcard .homesec__head { margin-bottom: 2px; }
.deskrows { display: grid; gap: 2px; }
.deskrow { display: flex; align-items: center; gap: 10px; padding: 8px; margin: 0 -8px; border-radius: 10px; color: var(--ink); text-decoration: none; min-width: 0; }
.deskrow:hover { background: var(--fill, rgba(21, 19, 15, .05)); text-decoration: none; }
.deskrow__icon { flex: none; display: grid; place-items: center; }
.deskrow__icon .bandmark { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; box-shadow: none; }
.deskrow__icon .dateblock { transform: scale(.8); }
.deskrow__main { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.deskrow__main b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deskrow__main small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.deskrow.is-unread .deskrow__main small { color: var(--ink); font-weight: 600; }
.deskrow__meta { flex: none; font: 11px/1 var(--f-mono); color: var(--muted); }
.deskrow__fit { flex: none; font: 700 13px/1 var(--f-mono); color: var(--accent-text); }

.desktable { overflow-x: auto; border-radius: 16px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.desktable table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.desktable th { padding: 14px 10px; text-align: left; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.desktable th:first-child, .desktable td:first-child { padding-left: 16px; }
.desktable th:last-child, .desktable td:last-child { padding-right: 16px; }
.desktable td { padding: 12px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.desktable tbody tr:hover { background: var(--accent-soft); }
.desktable__when { white-space: nowrap; font: 13px/1.35 var(--f-mono); }
.desktable__when small { color: var(--muted); font: inherit; }
.desktable__jam { display: block; font-weight: 700; color: var(--ink); }
.desktable td:nth-child(2) { min-width: 190px; }
.desktable td small.muted { display: block; }
.desktable__slots { display: flex; gap: 4px; }
.dslot { width: 14px; height: 22px; border-radius: 4px; background: var(--c); }
.dslot.is-open { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.dslot.is-mine { box-shadow: inset 0 0 0 1.5px var(--c), 0 0 0 2px var(--accent-soft); }
.desktable__why { max-width: 220px; font-size: 13px; line-height: 1.35; }
.desktable__why.is-strong { color: var(--accent-text); font-weight: 600; }
.desktable__cta { text-align: right; }
.desktable__cta .btn { white-space: nowrap; background: var(--fill, rgba(21, 19, 15, .07)); color: var(--ink); box-shadow: none; }
.desktable tr:hover .desktable__cta .btn, .desktable__cta .btn:focus-visible { background: var(--accent); color: var(--on-accent, #fff); }
/* Narrower computers: the right column moves below, its cards side by side */
@media (max-width: 1240px) {
  .homedesk__grid { grid-template-columns: minmax(0, 1fr); }
  .homedesk__rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); align-items: start; }
}

/* ---- Jams on computers: filters · list · map (js/jamsmap.js) ---------------------------- */
.main > .page.jamspage { max-width: 1280px; }
.jxdesk { display: grid; grid-template-columns: 240px minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.jxdesk__filters { position: sticky; top: 24px; }
.jxdesk__filters .jfpanel { margin: 0; }
.jxdesk__list { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jxdesk__list > * { margin-block: 0; }
.jxdesk__list .jxbar__filters { display: none; }
.jxdesk__list .jamgrid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.jxdesk__map { position: sticky; top: 24px; height: calc(100dvh - 48px); max-height: 780px; min-height: 420px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--panel); }
.jxmap { width: 100%; height: 100%; }
.jcard.is-lit { box-shadow: 0 0 0 2px var(--accent), 0 10px 24px rgba(228, 81, 27, .18); }
@media (max-width: 1280px) {
  .jxdesk { grid-template-columns: 220px minmax(0, 1fr); }
  .jxdesk__map { display: none; }
}
/* The wall's side: requests get room for both buttons; sections inside one card breathe */
.wallwide__side .sidecard .frows + .subtitle { margin-top: 14px; }
.wallwide__side .frow--req { flex-wrap: wrap; }
.wallwide__side .frow--req .frow__who { flex: 1 1 100%; min-width: 0; }
.wallwide__side .frow--req .frow__act { width: 100%; padding-left: 52px; }
.wallwide__side .frow--req .frow__act .btn { flex: 1; }

/* ---- Floating messages on computers (js/dock.js) ----------------------------------------- */
.dock { position: fixed; z-index: 45; right: 24px; bottom: 0; display: flex; align-items: flex-end; gap: 14px; pointer-events: none; }
.dock[hidden] { display: none; }
.dock > * { pointer-events: auto; }
body:has(> .dock:not([hidden])) > .chatfab { display: none; }
.dockbtn { width: 34px; height: 34px; flex: none; border: 0; border-radius: 8px; display: grid; place-items: center; background: transparent; color: var(--ink); cursor: pointer; }
.dockbtn:hover { background: var(--fill); color: var(--ink); }
.dockbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dockpill {
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--ink); font: inherit; cursor: pointer;
  box-shadow: 0 8px 26px rgba(21, 19, 15, .18);
}
.dockpill:hover { box-shadow: 0 10px 30px rgba(21, 19, 15, .24); }
.dockpill b { font-size: 16px; }
.dockpill__chat { position: relative; display: grid; }
.dockpill__chat svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.dockpill__chat .badge { position: absolute; right: -9px; bottom: -7px; box-shadow: 0 0 0 2px var(--panel); }
.dockpill__faces { display: flex; padding-left: 4px; }
.dockpill__faces:empty { display: none; }
.dockpill__faces > * { margin-left: -8px; box-shadow: 0 0 0 2px var(--panel); border-radius: 50%; }
.dockpill__faces > :first-child { margin-left: 0; }
.dockpill__faces .avatar { width: 30px; height: 30px; font-size: 11px; }
.dockpill__icon { width: 30px; height: 30px; overflow: hidden; display: grid; place-items: center; }

.dockpanel, .dockwin {
  display: flex; flex-direction: column; border-radius: 16px 16px 0 0; background: var(--panel);
  border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 -6px 30px rgba(21, 19, 15, .16); overflow: hidden;
}
.dockpanel { width: 370px; height: min(600px, calc(100vh - 90px)); }
.dockpanel__head { display: flex; align-items: center; gap: 6px; padding: 14px 10px 6px 18px; }
.dockpanel__head h2 { flex: 1; margin: 0; display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; }
.dockpanel__tools { display: grid; gap: 10px; padding: 0 14px 10px; }
.dockpanel__tools .inboxfilters { display: flex; flex-wrap: wrap; gap: 6px; }
.dockpanel__rows { flex: 1; min-height: 0; overflow-y: auto; padding: 0 6px 8px; }
.dockpanel__none { margin: 24px 16px; color: var(--muted); text-align: center; font-size: 14px; }
.dockpanel__all { padding: 12px; border-top: 1px solid var(--line); text-align: center; font-weight: 700; color: var(--accent-text); text-decoration: none; }
.dockpanel__all:hover { background: var(--fill); }

.dockrow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.dockrow:hover, .dockrow.is-open { background: var(--fill); color: var(--ink); text-decoration: none; }
.dockrow__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.dockrow__icon .avatar { width: 46px; height: 46px; }
.dockrow__icon .inboxrow__date { transform: scale(.85); }
.dockrow__main { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.dockrow__main b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dockrow__main > span { display: flex; min-width: 0; font-size: 13.5px; color: var(--muted); }
.dockrow__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dockrow__when { flex: none; white-space: nowrap; }
.dockrow.is-unread b { font-weight: 800; }
.dockrow.is-unread .dockrow__text { color: var(--ink); font-weight: 650; }
.dockrow__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

.dockwin { width: 340px; height: min(480px, calc(100vh - 90px)); }
.dockwin__head { display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px 12px; border-bottom: 1px solid var(--line); }
.dockwin__icon { flex: none; display: grid; place-items: center; text-decoration: none; }
.dockwin__icon .avatar { width: 36px; height: 36px; }
.dockwin__icon .bandmark { width: 36px; height: 36px; font-size: 13px; }
.dockwin__day { width: 36px; height: 38px; border-radius: 9px; background: var(--stage); color: #F4F0E6; display: grid; place-items: center; align-content: center; line-height: 1; }
.dockwin__day small { font: 700 9px/1 var(--f-mono); text-transform: uppercase; color: #FF7A45; }
.dockwin__day b { font-size: 16px; }
.dockwin__who { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.dockwin__who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dockwin__who small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dockwin__jam { display: flex; align-items: center; gap: 8px; padding: 7px 12px; background: var(--accent-soft); color: var(--ink); font-size: 12.5px; text-decoration: none; }
.dockwin__jam:hover { color: var(--ink); text-decoration: none; }
.dockwin__jam b { font: 700 10px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.dockwin__jam span:not(.dockwin__see) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dockwin__see { flex: none; font-weight: 700; color: var(--accent-text); }
.dockwin__thread { flex: 1; min-height: 0; overflow-y: auto; padding: 10px 12px 14px; display: grid; gap: 5px; align-content: start; }
.dockwin__thread .msg--first { margin-top: 12px; }
.dockwin__thread .msg__meta { margin-bottom: 4px; }
.dockwin__thread .thread__day { margin: 18px 0 6px; }
.dockwin__thread .msg .avatar--sm { width: 26px; height: 26px; font-size: 10px; }
.dockwin__thread .msg__spacer { width: 26px; }
.dockwin__thread .bubble { padding: 7px 12px; font-size: 14px; line-height: 1.4; }
.dockwin__thread .bubble__photo { max-width: 200px; }
.dockwin__thread .thread__empty { font-size: 14px; }
.dockwin__note { margin: 0; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.dockwin__composer { display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); }
.dockwin__composer textarea { flex: 1; min-width: 0; min-height: 38px; max-height: 120px; box-sizing: border-box; padding: 8px 14px; border: 1px solid var(--line); border-radius: 19px; background: var(--bg); color: var(--ink); font: inherit; font-size: 14px; line-height: 1.4; resize: none; outline: none; }
.dockwin__composer textarea:focus { border-color: var(--sep); }
.dockwin__send { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent, #fff); display: grid; place-items: center; cursor: pointer; }
.dockwin__send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1023px) { .dock { display: none; } }
.dockrow__icon .bandmark { width: 46px; height: 46px; border-radius: 13px; font-size: 17px; box-shadow: none; }
.dockwin__icon .bandmark { border-radius: 10px; box-shadow: none; }
.dockpanel__tools .fchip { padding: 4px 9px; font-size: 12.5px; min-height: 0; }
.dockpanel__tools .inboxfilters { gap: 5px; }
.adesk__actions .artist__friend { color: #F4F0E6; box-shadow: inset 0 0 0 1.5px rgba(244, 240, 230, .3); }

/* ---- Computers: the sidebar folded into a rail of icons (the toggle at its top; js/app.js) ---- */
@media (min-width: 1024px) {
  .nav, .nav--5 { transition: width .2s ease, padding .2s ease; }
  body:has(> .nav) .main { transition: margin-left .2s ease; }
  html.nav-compact { --side: 76px; }
  .nav-compact .nav { padding: 20px 12px 16px; }
  .nav-compact .nav__top { justify-content: center; padding: 0; }
  .nav-compact .nav__brand { display: none; }
  .nav-compact .nav__label, .nav-compact .nav__me > span:not(.avatar) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-compact .nav .nav__item { justify-content: center; padding: 12px 0; }
  .nav-compact .nav .nav__item .badge { position: absolute; top: 3px; right: 5px; margin: 0; min-width: 18px; height: 18px; padding: 0 5px; font-size: 11px; line-height: 18px; }
  .nav-compact .nav__new { width: 48px; min-height: 48px; padding: 0; margin: 14px auto 0; border-radius: 50%; font-size: 22px; }
  .nav-compact .nav__foot { flex-direction: column; gap: 10px; padding: 12px 0 0; }
  .nav-compact .nav__me { flex: none; padding: 4px; margin: 0; }
  .nav-compact .nav__foot .bell { margin: 0; } /* its margin-left: auto pushed it right of the photo */
  /* Names show as a label beside the icon on hover, like Suno */
  .nav-compact .nav [data-tip]:hover::after, .nav-compact .nav [data-tip]:focus-visible::after {
    content: attr(data-tip); position: absolute; z-index: 50; left: calc(100% + 12px); top: 50%; transform: translateY(-50%);
    padding: 7px 12px; border-radius: 10px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; line-height: 1.2;
    white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  }
  .nav-compact .nav [data-tip] { position: relative; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .nav, .nav--5, body:has(> .nav) .main { transition: none; } }

/* Search boxes (Home on computers, the inbox, the floating messages): one slim field; the input
   inside drops the app's big form-field look so there's a single border and focus ring. */
.desksearch { width: 300px; padding: 6px 12px; border-radius: 10px; }
.inboxsearch { padding: 6px 12px; border-radius: 10px; }
.desksearch > input:not([type="checkbox"]):not([type="radio"]), .inboxsearch > input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 0; height: 26px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 14.5px; -webkit-appearance: none; appearance: none;
}
.desksearch > input:focus-visible, .inboxsearch > input:focus-visible { outline: none; }

/* Phones and tablets: the tab bar shows only icons (their names stay for screen readers) */
@media (max-width: 1023px) {
  .nav .nav__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav .nav__item svg { display: block; width: 26px; height: 26px; }
}

/* Phones: the logo bar only on Home. Jams, Messages, Community, My business and Search put the
   screen's own title in that bar (search, bell and you on the right), so the page doesn't repeat it. */
.top__title { flex: 1; min-width: 0; margin: 0; font-family: var(--f-poster); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top--titled { border-bottom: 0; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 6px; }
@media (max-width: 1023px) {
  .top--titled ~ .main .page > .pagehead, .top--titled ~ .main .biz > .title { display: none; }
  .top--titled ~ .main { padding-top: 12px; }
}
/* Phones: in the top bar My business is just its icon (with its count), so the logo or title fits */
.top .bizchip { position: relative; width: 40px; height: 40px; padding: 0; margin-right: 0; justify-content: center; }
.top .bizchip svg { width: 21px; height: 21px; }
.top .bizchip__label { display: none; }
.top .bizchip .badge { position: absolute; top: -2px; right: -4px; }
.top__title { font-size: clamp(28px, 9vw, 36px); }
.top .topsearch, .top .bell { width: 38px; }
/* Home: BACKLINE in the same type and bar as the other screens' titles (no icon, no line) */
.top--brand { border-bottom: 0; padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 6px; }
.top__brand { text-decoration: none; }
.top__brand:hover { color: var(--ink); text-decoration: none; }

/* Backline panel → Features: one switch per section */
.featurelist { display: grid; gap: 14px; margin-top: 14px; }
.featurerow span { display: grid; gap: 2px; }
.featurerow small { font-size: 13px; }

/* Computers: the musicians' filter row sits inside the page (on phones it scrolls edge to edge) */
@media (min-width: 1024px) { .filters { margin: 0 0 24px; padding: 2px 0 4px; } }

/* ---- Messages on computers, like a desktop messenger (js/chat.js chatSide) -----------------
   Inbox on the page's background, the conversation in a card that scrolls inside, and what it's
   about in a card on the right (from 1300 px; the (i) button hides it). Fills the window. */
@media (min-width: 1024px) {
  body:has(> .nav) .main:has(> .inboxpane) {
    display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; align-items: stretch;
    height: 100dvh; box-sizing: border-box; padding: 14px 14px 14px 8px; max-width: none; overflow: hidden;
  }
  .main:has(> .inboxpane) > .verifybar { display: none; }
  .inboxpane { position: static; top: auto; height: 100%; max-height: none; min-height: 0; overflow-y: auto; padding: 6px 6px 6px 8px; }
  .inboxpane > .pagehead { margin: 2px 4px 12px; }
  .inboxpane > .pagehead .title { font-size: 40px; }
  .inboxpane .inboxsearch { border-radius: 999px; box-shadow: none; background: var(--fill); }
  .inboxpane .inboxsearch:focus-within { box-shadow: 0 0 0 2px var(--accent); }
  .inboxpane .inboxfilters .fchip { box-shadow: none; background: transparent; }
  .inboxpane .inboxfilters .fchip.on { background: var(--accent-soft); color: var(--accent-text); }
  .inboxpane .rows { background: none; box-shadow: none; border-radius: 0; }
  .inboxpane .inboxrow { border-radius: 12px; border: 0; padding: 9px 10px; }
  .inboxpane .inboxrow::after, .inboxpane .inboxrow + .inboxrow::before { display: none; }
  .inboxpane .inboxrow:hover { background: var(--fill); }
  .inboxpane .inboxrow__icon .avatar { width: 52px; height: 52px; }
  .inboxpane .inboxrow.is-unread b { font-weight: 800; }

  .main:has(> .inboxpane) > .page { width: auto; max-width: none; margin: 0; min-width: 0; min-height: 0; height: 100%; }
  .main:has(> .inboxpane) > .chat, .main:has(> .inboxpane) > .msgpick {
    display: flex; flex-direction: column; padding: 0; border-radius: 18px; background: var(--panel);
    box-shadow: 0 0 0 1px var(--line), 0 2px 10px rgba(21, 19, 15, .05); overflow: hidden;
  }
  .main:has(> .inboxpane) > .msgpick { display: grid; place-items: center; min-height: 0; }
  .inboxpane ~ .chat > .chatbar { display: flex; align-items: center; gap: 12px; flex: none; padding: 12px 14px 12px 16px; border-bottom: 1px solid var(--line); }
  .inboxpane ~ .chat .chatbar__back { display: none; }
  .inboxpane ~ .chat .chat__head {
    flex: 1; min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 0;
    justify-items: start; align-items: center; text-align: left; padding: 0; margin: 0; border: 0;
  }
  .inboxpane ~ .chat .chat__faces, .inboxpane ~ .chat .chat__who { grid-row: 1 / 3; }
  .inboxpane ~ .chat .chat__faces .avatar:nth-child(n + 4) { display: none; }
  .inboxpane ~ .chat .chat__faces .avatar { position: relative; width: 34px; height: 34px; font-size: 12px; }
  .inboxpane ~ .chat .chat__faces .avatar + .avatar { margin-left: -9px; }
  .inboxpane ~ .chat .chat__who .avatar { width: 44px; height: 44px; font-size: 15px; }
  .inboxpane ~ .chat .chat__title { margin: 0; font-family: var(--f-display); font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: 0; text-transform: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .inboxpane ~ .chat .chat__head p { max-width: 100%; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chat__acts { flex: none; display: flex; gap: 2px; }
  .chat__act { width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--accent-text); cursor: pointer; }
  .chat__act:hover { background: var(--accent-soft); color: var(--accent-text); }
  .chat__act svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .chat__act--info[aria-pressed="true"] { background: var(--accent-soft); }
  .inboxpane ~ .chat .thread { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; overscroll-behavior: contain; }
  .inboxpane ~ .chat .thread > :first-child { margin-top: auto; }
  .inboxpane ~ .chat .thread .msg { max-width: 72%; }
  .inboxpane ~ .chat .thread .msg--mine { align-self: flex-end; }
  .inboxpane ~ .chat .thread .thread__day, .inboxpane ~ .chat .thread .thread__note, .inboxpane ~ .chat .thread .thread__empty { align-self: center; }
  .inboxpane ~ .chat .composer {
    position: static; flex: none; margin: 0; padding: 10px 14px 14px; gap: 8px; align-items: center;
    background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; box-shadow: none;
  }
  .inboxpane ~ .chat .composer textarea { padding: 10px 18px !important; border-radius: 22px !important; background: var(--fill) !important; font-size: 15px; min-height: 42px !important; }
  .inboxpane ~ .chat .composer__send { width: 42px; height: 42px; }
  .inboxpane ~ .chat .composer__photo { color: var(--accent-text); }
  .inboxpane ~ .chat > .notice, .inboxpane ~ .chat > .dmrequest { margin: 0 16px 12px; flex: none; }
  .inboxpane ~ .chat > .safetyrow { flex: none; margin: 0 16px 10px; }

  .chatside { display: none; }
}
@media (min-width: 1300px) {
  body:has(> .nav) .main:has(> .chatside) { grid-template-columns: 340px minmax(0, 1fr) 320px; }
  html.chatside-off body:has(> .nav) .main:has(> .chatside) { grid-template-columns: 340px minmax(0, 1fr); }
  html.chatside-off .chatside { display: none !important; }
  .inboxpane ~ .chat:has(~ .chatside) > .safetyrow { display: none; } /* it's in the card's Privacy and help */
  html.chatside-off .inboxpane ~ .chat > .safetyrow { display: flex; }
  .chatside {
    display: flex; flex-direction: column; gap: 16px; position: static; top: auto; height: 100%; max-height: none; min-height: 0; overflow-y: auto;
    box-sizing: border-box; padding: 24px 18px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 2px 10px rgba(21, 19, 15, .05);
  }
}
.chatside__top { display: grid; justify-items: center; gap: 4px; text-align: center; }
.chatside__top .muted { font-size: 14px; }
.chatside__face { display: block; margin-bottom: 6px; text-decoration: none; }
.chatside__face .avatar { width: 96px; height: 96px; font-size: 32px; }
.chatside__face .bandmark--lg { position: static; width: 96px; height: 96px; border-radius: 24px; font-size: 34px; box-shadow: none; }
.chatside__day { width: 96px; height: 96px; margin-bottom: 6px; border-radius: 24px; display: grid; place-items: center; align-content: center; line-height: 1; text-decoration: none; color: #F4F0E6; background: linear-gradient(160deg, color-mix(in srgb, var(--gink, #E4511B) 70%, #12100E), #12100E); }
.chatside__day small { font: 700 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #FFB08F; }
.chatside__day b { font-size: 40px; font-weight: 800; }
.chatside__name { font-size: 20px; font-weight: 800; line-height: 1.2; }
.chatside__match { margin-top: 4px; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 600; }
.chatside__quick { display: flex; justify-content: center; gap: 22px; }
.chatside__q { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.chatside__q:hover { color: var(--ink); text-decoration: none; }
.chatside__qi { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--ink); }
.chatside__qi.is-accent { background: var(--accent); color: var(--on-accent, #fff); }
.chatside__q:hover .chatside__qi { filter: brightness(.95); }
.chatside__qi svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
details.chatside__sec { display: block; border-top: 1px solid var(--line); }
details.chatside__sec > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 2px; font-size: 15.5px; font-weight: 700; cursor: pointer; list-style: none; }
details.chatside__sec > summary::-webkit-details-marker { display: none; }
details.chatside__sec > summary::after { content: ''; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .15s; }
details.chatside__sec[open] > summary::after { transform: rotate(-135deg) translateY(-1px); }
.chatside__body { display: grid; gap: 6px; padding: 0 2px 14px; font-size: 14px; }
.chatside__body p { margin: 0 0 6px; }
.chatside__body .safetyrow { margin: 0; justify-content: flex-start; }
@media (max-width: 1299px) { .chat__act--info { display: none; } } /* no room for the details card */
/* Jam chats in the inbox: the date is a little calendar page, a bit taller than wide (not squat) */
.inboxrow__date .dateblock { height: 54px; align-content: center; gap: 1px; }
.inboxrow__date .dateblock__wd { padding: 0; }
.inboxrow__date .dateblock__d { font-size: 24px; padding: 0; }
@media (min-width: 1024px) { .inboxpane .inboxrow__date .dateblock { width: 50px; height: 56px; } }

/* Backline panel → Activity and a person's file (js/admin.js) */
.admin--wide { max-width: 1280px; }
.actwrap, .personwrap { display: grid; gap: 18px; margin-top: 16px; }
.actmain, .personmain { min-width: 0; display: grid; gap: 12px; align-content: start; }
.acttools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.actsearch { flex: 0 1 280px; border-radius: 999px; box-shadow: none; background: var(--fill); }
.actlist { border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.actlist--plain { border-radius: 0; box-shadow: none; background: none; }
.actday { display: flex; justify-content: space-between; margin: 0; padding: 12px 14px 6px; font: 700 11px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.actlist--plain .actday { padding: 10px 0 2px; }
.actrow { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.actlist--plain .actrow { padding: 4px 0 10px; border-top: 0; }
.actday + .actrow { border-top: 0; }
.actrow__time { width: 76px; flex: none; font: 12px/1.2 var(--f-mono); color: var(--muted); white-space: nowrap; }
.actrow__kind { width: 96px; flex: none; }
.actrow__kind { font-size: 12px; font-weight: 700; color: var(--c); }
.actrow__face { flex: none; display: grid; }
.actrow__face .avatar { width: 34px; height: 34px; font-size: 12px; }
.actrow__main { flex: 1; min-width: 0; display: grid; line-height: 1.3; color: var(--ink); text-decoration: none; }
.actrow__main:hover { color: var(--ink); text-decoration: none; }
.actrow__main:hover > span { text-decoration: underline; }
.actrow__main small { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actnone { margin: 0; padding: 24px; text-align: center; }
.actside { display: grid; gap: 14px; align-content: start; }
.actcard { display: grid; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.actcard h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.actcard p { margin: 0; }
.actstats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.actstats--five { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.actstat { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--fill); }
.actstat b { font: 400 26px/1 var(--f-poster); }
.actstat span { font-size: 12.5px; color: var(--muted); }
.actstat small { font-size: 12px; font-weight: 700; }
.actstat small.is-up { color: var(--ok, #1E9E45); }
.actstat small.is-down { color: var(--muted); }
.actfollow { display: flex; gap: 10px; align-items: flex-start; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.actfollow svg { width: 18px; height: 18px; flex: none; margin-top: 1px; fill: none; stroke: var(--accent-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.actfollow > span { flex: 1; min-width: 0; }
.actfollow small { display: block; color: var(--muted); font-size: 12.5px; }
.actfollow a { flex: none; font-size: 13px; font-weight: 700; }
.personcard { justify-items: center; text-align: center; }
.personcard__face .avatar { width: 96px; height: 96px; font-size: 32px; }
.personcard__name { font-size: 21px; font-weight: 800; }
.persondl { width: 100%; margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; text-align: left; font-size: 14px; }
.persondl dt { color: var(--muted); }
.persondl dd { margin: 0; overflow-wrap: anywhere; }
.personcard__acts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.personnote { margin: -4px 2px 0; font-size: 13px; }
.personcols { display: grid; gap: 14px; align-items: start; }
.personjams { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.personjams a { display: grid; color: var(--ink); text-decoration: none; font-size: 14px; }
@media (min-width: 1024px) {
  .actwrap { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .personwrap { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
  .personcols { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 700px) {
  .actrow { flex-wrap: wrap; row-gap: 2px; }
  .actrow__time { width: auto; order: 3; }
  .actrow__kind { width: auto; order: 4; }
  .actrow__main { flex-basis: calc(100% - 46px); order: 2; }
  .actrow__face { order: 1; }
}
@media (max-width: 1023px) { .actwrap .actside { order: -1; } }

/* Studio page, team only: months without commission as a deal */
.teamdeal { display: grid; gap: 8px; margin: 12px 0; box-shadow: inset 0 0 0 1.5px var(--accent-soft); }
.teamdeal .subtitle { margin: 0; }
.teamdeal p { margin: 0; }
.teamdeal__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.teamdeal__row .field { margin: 0; min-width: 180px; }
