/* DirtyPlayer station chat (chat.js), on the listen page and in the home page's deck: a small app
   in the site's colours (near-black, dirty paper, red), as IRC was: one line per message, every
   name its own colour, who's here beside the conversation. Phones first. No inline styles: the
   site's CSP forbids them. It takes the page's colours when it has them, these otherwise. */

.dchat {
  --dc-ink: var(--ink, #0c0c0d);
  --dc-bg: #111114;
  --dc-bar: #0a0a0c;
  --dc-side: #0d0d10;
  --dc-field: var(--ink-2, #17171b);
  --dc-raise: #1c1c21;
  --dc-text: var(--text, #ece7db);
  --dc-dim: var(--dim, var(--text-dim, #aba596));
  --dc-paper: var(--paper, #e8e2d4);
  --dc-red: var(--red, #ff004e);
  --dc-ok: #3ccf8e;
  --dc-bad: var(--bad, #ff6b8e);
  --dc-line: var(--line, rgba(236, 231, 219, .12));
  --dc-line-strong: var(--line-strong, rgba(236, 231, 219, .26));
  --dc-sans: var(--sans, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif);
  --dc-mono: var(--mono, ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace);
  --dc-r: 8px;
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--dc-line-strong);
  border-radius: 10px;
  background: var(--dc-bg);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
  color: var(--dc-text);
  font: 400 .95rem/1.45 var(--dc-sans);
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
}
.dchat *, .dchat *::before, .dchat *::after { box-sizing: border-box; }
.dchat [hidden] { display: none !important; }
.dchat button { margin: 0; color: inherit; font-family: var(--dc-sans); cursor: pointer; touch-action: manipulation; }
.dchat button:disabled { cursor: default; opacity: .38; }
.dchat :focus-visible { outline: 2px solid var(--dc-red); outline-offset: 2px; }
.dc-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.dc-ic { display: block; flex: none; width: 18px; height: 18px; }

/* the chat itself is as tall as an app; the age check and who-you-are as tall as they need */
.dc-app:not(.dc-gated):not(.is-profile) { height: clamp(460px, 74vh, 720px); }

/* ---------- the bar: CHAT 18+, the conversations as tabs, who's here, the menu ---------- */
.dc-bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--dc-line);
  background: var(--dc-bar);
}
.dc-brand { display: flex; flex: none; align-items: center; gap: 6px; }
.dc-title {
  margin: 0;
  padding: 5px 7px;
  background: var(--dc-red);
  color: var(--dc-ink);
  font: 800 .66rem/1 var(--dc-mono);
  letter-spacing: .2em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.dc-title:focus:not(:focus-visible) { outline: 0; }
.dc-18 {
  padding: 3px 5px;
  border: 1px solid var(--dc-red);
  border-radius: 3px;
  color: var(--dc-red);
  font: 800 .62rem/1 var(--dc-mono);
  letter-spacing: .08em;
  white-space: nowrap;
}
.dc-where-name { flex: 1; min-width: 0; overflow: hidden; color: var(--dc-paper); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.dc-tabs {
  display: flex;
  flex: 1;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.dc-tabs::-webkit-scrollbar { display: none; }
.dc-tabw {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: stretch;
  max-width: 220px;
  border: 1px solid transparent;
  border-radius: var(--dc-r);
}
.dc-tabw:hover { background: rgba(255, 255, 255, .04); }
.dc-tabw.is-on { border-color: var(--dc-line-strong); background: var(--dc-raise); }
.dc-tabw.is-on::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: -1px;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--dc-red);
}
.dc-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  height: 34px;
  padding: 0 11px;
  border: 0;
  background: transparent;
  color: var(--dc-dim);
  font-size: .86rem;
  font-weight: 600;
}
.dc-tabw.is-on .dc-tab, .dc-tabw.is-unread .dc-tab { color: var(--dc-text); }
.dc-tabw.is-unread .dc-tabname { font-weight: 800; }
.dc-tabpm .dc-tab { padding-right: 4px; }
.dc-hash { color: var(--dc-red); font: 800 1rem/1 var(--dc-mono); }
.dc-tabname { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--dc-red); box-shadow: 0 0 8px var(--dc-red); }
.dc-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  padding: 0;
  border: 0;
  border-radius: 0 var(--dc-r) var(--dc-r) 0;
  background: transparent;
  color: var(--dc-dim);
}
.dc-x .dc-ic { width: 14px; height: 14px; }
.dc-x:hover { color: var(--dc-text); background: rgba(255, 0, 78, .18); }
.dc-tab:focus-visible, .dc-x:focus-visible, .dc-person:focus-visible { outline-offset: -2px; }

.dc-tools { display: flex; flex: none; gap: 6px; }
.dc-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 9px;
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-r);
  background: transparent;
  color: var(--dc-dim);
  font: 700 .8rem/1 var(--dc-mono);
}
.dc-tool:hover { border-color: var(--dc-text); color: var(--dc-text); }
.dc-tool[aria-expanded="true"] { border-color: var(--dc-red); background: rgba(255, 0, 78, .12); color: var(--dc-text); }

/* the menu, under the bar */
.dc-drop {
  flex: none;
  padding: 12px;
  border-bottom: 1px solid var(--dc-line);
  background: var(--dc-raise);
}
.dc-drop .dc-wide { margin-bottom: 12px; }
.dc-ask { margin: 0; font-weight: 700; }

/* what the station shares, under the bar */
.dc-shares { max-height: 46%; overflow-y: auto; }
.dc-shares .dc-rh { margin: 0 0 2px; }
.dc-shares-list { margin: 10px 0 0; padding: 0; list-style: none; }
.dc-share {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-top: 1px solid var(--dc-line);
}
.dc-share-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-share-size { color: var(--dc-dim); font: 400 .74rem/1 var(--dc-mono); white-space: nowrap; }
.dc-share .dc-small { margin: 0; }
.dc-share-bar { width: 96px; height: 6px; accent-color: var(--dc-red); }
.dc-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- buttons and fields ---------- */
.dc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-r);
  background: transparent;
  font-size: .84rem;
  font-weight: 600;
}
.dc-btn .dc-ic { width: 16px; height: 16px; }
.dc-btn:hover { border-color: var(--dc-text); background: rgba(255, 255, 255, .04); }
.dchat .dc-red { border-color: var(--dc-red); background: var(--dc-red); color: var(--dc-ink); }
.dchat .dc-red:hover { background: #ff2a68; }
.dc-primary, .dc-send {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--dc-r);
  background: var(--dc-red);
  color: var(--dc-ink);
  font-weight: 800;
  letter-spacing: .02em;
}
.dc-primary { min-height: 44px; padding: 0 22px; font-size: .95rem; }
.dc-send { height: 42px; padding: 0 16px; font-size: .88rem; }
.dc-primary:hover, .dc-send:hover:not(:disabled) { background: #ff2a68; }
.dchat .dc-input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-r);
  background: var(--dc-field);
  color: var(--dc-text);
  font: 400 1rem/1.2 var(--dc-sans);
  letter-spacing: normal;
  text-transform: none;
}
.dchat .dc-input::placeholder { color: var(--dc-dim); opacity: .75; }
.dchat .dc-input:focus-visible { border-color: var(--dc-red); outline: 0; box-shadow: 0 0 0 3px rgba(255, 0, 78, .18); }
.dchat .dc-input:disabled { opacity: .55; }
.dchat .dc-input[aria-invalid="true"], .dchat .dc-sel[aria-invalid="true"] { border-color: var(--dc-bad); }
.dc-small { margin: 4px 0 0; color: var(--dc-dim); font-size: .8rem; line-height: 1.4; }
.dc-err { margin: 6px 0 0; color: var(--dc-bad); font-size: .86rem; }
.dc-err:empty { margin: 0; }

/* ---------- who you are: a name and a picture, before the chat ---------- */
.dc-profile { display: flex; justify-content: center; padding: 22px 16px 18px; }
.dc-pform { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 470px; margin: 0; }
.dc-ptitle { margin: 0; color: var(--dc-paper); font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.dc-phint { margin: 0 0 6px; color: var(--dc-dim); font-size: .9rem; }
.dc-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--dc-line-strong);
  border-radius: 12px;
  background: var(--dc-bar);
}
.dc-av-xl { width: 56px; height: 56px; }
.dc-pvname { min-width: 0; overflow: hidden; font-size: 1.2rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.dc-pvname.is-empty { color: var(--dc-dim); font-style: italic; font-weight: 400; }
.dc-flab { margin: 8px 0 0; color: var(--dc-dim); font: 700 .68rem/1.2 var(--dc-mono); letter-spacing: .16em; text-transform: uppercase; }
.dc-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.dc-pickone {
  aspect-ratio: 1 / 1;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent;
}
.dc-pickone .dc-av { width: 100%; height: 100%; }
.dc-pickone:hover { border-color: rgba(255, 0, 78, .6); }
.dc-pickone[aria-checked="true"] { border-color: var(--dc-paper); box-shadow: 0 0 0 3px rgba(255, 0, 78, .45); }
.dc-pacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dc-pacts .dc-cancel { min-height: 44px; }
.dc-pnote { margin-top: 8px; }

/* ---------- the chat: the conversation, and who's here beside it ---------- */
.dc-stage { position: relative; display: grid; flex: 1; grid-template-columns: minmax(0, 1fr); min-height: 0; }
.dc-pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dc-logs { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.dc-log {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 8px 8px 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-color: var(--dc-line-strong) transparent;
  scrollbar-width: thin;
}
.dc-log:empty::before {
  content: attr(data-empty);
  display: block;
  padding: 48px 16px;
  color: var(--dc-dim);
  font-size: .9rem;
  text-align: center;
}

/* a line, as on IRC: time, picture and name, text (wrapped under itself) */
.dc-line, .dc-sys {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  column-gap: 9px;
  align-items: baseline;
  padding: 3px 6px;
  border-radius: 6px;
  line-height: 1.5;
}
.dc-line:hover { background: rgba(255, 255, 255, .035); }
.dc-time { color: var(--dc-dim); font: 400 .72rem/1.5 var(--dc-mono); opacity: .8; white-space: nowrap; }
.dc-by { display: inline-flex; align-items: center; gap: 6px; max-width: 13em; }
.dc-by .dc-av-s { align-self: center; }
.dc-av { display: block; flex: none; width: 30px; height: 30px; }
.dc-av-s { width: 18px; height: 18px; }
.dc-nick { min-width: 0; overflow: hidden; font-size: .9rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.dc-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.dc-is-me { background: rgba(255, 0, 78, .07); }
.dc-is-me:hover { background: rgba(255, 0, 78, .1); }
.dc-is-host .dc-nick { color: var(--dc-red); }
.dc-sys { grid-template-columns: auto minmax(0, 1fr); color: var(--dc-dim); font-size: .82rem; }
.dc-systext { font-style: italic; overflow-wrap: anywhere; }
.dc-join .dc-systext { color: var(--dc-ok); font-style: normal; }
.dc-join .dc-systext::before { content: "→ "; }
.dc-part .dc-systext { font-style: normal; }
.dc-part .dc-systext::before { content: "← "; }
.dc-nickch .dc-systext { font-style: normal; }

/* every name its own colour, readable on the dark */
.dc-c0 { color: #ff7a59; }
.dc-c1 { color: #ffc145; }
.dc-c2 { color: #8ce36a; }
.dc-c3 { color: #3ccf8e; }
.dc-c4 { color: #4fd1d9; }
.dc-c5 { color: #63a4ff; }
.dc-c6 { color: #a38bff; }
.dc-c7 { color: #e57bff; }
.dc-c8 { color: #ff6fae; }
.dc-c9 { color: #d9cba3; }

/* the station's bot: a badge of its own */
.dchat .dc-botbadge { background: #4fd1d9; }
.dc-is-bot .dc-nick { color: #4fd1d9; }
.dc-isbot { opacity: .9; cursor: help; }

/* a picture shared: a thumbnail in the line, larger on a click; gone with its sender */
.dc-imgbtn {
  display: inline-block;
  max-width: 100%;
  margin: 3px 0 2px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--dc-line-strong);
  border-radius: 8px;
  background: var(--dc-bar);
  cursor: zoom-in;
  line-height: 0;
}
.dc-imgbtn:hover { border-color: var(--dc-red); }
.dc-img { display: block; max-width: 320px; max-height: 240px; width: auto; height: auto; }
@container (max-width: 460px) { .dc-img { max-width: 220px; max-height: 200px; } }
.dc-line.dc-has-img { align-items: start; }
.dc-has-img .dc-time, .dc-has-img .dc-by { padding-top: 2px; }
.dc-imggone { color: var(--dc-dim); font-size: .84rem; font-style: italic; }
.dc-lightbox {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 5, 7, .92);
  cursor: zoom-out;
}
.dc-lbimg { max-width: 100%; max-height: 100%; border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .8); }
.dchat .dc-lbclose { position: absolute; top: 10px; right: 10px; background: var(--dc-bar); color: var(--dc-text); }
.dc-compose .dc-attach { flex: none; width: 42px; height: 42px; }
.dc-compose .dc-attach .dc-ic { width: 20px; height: 20px; }

/* the name-and-picture screen: the station's pictures, then DirtyPlayer's */
.dc-pgroup { margin: 6px 0 2px; color: var(--dc-dim); font-size: .78rem; font-weight: 700; }
.dc-pickone img.dc-av { border-radius: 50%; object-fit: cover; }
img.dc-av { border-radius: 50%; object-fit: cover; }

/* a private conversation's strip: encrypted, the key fingerprint, erase for both */
.dc-pmhead { flex: none; padding: 8px 12px; border-bottom: 1px solid var(--dc-line); background: rgba(60, 207, 142, .05); }
.dc-pmline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.dc-lock { display: inline-flex; align-items: center; gap: 6px; color: var(--dc-ok); font-size: .82rem; font-weight: 700; }
.dc-lock .dc-ic { width: 15px; height: 15px; }
.dc-pmwhy { color: var(--dc-dim); font-size: .82rem; }
.dc-fp { display: inline-flex; gap: 6px; font: 400 .74rem/1.4 var(--dc-mono); cursor: help; }
.dc-fpk { color: var(--dc-dim); letter-spacing: .08em; text-transform: uppercase; }
.dc-fpv { color: var(--dc-paper); font-weight: 800; letter-spacing: .06em; white-space: nowrap; }
.dchat .dc-pmerase { min-height: 30px; margin-left: auto; padding: 3px 10px; font-size: .78rem; }
.dc-pmconfirm { margin-top: 8px; padding: 10px; border: 1px dashed var(--dc-line-strong); border-radius: var(--dc-r); background: rgba(255, 0, 78, .07); }

/* who's here: a column beside the conversation (wide), a drawer over it (narrow) */
.dc-people {
  display: none;
  min-height: 0;
  padding: 10px 8px;
  overflow-y: auto;
  border-left: 1px solid var(--dc-line);
  background: var(--dc-side);
  scrollbar-width: thin;
}
.dc-app.is-people .dc-people {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  width: min(270px, 86%);
  box-shadow: -20px 0 40px -12px rgba(0, 0, 0, .85);
}
.dc-rh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4px 6px;
  color: var(--dc-dim);
  font: 700 .64rem/1.2 var(--dc-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.dc-rh ~ .dc-rh { margin-top: 16px; }
.dc-rn { padding: 2px 6px; border-radius: 9px; background: var(--dc-raise); color: var(--dc-text); letter-spacing: 0; }
.dc-plist { margin: 0; padding: 0; list-style: none; }
.dc-person {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: .88rem;
  text-align: left;
}
button.dc-person:hover { background: rgba(255, 255, 255, .06); }
.dc-pnick { flex: 1; min-width: 0; overflow: hidden; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.dc-badge {
  flex: none;
  padding: 2px 5px;
  border-radius: 3px;
  background: var(--dc-red);
  color: var(--dc-ink);
  font: 800 .54rem/1.1 var(--dc-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dc-you { flex: none; color: var(--dc-dim); font-size: .74rem; }
.dc-you::before { content: "("; }
.dc-you::after { content: ")"; }
.dc-past { opacity: .7; }
.dc-pmhint { margin: 10px 6px 0; }

/* on the air: the host's invitation, then the microphone's controls */
.dc-air {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  padding: 9px 12px;
  border-top: 1px solid var(--dc-line);
  background: linear-gradient(90deg, rgba(255, 0, 78, .16), rgba(255, 0, 78, .04));
}
.dc-air .dc-btns { margin: 0 0 0 auto; }
.dc-airtext { flex: 1 1 220px; margin: 0; color: var(--dc-text); font-size: .86rem; line-height: 1.35; }
.dc-airlive { font: 800 .74rem/1 var(--dc-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dc-red); }
.dc-airdot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dc-red); box-shadow: 0 0 0 3px rgba(255, 0, 78, .25); }
.dc-air.is-on .dc-airdot { animation: dc-air 1.4s ease-in-out infinite; }
.dc-air.is-muted .dc-airdot { background: var(--dc-dim); box-shadow: none; animation: none; }
.dc-air.is-muted .dc-airlive { color: var(--dc-dim); }
@keyframes dc-air { 50% { box-shadow: 0 0 0 6px rgba(255, 0, 78, .08); } }
@media (prefers-reduced-motion: reduce) { .dc-air.is-on .dc-airdot { animation: none; } }
.dc-airbadge { background: var(--dc-red); }

/* what the chat says (too fast, erased), and the box to write in */
.dc-status { flex: none; margin: 0; padding: 0 12px; color: var(--dc-paper); font-size: .85rem; }
.dc-status:not(:empty) { padding-top: 6px; }
.dc-foot { flex: none; padding: 8px 10px 10px; border-top: 1px solid var(--dc-line); background: var(--dc-bar); }
.dc-slowmode { margin: 0 0 6px; }
.dc-compose { display: flex; align-items: center; gap: 8px; margin: 0; }
.dc-me {
  flex: none;
  width: 42px;
  height: 42px;
  padding: 3px;
  border: 1px solid var(--dc-line-strong);
  border-radius: 50%;
  background: transparent;
}
.dc-me .dc-av { width: 100%; height: 100%; }
.dc-me:hover { border-color: var(--dc-red); }
.dc-why { margin: 0; padding: 6px 2px; color: var(--dc-dim); font: 700 .74rem/1.4 var(--dc-mono); letter-spacing: .1em; text-transform: uppercase; }

@container (min-width: 620px) {
  .dc-app.is-people .dc-stage { grid-template-columns: minmax(0, 1fr) 220px; }
  .dc-app.is-people .dc-people { position: static; width: auto; box-shadow: none; }
}
@container (max-width: 460px) {
  .dc-line { grid-template-columns: auto minmax(0, 1fr); row-gap: 1px; }
  .dc-line .dc-text { grid-column: 1 / -1; }
  .dc-send .dc-blabel { display: none; }
  .dc-send { padding: 0 13px; }
  .dc-bar { gap: 8px; padding: 8px; }
  .dc-18 { display: none; }
  .dc-tool { min-width: 34px; height: 34px; padding: 0 7px; }
}

/* ---------- the age check, before anything of the chat: a date of birth (day, month, year, in
   the language's order), or, for a device that answered under 18, a line saying no ---------- */
.dc-gate { padding: 18px 16px 16px; }
.dc-gatetext { margin: 0 0 12px; color: var(--dc-paper); font-weight: 600; }
.dc-dob { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; }
.dc-dobset { flex: 1 1 260px; min-width: 0; margin: 0; padding: 0; border: 0; }
.dc-legend { margin: 0 0 6px; padding: 0; color: var(--dc-dim); font: 700 .64rem/1.2 var(--dc-mono); letter-spacing: .16em; text-transform: uppercase; }
.dc-dobrow { display: flex; gap: 8px; }
.dc-dobf { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dc-dob-day { flex: 3 1 0; }
.dc-dob-month { flex: 6 1 0; }
.dc-dob-year { flex: 4 1 0; }
.dc-doblab { color: var(--dc-dim); font: 600 .74rem/1.2 var(--dc-sans); }
.dchat .dc-sel {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 6px 8px;
  border: 1px solid var(--dc-line-strong);
  border-radius: var(--dc-r);
  background: var(--dc-field);
  color: var(--dc-text);
  color-scheme: dark;
  font: 400 1rem/1.2 var(--dc-sans);
  letter-spacing: normal;
  text-transform: none;
}
.dchat .dc-sel option { background: var(--dc-field); color: var(--dc-text); }
.dchat .dc-sel:focus-visible { border-color: var(--dc-red); outline: 0; }
.dchat .dc-year { flex: none; width: 100%; }
.dc-dobgo { min-height: 42px; }
.dc-dob .dc-err { flex: 1 0 100%; }
.dc-gate .dc-agekept { margin-top: 10px; }
.dc-minor {
  margin: 0;
  padding: 6px 0 4px;
  color: var(--dc-paper);
  font: 700 .8rem/1.5 var(--dc-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dc-minor:focus:not(:focus-visible) { outline: 0; }

@media (max-width: 420px) {
  .dc-dobrow { gap: 6px; }
  .dc-profile { padding: 16px 12px 14px; }
  .dc-grid { gap: 4px; }
}
