:root {
  color-scheme: light;
  --paper: #ffffff;
  --white: #fff;
  --ink: #0f1419;
  --muted: #536471;
  --sub: #536471;
  --line: #eff3f4;
  --tint: #e8f5fd;
  --pill: #e8f5fd;
  --blue: #1d9bf0;
  --accent: #1d9bf0;
  --shadow: 0 15px 45px #0f141914;
  --sans:
    Arial,
    'Helvetica Neue',
    Helvetica,
    -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select {
  font: inherit;
}
button, a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.58;
}
button:focus-visible, a:focus-visible, textarea:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #1d9bf0;
  outline-offset: 3px;
}
a {
  color: var(--blue);
}
h1, h2, h3, p {
  margin: 0;
}
h1, h2, h3 {
  line-height: 1.4;
}
button svg {
  flex: none;
}
main {
  min-width: 0;
  min-height: 100dvh;
  background: var(--white);
  border-inline: 1px solid var(--line);
}
.shell {
  max-width: 1360px;
  min-height: 100dvh;
  margin: auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 314px;
}
.side {
  height: 100dvh;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  padding: 38px 19px 24px 18px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: start;
  padding: 0 9px;
  color: var(--blue);
  text-decoration: none;
}
.brand img {
  width: 42px;
  height: 42px;
}
.brand strong {
  font-size: 30px;
  letter-spacing: 0.025em;
  font-family: var(--sans);
  font-weight: 800;
}
.nav {
  display: grid;
  gap: 5px;
  margin-top: 47px;
}
.nav .nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 560;
  border-radius: 10px;
  text-align: left;
  letter-spacing: 0.025em;
  color: #0f1419;
  min-height: 48px;
}
.nav .nav-item:hover,
.profile:hover,
.book-short:hover,
.ghost:hover,
.icon-btn:hover,
.chip-btn:hover,
.mobile-brand:hover,
.source-button:hover {
  background: var(--tint);
}
.nav-item.active {
  background: #e8f5fd;
  color: #1d9bf0;
  font-weight: 680;
}
.nav-item.active .ico {
  stroke-width: 2;
}
.profile {
  margin-top: auto;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 6px 4px;
  width: 100%;
  text-align: left;
}
.profile strong, .profile small {
  display: block;
}
.profile strong {
  font-size: 14px;
}
.profile small {
  font-size: 12px;
  color: var(--sub);
  margin-top: 3px;
}
.profile .ico:last-child {
  margin-left: auto;
}
.user-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f7f9f9;
  display: grid;
  place-items: center;
  color: #536471;
}
.rail {
  padding: 30px 18px 40px 25px;
  min-width: 0;
}
.rail-stack {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 24px;
}
.right-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 19px 17px;
}
.right-title, .section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.right-title h2 {
  font-family: var(--sans);
  font-size: 19px;
  letter-spacing: 0.035em;
}
.right-title {
  margin-bottom: 12px;
}
.right-title .text-btn {
  font-size: 12px;
}
.right-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.book-short {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 3px;
  text-align: left;
  border-radius: 8px;
}
.book-short div {
  min-width: 0;
}
.book-short strong, .book-short small {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.book-short strong {
  font-size: 14px;
  font-weight: 650;
}
.book-short small {
  margin-top: 3px;
  color: var(--sub);
  font-size: 12px;
}
.book-short .ico:last-child {
  margin-left: auto;
  color: #536471;
}
.right-card .book-short:last-child {
  margin-bottom: -4px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0;
}
.tag, .chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  background: var(--pill);
  color: #0f1419;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 540;
  line-height: 1.4;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.search-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  width: 100%;
  color: var(--sub);
  font-size: 13px;
  border-radius: 24px;
  text-align: left;
  background: white;
}
.search-strip:hover {
  border-color: #cfd9de;
}
.search-strip kbd {
  margin-left: auto;
  color: #536471;
  display: grid;
  place-items: center;
  background: #f7f9f9;
  border: 1px solid var(--line);
  height: 19px;
  width: 19px;
  border-radius: 5px;
  font-family: inherit;
}
.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 29px;
  border-bottom: 1px solid var(--line);
  background: #ffffffed;
}
.topbar h1 {
  font-size: 21px;
  letter-spacing: 0.04em;
  font-weight: 680;
}
.tools, .row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn, .square {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #536471;
}
.icon-btn:disabled svg {
  animation: spin 1.2s linear infinite;
}
.primary, .secondary, .ghost, .text-btn, .danger, .pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 590;
  line-height: 1.45;
}
.primary, .secondary, .ghost, .danger {
  padding: 10px 15px;
  min-height: 40px;
}
.primary {
  background: var(--blue);
  color: white;
}
.primary:hover {
  background: #1a8cd8;
}
.secondary {
  border: 1px solid #eff3f4;
  background: white;
  color: var(--blue);
}
.secondary:hover {
  background: var(--tint);
}
.text-btn {
  padding: 4px 2px;
  color: var(--blue);
  font-weight: 550;
}
.text-btn:hover {
  text-decoration: underline;
}
.pill-button {
  border-radius: 22px;
  padding: 7px 13px;
  background: #e8f5fd;
  color: #1d9bf0;
  font-size: 12px;
  min-height: 33px;
}
.pill-button:hover {
  background: #e8f5fd;
}
.feedbar {
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  padding: 0 29px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
}
.tab, .tab-current {
  padding: 10px 0 12px;
  position: relative;
  font-size: 14px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tab-current:after {
  content: '';
  position: absolute;
  height: 3px;
  background: var(--blue);
  bottom: -1px;
  left: 0;
  right: 0;
  border-radius: 2px 2px 0 0;
}
.feedbar .text-btn {
  color: var(--sub);
  font-size: 12px;
}
.post {
  padding: 21px 27px 16px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  gap: 13px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.avatar {
  width: 43px;
  height: 43px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--av-ink);
  background-color: var(--av-bg);
  background-image: repeating-linear-gradient(
    var(--angle, 35deg),
    transparent 0 6px,
    var(--av-line) 6px 6.65px
  );
  box-shadow: inset 0 0 0 1px #0000000c;
  overflow: hidden;
}
.avatar span {
  display: block;
  padding: 3px 2px;
  font-size: 14px;
  line-height: 1;
  font-weight: 690;
  letter-spacing: -0.045em;
  font-family: var(--sans);
}
.avatar.small {
  width: 35px;
  height: 35px;
}
.avatar.small span {
  font-size: 12px;
}
.byline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-height: 23px;
  flex-wrap: wrap;
}
.author {
  padding: 0;
  text-align: left;
  color: var(--ink);
  font-weight: 680;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.author:hover {
  text-decoration: underline;
}
.byline .kind, .byline time {
  font-size: 12px;
  color: var(--sub);
}
.dot {
  font-size: 10px;
  color: #536471;
}
.post-body {
  font-size: 15px;
  line-height: 1.85;
  margin-top: 5px;
  white-space: pre-line;
  overflow-wrap: anywhere;
  letter-spacing: 0.015em;
}
.post-heading {
  font-size: 16px;
  font-weight: 670;
  margin: 4px 0;
}
.source-button {
  border: 1px solid #eff3f4;
  border-radius: 7px;
  background: #f7f9f9;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  text-align: left;
  color: #536471;
  font-size: 12px;
  line-height: 1.5;
  margin: 11px 0 5px;
  padding: 5px 8px;
}
.source-button .source-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.source-button .ico {
  width: 14px;
  height: 14px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 7px;
}
.action {
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 3px;
  color: #536471;
  min-height: 30px;
}
.action:hover, .action.on {
  color: var(--blue);
}
.action.on .ico {
  fill: #e8f5fd;
  stroke-width: 2;
}
.action.like.on {
  color: #f91880;
}
.action.like.on .ico {
  fill: #fce0eb;
}
.scroll-end, .loading {
  padding: 18px 24px;
  text-align: center;
  color: var(--sub);
  font-size: 13px;
}
.more {
  padding: 16px 20px;
  text-align: center;
}
.mobile-brand, .mobile-only, .bottom-nav {
  display: none;
}
.page-pad {
  padding: 25px 27px;
}
.empty {
  padding: 45px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
}
.empty .empty-icon {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--tint);
}
.empty h3 {
  font-size: 17px;
  color: var(--ink);
}
.empty p {
  font-size: 14px;
  line-height: 1.75;
  max-width: 38ch;
}
.intro {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 18px;
}
.section-line h2 {
  font-size: 16px;
}
.section-line {
  margin-bottom: 15px;
}
.library-list {
  display: grid;
  gap: 10px;
}
.library-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  min-width: 0;
}
.library-item .info {
  flex: 1;
  min-width: 0;
}
.library-item .info h3 {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.library-item .info p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--sub);
  overflow-wrap: anywhere;
}
.book-settings {
  display: grid;
  gap: 2px;
}
.toggle {
  justify-content: space-between;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
}
.toggle i {
  display: block;
  position: relative;
  width: 33px;
  height: 20px;
  border-radius: 12px;
  background: #eff3f4;
}
.toggle i:after {
  content: '';
  width: 14px;
  height: 14px;
  position: absolute;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #0002;
}
.toggle[aria-checked='true'] i {
  background: #1d9bf0;
}
.toggle[aria-checked='true'] i:after {
  left: 16px;
}
.assist-banner {
  background: #f7f9f9;
  border: 1px solid #eff3f4;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}
.assist-banner p, .form-note {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
form .form-note {
  margin: 8px 0;
}
.field {
  display: block;
  font-size: 14px;
  font-weight: 620;
  margin: 14px 0;
}
.field small {
  display: block;
  color: var(--sub);
  font-size: 12px;
  font-weight: 430;
  line-height: 1.7;
  margin: 5px 0;
}
.field input, .field textarea, .field select, .field-control {
  display: block;
  margin-top: 6px;
  width: 100%;
  border: 1px solid #eff3f4;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 430;
  line-height: 1.55;
}
.field textarea {
  min-height: 95px;
  resize: vertical;
}
.question-card, .answer, .evidence, .results-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
}
.question-card textarea {
  min-height: 90px;
}
.answer h3, .evidence h3 {
  font-size: 15px;
}
.answer p, .evidence p, .dialog-prose {
  white-space: pre-line;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.85;
  margin: 10px 0;
}
.cap {
  font-size: 12px;
  color: var(--sub);
  font-weight: 540;
}
.citation {
  display: block;
  margin: 8px 0 3px;
  text-align: left;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.tools-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tools-wrap .secondary {
  min-height: 34px;
  padding: 6px 10px;
  font-size: 13px;
}
.page-title {
  font-size: 19px;
  margin: 0 0 13px;
}
.hint {
  color: var(--sub);
  font-size: 12px;
  line-height: 1.8;
}
.empty p a, .hint a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.search-form {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.search-form .field {
  flex: 1;
  min-width: 0;
  margin: 0;
}
.search-form input, .search-form .primary {
  height: 44px;
}
.search-form .primary {
  padding: 0 18px;
  margin: 0;
}
.search-help {
  padding: 0 20px;
  color: var(--sub);
}
.search-active .topbar [data-act='search'], .search-active .rail .search-strip {
  display: none;
}
@media (min-width: 551px) {
  .topbar .pill-button {
    display: none;
  }
}
.filter-strip {
  padding: 9px 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: #f7f9f9;
  font-size: 13px;
  color: var(--muted);
}
.filter-strip button {
  margin-left: auto;
}
.clear-chip {
  padding: 3px 6px;
  font-size: 12px;
  text-decoration: underline;
  color: var(--blue);
}
.switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  overflow: auto;
}
.switcher button {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 12px;
  white-space: nowrap;
  font-size: 13px;
}
.switcher button.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.dialog-content {
  padding: 25px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}
.dialog-head h2 {
  font-size: 21px;
}
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}
.dialog-note {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
dialog {
  color: var(--ink);
  width: min(510px, calc(100% - 28px));
  max-height: 85dvh;
  overflow: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow);
  background: var(--white);
}
dialog::backdrop {
  background: #0f141965;
  backdrop-filter: blur(3px);
}
.dialog-head .icon-btn {
  background: #f7f9f9;
  width: 31px;
  height: 31px;
}
.blockquote {
  border-left: 3px solid #cfd9de;
  color: #0f1419;
  padding: 0 0 0 13px;
  line-height: 1.85;
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin: 14px 0 17px;
  font-size: 14px;
}
.dialog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--sub);
  flex-wrap: wrap;
}
.inline-error {
  color: #f4212e;
  font-size: 13px;
  line-height: 1.6;
  margin: 9px 0;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  z-index: 12;
  background: #1d9bf0;
  color: white;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 10px 17px;
  max-width: min(92vw, 520px);
  width: max-content;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  pointer-events: none;
  opacity: 0;
  transition: 0.16s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.skip {
  position: fixed;
  z-index: 50;
  left: 8px;
  top: -70px;
  padding: 10px;
  background: white;
  border: 2px solid var(--blue);
}
.skip:focus {
  top: 8px;
}
.boot {
  padding: 20px;
  color: var(--muted);
}
.file-input {
  font-size: 13px !important;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.right-foot {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #536471;
  font-size: 11px;
  line-height: 1.6;
  padding: 0 3px;
}
.mono {
  font-family: ui-monospace, monospace;
}
.status-line {
  font-size: 12px;
  line-height: 1.7;
  color: var(--sub);
  overflow-wrap: anywhere;
  padding-top: 5px;
}
.deep-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}
.wrap {
  overflow-wrap: anywhere;
}
.stack {
  display: grid;
  gap: 9px;
}
.inset {
  background: var(--tint);
  padding: 12px;
  border-radius: 8px;
}
.form-load {
  display: inline-block;
  vertical-align: middle;
  width: 14px;
  height: 14px;
  border: 2px solid #b6e5ff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.private-error {
  background: #fff8ec;
  border: 1px solid #ebd5ad;
  padding: 10px 14px;
  border-radius: 9px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.7;
}
.profile-name {
  flex: 1;
  min-width: 0;
}
.profile-name small {
  white-space: normal;
}
.qa-ask-label {
  font-size: 16px;
}
.reader-tag {
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--sub);
  border-radius: 15px;
  padding: 3px 8px;
}
.spacer {
  flex: 1;
}
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 10px;
}
.upload-grid .field {
  min-width: 0;
}
.import-details {
  font-size: 13px;
  line-height: 1.8;
  margin: 7px 0;
}
.import-details summary {
  color: var(--blue);
  cursor: pointer;
}
.import-row {
  border-top: 1px solid var(--line);
  padding: 8px 0;
  overflow-wrap: anywhere;
}
.import-tip {
  font-size: 12px;
  color: var(--sub);
  line-height: 1.7;
}
.sources-list {
  margin-top: 12px;
  max-height: 42vh;
  overflow: auto;
}
.line-only {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.skeleton {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--sub);
  font-size: 13px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1450px) {
  .shell {
    max-width: 1400px;
    grid-template-columns: 235px minmax(0, 1fr) 335px;
  }
  .rail {
    padding-left: 30px;
    padding-right: 22px;
  }
  .side {
    padding-right: 24px;
  }
  .post {
    padding: 23px 31px 18px;
  }
}
@media (max-width: 1130px) {
  .shell {
    grid-template-columns: 167px minmax(0, 1fr) 251px;
  }
  .side {
    padding: 29px 12px 18px;
  }
  .rail {
    padding: 24px 11px 28px 14px;
  }
  .right-card {
    padding: 15px 13px;
  }
  .post {
    padding: 19px 21px 14px;
  }
  .nav .nav-item {
    gap: 10px;
    padding: 12px 10px;
  }
  .brand {
    padding: 0 5px;
  }
  .profile {
    gap: 6px;
  }
  .topbar {
    padding-inline: 22px;
  }
  .feedbar {
    padding-inline: 22px;
  }
  .right-title h2 {
    font-size: 17px;
  }
}
@media (max-width: 940px) {
  .shell {
    grid-template-columns: 79px minmax(0, 1fr) 245px;
  }
  .side {
    align-items: center;
  }
  .brand {
    padding: 0;
  }
  .brand div, .nav-label, .profile-name, .profile > .ico:last-child {
    display: none;
  }
  .nav {
    margin-top: 36px;
    width: 100%;
  }
  .nav .nav-item {
    justify-content: center;
  }
  .profile {
    justify-content: center;
  }
  .rail {
    padding-left: 12px;
  }
}
@media (max-width: 765px) {
  .shell {
    grid-template-columns: 76px minmax(0, 1fr);
    max-width: 730px;
  }
  .rail {
    display: none;
  }
  .mobile-only {
    display: inline-grid;
  }
  .side {
    border-right: 0;
  }
  .post {
    padding: 20px 24px 14px;
  }
  .tools .reader-tag {
    display: none;
  }
}
@media (max-width: 550px) {
  body {
    background: #fff;
  }
  .shell {
    display: block;
  }
  .side {
    display: none;
  }
  main {
    border: 0;
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }
  .topbar {
    min-height: 61px;
    padding: 8px 15px;
  }
  .topbar h1 {
    font-size: 18px;
    letter-spacing: 0.025em;
  }
  .head-start {
    display: flex;
    align-items: center;
    gap: 9px;
  }
  .mobile-brand {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    padding: 0;
    color: var(--blue);
  }
  .mobile-brand img {
    width: 100%;
    height: 100%;
  }
  .tools {
    gap: 2px;
  }
  .feedbar {
    padding: 0 17px;
    min-height: 44px;
  }
  .post {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 9px;
    padding: 16px 14px 10px;
  }
  .avatar {
    width: 36px;
    height: 36px;
  }
  .avatar span {
    font-size: 12px;
  }
  .byline {
    gap: 6px;
    min-height: 19px;
  }
  .author {
    font-size: 14px;
  }
  .byline .kind, .byline time {
    font-size: 11px;
  }
  .post-body {
    font-size: 15px;
    line-height: 1.75;
  }
  .post-heading {
    font-size: 15px;
  }
  .actions {
    gap: 22px;
  }
  .bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    border-top: 1px solid var(--line);
    background: #fffffff5;
    backdrop-filter: blur(10px);
    padding: 4px 5px calc(4px + env(safe-area-inset-bottom));
    min-height: 57px;
  }
  .bottom-nav button {
    display: grid;
    gap: 2px;
    justify-items: center;
    align-content: center;
    min-width: 50px;
    font-size: 10px;
    min-height: 42px;
    border-radius: 8px;
    color: #536471;
  }
  .bottom-nav button.active {
    color: var(--blue);
    background: #e8f5fd;
  }
  .bottom-nav button.active .ico {
    stroke-width: 2;
  }
  .toast {
    bottom: calc(70px + env(safe-area-inset-bottom));
  }
  .page-pad {
    padding: 18px 14px;
  }
  .dialog-content {
    padding: 19px;
  }
  .filter-strip {
    padding-inline: 15px;
  }
  .pill-button {
    padding: 7px 10px;
    font-size: 12px;
  }

  .assist-banner {
    align-items: flex-start;
  }
  .library-list .library-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }
  .book-settings {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    padding-top: 4px;
    border-top: 1px solid var(--line);
  }
  .book-settings .toggle {
    min-height: 40px;
  }
  .reader-tag {
    display: none;
  }
  .library-item {
    padding: 12px 10px;
    gap: 9px;
  }
  .upload-grid {
    grid-template-columns: 1fr;
  }
  .dialog-head h2 {
    font-size: 19px;
  }
  .right-title h2 {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.visual {
  margin: 12px 0 5px;
  padding: 12px 15px;
  background: linear-gradient(120deg, #e8f5fd, #e8f5fd);
  border: 1px solid #e8f5fd;
  border-radius: 9px;
}
.visual figcaption {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #0f1419;
}
.visual ol {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 11px 0 2px;
  padding: 0;
}
.visual li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #0f1419;
  font-weight: 620;
}
.visual li:not(:last-child):after {
  content: '→';
  color: #536471;
  font-weight: 500;
}
.visual li span {
  background: #ffffffb0;
  border: 1px solid #eff3f4;
  padding: 4px 9px;
  border-radius: 5px;
}
.media-card {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f7f9f9;
  margin: 11px 0 4px;
  padding: 12px;
  text-decoration: none;
  text-align: left;
}
.media-card:hover {
  border-color: #cfd9de;
}
.media-card strong, .media-card small {
  display: block;
  overflow-wrap: anywhere;
}
.media-card strong {
  font-size: 13px;
}
.media-card small {
  margin-top: 3px;
  color: var(--sub);
  font-size: 11px;
}
.media-card > .ico:last-child {
  margin-left: auto;
  color: var(--sub);
}
.play-mark {
  background: #083b60;
  color: white;
  display: grid;
  place-items: center;
  width: 41px;
  height: 34px;
  flex: none;
  border-radius: 6px;
  font-size: 13px;
}
.media-img {
  display: block;
  border-radius: 9px;
  max-height: 340px;
  max-width: 100%;
  margin: 10px auto;
}
.action {
  min-height: 34px;
}
.thread-op {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  margin: 12px 0;
}
.comment {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.comment p {
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 5px;
}
.comment .row {
  justify-content: space-between;
}
.comment time {
  font-size: 11px;
  color: var(--sub);
}
.comment .text-btn {
  font-size: 12px;
  color: var(--muted);
}
.comment-author {
  font-size: 13px;
  font-weight: 650;
}
.actions {
  justify-content: space-between;
  max-width: 365px;
  gap: 6px;
}
.action:last-child {
  margin-left: 5px;
}
.post .avatar {
  margin-top: 1px;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1.6;
  font-size: 13px;
}
.check-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0;
}
.repair-hint {
  margin-top: 9px;
}
@media (max-width: 550px) {
  .action {
    font-size: 11px;
    gap: 4px;
  }
  .action .ico {
    width: 16px;
    height: 16px;
  }
  .visual {
    padding: 10px;
  }
  .visual ol, .visual li {
    gap: 4px;
  }
  .visual li span {
    padding: 3px 6px;
  }
  .visual li {
    font-size: 12px;
  }
  .media-card {
    padding: 9px;
    gap: 8px;
  }
  .actions {
    max-width: 325px;
  }
}
.avatar-button {
  align-self: start;
  padding: 0;
  border-radius: 50%;
  line-height: 0;
}
.portrait-holder {
  position: relative;
  display: inline-grid;
  flex: none;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  overflow: hidden;
}
.portrait-holder.small {
  width: 35px;
  height: 35px;
}
.portrait-holder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-cover {
  height: 155px;
  background-color: #1d9bf0;
  background-image:
    repeating-radial-gradient(ellipse at 70% 135%, #d5e7a748 0 1px, transparent 1.8px 9px),
    linear-gradient(120deg, #083b60, #6b855a);
  position: relative;
  overflow: hidden;
}
.profile-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-back {
  position: absolute;
  top: 13px;
  left: 15px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #0f1419b0;
  border-radius: 50%;
  color: white;
}
.profile-info {
  padding: 0 24px 14px;
}
.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid white;
  background: white;
  position: relative;
  margin-top: -38px;
  overflow: hidden;
}
.profile-avatar .avatar, .profile-avatar .portrait-holder {
  width: 100%;
  height: 100%;
}
.profile-avatar .avatar span {
  font-size: 25px;
}
.profile-info h2 {
  font-size: 22px;
  margin: 6px 0;
}
.profile-info p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.profile-links {
  display: flex;
  align-items: center;
  gap: 15px;
}
.profile-links .text-btn, .profile-links .source-link {
  font-size: 12px;
}
.book-short .portrait-holder .avatar {
  width: 100%;
  height: 100%;
}
@media (max-width: 550px) {
  .portrait-holder {
    width: 36px;
    height: 36px;
  }
  .profile-cover {
    height: 125px;
  }
  .profile-info {
    padding-inline: 16px;
  }
  .profile-avatar {
    width: 69px;
    height: 69px;
    margin-top: -32px;
  }
}
.store-stats {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #f7f9f9;
}
.store-stats > div {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.store-stats strong {
  font-size: 24px;
  color: var(--blue);
  font-family: var(--sans);
}
.store-stats span {
  font-size: 12px;
  color: var(--sub);
}
@media (max-width: 450px) {
  .feedbar .row {
    gap: 8px;
  }
  .store-stats > div {
    display: grid;
    gap: 1px;
  }
}
.pending-slot {
  position: sticky;
  top: 9px;
  background: white;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 3;
}
.pending-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px 6px 10px;
  min-height: 34px;
  margin: 5px 0;
  color: white;
  border-radius: 22px;
  box-shadow: 0 3px 14px #0f141940;
  background: #1d9bf0;
  font-size: 13px;
  font-weight: 600;
}
.pending-up {
  font-weight: 700;
}
.pending-faces {
  display: flex;
  align-items: center;
}
.pending-button .pending-faces > .avatar, .pending-button .pending-faces > .portrait-holder {
  width: 22px;
  height: 22px;
  margin-left: -5px;
  border: 1.5px solid #1d9bf0;
}
.pending-faces > .avatar:first-child, .pending-faces > .portrait-holder:first-child {
  margin: 0;
}
.pending-faces .avatar span {
  font-size: 9px;
}
.pending-faces .portrait-holder .avatar {
  width: 100%;
  height: 100%;
}
.people-match {
  padding: 0 25px 14px;
}
.people-match h2 {
  font-size: 15px;
  margin: 0 0 6px;
}
.people-match .book-short {
  max-width: 540px;
  padding: 8px;
}
.people-match .book-short div {
  flex: 1;
}
.dialog-content .hint {
  overflow-wrap: anywhere;
}
.post-body {
  margin-bottom: 0;
  user-select: text;
  -webkit-user-select: text;
}
.ai-illustration {
  margin: 9px 0 6px;
}
.illustration-image {
  display: block;
  padding: 0;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.illustration-image img {
  display: block;
  width: 100%;
  height: auto;
}
.ai-illustration figcaption {
  font-size: 12px;
  color: var(--sub);
  margin-top: 4px;
}
.post-time {
  padding: 0;
  line-height: inherit;
  color: var(--sub);
}
.post-time:hover {
  text-decoration: underline;
}
.public-person {
  width: 100%;
  text-align: left;
  min-height: 52px;
}
.public-person div {
  flex: 1;
  min-width: 0;
}
.people-directory {
  display: grid;
  gap: 4px;
}
.key-help {
  margin: 12px 0;
  color: var(--sub);
  font-size: 13px;
  line-height: 1.6;
}
.key-help summary {
  cursor: pointer;
  color: var(--ink);
}
.command-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  padding: 9px;
  background: #f7f9f9;
  border-radius: 8px;
  align-items: center;
}
.command-copy code {
  overflow-wrap: anywhere;
  user-select: all;
}
.answer-wait {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #e8f5fd;
  border-radius: 8px;
  padding: 12px 13px;
  margin: 13px 0;
  color: var(--blue);
}
.answer-wait > .form-load {
  flex: none;
  margin-top: 4px;
}
.answer-wait > div {
  flex: 1;
}
.answer-wait strong, .answer-wait small {
  display: block;
  line-height: 1.65;
}
.answer-wait strong {
  font-size: 13px;
}
.answer-wait small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.answer-wait .text-btn {
  font-size: 12px;
  padding: 2px 0;
  white-space: nowrap;
}
.answer-citation {
  margin-top: 9px;
}
.cite-preview {
  margin: 4px 0 9px 5px;
  padding: 3px 10px;
  border-left: 2px solid #eff3f4;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.photo-credits {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 3px;
}
.photo-credits .source-link {
  font-size: 11px;
  gap: 3px;
  color: var(--sub);
}
.profile-links {
  flex-wrap: wrap;
}
.source-byline {
  margin: 4px 0 10px;
}
/* Classic light timeline layout. */
.shell {
  width: min(100%, 1230px);
  max-width: none;
  grid-template-columns: 250px minmax(0, 600px) minmax(0, 380px);
}
.side {
  padding: 8px 24px 14px 4px;
  align-items: flex-start;
}
.brand {
  gap: 11px;
  align-self: flex-start;
  min-height: 49px;
  padding: 6px 12px;
  border-radius: 30px;
  color: var(--ink);
}
.brand:hover {
  background: #e8f5fd;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 750;
}
.nav {
  align-items: start;
  justify-items: start;
  width: 100%;
  gap: 3px;
  margin-top: 9px;
}
.nav .nav-item {
  align-items: center;
  gap: 17px;
  padding: 11px 15px;
  border-radius: 999px;
  min-height: 48px;
  font-size: 20px;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--ink);
}
.nav .nav-item:hover, .nav .nav-item.active:hover, .profile:hover {
  background: #eff3f4;
}
.nav .nav-item.active {
  color: var(--ink);
  font-weight: 750;
  background: transparent;
}
.nav .nav-item.active .ico {
  stroke-width: 2.2;
}
.nav .nav-item.active[data-nav='timeline'] .ico {
  fill: currentColor;
}
.compose-button {
  margin: 19px 0 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(100%, 210px);
  min-height: 51px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-size: 17px;
  font-weight: 700;
}
.compose-button .ico {
  display: none;
}
.compose-button:hover, .primary:hover, .pill-button:hover, .pending-button:hover {
  background: #1a8cd8;
}
.profile {
  border: 0;
  border-radius: 36px;
  min-height: 59px;
  padding: 9px 10px;
  width: 100%;
  margin: auto 0 0;
  text-align: left;
}
.user-mark {
  width: 40px;
  height: 40px;
  background: #cfd9de;
  color: white;
}
.profile strong {
  font-size: 15px;
}
.profile small {
  margin-top: 1px;
  font-size: 14px;
}
.ellipsis {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sub);
}
.rail {
  padding: 6px 2px 30px 30px;
}
.rail-stack {
  gap: 16px;
  top: 6px;
}
.search-strip {
  min-height: 45px;
  background: #eff3f4;
  border-color: transparent;
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 999px;
}
.search-strip:hover {
  background: #e7ecee;
}
.search-strip kbd {
  background: transparent;
  border-color: #cfd9de;
}
.right-card {
  background: #f7f9f9;
  border: 0;
  border-radius: 16px;
  padding: 14px 16px 16px;
}
.right-title h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.right-title {
  margin-bottom: 9px;
}
.right-title .text-btn {
  font-size: 13px;
}
.right-card p {
  font-size: 14px;
}
.book-short {
  gap: 10px;
  padding: 11px 0;
  border-radius: 0;
}
.book-short:hover {
  background: #eff3f4;
}
.book-short div {
  flex: 1;
}
.book-short strong {
  font-size: 15px;
  font-weight: 700;
}
.book-short small {
  font-size: 13px;
  margin-top: 2px;
}
.profile-pill {
  padding: 6px 13px;
  border-radius: 999px;
  background: #0f1419;
  color: white;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.right-foot {
  font-size: 12px;
  padding-inline: 10px;
}
.tag, .chip {
  background: #e8f5fd;
  color: #0068a5;
}
.tags {
  margin: 9px 0;
}
.topbar, .home-timeline .topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  min-height: 53px;
  padding: 7px 16px;
  background: #ffffffef;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.home-timeline .topbar {
  border-bottom: none;
}
.topbar h1 {
  font-size: 20px;
  font-weight: 760;
  letter-spacing: 0;
}
.head-start {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar .tools {
  gap: 7px;
}
.head-start .mobile-brand {
  display: none;
}
.pill-button {
  color: white;
  background: var(--blue);
  font-weight: 700;
  border-radius: 99px;
  padding: 5px 14px;
  min-height: 32px;
  font-size: 13px;
}
.primary {
  background: var(--blue);
  border-radius: 999px;
}
.secondary, .ghost, .danger {
  border-radius: 999px;
}
.secondary {
  color: var(--ink);
  border-color: #cfd9de;
}
.icon-btn {
  color: var(--ink);
}
.icon-btn:hover {
  color: var(--blue);
  background: #e8f5fd;
}
.home-tabs {
  position: sticky;
  z-index: 3;
  top: 53px;
  background: #fffffff2;
  backdrop-filter: blur(10px);
  padding: 0;
  min-height: 49px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.home-tab {
  position: relative;
  padding: 11px 6px 13px;
  border-radius: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 570;
  color: var(--sub);
}
.home-tab:hover {
  background: #0f141909;
}
.home-tab.selected {
  font-weight: 700;
  color: var(--ink);
}
.home-tab.selected:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 54px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: var(--blue);
}
.home-timeline .pending-slot {
  top: 102px;
}
.home-timeline .feedbar {
  scroll-margin-top: 53px;
}
.pending-button {
  background: var(--blue);
  box-shadow: 0 2px 6px #0f141924;
}
.pending-faces > .portrait-holder, .pending-faces > .avatar {
  border-color: var(--blue);
}
.feedbar {
  padding-inline: 16px;
}
.feedbar.home-tabs {
  padding: 0;
}
.post {
  padding: 12px 16px 5px;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  transition: background 0.12s;
}
.post:hover {
  background: #f7f9f961;
}
.post .avatar, .post .portrait-holder {
  width: 42px;
  height: 42px;
}
.avatar {
  background-image: none;
  background-color: var(--av-bg, #d5e9fa);
  color: var(--av-ink, #1d4460);
  box-shadow: inset 0 0 0 1px #0f14190b;
}
.avatar span {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
}
.avatar.small, .portrait-holder.small {
  width: 40px;
  height: 40px;
}
.avatar.small span {
  font-size: 13px;
}
.tone-0 {
  --av-bg: #c5e6fb;
  --av-ink: #155d8b;
}
.tone-1 {
  --av-bg: #dce8f5;
  --av-ink: #315675;
}
.tone-2 {
  --av-bg: #dbdcfb;
  --av-ink: #4f478e;
}
.tone-3 {
  --av-bg: #cdeef5;
  --av-ink: #276473;
}
.tone-4 {
  --av-bg: #d9d3ed;
  --av-ink: #605083;
}
.tone-5 {
  --av-bg: #d9e5ea;
  --av-ink: #466574;
}
.byline {
  gap: 5px;
  min-height: 18px;
  line-height: 1.25;
}
.author {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 720;
}
.byline .kind, .byline time {
  font-size: 13px;
}
.post-heading {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 680;
  margin: 4px 0 1px;
}
.post-body {
  font-size: 15px;
  line-height: 1.52;
  letter-spacing: 0;
  margin-top: 2px;
}
.source-button {
  padding: 3px 0;
  background: none;
  border: 0;
  color: var(--blue);
  margin: 5px 0 1px;
  font-size: 13px;
}
.source-button:hover {
  background: none;
  text-decoration: underline;
}
.source-button svg {
  width: 14px;
  height: 14px;
}
.actions {
  margin-top: 2px;
  max-width: 410px;
}
.action {
  border-radius: 99px;
  color: var(--sub);
  font-size: 12px;
  gap: 4px;
  min-height: 31px;
  padding: 3px 4px;
}
.action .ico {
  width: 17px;
  height: 17px;
}
.action:hover, .action.on {
  color: var(--blue);
  background: #e8f5fd;
}
.action.on .ico {
  fill: #1d9bf0;
  stroke: var(--blue);
}
.action.like:hover, .action.like.on {
  color: #f91880;
  background: #fde8f2;
}
.action.like.on .ico {
  fill: #f91880;
  stroke: #f91880;
}
.action:last-child {
  margin: 0;
}
.visual {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border: 1px solid #cfd9de;
  background: #f7f9f9;
  border-radius: 14px;
}
.visual figcaption {
  color: var(--sub);
  font-size: 12px;
}
.visual li {
  color: var(--ink);
  font-size: 13px;
}
.visual ol {
  margin: 7px 0 1px;
}
.visual li span {
  padding: 3px 8px;
  background: #e8f5fd;
  color: #095f96;
  border: 0;
  border-radius: 99px;
}
.visual li:not(:last-child):after {
  color: #8b98a5;
}
.media-card {
  border: 1px solid #cfd9de;
  background: white;
  border-radius: 15px;
  margin: 8px 0 2px;
}
.media-card:hover {
  border-color: #becbd2;
}
.media-card strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.media-card small {
  font-size: 13px;
  margin: 0 0 2px;
}
.video-poster, .image-post {
  padding: 0;
  display: block;
  overflow: hidden;
}
.poster-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16/8.1;
  background: #101921;
  overflow: hidden;
}
.poster-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-overlay {
  display: grid;
  place-items: center;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid white;
  background: #1d9bf0;
  color: white;
  font-size: 19px;
  padding-left: 3px;
}
.media-info {
  display: block;
  min-width: 0;
}
.video-poster .media-info, .image-post .media-info {
  padding: 8px 12px;
}
.image-post > img {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  background: #f7f9f9;
}
.play-mark {
  background: #1d9bf0;
}
.profile-cover {
  height: 190px;
  background: #cfd9de;
}
.profile-back {
  background: #0f1419a6;
}
.profile-info {
  padding: 0 16px 12px;
}
.profile-avatar {
  width: 96px;
  height: 96px;
  margin-top: -48px;
}
.profile-info h2 {
  font-size: 20px;
  font-weight: 800;
}
.dialog-head h2 {
  font-weight: 790;
}
.answer, .evidence, .question-card, .library-item, .store-stats {
  border-color: #eff3f4;
}
.profile-avatar .avatar, .profile-avatar .portrait-holder {
  width: 100%;
  height: 100%;
}
.toast {
  background: #1d9bf0;
}
.answer-wait {
  background: #e8f5fd;
  color: #0f1419;
}
.toggle[aria-checked='true'] i {
  background: var(--blue);
}
.answer-wait strong {
  color: var(--ink);
}
.photo-credits .source-link {
  color: var(--sub);
}
.source-link, .citation, .text-btn {
  color: var(--blue);
}
@media (max-width: 1180px) {
  .shell {
    width: min(100%, 1065px);
    grid-template-columns: 92px minmax(0, 600px) minmax(0, 355px);
  }
  .side {
    align-items: center;
    padding: 7px 12px 12px;
  }
  .brand {
    align-self: center;
    padding: 7px;
    min-height: 44px;
  }
  .brand strong, .nav-label, .profile-name, .profile .ellipsis {
    display: none;
  }
  .nav {
    justify-items: center;
  }
  .nav .nav-item {
    padding: 11px;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
  }
  .compose-button {
    min-width: 46px;
    width: 46px;
    min-height: 46px;
    margin: 17px 0 0;
  }
  .compose-button span {
    display: none;
  }
  .compose-button .ico {
    display: block;
  }
  .profile {
    justify-content: center;
    padding: 6px;
  }
  .rail {
    padding-left: 22px;
  }
}
@media (max-width: 895px) {
  .shell {
    max-width: 720px;
    grid-template-columns: 80px minmax(0, 600px);
    justify-content: center;
  }
  .rail {
    display: none;
  }
  .mobile-only {
    display: inline-grid;
  }
}
@media (max-width: 550px) {
  .shell {
    display: block;
    max-width: none;
  }
  .side {
    display: none;
  }
  .topbar, .home-timeline .topbar {
    min-height: 52px;
    padding: 6px 13px;
  }
  .head-start .mobile-brand {
    display: block;
    width: 30px;
    height: 30px;
  }
  .topbar h1 {
    font-size: 19px;
  }
  .topbar .tools {
    gap: 3px;
  }
  .home-tabs {
    top: 52px;
    min-height: 46px;
  }
  .home-timeline .pending-slot {
    top: 98px;
  }
  .home-timeline .feedbar {
    scroll-margin-top: 52px;
  }
  .post {
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 11px 12px 4px;
    gap: 9px;
  }
  .post .avatar, .post .portrait-holder {
    width: 40px;
    height: 40px;
  }
  .post-body, .post-heading, .author {
    font-size: 15px;
  }
  .post-body {
    line-height: 1.53;
  }
  .byline .kind, .byline time {
    font-size: 12px;
  }
  .source-button {
    font-size: 12px;
  }
  .profile-cover {
    height: 136px;
  }
  .profile-avatar {
    width: 76px;
    height: 76px;
    margin-top: -38px;
  }
  .bottom-nav {
    min-height: 51px;
    background: #fffffff2;
    backdrop-filter: blur(12px);
    padding: 3px 4px calc(3px + env(safe-area-inset-bottom));
  }
  .bottom-nav .nav-item {
    border-radius: 99px;
    min-height: 46px;
    min-width: 44px;
    flex: 1;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: none;
  }
  .bottom-nav .nav-item span {
    display: block;
    font-size: 10px;
    line-height: 1.1;
  }
  .bottom-nav .nav-item.active {
    color: var(--blue);
    background: none;
  }
  .bottom-nav .nav-item.active[data-nav='timeline'] .ico {
    fill: currentColor;
  }
  .bottom-nav .nav-item:hover {
    background: #e8f5fd;
  }
  .bottom-nav .ico {
    width: 25px;
    height: 25px;
  }
  .visual {
    padding: 9px 11px;
  }
  .media-card .poster-visual {
    aspect-ratio: 16/9;
  }
  .actions {
    max-width: 100%;
  }
}
.who-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.who-row .book-short {
  flex: 1;
  min-width: 0;
}
.who-row .book-short > div {
  min-width: 0;
}
.follow-pill {
  flex: none;
  background: #0f1419;
  border: 1px solid #0f1419;
  color: white;
  padding: 5px 13px;
  min-height: 30px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 13px;
}
.follow-pill[aria-pressed='true'] {
  color: var(--ink);
  background: transparent;
  border-color: #cfd9de;
}
.follow-pill[aria-pressed='true']:hover {
  color: #f4212e;
  border-color: #fdc9ce;
  background: #fdecee;
}
.profile-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.profile-topline .follow-pill {
  margin-top: 10px;
}
.profile .user-mark .ico {
  margin: 0;
}
.byline .kind, .byline time {
  white-space: nowrap;
}
.blockquote mark {
  background: #d8efff;
  color: #0f1419;
  border-radius: 2px;
}
