/* =============================================================================
   THE ROOMS — additive layer on top of THE KIT (brand.css). Like deck.css /
   pulse-ui.css: NEVER edit the kit here; only community-specific structure +
   components. Tokens (--bg, --linen, --bronze, --spectrum, fonts) come from the
   kit; this file only arranges them. (vault §31 — the kit is the visual truth.)
   ============================================================================= */

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---- top bar (theme.js mounts the split-disc toggle into .nav) ------------- */
.nav { display: flex; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; padding: 22px 24px; }
.brandmark { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif;
  font-size: 19px; letter-spacing: .01em; color: var(--linen); text-decoration: none; }
.brandmark .dot { color: var(--bronze); }
.navlinks { display: flex; gap: 18px; align-items: center; font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.navlinks a { color: var(--muted); text-decoration: none; }
.navlinks a:hover { color: var(--linen); }

/* ---- the spectrum hairline — MOTION only (canon §38: a static rainbow reads
   cheap; the spectrum lives in the drift). Reuses the kit's drift-af animation
   (brand.css), so the colours shimmer across the bar rather than sit still. -- */
.hair { height: 3px; width: 80px; border-radius: 2px; margin: 0 0 26px;
  background-image: var(--spectrum); background-size: 300% auto;
  animation: drift-af 20s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hair { animation: none; background-image: none; background: var(--bronze); } }

/* ---- sign-in landing ------------------------------------------------------- */
.landing { padding: 12vh 0 8vh; }
.landing h1 { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif;
  font-weight: 400; font-size: clamp(38px, 7vw, 60px); line-height: 1.04; margin: 0 0 18px; color: var(--linen); }
.landing .lede { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: clamp(19px, 3vw, 24px); line-height: 1.5; color: var(--muted); margin: 0 0 36px; max-width: 30ch; }

.signin { max-width: 420px; }
.signin label { display: block; font-family: 'Inter', sans-serif; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin: 0 0 10px; }
.signin .row { display: flex; gap: 10px; flex-wrap: wrap; }
.signin input[type=email] { flex: 1 1 220px; min-width: 0; background: var(--panel);
  border: 1px solid var(--line); color: var(--linen); font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px; padding: 14px 16px; border-radius: 2px; }
.signin input[type=email]:focus { outline: none; border-color: var(--bronze); }
.btn { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .26em; text-transform: uppercase;
  background: transparent; color: var(--bronze); border: 1px solid var(--bronze); padding: 14px 30px;
  border-radius: 2px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--bronze); color: var(--obsidian); }
.btn[disabled] { opacity: .5; cursor: default; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.note { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; line-height: 1.55;
  color: var(--muted); margin: 18px 0 0; max-width: 42ch; }
.note.err { color: #d98a6a; }
.hrt { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- the app shell --------------------------------------------------------- */
.shell { padding: 28px 0 80px; }
.wall { padding: 14vh 0; text-align: left; }
.wall h2 { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: clamp(30px, 5vw, 42px); margin: 0 0 14px; color: var(--linen); }

.rooms { display: grid; gap: 16px; margin: 22px 0 0; }
.room-card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line);
  border-radius: 4px; padding: 22px 24px; transition: border-color .2s; }
.room-card:hover { border-color: var(--bronze); }
.room-card .rt { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-size: 23px;
  color: var(--linen); margin: 0 0 6px; }
.room-card .rb { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; color: var(--muted);
  line-height: 1.5; margin: 0; }
.room-card .tag { float: right; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.room-card .tag.in { color: var(--bronze); border-color: var(--bronze); }

.roomhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line); padding: 0 0 18px; margin: 0 0 22px; }
.roomhead h2 { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: clamp(28px, 5vw, 40px); margin: 0; color: var(--linen); }
.back { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; }
.back:hover { color: var(--linen); }

/* ---- owner strip (admin: create room / comp a grant) ----------------------- */
.owner { margin: 30px 0 0; padding: 18px 20px; border: 1px dashed var(--line); border-radius: 4px; }
.owner h3 { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone); margin: 0 0 14px; }
.owner .f { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 10px; }
.owner input { background: var(--bg); border: 1px solid var(--line); color: var(--linen);
  font-family: 'Inter', sans-serif; font-size: 13px; padding: 9px 11px; border-radius: 2px; }
.owner .btn { padding: 9px 18px; font-size: 11px; }
.tiny { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--stone); }

.foot { margin: 60px 0 0; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--stone); }
.foot a { color: var(--muted); text-decoration: none; }

/* =============================================================================
   STAGE 1 — the feed. Additive layer; tokens (--bg/--linen/--bronze/--spectrum/
   --panel/--line/--muted/--stone) all come from THE KIT (brand.css). §31.
   ============================================================================= */

/* shared view heading */
.vh { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: clamp(28px, 5vw, 38px); margin: 0 0 6px; color: var(--linen); }
.nl { color: var(--muted); text-decoration: none; }
.nl:hover { color: var(--linen); }

/* notification bell + badge */
.bell { position: relative; display: inline-flex; align-items: center; color: var(--muted); }
.bell:hover { color: var(--linen); }
.bell svg { display: block; }
.bell .badge { position: absolute; top: -7px; right: -9px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: var(--bronze); color: var(--obsidian); font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500; line-height: 16px; text-align: center; }

/* avatars (initials disc, or a url image) */
.av { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background-size: cover; background-position: center; flex: 0 0 auto;
  font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: .02em; color: var(--linen);
  border: 1px solid var(--line); }
.av-i { background: var(--panel); color: var(--bronze); }
.who.sm .av { width: 32px; height: 32px; font-size: 12px; }

/* the founder pin slot */
.pinwrap { margin: 4px 0 6px; }
.post.is-pin { border-color: rgba(176,128,48,.5); background:
  linear-gradient(0deg, var(--panel), var(--panel)) padding-box; box-shadow: inset 2px 0 0 var(--bronze); }
.pintag { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze); margin-right: 12px; }

/* composer */
.composer { margin: 18px 0 26px; }
.composer.flat { margin: 0 0 22px; }
.composer .hair { margin: 0 0 16px; }
.composer .chint { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px;
  color: var(--muted); margin: 0 0 10px; }
.composer textarea, .finput { width: 100%; box-sizing: border-box; background: var(--panel);
  border: 1px solid var(--line); color: var(--linen); font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px; line-height: 1.5; padding: 13px 15px; border-radius: 3px; resize: vertical; }
.composer textarea:focus, .finput:focus { outline: none; border-color: var(--bronze); }
.crow { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: 10px 0 0; }
.crow .tiny { margin-right: auto; }

/* a post */
.feed { display: flex; flex-direction: column; gap: 14px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 18px 20px; }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.who { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.who .nm { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-size: 17px; color: var(--linen); }
.introtag { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--stone); border: 1px solid var(--line); border-radius: 99px; padding: 2px 7px; margin-left: 9px; vertical-align: middle; }
.when { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--stone); white-space: nowrap; }
.pbody { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; line-height: 1.6; color: var(--linen);
  white-space: normal; word-wrap: break-word; overflow-wrap: anywhere; }
.pbody.gone, .cbody.gone, .cmt.gone { color: var(--stone); font-style: italic; }

/* post actions */
.pacts { display: flex; align-items: center; gap: 16px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.pacts .spacer { flex: 1; }
.act { font-family: 'Inter', sans-serif; font-size: 13px; color: var(--muted); background: none; border: none;
  cursor: pointer; padding: 0; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.act:hover { color: var(--linen); }
.act.sub { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); }
.act.sub:hover { color: var(--bronze); }
.act.mini { margin-left: 10px; font-size: 10px; }
.resonate .hh { color: var(--stone); transition: none; font-size: 15px; line-height: 1; }
.resonate.on .hh { background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent; }
.resonate.on .ct { color: var(--linen); }

/* empty-state guard + load more */
.empty { padding: 26px 0; border: 1px dashed var(--line); border-radius: 5px; text-align: center; }
.empty .note { margin: 0 auto; max-width: 36ch; }
.more { display: flex; justify-content: center; margin: 22px 0 0; }
.btn.ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn.ghost:hover { color: var(--linen); border-color: var(--bronze); background: transparent; }

/* comments */
.cwrap { margin: 30px 0 0; }
.ch { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--stone); margin: 0 0 16px; }
.cmts { display: flex; flex-direction: column; gap: 16px; }
.cmt { display: flex; gap: 12px; }
.cmt.gone { padding: 6px 0; }
.cmain { flex: 1; min-width: 0; }
.ctop { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; }
.cnm { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-size: 15px; color: var(--linen); text-decoration: none; }
.cbody { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; line-height: 1.55; color: var(--linen);
  word-wrap: break-word; overflow-wrap: anywhere; }

/* profile */
.prof { padding: 24px 0 0; max-width: 460px; }
.prof .pav { margin: 0 0 16px; }
.prof .pav .av { width: 72px; height: 72px; font-size: 24px; }
.prof .bio { font-size: 19px; color: var(--linen); margin: 14px 0 0; }
.prof.edit .flbl { display: block; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone); margin: 18px 0 8px; }

/* notifications */
.nlist { display: flex; flex-direction: column; gap: 2px; margin: 18px 0 0; }
.nrow { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; color: var(--muted); line-height: 1.5; }
.nrow:hover { color: var(--linen); }
.nrow .nactor { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; color: var(--linen); }
.nrow .nprev { display: block; font-style: italic; color: var(--stone); font-size: 16px; margin: 2px 0 0; }
.nrow .when { display: inline-block; margin: 4px 0 0; }

/* =============================================================================
   STAGE 2 — sprints · admin · join. Additive; kit tokens only (§31).
   ============================================================================= */
.roomhead .rhlinks { display: inline-flex; gap: 16px; align-items: baseline; }
.rhlinks a { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; }
.rhlinks a:hover { color: var(--bronze); }

/* sprint cards */
.sprint-card { display: block; text-decoration: none; background: var(--panel); border: 1px solid var(--line);
  border-radius: 5px; padding: 20px 22px; transition: border-color .2s; }
.sprint-card:hover { border-color: var(--bronze); }
.sprint-card .tag { float: right; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone); border: 1px solid var(--line); border-radius: 99px; padding: 4px 10px; }
.sprint-card .tag.in { color: var(--bronze); border-color: var(--bronze); }
.sprint-card .rt { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-size: 21px; color: var(--linen); margin: 0 0 6px; }
.sprint-card .rb { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; color: var(--muted); margin: 0 0 12px; }
.prog { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 0 0 8px; }
.prog .bar { height: 100%; background-image: var(--spectrum); background-size: 300% auto; animation: drift-af 20s linear infinite; }
@media (prefers-reduced-motion: reduce) { .prog .bar { animation: none; background: var(--bronze); } }

/* lessons */
.lessons { display: flex; flex-direction: column; gap: 10px; }
.lesson { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line);
  border-radius: 5px; padding: 16px 18px; }
.lesson.locked { opacity: .62; }
.lesson .ln { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-size: 13px; color: var(--muted); }
.lesson .ln.done { border-color: var(--bronze); color: var(--bronze); }
.lmain { flex: 1; min-width: 0; }
.lesson .lt { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-size: 17px; color: var(--linen); margin: 0 0 4px; }
.lesson .lock { color: var(--stone); display: inline-flex; align-items: center; }
.lacts { display: flex; align-items: center; gap: 14px; margin: 10px 0 0; }
.tiny.done { color: var(--bronze); }
.btn.sm { padding: 8px 16px; font-size: 11px; }

/* admin */
.adminhead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; margin: 20px 0 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 5px; padding: 16px 14px; text-align: center; }
.stat .sn { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-size: 28px; color: var(--linen); margin: 0; }
.stat .sl { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin: 4px 0 0; }
.mtable { width: 100%; border-collapse: collapse; }
.mtable th { text-align: left; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mtable td { padding: 10px; border-bottom: 1px solid var(--line); font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px; color: var(--linen); }
.modlist { display: flex; flex-direction: column; gap: 8px; }
.modrow { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; }
.modbody { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; color: var(--linen); margin: 4px 0 0; }

/* =============================================================================
   CHANNELS — optional lanes over the "All" feed (A3 hybrid). Additive; kit
   tokens only (§31). The unread marker is a SOLID bronze dot, not a static
   spectrum (§38 — the spectrum lives in motion, never a still rainbow).
   ============================================================================= */
.chbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 20px; }
.chtab { position: relative; font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: transparent; border: 1px solid var(--line);
  border-radius: 99px; padding: 7px 15px; cursor: pointer; white-space: nowrap; transition: border-color .2s, color .2s; }
.chtab:hover { color: var(--linen); border-color: var(--bronze); }
.chtab.on { color: var(--bronze); border-color: var(--bronze); }
.chdot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze);
  margin-left: 7px; vertical-align: middle; }
.chmanage { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone); background: transparent; border: 1px dashed var(--line); border-radius: 99px;
  padding: 7px 13px; cursor: pointer; margin-left: auto; }
.chmanage:hover { color: var(--bronze); border-color: var(--bronze); }

/* channel chip on a post (only in the merged All view) — clickable to switch */
.chanchip { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--stone); background: transparent; border: 1px solid var(--line); border-radius: 99px;
  padding: 2px 9px; margin-right: 12px; cursor: pointer; vertical-align: middle; }
.chanchip:hover { color: var(--bronze); border-color: var(--bronze); }

/* composer posting target (label, or the channel picker in All) */
.ctarget { margin-right: auto; font-family: 'Inter', sans-serif; font-size: 12px; color: var(--stone);
  display: inline-flex; align-items: center; gap: 7px; }
.ctarget b { color: var(--bronze); font-weight: 500; }
.chsel { background: var(--bg); border: 1px solid var(--line); color: var(--linen); font-family: 'Inter', sans-serif;
  font-size: 12px; padding: 6px 8px; border-radius: 2px; cursor: pointer; }
.chsel:focus { outline: none; border-color: var(--bronze); }

/* owner channel manager */
.chmgr { display: flex; flex-direction: column; gap: 12px; max-width: 480px; }
.chrow { display: flex; align-items: center; gap: 8px; }
.chrow .chname { flex: 1; font-size: 16px; padding: 9px 12px; }
.chrow.add { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.chrow.add .finput { flex: 1; }

/* =============================================================================
   AVATAR — upload + crop (R2-backed). Kit tokens only (§31).
   ============================================================================= */
.avedit { display: flex; align-items: center; gap: 18px; margin: 4px 0 6px; }
.avbig .av { width: 84px; height: 84px; font-size: 28px; }
.avbtns { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.avbtns .tiny { margin: 0; }

/* cropper overlay */
.cropmask { position: fixed; inset: 0; z-index: 50; background: rgba(8,7,6,.86);
  display: flex; align-items: center; justify-content: center; padding: 24px; }
.cropwrap { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 22px;
  max-width: 320px; width: 100%; }
.croptitle { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--stone); margin: 0 0 14px; text-align: center; }
.cropbox { position: relative; overflow: hidden; border-radius: 50%; margin: 0 auto; cursor: grab;
  background: var(--bg); border: 1px solid var(--line); touch-action: none; box-shadow: 0 0 0 1px var(--bronze) inset; }
.cropbox:active { cursor: grabbing; }
.czoom { width: 100%; margin: 18px 0 4px; accent-color: var(--bronze); }
.croprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; }
.croprow .tiny { margin: 0 auto 0 0; }

/* join / checkout */
.join { max-width: 640px; }
.join .kick { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bronze); margin: 0 0 16px; }
.join .jh { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: clamp(30px, 6vw, 50px); line-height: 1.08; color: var(--linen); margin: 0 0 16px; }
.join .lede { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(18px, 3vw, 23px);
  color: var(--muted); line-height: 1.5; margin: 0 0 28px; max-width: 40ch; }
.join .incl { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 12px; }
.join .incl li { position: relative; padding-left: 26px; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px; color: var(--linen); line-height: 1.45; }
.join .incl li::before { content: '\2192'; position: absolute; left: 0; color: var(--bronze); }
.join .cta { margin: 0 0 30px; }
.btn.lg { padding: 17px 44px; font-size: 13px; }

/* ---- scalps + SEAL Squads (LazyFit gamification) ---------------------------
   The badge / verified state is a SOLID bronze fill, never the spectrum — a
   static scalp must not read cheap (canon §38: the spectrum lives in motion). */
.scsub { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: 20px; color: var(--linen); margin: 30px 0 8px; }

.sqcard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 20px 0; }
.sqhead { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 14px; }
.sqhead h3 { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: 19px; color: var(--linen); margin: 0; }
.sqcount { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .12em; color: var(--stone); }
.sqmems { display: flex; flex-direction: column; gap: 10px; }
.sqmem { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.sqmem .av { width: 34px; height: 34px; font-size: 13px; }
.sqmem .sqnm { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; color: var(--linen); }
.sqrole { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 20px; border: 1px solid var(--line); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sqrole.lead { color: var(--bronze); border-color: var(--bronze); }
.sqrole.lead svg { fill: var(--bronze); }
.sqrole.me { color: var(--linen); }
.sqlead { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 16px;
  color: var(--muted); margin: 14px 0 0; }

.pwrap { display: flex; flex-direction: column; gap: 12px; margin: 12px 0 4px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.pcard .who { margin: 0 0 8px; }
.pclaim { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; color: var(--linen); margin: 0 0 6px; }
.pclaim b { font-family: 'Inter', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.pct { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .08em; color: var(--stone); margin-left: 6px; }
.pnote { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; color: var(--muted); margin: 0 0 10px; }
.pevd { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .1em; color: var(--bronze); text-decoration: none; }
.prow { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-top: 8px; }
.prow .tiny { margin-right: auto; }

.track { margin: 16px 0 22px; }
.trhead { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }
.trhead h3 { font-family: 'Inter', sans-serif; font-size: 13px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--bronze); margin: 0; }
.trbl { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 16px; color: var(--muted); }
.chiprow { display: flex; flex-wrap: wrap; gap: 9px; }
.tchip { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--muted);
  background: var(--bg); border: 1px solid var(--line); border-radius: 22px; padding: 9px 15px;
  display: inline-flex; align-items: center; gap: 7px; cursor: default; }
.tchip.locked { opacity: .55; }
.tchip.provisional { border-color: var(--bronze); color: var(--linen); border-style: dashed; }
.tchip.verified { background: var(--bronze); border-color: var(--bronze); color: var(--obsidian); font-weight: 600; }
.tchip.verified .tk { display: inline-flex; }
.tchip .tprov { font-size: 10px; letter-spacing: .06em; color: var(--bronze); margin-left: 2px;
  border: 1px solid var(--bronze); border-radius: 10px; padding: 1px 6px; }
.tchip.next { cursor: pointer; opacity: 1; color: var(--linen); border-style: solid; border-color: var(--stone); }
.tchip.next:hover { border-color: var(--bronze); }
.tchip .tclaim { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-left: 4px; }

.claimbox { background: var(--panel); border: 1px solid var(--bronze); border-radius: 12px; padding: 18px 20px; margin: 16px 0; }
.claimbox h3 { font-family: var(--serif-display, 'DM Serif Display'), Georgia, serif; font-weight: 400;
  font-size: 19px; color: var(--linen); margin: 0 0 12px; }
.clab { display: block; font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone); margin: 0 0 8px; }
.chsel.wide { width: 100%; max-width: 100%; margin: 0 0 12px; }
.clnote { width: 100%; box-sizing: border-box; background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  color: var(--linen); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; padding: 10px 12px; margin: 0 0 6px; }
.clnote:focus { outline: none; border-color: var(--bronze); }

.profscalps { margin: 20px 0 4px; }
.profscalps .scl { color: var(--bronze); letter-spacing: .14em; text-transform: uppercase; }
.bwrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.bdg { font-family: 'Inter', sans-serif; font-size: 11px; letter-spacing: .04em; color: var(--obsidian);
  background: var(--bronze); border-radius: 20px; padding: 6px 13px; }

/* squad roster as a scoreboard — each member's earned scalps shown inline */
.sqmem { flex-direction: column; align-items: stretch; gap: 6px; }
.sqtop { display: flex; align-items: center; gap: 11px; }
.sqtop .sqnm { flex: 1; }
.sqscalps { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 45px; }
.sqscalps.none { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 14px; color: var(--stone); }
.mbdg { font-family: 'Inter', sans-serif; font-size: 9px; letter-spacing: .08em; color: var(--obsidian);
  background: var(--bronze); border-radius: 16px; padding: 3px 9px; }

/* ---- post photos (Food Channel = photos first) ----------------------------- */
.pimg { margin: 0 0 12px; }
/* show the WHOLE plate — never crop a food photo. height:auto keeps the natural
   aspect; the max-height caps a tall portrait, and object-fit:contain letterboxes
   (on --bg) instead of distorting when that cap engages. */
.pimg img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain;
  border-radius: 10px; border: 1px solid var(--line); background: var(--bg); }
.post.is-pin .pimg img { max-height: 60vh; }

.cphoto { margin: 0 0 10px; }
.photobtn { display: inline-flex; align-items: center; gap: 9px; font-family: 'Inter', sans-serif;
  font-size: 12px; letter-spacing: .08em; color: var(--muted); background: var(--bg);
  border: 1px dashed var(--line); border-radius: 10px; padding: 11px 16px; cursor: pointer; }
.photobtn:hover { color: var(--linen); border-color: var(--bronze); }
.photobtn.big { width: 100%; justify-content: center; padding: 26px 16px; font-size: 13px; }
.photobtn svg { color: var(--bronze); }
.cthumb { position: relative; display: inline-block; margin: 0; }
.cthumb img { display: block; max-width: 100%; max-height: 320px; border-radius: 10px; border: 1px solid var(--line); }
.cthumbx { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%;
  border: none; background: rgba(14,13,9,.7); color: var(--linen); font-size: 18px; line-height: 1; cursor: pointer; }
.cthumbx:hover { background: var(--bronze); color: var(--obsidian); }
.composer.foodfirst .chint { color: var(--bronze); }
