/* JunaCircle design system ("Riverside Soft") — primitives shared by every member screen.
   Values come from design/web/w21-*.dc.html; colours from tokens.css so the dark scheme follows. */

/* ---- type ------------------------------------------------------------- */
.t4-mono { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); }
.t4-mono.lg { font-size: 12px; }
.t4-mono.ink { color: var(--jc-ink); }
.t4-mono.blue { color: var(--jc-primary-soft-text); }
.t4-mono.violet { color: var(--jc-violet-text); }
.jc-serif { font-family: var(--jc-font-serif); font-weight: 400; }
.jc-h1 { margin: 0; font-weight: 700; font-size: 40px; line-height: 1.05; letter-spacing: -.02em; }
.jc-h2 { margin: 0; display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.jc-h2 .t4-mono { color: var(--jc-ink2); }
.jc-h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.jc-lead { margin: 0; font-size: 16px; color: var(--jc-ink2); line-height: 1.5; }
.jc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.jc-link { font-size: 14px; font-weight: 600; color: var(--jc-primary-soft-text); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit; }
.jc-link:hover { text-decoration: underline; }
.jc-eyebrow { display: flex; align-items: center; gap: 6px; }
.jc-eyebrow a { color: inherit; text-decoration: none; }
kbd { font-family: var(--jc-font-mono); font-size: 11px; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--jc-outline); background: var(--jc-surface); color: var(--jc-ink2); }

/* ---- buttons ---------------------------------------------------------- */
.jc-btn, .jc-btn2, .jc-btn3, .jc-btn-danger { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; box-sizing: border-box; white-space: nowrap; }
.jc-btn { background: var(--jc-primary); border-color: var(--jc-primary); color: #fff; }
.jc-btn:hover { background: var(--jc-primary-hover); border-color: var(--jc-primary-hover); color: #fff; }
.jc-btn2 { background: var(--jc-surface); border-color: var(--jc-outline); color: var(--jc-ink); }
.jc-btn2:hover { background: var(--jc-ground); color: var(--jc-ink); }
.jc-btn3 { background: transparent; color: var(--jc-primary-soft-text); padding: 0 10px; }
.jc-btn3:hover { background: var(--jc-ground); }
.jc-btn-danger { background: var(--jc-danger); border-color: var(--jc-danger); color: #fff; }
.jc-btn-ink { background: var(--jc-ink); border-color: var(--jc-ink); color: var(--jc-surface); }
.jc-sm { height: 44px; font-size: 14px; padding: 0 16px; }
.jc-xs { height: 36px; font-size: 13px; padding: 0 12px; }
.jc-lg { height: 52px; font-size: 16px; padding: 0 28px; }
.jc-xl { height: 56px; font-size: 17px; padding: 0 28px; }
.jc-block { width: 100%; }
.jc-btn[disabled], .jc-btn2[disabled], .jc-btn3[disabled], .jc-btn-danger[disabled] { opacity: .5; cursor: default; }
.jc-icon { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--jc-hairline); background: var(--jc-surface); color: var(--jc-ink); display: inline-flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-sizing: border-box; flex: none; text-decoration: none; position: relative; }
.jc-icon:hover { background: var(--jc-ground); }
.jc-icon .jc-count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--jc-primary); color: #fff; border: 2px solid var(--jc-ground); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.jc-auth { height: 52px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; padding: 0 18px; box-sizing: border-box; text-decoration: none; width: 100%; border: 1px solid var(--jc-outline); background: var(--jc-surface); color: var(--jc-ink); }
.jc-auth.apple { border: 0; background: #000; color: #fff; }
.jc-auth.google { border-color: #747775; background: #fff; color: #1F1F1F; }

/* ---- pills, badges, chips, segments ----------------------------------- */
.jc-badge { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; box-sizing: border-box; border-radius: 999px; background: var(--jc-primary); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.jc-live, .jc-pend, .jc-wait, .jc-appr, .jc-tag, .jc-new, .jc-age, .jc-pill { height: 22px; padding: 0 9px 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; box-sizing: border-box; white-space: nowrap; }
.jc-live { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
.jc-live .dot, .jc-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--jc-live); display: inline-block; flex: none; }
.jc-pend { height: 26px; padding: 0 10px 0 8px; background: var(--jc-pending-bg); color: var(--jc-pending-text); font-size: 13px; gap: 6px; }
.jc-pend.sm, .jc-tag.sm { height: 24px; font-size: 12px; font-weight: 700; padding: 0 10px 0 8px; }
.jc-wait { background: var(--jc-waitlisted-bg); color: var(--jc-waitlisted-text); height: 26px; font-size: 13px; }
.jc-appr { background: var(--jc-live-pill); color: var(--jc-live-pill-text); height: 26px; font-size: 13px; }
.jc-tag { height: 24px; padding: 0 10px; background: var(--jc-violet-bg); color: var(--jc-violet-text); font-weight: 700; }
.jc-tag.blue { background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-tag.ink { background: var(--jc-ink); color: var(--jc-surface); height: 22px; font-size: 11px; padding: 0 8px 0 4px; }
.jc-tag.surface { background: var(--jc-surface); color: var(--jc-ink); box-shadow: var(--jc-shadow-flat); }
.jc-tag.moon { background: var(--jc-moon); color: #1D1B18; height: 28px; font-size: 13px; padding: 0 12px 0 5px; }
.jc-tag.glass { background: rgba(255,253,249,.14); color: #FFFDF9; font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; }
.jc-new { background: var(--jc-primary); color: #fff; height: 24px; font-size: 12px; font-weight: 700; padding: 0 9px; }
.jc-age { background: #FBE7E4; color: #8A2A1C; height: 24px; font-size: 12px; font-weight: 700; padding: 0 9px; }
.jc-pill { background: var(--jc-ground); color: var(--jc-ink); height: 28px; font-size: 13px; padding: 0 11px 0 9px; }
.jc-pill.open { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
.jc-pill.req { background: #FBEEDD; color: #7A410A; height: 26px; font-size: 12px; }
.jc-presents { height: 30px; padding: 0 12px 0 6px; border-radius: 999px; background: var(--jc-surface); color: var(--jc-ink); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
/* Filter chips (selected = ink) vs status pills above. */
.jc-chip { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--jc-hairline); background: var(--jc-surface); color: var(--jc-ink); font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; box-sizing: border-box; white-space: nowrap; text-decoration: none; }
.jc-chip:hover { background: var(--jc-ground); }
.jc-chip[aria-pressed="true"], .jc-chip.on { background: var(--jc-ink); border-color: var(--jc-ink); color: var(--jc-surface); }
.jc-chip[aria-pressed="true"] .t4-mono { color: inherit; }
.jc-chip.soft[aria-pressed="true"], .jc-chip.soft.on { background: var(--jc-primary-soft); border-color: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-chip.sm { height: 40px; padding: 0 14px; }
.jc-chip.dashed { border-style: dashed; border-color: var(--jc-outline); }
.jc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
/* Segmented control. */
.jc-seg { display: inline-flex; align-self: flex-start; padding: 3px; border-radius: 999px; background: var(--jc-ground); border: 1px solid var(--jc-hairline); gap: 2px; }
.jc-seg > button, .jc-seg > a { height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--jc-ink2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.jc-seg > [aria-pressed="true"], .jc-seg > .on { background: var(--jc-surface); color: var(--jc-ink); box-shadow: var(--jc-shadow-flat); }
.jc-seg > button .t4-mono { color: inherit; }
/* Join / select toggle (PickCircles). */
.jc-join { height: 44px; padding: 0 18px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; flex: none; border: 1px solid var(--jc-outline); background: var(--jc-surface); color: var(--jc-ink); }
.jc-join[aria-pressed="true"] { background: var(--jc-primary); border-color: var(--jc-primary); color: #fff; }

/* ---- avatars, tiles, stacks ------------------------------------------- */
.jc-av { border-radius: 999px; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; letter-spacing: .02em; overflow: hidden; box-sizing: border-box; }
.jc-av.ink { background: var(--jc-ink); color: var(--jc-surface); }
.jc-tile { border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #fff; font-weight: 700; letter-spacing: .01em; box-sizing: border-box; }
.jc-tile.dashed { border: 1.5px dashed var(--jc-outline); background: transparent; color: var(--jc-ink2); }
.jc-tile.soft { background: var(--jc-ground); color: var(--jc-ink); }
.jc-stack { display: inline-flex; }
.jc-stack > .jc-av + .jc-av, .jc-stack > span + span { margin-left: -8px; }
.jc-ic { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--jc-ground); color: var(--jc-ink); }
.jc-ic.sm { width: 34px; height: 34px; }
.jc-ic.xs { width: 32px; height: 32px; }
.jc-ic.live { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
.jc-ic.blue { background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-ic.amber { background: var(--jc-pending-bg); color: var(--jc-pending-text); }
.jc-ic.ink { background: var(--jc-ink); color: var(--jc-surface); }
.jc-ic.danger { background: var(--jc-danger-bg); color: var(--jc-danger); }
@keyframes jcPulse { 0% { transform: scale(.7); opacity: .7 } 100% { transform: scale(1.45); opacity: 0 } }
.jc-pulse { animation: jcPulse 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
@media (prefers-reduced-motion: reduce) { .jc-pulse { animation: none; opacity: .35; } }

/* ---- cards, rows, sections ------------------------------------------- */
.jc-card { background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-flat); box-sizing: border-box; }
.jc-card.lg { border-radius: 20px; }
.jc-card.raised { box-shadow: var(--jc-shadow-card); }
.jc-card.pad { padding: 18px; }
.jc-card.photo { padding: 8px; }
.jc-inset { padding: 12px 14px; border-radius: 12px; background: var(--jc-ground); }
.jc-inset.amber { background: var(--jc-pending-box); }
.jc-inset.blue { background: var(--jc-primary-soft); }
.jc-quote { margin: 0; font-size: 14px; padding: 8px 12px; border-radius: 12px; background: var(--jc-ground); }
.jc-row { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 8px; border-radius: 12px; text-decoration: none; color: var(--jc-ink); box-sizing: border-box; font: inherit; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.jc-row:hover { background: var(--jc-ground); color: var(--jc-ink); }
.jc-row.static { cursor: default; }
.jc-row.static:hover { background: none; }
.jc-row .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.jc-row .name { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-row .sub { font-size: 13px; color: var(--jc-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-stat { padding: 10px; border-radius: 12px; background: var(--jc-ground); }
.jc-stat dt { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); }
.jc-stat dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; }
.jc-stats { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jc-rule { display: flex; align-items: center; gap: 12px; color: var(--jc-ink2); padding: 4px 0; }
.jc-rule::before, .jc-rule::after { content: ''; flex: 1; height: 1px; background: var(--jc-hairline); }
.jc-gh { margin: 6px 0 2px; padding: 0 6px; display: flex; align-items: center; gap: 10px; }
.jc-gh::after { content: ''; flex: 1; height: 1px; background: var(--jc-hairline); }
.jc-section { display: flex; flex-direction: column; gap: 14px; }
.jc-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jc-date { width: 54px; padding: 7px 0 8px; border-radius: 12px; background: var(--jc-surface); color: var(--jc-ink); box-shadow: var(--jc-shadow-card); display: inline-flex; flex-direction: column; align-items: center; gap: 2px; box-sizing: border-box; }
.jc-date .dow { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-primary-soft-text); }
.jc-date .day { font-weight: 700; font-size: 24px; line-height: 1; letter-spacing: -.02em; }
.jc-date .mon { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); }
.jc-date.sm { width: 46px; padding: 5px 0 6px; gap: 1px; box-shadow: none; }
.jc-date.sm .day { font-size: 20px; }
.jc-hero { position: relative; border-radius: 20px; overflow: hidden; background: var(--jc-hero); color: #FFFDF9; }
.jc-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-hero .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,20,40,.55) 0%, rgba(29,20,40,.1) 40%, rgba(29,20,40,.82) 100%); }
.jc-hero .scrim.low { background: linear-gradient(180deg, rgba(29,20,40,.1) 0%, rgba(29,20,40,.2) 40%, rgba(29,20,40,.9) 100%); }
.jc-hero .inner { position: relative; }
.jc-glass { background: rgba(255,253,249,.96); color: #1D1B18; border-radius: 16px; }
.jc-glass .t4-mono { color: #5C574F; }
.jc-glass-btn { height: 56px; padding: 0 22px; border-radius: 999px; background: rgba(255,253,249,.14); color: #FFFDF9; text-decoration: none; font: inherit; font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; border: 0; cursor: pointer; }

/* ---- forms ------------------------------------------------------------ */
.jc-label { font-size: 15px; font-weight: 700; }
.jc-label.sm { font-size: 14px; }
.jc-field { display: flex; flex-direction: column; gap: 8px; }
.jc-field .head { display: flex; align-items: baseline; gap: 8px; }
.jc-field .head .t4-mono { margin-left: auto; }
.jc-field .hint { font-size: 13px; color: var(--jc-ink2); }
.jc-input { height: 52px; border-radius: 12px; border: 1px solid var(--jc-outline); background: var(--jc-surface); padding: 0 14px; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--jc-ink); width: 100%; }
.jc-input:focus { outline: none; border: 2px solid var(--jc-primary); padding: 0 13px; }
textarea.jc-input { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.45; resize: vertical; }
textarea.jc-input:focus { padding: 11px 13px; }
.jc-input.sm { height: 48px; }
.jc-search { height: 48px; border-radius: 999px; background: var(--jc-ground); display: flex; align-items: center; gap: 10px; padding: 0 16px; box-sizing: border-box; color: var(--jc-ink2); }
.jc-search.outlined { background: var(--jc-surface); border: 1px solid var(--jc-hairline); height: 44px; }
.jc-search input { flex: 1; min-width: 0; border: none; background: transparent; font: inherit; font-size: 15px; color: var(--jc-ink); outline-offset: 4px; }
.jc-search input::placeholder { color: var(--jc-ink2); }
.jc-otp { display: flex; gap: 6px; }
.jc-otp input { flex: 1 1 0; min-width: 0; width: 40px; height: 54px; border-radius: 12px; border: 1px solid var(--jc-outline); background: var(--jc-surface); text-align: center; font: inherit; font-size: 22px; font-weight: 700; color: var(--jc-ink); box-sizing: border-box; padding: 0; }
.jc-otp input:focus { outline: none; border: 2px solid var(--jc-primary); box-shadow: 0 0 0 3px var(--jc-primary-soft); }
.jc-tog { width: 48px; height: 28px; border-radius: 999px; background: var(--jc-primary); position: relative; flex: none; border: none; cursor: pointer; padding: 0; }
.jc-tog::after { content: ''; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; box-shadow: 0 1px 2px rgba(40,30,20,.2); }
.jc-tog[aria-checked="false"] { background: var(--jc-outline); }
.jc-tog[aria-checked="false"]::after { right: auto; left: 3px; }
.jc-tog.lg { width: 52px; height: 32px; }
.jc-tog.lg::after { width: 26px; height: 26px; }
.jc-opt { min-height: 56px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 12px; cursor: pointer; box-sizing: border-box; }
.jc-opt:hover { background: var(--jc-ground); }
.jc-opt.on { background: var(--jc-primary-soft); }
.jc-radio { width: 22px; height: 22px; border-radius: 999px; border: 2px solid #A9A194; box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; }
.jc-opt.on .jc-radio { border-color: var(--jc-primary); }
.jc-opt.on .jc-radio::after { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--jc-primary); }
.jc-set { display: flex; align-items: center; gap: 12px; min-height: 52px; border-top: 1px solid var(--jc-hairline); }
.jc-set .body { flex: 1; display: flex; flex-direction: column; }
.jc-set .body b { font-size: 14px; font-weight: 600; }
.jc-step { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.jc-num { width: 28px; height: 28px; border-radius: 999px; background: var(--jc-ground); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.jc-num.done { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
.jc-note { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--jc-ground); font-size: 13px; line-height: 1.45; color: var(--jc-ink); }
.jc-note.blue { background: var(--jc-primary-soft); }
.jc-note.amber { background: var(--jc-pending-box); }
.jc-bullets { margin: 0; padding: 14px 16px; list-style: none; background: var(--jc-surface); border-radius: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--jc-ink2); }
.jc-bullets li { display: flex; gap: 8px; }

/* ---- sheets, popovers, menus ------------------------------------------ */
.jc-scrim { position: fixed; inset: 0; background: var(--jc-scrim); display: grid; place-items: end center; z-index: 20; }
.jc-scrim.center { place-items: center; padding: 16px; }
.jc-sheet { width: min(560px, 100%); max-height: 86dvh; overflow: auto; background: var(--jc-surface); border-radius: 28px 28px 0 0; padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); box-sizing: border-box; }
.jc-sheet::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--jc-outline); margin: 0 auto 14px; }
.jc-modal { width: min(560px, 100%); max-height: 90dvh; overflow: auto; background: var(--jc-surface); border-radius: 28px; padding: 24px 24px 22px; box-sizing: border-box; box-shadow: var(--jc-shadow-pop); }
.jc-pop { position: absolute; z-index: 30; box-sizing: border-box; background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-pop); padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.jc-menu { position: absolute; z-index: 30; min-width: 260px; background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-pop); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.jc-menu a, .jc-menu button { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 10px; color: var(--jc-ink); text-decoration: none; font: inherit; font-size: 15px; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; width: 100%; box-sizing: border-box; white-space: nowrap; }
.jc-menu a:hover, .jc-menu button:hover { background: var(--jc-ground); }
.jc-menu .t4-mono { margin-left: auto; }
.jc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--jc-ink); color: var(--jc-surface); padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 600; box-shadow: var(--jc-shadow-pop); z-index: 40; display: flex; align-items: center; gap: 8px; }

/* ---- shell: rail · top bar · main · sidebar --------------------------- */
.jc-shell { min-height: 100dvh; display: flex; background: var(--jc-ground); }
.jc-rail { width: 220px; flex: none; box-sizing: border-box; background: var(--jc-surface); border-right: 1px solid var(--jc-hairline); padding: 20px 16px 24px; display: flex; flex-direction: column; gap: 22px; position: sticky; top: 0; height: 100dvh; z-index: 9; }
.jc-wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--jc-ink); min-height: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.jc-create { display: flex; flex-direction: column; gap: 8px; position: relative; }
.jc-create .t4-mono { text-align: center; }
.jc-nav { min-height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 12px; color: var(--jc-ink2); font-weight: 600; font-size: 16px; text-decoration: none; }
.jc-nav:hover { background: var(--jc-ground); color: var(--jc-ink); }
.jc-nav[aria-current="page"] { background: var(--jc-primary-soft); color: var(--jc-ink); font-weight: 700; }
.jc-rail nav { display: flex; flex-direction: column; gap: 2px; }
.jc-rail .circles { margin-top: auto; display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--jc-hairline); padding-top: 12px; }
.jc-rail .circles h2 { margin: 0 0 6px; padding: 0 4px; }
.jc-rail .circles .jc-row { min-height: 44px; font-size: 14px; font-weight: 700; }
.jc-rail .circles .jc-row.browse { font-weight: 600; color: var(--jc-ink2); }
.jc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.jc-top { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--jc-ground); border-bottom: 1px solid var(--jc-hairline); flex-wrap: wrap; position: sticky; top: 0; z-index: 8; }
.jc-citybtn { height: 44px; padding: 0 12px; margin-left: -12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; color: var(--jc-ink); text-decoration: none; font: inherit; font-size: 16px; font-weight: 600; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.jc-citybtn[aria-expanded="true"] { background: var(--jc-primary-soft); }
.jc-top > .jc-search { flex: 1 1 240px; max-width: 520px; }
.jc-top .right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.jc-page { width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 28px 56px; box-sizing: border-box; display: flex; flex-direction: column; gap: 26px; }
.jc-page.narrow { max-width: 900px; }
.jc-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.jc-page-head .titles { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.jc-cols { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.jc-col { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 30px; }
.jc-side { flex: 1 1 300px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 16px; }
.jc-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.jc-grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 14px; }
.jc-grid4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 10px; }
.jc-tabbar { display: none; }
@media (max-width: 899px) {
  .jc-rail { display: none; }
  .jc-top { padding: 10px 16px; }
  .jc-top > .jc-search { display: none; }
  .jc-page { padding: 20px 16px calc(24px + 84px + env(safe-area-inset-bottom)); gap: 20px; }
  .jc-h1 { font-size: 30px; }
  .jc-tabbar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--jc-surface); border-top: 1px solid var(--jc-hairline); z-index: 9; }
  .jc-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; color: var(--jc-ink2); font-size: 11px; font-weight: 600; padding: 6px 0; border-radius: 14px; position: relative; }
  .jc-tabbar a.active { color: var(--jc-primary-soft-text); }
  .jc-tabbar a.active .ic { background: var(--jc-primary-soft); }
  .jc-tabbar a .ic { width: 52px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
  .jc-tabbar a .jc-badge { position: absolute; top: 2px; right: 10px; margin: 0; }
  .jc-pop { position: fixed; left: 8px !important; right: 8px; top: 64px !important; width: auto !important; max-width: none; }
}

/* ---- signed-out / onboarding frames ----------------------------------- */
.jc-auth-frame { min-height: 100dvh; display: flex; flex-direction: column; background: var(--jc-ground); }
.jc-auth-frame .wrap { flex: 1; width: 100%; max-width: 1360px; margin: 0 auto; box-sizing: border-box; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.jc-auth-hero { flex: 999 1 520px; min-width: 0; min-height: 560px; display: flex; flex-direction: column; justify-content: space-between; }
.jc-auth-hero .logo { position: relative; margin: 36px 40px 0; display: flex; align-items: center; min-height: 44px; align-self: flex-start; }
.jc-auth-hero .copy { position: relative; padding: 0 40px 40px; display: flex; flex-direction: column; gap: 18px; max-width: 640px; color: #FFFDF9; }
.jc-auth-hero h1 { margin: 0; font-weight: 700; font-size: 58px; line-height: 1; letter-spacing: -.03em; }
.jc-auth-hero p { margin: 0; font-size: 18px; line-height: 1.45; color: #F4F1EA; }
.jc-auth-side { flex: 1 1 400px; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 8px 0; }
.jc-auth-card { position: relative; width: 100%; max-width: 460px; box-sizing: border-box; background: var(--jc-surface); border-radius: 20px; padding: 28px 36px 30px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--jc-shadow-card); }
.jc-auth-card.wide { max-width: 520px; padding: 26px 32px 28px; }
.jc-auth-foot { width: 100%; max-width: 1360px; margin: 0 auto; box-sizing: border-box; padding: 8px 24px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.jc-auth-foot nav { display: flex; gap: 4px; }
.jc-auth-foot nav a { min-height: 44px; padding: 0 10px; display: flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--jc-ink2); text-decoration: none; }
.jc-continue { display: flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; border-radius: 16px; background: var(--jc-ground); text-decoration: none; color: var(--jc-ink); }
.jc-continue img, .jc-continue .ph { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; display: block; background: var(--jc-hero); }
.jc-otp-box { border-radius: 16px; background: var(--jc-ground); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.jc-lang { height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--jc-hairline); background: var(--jc-surface); color: var(--jc-ink); font: inherit; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.jc-lang select { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.jc-cc { height: 52px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--jc-outline); background: var(--jc-surface); color: var(--jc-ink); font: inherit; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; flex: none; position: relative; }
.jc-cc select { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.jc-onb { min-height: 100dvh; background: var(--jc-ground); display: flex; flex-direction: column; }
.jc-onb-head { width: 100%; max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding: 16px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jc-onb-head nav { flex: 1 1 360px; display: flex; justify-content: center; }
.jc-stepper { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jc-stepper li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--jc-ink2); }
.jc-stepper li .n { width: 28px; height: 28px; border-radius: 999px; border: 1.5px solid var(--jc-outline); box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.jc-stepper li[aria-current="step"] { font-weight: 700; color: var(--jc-ink); }
.jc-stepper li[aria-current="step"] .n { background: var(--jc-primary); border-color: var(--jc-primary); color: #fff; }
.jc-stepper li.done { color: var(--jc-ink); }
.jc-stepper li.done .n { background: var(--jc-primary-soft); border-color: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-stepper li.bar { width: 32px; height: 2px; border-radius: 2px; background: var(--jc-outline); }
.jc-stepper li.bar.done { background: var(--jc-primary); }
.jc-onb-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding: 16px 24px 56px; display: flex; flex-direction: column; gap: 20px; }
.jc-onb-main .jc-h1 { font-size: 40px; line-height: 1.02; letter-spacing: -.03em; }
.jc-form-card { background: var(--jc-surface); border-radius: 20px; padding: 32px 36px; box-sizing: border-box; display: flex; flex-direction: column; gap: 28px; box-shadow: var(--jc-shadow-flat); }
.jc-fieldset { margin: 0; padding: 0; border: none; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.jc-fieldset legend { padding: 0; margin-bottom: 16px; display: flex; flex-direction: column; gap: 2px; }
.jc-fieldset legend b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.jc-fieldset legend b .opt { font-weight: 500; color: var(--jc-ink2); }
.jc-fieldset legend span { font-size: 14px; color: var(--jc-ink2); }
.jc-fieldset.rule { padding-top: 22px; border-top: 1px solid var(--jc-hairline); gap: 14px; }
.jc-circle-box { border-radius: 16px; background: var(--jc-ground); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.jc-sticky-bar { position: sticky; bottom: 0; background: var(--jc-surface); border-top: 1px solid var(--jc-hairline); box-shadow: 0 -8px 24px rgba(40,30,20,.06); z-index: 5; }
.jc-sticky-bar .inner { max-width: 1200px; margin: 0 auto; box-sizing: border-box; padding: 14px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jc-fan { width: 100%; min-height: 76px; border-radius: 16px; border: 1px solid var(--jc-hairline); background: var(--jc-surface); padding: 12px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--jc-ink); cursor: pointer; font: inherit; }
.jc-fan[aria-pressed="true"] { border: 2px solid var(--jc-primary); padding: 11px; background: #F7F8FE; }
.jc-fan .plus { width: 28px; height: 28px; flex: none; border-radius: 999px; border: 1.5px solid var(--jc-outline); box-sizing: border-box; display: flex; align-items: center; justify-content: center; color: var(--jc-ink2); }
.jc-fan[aria-pressed="true"] .plus { background: var(--jc-primary); border-color: var(--jc-primary); color: #fff; }
.jc-soon { min-height: 112px; border-radius: 16px; background: #EFEBE3; border: 1px dashed var(--jc-outline); padding: 16px; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; color: var(--jc-ink2); }
.jc-soon .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--jc-hairline); display: flex; align-items: center; justify-content: center; }
.jc-soon .nm { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jc-soon .nm b { font-size: 16px; font-weight: 700; color: var(--jc-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jc-soon { background: var(--jc-surface); } :root:not([data-theme="light"]) .jc-fan[aria-pressed="true"] { background: var(--jc-surface-2); } }
@media (max-width: 899px) {
  .jc-auth-hero { min-height: 320px; }
  .jc-auth-hero h1 { font-size: 40px; }
  .jc-auth-card { padding: 24px 20px; }
  .jc-form-card { padding: 22px 18px; }
  .jc-onb-main .jc-h1 { font-size: 32px; }
}

/* ---- splash ----------------------------------------------------------- */
.jc-splash { width: 100%; min-height: 100dvh; position: relative; overflow: hidden; background: var(--jc-ground); color: var(--jc-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.jc-splash.dark { background: #1D1B18; color: #FFFDF9; }
.jc-splash jc-orbit { margin-top: -48px; display: block; }
.jc-splash-word { margin-top: -46px; font-weight: 700; font-size: 56px; line-height: 1; letter-spacing: -.035em; opacity: 0; }
.jc-splash-tag { margin-top: 14px; font-size: 13px; opacity: 0; }
.jc-splash.dark .t4-mono { color: #B9B2A6; }
.jc-splash-status { position: absolute; left: 0; right: 0; bottom: 40px; text-align: center; }
@media (max-width: 899px) { .jc-splash jc-orbit { transform: scale(.75); } .jc-splash-word { font-size: 38px; } }

/* ---- event card (shared by Home · Events · CityOpened) ---------------- */
.jc-event { border-radius: 20px; padding: 8px; display: flex; flex-wrap: wrap; gap: 0; }
.jc-event .cover { flex: 1 1 260px; position: relative; min-height: 300px; border-radius: 14px; overflow: hidden; background: var(--jc-hero); }
.jc-event .cover img, .jc-event .cover .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-event .cover .ph { background: radial-gradient(circle at 30% 20%, #F2A541 0%, rgba(242,165,65,0) 45%), radial-gradient(circle at 75% 70%, #B23A6B 0%, rgba(178,58,107,0) 55%), #2A1F3D; }
.jc-event .cover .jc-date { position: absolute; top: 12px; left: 12px; }
.jc-event .cover .jc-presents { position: absolute; left: 12px; bottom: 12px; }
.jc-event .body { flex: 999 1 300px; min-width: 0; padding: 14px 16px 12px 22px; display: flex; flex-direction: column; gap: 12px; }
.jc-event .chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-event h3 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.jc-event h3 a { color: inherit; text-decoration: none; }
.jc-event .facts { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.jc-event .facts span { display: flex; align-items: center; gap: 8px; }
.jc-event .status { padding: 12px 14px; border-radius: 12px; background: var(--jc-pending-box); display: flex; flex-direction: column; gap: 6px; }
.jc-event .status.live { background: var(--jc-live-pill); }
.jc-event .status.wait { background: var(--jc-waitlisted-bg); }
.jc-event .status .head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.jc-event .status p { margin: 0; font-size: 14px; color: var(--jc-ink2); line-height: 1.45; }
.jc-event .going { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--jc-ink2); }
.jc-event .going strong { color: var(--jc-ink); }
.jc-event .actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.jc-event .meet { font-size: 13px; color: var(--jc-ink2); display: flex; align-items: center; gap: 6px; }
.jc-event-sm { display: flex; flex-direction: column; text-decoration: none; color: var(--jc-ink); overflow: hidden; }
.jc-event-sm .cover { position: relative; display: block; margin: 6px 6px 0; height: 128px; border-radius: 12px; overflow: hidden; background: var(--jc-hero); }
.jc-event-sm .cover img { width: 100%; height: 128px; object-fit: cover; display: block; }
.jc-event-sm .cover .jc-date { position: absolute; top: 8px; left: 8px; }
.jc-event-sm .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.jc-event-sm .kind { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.jc-event-sm .title { font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.jc-event-sm .sub { font-size: 13px; color: var(--jc-ink2); }
.jc-event-sm .foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; border-top: 1px solid var(--jc-hairline); padding-top: 10px; }
.jc-rsvp { height: 26px; padding: 0 10px 0 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; box-sizing: border-box; }
.jc-rsvp.going { background: var(--jc-primary); color: #fff; }
.jc-rsvp.in { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
.jc-rsvp.maybe { border: 1px solid var(--jc-outline); padding: 0 10px; }
.jc-rsvp.pend { background: var(--jc-pending-bg); color: var(--jc-pending-text); }
.jc-rsvp.wait { background: var(--jc-waitlisted-bg); color: var(--jc-waitlisted-text); }

/* ---- circle header band + tabs (w21-Channels-D1 / CircleFeed / CircleEvents / CircleMembers) ---- */
.jc-circle-page { padding: 12px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; }
.jc-band { background: var(--jc-surface); border-radius: 20px; overflow: hidden; box-shadow: var(--jc-shadow-flat); }
.jc-band .cover { height: 96px; position: relative; background: var(--jc-hero); }
.jc-band .cover img { display: block; width: 100%; height: 96px; object-fit: cover; object-position: center 45%; }
.jc-band .cover .by { position: absolute; right: 12px; bottom: 10px; color: var(--jc-ink); background: var(--jc-surface); padding: 3px 9px; border-radius: 999px; }
.jc-band .head { padding: 0 24px 16px; display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.jc-band .head .tile { position: relative; z-index: 1; margin-top: -28px; width: 64px; height: 64px; border-radius: 18px; border: 3px solid var(--jc-surface); box-sizing: border-box; box-shadow: var(--jc-shadow-card); }
.jc-band .titles { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-top: 12px; }
.jc-band h1 { margin: 0; font-weight: 700; font-size: 32px; line-height: 1.05; letter-spacing: -.02em; }
.jc-band .meta { font-size: 14px; color: var(--jc-ink2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jc-band .meta strong { color: var(--jc-ink); font-weight: 700; }
.jc-band .acts { margin-left: auto; padding-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-tabs { height: 52px; box-sizing: border-box; padding: 0 16px; border-top: 1px solid var(--jc-hairline); display: flex; align-items: stretch; gap: 2px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.jc-tabs::-webkit-scrollbar { display: none; }
.jc-tab { position: relative; flex: none; min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 6px; color: var(--jc-ink2); font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; }
.jc-tab:hover { color: var(--jc-ink); }
.jc-tab[aria-current="page"] { color: var(--jc-ink); font-weight: 700; }
.jc-tab[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--jc-primary); }
.jc-tab .jc-badge { margin-left: 0; min-width: 20px; height: 20px; padding: 0 6px; }
.jc-btn2.soft, .jc-btn-soft { background: var(--jc-primary-soft); border-color: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-btn-soft:hover { background: #D3DAF6; color: var(--jc-primary-soft-text); }
.jc-tabwrap { flex: 1; display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.jc-pane { min-width: 0; box-sizing: border-box; background: var(--jc-surface); border-radius: 20px; }
.jc-pane.ch { flex: 0 0 280px; padding: 14px 12px 20px; display: flex; flex-direction: column; gap: 18px; }
.jc-pane.chat { flex: 999 1 420px; overflow: hidden; display: flex; flex-direction: column; min-height: 640px; }
.jc-pane.side { flex: 0 0 300px; }
@media (max-width: 1340px) { .jc-pane.side { flex: 1 1 100%; } }
@media (max-width: 980px) { .jc-pane.ch { flex: 1 1 100%; } }
/* Channel list rows. */
.jc-ch { min-height: 52px; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 8px; border-radius: 12px; text-decoration: none; color: var(--jc-ink); }
.jc-ch:hover { color: var(--jc-ink); background: var(--jc-ground); }
.jc-ch[aria-current="page"] { background: var(--jc-primary-soft); }
.jc-ch .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.jc-ch .name { font-size: 15px; font-weight: 500; }
.jc-ch .name.b, .jc-ch[aria-current="page"] .name { font-weight: 700; }
.jc-ch .sub { font-size: 13px; color: var(--jc-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-ch[aria-current="page"] .sub { color: var(--jc-ink); }
.jc-chi { width: 34px; height: 34px; border-radius: 999px; background: var(--jc-ground); display: flex; align-items: center; justify-content: center; flex: none; color: var(--jc-ink); }
.jc-ch[aria-current="page"] .jc-chi { background: var(--jc-primary); color: #fff; }
.jc-chgroup { display: flex; flex-direction: column; gap: 2px; }
.jc-chgroup h3 { margin: 0 0 4px; padding: 0 8px; display: flex; align-items: center; gap: 6px; color: var(--jc-ink2); }
.jc-chgroup h3 .r { margin-left: auto; }
.jc-ch-note { margin-top: auto; padding: 14px; border-radius: 16px; background: var(--jc-ground); display: flex; flex-direction: column; gap: 8px; }
.jc-ch-note b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.jc-ch-note p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--jc-ink2); }

/* ---- chat anatomy (channels, event chats, E2EE threads) ---- */
.jc-chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--jc-hairline); flex-wrap: wrap; }
.jc-chat-head .ic { width: 38px; height: 38px; border-radius: 999px; background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); display: flex; align-items: center; justify-content: center; flex: none; }
.jc-chat-head .titles { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 200px; }
.jc-chat-head h2 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.jc-chat-head .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.jc-crumb { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--jc-ink2); flex-wrap: wrap; }
.jc-crumb a { min-height: 24px; display: inline-flex; align-items: center; gap: 6px; color: var(--jc-ink2); font-weight: 600; text-decoration: none; }
.jc-crumb .sq { width: 14px; height: 14px; border-radius: 4px; display: block; }
.jc-crumb [aria-current="page"] { color: var(--jc-ink); font-weight: 600; }
.jc-pinned { margin: 12px 20px 0; padding: 10px 14px; border-radius: 14px; background: var(--jc-ground); display: flex; align-items: flex-start; gap: 10px; }
.jc-pinned .body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jc-pinned .txt { font-size: 14px; line-height: 1.45; }
.jc-slow { margin: 12px 20px 0; padding: 10px 14px; border-radius: 14px; background: var(--jc-pending-box); display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.4; }
.jc-log { flex: 1; padding: 16px 20px 8px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow-y: auto; }
.jc-day { display: flex; align-items: center; gap: 12px; color: var(--jc-ink2); }
.jc-day::before, .jc-day::after { content: ''; flex: 1; height: 1px; background: var(--jc-hairline); }
.jc-day span { height: 22px; padding: 0 10px; border-radius: 999px; background: var(--jc-ground); display: flex; align-items: center; }
.jc-sys { text-align: center; font-size: 13px; color: var(--jc-ink2); display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.jc-msg { display: flex; gap: 12px; position: relative; border-radius: 14px; }
.jc-msg.thread { background: var(--jc-primary-soft); background: color-mix(in srgb, var(--jc-primary-soft) 55%, var(--jc-surface)); padding: 10px 12px; margin: 0 -12px; }
.jc-msg.held { opacity: .85; }
.jc-msg > .jc-av { width: 36px; height: 36px; font-size: 13px; }
.jc-msg .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.jc-msg .who { font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-msg .who .nm { min-height: 32px; margin: -6px -6px; padding: 0 6px; border: none; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: var(--jc-ink); cursor: pointer; }
.jc-msg .who .nm:hover, .jc-msg .who .nm[aria-expanded="true"] { background: var(--jc-ground); }
.jc-msg .txt { margin: 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.jc-msg .txt.mention { margin-left: -10px; padding: 6px 12px; background: var(--jc-primary-soft); border-radius: 12px; }
.jc-msg .txt .at { color: var(--jc-primary-soft-text); font-weight: 700; }
.jc-msg .reacts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.jc-react { height: 30px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--jc-hairline); background: var(--jc-surface); color: var(--jc-ink); font: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.jc-react.on { border-color: var(--jc-primary); background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-react.ic { width: 38px; padding: 0; justify-content: center; }
.jc-react.up { font-weight: 700; }
.jc-msg .tools { position: absolute; right: 8px; top: -14px; display: none; gap: 2px; padding: 3px; background: var(--jc-surface); border: 1px solid var(--jc-hairline); border-radius: 999px; box-shadow: var(--jc-shadow-flat); z-index: 2; }
.jc-msg:hover .tools, .jc-msg:focus-within .tools { display: flex; }
.jc-msg .tools button { width: 32px; height: 32px; border-radius: 999px; border: 0; background: transparent; color: var(--jc-ink2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.jc-msg .tools button:hover { background: var(--jc-ground); color: var(--jc-ink); }
.jc-threadrow { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--jc-primary-soft-text); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.jc-threadrow .t4-mono { font-weight: 500; }
.jc-quoteref { font-size: 13px; color: var(--jc-ink2); border-left: 2px solid var(--jc-outline); padding-left: 8px; }
.jc-share { max-width: 480px; width: 100%; border: 1px solid var(--jc-hairline); border-radius: 16px; overflow: hidden; background: var(--jc-surface); box-sizing: border-box; }
.jc-share .top { display: flex; gap: 14px; padding: 10px; align-items: center; background: var(--jc-ground); }
.jc-share .top img, .jc-share .top .ph { width: 88px; height: 64px; object-fit: cover; border-radius: 12px; flex: none; display: block; background: var(--jc-hero); }
.jc-share .top .t { font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.jc-share .foot { padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.jc-share .foot .aud { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--jc-ink2); border-top: 1px solid var(--jc-hairline); padding-top: 8px; }
.jc-share.show { display: flex; padding: 6px; flex-wrap: wrap; }
.jc-share.show img, .jc-share.show .ph { flex: 0 0 120px; width: 120px; height: 144px; object-fit: cover; border-radius: 12px; display: block; background: var(--jc-hero); }
.jc-share.show .body { flex: 1 1 220px; padding: 8px 10px 8px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.jc-share.show .body a.t { font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; color: var(--jc-ink); text-decoration: none; }
.jc-share.link { display: flex; gap: 12px; padding: 8px; align-items: center; }
.jc-share.link img, .jc-share.link .ph { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; flex: none; display: block; background: var(--jc-hero); }
.jc-typing { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jc-ink2); padding-left: 48px; min-height: 20px; }
.jc-typing .dots { display: flex; gap: 3px; height: 20px; padding: 0 8px; border-radius: 999px; background: var(--jc-ground); align-items: center; }
.jc-typing .dots span { width: 5px; height: 5px; border-radius: 999px; background: var(--jc-ink2); }
.jc-composer { padding: 12px 20px 18px; border-top: 1px solid var(--jc-hairline); display: flex; flex-direction: column; gap: 6px; background: var(--jc-surface); }
.jc-composer .box { display: flex; align-items: flex-end; gap: 4px; border: 1px solid var(--jc-hairline); border-radius: 26px; background: var(--jc-ground); padding: 4px; }
.jc-composer .box textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 160px; box-sizing: border-box; padding: 11px 4px; border: none; background: transparent; font: inherit; font-size: 15px; color: var(--jc-ink); resize: none; line-height: 1.4; outline: none; }
.jc-composer .box button { width: 44px; height: 44px; border-radius: 999px; border: none; background: transparent; color: var(--jc-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0; }
.jc-composer .box button:hover { background: var(--jc-hairline); }
.jc-composer .box button.send { background: var(--jc-primary); color: #fff; }
.jc-composer .box button.send:hover { background: var(--jc-primary-hover); }
.jc-composer .box button[disabled] { opacity: .45; cursor: default; }
.jc-composer .foot { font-size: 12px; color: var(--jc-ink2); }
.jc-composer .locked { min-height: 52px; border-radius: 26px; background: var(--jc-ground); display: flex; align-items: center; gap: 10px; padding: 0 18px; font-size: 15px; color: var(--jc-ink2); }
.jc-replying { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--jc-ink2); }
.jc-popmenu { position: absolute; z-index: 5; width: 264px; background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-pop); border: 1px solid var(--jc-hairline); padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.jc-popmenu .hd { display: flex; align-items: center; gap: 10px; padding: 6px 8px 10px; border-bottom: 1px solid var(--jc-hairline); margin-bottom: 4px; }
.jc-popmenu .hd .c { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jc-popmenu a, .jc-popmenu button { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 10px; border-radius: 10px; border: none; background: transparent; color: var(--jc-ink); text-decoration: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; width: 100%; box-sizing: border-box; }
.jc-popmenu a:hover, .jc-popmenu button:hover { background: var(--jc-ground); }
.jc-popmenu .pri { background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); font-weight: 700; }
.jc-popmenu .note { padding: 6px 10px 4px; font-size: 12px; line-height: 1.4; color: var(--jc-ink2); }
.jc-emoji { position: absolute; z-index: 5; display: flex; gap: 2px; padding: 4px; background: var(--jc-surface); border-radius: 999px; box-shadow: var(--jc-shadow-pop); border: 1px solid var(--jc-hairline); }
.jc-emoji button { width: 36px; height: 36px; border-radius: 999px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.jc-emoji button:hover { background: var(--jc-ground); }
.jc-translated { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--jc-ink2); flex-wrap: wrap; }
.jc-translated a, .jc-translated button { color: var(--jc-primary-soft-text); font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; }
.jc-chip-sm { height: 30px; padding: 0 12px 0 10px; border-radius: 999px; border: 1px solid var(--jc-hairline); box-sizing: border-box; background: var(--jc-surface); color: var(--jc-ink); font: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; }
.jc-chip-sm:hover { background: var(--jc-ground); }
.jc-chip-sm.on { background: var(--jc-ink); border-color: var(--jc-ink); color: var(--jc-surface); }
.jc-staffreply { margin-top: 2px; padding: 12px 14px; border-radius: 14px; background: var(--jc-ground); display: flex; gap: 10px; max-width: 560px; }
.jc-sug-status { height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; background: var(--jc-ground); color: var(--jc-ink2); }
.jc-sug-status.added { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
/* Thread side panel. */
.jc-thread { flex: 0 0 300px; display: flex; flex-direction: column; min-height: 0; }
.jc-thread .hd { display: flex; align-items: center; gap: 10px; padding: 14px 16px 10px; border-bottom: 1px solid var(--jc-hairline); }
.jc-thread .hd h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; flex: 1; }
.jc-thread .log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.jc-thread .jc-composer { padding: 10px 14px 14px; }
@media (max-width: 1340px) { .jc-thread { flex: 1 1 100%; } }
/* Private channel request state. */
.jc-step { display: flex; gap: 14px; position: relative; padding-bottom: 18px; font-size: 15px; line-height: 1.45; }
.jc-step:last-child { padding-bottom: 0; }
.jc-step::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--jc-hairline); }
.jc-step:last-child::before { display: none; }
.jc-step .dot { width: 28px; height: 28px; border-radius: 999px; flex: none; display: flex; align-items: center; justify-content: center; box-sizing: border-box; border: 2px solid var(--jc-outline); background: var(--jc-surface); }
.jc-step .dot.done { background: var(--jc-live); border-color: var(--jc-live); color: #fff; }
.jc-step .dot.now { border-color: var(--jc-moon); }
.jc-step .dot.now::after { content: ''; width: 10px; height: 10px; border-radius: 999px; background: var(--jc-moon); }
.jc-skel { border-radius: 16px; background: var(--jc-ground); padding: 18px; display: flex; flex-direction: column; gap: 10px; position: relative; min-height: 100px; }
.jc-skel i { display: block; height: 12px; border-radius: 6px; background: var(--jc-hairline); }
.jc-facts { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; font-size: 15px; line-height: 1.5; }
.jc-facts dt { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); padding-top: 5px; }
.jc-facts dd { margin: 0; }

/* ---- members (w21-CircleMembers) ---- */
.jc-segs { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--jc-ground); gap: 2px; }
.jc-segs > button { height: 44px; padding: 0 16px; border-radius: 999px; border: none; background: transparent; color: var(--jc-ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.jc-segs > button[aria-selected="true"], .jc-segs > button[aria-pressed="true"] { background: var(--jc-ink); color: var(--jc-surface); font-weight: 600; }
.jc-segs > button[aria-selected="true"] .t4-mono, .jc-segs > button[aria-pressed="true"] .t4-mono { color: var(--jc-surface); }
.jc-segs.sm > button { height: 38px; padding: 0 14px; font-size: 14px; }
.jc-chip.xs { height: 36px; padding: 0 12px; font-size: 13px; }
.jc-chip.xs[aria-pressed="true"] { background: var(--jc-primary-soft); border-color: #B9C4F2; color: var(--jc-primary-soft-text); }
.jc-mr { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--jc-hairline); flex-wrap: wrap; }
.jc-mr:last-child { border-bottom: none; }
.jc-mn { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jc-mn > span:first-child { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.jc-mn > span:first-child a { color: inherit; text-decoration: none; }
.jc-mn > span:first-child a:hover { text-decoration: underline; }

/* ---- browse (w21-Browse) + circles (w21-Circles-D1) ---- */
.jc-cat { min-height: 88px; border-radius: 16px; background: var(--jc-surface); border: 1px solid var(--jc-hairline); box-sizing: border-box; padding: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; cursor: pointer; text-align: left; color: var(--jc-ink); font: inherit; }
.jc-cat[aria-pressed="true"] { border: 2px solid var(--jc-primary); background: var(--jc-primary-soft); padding: 11px; }
.jc-cat .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--jc-ground); display: flex; align-items: center; justify-content: center; }
.jc-cat[aria-pressed="true"] .ic { background: var(--jc-surface); }
.jc-cat .nm { font-size: 16px; font-weight: 600; }
.jc-cat[aria-pressed="true"] .nm { font-weight: 700; }
.jc-cat[aria-pressed="true"] .t4-mono { color: var(--jc-primary-soft-text); }
.jc-cat[disabled] { opacity: .6; cursor: default; }
.jc-brow { background: var(--jc-surface); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; box-shadow: var(--jc-shadow-flat); }
.jc-brow .body { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.jc-brow h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-brow .line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--jc-ink2); }
.jc-brow .line strong { color: var(--jc-ink); }
.jc-circ { display: flex; flex-direction: column; overflow: hidden; }
.jc-circ .cover { position: relative; height: 96px; margin: 6px 6px 0; border-radius: 14px; overflow: hidden; background: var(--jc-hero); }
.jc-circ .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-circ .cover .tile { position: absolute; left: 10px; bottom: -14px; width: 44px; height: 44px; border-radius: 13px; border: 3px solid var(--jc-surface); box-sizing: border-box; }
.jc-circ .body { padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.jc-circ h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.jc-circ p { margin: 0; font-size: 14px; color: var(--jc-ink2); line-height: 1.45; }
.jc-circ .pills { display: flex; gap: 6px; flex-wrap: wrap; }
.jc-circ .foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--jc-ink2); }
.jc-feat { display: flex; flex-wrap: wrap; gap: 0; padding: 8px; }
.jc-feat .info { flex: 999 1 300px; min-width: 0; padding: 12px 14px 8px 12px; display: flex; flex-direction: column; gap: 10px; }
.jc-feat .next { flex: 1 1 260px; position: relative; min-height: 250px; border-radius: 14px; overflow: hidden; background: var(--jc-hero); color: #FFFDF9; }
.jc-feat .next img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jc-feat .next .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(29,20,40,.25) 0%, rgba(29,20,40,.1) 40%, rgba(29,20,40,.88) 100%); }
.jc-feat .next .txt { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 4px; }
.jc-feat .next .txt b { font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.jc-fanrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--jc-surface); border-radius: 14px; box-shadow: var(--jc-shadow-flat); }
.jc-fanrow .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-fanrow .nm { font-size: 15px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.jc-fanrow .nm .t4-mono { font-weight: 500; }
.jc-cmp { display: flex; flex-direction: column; gap: 10px; }
.jc-cmp .hd { display: flex; align-items: center; gap: 10px; }
.jc-cmp .hd h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.jc-cmp .row { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--jc-hairline); font-size: 14px; line-height: 1.45; color: var(--jc-ink2); }
.jc-cmp .row b { color: var(--jc-ink); }
.jc-rules { margin: 0; padding: 0; list-style: none; counter-reset: r; display: flex; flex-direction: column; gap: 10px; }
.jc-rules li { counter-increment: r; display: flex; gap: 12px; font-size: 15px; line-height: 1.5; }
.jc-rules li::before { content: counter(r, decimal-leading-zero); font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); flex: none; width: 22px; padding-top: 4px; }
.jc-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.jc-cal span { height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 500; position: relative; }
.jc-cal span.hd { font-family: var(--jc-font-mono); font-size: 11px; color: var(--jc-ink2); height: 28px; }
.jc-cal span.ev { background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); font-weight: 700; }
.jc-cal span.ev::after { content: ''; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 999px; background: var(--jc-primary); }
.jc-cal span.today { outline: 2px solid var(--jc-primary); outline-offset: -2px; }
.jc-cal span.dim { color: var(--jc-ink3); }
.jc-feedcard { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.jc-feedcard .by { display: flex; align-items: center; gap: 10px; }
.jc-feedcard h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.jc-feedcard p { margin: 0; font-size: 15px; line-height: 1.55; max-width: 72ch; }
.jc-herenow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--jc-hairline); }
.jc-herenow:first-of-type { border-top: 0; }
.jc-herenow .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 15px; }
.jc-herenow .body a { color: var(--jc-ink); font-weight: 700; text-decoration: underline; }
.jc-cta { border-radius: 20px; background: var(--jc-primary-soft); padding: 18px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jc-cta .body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.jc-cta h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.jc-cta p { margin: 0; font-size: 14px; color: var(--jc-primary-soft-text); line-height: 1.45; }
.jc-stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.jc-stat2 .jc-stat dd { font-size: 24px; }
.jc-lede { font-size: 16px; color: var(--jc-ink2); line-height: 1.5; max-width: 60ch; margin: 0; }
jc-chat { display: flex; flex: 999 1 420px; min-width: 0; }
jc-chat > .jc-pane.chat { flex: 1; min-width: 0; }
jc-circle, jc-browse, jc-circles { display: block; }

/* ---- messages: inbox · conversation · info (w21-Messages / GroupChat / Requests) ---- */
.jc-msgs { padding: 12px; display: flex; gap: 12px; align-items: stretch; min-height: calc(100dvh - 73px); box-sizing: border-box; }
.jc-inbox { flex: 0 0 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; background: var(--jc-surface); border-radius: 20px; padding: 16px 12px 12px; box-sizing: border-box; }
.jc-inbox .hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 0 4px; }
.jc-inbox h1 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.jc-conv { flex: 999 1 420px; min-width: 0; background: var(--jc-surface); border-radius: 20px; display: flex; flex-direction: column; overflow: hidden; }
.jc-info { flex: 0 0 280px; min-width: 0; background: var(--jc-surface); border-radius: 20px; padding: 24px 20px 20px; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1340px) { .jc-info { flex: 1 1 100%; } }
@media (max-width: 980px) { .jc-inbox { flex: 1 1 100%; } .jc-msgs.open .jc-inbox { display: none; } .jc-msgs:not(.open) .jc-conv, .jc-msgs:not(.open) .jc-info { display: none; } }
.jc-cv { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: var(--jc-ink); position: relative; }
.jc-cv:hover { background: var(--jc-ground); }
.jc-cv[aria-current="page"] { background: var(--jc-primary-soft); }
.jc-cv .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-cv .top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.jc-cv .nm { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-cv .pv { font-size: 13px; color: var(--jc-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-cv .pv.un { color: var(--jc-ink); font-weight: 600; }
.jc-cv .pv.missed { color: var(--jc-danger); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.jc-cv .pv.call { color: var(--jc-live-pill-text); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.jc-avwrap { position: relative; flex: none; }
.jc-avwrap .pres { position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 999px; background: var(--jc-live); border: 2px solid var(--jc-surface); }
.jc-avpair { position: relative; width: 44px; height: 44px; flex: none; }
.jc-avpair .jc-av:first-child { position: absolute; left: 0; top: 0; }
.jc-avpair .jc-av:last-child { position: absolute; right: 0; bottom: 0; border: 2px solid var(--jc-surface); }
.jc-cv-hd { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--jc-hairline); flex-wrap: wrap; }
.jc-cv-hd .titles { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jc-cv-hd h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.jc-cv-hd .acts { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.jc-incall { height: 40px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--jc-live-pill); color: var(--jc-live-pill-text); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; border: 0; cursor: pointer; font-family: inherit; }
.jc-callbanner { margin: 12px 18px 0; padding: 12px 14px; border-radius: 14px; background: var(--jc-live-pill); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jc-dmlog { flex: 1; overflow-y: auto; padding: 14px 18px 8px; display: flex; flex-direction: column; gap: 6px; }
.jc-e2ee { align-self: center; max-width: 420px; margin: 4px 0 8px; padding: 10px 14px; border-radius: 14px; background: var(--jc-ground); font-size: 13px; line-height: 1.45; color: var(--jc-ink2); display: flex; gap: 8px; align-items: flex-start; text-align: left; }
.jc-bub { display: flex; gap: 8px; align-items: flex-end; max-width: 78%; align-self: flex-start; position: relative; }
.jc-bub.me { align-self: flex-end; flex-direction: row-reverse; }
.jc-bub .av { width: 28px; flex: none; }
.jc-bub .stack { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.jc-bub.me .stack { align-items: flex-end; }
.jc-bub .b { padding: 10px 14px; border-radius: 18px; background: var(--jc-ground); font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; display: inline-block; }
.jc-bub .b .tm { font-family: var(--jc-font-mono); font-weight: 500; font-size: 10px; letter-spacing: .02em; color: var(--jc-ink2); margin-left: 8px; white-space: nowrap; }
.jc-bub.me .b { background: var(--jc-primary); color: #fff; border-bottom-right-radius: 6px; }
.jc-bub.me .b .tm { color: rgba(255,255,255,.75); }
.jc-bub:not(.me) .b { border-bottom-left-radius: 6px; }
.jc-bub .b.mention { outline: 2px solid var(--jc-moon); }
.jc-bub .b.orig { background: var(--jc-surface); border: 2px solid var(--jc-primary); }
.jc-bub .who { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.jc-bub .tr { display: flex; align-items: center; gap: 6px; font-size: 11px; font-family: var(--jc-font-mono); color: var(--jc-ink2); padding: 0 4px; }
.jc-bub .tr button { background: none; border: 0; padding: 0; font: inherit; color: var(--jc-primary-soft-text); font-weight: 600; cursor: pointer; text-decoration: underline; }
.jc-bub .tools { position: absolute; top: -12px; right: 0; display: none; gap: 2px; padding: 3px; background: var(--jc-surface); border: 1px solid var(--jc-hairline); border-radius: 999px; box-shadow: var(--jc-shadow-flat); z-index: 2; }
.jc-bub.me .tools { right: auto; left: 0; }
.jc-bub:hover .tools, .jc-bub:focus-within .tools { display: flex; }
.jc-bub .tools button { width: 30px; height: 30px; border-radius: 999px; border: 0; background: transparent; color: var(--jc-ink2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.jc-bub .tools button:hover { background: var(--jc-ground); color: var(--jc-ink); }
.jc-bub.sel .b { outline: 2px solid var(--jc-primary); }
.jc-seen { align-self: flex-end; font-family: var(--jc-font-mono); font-size: 11px; color: var(--jc-ink2); display: flex; align-items: center; gap: 4px; }
.jc-dmfoot { display: flex; align-items: center; gap: 6px; font-size: 11px; font-family: var(--jc-font-mono); color: var(--jc-ink2); }
.jc-reqcard { margin: 12px 18px 0; padding: 16px 18px; border-radius: 16px; background: var(--jc-ground); display: flex; flex-direction: column; gap: 12px; }
.jc-reqcard .who { display: flex; align-items: center; gap: 12px; }
.jc-reqcard .fact { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.jc-info .big { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.jc-info h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.jc-info .act { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--jc-ink); background: none; border: 0; font-family: inherit; cursor: pointer; text-decoration: none; text-align: left; width: 100%; border-radius: 10px; }
.jc-info .act:hover { background: var(--jc-ground); }
.jc-info .act.danger { color: var(--jc-danger); }
.jc-info .mem { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.jc-info .mem .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.jc-info .mem .body b { font-size: 15px; }
.jc-mentionpop { position: absolute; left: 12px; bottom: 100%; margin-bottom: 8px; width: 280px; background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-pop); border: 1px solid var(--jc-hairline); padding: 8px; display: flex; flex-direction: column; gap: 2px; z-index: 5; }
.jc-mentionpop button { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 8px; border-radius: 10px; border: 0; background: transparent; font: inherit; cursor: pointer; text-align: left; width: 100%; }
.jc-mentionpop button:hover, .jc-mentionpop button.on { background: var(--jc-primary-soft); }
.jc-report { width: min(760px, 100%); max-height: 90dvh; overflow: auto; background: var(--jc-surface); border-radius: 24px; box-shadow: var(--jc-shadow-pop); display: flex; flex-direction: column; }
.jc-report .cols { display: flex; flex-wrap: wrap; }
.jc-report .cols > div { flex: 1 1 300px; min-width: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; }
.jc-report .cols > div + div { border-left: 1px solid var(--jc-hairline); }
.jc-pick { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--jc-hairline); cursor: pointer; align-items: flex-start; }
.jc-pick.on { border: 2px solid var(--jc-primary); background: var(--jc-primary-soft); padding: 9px 11px; }
.jc-pick .cb { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--jc-outline); flex: none; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: var(--jc-surface); margin-top: 2px; }
.jc-pick.on .cb { background: var(--jc-primary); border-color: var(--jc-primary); color: #fff; }
.jc-pick .t { font-size: 14px; line-height: 1.4; }
jc-dm { display: flex; flex-direction: column; flex: 1; min-height: 0; }
jc-messages, jc-events, jc-home, jc-people, jc-person, jc-place, jc-settings, jc-profile, jc-event, jc-checkin, jc-album, jc-notifications { display: block; }

/* ---- event page (w21-Show-D1 / Show-Scale / Meetup / VinylCrawl / ShowLive / ShowPast / Status*) ---- */
.jc-evpage { width: 100%; max-width: 1240px; margin: 0 auto; padding: 20px 28px 56px; box-sizing: border-box; display: flex; flex-direction: column; gap: 22px; }
.jc-evtop { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jc-evtop .jc-crumb { flex: 1 1 300px; font-size: 14px; }
.jc-evtop .jc-crumb a.back { font-weight: 600; color: var(--jc-ink); }
.jc-evhero { position: relative; border-radius: 24px; overflow: hidden; background: var(--jc-hero); color: #FFFDF9; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.jc-evhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-evhero .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29,20,40,.92) 0%, rgba(29,20,40,.6) 45%, rgba(29,20,40,.15) 100%), linear-gradient(180deg, rgba(29,20,40,.1) 0%, rgba(29,20,40,.75) 100%); }
.jc-evhero .inner { position: relative; padding: 24px 28px 26px; display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.jc-evhero .chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.jc-evhero h1 { margin: 0; font-size: 52px; line-height: .98; letter-spacing: -.03em; font-weight: 700; }
.jc-evhero h1 .accent { display: block; font-family: var(--jc-font-serif); font-weight: 400; color: var(--jc-moon); letter-spacing: -.01em; font-size: 1.05em; }
.jc-evhero .lede { margin: 0; font-size: 17px; line-height: 1.45; color: #F4F1EA; max-width: 56ch; }
.jc-evhero .lede b { color: #fff; }
.jc-evhero .meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.jc-evhero .t4-mono { color: #E9E4D8; }
.jc-evhero.split { flex-direction: row; flex-wrap: wrap; background: #F4E7D4; color: var(--jc-ink); min-height: 320px; }
.jc-evhero.split .inner { flex: 1 1 380px; padding: 28px 28px 26px; justify-content: space-between; }
.jc-evhero.split .photo { flex: 1 1 380px; min-height: 280px; position: relative; margin: 8px; border-radius: 18px; overflow: hidden; background: var(--jc-hero); }
.jc-evhero.split .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jc-evhero.split .lede { color: var(--jc-ink2); }
.jc-evhero.split .t4-mono { color: var(--jc-ink2); }
.jc-evhero.split::before { content: ''; position: absolute; left: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 999px; border: 1px solid rgba(29,27,24,.08); pointer-events: none; }
.jc-evhero.split::after { content: ''; position: absolute; left: -60px; bottom: -160px; width: 400px; height: 400px; border-radius: 999px; border: 1px solid rgba(29,27,24,.08); pointer-events: none; }
.jc-evhero.vinyl { background: #F0EBDC; }
.jc-evhero.approved { background: linear-gradient(120deg, #2A1F3D 0%, #3A2B55 55%, #7A4A1E 100%); min-height: 220px; }
.jc-evhero.past .stats { display: flex; gap: 28px; flex-wrap: wrap; }
.jc-evhero.past .stats b { font-size: 24px; font-weight: 700; display: block; line-height: 1; }
.jc-evhero.past .stats .t4-mono { margin-top: 4px; display: block; }
.jc-strip { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); padding: 14px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 24px; }
.jc-strip .f { display: flex; align-items: center; gap: 12px; min-width: 0; }
.jc-strip .f img, .jc-strip .f .ph { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex: none; background: var(--jc-hero); display: block; }
.jc-strip .f .c { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.jc-strip .f .c b { font-size: 15px; font-weight: 700; }
.jc-strip .f .c span { font-size: 13px; color: var(--jc-ink2); }
.jc-added { background: var(--jc-surface); border-radius: 14px; padding: 10px 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--jc-ink2); }
.jc-added b { color: var(--jc-ink); }
.jc-evcols { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.jc-evmain { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.jc-evside { flex: 1 1 280px; max-width: 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 86px; }
@media (max-width: 1100px) { .jc-evside { position: static; max-width: none; } }
.jc-sec { display: flex; flex-direction: column; gap: 12px; }
.jc-sec > .hd { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.jc-sec > .hd h2 { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 10px; }
.jc-sec > .hd h2 .n { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); }
.jc-sec > .hd h2 .cnt { font-weight: 500; color: var(--jc-ink2); font-size: 20px; }
.jc-sec > .hd .r { margin-left: auto; }
.jc-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.jc-tiles .t { padding: 12px 14px; border-radius: 12px; background: var(--jc-ground); display: flex; flex-direction: column; gap: 3px; font-size: 15px; font-weight: 600; }
.jc-tiles .t .t4-mono { font-weight: 500; }
.jc-timeline { display: flex; flex-direction: column; gap: 0; }
.jc-timeline .row { display: grid; grid-template-columns: 56px 20px 1fr; gap: 0 10px; align-items: flex-start; padding: 4px 0 14px; position: relative; }
.jc-timeline .row .tm { font-family: var(--jc-font-mono); font-weight: 500; font-size: 12px; letter-spacing: .02em; color: var(--jc-ink2); padding-top: 3px; }
.jc-timeline .row .dot { width: 12px; height: 12px; border-radius: 999px; border: 2px solid var(--jc-primary); background: var(--jc-surface); box-sizing: border-box; margin: 4px 0 0 4px; position: relative; z-index: 1; }
.jc-timeline .row .dot.fill { background: var(--jc-primary); }
.jc-timeline .row .dot.now { background: var(--jc-moon); border-color: var(--jc-moon); }
.jc-timeline .row .dot.done { background: var(--jc-primary); border-color: var(--jc-primary); }
.jc-timeline .row::before { content: ''; position: absolute; left: 75px; top: 16px; bottom: -6px; width: 2px; background: var(--jc-hairline); }
.jc-timeline .row:last-child::before { display: none; }
.jc-timeline .row b { font-size: 15px; display: block; }
.jc-timeline .row span.s { font-size: 13px; color: var(--jc-ink2); }
.jc-route { display: flex; flex-direction: column; }
.jc-route .stop { display: flex; gap: 14px; position: relative; padding-bottom: 16px; }
.jc-route .stop::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 0; width: 2px; border-left: 2px dashed var(--jc-outline); }
.jc-route .stop:last-child::before { display: none; }
.jc-route .stop .n { width: 28px; height: 28px; border-radius: 999px; border: 2px solid #6B5B12; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; background: var(--jc-surface); position: relative; z-index: 1; }
.jc-route .stop:first-child .n { background: #6B5B12; color: #fff; }
.jc-route .stop .c { display: flex; flex-direction: column; gap: 2px; padding-top: 2px; }
.jc-route .stop .c b { font-size: 16px; }
.jc-route .stop .c .s { font-size: 14px; color: var(--jc-ink2); }
.jc-progress { height: 10px; border-radius: 999px; background: var(--jc-hairline); overflow: hidden; }
.jc-progress > span { display: block; height: 100%; background: var(--jc-primary); border-radius: 999px; }
.jc-progress.amber > span { background: #B8742A; }
.jc-prog-strip { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); padding: 14px 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.jc-prog-strip .p { display: flex; flex-direction: column; gap: 6px; }
.jc-prog-strip .p .bar { height: 5px; border-radius: 999px; background: var(--jc-hairline); }
.jc-prog-strip .p.done .bar { background: var(--jc-circle-concerts); }
.jc-prog-strip .p.now .bar { background: linear-gradient(90deg, var(--jc-moon) 50%, var(--jc-hairline) 50%); }
.jc-prog-strip .p b { font-size: 15px; }
.jc-prog-strip .p.now b { font-weight: 700; }
.jc-goinggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.jc-goinggrid .p { padding: 14px 10px 12px; border-radius: 14px; background: var(--jc-ground); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; text-decoration: none; color: var(--jc-ink); }
.jc-goinggrid .p b { font-size: 15px; }
.jc-rsvp3 { display: flex; gap: 8px; }
.jc-rsvp3 button { flex: 1; height: 44px; border-radius: 999px; border: 1px solid var(--jc-outline); background: var(--jc-surface); color: var(--jc-ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.jc-rsvp3 button[aria-pressed="true"] { background: var(--jc-primary); border-color: var(--jc-primary); color: #fff; }
.jc-pass { background: #1D1B18; color: #FFFDF9; border-radius: 22px; overflow: hidden; position: relative; }
.jc-pass .top { position: relative; height: 110px; background: #2A2723; }
.jc-pass .top img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; }
.jc-pass .top .jc-presents { position: absolute; left: 14px; top: 14px; background: rgba(29,27,24,.75); color: #fff; }
.jc-pass .body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.jc-pass .body .t4-mono { color: #B9B2A6; }
.jc-pass h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.jc-pass .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.jc-pass .kv b { font-size: 16px; display: block; }
.jc-pass .tear { position: relative; height: 0; border-top: 2px dashed #4A453E; margin: 4px -16px; }
.jc-pass .tear::before, .jc-pass .tear::after { content: ''; position: absolute; top: -11px; width: 20px; height: 20px; border-radius: 999px; background: var(--jc-ground); }
.jc-pass .tear::before { left: -10px; } .jc-pass .tear::after { right: -10px; }
.jc-pass .qr { display: flex; gap: 14px; align-items: flex-start; }
.jc-pass .qr .box { background: #fff; padding: 8px; border-radius: 12px; flex: none; }
.jc-pass .code { font-family: var(--jc-font-mono); font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.jc-pass .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.jc-pass .acts .jc-btn2 { background: #FFFDF9; color: #1D1B18; border-color: #FFFDF9; }
.jc-pass .acts .jc-btn3 { color: #FFFDF9; border: 1px solid #4A453E; }
.jc-check { background: var(--jc-surface); border-radius: 14px; box-shadow: var(--jc-shadow-flat); padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.jc-check .box { width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--jc-outline); box-sizing: border-box; flex: none; display: flex; align-items: center; justify-content: center; }
.jc-check .box.done { background: var(--jc-live); border-color: var(--jc-live); color: #fff; }
.jc-check .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-check .c b { font-size: 15px; }
.jc-check .c span { font-size: 13px; color: var(--jc-ink2); }
.jc-line { background: #1D1B18; color: #FFFDF9; border-radius: 20px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; min-height: 180px; justify-content: center; position: relative; overflow: hidden; }
.jc-line .t4-mono { color: #B9B2A6; }
.jc-line .n { font-size: 56px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.jc-line::after { content: ''; position: absolute; right: -60px; top: -40px; width: 220px; height: 220px; border-radius: 999px; border: 1px solid rgba(255,253,249,.12); }
.jc-kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; align-items: baseline; }
.jc-kv .t4-mono { padding-top: 2px; }
.jc-calpop { position: absolute; right: 0; top: 50px; z-index: 30; width: 300px; background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-pop); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.jc-calpop a, .jc-calpop button { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--jc-ink); font: inherit; background: none; border: 0; text-align: left; cursor: pointer; width: 100%; box-sizing: border-box; }
.jc-calpop a:hover, .jc-calpop button:hover { background: var(--jc-ground); }
.jc-calpop .c { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.jc-calpop .c b { font-size: 15px; }
.jc-calpop .c span { font-size: 12px; color: var(--jc-ink2); line-height: 1.4; }
.jc-calpop .sum { padding: 8px 10px 6px; border-top: 1px solid var(--jc-hairline); margin-top: 2px; }
.jc-toastbar { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #1D1B18; color: #FFFDF9; padding: 12px 16px 12px 14px; border-radius: 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--jc-shadow-pop); z-index: 40; font-size: 15px; font-weight: 600; }
.jc-toastbar .t4-mono { color: #B9B2A6; }
.jc-evchat { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); padding: 14px 18px 12px; display: flex; flex-direction: column; gap: 12px; }
.jc-evchat .msg { display: flex; gap: 10px; align-items: flex-start; }
.jc-evchat .msg .b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jc-evchat .msg .b .who { font-size: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-evchat .msg .b p { margin: 0; font-size: 15px; line-height: 1.45; }
.jc-evlive { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); overflow: hidden; display: flex; flex-direction: column; min-height: 420px; max-height: 560px; }
.jc-evlive jc-chat { flex: 1; min-height: 0; }
.jc-evlive .jc-pane.chat { border-radius: 0; min-height: 0; }
.jc-placecard { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); padding: 8px; display: flex; gap: 16px; flex-wrap: wrap; }
.jc-placecard img, .jc-placecard .ph { flex: 0 0 160px; width: 160px; height: 140px; border-radius: 14px; object-fit: cover; background: var(--jc-hero); display: block; }
.jc-placecard .c { flex: 1 1 240px; min-width: 0; padding: 8px 10px 8px 0; display: flex; flex-direction: column; gap: 6px; }
.jc-placecard .c h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.jc-placecard .c h3 span { font-size: 13px; font-weight: 500; color: var(--jc-ink2); }
.jc-circlecard { background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-flat); padding: 12px 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--jc-ink); }
.jc-circlecard .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-circlecard .c b { font-size: 16px; }
.jc-sidecard { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-card); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.jc-sidecard h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.jc-sidecard .acts { display: flex; flex-direction: column; }
.jc-sidecard .act { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 0 4px; font-size: 15px; font-weight: 600; color: var(--jc-ink); text-decoration: none; background: none; border: 0; font-family: inherit; cursor: pointer; text-align: left; width: 100%; border-radius: 10px; box-sizing: border-box; }
.jc-sidecard .act:hover { background: var(--jc-ground); }
.jc-sidecard .act .r { margin-left: auto; }
.jc-sidecard .act.danger { color: var(--jc-danger); }
.jc-sidecard.flat { box-shadow: var(--jc-shadow-flat); padding: 8px 14px; }
.jc-gl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.jc-gl-tiles .t { background: var(--jc-surface); border-radius: 16px; box-shadow: var(--jc-shadow-flat); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; border: 2px solid transparent; text-align: left; font: inherit; color: var(--jc-ink); }
.jc-gl-tiles .t[aria-pressed="true"] { border-color: var(--jc-primary); }
.jc-gl-tiles .t b { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.jc-gl-tiles .t span { font-size: 12px; color: var(--jc-ink2); }
.jc-table { width: 100%; border-collapse: collapse; background: var(--jc-surface); border-radius: 16px; overflow: hidden; box-shadow: var(--jc-shadow-flat); font-size: 14px; }
.jc-table th { text-align: left; font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); padding: 12px 12px; border-bottom: 1px solid var(--jc-hairline); }
.jc-table td { padding: 10px 12px; border-bottom: 1px solid var(--jc-hairline); vertical-align: middle; }
.jc-table tr:last-child td { border-bottom: 0; }
.jc-table tr.sel td { background: var(--jc-primary-soft); background: color-mix(in srgb, var(--jc-primary-soft) 45%, var(--jc-surface)); }
.jc-table .ib { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--jc-hairline); background: var(--jc-surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--jc-ink); padding: 0; }
.jc-table .ib.ok { background: var(--jc-primary-soft); border-color: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-bulk { background: #1D1B18; color: #FFFDF9; border-radius: 14px; padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-bulk .t4-mono { color: #B9B2A6; }
.jc-door-n { font-size: 64px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.jc-scanres { border-radius: 16px; padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
.jc-scanres.ok { background: var(--jc-live-pill); color: var(--jc-live-pill-text); }
.jc-scanres.dup { background: var(--jc-danger-bg); color: var(--jc-danger); }
.jc-scanres.warn { background: var(--jc-pending-box); color: var(--jc-pending-text); }
.jc-scanres .ic { width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex: none; background: currentColor; }
.jc-scanres .ic svg { stroke: #fff; }
.jc-scanres b.big { font-size: 20px; letter-spacing: -.01em; }

/* ---- settings two-pane (w21-Settings) ---- */
.jc-setcols { display: flex; gap: 24px; align-items: flex-start; }
.jc-setnav { flex: 0 0 220px; position: sticky; top: 86px; background: var(--jc-surface); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--jc-shadow-flat); }
.jc-setnav a { min-height: 42px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 10px; color: var(--jc-ink); text-decoration: none; font-size: 15px; font-weight: 600; }
.jc-setnav a:hover { background: var(--jc-ground); }
.jc-setnav a[aria-current="true"] { background: var(--jc-primary-soft); color: var(--jc-primary-soft-text); }
.jc-setnav .sep { height: 1px; background: var(--jc-hairline); margin: 6px 4px; }
.jc-setmain { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jc-setsec { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 86px; }
.jc-setsec > h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.jc-setsec > p.lede { margin: -6px 0 0; font-size: 14px; color: var(--jc-ink2); line-height: 1.5; }
.jc-setsec h3 { margin: 6px 0 0; font-size: 16px; font-weight: 700; }
.jc-setrow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: var(--jc-ground); }
.jc-setrow .body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-setrow .body b { font-size: 15px; }
.jc-setrow .body span { font-size: 13px; color: var(--jc-ink2); }
.jc-setrow.blue { background: var(--jc-primary-soft); }
.jc-matrix { width: 100%; border-collapse: collapse; font-size: 14px; }
.jc-matrix th { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; letter-spacing: .02em; color: var(--jc-ink2); text-align: center; padding: 6px 8px; }
.jc-matrix th:first-child { text-align: left; }
.jc-matrix td { padding: 10px 8px; border-top: 1px solid var(--jc-hairline); text-align: center; }
.jc-matrix td:first-child { text-align: left; }
.jc-matrix input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--jc-primary); }
.jc-cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.jc-optcard { border: 1px solid var(--jc-hairline); border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; background: var(--jc-surface); }
.jc-optcard.on { border: 2px solid var(--jc-primary); padding: 11px 13px; background: var(--jc-primary-soft); }
.jc-optcard .c { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.jc-optcard .c b { font-size: 15px; }
.jc-optcard .c span { color: var(--jc-ink2); font-size: 13px; }
.jc-signout { background: var(--jc-ink); color: var(--jc-surface); border-color: var(--jc-ink); }

/* ---- check-in modal (w21-Checkin) ---- */
.jc-ci { width: min(720px, 100%); max-height: 92dvh; overflow: auto; background: var(--jc-surface); border-radius: 24px; box-shadow: var(--jc-shadow-pop); display: flex; flex-direction: column; }
.jc-ci .hd { display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px 12px; border-bottom: 1px solid var(--jc-hairline); }
.jc-ci .cols { display: flex; flex-wrap: wrap; }
.jc-ci .cols > div { flex: 1 1 300px; min-width: 0; padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.jc-ci .cols > div + div { border-left: 1px solid var(--jc-hairline); }
.jc-ci .stp { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; }
.jc-ci .stp .n { width: 22px; height: 22px; border-radius: 999px; background: var(--jc-ink); color: var(--jc-surface); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.jc-ci .res { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--jc-hairline); border-radius: 14px; cursor: pointer; text-align: left; font: inherit; color: var(--jc-ink); background: var(--jc-surface); width: 100%; }
.jc-ci .res.on { border: 2px solid var(--jc-primary); padding: 9px 11px; background: var(--jc-primary-soft); }
.jc-ci .res .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-ci .res .c b { font-size: 15px; }
.jc-ci .res .c span { font-size: 13px; color: var(--jc-ink2); }
.jc-ci .map { height: 110px; border-radius: 14px; background: #EDE8DD; position: relative; overflow: hidden; }
.jc-minimap { background: #EDE8DD; position: relative; overflow: hidden; }
.jc-minimap svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- place (w21-Place) ---- */
.jc-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 140px 140px; gap: 8px; }
.jc-mosaic > * { position: relative; border-radius: 16px; overflow: hidden; background: var(--jc-hero); }
.jc-mosaic > :first-child { grid-row: 1 / 3; }
.jc-mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-mosaic .tag { position: absolute; left: 12px; bottom: 10px; color: #fff; background: rgba(29,27,24,.6); padding: 3px 9px; border-radius: 999px; }
.jc-mosaic .more { position: absolute; right: 12px; bottom: 10px; }
.jc-noteq { padding: 14px 16px; border-radius: 14px; background: var(--jc-ground); display: flex; flex-direction: column; gap: 10px; }
.jc-noteq q { font-size: 16px; font-weight: 600; line-height: 1.4; quotes: "“" "”"; }
.jc-noteq .by { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.jc-evrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--jc-ground); }
.jc-evrow .tm { width: 56px; flex: none; text-align: center; display: flex; flex-direction: column; gap: 2px; background: var(--jc-surface); border-radius: 10px; padding: 6px 4px; }
.jc-evrow .tm b { font-size: 16px; }
.jc-evrow .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jc-evrow .c a.t { font-size: 16px; font-weight: 700; color: var(--jc-ink); text-decoration: none; }
.jc-evrow img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }

/* ---- profile (w21-Profile / MyProfile) ---- */
.jc-profhead { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); overflow: hidden; }
.jc-profhead .cover { height: 120px; background: var(--jc-hero); }
.jc-profhead .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-profhead .row { display: flex; gap: 20px; align-items: flex-start; padding: 0 22px 20px; flex-wrap: wrap; }
.jc-profhead .av { margin-top: -40px; flex: none; position: relative; }
.jc-profhead .av .jc-av { border: 4px solid var(--jc-surface); box-shadow: var(--jc-shadow-card); }
.jc-profhead .c { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
.jc-profhead h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.05; }
.jc-profhead .meta { font-size: 14px; color: var(--jc-ink2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jc-profhead .meta b { color: var(--jc-ink); }
.jc-profhead .acts { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; align-items: flex-end; }
.jc-profstats { display: flex; gap: 22px; padding: 12px 22px; border-top: 1px solid var(--jc-hairline); align-items: center; flex-wrap: wrap; }
.jc-profstats b { font-size: 20px; }
.jc-kvtable { display: grid; grid-template-columns: 110px 1fr; gap: 0; border-radius: 12px; background: var(--jc-ground); overflow: hidden; }
.jc-kvtable > span { padding: 10px 14px; font-size: 15px; border-top: 1px solid var(--jc-surface); }
.jc-kvtable > span:nth-child(odd) { font-family: var(--jc-font-mono); font-weight: 500; font-size: 11px; color: var(--jc-ink2); padding-top: 13px; }
.jc-circprof { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--jc-hairline); border-radius: 14px; align-items: flex-start; }
.jc-circprof .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jc-circprof .c b { font-size: 15px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.jc-circprof .c .tag { font-size: 15px; font-weight: 600; }
.jc-circprof .c .bio { font-size: 14px; color: var(--jc-ink2); }

/* ---- friends (w21-Friends) ---- */
.jc-reqrow { background: var(--jc-ground); border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.jc-reqrow .c { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.jc-reqrow .c .nm { font-size: 16px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.jc-reqrow .acts { display: flex; gap: 6px; align-items: center; }
.jc-frow { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--jc-hairline); }
.jc-frow:first-child { border-top: 0; }
.jc-frow .c { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.jc-frow .c b { font-size: 15px; }
.jc-tonight { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.jc-tonight .p { border: 1px solid var(--jc-hairline); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.jc-tonight .p.dash { border-style: dashed; }
.jc-qrcard { background: var(--jc-surface); border-radius: 20px; box-shadow: var(--jc-shadow-flat); padding: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.jc-qrcard .box { background: #fff; padding: 12px; border-radius: 16px; border: 1px solid var(--jc-hairline); position: relative; }
.jc-qrcard .box .lg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: 999px; padding: 4px; display: flex; }

/* ---- album page (w21-Album) ---- */
.jc-albumgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.jc-albumgrid figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--jc-hero); cursor: pointer; }
.jc-albumgrid figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-albumgrid figure.big { grid-column: span 2; grid-row: span 2; }
.jc-albumgrid figure.tall { grid-row: span 2; }
.jc-albumgrid figure .cr { position: absolute; left: 10px; bottom: 10px; color: #fff; background: rgba(29,27,24,.6); padding: 3px 9px; border-radius: 999px; }
.jc-albumgrid figure .cr.yours { background: var(--jc-primary); }
.jc-albumgrid figure .hl { position: absolute; left: 10px; top: 10px; background: #1D1B18; color: #fff; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.jc-albumgrid .more { border: 1.5px dashed var(--jc-outline); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; background: var(--jc-surface); font: inherit; color: var(--jc-ink); }
.jc-albumgrid .more b { font-size: 24px; }
@media (max-width: 700px) { .jc-albumgrid { grid-template-columns: repeat(2, 1fr); } }
