@font-face {
  font-family: "Necro Gothic";
  src: url("/app/CinzelDecorative-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
.microphone[aria-pressed="true"] {
  background: #363636;
  border-color: #777777;
  box-shadow: inset 0 0 0 1px #999999;
}
.microphone:disabled {
  cursor: default;
}

:root {
  color-scheme: dark;
  --bg: #0c0c0c;
  --side: #111111;
  --surface: #1b1b1b;
  --line: #292929;
  --text: #e2e2e2;
  --muted: #8c8c8c;
  --accent: #454545;
  font-family: Inter, system-ui, sans-serif;
  font-size: 14px;
}

* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: #202020;
  border-radius: 9px;
  padding: 10px 15px;
  transition:
    background 0.15s,
    border-color 0.15s;
}
button:hover {
  background: #252525;
  border-color: #4b4b4b;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid #757575;
  outline-offset: 3px;
}
input,
select,
textarea {
  background: #151515;
  border: 1px solid #343434;
  border-radius: 8px;
  padding: 11px 12px;
  max-width: 100%;
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: #606060;
  box-shadow: 0 0 0 2px #45454522;
}
a {
  color: #acacac;
  text-underline-offset: 3px;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.app {
  height: 100dvh;
  display: flex;
  overflow: hidden;
}
.sidebar {
  width: 272px;
  flex-shrink: 0;
  background: var(--side);
  border-right: 1px solid #232323;
  display: flex;
  flex-direction: column;
  padding: 22px 14px 12px;
  z-index: 20;
}
.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: 0 4px 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-face {
  width: 56px;
  height: 56px;
  object-fit: contain;
  mix-blend-mode: screen;
}
.brand strong {
  display: block;
  font:
    700 23px Cinzel,
    Georgia,
    serif;
  letter-spacing: 3px;
  color: #e8e8e8;
}
.brand span {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  color: #9a9a9a;
  margin-top: 4px;
}
.icon {
  padding: 7px;
  background: transparent;
  border-color: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.new-chat {
  display: flex;
  gap: 11px;
  align-items: center;
  background: #212121;
  border-color: #323232;
  text-align: left;
  margin-bottom: 20px;
  padding: 12px 14px;
}
.new-chat svg {
  color: #bcbcbc;
}
.modes {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mode {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 11px 14px;
  color: #a7a7a7;
}
.mode.on {
  background: #252525;
  color: #e8e8e8;
  box-shadow: inset 2px 0 #606060;
}
.mode.on svg {
  color: #868686;
}
.history-label {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: #6c6c6c;
  margin: 29px 14px 12px;
}
.thread-list {
  flex: 1;
  overflow: auto;
  min-height: 0;
}
.t-row {
  display: flex;
  align-items: center;
  border-radius: 8px;
  margin: 2px 0;
}
.t-row.on {
  background: #202020;
}
.pick {
  background: transparent;
  border: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: left;
  flex: 1;
  padding: 11px 14px;
  font-size: 12px;
  color: #a7a7a7;
  min-width: 0;
}
.del {
  padding: 5px;
  background: none;
  border: 0;
  opacity: 0;
  color: #828282;
}
.t-row:hover .del,
.del:focus-visible {
  opacity: 1;
}
.del svg {
  width: 16px;
}
.side-foot {
  display: flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  text-align: left;
  padding: 17px 10px 5px;
  margin-top: 12px;
}
.account-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #282828;
  display: grid;
  place-items: center;
  font-family: Cinzel, Georgia, serif;
  color: #bebebe;
}
.side-foot strong {
  display: block;
  font-weight: 500;
  font-size: 12px;
}
.side-foot div span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.dot {
  width: 5px;
  height: 5px;
  background: #5b5b5b;
  border-radius: 50%;
  margin-left: auto;
}
.dot.on {
  background: #919191;
}

.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background:
    radial-gradient(ellipse at 58% 43%, #15151555, transparent 62%), var(--bg);
}
.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 30px;
  flex-shrink: 0;
  z-index: 2;
}
.top-identity {
  display: flex;
  align-items: center;
  gap: 17px;
}
.top-identity > span:first-child {
  color: #b2b2b2;
  font-size: 13px;
}
.top-divider {
  height: 16px;
  width: 1px;
  background: #313131;
}
#model {
  background: transparent;
  border: 0;
  padding: 6px 24px 6px 3px;
  font-size: 12px;
  color: #969696;
  max-width: 240px;
}
.topbar #openSidebar {
  display: none;
}
.collapsed .sidebar {
  display: none;
}
.collapsed .topbar #openSidebar {
  display: grid;
}
.necro-shadow {
  position: absolute;
  inset: 9% 2% 12% 18%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: grayscale(1);
  opacity: 0.035;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 73%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.is-empty .necro-shadow {
  opacity: 0.11;
}
.scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  position: relative;
  z-index: 1;
  padding: 10px 34px 35px;
}
#thread {
  max-width: 850px;
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 25px 0 65px;
  min-height: 300px;
}
.empty .eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: #606060;
  margin-bottom: 18px;
}
.empty h2 {
  font:
    600 48px Cinzel,
    Georgia,
    serif;
  letter-spacing: 7px;
  margin: 0 0 16px;
  color: #cdcdcd;
  text-shadow: 0 3px 30px #000000;
}
.empty > p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.7;
  color: #969696;
  margin: 0;
}
.suggests {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 35px;
  max-width: 690px;
}
.suggests button {
  border-color: #313131;
  color: #a4a4a4;
  background: #141414b0;
  padding: 12px 16px;
  font-size: 12px;
}
.bubble {
  display: flex;
  gap: 14px;
  margin: 15px 0;
  max-width: 100%;
  line-height: 1.75;
}
.bubble.user {
  align-self: flex-end;
  max-width: 84%;
  background: #222222;
  border: 1px solid #2d2d2d;
  border-radius: 18px 18px 3px 18px;
  padding: 11px 19px;
}
.avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font:
    600 15px Cinzel,
    Georgia,
    serif;
  color: #a7a7a7;
  background: #222222;
  border: 1px solid #373737;
  border-radius: 8px;
  margin-top: 5px;
}
.avatar.you {
  display: none;
}
.card {
  min-width: 0;
  flex: 1;
}
.body {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.gen {
  display: block;
  max-width: min(100%, 600px);
  max-height: 550px;
  border-radius: 12px;
  margin: 16px 0;
  object-fit: contain;
  border: 1px solid #363636;
}
.media-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.media-actions button {
  font-size: 11px;
  background: #161616;
  padding: 7px 10px;
}
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 11px;
  color: #b3b3b3;
}
.source-list span,
.source-list a {
  padding: 4px 8px;
  background: #1f1f1f;
  border: 1px solid #323232;
  border-radius: 6px;
}
.confirm {
  margin-top: 15px;
  border-color: #535353;
  background: #2e2e2e;
}
.dock {
  width: min(100% - 60px, 900px);
  margin: 0 auto 24px;
  z-index: 3;
  flex-shrink: 0;
  position: relative;
}
.composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 11px 13px;
  background: #1c1c1c;
  border: 1px solid #373737;
  border-radius: 18px;
  box-shadow: 0 4px 35px #00000055;
}
.composer textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  resize: none;
  max-height: 180px;
  padding: 10px 2px;
  line-height: 1.55;
}
.composer textarea::placeholder {
  color: #828282;
}
.composer .icon {
  margin: 3px 0;
}
.send {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 7px;
  margin: 2px 0;
  background: #d0d0d0;
  border: 0;
  color: #1a1a1a;
  border-radius: 10px;
}
.send:hover {
  background: #e2e2e2;
}
.fine {
  font-size: 11px;
  color: #7c7c7c;
  line-height: 1.6;
  white-space: pre-wrap;
}
#hint {
  text-align: center;
  margin: 12px 0 0;
  font-size: 10px;
  color: #6d6d6d;
}
#composerStatus:empty {
  display: none;
}
.context-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 0 4px 10px;
  color: #a9a9a9;
  font-size: 11px;
}
.context-bar button {
  padding: 5px 8px;
  background: transparent;
  font-size: 10px;
}
.context-bar button:first-of-type {
  margin-left: auto;
}
.media-menu,
.attachment-menu,
.asset-picker {
  padding: 16px;
  background: #1d1d1d;
  border: 1px solid #444444;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 10px 40px #00000066;
}
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.panel-actions button {
  font-size: 11px;
}
.attachment-menu {
  position: absolute;
  bottom: 95px;
  left: 0;
  width: 270px;
}
.attachment-menu button {
  width: 100%;
  margin: 4px 0;
  text-align: left;
}
.asset-picker {
  max-height: 230px;
  overflow: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.asset-picker button {
  padding: 5px;
}
.asset-picker img {
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.files-panel {
  max-width: 850px;
  margin: 35px auto 45px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.section-heading h2 {
  font:
    600 28px Cinzel,
    Georgia,
    serif;
  margin: 7px 0;
}
.section-heading p {
  color: #969696;
  font-size: 12px;
  line-height: 1.6;
}
.eyebrow {
  font-size: 9px !important;
  letter-spacing: 2px;
  color: #707070 !important;
}
.file-library {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 25px;
}
.file-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 19px;
  background: #181818b0;
  border: 1px solid #323232;
  border-radius: 11px;
}
.file-card .file-info {
  flex: 1;
  min-width: 0;
}
.file-info strong {
  display: block;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.file-info span {
  font-size: 11px;
  color: #858585;
  display: block;
  margin-top: 5px;
}
.file-card button {
  font-size: 11px;
  padding: 7px 10px;
}
.file-empty {
  padding: 30px;
  border: 1px dashed #323232;
  border-radius: 12px;
  text-align: center;
  color: #8b8b8b;
  line-height: 1.8;
}
.job-status {
  border: 1px solid #353535;
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
  font-size: 12px;
}
.scrim {
  display: none;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 35px 20px;
  background:
    radial-gradient(ellipse at 50% 35%, #25252566, transparent 60%), #0b0b0b;
}
.gate-card {
  width: 430px;
  max-width: 100%;
  border: 1px solid #323232;
  border-radius: 20px;
  background: #131313;
  box-shadow: 0 20px 100px #000000bb;
  padding: 35px;
}
.gate-emblem {
  display: block;
  width: 95px;
  height: 95px;
  object-fit: contain;
  margin: 0 auto 12px;
  mix-blend-mode: screen;
}
.house {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 10px;
  color: #898989;
  text-align: center;
}
.gate-card > h1 {
  font:
    600 38px Cinzel,
    Georgia,
    serif;
  text-align: center;
  margin: 12px 0 22px;
  letter-spacing: 5px;
}
.gate-note {
  color: #999999;
  line-height: 1.7;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.gate-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 16px 0;
  font-size: 12px;
  color: #b1b1b1;
}
.gate-card input,
.gate-card select,
.gate-card textarea {
  width: 100%;
}
.check {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 9px !important;
  line-height: 1.55;
}
.check input {
  width: 15px;
  flex-shrink: 0;
  accent-color: #565656;
}
.primary {
  background: #383838;
  border-color: #515151;
  color: #e8e8e8;
}
.primary:hover {
  background: #474747;
}
.gate .row-actions button {
  font-size: 12px;
}
.settings-card {
  width: 650px;
  max-height: calc(100dvh - 60px);
  overflow: auto;
  padding: 28px 32px;
}
.settings-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.settings-heading h1 {
  font:
    600 25px Cinzel,
    Georgia,
    serif;
  margin: 0;
}
.settings-heading button {
  font-size: 11px;
  background: transparent;
}
.settings-card details,
.verify-details {
  border-top: 1px solid #323232;
  padding: 16px 0;
  margin-top: 16px;
}
.settings-card summary,
.verify-details summary {
  cursor: pointer;
  color: #c7c7c7;
  font-weight: 500;
  padding: 3px 0;
}
.settings-card details[open] > summary {
  margin-bottom: 18px;
}
.settings-card h3 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #8a8a8a;
  margin: 25px 0 15px;
}
.settings-card pre {
  font-size: 11px;
  background: #0b0b0b;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 12px;
  border: 1px solid #2d2d2d;
  border-radius: 8px;
  max-height: 230px;
  overflow: auto;
}
.settings-card textarea {
  width: 100%;
  min-height: 65px;
}
.settings-card > details > button {
  font-size: 12px;
}
.session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  font-size: 11px;
  color: #9c9c9c;
}
.session-card button {
  font-size: 10px;
  padding: 6px 9px;
}
#settingsError,
#signupError,
#loginError,
#setupError {
  color: #a9a9a9;
}
#deleteAccount {
  border-color: #414141;
  color: #a0a0a0;
}

@media (min-width: 1500px) {
  .scroll {
    padding-top: 25px;
  }
  .dock {
    margin-bottom: 30px;
  }
  .empty {
    padding-bottom: 90px;
  }
  .empty h2 {
    font-size: 56px;
    letter-spacing: 9px;
  }
}

@media (max-width: 1100px) {
  .sidebar {
    width: 240px;
  }
  .side-top {
    margin-left: 0;
    margin-right: 0;
  }
  .brand-face {
    width: 45px;
    height: 45px;
  }
  .brand strong {
    font-size: 21px;
  }
  .dock {
    width: calc(100% - 40px);
  }
  .scroll {
    padding: 10px 23px 25px;
  }
  .empty h2 {
    font-size: 42px;
  }
  .suggests {
    gap: 8px;
  }
  .suggests button {
    font-size: 11px;
  }
}

@media (max-width: 800px) {
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 272px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .drawer .sidebar {
    transform: none;
  }
  .collapsed .sidebar {
    display: flex;
  }
  .drawer .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 19;
    background: #00000099;
  }
  .topbar #openSidebar {
    display: grid;
  }
  .topbar {
    height: 65px;
    padding: 0 16px;
  }
  .top-identity {
    gap: 12px;
  }
  #model {
    max-width: 190px;
  }
  .scroll {
    padding: 5px 20px 20px;
  }
  .dock {
    width: calc(100% - 28px);
    margin-bottom: 16px;
  }
  .empty {
    padding-bottom: 50px;
  }
  .empty h2 {
    font-size: 39px;
  }
  .suggests button {
    font-size: 11px;
  }
  .bubble.user {
    max-width: 92%;
  }
  .del {
    opacity: 0.6;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading > button {
    white-space: nowrap;
    font-size: 11px;
  }
  .files-panel {
    margin-top: 20px;
  }
  .file-card {
    padding: 13px;
    flex-wrap: wrap;
  }
  .file-info {
    flex-basis: 65%;
  }
  .gate {
    padding: 20px 14px;
  }
  .settings-card {
    max-height: calc(100dvh - 40px);
    padding: 22px;
  }
  .necro-shadow {
    inset: 12% 0 18% 0;
  }
}

@media (max-width: 450px) {
  .suggests {
    flex-direction: column;
    margin-top: 25px;
    width: 90%;
  }
  .suggests button {
    text-align: left;
  }
  .empty {
    padding-bottom: 25px;
  }
  .empty > p:not(.eyebrow) {
    font-size: 13px;
  }
  .empty h2 {
    font-size: 35px;
  }
  .gate-card {
    padding: 26px 23px;
  }
  .gate-card > h1 {
    font-size: 32px;
  }
  .gen {
    max-height: 360px;
  }
  .bubble {
    gap: 9px;
    font-size: 13px;
  }
  .top-divider {
    display: none;
  }
  .top-identity {
    gap: 8px;
  }
  #model {
    max-width: 170px;
  }
  .context-bar {
    flex-wrap: wrap;
  }
  .composer textarea {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.picker-overlay {
  z-index: 65;
}
.confirmation-overlay {
  z-index: 70;
}
.picker-card {
  width: 650px;
  max-height: calc(100dvh - 60px);
  overflow: auto;
}
.picker-card h2 {
  font:
    600 21px Cinzel,
    Georgia,
    serif;
  margin: 0;
}
.picker-card input {
  width: 100%;
}
.picker-card h3 {
  font-size: 10px;
  letter-spacing: 2px;
  color: #929292;
  margin: 25px 0 12px;
}
.model-card {
  padding: 13px 0;
  border-bottom: 1px solid #2d2d2d;
}
.model-pick {
  display: block;
  width: 100%;
  text-align: left;
  background: #1e1e1e;
  border-color: #343434;
}
.model-price {
  display: block;
  font-size: 11px;
  color: #9e9e9e;
  line-height: 1.6;
  margin: 8px 0;
}
.model-card details {
  font-size: 10px;
  color: #757575;
  cursor: pointer;
}
.model-card .fine {
  margin: 5px 0;
}
.picker-card #modelChoices > button {
  margin-top: 10px;
  width: 100%;
  text-align: left;
}
.model-browse {
  color: #8c8c8c;
}
#modelChoice {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download {
  font-size: 11px;
  align-self: center;
  margin: 0 7px;
}
.confirmation-overlay h2 {
  font:
    600 22px Cinzel,
    Georgia,
    serif;
}
.settings-card {
  scrollbar-width: thin;
}
.file-library {
  margin-bottom: 20px;
}
#thread:empty {
  min-height: 0;
}
@media (max-width: 800px) {
  #modelChoice {
    display: none;
  }
  .picker-card {
    max-height: calc(100dvh - 40px);
  }
  .top-identity {
    gap: 6px;
  }
  .model-browse {
    padding: 4px;
  }
  #model {
    max-width: 170px;
  }
  .model-price {
    overflow-wrap: anywhere;
  }
}

/* The real company emblem is displayed in monochrome without altering it. */
.brand-face,
.gate-emblem {
  filter: grayscale(1);
}

.sidebar {
  width: 248px;
}

.main {
  background: #080808;
}

.brand strong {
  font-size: 21px;
}

.brand-face {
  width: 46px;
  height: 46px;
}

.side-top {
  margin-bottom: 23px;
}

.topbar {
  height: 64px;
}

.empty h2 {
  font-size: 40px;
  letter-spacing: 5px;
}

.dock {
  width: min(100% - 52px, 820px);
}

.composer {
  padding: 7px 11px;
  border-radius: 15px;
}

.composer textarea {
  padding-top: 9px;
  padding-bottom: 9px;
}

@media (min-width: 1500px) {
  .empty h2 {
    font-size: 44px;
  }
}

@media (max-width: 800px) {
  .sidebar {
    width: 248px;
  }
  .dock {
    width: calc(100% - 28px);
  }
}

/* Home Necro proportions: a quiet central composer above a full portrait. */
.sidebar {
  width: 220px;
  padding: 16px 10px 12px;
}
.side-top {
  margin-bottom: 20px;
}
.brand-face {
  width: 38px;
  height: 38px;
}
.brand strong {
  font-size: 18px;
  letter-spacing: 2px;
}
.brand span {
  font-size: 8px;
  letter-spacing: 2px;
}
.new-chat {
  background: transparent;
  border-color: transparent;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.mode {
  padding: 9px 12px;
  gap: 12px;
}
.mode.on {
  box-shadow: none;
}
.necro-shadow {
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  mask-image: linear-gradient(black, black 62%, transparent);
  opacity: 0.055;
}
.is-empty .necro-shadow {
  opacity: 0.13;
}
.dock {
  width: min(100% - 52px, 720px);
}
.is-empty .scroll {
  flex: 0 0 36%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 24px 22px;
  overflow: visible;
}
.is-empty #thread {
  min-height: 0;
  margin: 0;
}
.empty {
  min-height: 0;
  padding: 0;
}
.empty h2 {
  font:
    500 27px Inter,
    system-ui,
    sans-serif;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.empty > p:not(.eyebrow) {
  font-size: 12px;
}
.is-empty .dock {
  margin-bottom: 0;
}
.suggests {
  margin: 23px auto 0;
  justify-content: flex-start;
  max-width: 640px;
}
.suggests:empty {
  display: none;
}
.suggests button {
  background: transparent;
  border-color: transparent;
  padding: 8px 10px;
  text-align: left;
}
#hint {
  font-size: 10px;
}
@media (max-width: 800px) {
  .dock {
    width: calc(100% - 28px);
  }
  .sidebar {
    width: 240px;
  }
  .is-empty .scroll {
    flex-basis: 30%;
  }
  .necro-shadow {
    background-position: center;
  }
}
@media (max-height: 600px) {
  .is-empty .scroll {
    flex-basis: 22%;
  }
  .suggests {
    margin-top: 8px;
  }
}

.files-mode #thread {
  min-height: 0;
}

@media (max-width: 800px) {
  .sidebar {
    transition: none;
  }
}

.picker-card,
.settings-card {
  max-height: calc(100dvh - 80px);
}
.settings-heading > button {
  flex-shrink: 0;
}
.brand strong,
.gate-card > h1,
.empty h2 {
  font-family: "Necro Gothic", Cinzel, Georgia, serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #d8d8d8;
  text-shadow:
    0 1px 0 #ffffff22,
    0 3px 9px #000000;
}
.empty h2 {
  font-size: 32px;
  letter-spacing: 3px;
}
.brand strong {
  font-size: 20px;
  letter-spacing: 2px;
}
@media (max-width: 800px) {
  .picker-card,
  .settings-card {
    max-height: calc(100dvh - 40px);
  }
  .picker-card h2 {
    font-size: 18px;
    min-width: 0;
  }
}
