/* The console's theme ("Graphite & Cobalt"), layered on the Dirt Road platform's app.css.
   1. Tokens (light and dark), shared by every console page. The signed-in workspace's look is in
      workspace.css. 2. Sign-in (layout/auth.php). 3. Console pages. 4. Meeting rooms (meetings layout/meeting.php).
   One cobalt accent, neutral surfaces, DM Sans throughout (app.css bundles it), sentence-case titles, quiet shadows.
   Local assets only (CSP style-src 'self'). */

/* ---------------------------------------------------------------- 1. Tokens */
:root {
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: var(--font);
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --paper: #F5F6F8;
  --paper-2: #EEF0F3;
  --tan: #EEF0F3;
  --tan-2: #D5D9E0;
  --surface: #FFFFFF;
  --surface-2: #F9FAFB;
  --ink: #111827;
  --ink-2: #4B5563;
  --muted: #6B7280;
  --line: #E3E6EB;
  --line-strong: #D5D9E0;
  --placeholder: #6B7280;
  --input-hover: #B8BEC8;
  --accent: #2457D6;
  --accent-ink: #FFFFFF;
  --accent-strong: #1A43AB;
  --accent-text: #1E49B8;
  --accent-soft: #E8EEFC;
  --accent-2: #1E49B8;
  --focus: #2457D6;
  --focus-ring: rgba(36, 87, 214, .18);
  --ok: #166534; --ok-soft: #E8F5EC;
  --warn: #92400E; --warn-soft: #FDF3E1;
  --danger: #B42318; --danger-soft: #FDECEA;
  --info: #1E40AF; --info-soft: #E8EEFC;
  --violet: #5B3CC4; --violet-soft: #EFEBFA;

  /* The menu is navy in both themes. */
  --sidebar-bg: #0F1B2D;
  --sidebar-ink: #C9D2E0;
  --sidebar-muted: #8C9AB0;
  --sidebar-faint: #8C9AB0;
  --sidebar-hover: #17253A;
  --sidebar-active: #1C2C44;
  --sidebar-active-bar: #6E95F2;
  --sidebar-raised: #18263B;
  --sidebar-avatar: #2C3D57;
  --sidebar-line: #1F2E45;
  --bm-ink: #0F1B2D;

  --radius: 8px; --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-pop: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px rgba(16, 24, 40, .12);
}
html[data-theme=dark] {
  --paper: #0E1117;
  --paper-2: #1B212B;
  --tan: #1B212B;
  --tan-2: #2E3644;
  --surface: #161B24;
  --surface-2: #1B212B;
  --ink: #E6E9EF;
  --ink-2: #A7B0BE;
  --muted: #8590A2;
  --line: #232A36;
  --line-strong: #2E3644;
  --placeholder: #8590A2;
  --input-hover: #3B4454;
  --accent: #3D6FE0;
  --accent-ink: #FFFFFF;
  --accent-strong: #2F5DC7;
  --accent-text: #7EA6F7;
  --accent-soft: rgba(61, 111, 224, .16);
  --accent-2: #7EA6F7;
  --focus: #7EA6F7;
  --focus-ring: rgba(126, 166, 247, .28);
  --ok: #86EFAC; --ok-soft: rgba(134, 239, 172, .12);
  --warn: #FCD34D; --warn-soft: rgba(252, 211, 77, .12);
  --danger: #FCA5A5; --danger-soft: rgba(252, 165, 165, .12);
  --info: #93B4F8; --info-soft: rgba(147, 180, 248, .14);
  --violet: #C4B0FF; --violet-soft: rgba(150, 120, 255, .16);
  --sidebar-bg: #0A0D13;
  --sidebar-ink: #C3CAD6;
  --sidebar-hover: #131925;
  --sidebar-active: #18202E;
  --sidebar-raised: #131925;
  --sidebar-avatar: #26303F;
  --sidebar-line: #1A202B;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-pop: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .5);
}

/* ---------------------------------------------------------------- 2. Sign-in (layout/auth.php) */
/* The look of dirtroadsoftware.com: white card on its mist green, ink green text, the serif for the title, square-ish
   corners, a green button. Always light (the page is data-theme="light"). */
.cx-auth { min-height: 100vh; min-height: 100dvh; margin: 0; background: #F2F5F1; color: #19392D; color-scheme: light; }
.cx-auth__shell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; min-height: 100vh; min-height: 100dvh; box-sizing: border-box; padding: 40px 16px; }
.cx-auth__logo { display: block; width: min(260px, 72vw); height: auto; }
.cx-card { width: 100%; max-width: 400px; padding: 36px 36px 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06); }
.cx-card h1 { margin: 0 0 6px; font: 600 22px/1.25 var(--font); letter-spacing: -.01em; color: var(--ink); }
.cx-card > .muted, .cx-card .muted { color: var(--ink-2); }
.cx-card form { margin-top: 20px; }
.cx-card .field { gap: 6px; }
.cx-card .field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.cx-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cx-label-row a { font-size: 13px; font-weight: 500; text-decoration: none; }
.cx-card input:not([type=checkbox]):not([type=radio]) { min-height: 44px; padding: 0 12px; font-size: 15px; border-radius: var(--radius-sm); border-color: var(--line-strong); background: var(--surface); box-shadow: none; }
.cx-card input:not([type=checkbox]):not([type=radio]):hover:not(:focus) { border-color: var(--input-hover); }
.cx-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.cx-card .code-input { font: 600 24px/1 var(--mono); letter-spacing: .4em; text-indent: .4em; }
.cx-card .button { min-height: 44px; border-radius: var(--radius-sm); font: 600 15px/1.2 var(--font); }
.cx-card .button:not(.button--ghost) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cx-card .button:not(.button--ghost):hover { background: var(--accent-strong); border-color: var(--accent-strong); filter: none; }
.cx-card .button--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.cx-card .button--ghost:hover { background: var(--surface-2); }
.cx-card a { color: var(--accent-text); }
.cx-card .divider { color: var(--muted); }
.cx-card .divider::before, .cx-card .divider::after { background: var(--line); }
.cx-card .qr { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); }
.cx-card .secret { font-family: var(--mono); letter-spacing: .06em; }
.cx-card code, .cx-card pre { font-family: var(--mono); }
.cx-card .alert { border-radius: var(--radius-sm); }
html[data-theme=dark] .cx-card { box-shadow: var(--shadow-pop); }
@media (max-width: 720px) {
  .cx-auth__shell { justify-content: flex-start; gap: 20px; padding: 32px 16px; }
  .cx-card { padding: 24px 20px 20px; }
}
/* Sign-in pages in the website's colors (not the console's), whatever the console's theme. */
.cx-auth .cx-card { border-color: #D8DFD6; border-radius: 4px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(25, 57, 45, .05), 0 12px 32px rgba(25, 57, 45, .08); }
.cx-auth .cx-card h1 { font: 400 26px/1.25 'Libre Baskerville', Georgia, serif; letter-spacing: 0; color: #19392D; text-align: center; }
.cx-auth .cx-card h1 + .muted { text-align: center; }
.cx-auth .cx-card .muted { color: #4D5B53; }
.cx-auth .cx-card .field label { color: #19392D; }
.cx-auth .cx-card input:not([type=checkbox]):not([type=radio]) { border-color: #D8DFD6; border-radius: 4px; background: #FFFFFF; color: #19392D; }
.cx-auth .cx-card input:not([type=checkbox]):not([type=radio]):hover:not(:focus) { border-color: #BAC7B8; }
.cx-auth .cx-card input:focus { border-color: #19392D; box-shadow: 0 0 0 3px rgba(241, 138, 67, .35); }
.cx-auth .cx-card .button { min-height: 52px; border-radius: 4px; font: 700 14px/1.45 var(--font); }
.cx-auth .cx-card .button:not(.button--ghost) { background: #19392D; border-color: #19392D; color: #FFFFFF; }
.cx-auth .cx-card .button:not(.button--ghost):hover { background: #2C5140; border-color: #2C5140; }
.cx-auth .cx-card .button--ghost { background: transparent; border-color: #BAC7B8; color: #19392D; }
.cx-auth .cx-card .button--ghost:hover { background: #F2F5F1; }
.cx-auth .cx-card a { color: #19392D; text-decoration: underline; text-decoration-color: #F18A43; text-underline-offset: 3px; }
.cx-auth .cx-card .button, .cx-auth .cx-card a.button { text-decoration: none; }
.cx-auth .cx-card .divider { color: #4D5B53; }
.cx-auth .cx-card .divider::before, .cx-auth .cx-card .divider::after { background: #D8DFD6; }

/* ---------------------------------------------------------------- 3. Console pages (packages, clients) */
.card--flush > .card-head { padding: 16px 18px 6px; margin: 0; flex-wrap: wrap; gap: 8px 14px; }
.card--flush > .card-head .muted { margin: 4px 0 0; }
.cx-home-catalog { display: grid; gap: 12px; margin: 0 0 22px; }
.cx-home-catalog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.cx-home-catalog__head h2 { margin: 0; }
.cx-packages { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cx-package { display: grid; gap: 6px; align-content: start; }
.cx-package-count { margin: 4px 0; font-size: 14px; }
.cx-package-count strong { font-size: 26px; font-weight: 700; line-height: 1.1; margin-right: 2px; font-variant-numeric: tabular-nums; }
.cx-package-links { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.cx-secret + .cx-secret { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.cx-secret p { margin: 4px 0; }

/* Brand and package logos (Catalog::mark): the uploaded logo, or the name's first letter. */
.cx-mark { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; border-radius: var(--radius-sm); overflow: hidden; vertical-align: middle; }
.cx-mark--small { width: 22px; height: 22px; font-size: 11px; }
.cx-mark--large { width: 56px; height: 56px; font-size: 24px; border-radius: var(--radius); }
.cx-mark--logo { background: var(--surface); border: 1px solid var(--line); }
.cx-mark--logo img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.cx-mark--letter { background: var(--accent); color: var(--accent-ink); font-family: var(--font); font-weight: 700; font-size: 13px; line-height: 1; }
.cx-mark--small.cx-mark--letter { font-size: 11px; }
.cx-mark--large.cx-mark--letter { font-size: 24px; }
.cx-named { display: inline-flex; align-items: center; gap: 10px; }
.cx-logo-field { display: flex; gap: 16px; align-items: flex-start; }

/* Moving between pages without a reload (assets/console/nav.js): a thin bar across the top while the next page loads.
   It shows only after a moment, so quick pages don't flicker. */
.nav-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1000; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); background-size: 40% 100%; background-repeat: no-repeat; }
.is-navigating .nav-progress { opacity: 1; transition: opacity .15s .2s; animation: nav-progress 1s linear infinite; }
.is-navigating .content { opacity: .7; transition: opacity .15s .3s; }
.content h1[tabindex="-1"]:focus, .content[tabindex="-1"]:focus { outline: none; }
@keyframes nav-progress { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@media (prefers-reduced-motion: reduce) { .is-navigating .nav-progress { animation: none; background: var(--accent); } }

/* ---------------------------------------------------------------- 4. Meeting rooms */
.meeting-room { margin-bottom: 16px; }
.meeting-room .card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; flex-wrap: wrap; }
.meeting-room .card-title svg { vertical-align: -3px; }
.meeting-manage { margin-top: 10px; }
.meeting-manage summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.meeting-manage .button-row { margin-top: 10px; flex-wrap: wrap; }
.meeting-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.meeting-inline input { flex: 1 1 220px; max-width: 360px; }

/* The meeting window (meetings layout/meeting.php, always dark): a slim bar, the lobby card on navy, then the call
   fills the window. */
.cx-meet { margin: 0; background: var(--sidebar-bg); color: var(--ink); }
.meeting-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; overflow: hidden; }
.meeting-top { position: relative; z-index: 6; display: flex; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--line); background: var(--surface); }
.meeting-title { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; }
.meeting-title > span { display: grid; min-width: 0; line-height: 1.3; }
.meeting-title small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meeting-title strong { font: 600 15px var(--font); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.meeting-title .brand-mark svg, .meeting-title .brand-mark img { width: 32px; height: 32px; }
.meeting-live { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--ok-soft); font: 600 13px var(--font); color: var(--ok); }
.meeting-live[hidden] { display: none; }
.meeting-live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.meeting-top .button--ghost { background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); }
.meeting-top .button--ghost:hover { background: var(--surface-2); }
.meeting-main { position: relative; z-index: 5; flex: 1; min-height: 0; display: flex; }
.meeting-frame { flex: 1; min-height: 0; position: relative; display: flex; opacity: 0; transition: opacity .4s ease; }
.meeting-frame iframe { flex: 1; border: 0; }
.meeting-page.is-live .meeting-frame { opacity: 1; }
.meet-lobby { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 32px 16px; overflow-y: auto; transition: opacity .3s ease; }
.meeting-page.is-live .meet-lobby { opacity: 0; pointer-events: none; }
.meeting-page.is-live { background: #000000; }
.meet-lobby .cx-stage { width: min(420px, 100%); transition: opacity .4s ease; }
.meet-card { max-width: none; padding: 32px 32px 26px; }
.meet-card .cx-card__head { text-align: center; }
.meet-card .cx-emblem { display: grid; place-items: center; margin: 0 0 12px; }
.meet-card .cx-emblem .brand-mark svg, .meet-card .cx-emblem .brand-mark img { width: 40px; height: 40px; }
.meet-card .cx-tagline { margin: 0; font-size: 13px; color: var(--muted); }
.meet-card__room { margin: 4px 0 4px; font: 600 22px/1.25 var(--font); letter-spacing: -.01em; color: var(--ink); overflow-wrap: anywhere; }
.meet-card__who { margin: 0; font-size: 14px; color: var(--ink-2); }
.meet-card__who strong { color: var(--ink); font-weight: 600; }
.meet-card .cx-card__body { margin-top: 20px; }
.meet-steps { list-style: none; margin: 20px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-2); display: grid; gap: 8px; }
.meet-steps li { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ink-2); }
.meet-steps li span { flex: 1; }
.meet-steps li b { font-weight: 600; color: var(--muted); }
.meet-steps li.is-done b { color: var(--ok); }
.meet-steps li.is-done span { color: var(--ink); }
.meet-steps li.is-wait b { color: var(--warn); }
.meet-steps li.is-bad b { color: var(--danger); }
.meet-card .meeting-status { margin: 14px 0 0; padding: 0; font-size: 13.5px; color: var(--ink-2); text-align: center; }
.meet-card__hint { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .meet-lobby, .meeting-frame, .meet-lobby .cx-stage { transition: none; } }

/* Avatar arrivals (meeting.js, vendor/holo-avatar.js): your 3D avatar arrives across the whole screen while the
   lobby card steps back, and people who join later arrive at the top of the screen, under the room's top bar. */
.meet-beam { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .4s ease; background: var(--sidebar-bg); }
.meet-beam canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.meet-beam__caption { position: absolute; inset: auto 16px 18px; text-align: center; }
.meet-beam__name { margin: 0 0 4px; font: 600 clamp(20px, 3vw, 28px)/1.2 var(--font); color: #FFFFFF; overflow-wrap: anywhere; }
.meet-beam__label { margin: 0; font-size: 14px; color: var(--sidebar-ink); }
.meet-lobby.is-beaming { overflow: hidden; }
.meet-lobby.is-beaming .meet-beam { opacity: 1; }
.meet-lobby.is-beaming .cx-stage { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .meet-beam { transition: none; } }
.meet-arrivals { position: fixed; top: 64px; left: 50%; z-index: 7; transform: translateX(-50%); pointer-events: none; }
.meet-arrival { display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .3s ease; }
.meet-arrival.is-in { opacity: 1; transform: none; }
.meet-arrival p { margin: 0; max-width: 300px; font-size: 14px; line-height: 1.4; color: var(--ink); }
.meet-arrival__figure { position: relative; width: 84px; height: 112px; flex: 0 0 auto; border-radius: var(--radius-sm); overflow: hidden; background: var(--sidebar-bg); }
.meet-arrival__figure canvas { width: 100%; height: 100%; display: block; }
.meet-arrival__figure.is-flat { width: 64px; height: 64px; display: grid; place-items: center; }
.meet-arrival__face { width: 48px; height: 48px; font: 600 16px var(--font); color: #FFFFFF; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .meet-arrival { transition: none; } }

/* Be right back (meeting.js): your own away card over the room, and a note for each person who stepped away. */
.meet-away { position: fixed; inset: 64px 0 0; z-index: 8; display: grid; place-items: center; padding: 16px; background: rgba(10, 13, 19, .7); }
.meet-away[hidden] { display: none; }
.meet-away__card { width: min(440px, 100%); padding: 32px 28px; text-align: center; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-pop); color: var(--ink); }
.meet-away__eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.meet-away__title { margin: 0; font: 600 28px/1.2 var(--font); letter-spacing: -.01em; color: var(--ink); }
.meet-away__clock { margin: 14px 0 6px; font: 600 32px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink); }
.meet-away__note { margin: 0 0 22px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.meet-brb-list { position: fixed; top: 76px; left: 16px; z-index: 7; display: grid; gap: 8px; pointer-events: none; }
.meet-brb { display: grid; margin: 0; padding: 9px 14px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-pop); color: var(--ink); font-size: 13px; line-height: 1.35; }
.meet-brb small { font-size: 12px; color: var(--muted); }
.meet-brb-button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-text); }
@media (max-width: 640px) { .meet-away { inset: 56px 0 0; } .meet-away__title { font-size: 24px; } .meet-brb-list { top: 66px; left: 8px; right: 8px; } }
.meet-away__msg { margin: 0 0 22px; text-align: left; }
.meet-away__msg label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.meet-away__msg label small { font-weight: 400; color: var(--muted); }
.meet-away__msg-row { display: flex; gap: 8px; }
.meet-away__field { position: relative; display: flex; flex: 1 1 auto; min-width: 0; }
.meet-away__msg input { flex: 1 1 auto; min-width: 0; padding: 9px 30px 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--ink); font: inherit; font-size: 14px; }
.meet-away__msg input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.meet-away__clear { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 24px; height: 24px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; }
.meet-away__clear:hover, .meet-away__clear:focus-visible { color: var(--ink); background: var(--surface-2); }
.meet-away__clear[hidden] { display: none; }
.meet-away__shown { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.meet-brb__msg { font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; max-width: 280px; }

/* Top hat, pipe and mustache (hats.js): the layer drawn over the call, the admins' menu, and the wearer's mirror. */
.meet-hats-layer { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.meet-hats { position: fixed; right: 16px; z-index: 9; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 120px); overflow: auto; padding: 16px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-pop); color: var(--ink); }
.meet-hats[hidden] { display: none; }
.meet-hats__title { margin: 0; font: 600 15px var(--font); color: var(--ink); }
.meet-hats__hint { margin: 6px 0 12px; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.meet-hats__list { display: grid; gap: var(--cx-gap-sm, 8px); margin: 0; padding: 0; list-style: none; }
.meet-hats__row { display: grid; gap: 6px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.meet-hats__row strong { min-width: 0; overflow-wrap: anywhere; font-size: 14px; color: var(--ink); }
.meet-hats__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.meet-hats__chip { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }
.meet-hats__chip:hover { border-color: var(--input-hover); color: var(--ink); }
.meet-hats__chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); font-weight: 600; }
.meet-hats__empty { font-size: 13px; color: var(--muted); }
.meet-hats__note { margin: 10px 0 0; font-size: 13px; line-height: 1.45; color: var(--danger); }
.meet-hats__note:empty { display: none; }
.meet-hat-me { position: fixed; left: 16px; bottom: 96px; z-index: 7; display: grid; gap: 8px; width: 220px; padding: 10px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-pop); color: var(--ink); }
.meet-hat-me[hidden] { display: none; }
.meet-hat-me__mirror { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); }
.meet-hat-me__text { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 640px) { .meet-hats { right: 8px; width: calc(100vw - 16px); } .meet-hat-me { left: 8px; bottom: 84px; width: 170px; } }
