/* Layout: one reading column for feeds and dens, a wider grid of con badges on Explore;
   the tab bar sits in the header on wide screens and along the bottom on phones. */
:root {
  --bg: #f6f2f7;
  --surface: #ffffff;
  --surface-2: #efe7f1;
  --ink: #2a2030;
  --ink-soft: #6b5d72;
  --line: #e0d5e4;
  --bean: #c93d6b;
  --bean-soft: #fbe2eb;
  --on-bean: #ffffff;
  --badge-ink: #241a29;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --warn-soft: #fff1c2;
  --metal-1: #dfe2e8;
  --metal-2: #9ea5b1;
  --scrim: rgb(28 16 34 / 0.55);
  --shadow: 0 1px 2px rgb(42 32 48 / 0.06), 0 8px 24px rgb(42 32 48 / 0.07);

  /* Kuro's Den: the host's night palette (black fur, cobra blue, red script, orange beans).
     The den's hero is always dark, so these stay the same in both themes. */
  --kuro-ink: #0a0c13;
  --kuro-night: #121725;
  --kuro-blue: #3d7bff;
  --kuro-red: #d6283f;
  --kuro-bean: #f4a259;
  --kuro-text: #eef1fb;
  --kuro-soft: #a9b3cf;
  --kuro-edge: linear-gradient(120deg, #3d7bff, #d6283f 55%, #f4a259);
  --holo: linear-gradient(115deg, #ff6b8b, #ffb86b, #ffe66b, #7bf0c4, #6bc8ff, #9b7bff, #ff6b8b);
  --gold: #e0a83a;
  --gold-soft: #fff1cc;
  --gold-ink: #8a5a00;
  --heart: #c8243c;
  --kuro-red-ink: #c21f37;

  --font-display: "Bagel Fat One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.8125rem;
  --step-0: 0.9375rem;
  --step-1: 1.125rem;
  --step-2: 1.5rem;
  --step-3: 2.125rem;
  --step-4: 3rem;

  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17121b;
    --surface: #211a27;
    --surface-2: #2d2434;
    --ink: #f4ecf6;
    --ink-soft: #b3a5ba;
    --line: #3b3043;
    --bean: #ff7fa8;
    --bean-soft: #47233a;
    --on-bean: #24101b;
    --danger: #ff8f80;
    --danger-soft: #4a1f1c;
    --warn-soft: #4a3b12;
    --gold-soft: #3d2e0c;
    --gold-ink: #ffcf70;
    --heart: #ff6b80;
    --kuro-red-ink: #ff7a8c;
    --metal-1: #c9ced6;
    --metal-2: #7d8592;
    --scrim: rgb(5 2 8 / 0.7);
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { text-wrap: balance; margin: 0; }

p { margin: 0; }

[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--bean); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.icon svg { width: 100%; height: 100%; }

/* --- buttons and fields --------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 600 var(--step-0) / 1 var(--font-body);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.55; cursor: progress; }
.btn-primary { background: var(--bean); color: var(--on-bean); }
.btn-quiet { background: var(--surface-2); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-small { padding: 7px 12px; font-size: var(--step--1); }
.btn .icon { width: 17px; height: 17px; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 0; background: transparent; color: var(--ink-soft);
  font-size: 22px; line-height: 1;
  cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }

.link-btn {
  border: 0; background: none; padding: 4px 2px;
  font: 600 var(--step--1) var(--font-body);
  color: var(--ink-soft);
  cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--bean); }

.field { display: grid; gap: 6px; }
.field-label { font-weight: 600; font-size: var(--step--1); }
.field-hint { color: var(--ink-soft); font-size: var(--step--1); }

input[type="text"], input[type="password"], input[type="search"], input[type="date"], select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--bean); outline-offset: 0; border-color: transparent; }
textarea { resize: vertical; }

.tag {
  display: inline-block;
  font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 6px;
  background: var(--surface-2); color: var(--ink-soft);
  vertical-align: middle;
}

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font: 500 var(--step--1) var(--font-body);
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--bean-soft); border-color: var(--bean); }

.muted { color: var(--ink-soft); }

/* --- header and tabs ------------------------------------------------------- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 1000px; margin: 0 auto;
  padding: 10px 16px;
  display: flex; align-items: center; gap: 16px;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 1.75rem; line-height: 1;
  color: var(--bean);
  text-decoration: none;
}
.wordmark .icon { width: 26px; height: 26px; }

.tabs { display: flex; gap: 4px; margin-left: auto; }
.tab {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; color: var(--ink-soft);
}
.tab:hover { color: var(--ink); background: var(--surface-2); }
.tab.active { color: var(--bean); background: var(--bean-soft); }
.tab-count {
  position: absolute; top: 0; left: 20px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  background: var(--bean); color: var(--on-bean);
  font-size: 0.6875rem; font-weight: 700; line-height: 18px; text-align: center;
  font-variant-numeric: tabular-nums;
}

.me-chip { display: inline-flex; border-radius: 50%; text-decoration: none; }

@media (max-width: 640px) {
  /* backdrop-filter would make the topbar the containing block of the fixed tab bar */
  .topbar { backdrop-filter: none; background: var(--bg); }
  .tabs {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    margin: 0;
    justify-content: space-around;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--line);
  }
  .tab { flex-direction: column; gap: 2px; padding: 6px 10px; font-size: 0.6875rem; }
  .tab-count { left: calc(50% + 4px); }
  .me-chip { margin-left: auto; }
  .view { padding-bottom: 84px; }
}

/* --- page structure -------------------------------------------------------- */

.view { padding-inline: 16px; padding-block: 24px 64px; }
.column { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.wide { max-width: 1000px; margin: 0 auto; display: grid; gap: 20px; }

.view-title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.05; }
.lede { color: var(--ink-soft); max-width: 60ch; }

.empty {
  display: grid; gap: 10px; justify-items: start;
  padding: 28px 24px;
  border: 2px dashed var(--line); border-radius: var(--radius);
}
.empty h2 { font-size: var(--step-1); }
.empty p { color: var(--ink-soft); max-width: 52ch; }

.loading { color: var(--ink-soft); padding: 40px 0; text-align: center; }

/* --- posts ----------------------------------------------------------------- */

.post-list { display: grid; gap: 14px; }

.post {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid; gap: 12px;
  min-width: 0;
}
.post-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.post-avatar { flex: none; border-radius: 50%; }
.post-who { min-width: 0; flex: 1; }
.post-name {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-weight: 700; text-decoration: none;
}
.post-name-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-name .tag { flex: none; }
.post-name:hover { text-decoration: underline; }
.post-sub { color: var(--ink-soft); font-size: var(--step--1); }
.post-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--step-0); line-height: 1.55; }
.post-body a { color: var(--bean); }

.mood {
  flex: none;
  font-size: var(--step--1); font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--ink);
  white-space: nowrap;
}

.pinned-label {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--step--1); font-weight: 700; color: var(--bean);
}
.pinned-label .icon { width: 15px; height: 15px; }

.post-image {
  padding: 0; border: 0; background: var(--surface-2);
  border-radius: 12px; overflow: hidden; cursor: zoom-in;
  justify-self: start; max-width: 100%;
}
.post-image img { max-height: 480px; width: auto; object-fit: contain; }

.reacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.react {
  display: inline-flex; align-items: center; gap: 5px;
  min-height: 34px; padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-soft);
  font: 600 var(--step--1) var(--font-body);
  cursor: pointer;
  transition: transform 0.12s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.react:hover:not(:disabled) { border-color: var(--bean); }
.react:active:not(:disabled) { transform: scale(0.92); }
.react:disabled { cursor: default; opacity: 0.6; }
.react.on { background: var(--bean-soft); border-color: var(--bean); color: var(--bean); }
.react-emoji { font-size: 1.0625rem; line-height: 1; }
.react-count { font-variant-numeric: tabular-nums; }
.react-count:empty { display: none; }
@media (max-width: 640px) { .react { padding: 4px 9px; } }
.glyph-paw { width: 1em; height: 1em; color: var(--bean); vertical-align: -0.125em; }
.reacts .who { margin-left: auto; }

.burst {
  position: fixed; z-index: 50; pointer-events: none;
  font-size: 20px; line-height: 1;
  translate: -50% -50%;
  animation: burst 0.8s ease-out forwards;
}
@keyframes burst {
  0% { transform: translate(0, 0) scale(0.6) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.15) rotate(var(--rot)); opacity: 0; }
}

.menu-wrap { position: relative; flex: none; }
.menu {
  position: absolute; right: 0; top: 38px; z-index: 10;
  min-width: 200px;
  display: grid; padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow);
}
.menu button {
  text-align: left; border: 0; background: none; color: var(--ink);
  font: 500 var(--step-0) var(--font-body);
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
}
.menu button:hover { background: var(--surface-2); }
.menu .danger { color: var(--bean); }
.menu-note { padding: 8px 12px 4px; color: var(--ink-soft); font-size: var(--step--1); }

.load-more { justify-self: center; margin-top: 8px; }

/* --- composer -------------------------------------------------------------- */

.composer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: grid; gap: 12px;
  box-shadow: var(--shadow);
}
.composer-top { display: flex; gap: 12px; align-items: flex-start; }
.composer textarea {
  border: 0; padding: 8px 0; min-height: 76px;
  font-size: var(--step-1); background: transparent;
}
.composer textarea:focus { outline: none; }
.mood-row { display: flex; flex-wrap: wrap; gap: 6px; }
.composer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.composer-foot .hint { color: var(--ink-soft); font-size: var(--step--1); flex: 1; min-width: 160px; }
.composer-foot .count { color: var(--ink-soft); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.compose-preview { position: relative; justify-self: start; }
.compose-preview img { max-height: 200px; border-radius: 12px; }
.compose-preview .remove {
  position: absolute; top: 6px; right: 6px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
}

.open-den {
  display: grid; gap: 12px; justify-items: start;
  padding: 22px 22px 22px 24px;
  border-radius: var(--radius);
  background: var(--bean-soft);
  border: 1px solid color-mix(in srgb, var(--bean) 35%, transparent);
}
.open-den h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1.1; }
.open-den p { max-width: 54ch; }

/* --- avatars and con badges ------------------------------------------------ */

.avatar {
  width: var(--size); height: var(--size);
  border-radius: 50%; object-fit: cover;
  flex: none;
}
.avatar-letter {
  display: inline-grid; place-items: center;
  background: var(--band);
  color: var(--badge-ink);
  font-family: var(--font-display);
  font-size: calc(var(--size) * 0.46);
  line-height: 1;
}

.badge {
  position: relative;
  width: 100%;
  padding-top: 16px;
  transform-origin: 50% 0;
  transition: rotate 0.35s cubic-bezier(.3, 1.6, .5, 1);
}
.badge-clip {
  position: absolute; top: 0; left: 50%; z-index: 2;
  width: 32px; height: 30px;
  translate: -50% 0;
  border-radius: 7px 7px 5px 5px;
  background: linear-gradient(var(--metal-1), var(--metal-2));
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.12);
}
.badge-clip::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 12px; height: 6px; translate: -50% 0;
  border-radius: 4px; background: var(--metal-2);
}
.badge-card {
  position: relative;
  display: grid; justify-items: center;
  padding-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
}
.badge-band { position: relative; width: 100%; height: 62px; background: var(--band); }
.badge-slot {
  position: absolute; top: 12px; left: 50%;
  width: 40px; height: 9px; translate: -50% 0;
  border-radius: 99px;
  background: var(--bg);
  box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.3);
}
.badge-tag {
  position: absolute; right: 8px; top: 8px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--badge-ink);
  background: rgb(255 255 255 / 0.55);
  padding: 2px 6px; border-radius: 5px;
}
.badge .avatar { position: relative; z-index: 1; margin-top: -38px; border: 4px solid var(--surface); box-sizing: content-box; }
.badge-name {
  margin-top: 8px; padding-inline: 12px;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.375rem; line-height: 1.1;
  overflow-wrap: anywhere;
}
.badge-meta { color: var(--ink-soft); font-size: var(--step--1); padding-inline: 12px; }
.badge-handle { font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }

.badge-large .badge-band { height: 80px; }
.badge-large .avatar { margin-top: -52px; }
.badge-large .badge-name { font-size: var(--step-3); margin-top: 10px; }

a:hover > .badge, .badge:hover { rotate: -1.5deg; }

/* --- explore --------------------------------------------------------------- */

.den-grid {
  display: grid; gap: 22px 18px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.den-tile { display: grid; gap: 10px; align-content: start; min-width: 0; }
.den-tile-link { text-decoration: none; color: inherit; border-radius: 18px; }
.den-tile-foot { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-inline: 4px; }
.den-tile-foot .muted { font-size: var(--step--1); font-variant-numeric: tabular-nums; }

/* --- den page -------------------------------------------------------------- */

.den-head {
  display: grid; gap: 24px;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 640px) {
  .den-head { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .den-head .badge { max-width: 260px; }
  .den-info { justify-items: center; text-align: center; }
}
.den-info { display: grid; gap: 14px; padding-top: 18px; min-width: 0; }
.den-bio { white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--step-1); line-height: 1.5; }
.den-bio a { color: var(--bean); }
.den-stats { display: flex; gap: 22px; margin: 0; }
.den-stats div { display: grid; }
.den-stats dt { order: 2; color: var(--ink-soft); font-size: var(--step--1); }
.den-stats dd { order: 1; margin: 0; font-weight: 700; font-size: var(--step-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.den-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.den-reacts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-soft); font-size: var(--step--1); }
.den-reacts .set { display: inline-flex; gap: 4px; font-size: 1.25rem; }

.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* --- activity -------------------------------------------------------------- */

.activity { display: grid; gap: 2px; }
.activity-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 14px 12px; border-radius: 12px;
  text-decoration: none; color: inherit;
}
.activity-row:hover { background: var(--surface); }
.activity-row.new { background: var(--bean-soft); }
.avatar-stack { display: flex; }
.avatar-stack .avatar { border: 2px solid var(--bg); box-sizing: content-box; }
.avatar-stack .avatar + .avatar { margin-left: -12px; }
.activity-text { display: grid; gap: 2px; min-width: 0; }
.activity-text .snippet { color: var(--ink-soft); font-size: var(--step--1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-kinds { font-size: var(--step--1); color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.activity-time { color: var(--ink-soft); font-size: var(--step--1); white-space: nowrap; }

/* --- settings -------------------------------------------------------------- */

.settings { display: grid; gap: 28px; grid-template-columns: 220px minmax(0, 1fr); align-items: start; }
@media (max-width: 720px) {
  .settings { grid-template-columns: minmax(0, 1fr); }
  .settings-preview { max-width: 220px; justify-self: center; }
}
.settings-preview { position: sticky; top: 90px; display: grid; gap: 12px; justify-items: center; }
.settings-form { display: grid; gap: 22px; }
.settings-group {
  display: grid; gap: 14px;
  padding: 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.settings-group h2 { font-size: var(--step-1); }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span {
  display: block; width: 34px; height: 34px; border-radius: 50%;
  background: var(--band); cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}
.swatch input:checked + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.swatch input:focus-visible + span { outline: 3px solid var(--bean); outline-offset: 3px; }

.reaction-picker { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.reaction-option {
  display: grid; justify-items: center; gap: 2px;
  padding: 10px 6px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font: 600 var(--step--1) var(--font-body);
  cursor: pointer;
}
.reaction-option .e { font-size: 1.5rem; line-height: 1.2; }
.reaction-option[aria-pressed="true"] { background: var(--bean-soft); border-color: var(--bean); color: var(--bean); }
.reaction-option:disabled { opacity: 0.4; cursor: not-allowed; }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* --- dialogs --------------------------------------------------------------- */

.dialog {
  overflow: auto;
  border: 0; padding: 0;
  width: min(440px, calc(100vw - 32px));
  max-height: min(640px, calc(100vh - 64px));
  border-radius: 18px;
  background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow);
}
.dialog::backdrop { background: var(--scrim); }
.dialog-head {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 10px 20px; background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 { font-size: var(--step-1); }
.dialog-body { padding: 16px 20px 20px; display: grid; gap: 18px; }
.reactor-group { display: grid; gap: 8px; }
.reactor-group h3 { font-size: var(--step-0); display: flex; align-items: center; gap: 8px; }
.reactor { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.reactor:hover .name { text-decoration: underline; }
.reactor .name { font-weight: 600; }

.lightbox {
  border: 0; padding: 0; background: transparent;
  max-width: calc(100vw - 32px); max-height: calc(100vh - 32px);
}
.lightbox::backdrop { background: var(--scrim); }
.lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); border-radius: 12px; }

/* --- sign-in page ---------------------------------------------------------- */

.auth {
  max-width: 1040px; margin: 0 auto;
  padding-inline: 16px; padding-block: 48px;
  min-height: 100vh;
  display: grid; gap: 48px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 820px) {
  .auth { grid-template-columns: minmax(0, 1fr); padding-block: 28px; gap: 32px; min-height: 0; }
}
.pitch { display: grid; gap: 22px; }
.pitch .wordmark { font-size: 2.25rem; }
.pitch .wordmark .icon { width: 34px; height: 34px; }
.pitch h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.25rem, 6vw, var(--step-4)); line-height: 1.02;
}
.pitch h1 em { font-style: normal; color: var(--bean); }
.pitch p { font-size: var(--step-1); color: var(--ink-soft); max-width: 46ch; }
.pitch-sample { max-width: 420px; rotate: -1.5deg; box-shadow: var(--shadow); }
.replies-off {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--step--1); font-weight: 600; color: var(--ink-soft);
  padding: 4px 10px; border: 1px dashed var(--line); border-radius: 999px;
  justify-self: start;
}

.auth-card {
  display: grid; gap: 18px;
  padding: 28px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow);
}
.auth-switch { display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 999px; }
.auth-switch button {
  flex: 1; border: 0; border-radius: 999px; padding: 9px 12px;
  font: 600 var(--step-0) var(--font-body); color: var(--ink-soft); background: transparent; cursor: pointer;
}
.auth-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.auth-form { display: grid; gap: 14px; }
.form-error { color: var(--bean); font-weight: 600; font-size: var(--step--1); min-height: 1.2em; }

/* --- toast ----------------------------------------------------------------- */

#toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  translate: -50% 20px;
  max-width: calc(100vw - 32px);
  padding: 11px 18px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-weight: 600; font-size: var(--step--1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, translate 0.2s ease;
}
#toast.show { opacity: 1; translate: -50% 0; }
@media (max-width: 640px) { #toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.activity-kinds { display: flex; flex-wrap: wrap; gap: 4px 12px; }

/* --- safety, legal and moderation screens ----------------------------------- */

.small { font-size: var(--step--1); }
.stack { display: grid; gap: 14px; }
.stack > .btn { justify-self: start; }
hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; width: 100%; }

.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }

.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); line-height: 1.45; }
.check-field input { margin-top: 1px; width: 18px; height: 18px; accent-color: var(--bean); flex: none; }
.check-field a { color: var(--bean); }

.code-box {
  display: block; text-align: center;
  font: 600 1.375rem/1.2 ui-monospace, "Cascadia Mono", Consolas, monospace;
  letter-spacing: 0.06em;
  padding: 16px; border-radius: 12px;
  background: var(--surface-2);
  user-select: all; overflow-wrap: anywhere;
}

.reason-list { display: grid; gap: 6px; }
.reason {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.reason:has(input:checked) { border-color: var(--bean); background: var(--bean-soft); }
.reason input { margin-top: 3px; accent-color: var(--bean); flex: none; }
.reason > span { display: grid; gap: 2px; }
.reason .muted { font-size: var(--step--1); }
.report-tip { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: var(--step--1); }

.notice { background: var(--danger-soft); border-bottom: 1px solid color-mix(in srgb, var(--danger) 35%, transparent); }
.notice-inner { max-width: 1000px; margin: 0 auto; padding: 12px 16px; font-size: var(--step--1); }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  padding-inline: 16px; padding-block: 8px 40px;
  color: var(--ink-soft); font-size: var(--step--1);
}
.site-footer a { color: inherit; }
@media (max-width: 640px) {
  .view { padding-bottom: 24px; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

.subnav { display: flex; flex-wrap: wrap; gap: 6px; }
.subnav a {
  padding: 7px 14px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: var(--step--1);
  color: var(--ink-soft); background: var(--surface-2);
}
.subnav a:hover { color: var(--ink); }
.subnav a.active { background: var(--bean-soft); color: var(--bean); }

.legal-page { max-width: 720px; margin: 0 auto; padding-inline: 16px; padding-block: 28px 16px; display: grid; gap: 18px; }
.legal { display: grid; gap: 12px; max-width: 68ch; line-height: 1.6; }
.legal h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1.05; }
.legal h2 { font-size: var(--step-1); margin-top: 12px; }
.legal ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.legal a { color: var(--bean); }
.legal-date { color: var(--ink-soft); font-size: var(--step--1); }
.missing { background: var(--warn-soft); padding: 0 4px; border-radius: 4px; font-weight: 600; }
.draft-note { padding: 10px 12px; border-radius: 10px; background: var(--warn-soft); font-weight: 600; font-size: var(--step--1); }

.gate { max-width: 480px; margin: 0 auto; padding-inline: 16px; padding-block: 48px 16px; display: grid; gap: 24px; justify-items: start; }
.gate .auth-card { width: 100%; }
.gate-title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1.1; }

.blocked-list { display: grid; gap: 10px; }
.blocked-row { display: flex; align-items: center; gap: 10px; }
.blocked-row .name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.danger-zone { padding: 14px; border: 1px solid var(--danger); border-radius: 12px; }

.mod-list { display: grid; gap: 12px; }
.mod-card {
  display: grid; gap: 10px; min-width: 0;
  padding: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.mod-card.urgent { border-color: var(--danger); }
.mod-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mod-card-head a { font-weight: 600; text-decoration: none; }
.mod-card-head a:hover { text-decoration: underline; }
.pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
  background: var(--surface-2); color: var(--ink);
}
.pill-urgent { background: var(--danger-soft); color: var(--danger); }
.mod-details { font-style: italic; overflow-wrap: anywhere; }
.mod-content { display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: var(--surface-2); overflow-wrap: anywhere; }
.mod-content .post-image img { max-height: 260px; }
.mod-warning { padding: 12px; border-radius: 12px; background: var(--danger-soft); font-size: var(--step--1); }
.mod-warning a { color: inherit; font-weight: 700; }
.mod-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mod-form { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; }
.mod-fields { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.mod-resolution { font-size: var(--step--1); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mod-log { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.mod-log th, .mod-log td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.mod-log th { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.mod-log tbody tr:last-child td { border-bottom: 0; }
.nowrap { white-space: nowrap; }

/* --- Kuro's Den: the host's den ------------------------------------------------ */

@keyframes aurora {
  0% { background-position: 0% 30%, 100% 40%, 50% 100%, 0 0; }
  100% { background-position: 30% 70%, 60% 10%, 80% 60%, 0 0; }
}
@keyframes holo-shift { to { background-position: 300% 50%; } }
@keyframes sheen-sweep { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }
@keyframes twinkle { 0%, 100% { opacity: 0.15; transform: scale(0.6); } 50% { opacity: 0.95; transform: scale(1); } }

.host-den { display: grid; gap: 22px; }

.host-hero {
  max-width: 1000px; width: 100%; margin: 0 auto;
  border-radius: 26px; overflow: hidden;
  background: var(--kuro-night);
  color: var(--kuro-text);
  box-shadow: 0 20px 50px rgb(10 12 19 / 0.35);
}
.host-cover, .host-feature-cover, .cover-preview.empty {
  position: relative;
  background:
    radial-gradient(55% 75% at 20% 30%, rgb(61 123 255 / 0.6), transparent 70%),
    radial-gradient(50% 70% at 80% 35%, rgb(214 40 63 / 0.55), transparent 70%),
    radial-gradient(40% 60% at 55% 95%, rgb(244 162 89 / 0.4), transparent 70%),
    var(--kuro-ink);
  background-size: 140% 140%, 140% 140%, 140% 140%, auto;
  animation: aurora 18s ease-in-out infinite alternate;
}
.host-cover { height: 250px; }
.host-cover.has-banner { background-size: cover; background-position: center; animation: none; }
.host-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, var(--kuro-night));
}
.sparkle {
  position: absolute; z-index: 1; color: #fff;
  opacity: 0.7;
  filter: drop-shadow(0 0 6px rgb(255 255 255 / 0.8));
  animation: twinkle 3.6s ease-in-out infinite;
}
.host-cover.has-banner .sparkle { display: none; }

.host-hero-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 30px;
  padding: 0 30px 30px;
  margin-top: -120px;
}
.host-badge-col { display: grid; justify-items: center; align-content: start; }
.host-intro { display: grid; gap: 10px; align-content: start; padding-top: 128px; min-width: 0; }
.host-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--kuro-bean);
}
.host-eyebrow .icon { width: 16px; height: 16px; }
.host-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 3.75rem); line-height: 0.98;
  color: #fff;
  text-shadow: 0 2px 0 var(--kuro-red), 0 10px 30px rgb(214 40 63 / 0.35);
}
.host-sub { color: var(--kuro-soft); font-weight: 600; overflow-wrap: anywhere; }
.host-bio { font-size: var(--step-1); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-width: 60ch; }
.host-bio a { color: #9fc0ff; }
.host-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--kuro-soft); font-variant-numeric: tabular-nums; }
.host-stats strong { color: #fff; font-size: var(--step-1); }
.host-hero .badge, .host-feature .badge { color: var(--ink); }
.host-hero .btn-primary, .host-feature .btn-primary { background: var(--kuro-red); color: #fff; }
.host-hero .btn-quiet, .host-feature .btn-quiet { background: rgb(255 255 255 / 0.12); color: #fff; }
.host-hero .icon-btn { color: var(--kuro-soft); }
.host-hero .icon-btn:hover { background: rgb(255 255 255 / 0.1); color: #fff; }

@media (max-width: 720px) {
  .host-cover { height: 180px; }
  .host-hero-body { grid-template-columns: minmax(0, 1fr); margin-top: -100px; padding: 0 18px 24px; gap: 18px; }
  .host-badge-col .badge { max-width: 210px; }
  .host-intro { padding-top: 0; justify-items: center; text-align: center; }
  .host-stats, .host-intro .den-actions { justify-content: center; }
}

.host-column { max-width: 680px; }
.host-den .subnav a.active { background: var(--kuro-red); color: #fff; }

/* the holo "sponsor" badge */
.badge-host {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s ease, rotate 0.35s cubic-bezier(.3, 1.6, .5, 1);
}
.badge-host .badge-card {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--holo) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: holo-shift 9s linear infinite;
  box-shadow: 0 14px 34px rgb(10 12 19 / 0.35);
}
.badge-host .badge-band {
  background: var(--holo);
  background-size: 300% 300%;
  animation: holo-shift 9s linear infinite;
}
.badge-host .badge-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.55) 50%, transparent 65%);
  background-size: 300% 100%;
  background-position: var(--sheen, 160%) 0;
  mix-blend-mode: soft-light;
}
.badge-host:not(:hover) .badge-card::after { animation: sheen-sweep 6s ease-in-out infinite; }
.badge-host .badge-clip { background: linear-gradient(#ffe7a3, #c9952f); }
.badge-host .badge-clip::after { background: #9a6d1c; }
.badge-tag-host { background: var(--kuro-ink); color: #ffd76a; }

/* con ribbons hanging under the badge */
.ribbons { display: grid; justify-items: center; margin-top: -2px; width: 100%; }
.ribbon {
  width: 74%; max-width: 172px;
  padding: 8px 0 15px; margin-top: -4px;
  text-align: center;
  font: 800 0.72rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}
.ribbon:nth-child(odd) { rotate: -1.2deg; }
.ribbon:nth-child(even) { rotate: 1deg; }
.ribbon-0 { background: linear-gradient(#ffd76a, #e0a83a); color: #2a1a00; }
.ribbon-1 { background: var(--kuro-red); color: #fff; }
.ribbon-2 { background: var(--kuro-blue); color: #fff; }
.ribbon-3 { background: var(--kuro-bean); color: #2a1300; }

/* the host's posts everywhere */
.tag-host { background: var(--kuro-edge); color: #fff; }
.post-host, .composer-host {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--kuro-edge) border-box;
}
.post-video video { display: block; width: 100%; max-height: 520px; border-radius: 12px; background: #000; }

.tab[data-tab="host"] .icon { color: var(--gold); }

.host-options { align-items: center; }
.host-options-label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--kuro-red-ink);
}
.host-options-label .icon { width: 15px; height: 15px; }
.chip .icon { width: 15px; height: 15px; }
.upload-progress { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); font-variant-numeric: tabular-nums; }

/* comments */
.post-foot { display: flex; border-top: 1px solid var(--line); padding-top: 8px; }
.comment-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; border-radius: 8px; padding: 6px 8px;
  font: 600 var(--step--1) var(--font-body); color: var(--ink-soft); cursor: pointer;
}
.comment-toggle:hover, .comment-toggle[aria-expanded="true"] { background: var(--surface-2); color: var(--ink); }
.comment-toggle .icon { width: 18px; height: 18px; }
.comments { display: grid; gap: 12px; }
.comment-form { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.comment-form textarea { min-height: 42px; padding: 9px 12px; }
.comment-list { display: grid; gap: 10px; }
.comment-list:empty { display: none; }
.comment { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.comment-avatar { border-radius: 50%; }
.comment-main { min-width: 0; background: var(--surface-2); border-radius: 4px 14px 14px 14px; padding: 8px 12px; }
.comment.from-host .comment-main { background: color-mix(in srgb, var(--kuro-blue) 14%, var(--surface-2)); }
.comment.pinned .comment-main { box-shadow: inset 0 0 0 1.5px var(--gold); }
.comment-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.comment-name { font-weight: 700; text-decoration: none; }
.comment-name:hover { text-decoration: underline; }
.comment-body { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 2px; }
.comment-body a { color: var(--bean); }
.comment-flags { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); }
.comment-flag { display: inline-flex; align-items: center; gap: 4px; }
.comment-flag .icon { width: 14px; height: 14px; }
.comment-flag.hearted { color: var(--heart); }

/* pictures, videos and About */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 45%), 1fr)); gap: 8px; }
.media-tile {
  position: relative; aspect-ratio: 1; padding: 0; border: 0;
  border-radius: 12px; overflow: hidden; background: var(--surface-2); cursor: pointer;
}
.media-tile img, .media-tile video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.media-tile:hover img, .media-tile:hover video { transform: scale(1.04); }
.play-badge {
  position: absolute; left: 10px; bottom: 10px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: rgb(10 12 19 / 0.6); color: #fff;
}
.play-badge .icon { width: 18px; height: 18px; }
.lightbox video { max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); border-radius: 12px; background: #000; }

.about-panel { display: grid; gap: 20px; }
.about-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--step-1); line-height: 1.6; }
.about-text a { color: var(--bean); }
.about-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; margin: 0; }
.about-facts div { padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.about-facts dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.about-facts dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.about-links { display: grid; gap: 8px; }
.about-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; min-width: 0;
}
.about-link:hover { border-color: var(--kuro-blue); }
.about-link-label { font-weight: 700; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Explore: the host and their picks */
.host-feature { border-radius: 22px; overflow: hidden; background: var(--kuro-night); color: var(--kuro-text); }
.host-feature-cover { height: 130px; background-size: 140% 140%, 140% 140%, 140% 140%, auto; }
.host-feature-cover[style*="background-image"] { background-size: cover; background-position: center; animation: none; }
.host-feature-body {
  position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 22px;
  padding: 0 24px 24px; margin-top: -80px;
}
.host-feature-badge { width: 170px; flex: none; text-decoration: none; color: inherit; }
.host-feature-text { display: grid; gap: 8px; flex: 1; min-width: 220px; padding-bottom: 4px; }
.host-feature-title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-3); line-height: 1; }
.host-feature-title a { color: #fff; text-decoration: none; }
.host-feature .muted { color: var(--kuro-soft); }
.picks { display: grid; gap: 14px; }
.picks-title { display: flex; align-items: center; gap: 8px; font-size: var(--step-1); }
.picks-title .icon { color: var(--gold); }
.pick-tag {
  display: inline-flex; align-items: center; gap: 5px; justify-self: start;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700;
  background: var(--gold-soft); color: var(--gold-ink);
}
.pick-tag .icon { width: 13px; height: 13px; }

/* the host's announcement on everyone's feed */
.announcement {
  display: grid; gap: 8px; padding: 10px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(120deg, color-mix(in srgb, var(--kuro-blue) 20%, transparent), color-mix(in srgb, var(--kuro-red) 18%, transparent));
}
.announcement-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 4px 0 8px; min-height: 34px; }
.announcement-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--step--1); }
.activity-comment { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* host settings */
.host-settings h2 { display: flex; align-items: center; gap: 6px; }
.host-settings h2 .icon { color: var(--gold); }
.cover-preview { height: 120px; border-radius: 12px; background-size: cover; background-position: center; background-color: var(--surface-2); }
.pair-rows { display: grid; gap: 8px; }
.pair-rows:empty { display: none; }
.pair-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; align-items: center; }
@media (max-width: 520px) {
  .pair-row { grid-template-columns: minmax(0, 1fr) auto; }
  .pair-row input:nth-child(2) { grid-row: 2; grid-column: 1; }
}

/* --- social login ------------------------------------------------------------ */
.social-login { display: grid; gap: 8px; }
.social-btn { width: 100%; gap: 10px; }
.social-mark {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px;
  font: 800 0.8rem/1 var(--font-body);
}
.social-discord { background: #5865f2; color: #fff; }
.social-discord .social-mark { background: #fff; color: #5865f2; }
.social-google { background: var(--surface); color: var(--ink); border-color: var(--line); }
.social-google .social-mark { background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); color: #fff; }
.social-tiktok { background: #111; color: #fff; }
.social-tiktok .social-mark { background: linear-gradient(135deg, #25f4ee, #fe2c55); color: #111; }
.social-or { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: var(--step--1); margin-top: 4px; }
.social-or::before, .social-or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.callback-url {
  flex: 1; min-width: 0; overflow-wrap: anywhere;
  padding: 8px 10px; border-radius: 8px; background: var(--surface-2);
  font: 600 var(--step--1) ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* --- host-only post fonts ------------------------------------------------------ */
.host-rows { gap: 8px; }
.post-style-den { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.25; }
.post-style-bubbly { font-family: "Chewy", "Comic Sans MS", var(--font-display); font-size: 1.45rem; line-height: 1.3; letter-spacing: 0.01em; }
.post-style-glow {
  font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.25;
  background: var(--kuro-edge); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.post-style-glow a { color: var(--kuro-blue); -webkit-text-fill-color: var(--kuro-blue); }
.post-style-handwritten { font-family: "Gochi Hand", "Segoe Print", cursive; font-size: 1.55rem; line-height: 1.3; }
.style-chip.post-style-den, .style-chip.post-style-bubbly, .style-chip.post-style-glow, .style-chip.post-style-handwritten { font-size: 0.95rem; line-height: 1; }
.composer textarea.post-style-den, .composer textarea.post-style-bubbly, .composer textarea.post-style-handwritten { font-size: 1.4rem; }
.composer textarea.post-style-glow { font-size: 1.4rem; color: var(--kuro-red-ink); background: none; -webkit-text-fill-color: currentColor; }
