@font-face {
  font-family: Bricolage;
  src: url('./fonts/bricolage.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #292929;
  --quiet: #5b5b5b;
  --line: #c4c4c4;
  --paper: #e2e2e2;
  --pale: #dcdcdc;
  --accent: #bcbcbc;
  --surface: #ededed;
  --blue-soft: #dfdfdf;
  --clay-soft: #d8d8d8;
  --clay: #626262;
  --blue: #5d5d5d;
  --sage: #626262;
  --red: #585858;
  --sidebar: 222px;
  --sans: Bricolage, 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
  --japanese: 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, sans-serif;
  font-family: var(--sans);
  font-weight: 470;
  line-height: 1.58;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
b,
strong {
  font-weight: 700;
}
h1 {
  font-size: clamp(1.8rem, 2.55vw, 2.35rem);
  letter-spacing: -0.045em;
  line-height: 1.3;
}
h2 {
  font-size: 1.22rem;
  line-height: 1.4;
  letter-spacing: -0.028em;
}
h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
small {
  font-size: 0.8125rem;
}
button {
  border: 0;
  background: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #707070;
  outline-offset: 3px;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
img {
  max-width: 100%;
  display: block;
}
.ic {
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
.num,
.mono,
[data-room-clock],
[data-home-clock],
[data-wait-clock] {
  font-family: Bricolage, var(--sans);
  font-variant-numeric: tabular-nums;
}
.muted,
.field small,
.credit {
  color: var(--quiet);
}
.muted {
  font-size: 0.9rem;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: -70px;
  left: 1rem;
  padding: 0.7rem;
  background: var(--surface);
}
.skip-link:focus {
  top: 0.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
  color: #171717;
  font-family: Bricolage, Arial, sans-serif;
  font-size: 1.62rem;
  letter-spacing: -0.068em;
  font-weight: 760;
}
.brand img {
  width: 33px;
  height: 30px;
}
.brand-link {
  align-self: flex-start;
  padding: 4px 5px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #dddddd;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 32px 17px 17px;
  z-index: 5;
}
.sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 49px;
}
.nav-item,
.side-link {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 7px;
  min-height: 44px;
  padding: 10px 15px;
  font-size: 0.94rem;
  font-weight: 610;
  text-align: left;
  white-space: nowrap;
  color: #5a5a5a;
}
.nav-item.selected {
  color: #464646;
  background: #c9c9c9;
}
.nav-item.selected .ic {
  stroke-width: 1.95;
}
.nav-item:hover,
.side-link:hover,
.account-link:hover,
.setting-link:hover {
  background: #d9d9d9;
  color: var(--ink);
}
.side-bottom {
  margin-top: auto;
}
.side-link {
  width: 100%;
  min-height: 39px;
  font-weight: 510;
  font-size: 0.86rem;
  gap: 12px;
}
.account-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin: 18px 0 0;
  padding: 19px 5px 3px;
}
.account-link > span:nth-child(2) {
  min-width: 0;
}
.account-link strong {
  display: block;
  font-size: 0.93rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-link small {
  display: block;
  color: var(--quiet);
  font-size: 0.75rem;
  line-height: 1.3;
}
.account-link > .ic {
  margin-left: auto;
  margin-right: 4px;
}
.mobile-nav,
.mobile-bar {
  display: none;
}
.main {
  margin-left: var(--sidebar);
  min-height: 100vh;
}
.content {
  max-width: 1510px;
  margin: 0 auto;
  padding: 39px clamp(24px, 3.5vw, 62px) 22px;
}
.page-heading,
.section-head,
.title-inline,
.actions,
.live-line,
.meta,
.chips,
.name-cell,
.member-intro,
.profile-line,
.date-label,
.demo-buttons,
.check-list,
.time-field,
.inline-field {
  display: flex;
  align-items: center;
}
.page-heading {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 25px;
}
.page-heading p {
  color: var(--quiet);
  margin-top: 7px;
}
.date-label {
  gap: 9px;
  font-size: 0.86rem;
  color: #696969;
  white-space: nowrap;
  font-weight: 550;
}
.section-head {
  gap: 12px;
  justify-content: space-between;
  margin: 24px 0 13px;
}
.section-head h2,
.title-inline h2,
.chat-panel h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}
.section-head h2 {
  font-size: 1.1rem;
}
.section-head h2 .ic {
  color: #585858;
}
.title-inline {
  gap: 10px;
  flex-wrap: wrap;
}
.num {
  letter-spacing: -0.045em;
}
.mono {
  font-size: 0.83rem;
  letter-spacing: 0.035em;
}
.btn,
.text-link,
.subtle-link,
.mobile-demo,
.code-btn,
.icon-btn,
.chosen-chip,
.select-chip {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.btn {
  border: 1px solid #c6c6c6;
  background: var(--surface);
  border-radius: 7px;
  min-height: 42px;
  padding: 8px 16px;
  font-weight: 650;
  font-size: 0.9rem;
  line-height: 1.4;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.15s;
}
.btn:hover:not(:disabled) {
  background: var(--pale);
  border-color: #989898;
}
.btn:active:not(:disabled),
.hero-cta:active:not(:disabled) {
  transform: translateY(1px);
}
.primary,
.send {
  background: #363636;
  color: #ffffff;
  border-color: #363636;
}
.btn.primary:hover:not(:disabled) {
  background: #444444;
  border-color: #444444;
}
.accent,
.btn.hero-cta {
  background: var(--accent);
  color: #313131;
  border: 1px solid var(--accent);
}
.btn.accent:hover:not(:disabled),
.hero-cta:hover:not(:disabled) {
  background: #aaaaaa;
  border-color: #aaaaaa;
}
.btn.small {
  min-height: 33px;
  padding: 5px 10px;
  font-size: 0.825rem;
}
.btn.full {
  width: 100%;
}
.text-link,
.subtle-link,
.code-btn {
  font-weight: 620;
  background: none;
  border: 0;
  padding: 2px 0;
  font-size: 0.855rem;
  text-align: left;
}
.text-link:hover,
.subtle-link:hover,
.code-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.subtle-link {
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.icon-btn {
  padding: 5px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 6px;
}
.icon-btn:hover {
  background: var(--pale);
}
.actions {
  gap: 9px;
  flex-wrap: wrap;
}
.actions.center {
  justify-content: center;
}
.danger-text {
  color: var(--red);
}
.danger-outline {
  color: var(--red);
  border-color: #c9c9c9;
}
.btn.danger {
  background: #575757;
  border-color: #575757;
  color: #ffffff;
}
.chip,
.chosen-chip,
.select-chip {
  font-size: 0.81rem;
  line-height: 1.4;
}
.chip,
.chosen-chip {
  background: #e3e3e3;
  border-radius: 5px;
  padding: 4px 8px;
}
.chips,
.chosen-tags {
  gap: 6px;
  flex-wrap: wrap;
}
.square-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 43px;
  height: 43px;
  border: 1px solid #cccccc;
  background: #e4e4e4;
  border-radius: 10px;
  color: #5c5c5c;
}
.status-dot,
.live-pill i {
  display: inline-block;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  background: #7e7e7e;
  flex: none;
}
.lounge-card {
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid #c6c6c6;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #383838;
  color: #ededed;
  min-height: 258px;
  display: flex;
  align-items: center;
}
.hero-art {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  height: 100%;
  width: 51%;
  display: block;
  max-width: 580px;
  pointer-events: none;
}
.hero-art canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-copy {
  padding: 28px 34px 31px;
  width: max-content;
  max-width: 65%;
}
.live-line {
  gap: 10px;
  color: #cfcfcf;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 530;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #818181;
  background: #4f4f4f;
  color: #e1e1e1;
  padding: 3px 9px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 690;
  white-space: nowrap;
}
.live-pill i {
  width: 6px;
  height: 6px;
  background: #aeaeae;
}
.live-pill.quiet {
  color: #d7d7d7;
  background: #484848;
  border-color: #7d7d7d;
}
.live-pill.quiet i {
  background: #b3b3b3;
}
.hero h2 {
  font-size: clamp(2.08rem, 2.8vw, 2.95rem);
  letter-spacing: -0.06em;
  line-height: 1.3;
  margin: 13px 0 7px;
  font-weight: 720;
}
.hero p {
  font-size: clamp(0.87rem, 1.08vw, 1.02rem);
  color: #d4d4d4;
  letter-spacing: 0.005em;
  line-height: 1.7;
}
.hero .hero-cta {
  min-height: 43px;
  padding: 10px 17px;
  font-size: 0.91rem;
  gap: 10px;
  margin-top: 23px;
}
.hero-copy p span {
  display: inline-block;
}
.hero-format {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 13px;
  color: #cecece;
  font-size: 0.8rem;
  font-weight: 530;
  white-space: nowrap;
}
.hero-format i {
  height: 10px;
  border-left: 1px solid #828282;
}
.hero-issue {
  display: block;
  margin-top: 4px;
  color: #d5d5d5;
}
/* Keep the existing hero footprint while its off-hours content changes. */
.hero-open .live-line {
  min-height: 1.55rem;
}
.hero-open[aria-hidden='true'] {
  visibility: hidden;
}
.hero-upcoming {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-next-label {
  color: #cfcfcf;
  font-size: 0.875rem;
}
.hero .hero-next-date {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin: 7px 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  line-height: 1.5;
  letter-spacing: -0.025em;
}
.hero-next-date time,
.hero-next-date > span {
  white-space: nowrap;
}
.hero-countdown {
  margin-top: 16px;
}
.hero-countdown > span {
  display: block;
  color: #bdbdbd;
  font-size: 0.8125rem;
}
.hero-countdown strong {
  display: block;
  margin-top: 1px;
  font-family: Bricolage, var(--sans);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 610;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
/* Keep the requested home cards and participation choices in their original colors. */
.session-stats,
.balance-grid,
.stance-panel {
  --ink: #263740;
  --quiet: #566873;
  --line: #bcc8cc;
  --surface: #eaf0f1;
  --blue: #3c6478;
  --clay: #8b5945;
  --clay-soft: #e5d5c9;
  --sage: #426c63;
  color: var(--ink);
}
.balance-value .status-dot {
  background: #62877a;
}
.stance-panel .stance.active {
  color: #2d5263;
}
.session-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1.08fr;
  padding: 18px 0;
  background: var(--surface);
}
.session-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: clamp(12px, 2.3vw, 40px);
  border-right: 1px solid var(--line);
  min-width: 0;
}
.session-stat:last-child {
  border: 0;
}
.session-stat:nth-child(1) .stat-icon {
  color: var(--blue);
}
.session-stat:nth-child(2) .stat-icon {
  color: var(--clay);
}
.session-stat:nth-child(3) .stat-icon {
  color: #756b4d;
}
.stat-icon {
  display: grid;
  place-items: center;
  color: #557280;
}
.session-stat p {
  font-size: 0.78rem;
  font-weight: 540;
  color: var(--quiet);
  margin-bottom: 1px;
}
.session-stat strong {
  font-family: Bricolage, var(--japanese);
  font-size: 1.52rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 630;
}
.session-stat:last-child strong {
  font-size: 1.32rem;
  letter-spacing: 0.005em;
}
.session-stat small {
  margin-left: 6px;
  color: #4b626d;
  font-size: 0.81rem;
}
.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 17px;
}
.balance-card {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 15px 20px;
  text-align: left;
}
.balance-card:first-child {
  background: #d5e1dc;
  border-color: #b0c4bb;
}
.balance-card:first-child .square-icon {
  background: #c1d3c9;
  border-color: #a6bfb2;
  color: var(--sage);
}
.balance-card:last-child {
  background: var(--clay-soft);
  border-color: #cbb6a7;
}
.balance-card:last-child .square-icon {
  background: #d9c2b3;
  border-color: #c4a793;
  color: var(--clay);
}
.balance-card:first-child:hover {
  background: #cbdbd3;
}
.balance-card:last-child:hover {
  background: #decdc0;
}
.balance-card > .ic {
  margin-left: auto;
  color: #6c818c;
}
.history-entry:hover,
.notices button:hover {
  background: #e3e3e3;
}
.small-label {
  font-size: 0.8rem;
  color: var(--quiet);
  font-weight: 550;
  line-height: 1.5;
}
.balance-value {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.13rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 2px;
}
.balance-value .num {
  font-size: 1.55rem;
  line-height: 1;
}
.balance-value small {
  font-size: 0.86rem;
  font-weight: 550;
  margin-left: -5px;
}
.balance-value .status-dot {
  width: 6px;
  height: 6px;
}
.home-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
  gap: 23px;
  margin-top: 4px;
}
.home-lower > section {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.wiki-card,
.notices {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  overflow: hidden;
  min-height: 179px;
}
.wiki-card {
  display: grid;
  grid-template-columns: 37% 1fr;
  flex: 1;
  min-height: 179px;
}
.wiki-image {
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 205px;
  object-fit: cover;
  object-position: 52% 49%;
  filter: grayscale(1);
}
.wiki-copy {
  background: var(--blue-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 18px;
}
.wiki-copy h3 {
  font-size: 1.26rem;
  letter-spacing: -0.04em;
}
.wiki-copy p {
  font-size: 0.83rem;
  line-height: 1.77;
  color: #5e5e5e;
  margin: 6px 0 12px;
}
.wiki-copy a {
  margin-top: auto;
  font-size: 0.79rem;
}
.notices {
  background: #e2e2e2;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.notices button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  text-align: left;
  padding: 10px 14px;
  flex: 1;
  min-height: 54px;
  width: 100%;
}
.notices button + button {
  border-top: 1px solid #d3d3d3;
}
.notices time,
.ledger-row small {
  display: block;
  color: #6d6d6d;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}
.notices b {
  display: block;
  line-height: 1.55;
  font-weight: 600;
  font-size: 0.85rem;
}
.notices .ic {
  color: #7d7d7d;
}
.schedule-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 14px 0 2px;
  color: #6b6b6b;
  font-size: 0.78rem;
}
.schedule-foot strong {
  font-weight: 550;
}
.schedule-foot .subtle-link {
  margin-left: auto;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e6e6e6;
  flex: none;
}
.avatar i {
  position: absolute;
  display: block;
  inset: 16%;
  border-radius: 50%;
}
.av0,
.av4 {
  background: #e6e6e6;
}
.av0 i {
  background: repeating-radial-gradient(ellipse at 70% 75%, #606060 0 8%, transparent 9% 16%);
}
.av1 {
  background: #e7e7e7;
}
.av1 i {
  inset: 23% 11% 14%;
  border-radius: 40% 55% 0 0;
  background: repeating-linear-gradient(135deg, #494949 0 9%, transparent 10% 18%);
  transform: rotate(-9deg);
}
.av2,
.av6 {
  background: #e1e1e1;
}
.av2 i {
  border-radius: 50% 50% 50% 0;
  background: repeating-radial-gradient(circle at 0% 100%, #696969 0 8%, transparent 9% 17%);
}
.av3,
.av7 {
  background: #e4e4e4;
}
.av3 i {
  border-radius: 0;
  background: repeating-linear-gradient(0deg, #626262 0 8%, transparent 9% 17%);
  transform: rotate(-30deg);
}
.av4 i {
  border: 5px double #636363;
  transform: scaleX(0.75) rotate(40deg);
}
.av5 {
  background: #e3e3e3;
}
.av5 i {
  background: repeating-radial-gradient(ellipse at 30% 0%, transparent 0 9%, #6d6d6d 10% 17%);
}
.av6 i {
  background:
    linear-gradient(90deg, transparent 47%, #666666 48% 53%, transparent 54%),
    repeating-linear-gradient(38deg, #666666 0 7%, transparent 8% 19%);
  border-radius: 65% 8% 65% 10%;
}
.av7 i {
  background: repeating-linear-gradient(90deg, #656565 0 10%, transparent 11% 20%);
  transform: rotate(45deg);
  border-radius: 50% 50% 0 0;
}
.avatar.large {
  width: 55px;
  height: 55px;
}
.avatar.big {
  width: 69px;
  height: 69px;
}
.panel,
.center-card,
.history-list,
.kpi,
.table-scroll {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.panel {
  padding: 22px 24px;
  min-width: 0;
}
.panel > h2,
.panel > .title-inline {
  margin-bottom: 17px;
}
.panel > .section-head:first-child {
  margin: 0 0 15px;
}
.panel > h3,
.dialog-body > h3 {
  margin: 18px 0 7px;
}
.panel > p {
  margin: 10px 0;
}
.stack {
  display: grid;
  align-content: start;
  gap: 16px;
}
.two-grid,
.setup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.setup-layout {
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.48fr);
  align-items: start;
}
.join-summary {
  position: sticky;
  top: 20px;
}
.join-cost {
  display: none;
}
.join-summary .square-icon {
  margin-bottom: 13px;
}
.join-summary .btn {
  margin-top: 8px;
}
.narrow {
  max-width: 790px;
  margin: 0 auto 0 0;
}
.line-row,
.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #d3d3d3;
  font-size: 0.91rem;
  overflow-wrap: anywhere;
}
.line-row:last-child,
.ledger-row:last-child {
  border-bottom: 0;
}
.line-row > span:first-child {
  color: var(--quiet);
}
.line-row > strong,
.line-row > .chips {
  text-align: right;
}
.line-row strong {
  font-weight: 610;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.91rem;
  font-weight: 620;
  margin: 16px 0;
}
.field > small {
  align-self: flex-start;
  font-weight: 450;
}
.field input,
.field select,
.field textarea,
.time-field input,
.inline-field select,
.chat-input input,
.search-box {
  width: 100%;
  border: 1px solid #bbbbbb;
  border-radius: 7px;
  background: var(--surface);
  font-size: 1rem;
  font-weight: 450;
  padding: 9px 12px;
}
.field textarea {
  resize: vertical;
  min-height: 83px;
}
.field small {
  display: inline;
}
.field select,
.inline-field select {
  padding-right: 35px;
  appearance: none;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%235b5b5b' stroke-width='1.5'/%3E%3C/svg%3E")
    no-repeat right 12px center;
}
.field input[type='checkbox'],
input[type='checkbox'] {
  accent-color: #5d5d5d;
}
.inline-field {
  gap: 8px;
  font-size: 0.86rem;
  white-space: nowrap;
}
.inline-field select {
  min-width: 125px;
}
.select-chip {
  padding: 6px 10px;
  border: 1px solid #c5c5c5;
  background: #ececec;
  border-radius: 6px;
  min-height: 33px;
}
.select-chip.active,
.chosen-chip,
.stance.active,
.rating-item.active,
.segments .active {
  background: #dcdcdc;
  border-color: #838383;
  color: #4b4b4b;
}
.chosen-tags {
  display: flex;
  margin-bottom: 10px;
}
.tag-tools,
.tag-tools > div,
.tag-group > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-tools {
  margin: 14px 0 10px;
}
.tag-tools > div {
  gap: 16px;
}
.tag-tools .text-link {
  min-height: 28px;
}
.tag-tools b {
  font-size: 0.875rem;
}
.tag-tools .text-link {
  font-size: 0.8rem;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  color: var(--quiet);
}
.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  padding: 3px;
  font-size: 0.92rem;
}
.search-box:focus-within {
  outline: 2px solid #838383;
  outline-offset: 1px;
}
.tag-groups {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.tag-group {
  border-bottom: 1px solid var(--line);
  padding: 7px 0;
}
.tag-group > div:first-child {
  flex-wrap: nowrap;
  gap: 8px;
}
.tag-expander {
  width: 38px;
  height: 38px;
  color: #747474;
}
.tag-group > div:first-child > .select-chip {
  border-color: transparent;
  background: transparent;
  text-align: left;
  justify-content: flex-start;
  flex: 1;
  min-height: 44px;
  padding: 9px 11px;
  font-size: 0.94rem;
  gap: 12px;
  font-weight: 610;
}
.tag-group > div:first-child > .select-chip.active {
  background: #d9d9d9;
  color: #464646;
}
.tag-check {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border: 1px solid #a5a5a5;
  border-radius: 5px;
}
.active > .tag-check {
  background: #646464;
  border-color: #646464;
  color: #f0f0f0;
}
.tag-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 47px 7px 21px;
  padding: 8px 0 5px 21px;
  border-left: 1px solid #b2b2b2;
}
.tag-subs[hidden] {
  display: none;
}
.tag-subs .select-chip {
  min-height: 36px;
  font-size: 0.875rem;
  background: #e7e7e7;
  border-color: #bbbbbb;
}
.tag-subs .select-chip.active {
  background: #5d5d5d;
  color: #f1f1f1;
  border-color: #5d5d5d;
}
.stance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.stance {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 4px;
}
.stance-check {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border: 1px solid #8fa4af;
  border-radius: 4px;
}
.stance.active .stance-check {
  background: var(--stance-color);
  border-color: var(--stance-color);
  color: #f5f1eb;
}
.stance .stance-check .ic {
  margin: 0;
  color: inherit;
}
.stance:nth-child(1) {
  --stance-color: #42677b;
  --stance-bg: #cedee5;
}
.stance:nth-child(2) {
  --stance-color: #95634d;
  --stance-bg: #e5d4c8;
}
.stance:nth-child(3) {
  --stance-color: #71657f;
  --stance-bg: #ddd7e4;
}
.stance {
  border-color: #bdcbd0;
  background: #e3e9eb;
}
.stance .ic {
  color: var(--stance-color);
}
.stance.active {
  background: var(--stance-bg);
  border-color: var(--stance-color);
}
.stance.active b {
  color: var(--stance-color);
}
.stance .ic {
  margin-bottom: 4px;
}
.stance small {
  font-size: 0.76rem;
  color: var(--quiet);
}
.switch-row,
.setting-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 0;
  font-size: 0.92rem;
}
.switch-row small {
  display: block;
  color: var(--quiet);
  font-weight: 450;
}
.switch {
  display: block;
  flex: none;
  width: 37px;
  height: 22px;
  border-radius: 30px;
  background: #bcbcbc;
  padding: 3px;
}
.switch:after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-radius: 50%;
}
.switch.on {
  background: #646464;
}
.switch.on:after {
  margin-left: auto;
}
.setting-link {
  border-bottom: 1px solid #d3d3d3;
  justify-content: flex-start;
  padding: 13px 3px;
  font-weight: 550;
}
.setting-link span {
  flex: 1;
}
.setting-link:last-child {
  border: 0;
}
.profile-line,
.member-intro {
  gap: 14px;
}
.profile-line div > p {
  font-size: 0.86rem;
  color: var(--quiet);
}
.profile-line > button {
  margin-left: auto;
}
.empty {
  text-align: center;
  padding: 32px 15px;
  color: #757575;
}
.empty h3 {
  font-size: 1rem;
  margin: 8px 0 4px;
}
.empty p {
  font-size: 0.89rem;
}
.center-card {
  text-align: center;
  max-width: 570px;
  padding: 32px;
  margin: 12px auto;
}
.center-card > p {
  margin: 8px 0;
  color: var(--quiet);
}
.wait-facts {
  margin: 19px 0 24px;
}
.waiting-orbit {
  border: 1px solid #bababa;
  border-radius: 50%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  box-shadow: inset 0 0 0 8px #ededed;
}
.waiting-orbit img {
  width: 44px;
}
.waiting-orbit.moving img {
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe {
  50% {
    transform: scale(0.86);
    opacity: 0.65;
  }
}
.history-list {
  overflow: hidden;
}
.history-entry {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.history-entry + .history-entry {
  border-top: 1px solid var(--line);
}
.history-entry > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.history-entry p {
  color: #5c5c5c;
  font-size: 0.91rem;
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 6px 0;
}
.history-date {
  display: grid;
  place-items: center;
  min-width: 57px;
  min-height: 68px;
  border-radius: 8px;
  background: var(--pale);
}
.history-date span {
  font-size: 0.75rem;
}
.history-date b {
  font-size: 1.65rem;
  line-height: 1;
}
.meta {
  gap: 5px;
  font-size: 0.81rem;
  color: var(--quiet);
  flex-wrap: wrap;
}
.rating {
  display: flex;
  gap: 7px;
}
.rating-item {
  min-width: 37px;
  min-height: 36px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.code-btn {
  font-family: Bricolage, var(--japanese);
  font-size: 0.8rem;
  letter-spacing: 0.015em;
  overflow-wrap: anywhere;
}
.wallet {
  background: #4b4b4b;
  color: #ffffff;
}
.wallet-value {
  display: block;
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
.wallet-value small {
  font-size: 1rem;
  margin-left: 8px;
}
.tabs,
.segments {
  display: flex;
  gap: 4px;
  align-items: center;
  background: #d8d8d8;
  padding: 4px;
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 15px;
  flex-wrap: wrap;
}
.tabs > button,
.segments > button {
  padding: 6px 11px;
  border-radius: 5px;
  color: #616161;
  font-weight: 570;
  font-size: 0.86rem;
}
.tabs > button.active,
.segments > button.active {
  color: #474747;
  background: var(--surface);
  box-shadow: 0 1px 3px #25252520;
}
.ledger {
  padding-block: 5px;
}
.ledger-row {
  justify-content: flex-start;
  gap: 14px;
}
.ledger-row > strong {
  margin-left: auto;
  font-size: 1.26rem;
}
.ledger-row > strong small {
  display: inline;
  font-family: var(--japanese);
}
.ledger-row > b {
  font-size: 0.92rem;
}
.ledger-row .square-icon {
  width: 35px;
  height: 35px;
}
.auth-shell > header,
.call-header,
.admin-shell > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 20px clamp(18px, 4vw, 64px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.auth-shell {
  min-height: 100vh;
}
.auth-card {
  max-width: 490px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 15px;
  margin: clamp(25px, 9vh, 90px) auto;
}
.auth-wide {
  max-width: 670px;
}
.auth-card h1 {
  font-size: 1.85rem;
  margin: 4px 0 13px;
}
.auth-card > p {
  color: var(--quiet);
  margin: 9px 0 18px;
}
.auth-card .auth-tabs {
  margin: 19px 0;
}
.auth-card .wide-auth {
  width: 100%;
  margin-bottom: 10px;
}
.auth-card .stack {
  margin-top: 18px;
}
.check-label,
.check-list label {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 0.93rem;
}
.check-label {
  margin: 20px 0;
}
.success-icon {
  display: grid;
  place-items: center;
  background: #dfdfdf;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}
dialog {
  position: fixed;
  max-width: min(94vw, 535px);
  width: 535px;
  max-height: min(88dvh, 860px);
  border: 1px solid #bebebe;
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 20px 90px #1a1a1a2b;
  overflow: hidden;
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog.wide {
  max-width: min(94vw, 690px);
  width: 690px;
}
dialog::backdrop {
  background: #18181869;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
}
.dialog-header h2 {
  font-size: 1.18rem;
}
.dialog-body {
  padding: 20px 23px;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
}
.dialog-body > p {
  margin: 0 0 16px;
}
.dialog-body h3 {
  margin-bottom: 8px;
}
.dialog-actions {
  margin-top: 20px;
}
.dialog-body .field:first-child {
  margin-top: 0;
}
.dialog-intro {
  color: var(--quiet);
  font-size: 0.9rem;
}
.demo-section + .demo-section,
.doc-copy section + section {
  margin-top: 17px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.demo-group {
  margin: 8px 0 12px;
}
.demo-group > b {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 4px;
  font-weight: 550;
}
.segments {
  margin: 0;
}
.segments > button {
  font-size: 0.81rem;
  padding: 5px 9px;
}
.demo-buttons,
.check-list,
.time-field {
  gap: 7px;
  flex-wrap: wrap;
}
.doc-copy p,
.article-detail p {
  font-size: 0.95rem;
  color: #5f5f5f;
  line-height: 1.85;
}
.article-detail img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.article-detail a {
  margin-top: 9px;
}
.article-detail .credit {
  font-size: 0.75rem;
}
.credit a {
  font-size: inherit;
}
.level {
  display: flex;
  gap: 3px;
  height: 12px;
  max-width: 285px;
}
.level i {
  flex: 1;
  background: #d0d0d0;
  border-radius: 2px;
}
.level.listening i:nth-child(-n + 12) {
  background: #989898;
  animation: meter 1.5s ease infinite alternate;
  animation-delay: calc(var(--n) * -0.11s);
}
@keyframes meter {
  to {
    opacity: 0.33;
  }
}
.avatar-options {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.avatar-options button {
  display: grid;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 3px;
}
.avatar-options button.active {
  border-color: #676767;
}
.feedback,
.extension-line {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #bababa;
  border-radius: 8px;
  background: #e2e2e2;
  padding: 10px 13px;
  font-size: 0.86rem;
}
.feedback.warning {
  background: #f4f4f4;
  border-color: #d4d4d4;
}
.feedback button,
.extension-line button {
  margin-left: auto;
}
.share-offer {
  margin: 22px 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.share-offer h3 { margin: 0; }
.share-offer p, .share-receipt p { margin: 8px 0 12px; }
.post-editor { margin: 14px 0; }
.post-editor .field { margin-bottom: 5px; }
.post-editor .share-footer {
  white-space: pre-line;
  color: var(--quiet);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
  margin: 10px 0 0;
}
.grant-form {
  margin-top: 12px;
}
.member-actions {
  margin-top: 13px;
}
#toast {
  position: fixed;
  bottom: 23px;
  left: 50%;
  transform: translate(-50%, 15px);
  z-index: 110;
  max-width: 90vw;
  padding: 10px 18px;
  background: #303030;
  color: #ffffff;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.16s;
  font-size: 0.88rem;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
body:has(.call-shell) {
  min-height: 0;
  height: 100dvh;
  overflow: hidden;
}
.call-shell {
  height: 100dvh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.call-header {
  flex: none;
  padding: 13px 24px;
}
.call-header > div {
  display: flex;
  gap: 8px;
}
.call-main {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  grid-template-areas: 'stage' 'dock';
}
.call-main.with-chat {
  grid-template-columns: minmax(0, 1fr) clamp(300px, 31vw, 440px);
  grid-template-areas: 'stage chat' 'dock chat';
}
.stage {
  grid-area: stage;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(12px, 2.5vh, 24px) clamp(14px, 2.5vw, 36px) 10px;
}
.stage-title {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.stage-title h1 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  margin: 5px 0 2px;
}
.stage-title p {
  font-size: 0.875rem;
  color: var(--quiet);
}
.stage-title .live-line {
  color: var(--quiet);
}
.live-pill.light {
  background: #d0d0d0;
  border-color: #bcbcbc;
  color: #424242;
}
.live-pill.light i {
  background: #666;
}
.table-timer {
  flex: none;
  background: #363636;
  color: #f1f1f1;
  min-width: 132px;
  padding: 9px 16px;
  border-radius: 10px;
  text-align: center;
}
.table-timer > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #d2d2d2;
  font-size: 0.8125rem;
}
.table-timer b {
  display: block;
  font-size: 2.1rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.table-timer.ending {
  outline: 2px solid #5a5a5a;
  outline-offset: 3px;
}
.call-notices {
  display: flex;
  flex: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.call-notices:empty {
  display: none;
}
.call-notices .btn {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 0.8125rem;
}
.call-update {
  color: var(--quiet);
  font-size: 0.8125rem;
}
.seat-grid {
  container: seats / size;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 12px;
  background: #d4d4d4;
  padding: 14px;
  border: 1px solid #b9b9b9;
  border-radius: 14px;
}
.seats-4,
.seats-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.seats-1 {
  grid-template-columns: 1fr;
}
.seat {
  container: participant / size;
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #e9e9e9;
  border: 1px solid #c1c1c1;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 8px 10px;
  color: var(--ink);
}
.seat.speaking {
  border-color: #555;
  box-shadow: inset 0 0 0 1px #555;
  background: #f0f0f0;
}
.seat:hover {
  border-color: #777;
}
.seat-state {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 5px;
  color: #656565;
}
.seat-avatar {
  position: relative;
  flex: none;
}
.seat .avatar.big {
  width: clamp(36px, 36cqh, 86px);
  height: clamp(36px, 36cqh, 86px);
}
.mic-badge {
  position: absolute;
  bottom: 0;
  right: -3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d5d5d5;
  border: 2px solid #f2f2f2;
  color: #444;
}
.muted-mic {
  background: #d4d4d4;
  color: #555;
}
.seat > strong {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  max-width: 100%;
  margin-top: 7px;
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.seat-name {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.seat > strong small {
  flex: none;
  color: var(--quiet);
  font-size: 0.75rem;
}
.seat-stance {
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: anywhere;
  color: var(--quiet);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.speaker-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  visibility: hidden;
  position: absolute;
  left: 8px;
  top: 7px;
  color: #454545;
  font-size: 0.75rem;
}
.speaking .speaker-tag {
  visibility: visible;
}
.speaker-tag .ic {
  animation: breathe 1.05s ease infinite;
}
.stage-foot {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--quiet);
  margin: 10px 2px 0;
}
.call-dock {
  grid-area: dock;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 11px 12px max(11px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.call-control {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 72px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 12px;
  background: #e2e2e2;
  font-size: 0.8125rem;
  font-weight: 550;
  white-space: nowrap;
}
.call-control:hover,
.call-control.is-on {
  background: #ccc;
  border-color: #939393;
}
.call-control.leave-control {
  background: #393939;
  color: #f4f4f4;
  border-color: #393939;
}
.call-control.leave-control:hover {
  background: #222;
}
.call-control em {
  position: absolute;
  top: 2px;
  right: 7px;
  background: #3a3a3a;
  color: #fff;
  border-radius: 10px;
  font-size: 0.75rem;
  padding: 0 5px;
  font-style: normal;
}
.call-dock > i {
  height: 35px;
  border-left: 1px solid var(--line);
  margin: 0 3px;
}
.chat-panel {
  grid-area: chat;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: var(--surface);
  border-left: 1px solid var(--line);
  overflow: hidden;
}
.chat-panel > header {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.chat-panel h2 {
  font-size: 1.05rem;
}
.chat-messages {
  flex: 1;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.chat-empty {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--quiet);
}
.chat-message {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  align-items: flex-start;
}
.chat-message > .avatar {
  width: 28px;
  height: 28px;
}
.chat-message > div {
  flex: 1;
  min-width: 0;
}
.chat-author {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.chat-author b {
  font-size: 0.875rem;
}
.chat-author time {
  font-size: 0.75rem;
  color: var(--quiet);
}
.chat-message p {
  margin-top: 4px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  font-size: 0.9375rem;
  background: #dedede;
  border-radius: 0 8px 8px 8px;
  padding: 8px 11px;
}
.chat-message.mine p {
  background: #d1d1d1;
}
.chat-link {
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.chat-input {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 12px 14px max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.chat-input input {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
}
.chat-input .send {
  flex: none;
  width: 40px;
}
.chat-input .send:hover {
  background: #222;
}
@container participant (max-height: 110px) {
  .seat .avatar.big {
    width: 32px;
    height: 32px;
  }
  .seat > strong {
    margin-top: 4px;
    font-size: 0.875rem;
  }
  .seat-stance {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .speaker-tag span {
    display: none;
  }
}
@container participant (max-height: 90px) {
  .seat-stance,
  .seat > strong small {
    display: none;
  }
}
@container participant (max-height: 60px) {
  .seat-avatar {
    position: absolute;
    right: 6px;
    bottom: 5px;
  }
  .seat-avatar .avatar {
    display: none;
  }
  .seat .mic-badge {
    position: static;
    width: 17px;
    height: 17px;
    border: 0;
  }
  .seat > strong {
    margin: 0;
    padding-inline: 12px;
    font-size: 0.875rem;
  }
  .seat-state {
    top: 4px;
    right: 6px;
  }
  .seat-state .ic:last-child {
    display: none;
  }
}
@container participant (max-width: 135px) {
  .speaker-tag span {
    display: none;
  }
}
@media (max-width: 760px) {
  .call-header {
    padding: 10px 14px;
  }
  .call-header .brand {
    font-size: 1.32rem;
  }
  .call-header .brand img {
    width: 27px;
    height: 25px;
  }
  .stage {
    padding: 12px 12px 8px;
  }
  .stage-title {
    margin-bottom: 10px;
    gap: 8px;
  }
  .stage-title h1 {
    font-size: 1.35rem;
    margin: 4px 0 0;
  }
  .stage-title p {
    font-size: 0.8125rem;
  }
  .stage-title .live-line {
    gap: 6px;
  }
  .stage-title .mono {
    font-size: 0.75rem;
  }
  .stage-foot {
    gap: 5px;
    margin-top: 7px;
  }
  .stage-foot .code-btn,
  .stage-foot .text-link {
    font-size: 0.75rem;
  }
  .table-timer {
    min-width: 104px;
    padding: 7px 10px;
  }
  .table-timer b {
    font-size: 1.8rem;
  }
  .table-timer > span {
    font-size: 0.75rem;
  }
  .seat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 10px;
  }
  .seat-grid.seats-1 {
    grid-template-columns: 1fr;
  }
  .call-main.with-chat {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1.1fr) minmax(0, 1fr) auto;
    grid-template-areas: 'stage' 'chat' 'dock';
  }
  .with-chat:has(.call-notices:not(:empty)) {
    grid-template-rows: minmax(0, 1.6fr) minmax(100px, 1fr) auto;
  }
  .with-chat .seat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
  }
  .with-chat .seats-1 {
    grid-template-columns: 1fr;
  }
  .with-chat .seats-2,
  .with-chat .seats-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .with-chat .stage-title h1 {
    font-size: 1.15rem;
  }
  .with-chat .stage-title p {
    display: none;
  }
  .with-chat .seat > strong {
    font-size: 0.8125rem;
  }
  .call-dock {
    gap: 6px;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
  }
  .call-dock > i {
    margin: 0;
  }
  .call-control {
    min-width: 48px;
    padding: 6px 8px;
    font-size: 0.75rem;
  }
  .chat-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .chat-panel > header {
    padding: 6px 12px;
  }
  .chat-messages {
    padding: 10px 12px;
  }
  .chat-input {
    padding: 8px 12px;
  }
  .chat-input input {
    padding: 7px 10px;
  }
}
@media (max-height: 620px) {
  .call-header {
    padding-block: 7px;
  }
  .stage {
    padding-top: 9px;
  }
  .stage-title {
    margin-bottom: 9px;
  }
  .stage-title h1 {
    font-size: 1.25rem;
    margin: 2px 0 0;
  }
  .stage-title p {
    display: none;
  }
  .table-timer {
    padding: 5px 12px;
  }
  .table-timer b {
    font-size: 1.75rem;
  }
  .call-dock {
    padding-top: 6px;
    padding-bottom: max(6px, env(safe-area-inset-bottom));
  }
  .call-control {
    padding-block: 5px;
    gap: 2px;
  }
  .seat-grid {
    padding: 6px;
    gap: 6px;
  }
}
@media (orientation: landscape) and (max-height: 500px) and (min-width: 600px) {
  .call-main.with-chat {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 38%);
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: 'stage chat' 'dock chat';
  }
  .seat-grid,
  .with-chat .seat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .call-control {
    font-size: 0.75rem;
    min-width: 46px;
    padding-inline: 7px;
  }
  .call-dock {
    gap: 5px;
  }
  .chat-panel {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .chat-panel > header {
    padding-block: 6px;
  }
}
@media (max-width: 370px) {
  .call-header {
    padding-inline: 10px;
  }
  .stage {
    padding-inline: 8px;
  }
  .call-control {
    min-width: 43px;
    padding-inline: 5px;
  }
  .call-dock {
    gap: 4px;
  }
  .stage-title .live-line {
    font-size: 0.75rem;
  }
}
.admin-shell > header {
  justify-content: flex-start;
}
.admin-shell > header > b {
  border-left: 1px solid var(--line);
  padding-left: 15px;
  font-size: 0.94rem;
}
.admin-shell > header > button {
  margin-left: auto;
}
.admin-nav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 9px clamp(15px, 4vw, 60px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
}
.admin-nav a.active {
  background: var(--pale);
  font-weight: 650;
}
.admin-main {
  max-width: 1450px;
  margin: auto;
  padding: 28px clamp(14px, 4vw, 60px);
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.kpi {
  padding: 16px;
}
.kpi span,
.kpi strong,
.kpi small {
  display: block;
}
.kpi span {
  font-size: 0.9rem;
  font-weight: 580;
}
.kpi strong {
  font-size: 2.15rem;
  line-height: 1.2;
  margin: 6px 0;
}
.kpi small {
  font-size: 0.75rem;
  color: var(--quiet);
}
.bar-row {
  display: grid;
  grid-template-columns: minmax(85px, 1fr) minmax(35px, 0.65fr) 32px;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  font-size: 0.82rem;
}
.bar-row > div {
  height: 7px;
  background: #dfdfdf;
  border-radius: 3px;
  overflow: hidden;
}
.bar-row i {
  display: block;
  height: 100%;
  background: #888888;
}
.bar-row strong {
  text-align: right;
}
.admin-search {
  max-width: 460px;
  margin-bottom: 16px;
}
.table-scroll {
  overflow-x: auto;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.table-scroll th,
.table-scroll td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid #d0d0d0;
  white-space: nowrap;
}
.table-scroll th {
  font-size: 0.8rem;
  color: var(--quiet);
  font-weight: 600;
  background: #dfdfdf;
}
.name-cell {
  gap: 8px;
}
.name-cell .avatar {
  width: 28px;
  height: 28px;
}
.check-list {
  margin: 10px 0 18px;
  gap: 12px;
}
.time-field {
  flex-wrap: nowrap;
  margin-bottom: 12px;
}
.time-field span {
  white-space: nowrap;
  font-size: 0.85rem;
}
.time-field input {
  width: 125px;
}
@media (min-width: 1550px) {
  .hero {
    min-height: 300px;
  }

  .hero-copy {
    padding-left: 44px;
  }
  .wiki-card,
  .notices {
    min-height: 195px;
  }
  .wiki-copy {
    padding: 22px;
  }
  .home-lower {
    grid-template-columns: 1.5fr 1fr;
  }
}
@media (max-width: 1180px) {
  :root {
    --sidebar: 195px;
  }
  .sidebar {
    padding-inline: 13px;
  }
  .brand {
    font-size: 1.49rem;
  }
  .content {
    padding-inline: 26px;
  }

  .hero-copy {
    padding-left: 26px;
  }
  .home-lower {
    gap: 15px;
    grid-template-columns: 1.42fr 1fr;
  }
  .wiki-copy {
    padding: 13px;
  }
  .notices button {
    padding-inline: 11px;
  }
  .setup-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
  }
  .panel {
    padding: 18px;
  }
  .profile-line {
    flex-wrap: wrap;
  }
  .session-stat {
    gap: 10px;
  }
}
@media (max-width: 970px) and (min-width: 761px) {
  :root {
    --sidebar: 170px;
  }
  .brand {
    font-size: 1.36rem;
    gap: 6px;
  }
  .brand img {
    width: 27px;
  }
  .content {
    padding-inline: 21px;
  }
  .nav-item {
    gap: 10px;
  }
  .wiki-card {
    grid-template-columns: 32% 1fr;
  }
  .home-lower {
    gap: 12px;
    grid-template-columns: 1.22fr 1fr;
  }
  .wiki-copy p {
    font-size: 0.79rem;
  }

  .hero-copy {
    max-width: 72%;
  }
  .hero-art {
    width: 46%;
  }
  .session-stats {
    padding-block: 14px;
  }
  .session-stat {
    padding-left: 14px;
  }
  .balance-card {
    padding-inline: 14px;
  }
  .setup-layout {
    grid-template-columns: 1fr;
  }
  .join-summary {
    position: static;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    display: none;
  }
  .main {
    margin: 0;
  }
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 17px;
    background: #dddddd;
    border-bottom: 1px solid var(--line);
  }
  .mobile-bar .brand {
    font-size: 1.36rem;
  }
  .mobile-bar .brand img {
    width: 27px;
    height: 25px;
  }
  .mobile-demo {
    font-size: 0.77rem;
    color: var(--quiet);
    gap: 5px;
    padding: 6px 0 6px 6px;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 5px 4px max(6px, env(safe-area-inset-bottom));
    z-index: 5;
    border-top: 1px solid var(--line);
    background: #dddddd;
  }
  .mobile-nav .nav-item {
    flex-direction: column;
    gap: 2px;
    min-height: 43px;
    padding: 4px 1px;
    font-size: 0.72rem;
    font-weight: 550;
  }
  .mobile-nav .nav-item.selected {
    background: #cccccc;
  }
  .content {
    padding: 23px 17px calc(80px + env(safe-area-inset-bottom));
  }
  .page-heading {
    margin-bottom: 17px;
    gap: 8px;
  }
  .date-label {
    font-size: 0.75rem;
    gap: 5px;
  }
  .date-label .ic {
    width: 15px;
  }
  .hero {
    min-height: 222px;
  }

  .hero-copy {
    padding: 22px;
    max-width: 70%;
  }
  .hero h2 {
    font-size: 1.9rem;
  }
  .hero-art {
    width: 48%;
  }
  .hero p {
    font-size: 0.82rem;
  }
  .hero .hero-cta {
    font-size: 0.85rem;
    min-height: 40px;
    margin-top: 16px;
  }
  .session-stats {
    padding: 13px 0;
  }
  .session-stat {
    padding-left: 12px;
    gap: 7px;
  }
  .session-stat strong {
    font-size: 1.32rem;
  }
  .session-stat:last-child strong {
    font-size: 1.13rem;
  }
  .session-stat p {
    font-size: 0.72rem;
  }
  .session-stat small {
    font-size: 0.74rem;
    margin-left: 3px;
  }
  .balance-grid {
    gap: 9px;
    margin-top: 11px;
  }
  .balance-card {
    gap: 9px;
    padding: 12px;
    min-height: 74px;
  }
  .balance-card .square-icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
  }
  .balance-card .square-icon .ic {
    width: 19px;
  }
  .small-label {
    font-size: 0.74rem;
  }
  .balance-value {
    font-size: 0.97rem;
    gap: 5px;
  }
  .balance-value .num {
    font-size: 1.35rem;
  }
  .balance-card > .ic {
    width: 12px;
  }
  .section-head {
    margin: 21px 0 11px;
  }
  .home-lower {
    gap: 14px;
    grid-template-columns: 1.3fr 1fr;
  }
  .home-lower .section-head h2 {
    font-size: 1rem;
  }
  .wiki-card {
    grid-template-columns: 35% 1fr;
  }
  .setup-layout {
    grid-template-columns: 1fr;
  }
  .join-summary {
    position: static;
  }
  .panel {
    padding: 17px;
  }
  .narrow {
    max-width: 100%;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-card {
    margin: 22px 15px;
  }
  .auth-shell header {
    padding: 15px;
  }
  .auth-card.auth-wide {
    max-width: 100%;
  }
  .admin-main .page-heading {
    flex-wrap: wrap;
  }
  .admin-main > .two-grid {
    grid-template-columns: 1fr;
  }
  .admin-nav {
    padding-inline: 10px;
  }
  .admin-shell > header {
    padding: 12px;
    gap: 9px;
  }
  .admin-shell > header > b {
    font-size: 0.8rem;
    padding-left: 9px;
  }
  #toast {
    bottom: 77px;
  }
  .dialog-body {
    padding: 16px 18px;
  }
  .history-entry {
    gap: 12px;
    padding: 15px;
  }
}
@media (max-width: 600px) {
  .tag-subs {
    margin-right: 8px;
    margin-left: 20px;
    padding-left: 13px;
  }
  .tag-tools > div {
    width: 100%;
    justify-content: flex-start;
  }
  .home-lower {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-lower .section-head h2 {
    font-size: 1.05rem;
  }
  .wiki-card {
    min-height: 148px;
    max-height: none;
    height: auto;
    grid-template-columns: 35% 1fr;
  }
  .wiki-image {
    min-height: 148px;
    max-height: 170px;
  }
  .wiki-copy {
    padding: 13px 15px;
  }
  .notices {
    min-height: 142px;
  }
  .notices button {
    min-height: 49px;
    padding: 8px 13px;
  }
  .hero-art {
    width: 56%;
    right: -8%;
    opacity: 0.89;
    mask-image: linear-gradient(to right, transparent, #000000 24%);
  }
  .hero-format {
    display: none;
  }
  .next-countdown {
    font-size: 0.7rem;
  }

  .hero-copy {
    max-width: 75%;
    padding: 19px;
  }
  .hero-copy p {
    max-width: 19em;
  }
  .hero h2 {
    margin: 12px 0 5px;
  }
  .hero {
    min-height: 210px;
  }
  .session-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-left: 13px;
  }
  .session-stat .stat-icon {
    display: none;
  }
  .session-stat:last-child strong {
    font-size: 1.05rem;
  }
  .balance-card {
    padding: 11px 9px;
    gap: 8px;
  }
  .balance-card > .ic {
    display: none;
  }
  .schedule-foot {
    font-size: 0.74rem;
  }
  .two-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 15px;
  }
  .check-list {
    gap: 8px;
  }
  .auth-card {
    padding: 24px;
  }
  .avatar.big {
    width: 57px;
    height: 57px;
  }
  .hide-xs {
    display: none;
  }
  .line-row {
    font-size: 0.86rem;
    gap: 6px;
  }
  .auth-tabs {
    width: 100%;
  }
  .auth-tabs button {
    flex: 1;
  }
  .profile-line {
    gap: 9px;
  }
  .profile-line .btn {
    font-size: 0.79rem;
    padding-inline: 9px;
  }
  .code-btn {
    font-size: 0.72rem;
  }
  .history-date {
    min-width: 44px;
  }
  .history-entry h3 {
    font-size: 0.96rem;
  }
  .history-entry p {
    font-size: 0.86rem;
  }
  .history-entry .meta {
    font-size: 0.74rem;
  }
  .bar-row {
    grid-template-columns: minmax(70px, 1.1fr) minmax(25px, 0.7fr) 25px;
  }
  .center-card {
    padding: 22px 15px;
  }
  .grant-form .field {
    margin-bottom: 9px;
  }
  .schedule-foot .subtle-link {
    margin-left: 3px;
  }
  .hero .live-line {
    gap: 7px;
    font-size: 0.72rem;
  }
}
@media (max-width: 370px) {
  .content {
    padding-inline: 12px;
  }

  .hero-copy {
    padding-inline: 15px;
    max-width: 78%;
  }
  .hero-art {
    right: -12%;
  }
  .hero h2 {
    font-size: 1.75rem;
  }
  .date-label {
    font-size: 0.68rem;
  }
  .balance-card .square-icon {
    width: 29px;
    height: 29px;
  }
  .session-stat {
    padding-left: 8px;
  }
  .small-label {
    font-size: 0.69rem;
  }
  .balance-value {
    font-size: 0.88rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* Clear participation choices, safety actions and compact contextual help. */
.optional-interests > summary { cursor: pointer; font-weight: 650; line-height: 1.7; }
.optional-interests > summary .muted { font-weight: 450; margin-left: 8px; }
.optional-interests > p { margin: 12px 0; }
.topic-question { margin: 12px 0; padding-left: 12px; border-left: 3px solid var(--line); color: var(--ink); line-height: 1.75; }
.compact-empty { padding: 14px 16px; font-size: .9rem; }
.rating-labels { display: flex; justify-content: space-between; max-width: 300px; color: var(--quiet); font-size: .8rem; margin-top: 6px; }
.draft-status { color: var(--quiet); font-size: .875rem; margin-bottom: 12px; }
.plain-list { padding-left: 1.4em; margin: 0 0 18px; }
.plain-list li + li { margin-top: 9px; }
.avatar-field { border: 0; padding: 0; margin: 18px 0; }
.avatar-field legend { font-weight: 650; margin-bottom: 10px; }
.avatar-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avatar-choice { padding: 6px; border: 2px solid transparent; border-radius: 10px; display: grid; place-items: center; }
.avatar-choice[aria-pressed='true'] { border-color: var(--ink); background: var(--pale); }
.blocked-person { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.blocked-person > span:not(.avatar) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.blocked-person .btn { flex: none; }
.safety-people .setting-link { width: 100%; }
.safety-people .setting-link > span:last-child { font-size: .8rem; color: var(--quiet); }
.participant-prompt { margin-block: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.audio-tests { margin: 18px 0 12px; }
.audio-level-label { display: block; font-size: .875rem; margin-bottom: 6px; }
#audio-input-level { width: 100%; height: 18px; }
#audio-test-status { color: var(--quiet); font-size: .875rem; margin: 8px 0 18px; }
.wait-hint { margin-top: 18px; line-height: 1.8; font-size: .9rem; }
.room-starting-hint { color: var(--quiet); font-size: .875rem; line-height: 1.6; margin: 0 0 8px; flex: none; }
.conversation-prompts { flex: none; border: 1px solid var(--line); background: var(--surface); border-radius: 8px; margin-bottom: 10px; font-size: .875rem; }
.conversation-prompts summary { padding: 8px 12px; cursor: pointer; font-weight: 650; }
.conversation-prompts > div { padding: 0 12px 10px; max-height: 110px; overflow: auto; overscroll-behavior: contain; }
.conversation-prompts p + p { margin-top: 8px; }
.conversation-prompts p { overflow-wrap: anywhere; white-space: pre-wrap; }
.vote-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 7px 10px; border-radius: 7px; background: var(--surface); font-size: .875rem; }
.vote-progress small { color: var(--quiet); }
.call-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.call-header .text-link { min-height: 40px; }
.btn[aria-busy='true'] { cursor: progress; }
@media (max-width: 760px) {
  .call-header .text-link { font-size: .8125rem; }
  .room-starting-hint { font-size: .8125rem; }
  .with-chat .room-starting-hint { display: none; }
  .with-chat .conversation-prompts { margin-bottom: 6px; }
  .with-chat .conversation-prompts summary { padding-block: 5px; }
  .with-chat .conversation-prompts > div { max-height: 75px; }
  .mobile-nav .nav-item { font-size: .75rem; }
  .icon-btn { min-width: 40px; min-height: 40px; }
  .btn.small { min-height: 40px; }
  .blocked-person { flex-wrap: wrap; }
  .blocked-person .btn { margin-left: auto; }
  .optional-interests > summary .muted { display: block; margin-left: 0; }
  .schedule-foot { flex-wrap: wrap; }
}
@media (max-height: 620px) {
  .room-starting-hint { display: none; }
  .conversation-prompts summary { padding-block: 5px; }
  .conversation-prompts > div { max-height: 65px; }
}

.home-lower > section:only-child { grid-column: 1 / -1; }

.nav-short { display: none; }
.join-hours { display: grid; gap: 6px; padding: 16px; margin: 16px 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--pale); color: var(--ink); }
.join-hours > svg { margin-bottom: 2px; }
.join-hours > b { font-size: 1.8rem; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.join-hours > span, .join-reasons { font-size: .85rem; color: var(--muted); }
.join-reasons { line-height: 1.7; margin: 0 0 12px; }
@media (max-width: 760px) {
  .mobile-nav .nav-item:has(.nav-short) .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .mobile-nav .nav-short { display: inline; }
}

.wiki-card.wiki-no-image { display: block; }
.wiki-attribution { display: block; color: var(--quiet); font-size: .75rem; line-height: 1.6; margin-top: 12px; }
.wiki-attribution a { font-size: inherit; }

/* Only the two acquisition actions use the LP ticket face (dist/v2.css).
   Keep the original wallet heading, balance, padding and outer panel geometry. */
.wallet { background:var(--wallet-bg); }
:root .ticket-face, :root[data-theme="all-black"] .ticket-face {
  display:flex; position:relative; width:100%; height:clamp(88px,7.4vw,98px);
  background:var(--ticket-bg); background-image:var(--ticket-gradient);
  color:var(--ticket-ink); border-radius:13px;
}
.ticket-face::before, .ticket-face::after {
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  width:18px; height:10px; background:var(--wallet-bg); z-index:1; pointer-events:none;
}
.ticket-face::before { top:-1px; border-radius:0 0 12px 12px; }
.ticket-face::after { bottom:-1px; border-radius:12px 12px 0 0; }
:root .wallet .ticket-face > .btn,
.ticket-face > .ticket-received {
  flex:1; min-width:0; margin:0; padding:12px; text-align:center;
  color:var(--ticket-ink); background:transparent; border:0; border-radius:0;
  font-size:.9rem; line-height:1.5; white-space:normal;
}
.ticket-face > .ticket-received { display:flex; align-items:center; justify-content:center; }
:root .wallet .ticket-face > :first-child { border-radius:13px 0 0 13px; }
:root .wallet .ticket-face > :last-child { border-radius:0 13px 13px 0; border-left:1px dashed var(--ticket-divider); }
:root .wallet .ticket-face > .btn:hover:not(:disabled) { background:rgb(255 255 255 / 10%); }
.ticket-face > .btn .ic { flex-shrink:0; }
.ticket-face > .btn:focus-visible { outline-offset:-4px; }
@media(max-width:1100px) {
  :root .wallet .ticket-face > .btn {
    flex-direction:column; gap:6px; padding:8px 6px; font-size:.84rem;
    line-height:1.4; text-wrap:balance;
  }
}
/* Keep the current page selected while hovering it; no added indicator. */
.nav-item.selected:hover { color:#464646; background:#c9c9c9; }
@media(max-width:760px) { .mobile-nav .nav-item.selected:hover { background:#cccccc; } }
.wallet :focus-visible { outline-color:var(--ticket-label); }

/* Ticket-page labels use the existing readable secondary text role. */
.content:has(.wallet) .tabs > button:not(.active), .ledger-row small { color:var(--quiet); }
