@font-face {
  font-family: "Lane Display";
  src: url("/lane/fonts/barlow-condensed-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lane Display";
  src: url("/lane/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lane Sans";
  src: url("/lane/fonts/plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lane Sans";
  src: url("/lane/fonts/plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lane Mono";
  src: url("/lane/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lane Mono";
  src: url("/lane/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-2: #000000;
  --text: #e7e9ea;
  --muted: #71767b;
  --faint: #71767b;
  --line: #2f3336;
  --ink: #eff3f4;
  --paper: #000000;
  --blue: #1d9bf0;
  --live: #1d9bf0;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --serif: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --mono: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  background: #000000;
  color: var(--text);
  font-family: var(--sans);
  display: grid;
  place-items: center;
  -webkit-tap-highlight-color: transparent;
}

button, input, textarea { font: inherit; color: inherit; }

button { cursor: pointer; }

.phone {
  width: min(400px, 100vw);
  height: min(860px, 100dvh);
  background: var(--bg);
  color: var(--text);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 40px;
  box-shadow: 0 0 0 1px #2f3336;
}

.top {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(10px + env(safe-area-inset-top)) 8px 8px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  z-index: 2;
}

.mark {
  margin: 0;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1;
}

.mark::before { content: none; }

.top-actions { display: flex; align-items: center; gap: 2px; }

.iconbtn, .back {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  display: grid;
  place-items: center;
  padding: 0;
}

.top:has(.back) { justify-content: flex-start; gap: 4px; }

.top:has(.back) .titleblock { flex: 1; }

.titleblock { min-width: 0; }

.screentitle {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.screen {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.screen.walk { overflow: hidden; padding: 0; }

.nav {
  flex: none;
  display: flex;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-bottom: env(safe-area-inset-bottom);
}

.nav button {
  flex: 1;
  border: 0;
  background: transparent;
  color: #71767b;
  font-family: var(--sans);
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
  padding: 12px 0 calc(10px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.nav button.on { color: #e7e9ea; }

.nav button svg { width: 26px; height: 26px; stroke-width: 1.7; }

.nav button.on svg { stroke-width: 2.3; }

.here {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 14px 18px 6px;
  scrollbar-width: none;
}

.here::-webkit-scrollbar, .filters::-webkit-scrollbar, .stage::-webkit-scrollbar { display: none; }

.here button {
  width: auto;
  flex: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.here .avatar { width: 46px; height: 46px; margin: 0; font-size: 13px; }

.stage {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 16px 4px;
  scrollbar-width: none;
}

.stage-card {
  position: relative;
  flex: none;
  width: 88%;
  height: 420px;
  scroll-snap-align: center;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  padding: 0;
  background: #07080c;
}

.stage.stack-stage {
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding-bottom: 24px;
}

.stage.stack-stage .stage-card { width: 100%; height: 460px; }

.stage-card canvas { width: 100%; height: 100%; display: block; }

.stage-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  pointer-events: none;
}

.stage-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  text-align: left;
  color: white;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.8);
}

.stage-copy strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stage-copy em, .stage-copy span {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.stage-copy span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 16px 8px;
}

.filters button, .suggest button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 2px;
  padding: 6px 11px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.filters button.on {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.weekline {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 12px 8px 0;
  scrollbar-width: none;
}

.weekline::-webkit-scrollbar { display: none; }

.weekline button {
  flex: none;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-size: 13px;
}

.weekline button + button { box-shadow: inset 1px 0 0 var(--line); }

.card {
  padding: 16px 16px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.who, .personrow, .post-text, .quote, .preview, .quiet {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.who, .personrow { display: flex; gap: 10px; width: 100%; align-items: center; }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  flex: none;
}

.avatar.lg { width: 64px; height: 64px; font-size: 18px; }

.who-copy, .person-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
  gap: 2px;
}

.name { display: block; font-size: 14.5px; font-weight: 620; letter-spacing: -0.01em; line-height: 1.25; }

.name span, .sub, .meta { color: var(--muted); font-weight: 450; }

.sub { display: block; margin: 0; font-size: 13px; line-height: 1.3; }

.post-text {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.38;
  letter-spacing: -0.02em;
}

.preview {
  position: relative;
  display: block;
  width: 100%;
  height: 214px;
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #07080c;
}

.preview canvas, .viewer canvas { width: 100%; height: 100%; display: block; }

.badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.capture {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}

.inset {
  margin-top: 14px;
  border: 0;
  border-radius: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  background: transparent;
}

.inset strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.textbtn {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 0 0;
  font-size: 14px;
}

.textbtn.center { display: block; width: 100%; text-align: center; padding: 0; }

.inset span, .inset em { display: block; margin-top: 4px; color: var(--muted); font-style: normal; font-size: 14px; }

.actions { display: flex; gap: 2px; margin: 6px -8px 0; }

.actions button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 8px;
}

.actions button.on { color: var(--text); }

.pad { padding: 8px 16px 28px; }

.hero { display: flex; gap: 14px; align-items: center; }

.hero h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

.kicker { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.stack { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }

.btn {
  display: block;
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #2f3336;
  background: transparent;
  color: var(--text);
  text-align: center;
}

.btn.primary { background: #1d9bf0; color: #fff; border-color: #1d9bf0; border-radius: 999px; font-weight: 700; }

.btn:disabled { opacity: 0.38; }

.prose, .post-text, .lead .dek, .read .dek, .film-dek, .piece-dek, .spotcard p, .quote em {
  font-family: var(--sans);
}

.prose {
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 12px;
}

.rulebox {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
}

.rulebox h3, .block h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.rulebox li, .block p { margin: 0 0 8px; font-size: 15px; line-height: 1.4; }

.rulebox ul { margin: 0; padding-left: 18px; }

.block { margin-top: 16px; }

.personrow { padding: 12px 16px; border-top: 1px solid var(--line); }

.screen.search {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.askthread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 8px;
}

.askempty {
  margin: auto;
  max-width: 260px;
  text-align: center;
  color: #71767b;
  font-size: 16px;
  line-height: 22px;
  padding-top: 28vh;
}

.askme {
  width: fit-content;
  max-width: 85%;
  margin: 8px 0 8px auto;
  padding: 10px 14px;
  border-radius: 18px;
  background: #1d9bf0;
  color: #fff;
  font-size: 15px;
  line-height: 20px;
}

.askstatus {
  margin: 14px 8px;
  text-align: center;
  color: #71767b;
  font-size: 13px;
  line-height: 18px;
}

.askstatus.live::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-radius: 50%;
  background: #1d9bf0;
  vertical-align: middle;
  animation: askpulse 1s ease-in-out infinite;
}

@keyframes askpulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

.askreply {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
}

.askcopy { min-width: 0; }

.askbubble {
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #202327;
  color: #e7e9ea;
  font-size: 15px;
  line-height: 20px;
}

.askreply .xfollow { margin-top: 8px; }

.askbar {
  flex: none;
  padding: 8px 12px 12px;
}

.askbar textarea {
  flex: 1;
  min-width: 0;
  max-height: 120px;
  border: 0;
  background: transparent;
  color: #e7e9ea;
  resize: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  padding: 6px 0;
}

.askbar textarea::placeholder { color: #71767b; }

.askbar {
  display: block;
}

.askbar form, #ask-form, #gate-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #202327;
  border-radius: 24px;
  padding: 6px 6px 6px 16px;
}

.askbar button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #e7e9ea;
  color: #0f1419;
  display: grid;
  place-items: center;
  padding: 0;
  flex: none;
}

.askbar button svg { width: 18px; height: 18px; stroke-width: 2; }

.searchhead input, .field {
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
  border-radius: 16px;
  padding: 12px 14px;
  outline: none;
  font: inherit;
  font-size: 15px;
}

.searchhead input {
  border: 0;
  background: #202327;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 15px;
}

.searchhead input::placeholder { color: #71767b; }

.field { margin: 8px 0; display: block; resize: vertical; min-height: 88px; }

label.lbl { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }

.hint { color: var(--muted); font-size: 13px; line-height: 1.4; min-height: 1.2em; }

.hint.bad { color: #ff8d7a; }

.seg { display: flex; gap: 6px; padding: 0 0 8px; flex-wrap: wrap; }

.seg button.on { background: var(--ink); color: var(--bg); }

.choices { display: flex; flex-direction: column; gap: 8px; }

.choices button {
  text-align: left;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px;
}

.choices button.on { border-color: var(--ink); }

.choices small { display: block; color: var(--muted); margin-top: 3px; }

.overlay-root { position: absolute; inset: 0; pointer-events: none; z-index: 5; }

.scrim {
  pointer-events: auto;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
}

.sheet {
  pointer-events: auto;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 92%;
  background: #0a0e12;
  border-radius: 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}

.chat-sheet { height: 88%; }

.handle {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: rgba(28, 27, 22, 0.2);
  margin: 8px auto 0;
}

.sheet head, .sheet-h {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 14px 8px;
}

.sheet-h strong { display: block; font-size: 16px; }

.sheet-h p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }

.log { flex: 1; overflow: auto; padding: 4px 14px 12px; }

.bubble { max-width: 88%; margin: 8px 0; padding: 10px 12px; border-radius: 2px; line-height: 1.4; font-size: 15px; }

.bubble.me { margin-left: auto; background: var(--ink); color: var(--bg); border-bottom-right-radius: 4px; }

.bubble.endpoint { background: #141b16; color: var(--text); border-bottom-left-radius: 4px; }

.offer {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin: -2px 0 10px;
}

.offer strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; }

.offer span, .offer em { display: block; color: var(--muted); font-style: normal; margin-top: 3px; font-size: 14px; }

.offer .btn { margin-top: 10px; }

.suggest { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 8px; scrollbar-width: none; }
.suggest::-webkit-scrollbar { display: none; }

.chatbar, .replybar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  margin: 0;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid #2f3336;
  background: #000;
}

.chatbar input, .replybar input {
  flex: 1;
  min-width: 0;
  width: auto;
  border: 0;
  border-radius: 999px;
  background: #202327;
  color: #e7e9ea;
  font: inherit;
  font-size: 15px;
  line-height: 20px;
  padding: 11px 16px;
  outline: none;
}

.chatbar input::placeholder, .replybar input::placeholder { color: #71767b; }

.chatbar button, .replybar button {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #1d9bf0;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 0 16px;
  flex: none;
}

.chatbar button:disabled, .replybar button:disabled { opacity: 0.45; }

.viewer { position: absolute; inset: 0; background: #07080c; color: #f4f0e6; }

.viewer canvas { touch-action: none; }

.viewer-ui { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hslabel { z-index: 1; }

.viewer-ui .back, .viewer-ui .spotcard, .hslabel { pointer-events: auto; }

.viewer-ui .back {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top));
  left: 10px;
  background: rgba(0, 0, 0, 0.35);
}

.viewer-copy {
  position: absolute;
  top: calc(16px + env(safe-area-inset-top));
  left: 56px;
  right: 16px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.viewer-copy strong { display: block; font-size: 16px; }

.viewer-copy span { color: rgba(255, 255, 255, 0.78); font-size: 12px; }

.viewer-hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  margin: 0;
}

.hslabel {
  position: absolute;
  color: white;
  background: transparent;
  border: 0;
  font-size: 14px;
  padding: 2px 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.95);
  white-space: nowrap;
  opacity: 0;
}

.spotcard {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 36px;
  background: rgba(12, 13, 11, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px;
}

.spotcard strong { display: block; margin-bottom: 6px; }

.spotcard p { margin: 0 0 10px; font-family: var(--serif); line-height: 1.4; }

.spotcard .btn.primary { background: var(--live); color: #071008; border-color: var(--live); }

.player-top { padding: 8px 16px 0; }

.playline { display: flex; align-items: center; gap: 12px; margin: 8px 0; }

.play {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
}

.bar {
  flex: 1;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}

.bar i {
  position: absolute;
  left: 0;
  right: 0;
  top: 12px;
  height: 3px;
  background: rgba(228, 242, 234, 0.16);
  border-radius: 3px;
  display: block;
}

.bar b {
  position: absolute;
  left: 0;
  top: 12px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  display: block;
}

.chapter {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 12px 16px;
}

.chapter.on { background: rgba(214, 255, 74, 0.08); }

.chapter b { display: block; font-weight: 560; }

.chapter span { color: var(--muted); font-size: 13px; }

.chapter-body { padding: 4px 16px 20px; }

.toast {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  border-radius: 2px;
  padding: 10px 14px;
  font-size: 13px;
  z-index: 6;
  max-width: 86%;
  text-align: center;
}

.toast[hidden] { display: none; }

.empty { color: var(--muted); padding: 24px 16px; }

.rowline { display: flex; justify-content: space-between; gap: 12px; align-items: center; }

.toggle { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }

.danger {
  margin-top: 22px;
  background: transparent;
  border: 0;
  color: var(--faint);
  padding: 8px 0;
}

.quote {
  display: block;
  width: 100%;
  margin-top: 8px;
  border-left: 2px solid var(--line);
  padding: 2px 0 2px 10px;
}

.quote span { display: block; font-size: 13px; color: var(--muted); }

.quote em { font-family: var(--serif); font-style: normal; font-size: 15px; }

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
  vertical-align: 1px;
}

.city {
  padding: 2px 16px 14px;
  border-bottom: 1px solid var(--line);
}

.city p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }

.city-names { margin-top: 6px !important; }

.city-names button {
  border: 0;
  background: transparent;
  padding: 0 10px 0 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
}

.city .aside { display: block; margin-top: 6px; }

.film, .piece, .linkish, .peek {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
}

.film { display: block; width: 100%; margin-top: 10px; }

.film-still {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #1a2420;
}

.film-still svg { display: block; width: 100%; height: auto; }

.film-time {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.55);
  color: #f6f1e4;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 3px 7px;
  border-radius: 6px;
}

.film-title {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.film-dek {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.4;
}

.player-still { margin: 0 0 14px; }

.piece { display: block; width: 100%; margin-top: 8px; }

.piece-kicker {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.piece-title {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.piece-dek {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.4;
}

.linkish {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue);
  font-size: 14.5px;
}

.peek {
  display: block;
  margin: 8px 0 0 48px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.35;
}

.peek b { color: var(--text); font-weight: 620; }

.foot {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  padding-left: 48px;
}

.card.watch .foot, .card.article .foot, .card.table .foot { padding-left: 48px; }

.foot button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 4px 0;
}

.foot button.meet, .foot button.on { color: var(--text); font-weight: 620; }

.read { padding: 6px 18px 28px; }

.read h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.read .dek {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.4;
}

.read h3 {
  margin: 26px 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.read .prose { font-size: 18px; line-height: 1.45; }

.read .endnote {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.figure { margin: 16px 0 4px; }

.figure svg { display: block; width: 100%; height: auto; border-radius: 0; }

.figure figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.poster { position: relative; background: #121816; }

.poster-hit {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: #121816;
  color: #f6f1e4;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.poster-hit svg { width: 100%; height: min(640px, 78dvh); display: block; }

.poster-hit::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.poster-copy {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 52px;
  text-align: left;
}

.poster-copy b {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 108px;
  letter-spacing: -0.04em;
  line-height: 0.78;
  color: var(--live);
}

.poster-copy strong {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.poster-copy em,
.lead-kicker,
.rules-kicker,
.slash-kicker,
.shortfilm em,
.tableband em,
.piecemark em {
  font-family: var(--mono);
}

.poster-copy em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.poster-piece {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  border: 0;
  background: transparent;
  color: var(--live);
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lead { padding: 26px 18px 18px; }

.lead-kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.lead h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.lead .dek { margin: 14px 0 0; font-size: 17px; line-height: 1.4; }

.lead h3 {
  margin: 22px 0 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
}

.lead .prose { font-size: 18px; line-height: 1.45; }

.continue {
  display: inline-block;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 8px 0 0;
  font-size: 15px;
}

.rules-kicker {
  margin: 26px 18px 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.ruleline {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 14px 18px 16px;
}

.ruleline b {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--live);
}

.ruleline span {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.slash { padding: 22px 18px 18px; border-top: 1px solid var(--line); }

.slash-kicker, .slash-line, .slash-answer {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.slash-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.slash-line {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.slash.long .slash-line { font-size: 20px; line-height: 1.35; font-weight: 450; }

.slash-answer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.shortfilm {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #1c2430;
  color: #f4f0e6;
  padding: 22px 18px 26px;
}

.shortfilm b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 72px;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: var(--live);
}

.shortfilm span {
  display: block;
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.1;
}

.shortfilm em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 13px;
  opacity: 0.75;
}

.tableband {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 22px 18px 24px;
}

.tableband em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.tableband b {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.tableband span { display: block; margin-top: 6px; font-size: 15px; opacity: 0.8; }

.piecemark {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 22px 18px;
  color: inherit;
}

.piecemark em {
  display: block;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.piecemark b {
  display: block;
  margin-top: 6px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

@media (max-width: 960px) {
  .overlay-root.compose-open {
    position: fixed;
    inset: 0;
    z-index: 20;
  }
  .overlay-root.compose-open .sheet.xsheet {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
  }
  html, body {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #000;
    overscroll-behavior: none;
  }
  body { display: block; }
  .phone {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: -webkit-fill-available;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    box-shadow: none;
  }
}

.top.xhome {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 6px 0 0;
}

.xhome-row {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
}

.xhome-avatar { border: 0; background: transparent; padding: 0; }

.xhome-avatar .avatar { width: 32px; height: 32px; font-size: 11px; }

.wordmark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: "Century Gothic", "Avenir Next", Avenir, Futura, "Trebuchet MS", sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 1;
  color: #e7e9ea;
  text-transform: lowercase;
}

.join {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px 24px calc(40px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.join.door {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  justify-content: flex-start;
  padding: 18px 0 0;
  overflow: hidden;
}

.door-top { padding: 8px 24px 0; flex: none; }

.door-first .door-top .wordmark { animation: janta-in 700ms ease both; }

.join-slogan {
  margin: 10px 0 0;
  color: #71767b;
  font-size: 16px;
  line-height: 22px;
}

.door-first .join-slogan { animation: janta-in 800ms 280ms ease both; }

@keyframes janta-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.door-open { animation: janta-in 700ms 180ms ease both; }

.door-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 16px 8px;
}

.door-janta,
.door-me { overflow-wrap: anywhere; }
.door-shot {
  display: block;
  margin-top: 8px;
  max-width: 100%;
  max-height: 180px;
  border-radius: 12px;
}
.door-shot-note { display: block; margin-top: 6px; color: #71767b; }
.gate-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 8px;
}
.gate-preview img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
}
.gate-preview button {
  border: 0;
  background: transparent;
  color: #71767b;
  font: inherit;
  font-size: 18px;
}
#gate-form { padding-left: 8px; }
#gate-form .gate-pic {
  background: transparent;
  color: #e7e9ea;
}

.door-janta,
.how-door {
  width: fit-content;
  max-width: 88%;
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 16px;
  background: #202327;
  color: #e7e9ea;
  font-size: 15px;
  line-height: 20px;
}

.door-me,
.how-me {
  width: fit-content;
  max-width: 85%;
  margin: 8px 0 8px auto;
  padding: 10px 14px;
  border-radius: 18px;
  background: #1d9bf0;
  color: #fff;
  font-size: 15px;
  line-height: 20px;
}

.join-in {
  margin: 0 24px 8px;
  color: #e7e9ea;
  font-weight: 700;
}

.door-form { padding: 0 24px 8px; flex: none; }

.door-again { margin: 0 24px 12px; flex: none; }

.join.door .join-switch {
  flex: none;
  margin: 0;
  padding: 12px 24px calc(16px + env(safe-area-inset-bottom));
}

.how { margin: 8px 0 0; max-height: 220px; overflow: auto; }

.join .wordmark {
  position: static;
  transform: none;
  font-size: 32px;
  margin: 0 0 18px;
}

.join-lead {
  margin: 0 0 16px;
  font-size: 23px;
  font-weight: 800;
}

.auth-in {
  width: 100%;
  display: block;
  margin: 0 0 12px;
  border: 1px solid #2f3336;
  background: #000;
  color: #e7e9ea;
  border-radius: 4px;
  padding: 14px 12px;
  font-size: 16px;
  outline: none;
}

.auth-in.bad { border-color: #ff8d7a; }

.join .btn.primary { width: 100%; height: 44px; margin-top: 4px; }

.join-switch {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: #1d9bf0;
  font-size: 15px;
  text-align: left;
  padding: 8px 0;
}

.xtabs { display: flex; border-bottom: 1px solid #2f3336; }

.xtabs button {
  flex: 1;
  border: 0;
  background: transparent;
  color: #71767b;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 0 12px;
  position: relative;
}

.xtabs button.on { color: #e7e9ea; font-weight: 700; }

.xtabs button.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 4px;
  margin-left: -28px;
  background: #1d9bf0;
  border-radius: 999px;
}

.xpost {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  padding: 12px 16px 6px;
  border-bottom: 1px solid #2f3336;
}

.xavatar, .xname, .xtext, .xmedia, .xcard {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  text-align: left;
}

.xavatar { align-self: start; }

.xavatar .avatar { width: 40px; height: 40px; }

.xhead {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.xname { font-weight: 700; font-size: 15px; color: #e7e9ea; }

.xmeta { color: #71767b; font-size: 15px; }

.xhead .xmeta:first-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.xtext, .xtext.static {
  display: block;
  width: 100%;
  margin: 2px 0 0;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  color: #e7e9ea;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.xactions {
  display: flex;
  justify-content: space-between;
  margin: 8px 0 2px -6px;
  max-width: 100%;
}

.xactions button {
  border: 0;
  background: transparent;
  color: #71767b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  min-height: 32px;
  font-size: 13px;
}

.xactions .on-like { color: #f91880; }
.xactions .on-like svg { fill: #f91880; stroke: #f91880; animation: like-pop 220ms ease; }
@keyframes like-pop {
  0% { transform: scale(0.7); }
  55% { transform: scale(1.28); }
  100% { transform: scale(1); }
}
.xactions .on-repost { color: #00ba7c; }
.xactions .on-repost svg { animation: like-pop 220ms ease; }
.xrepost {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px 28px;
  color: #71767b;
  font-size: 13px;
  font-weight: 700;
}
.xrepost svg { width: 14px; height: 14px; }
.xrepost button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  padding: 0;
}
.xrepost-menu {
  position: absolute;
  z-index: 30;
  min-width: 180px;
  background: #000;
  border: 1px solid #2f3336;
  border-radius: 16px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  padding: 4px 0;
}
.xrepost-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: #e7e9ea;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
}
.xrepost-menu button svg { width: 18px; height: 18px; }
.xrepost-menu button.undo { color: #00ba7c; }
.xquote {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #2f3336;
  border-radius: 16px;
  background: transparent;
  color: #e7e9ea;
  text-align: left;
}
.xquote-who { display: block; font-weight: 700; font-size: 15px; }
.xquote-who em { font-style: normal; color: #71767b; font-weight: 400; }
.xquote-text {
  display: block;
  margin-top: 2px;
  color: #e7e9ea;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.xcompose-body .xquote { margin: 0 16px 12px; width: auto; }
.xactions .on-mark { color: #1d9bf0; }
.xactions .on-mark svg { fill: #1d9bf0; stroke: #1d9bf0; }

.xmedia, .xcard {
  display: block;
  width: 100%;
  margin-top: 12px;
  border: 1px solid #2f3336;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #16181c;
}

.xmedia svg, .xcard-img svg { display: block; width: 100%; height: auto; }

.xcard-img svg { height: 148px; }

.screen.feed { padding-bottom: 72px; }

.xdur {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.xcard-body { display: block; padding: 12px; }

.xcard-domain { display: block; color: #71767b; font-size: 13px; }

.xcard-body strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}

.xcard-body span:last-child {
  display: block;
  margin-top: 2px;
  color: #71767b;
  font-size: 15px;
  line-height: 20px;
}

.fab {
  position: absolute;
  right: 16px;
  bottom: 72px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  z-index: 4;
  display: grid;
  place-items: center;
}

.fab svg { width: 24px; height: 24px; stroke-width: 2.25; }

.xprofile h2,
.read h2,
.hero h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 24px;
}

.xbanner {
  position: relative;
  display: block;
  width: 100%;
  height: 120px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #333639;
  color: #fff;
  text-align: left;
}

button.xbanner { cursor: pointer; }

.xbanner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.xbanner .cam {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 20, 25, 0.75);
  color: #fff;
  display: grid;
  place-items: center;
}

.xprofile-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -42px;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.xprofile-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.xmsg {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #536471;
  background: transparent;
  color: #e7e9ea;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.xmsg svg { width: 18px; height: 18px; }

.xmail { margin-left: auto; position: relative; }

.xmail .pip {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d9bf0;
}

.avatar.photo {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  line-height: 0;
}

.avatar.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  display: block;
}

.xprofile .avbtn,
.xprofile .avatar.lg {
  width: 84px;
  height: 84px;
}

.xprofile .avatar.lg {
  border: 4px solid #000;
  box-sizing: border-box;
}

.avbtn {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 50%;
  line-height: 0;
}

.avbtn .cam {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #000;
  background: rgba(15, 20, 25, 0.75);
  color: #fff;
  display: grid;
  place-items: center;
}

.xprofile h2 { margin: 12px 16px 0; }

.xprofile .xmeta,
.xprofile .xbio,
.xprofile .xloc,
.xprofile .xcounts { display: block; margin: 0 16px; }

.xprofile .xbio { margin-top: 12px; color: #e7e9ea; font-size: 15px; line-height: 20px; }

.xprofile .xloc,
.xprofile .xcounts { margin-top: 12px; color: #71767b; font-size: 15px; }

.xprofile .xcounts span { margin-right: 18px; }
.xprofile .xcounts b { color: #e7e9ea; font-weight: 700; }

.train {
  margin: 8px 16px 4px;
  padding-bottom: 8px;
}

.train h3 {
  margin: 18px 0 4px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.train h3:first-child { margin-top: 4px; }

.train .hint {
  margin: 8px 0 0;
  color: #71767b;
  font-size: 13px;
  line-height: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.train label {
  display: block;
  margin-top: 14px;
  color: #e7e9ea;
  font-size: 15px;
  font-weight: 700;
}

.train textarea,
.train input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: #000;
  color: #e7e9ea;
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  padding: 10px 12px;
}

.train textarea {
  min-height: 68px;
  resize: vertical;
  white-space: pre-wrap;
}

.train textarea[name="endpoint"] {
  max-height: 168px;
  overflow-x: hidden;
  overflow-y: auto;
  resize: none;
}

.train textarea::placeholder,
.train input::placeholder { color: #71767b; font-weight: 400; }

.train textarea:focus,
.train input:focus {
  outline: none;
  border-color: #1d9bf0;
}

.msgrow {
  display: block;
  width: calc(100% - 32px);
  margin: 12px 16px 0;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #e7e9ea;
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
}

.msgrow.quiet {
  color: #71767b;
  font-weight: 600;
  border-top: 0;
  margin-top: 8px;
}

.screen.post,
.screen.dm {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.threadcol {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.dms {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-top: 8px;
}

.dmhead { align-items: center; }

.dmwho {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.dmwho .avatar { width: 32px; height: 32px; font-size: 12px; }

.dmwho-copy { min-width: 0; }

.dmwho-copy strong,
.dmwho-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dmwho-copy strong {
  font-size: 16px;
  font-weight: 800;
  line-height: 20px;
}

.dmwho-copy span {
  color: #71767b;
  font-size: 13px;
  line-height: 16px;
}

.dms .dm {
  width: fit-content;
  max-width: 78%;
  margin: 8px 16px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #2f3336;
  color: #e7e9ea;
  font-size: 15px;
  line-height: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dms .dm.pending { opacity: 0.55; }

.dms .dm.mine {
  margin-left: auto;
  margin-right: 16px;
  background: #1d9bf0;
  color: #fff;
}

.dmbar {
  display: flex;
  gap: 8px;
  flex: none;
  padding: 8px 12px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #2f3336;
}

.dmbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: #202327;
  color: #e7e9ea;
  font: inherit;
  font-size: 15px;
  padding: 10px 14px;
}

.dmbar button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #1d9bf0;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  flex: none;
}

.dmbar button svg { width: 18px; height: 18px; stroke-width: 2; }

.dmbar button:disabled { opacity: 0.45; }

.dmbar button:active { transform: scale(0.92); }

.xuser {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #2f3336;
}

.xuser-hit {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  color: inherit;
}

.xuser-copy { min-width: 0; }

.xuser .xname,
.xuser .xmeta,
.xuser .xbio { display: block; }

.xuser .xname { font-weight: 700; font-size: 15px; }

.xuser .xmeta,
.xuser .xbio { color: #71767b; font-size: 15px; }

.xuser .xbio { color: #e7e9ea; }

.xfollow {
  flex: none;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #eff3f4;
  color: #0f1419;
  font-weight: 700;
  font-size: 14px;
}

.xfollow.on {
  background: transparent;
  color: #e7e9ea;
  border-color: #536471;
}

.sheet.xsheet {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  max-height: none;
  border-radius: 0;
  border-top: 0;
  background: #000;
  overflow: hidden;
}

.xcompose-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  flex: none;
}

.xcancel {
  border: 0;
  background: transparent;
  color: #e7e9ea;
  font-size: 15px;
  padding: 8px;
}

.xpostbtn {
  background: #1d9bf0;
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  height: 32px;
  padding: 0 16px;
}

.xpostbtn:disabled { opacity: 0.5; }

.xcompose-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.xcompose-form {
  display: flex;
  gap: 12px;
  padding: 4px 16px 0;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 0;
}

.xcompose-tools {
  display: flex;
  gap: 4px;
  flex: 0 0 auto;
  align-items: center;
  margin-top: 0;
  border-top: 1px solid #2f3336;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: #000;
}

.xcompose-tools button {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #1d9bf0;
  display: grid;
  place-items: center;
  padding: 0;
  flex: 0 0 48px;
}

.xcompose-tools input {
  display: none;
}

.xcompose-tools svg {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  display: block;
}

.xpreview {
  position: relative;
  margin: 4px 16px 0 68px;
  border: 1px solid #2f3336;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.xpreview img,
.xpreview video,
.xmedia img,
.xmedia video {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  background: #000;
}

.xclear {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.xvideo .xdur { top: 8px; bottom: auto; }

.xcompose-field {
  flex: 1 1 auto;
  min-height: 140px;
  height: auto;
  border: 0;
  background: transparent;
  resize: none;
  outline: none;
  font-size: 20px;
  line-height: 24px;
  padding: 12px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.replybar button {
  background: #1d9bf0;
  color: #fff;
}

.filters button, .suggest button {
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
  border-radius: 999px;
}

.filters button.on {
  background: #e7e9ea;
  color: #0f1419;
  border-color: #e7e9ea;
}

.screentitle {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.screen {
  scrollbar-width: none;
}

.screen::-webkit-scrollbar { display: none; }

.top,
.nav {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(140%) blur(16px);
  border-color: rgba(255, 255, 255, 0.08);
}

.top.xhome { border-bottom: 0; }

.nav button,
.xtabs button,
.xfollow,
.fab,
.xpostbtn,
.xactions button,
.xactions svg {
  transition: color 180ms ease, background 180ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms ease, fill 180ms ease, stroke 180ms ease;
}

.nav button:active,
.fab:active,
.xpostbtn:active:not(:disabled) {
  transform: scale(0.94);
}

.fab {
  box-shadow: 0 8px 24px rgba(29, 155, 240, 0.28);
}

.xtabs { border-bottom-color: rgba(255, 255, 255, 0.08); }

.xtabs button.on::after {
  transition: width 200ms ease;
}

.avatar {
  font-weight: 700;
  letter-spacing: 0;
}

.xpost {
  gap: 12px;
  padding: 14px 16px 8px;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.xpost:active { background: rgba(255, 255, 255, 0.03); }

.xhead {
  flex-wrap: nowrap;
  align-items: center;
}

.xname,
.xhead .xmeta:first-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.xtext,
.xtext.static {
  line-height: 21px;
  margin-top: 3px;
}

.xactions {
  margin-top: 6px;
  max-width: 340px;
}

.xactions button {
  justify-content: flex-start;
  min-width: 0;
  flex: 1;
  border-radius: 999px;
  padding: 0 2px;
}

.xactions button:active { background: rgba(29, 155, 240, 0.12); color: #1d9bf0; }
.xactions button:nth-child(2):active { background: rgba(0, 186, 124, 0.12); color: #00ba7c; }
.xactions button:nth-child(3):active { background: rgba(249, 24, 128, 0.12); color: #f91880; }
.xactions button:nth-child(5):active { background: rgba(29, 155, 240, 0.12); color: #1d9bf0; }

.xactions .xview {
  color: #71767b;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  min-height: 32px;
  padding: 0 2px;
  font-size: 13px;
}

.xviewline {
  margin: 12px 0 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #71767b;
  font-size: 15px;
  line-height: 20px;
}

.xviewline b { color: #e7e9ea; font-weight: 700; }

.xmedia,
.xcard {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.xuser { border-bottom-color: rgba(255, 255, 255, 0.08); }

button.xuser {
  width: 100%;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.scrim { animation: interstar-fade 200ms ease; }

.sheet.xsheet { animation: interstar-rise 280ms cubic-bezier(0.2, 0.8, 0.2, 1); }

.toast {
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0;
  animation: interstar-fade 200ms ease;
}

.auth-in {
  border-radius: 12px;
  background: #000;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-in:focus {
  border-color: #1d9bf0;
  box-shadow: 0 0 0 1px #1d9bf0;
}

.xcompose-field::placeholder { color: #71767b; }

.filters button {
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

@keyframes interstar-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes interstar-rise {
  from { transform: translateY(28px); }
  to { transform: none; }
}

.langdoor {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding: 24px 28px calc(28px + env(safe-area-inset-bottom));
}
.langdoor .btn {
  min-height: 52px;
  border-radius: 999px;
  font-size: 17px;
}
.langswitch {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.langswitch button {
  flex: 1;
  min-height: 40px;
  border: 1px solid #2f3336;
  border-radius: 999px;
  background: transparent;
  color: #e7e9ea;
  font: inherit;
  font-size: 15px;
}
.langswitch button.on {
  background: #eff3f4;
  color: #0f1419;
  border-color: #eff3f4;
}

@media (prefers-reduced-motion: reduce) {
  .scrim,
  .sheet.xsheet,
  .toast,
  .nav button,
  .fab,
  .xactions button,
  .xactions svg {
    animation: none;
    transition: none;
  }
}
