@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";
/* [project]/app/globals.css [app-client] (css) */
:root {
  --ink: #fff;
  --muted: #ffffff9e;
  --line: #ffffff3b;
  --panel: #1e12149e;
}

* {
  box-sizing: border-box;
}

.access-overlay {
  z-index: 1000;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #07070ad1;
  place-items: center;
  padding: 22px;
  display: grid;
  position: fixed;
  inset: 0;
}

.access-card {
  color: #fff;
  background: radial-gradient(circle at 90% 0, #7142ff38, #0000 42%), #15151a;
  border: 1px solid #ffffff21;
  border-radius: 26px;
  flex-direction: column;
  gap: 16px;
  width: min(430px, 100%);
  padding: 34px;
  display: flex;
  box-shadow: 0 28px 90px #0000008c;
}

.access-card .brand {
  align-self: flex-start;
}

.access-kicker {
  color: #d8ccff;
  letter-spacing: .16em;
  background: #7a54ff29;
  border-radius: 999px;
  width: fit-content;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
}

.access-card h1 {
  letter-spacing: -.04em;
  margin: 0;
  font-size: 30px;
}

.access-card > p {
  color: #a9a7b2;
  margin: -6px 0 4px;
  font-size: 14px;
  line-height: 1.55;
}

.access-card label {
  color: #d8d7dc;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
}

.access-card input {
  color: #fff;
  width: 100%;
  height: 48px;
  font: inherit;
  background: #ffffff0e;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  outline: none;
  padding: 0 14px;
}

.access-card input:focus {
  border-color: #8d72ff;
  box-shadow: 0 0 0 3px #704cff29;
}

.access-card select {
  color: #fff;
  width: 100%;
  height: 48px;
  font: inherit;
  background: #24242c;
  border: 1px solid #ffffff1f;
  border-radius: 12px;
  outline: none;
  padding: 0 14px;
}

.consent {
  align-items: flex-start;
  line-height: 1.45;
  flex-direction: row !important;
  font-weight: 500 !important;
}

.consent input {
  accent-color: #8d72ff;
  margin: 1px 0 0;
  width: 16px !important;
  height: 16px !important;
}

.text-action {
  color: #c9baff;
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 4px;
}

.access-error {
  color: #ffc3ca;
  background: #c82f452e;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
}

.access-submit {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #754cff, #9f63ff);
  border: 0;
  border-radius: 13px;
  height: 49px;
  font-weight: 800;
}

.access-submit:disabled {
  opacity: .45;
  cursor: default;
}

.access-card > small {
  color: #777580;
  text-align: center;
}

html {
  background: #180b0b;
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  background: #180b0b;
  margin: 0;
  font-family: DM Sans, Noto Sans SC, system-ui, sans-serif;
}

button, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

svg {
  display: block;
}

.brand {
  color: #fff;
  letter-spacing: -1.4px;
  align-items: center;
  gap: 7px;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.brand-mark {
  width: 8px;
  height: 22px;
  display: inline-block;
  position: relative;
  transform: rotate(20deg);
}

.brand-mark i {
  background: #fff;
  border-radius: 5px;
  width: 3px;
  display: block;
  position: absolute;
}

.brand-mark i:first-child {
  height: 6px;
  top: 2px;
  left: 0;
}

.brand-mark i:nth-child(2) {
  height: 12px;
  top: 6px;
  left: 3px;
}

.brand-mark i:nth-child(3) {
  height: 5px;
  top: 15px;
  left: 0;
}

.coin-badge {
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffff1f;
  border: 1px solid #ffffff52;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 5px 10px 5px 6px;
  font-size: 11px;
  display: inline-flex;
}

.coin-badge strong {
  font-size: 12px;
}

.coin-icon {
  color: #fff7c4;
  background: radial-gradient(circle at 35% 30%, #f4cc6b, #b07125 72%);
  border-radius: 50%;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 9px;
  display: grid;
  box-shadow: inset 0 0 0 1px #ffffff47;
}

.tipsy-header {
  z-index: 20;
  background: linear-gradient(#120808b8, #12080833);
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 0 30px;
  display: flex;
  position: relative;
}

.header-brand-group {
  align-items: center;
  gap: 14px;
  display: flex;
}

.community-link {
  color: #ffffffc7;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffff0a;
  border: 1px solid #ffffff3d;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px;
  font-size: 11px;
  text-decoration: none;
  display: inline-flex;
}

.community-link:hover {
  color: #fff;
  background: #ffffff1a;
  border-color: #ffffff7a;
}

.community-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 15px;
  height: 15px;
}

.tipsy-header-right {
  align-items: center;
  gap: 8px;
  display: flex;
}

.community-pill, .download-pill, .create-pill, .login-pill, .header-circle {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  cursor: pointer;
  background: #140b0c38;
  border: 1px solid #ffffff59;
  height: 38px;
}

.community-pill {
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 70px;
  padding: 0 9px;
  font-size: 13px;
  display: flex;
}

.community-pill span {
  font-size: 15px;
}

.community-pill i {
  background: #ffffff5c;
  width: 1px;
  height: 20px;
}

.download-pill {
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  font-size: 13px;
  display: flex;
}

.download-pill span {
  font-size: 12px;
}

.header-circle {
  border-radius: 50%;
  place-items: center;
  width: 38px;
  padding: 0;
  display: grid;
}

.header-circle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
}

.header-circle:hover, .coin-button:hover, .account-button:hover {
  background: #ffffff1f;
  border-color: #ffffff94;
}

.language-symbol {
  font-weight: 700;
  position: relative;
}

.language-symbol svg {
  fill: #ffffffd1;
  stroke: none;
  width: 20px;
  height: 20px;
}

.header-menu-wrap {
  position: relative;
}

.coin-button, .account-button {
  color: #fff;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #140b0c38;
  border: 1px solid #ffffff59;
  border-radius: 999px;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 10px;
  display: flex;
}

.coin-button > span {
  color: #fff7c4;
  background: radial-gradient(circle at 35% 30%, #f4cc6b, #b07125 72%);
  border-radius: 50%;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 9px;
  display: grid;
}

.coin-button strong {
  font-size: 12px;
}

.account-button > i {
  background: linear-gradient(145deg, #9d7065, #342125);
  border-radius: 50%;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 10px;
  font-style: normal;
  display: grid;
}

.account-button > span {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 112px;
  font-size: 12px;
  overflow: hidden;
}

.account-button > b {
  color: #ffffff94;
  font-size: 11px;
}

.header-dropdown {
  z-index: 50;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #1e1215f7;
  border: 1px solid #ffffff29;
  border-radius: 14px;
  gap: 4px;
  width: 210px;
  padding: 8px;
  display: grid;
  position: absolute;
  top: 45px;
  right: 0;
  box-shadow: 0 22px 60px #0006;
}

.header-dropdown button {
  color: #ffffffd1;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  display: flex;
}

.header-dropdown button:hover:not(:disabled), .header-dropdown button.selected {
  background: #ffffff14;
}

.header-dropdown button:disabled {
  opacity: .48;
  cursor: default;
}

.header-dropdown small {
  color: #ffffff61;
  padding: 6px 10px 3px;
}

.wallet-panel {
  width: 245px;
  padding: 14px;
}

.wallet-panel > small {
  padding: 0;
}

.wallet-panel > strong {
  font-size: 27px;
}

.wallet-panel h3 {
  margin: 12px 0 0;
  font-size: 11px;
}

.wallet-panel p {
  color: #ffffff6e;
  margin: 4px 0 10px;
  font-size: 11px;
}

.enhanced-search {
  z-index: 45;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  background: #1d1114fa;
  border: 1px solid #fff3;
  border-radius: 15px;
  grid-template-columns: 22px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  width: min(480px, 100vw - 32px);
  padding: 12px 13px 9px;
  display: grid;
  position: absolute;
  top: 57px;
  right: 30px;
  box-shadow: 0 24px 70px #00000070;
}

.enhanced-search > svg {
  fill: none;
  stroke: #fff;
  width: 20px;
}

.enhanced-search input {
  color: #fff;
  height: 34px;
  font: inherit;
  background: none;
  border: 0;
  outline: 0;
}

.enhanced-search > button {
  background: #ffffff14;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
}

.enhanced-search > button svg {
  fill: none;
  stroke: #fff;
  width: 16px;
}

.enhanced-search > div {
  border-top: 1px solid #ffffff17;
  grid-column: 1 / -1;
  align-items: center;
  gap: 6px;
  padding-top: 9px;
  display: flex;
  overflow-x: auto;
}

.enhanced-search > div small {
  color: #fff6;
  flex: none;
}

.enhanced-search > div button {
  color: #ffffffba;
  cursor: pointer;
  background: #ffffff12;
  border: 0;
  border-radius: 999px;
  flex: none;
  padding: 5px 8px;
}

.create-pill, .login-pill {
  border-radius: 999px;
  padding: 0 18px;
  font-size: 13px;
}

.login-pill {
  background: #ffffff2e;
}

.tipsy-feed-shell {
  background: radial-gradient(circle at 88% 12%, #5b191c33, #0000 30%), linear-gradient(135deg, #180a0b, #2b1112 55%, #160a0b);
  min-height: 100dvh;
}

.feed-content {
  min-height: calc(100dvh - 119px);
  padding: 0 30px 28px;
}

.feed-controls {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 58px;
  display: flex;
}

.feed-tabs {
  align-items: center;
  gap: 8px;
  display: flex;
}

.feed-tabs button {
  color: #ffffff73;
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  border-radius: 999px;
  height: 40px;
  padding: 0 19px;
  font-size: 13px;
}

.feed-tabs button:hover {
  color: #fff;
}

.feed-tabs button.active {
  color: #fff;
  background: #ffffff08;
  border-color: #ffffff5c;
}

.feed-filters {
  align-items: center;
  gap: 9px;
  display: flex;
}

.limitless-switch {
  color: #ffffffad;
  cursor: pointer;
  background: #00000024;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 8px 0 11px;
  display: flex;
}

.limitless-switch span {
  font-size: 11px;
}

.limitless-switch i {
  background: #fff3;
  border-radius: 999px;
  width: 28px;
  height: 16px;
  position: relative;
}

.limitless-switch i:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  transition: transform .2s;
  position: absolute;
  top: 2px;
  left: 2px;
}

.limitless-switch.active {
  color: #fff;
  border-color: #c597ff8c;
}

.limitless-switch.active i {
  background: #8d62d9;
}

.limitless-switch.active i:after {
  transform: translateX(12px);
}

.gender-menu-wrap {
  position: relative;
}

.gender-filter {
  color: #ffffffc7;
  cursor: pointer;
  background: #00000024;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 78px;
  height: 34px;
  padding: 0 10px 0 13px;
  font-size: 11px;
  display: flex;
}

.gender-filter i {
  color: #ffffff73;
  font-size: 12px;
  font-style: normal;
}

.gender-menu {
  z-index: 35;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #1f1215fa;
  border: 1px solid #ffffff29;
  border-radius: 13px;
  gap: 3px;
  width: 132px;
  padding: 6px;
  display: grid;
  position: absolute;
  top: 41px;
  right: 0;
  box-shadow: 0 18px 48px #00000073;
}

.gender-menu button {
  color: #ffffffad;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  font-size: 11px;
  display: flex;
}

.gender-menu button:hover, .gender-menu button.selected {
  color: #fff;
  background: #ffffff14;
}

.gender-menu button i {
  color: #c8a8ef;
  font-size: 11px;
  font-style: normal;
}

.filter-button {
  background: #0003;
  border: 1px solid #ffffff21;
  border-radius: 50%;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  display: grid;
}

.filter-button svg {
  fill: none;
  stroke: #ffffff94;
  stroke-width: 2px;
  stroke-linecap: round;
  width: 18px;
}

.filter-button.active {
  background: #8d62d93d;
  border-color: #c597ffb3;
}

.tag-filter-wrap {
  position: relative;
}

.tag-filter-panel {
  z-index: 40;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #160d0ff0;
  border: 1px solid #ffffff21;
  border-radius: 14px;
  width: min(620px, 100vw - 60px);
  padding: 12px;
  font-size: 11px;
  position: absolute;
  top: 43px;
  right: 0;
  box-shadow: 0 18px 48px #0006;
}

.tag-filter-panel header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
  display: flex;
}

.tag-filter-panel header button {
  background: #ffffff0f;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  display: grid;
}

.tag-filter-panel header svg {
  fill: none;
  stroke: #fff;
  width: 15px;
}

.tag-filter-panel > div {
  flex-wrap: wrap;
  gap: 7px;
  display: flex;
}

.tag-filter-panel > div button {
  color: #ffffffa6;
  background: none;
  border: 1px solid #ffffff21;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
}

.tag-filter-panel > div button.active {
  color: #fff;
  background: #8453cd40;
  border-color: #9b76db;
}

.tag-filter-panel > small {
  color: #ffffff59;
  margin-top: 10px;
  font-size: 11px;
  display: block;
}

.tipsy-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  display: grid;
}

.tipsy-card {
  aspect-ratio: .588;
  background: #221517;
  border: 1px solid #ffffff3b;
  border-radius: 7px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 7px 20px #00000029;
}

.card-hit-area {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.card-hit-area:disabled {
  cursor: wait;
}

.tipsy-card-cover {
  object-fit: cover;
  transition: transform .5s, filter .4s;
}

.tipsy-card:hover .tipsy-card-cover {
  filter: saturate(1.08);
  transform: scale(1.035);
}

.card-darken {
  background: linear-gradient(#07050600 42%, #08050629 57%, #080506ed 100%);
  position: absolute;
  inset: 0;
}

.card-badge {
  color: #ffffffe6;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  text-transform: uppercase;
  letter-spacing: .7px;
  background: #0f090a59;
  border: 1px solid #ffffff42;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 8px;
  position: absolute;
  top: 10px;
  left: 10px;
}

.opening-card {
  z-index: 3;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  background: #0d08099e;
  place-items: center;
  font-size: 11px;
  display: grid;
  position: absolute;
  inset: 0;
}

.card-copy {
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  min-height: 25%;
  transition: opacity .18s;
  display: flex;
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
}

.card-copy strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  text-shadow: 0 2px 10px #000;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.1;
  display: flex;
  overflow: hidden;
}

.card-meta-row {
  align-items: center;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.card-copy .chat-count {
  color: #ffffffb3;
}

.character-tag {
  color: #ffffffc7;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #0f090a3d;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  min-width: 0;
  max-width: 25%;
  padding: 3px 6px;
  font-size: 9px;
  line-height: 1;
  overflow: hidden;
}

.card-tagline {
  color: #ffffffbd;
  text-shadow: 0 2px 8px #000;
  max-height: 42px;
  font-size: 12px;
  line-height: 1.42;
  overflow: hidden;
}

.card-footer {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #0705067a;
  border-top: 1px solid #ffffff2e;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  padding: 0 11px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.creator {
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.creator i {
  color: #fff;
  background: linear-gradient(145deg, #9d7065, #342125);
  border: 1px solid #ffffff45;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 9px;
  font-style: normal;
  display: grid;
}

.creator b {
  color: #ffffffe0;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 10px;
  font-weight: 500;
  overflow: hidden;
}

.chat-count {
  color: #ffffffe0;
  flex: none;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  display: flex;
}

.chat-count svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linejoin: round;
  width: 13px;
  height: 13px;
}

.card-hover-detail {
  z-index: 2;
  opacity: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #0a0708b3;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  transition: opacity .2s;
  display: flex;
  position: absolute;
  inset: 0;
}

.hover-avatar {
  border: 2px solid #ffffffa6;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  position: relative;
  overflow: hidden;
}

.hover-avatar img {
  object-fit: cover;
}

.card-hover-detail > span {
  color: #fff;
  flex: 1;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.5;
  overflow: hidden;
}

.card-hover-detail > b {
  color: #211c23;
  background: #fff;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  font-size: 17px;
  display: flex;
}

.card-hover-detail > b svg {
  fill: none;
  stroke: currentColor;
  width: 20px;
}

.tipsy-card:hover .card-hover-detail, .tipsy-card:focus-within .card-hover-detail {
  opacity: 1;
}

.tipsy-card:hover .card-copy, .tipsy-card:focus-within .card-copy {
  opacity: 0;
}

.feed-loading, .feed-empty {
  color: #ffffff8c;
  place-content: center;
  justify-items: center;
  gap: 13px;
  min-height: 48vh;
  display: grid;
}

.feed-loading i {
  border: 2px solid #ffffff2b;
  border-top-color: #fff;
  border-radius: 50%;
  width: 27px;
  height: 27px;
  animation: .8s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.feed-empty button {
  background: #ffffff14;
  border: 1px solid #ffffff38;
  border-radius: 999px;
  padding: 8px 13px;
}

.error-banner {
  color: #ffd5dc;
  background: #6a222d59;
  border: 1px solid #ff9aa840;
  border-radius: 7px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 9px 12px;
  font-size: 11px;
  display: flex;
}

.error-banner button {
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  text-decoration: underline;
}

.reference-footer {
  color: #ffffff61;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 62px;
  padding: 12px 30px;
  font-size: 9px;
  display: flex;
}

.reference-footer a {
  color: inherit;
}

.reference-footer i {
  background: #ffffff40;
  width: 1px;
  height: 15px;
}

.reference-footer small {
  margin-left: auto;
}

.dialog-close {
  background: #ffffff0f;
  border: 0;
  border-radius: 50%;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  display: grid;
  position: absolute;
  top: 18px;
  right: 18px;
}

.dialog-close svg {
  fill: none;
  stroke: #fff;
  width: 17px;
}

.access-card {
  position: relative;
}

.create-placeholder {
  background: radial-gradient(circle at 70% 20%, #70439c3d, #0000 35%), #170b0d;
  min-height: 100dvh;
  padding: 0 30px;
}

.create-placeholder > header {
  justify-content: space-between;
  align-items: center;
  height: 64px;
  display: flex;
}

.create-placeholder a {
  color: #fff;
}

.create-placeholder > section {
  text-align: center;
  place-content: center;
  justify-items: center;
  min-height: calc(100dvh - 64px);
  display: grid;
}

.create-placeholder > section span {
  color: #c8a8ef;
  letter-spacing: .18em;
  font-size: 11px;
}

.create-placeholder h1 {
  margin: 12px 0 6px;
  font-size: clamp(34px, 6vw, 72px);
}

.create-placeholder p {
  color: #ffffff85;
}

.create-placeholder > section a {
  border: 1px solid #ffffff40;
  border-radius: 999px;
  margin-top: 20px;
  padding: 11px 16px;
  text-decoration: none;
}

.reference-chat-shell {
  isolation: isolate;
  background: #131315;
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.chat-world-bg {
  z-index: -3;
  object-fit: cover;
  filter: blur(34px) saturate(.4);
  opacity: .2;
  transform: scale(1.14);
}

.chat-world-overlay {
  z-index: -2;
  background: radial-gradient(120% 95% at 50% 40%, #13131680, #101013d1 58%, #0d0d10ed), radial-gradient(160% 130% at 50% 118%, #46262229, #0000 55%);
  position: absolute;
  inset: 0;
}

.chat-site-header {
  background: linear-gradient(#0e0e106b, #0000);
}

.chat-history-rail {
  z-index: 18;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #180e109e;
  border: 1px solid #ffffff38;
  border-radius: 18px;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: 60px;
  padding: 8px;
  transition: width .22s, background .22s;
  display: flex;
  position: absolute;
  top: 82px;
  bottom: 28px;
  left: 14px;
  overflow: hidden;
  box-shadow: 0 18px 55px #0000004d;
}

.chat-history-rail.open {
  background: #180e10e6;
  align-items: stretch;
  width: 248px;
}

.history-toggle {
  color: #ffffffc7;
  cursor: pointer;
  background: #ffffff12;
  border: 0;
  border-radius: 11px;
  flex: none;
  place-items: center;
  width: 40px;
  height: 34px;
  padding: 0;
  display: grid;
}

.history-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 19px;
  height: 19px;
}

.history-list {
  scrollbar-width: none;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 100%;
  min-height: 0;
  display: flex;
  overflow: hidden auto;
}

.chat-history-rail.open .history-list {
  align-items: stretch;
}

.history-list::-webkit-scrollbar {
  display: none;
}

.history-item {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  align-items: center;
  gap: 10px;
  width: 42px;
  min-height: 42px;
  padding: 1px;
  transition: width .22s, border-radius .22s;
  display: flex;
}

.chat-history-rail.open .history-item {
  border-radius: 13px;
  width: 230px;
  min-height: 44px;
  padding: 2px;
}

.history-item:hover, .history-item.active {
  background: #ffffff17;
}

.history-avatar {
  border: 1px solid #ffffff57;
  border-radius: 50%;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: hidden;
}

.history-avatar img {
  object-fit: cover;
  object-position: center;
}

.history-item.active .history-avatar {
  border-color: #d7b9ff;
  box-shadow: inset 0 0 0 1px #d7b9ff47;
}

.history-copy {
  opacity: 0;
  gap: 3px;
  min-width: 0;
  transition: opacity .12s;
  display: grid;
}

.chat-history-rail.open .history-copy {
  opacity: 1;
  transition-delay: 80ms;
}

.history-copy strong, .history-copy small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.history-copy strong {
  font-size: 11px;
}

.history-copy small {
  color: #ffffff73;
  font-size: 9px;
}

.history-toggle .collection-spark {
  fill: currentColor;
  stroke: none;
}

.reference-chat-workspace {
  grid-template-columns: 322px minmax(0, 1fr);
  gap: 8px;
  width: min(930px, 100% - 32px);
  height: min(565px, 100dvh - 124px);
  margin: 37px auto 0;
  transition: grid-template-columns .25s;
  display: grid;
}

.reference-chat-workspace.profile-collapsed .reference-conversation {
  grid-column: 2;
}

.role-profile, .reference-conversation {
  -webkit-backdrop-filter: blur(23px);
  backdrop-filter: blur(23px);
  background: #18181b8c;
  border: 1px solid #ffffff1f;
  border-radius: 14px;
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 24px 64px #0006;
}

.role-profile {
  isolation: isolate;
  background: #171012;
  position: relative;
}

.role-profile-cover {
  z-index: -3;
  object-fit: cover;
  transition: transform .5s, filter .35s;
}

.profile-image-shade {
  z-index: -2;
  opacity: 0;
  background: linear-gradient(#0604051f 8%, #06040561 32%, #060405d4 100%);
  transition: opacity .28s;
  position: absolute;
  inset: 0;
}

.profile-top-actions {
  z-index: 3;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #0504054d;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  display: flex;
  position: absolute;
  top: 13px;
  right: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px #00000024;
}

.profile-icon-action {
  color: #ffffffc2;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 0;
  place-items: center;
  width: 29px;
  height: 29px;
  padding: 0;
  transition: color .18s, background .18s;
  display: grid;
}

.profile-icon-action + .profile-icon-action {
  border-left: 1px solid #ffffff29;
}

.profile-icon-action:hover {
  color: #fff;
  background: #ffffff1f;
}

.profile-icon-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 14px;
  height: 14px;
}

.profile-hover-content {
  z-index: -1;
  opacity: 0;
  scrollbar-width: none;
  pointer-events: none;
  flex-direction: column;
  padding: 12px 0 17px;
  transition: opacity .26s, transform .28s;
  display: flex;
  position: absolute;
  inset: 78px 14px 0;
  overflow-y: auto;
  transform: translateY(8px);
}

.profile-hover-content > :first-child {
  margin-top: auto;
}

.profile-hover-content::-webkit-scrollbar {
  display: none;
}

.role-profile:hover .profile-hover-content, .role-profile:focus-within .profile-hover-content {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.role-profile:hover .profile-image-shade, .role-profile:focus-within .profile-image-shade {
  opacity: 1;
}

.role-profile:hover .role-profile-cover, .role-profile:focus-within .role-profile-cover {
  filter: saturate(.84);
  transform: scale(1.018);
}

.profile-avatar {
  background: #0000004d;
  border: 1px solid #ffffff8f;
  border-radius: 20px;
  flex: none;
  width: 68px;
  height: 68px;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px #0000004d;
}

.profile-avatar img {
  object-fit: cover;
}

.hover-profile-identity {
  align-items: center;
  gap: 11px;
  display: flex;
}

.hover-profile-identity > div {
  min-width: 0;
}

.hover-profile-identity h1 {
  letter-spacing: -.45px;
  align-items: center;
  gap: 5px;
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.05;
  display: flex;
}

.hover-profile-identity h1 i {
  color: #b7a0ff;
  font-size: 11px;
  font-style: normal;
}

.profile-tag-list {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.profile-tag-list span {
  color: #ffffffe6;
  background: #0705064d;
  border: 1px solid #ffffff57;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 9px;
  line-height: 1;
}

.profile-stats-card {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: #ffffff29;
  border: 1px solid #ffffff2e;
  border-radius: 11px;
  grid-template-columns: 1.2fr 1fr 1fr;
  margin-top: 13px;
  padding: 10px 4px;
  display: grid;
}

.profile-stats-card > div {
  border-left: 1px solid #ffffff2e;
  align-content: center;
  justify-items: center;
  gap: 5px;
  min-width: 0;
  padding: 0 6px;
  display: grid;
}

.profile-stats-card > div:first-child {
  border-left: 0;
}

.profile-stats-card small {
  color: #ffffff8c;
  font-size: 9px;
}

.profile-stats-card strong {
  font-size: 16px;
}

.profile-creator-stat span {
  align-items: center;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.profile-creator-stat span i {
  background: linear-gradient(145deg, #d3a66f, #6c423c);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 23px;
  height: 23px;
  font-size: 8px;
  font-style: normal;
  display: grid;
}

.profile-creator-stat span b {
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 10px;
  font-weight: 500;
  overflow: hidden;
}

.profile-glass-card {
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  background: #0906077a;
  border: 1px solid #ffffff30;
  border-radius: 11px;
  margin-top: 11px;
  overflow: hidden;
}

.profile-glass-card > header {
  border-bottom: 1px solid #ffffff1c;
  justify-content: space-between;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  display: flex;
}

.profile-glass-card > header b {
  font-size: 11px;
}

.profile-glass-card > header button {
  color: #ffffffb3;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 9px;
}

.profile-glass-card > header button span {
  vertical-align: -1px;
  margin-left: 4px;
  font-size: 17px;
}

.profile-comment {
  border-bottom: 1px solid #ffffff14;
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  gap: 7px;
  min-height: 85px;
  padding: 9px 10px;
  display: grid;
}

.profile-comment:last-child {
  border-bottom: 0;
}

.comment-avatar {
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 8px;
  display: grid;
}

.comment-avatar.coral {
  background: linear-gradient(145deg, #ff8b7f, #7f3b3f);
}

.comment-avatar.violet {
  background: linear-gradient(145deg, #c092dd, #52365f);
}

.profile-comment > div {
  min-width: 0;
}

.profile-comment p {
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin: 0;
  display: flex;
}

.profile-comment p b {
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 9px;
  font-weight: 500;
  overflow: hidden;
}

.profile-comment time {
  color: #ffffff6b;
  font-size: 7px;
}

.profile-comment div > strong {
  color: #ffffffdb;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.35;
  display: block;
}

.profile-comment div > button {
  color: #ffffff5c;
  background: none;
  border: 0;
  margin-top: 6px;
  padding: 0;
  font-size: 8px;
}

.comment-like {
  color: #ffffffe0;
  align-content: center;
  justify-items: center;
  font-size: 22px;
  line-height: .8;
  display: grid;
}

.comment-like small {
  color: #ffffff8c;
  margin-top: 4px;
  font-size: 7px;
}

.memories-card {
  margin-bottom: 9px;
}

.memory-row {
  border-bottom: 1px solid #ffffff12;
  grid-template-columns: 71px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 6px;
  height: 54px;
  padding: 0 10px;
  display: grid;
}

.memory-row:last-child {
  border-bottom: 0;
}

.memory-avatars {
  align-items: center;
  height: 29px;
  display: flex;
  position: relative;
}

.memory-avatars > i {
  background: #725152;
  border: 1px solid #fff3;
  border-radius: 50%;
  place-items: center;
  width: 27px;
  height: 27px;
  font-size: 8px;
  font-style: normal;
  display: grid;
  position: relative;
  overflow: hidden;
}

.memory-avatars > i:nth-child(2) {
  margin-left: 11px;
}

.memory-avatars > i img {
  object-fit: cover;
}

.memory-avatars > b {
  z-index: 2;
  background: #151013;
  border-radius: 50%;
  place-items: center;
  width: 17px;
  height: 17px;
  font-size: 9px;
  font-weight: 400;
  display: grid;
  position: absolute;
  left: 28px;
}

.memory-row > strong {
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
  font-size: 9px;
  font-weight: 500;
  overflow: hidden;
}

.memory-count {
  color: #ffffff8c;
  justify-items: center;
  font-size: 13px;
  display: grid;
}

.memory-count small {
  font-size: 7px;
}

.profile-bottom-tagline {
  color: #fff;
  margin: 10px 0 0;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

@media (hover: none) {
  .profile-hover-content {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .profile-image-shade {
    opacity: 1;
  }
}

.reference-conversation {
  grid-template-rows: 64px minmax(0, 1fr) auto;
  display: grid;
}

.reference-conversation-toolbar {
  background: none;
  border-bottom: 0;
  align-items: center;
  gap: 11px;
  padding: 0 16px;
  display: flex;
  position: relative;
}

.conversation-character-status {
  flex: none;
  align-items: center;
  gap: 7px;
  display: flex;
}

.conversation-avatar {
  cursor: pointer;
  background: #251719;
  border: 1px solid #fff9;
  border-radius: 50%;
  flex: none;
  width: 48px;
  height: 48px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.conversation-avatar img {
  object-fit: cover;
}

.relationship-level {
  color: #6ce4de;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #130d1052;
  border: 1px solid #ffffff59;
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 10px 0 5px;
  display: flex;
  position: relative;
}

.relationship-level svg {
  fill: #24686d73;
  stroke: #8ee9e2;
  stroke-width: 1.15px;
  stroke-linecap: round;
  stroke-linejoin: round;
  border: 1px solid #7ae4dc73;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  padding: 3px;
  box-shadow: inset 0 0 8px #4adacd52;
}

.relationship-level strong {
  font-size: 13px;
  font-style: italic;
}

.conversation-toolbar-actions {
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
  display: flex;
}

.conversation-stat-pill {
  color: #ffffffeb;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  background: #0c080952;
  border: 1px solid #ffffff57;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 66px;
  height: 34px;
  padding: 0 12px;
  display: flex;
  position: relative;
}

.conversation-stat-pill svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
}

.conversation-stat-pill strong {
  font-size: 11px;
  font-weight: 600;
}

.conversation-stat-pill.audio-mode {
  min-width: 78px;
}

.conversation-stat-pill.audio-mode svg {
  width: 19px;
}

.conversation-stat-pill.favorite-stat {
  min-width: 73px;
}

.conversation-stat-pill.active {
  color: #ffd1dc;
  background: #742f4466;
  border-color: #ffb7cc94;
}

.conversation-stat-pill:disabled {
  opacity: .72;
  cursor: not-allowed;
}

.more-pill {
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
  background: #0c080952;
  border: 1px solid #ffffff57;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
}

.more-pill svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 20px;
  height: 20px;
}

.chat-settings-popover {
  z-index: 12;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  background: #1b1215f5;
  border: 1px solid #ffffff29;
  border-radius: 11px;
  width: 235px;
  padding: 5px;
  position: absolute;
  top: 51px;
  right: 14px;
  overflow: hidden;
  box-shadow: 0 18px 50px #00000061;
}

.chat-settings-popover button {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  width: 100%;
  padding: 9px;
  display: grid;
}

.chat-settings-popover button:hover {
  background: #ffffff12;
}

.chat-settings-popover button > span {
  color: #d8bdc6;
  background: #ffffff12;
  border-radius: 50%;
  place-items: center;
  width: 25px;
  height: 25px;
  display: grid;
}

.chat-settings-popover b {
  font-size: 10px;
  display: block;
}

.chat-settings-popover small {
  color: #ffffff73;
  margin-top: 2px;
  font-size: 8px;
  line-height: 1.4;
  display: block;
}

.reference-message-stage {
  scrollbar-width: thin;
  scrollbar-color: #ffffff26 transparent;
  min-height: 0;
  position: relative;
  overflow-y: auto;
}

.reference-message-list {
  width: 100%;
  min-height: 100%;
  padding: 12px 16px 18px;
}

.ai-notice, .encryption-note {
  text-align: center;
  color: #ffffffad;
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

.encryption-note {
  color: #ffffffe0;
}

.tagline-note {
  color: #ffffffb3;
  background: #0c080929;
  border: 1px solid #ffffff47;
  border-radius: 10px;
  margin-top: 10px;
  padding: 9px 12px;
  font-size: 10px;
}

.tagline-note b {
  color: #fff;
}

.reference-opening {
  color: #ffffffd1;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, #262022eb), #1e1b1de6);
  white-space: pre-wrap;
  border: 1px solid #ffffff14;
  border-radius: 12px;
  width: min(72%, 390px);
  margin: 18px 0 12px;
  padding: 12px 13px;
  font-size: 10px;
  font-style: italic;
  line-height: 1.62;
}

.reference-message-row {
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0;
  animation: .25s both messageIn;
  display: flex;
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
}

.reference-message-row.user {
  justify-content: flex-end;
}

.reference-message-avatar {
  border: 1px solid #fff3;
  border-radius: 50%;
  flex: none;
  width: 28px;
  height: 28px;
  position: relative;
  overflow: hidden;
}

.reference-message-avatar img {
  object-fit: cover;
}

.reference-message-stack {
  max-width: 76%;
}

.reference-message-row.user .reference-message-stack {
  flex-direction: column;
  align-items: flex-end;
  display: flex;
}

.reference-bubble {
  color: #ffffffe6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #ffffff0d;
  border: 1px solid #ffffff14;
  border-radius: 3px 12px 12px;
  padding: 10px 12px;
  font-size: 10px;
  line-height: 1.6;
}

.reference-message-row.user .reference-bubble {
  color: #241719;
  background: #fff4ebe0;
  border-radius: 12px 3px 12px 12px;
}

.reference-message-row.failed .reference-bubble {
  color: #fff;
  background: #732a32cc;
}

.reference-message-row.cancelled .reference-bubble {
  color: #ffffffad;
  background: #110b0d38;
  border-style: dashed;
}

.reference-message-stack small {
  color: #ffffff59;
  margin-top: 3px;
  font-size: 7px;
  display: block;
}

.typing {
  background: #110b0d66;
  border-radius: 3px 12px 12px;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  display: flex;
}

.typing i {
  background: #ffffffa6;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  animation: 1.1s infinite bounce;
}

.typing i:nth-child(2) {
  animation-delay: .14s;
}

.typing i:nth-child(3) {
  animation-delay: .28s;
}

@keyframes bounce {
  40% {
    transform: translateY(-4px);
  }
}

.scroll-latest {
  z-index: 5;
  color: #fffc;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  background: #ffffff0f;
  border: 1px solid #ffffff17;
  border-radius: 50%;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-top: -40px;
  padding: 0;
  transition: background .15s, border-color .15s;
  display: grid;
  position: sticky;
  bottom: 10px;
  left: calc(100% - 46px);
}

.scroll-latest:hover {
  background: #ffffff1a;
  border-color: #ffffff24;
}

.scroll-latest:active {
  background: #ffffff24;
}

.scroll-latest svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.reference-composer-panel {
  background: none;
  border-top: 0;
  padding: 8px 16px 16px;
  position: relative;
}

.composer-tools {
  align-items: center;
  gap: 8px;
  height: 30px;
  display: flex;
}

.composer-tools .chat-card-pill {
  color: #ffffffd9;
  cursor: pointer;
  background: #ffffff0f;
  border: 1px solid #ffffff17;
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  max-width: 180px;
  height: 30px;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 600;
  transition: background .15s, border-color .15s;
  display: inline-flex;
}

.composer-tools .chat-card-pill:hover {
  background: #ffffff1a;
  border-color: #ffffff24;
}

.composer-tools .chat-card-pill:active {
  background: #ffffff24;
}

.composer-tools .chat-card-pill .chat-card-pill-label {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.composer-tools .chat-card-pill svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  width: 15px;
  height: 15px;
}

.composer-tools .chat-card-pill svg.comment-ico {
  fill: currentColor;
  stroke: none;
}

.composer-popover {
  z-index: 15;
  color: #fff;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: #1e1417f5;
  border: 1px solid #ffffff2b;
  border-radius: 12px;
  width: 250px;
  padding: 6px;
  position: absolute;
  bottom: 80px;
  left: 15px;
  overflow: hidden;
  box-shadow: 0 18px 55px #0000006b;
}

.composer-popover > header {
  border-bottom: 1px solid #ffffff17;
  padding: 7px 8px 9px;
}

.composer-popover > header b {
  font-size: 11px;
  display: block;
}

.composer-popover > header small {
  color: #ffffff70;
  margin-top: 2px;
  font-size: 8px;
  display: block;
}

.model-popover > button {
  color: #fff;
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 9px 8px;
  display: flex;
}

.model-popover > button:hover, .model-popover > button.selected {
  background: #ffffff12;
}

.model-popover > button span b, .model-popover > button span small {
  display: block;
}

.model-popover > button span b {
  font-size: 10px;
}

.model-popover > button span small {
  color: #ffffff6b;
  margin-top: 2px;
  font-size: 8px;
}

.model-popover > button i {
  color: #e6c9ff;
  font-style: normal;
}

.info-popover > header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.info-popover > header button {
  color: #ffffff8c;
  cursor: pointer;
  background: none;
  border: 0;
}

.info-popover > p {
  align-items: center;
  gap: 8px;
  margin: 10px 8px 7px;
  font-size: 10px;
  display: flex;
}

.info-popover > small {
  color: #ffffff7a;
  padding: 0 8px 8px;
  font-size: 8px;
  line-height: 1.55;
  display: block;
}

.test-user-avatar {
  background: #76525d;
  border-radius: 50%;
  place-items: center;
  width: 27px;
  height: 27px;
  display: grid;
}

.empty-pin svg {
  fill: none;
  stroke: #dac4ca;
  stroke-width: 1px;
  width: 23px;
  height: 23px;
}

.reference-composer {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: #ffffff0e;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  margin-top: 12px;
  padding: 8px 14px;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  box-shadow: 0 6px 20px #00000047;
}

.reference-composer:focus-within {
  border-color: #ffffff2e;
  box-shadow: 0 8px 26px #00000057;
}

.inspiration-button {
  color: #ffffff8c;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 0;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  transition: color .15s;
  display: grid;
}

.inspiration-button:hover {
  color: #ffffffd9;
}

.inspiration-button svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
}

.reference-composer textarea {
  field-sizing: content;
  resize: none;
  color: #fff;
  background: none;
  border: 0;
  outline: 0;
  flex: 1;
  min-width: 0;
  min-height: 20px;
  max-height: 96px;
  padding: 0;
  font-size: 11px;
  line-height: 1.55;
  overflow-y: auto;
}

.reference-composer textarea::placeholder {
  color: #ffffff7a;
}

.reference-send {
  color: #fff;
  cursor: pointer;
  background: #ffffff14;
  border: 1px solid #ffffff1a;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  transition: background .15s, border-color .15s;
  display: grid;
}

.reference-send:hover:not(:disabled) {
  background: #ffffff24;
  border-color: #ffffff29;
}

.reference-send:active:not(:disabled) {
  background: #fff3;
}

.reference-send:disabled {
  opacity: .32;
}

.reference-send svg {
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.2px;
  stroke-linejoin: round;
  width: 16px;
  height: 16px;
}

.reference-send.is-stopping svg {
  fill: #fff;
  stroke: none;
  width: 15px;
  height: 15px;
}

.has-tooltip:after {
  content: attr(data-tooltip);
  z-index: 30;
  color: #ffffffe0;
  opacity: 0;
  pointer-events: none;
  background: #140e10f0;
  border: 1px solid #ffffff21;
  border-radius: 5px;
  min-width: max-content;
  max-width: 210px;
  padding: 5px 7px;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.2;
  transition: opacity .15s, transform .15s;
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translate(-50%, 3px);
  box-shadow: 0 8px 24px #00000040;
}

.has-tooltip:hover:after, .has-tooltip:focus-visible:after {
  opacity: 1;
  transform: translate(-50%);
}

.more-pill.has-tooltip:after {
  inset: calc(100% + 7px) 0 auto auto;
  transform: translateY(-3px);
}

.more-pill.has-tooltip:hover:after, .more-pill.has-tooltip:focus-visible:after {
  transform: none;
}

.composer-error {
  color: #ffd1d8;
  background: #69232e80;
  border: 1px solid #ff91a238;
  border-radius: 7px;
  justify-content: space-between;
  margin-bottom: 5px;
  padding: 6px 9px;
  font-size: 9px;
  display: flex;
}

.composer-error button {
  cursor: pointer;
  background: none;
  border: 0;
}

.guest-quota-banner {
  color: #eee8ff;
  cursor: pointer;
  background: #633da838;
  border: 1px solid #a984ff52;
  border-radius: 9px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 8px;
  padding: 8px 10px;
  font-size: 11px;
  display: flex;
}

.guest-quota-banner span {
  color: #c8afff;
  font-weight: 800;
}

.guest-header-login {
  color: #eee8ff;
  cursor: pointer;
  background: #6f4ccc38;
  border: 1px solid #ae90ff80;
  border-radius: 999px;
  height: 34px;
  padding: 0 13px;
  font-weight: 700;
}

.chat-reference-footer {
  color: #ffffff6e;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  font-size: 8px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 30px;
  right: 30px;
}

.mobile-chat-shell {
  display: none;
  position: fixed;
  inset: 0;
}

.modal-backdrop {
  z-index: 40;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #080506ad;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
}

.restart-modal {
  text-align: center;
  background: #27191c;
  border: 1px solid #ffffff29;
  border-radius: 16px;
  width: min(390px, 100%);
  padding: 30px;
  box-shadow: 0 30px 100px #00000073;
}

.modal-icon {
  color: #eadcff;
  background: #ab89f629;
  border-radius: 50%;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 15px;
  font-size: 23px;
  display: grid;
}

.restart-modal h2 {
  margin: 0;
  font-size: 19px;
}

.restart-modal p {
  color: #ffffff8c;
  margin: 10px 0 22px;
  font-size: 11px;
  line-height: 1.7;
}

.restart-modal > div {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.restart-modal button {
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  font-weight: 600;
}

.restart-modal .secondary {
  color: #eee;
  background: #ffffff14;
}

.restart-modal .danger {
  color: #201316;
  background: #eadcff;
}

.chat-loading, .fatal-state {
  text-align: center;
  background: #180c0e;
  place-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 100dvh;
  display: grid;
}

.loading-mark {
  align-items: center;
  gap: 4px;
  height: 38px;
  display: flex;
}

.loading-mark i {
  background: #c397ff;
  border-radius: 5px;
  width: 5px;
  animation: 1s infinite bars;
}

.loading-mark i:first-child {
  height: 17px;
}

.loading-mark i:nth-child(2) {
  height: 32px;
  animation-delay: .12s;
}

.loading-mark i:nth-child(3) {
  height: 23px;
  animation-delay: .24s;
}

@keyframes bars {
  50% {
    opacity: .5;
    transform: scaleY(.55);
  }
}

.chat-loading p, .fatal-state p {
  color: #ffffff80;
  font-size: 11px;
}

.fatal-state h1 {
  margin: 0;
}

.fatal-state button {
  color: #211418;
  background: #eadcff;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
}

@media (max-width: 1100px) {
  .tipsy-grid {
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  }

  .feed-tabs button {
    padding: 0 12px;
  }

  .reference-chat-workspace {
    grid-template-columns: 285px minmax(0, 1fr);
    width: min(930px, 100% - 104px);
    margin-left: 84px;
    margin-right: 20px;
  }
}

@media (max-width: 820px) {
  .tipsy-header {
    padding: 0 16px;
  }

  .feed-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feed-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 7px 0 12px;
  }

  .feed-tabs {
    scrollbar-width: none;
    width: 100%;
    overflow-x: auto;
  }

  .feed-tabs::-webkit-scrollbar {
    display: none;
  }

  .feed-tabs button {
    flex: none;
  }

  .feed-filters {
    justify-content: flex-start;
  }

  .tipsy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .account-button > span, .card-hover-detail {
    display: none;
  }

  .tipsy-card:hover .card-copy, .tipsy-card:focus-within .card-copy {
    opacity: 1;
  }

  .reference-footer small {
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .reference-chat-workspace {
    grid-template-columns: minmax(0, 1fr);
    width: min(650px, 100% - 104px);
    height: calc(100dvh - 104px);
    margin: 20px 20px 0 84px;
  }

  .reference-chat-workspace.profile-collapsed .reference-conversation {
    grid-column: 1;
  }

  .role-profile {
    z-index: 12;
    width: min(322px, 90vw);
    position: absolute;
    inset: 0 auto 0 0;
  }

  .reference-conversation {
    grid-column: 1;
  }

  .chat-reference-footer {
    display: none;
  }
}

@media (max-width: 560px) {
  .tipsy-header {
    min-height: 56px;
    padding: 0 10px;
  }

  .tipsy-header .brand {
    font-size: 21px;
  }

  .header-brand-group {
    gap: 8px;
  }

  .community-link {
    justify-content: center;
    width: 34px;
    padding: 0;
  }

  .community-link span {
    display: none;
  }

  .tipsy-header-right {
    gap: 5px;
  }

  .header-circle {
    width: 34px;
    height: 34px;
  }

  .coin-button {
    height: 34px;
    padding: 0 7px;
  }

  .coin-button > span {
    width: 20px;
    height: 20px;
  }

  .account-button {
    width: 34px;
    height: 34px;
    padding: 4px;
  }

  .account-button > b {
    display: none;
  }

  .account-button > i {
    width: 24px;
    height: 24px;
  }

  .enhanced-search {
    top: 50px;
    right: 10px;
  }

  .header-dropdown {
    top: 40px;
  }

  .language-menu {
    right: -72px;
  }

  .feed-content {
    padding: 0 10px 18px;
  }

  .feed-controls {
    min-height: 88px;
  }

  .feed-tabs {
    gap: 2px;
  }

  .feed-tabs button {
    height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .tipsy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .tipsy-card {
    aspect-ratio: .588;
    border-radius: 7px;
    width: 100%;
    margin: 0;
  }

  .card-copy {
    gap: 4px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  .card-copy strong {
    font-size: 15px;
  }

  .card-tagline {
    max-height: 36px;
    font-size: 10px;
  }

  .chat-count {
    font-size: 8px;
  }

  .character-tag {
    max-width: 34%;
    padding: 3px 5px;
    font-size: 8px;
  }

  .character-tag-tertiary {
    display: none;
  }

  .tag-filter-panel {
    width: calc(100vw - 20px);
  }

  .chat-count svg {
    width: 11px;
    height: 11px;
  }

  .reference-footer {
    gap: 14px;
    padding: 16px 12px;
  }

  .chat-site-header .header-circle {
    display: none;
  }

  .reference-chat-workspace {
    width: 100%;
    height: calc(100dvh - 52px);
    margin: 0;
  }

  .reference-conversation {
    border-width: 1px 0 0;
    border-radius: 12px 12px 0 0;
  }

  .role-profile {
    border-radius: 0 12px 12px 0;
    top: 0;
    bottom: 0;
  }

  .model-control select {
    max-width: 130px;
  }

  .reference-opening {
    width: 88%;
  }

  .composer-tools button:not(.icon-only) {
    justify-content: center;
    width: 27px;
    padding: 0;
    font-size: 0;
  }

  .composer-tools button:not(.icon-only) svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 767px) {
  html, body {
    min-width: 0;
    overflow-x: hidden;
  }

  .reference-chat-shell > .chat-world-bg, .reference-chat-shell > .chat-world-overlay, .reference-chat-shell > .chat-site-header, .reference-chat-shell > .chat-history-rail, .reference-chat-shell > .reference-chat-workspace, .reference-chat-shell > .chat-reference-footer {
    display: none;
  }

  .mobile-chat-shell {
    z-index: 1;
    isolation: isolate;
    background: #170f11;
    flex-direction: column;
    min-width: 0;
    height: 100dvh;
    display: flex;
    position: fixed;
    inset: 0;
    overflow: hidden;
  }

  .mobile-chat-background {
    z-index: -3;
    object-fit: cover;
    object-position: top center;
  }

  .mobile-chat-shade {
    z-index: -2;
    background: linear-gradient(#08050629 0, #08050647 46%, #0a0607ad 78%, #0a0607eb 100%), linear-gradient(90deg, #0a060738, #0000 50%, #0a06072e);
    position: absolute;
    inset: 0;
  }

  .mobile-chat-header {
    height: calc(48px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 11px 6px;
    background: linear-gradient(#080506ad, #0805061f);
    flex: none;
    align-items: flex-end;
    gap: 9px;
    display: flex;
  }

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

  .mobile-round-button svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 26px;
    height: 26px;
  }

  .mobile-character-button {
    color: #fff;
    text-align: left;
    background: none;
    border: 0;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 36px;
    padding: 0 9px 0 0;
    display: flex;
  }

  .mobile-character-button > span {
    border: 1px solid #ffffffa6;
    border-radius: 50%;
    flex: none;
    width: 34px;
    height: 34px;
    position: relative;
    overflow: hidden;
  }

  .mobile-character-button img {
    object-fit: cover;
  }

  .mobile-character-button b {
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 2px 9px #0000008c;
    max-width: min(58vw, 230px);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
  }

  .mobile-character-button i {
    color: #cab2ff;
    font-size: 11px;
    font-style: normal;
  }

  .mobile-message-stage {
    overscroll-behavior: contain;
    scrollbar-width: none;
    flex: auto;
    min-height: 0;
    position: relative;
    overflow: hidden auto;
  }

  .mobile-message-stage::-webkit-scrollbar {
    display: none;
  }

  .mobile-message-list {
    min-height: 100%;
    padding: 9px 13px 28px;
  }

  .mobile-ai-notice, .mobile-encryption-note {
    color: #ffffffad;
    text-align: center;
    text-shadow: 0 1px 7px #000000b3;
    margin: 0;
    font-size: 8px;
    line-height: 1.45;
  }

  .mobile-encryption-note {
    color: #ffffffe6;
  }

  .mobile-tagline {
    color: #ffffffd1;
    -webkit-backdrop-filter: blur(9px);
    backdrop-filter: blur(9px);
    background: #0f0a0c3d;
    border: 1px solid #ffffff4d;
    border-radius: 9px;
    margin: 8px auto 0;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 1.45;
  }

  .mobile-tagline b {
    color: #fff;
  }

  .mobile-opening {
    color: #ffffffe6;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 65%, #8b4e2b), #723e29d6);
    white-space: pre-wrap;
    border: 1px solid #ffffff1a;
    border-radius: 4px 13px 13px;
    width: min(86%, 340px);
    margin: 16px 0 13px;
    padding: 11px 12px;
    font-size: 11px;
    font-style: italic;
    line-height: 1.58;
    box-shadow: 0 10px 26px #0003;
  }

  .mobile-message-row {
    align-items: flex-start;
    gap: 7px;
    margin: 10px 0;
    animation: .25s both messageIn;
    display: flex;
  }

  .mobile-message-row.user {
    justify-content: flex-end;
  }

  .mobile-message-avatar {
    border: 1px solid #ffffff52;
    border-radius: 50%;
    flex: none;
    width: 28px;
    height: 28px;
    position: relative;
    overflow: hidden;
  }

  .mobile-message-avatar img {
    object-fit: cover;
  }

  .mobile-message-stack {
    max-width: 82%;
  }

  .mobile-message-row.user .mobile-message-stack {
    flex-direction: column;
    align-items: flex-end;
    display: flex;
  }

  .mobile-bubble {
    color: #ffffffed;
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    background: #28181c9e;
    border: 1px solid #ffffff26;
    border-radius: 4px 13px 13px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.58;
    box-shadow: 0 8px 22px #00000026;
  }

  .mobile-message-row.user .mobile-bubble {
    color: #2c1c20;
    background: #fff7f0eb;
    border-radius: 13px 4px 13px 13px;
  }

  .mobile-message-row.failed .mobile-bubble {
    color: #fff;
    background: #792b36e6;
  }

  .mobile-message-row.cancelled .mobile-bubble {
    color: #ffffffb8;
    background: #28181c61;
    border-style: dashed;
  }

  .mobile-message-stack small {
    color: #ffffff7a;
    text-shadow: 0 1px 5px #000;
    margin-top: 3px;
    font-size: 8px;
    display: block;
  }

  .mobile-scroll-latest {
    z-index: 4;
    color: #fff;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background: #140d0fb3;
    border: 1px solid #ffffff59;
    border-radius: 50%;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-top: -42px;
    padding: 0;
    display: grid;
    position: sticky;
    bottom: 7px;
    left: calc(100% - 51px);
  }

  .mobile-scroll-latest svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 30px;
    height: 30px;
  }

  .mobile-composer-panel {
    padding: 6px 10px max(9px, env(safe-area-inset-bottom));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: linear-gradient(#0f0f1100, #0f0f119e 22%, #0f0f11db);
    flex: none;
    position: relative;
  }

  .mobile-composer-error {
    color: #ffe0e5;
    background: #5b1d28cc;
    border: 1px solid #ff91a24d;
    border-radius: 8px;
    justify-content: space-between;
    margin-bottom: 4px;
    padding: 6px 9px;
    font-size: 10px;
    display: flex;
  }

  .mobile-composer-error button {
    background: none;
    border: 0;
  }

  .guest-quota-banner {
    margin-bottom: 6px;
    font-size: 10px;
  }

  .mobile-tool-row {
    align-items: center;
    gap: 8px;
    height: 30px;
    display: flex;
  }

  .mobile-tool-row > span {
    flex: 1;
  }

  .mobile-card-pill {
    color: #ffffffd9;
    background: #ffffff0f;
    border: 1px solid #ffffff17;
    border-radius: 10px;
    align-items: center;
    gap: 6px;
    max-width: 150px;
    height: 30px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
  }

  .mobile-card-pill .mobile-card-pill-label {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }

  .mobile-card-pill svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.15px;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
    width: 16px;
    height: 16px;
  }

  .mobile-card-pill svg.comment-ico {
    fill: currentColor;
    stroke: none;
  }

  .mobile-header-more {
    margin-left: auto;
  }

  .mobile-header-more svg {
    fill: currentColor;
    stroke: none;
    width: 22px;
    height: 22px;
  }

  .mobile-composer {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background: #ffffff0e;
    border: 1px solid #ffffff1a;
    border-radius: 14px;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 10px;
    padding: 6px 8px 6px 12px;
    display: flex;
    box-shadow: 0 6px 20px #00000047;
  }

  .mobile-composer:focus-within {
    border-color: #ffffff2e;
  }

  .mobile-inspire-btn {
    color: #ffffff8c;
    background: none;
    border: 0;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    display: grid;
  }

  .mobile-inspire-btn svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.15px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 20px;
    height: 20px;
  }

  .mobile-composer textarea {
    field-sizing: content;
    resize: none;
    color: #fff;
    background: none;
    border: 0;
    outline: 0;
    flex: 1;
    min-width: 0;
    min-height: 22px;
    max-height: 110px;
    padding: 0;
    font-size: 13px;
    line-height: 1.4;
    overflow-y: auto;
  }

  .mobile-composer textarea::placeholder {
    color: #ffffff7a;
  }

  .mobile-send {
    color: #fff;
    background: #ffffff14;
    border: 1px solid #ffffff1a;
    border-radius: 50%;
    flex: none;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    display: grid;
  }

  .mobile-send:disabled {
    opacity: .32;
  }

  .mobile-send svg {
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.2px;
    width: 17px;
    height: 17px;
  }

  .mobile-send.is-stopping {
    background: #ffffff29;
  }

  .mobile-send.is-stopping svg {
    fill: currentColor;
    stroke: none;
    width: 15px;
    height: 15px;
  }

  .mobile-sheet-backdrop {
    z-index: 50;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: #0503048f;
    align-items: flex-end;
    display: flex;
    position: fixed;
    inset: 0;
  }

  .mobile-profile-sheet, .mobile-tool-sheet {
    color: #fff;
    background: linear-gradient(#2b1c20fa, #181012fc);
    border: 1px solid #ffffff2b;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 -20px 70px #0000006b;
  }

  .mobile-profile-sheet {
    flex-direction: column;
    height: min(91dvh, 800px);
    display: flex;
  }

  .mobile-sheet-handle {
    background: #ffffff47;
    border-radius: 999px;
    flex: none;
    width: 40px;
    height: 4px;
    margin: 8px auto 4px;
  }

  .mobile-profile-actions {
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 13px;
    display: flex;
  }

  .mobile-profile-actions button {
    color: #ffffffd6;
    background: #ffffff0f;
    border: 1px solid #ffffff2e;
    border-radius: 999px;
    place-items: center;
    height: 32px;
    padding: 0;
    display: grid;
  }

  .mobile-profile-actions button:not(.mobile-cid) {
    width: 32px;
  }

  .mobile-profile-actions .mobile-cid {
    margin-right: auto;
    padding: 0 11px;
    font-size: 10px;
  }

  .mobile-profile-actions svg, .mobile-tool-sheet > header svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 18px;
    height: 18px;
  }

  .mobile-profile-scroll {
    min-height: 0;
    padding: 8px 15px max(24px, env(safe-area-inset-bottom));
    scrollbar-width: none;
    flex: 1;
    overflow-y: auto;
  }

  .mobile-profile-scroll::-webkit-scrollbar {
    display: none;
  }

  .mobile-profile-hero {
    justify-content: space-between;
    align-items: flex-end;
    display: flex;
  }

  .mobile-profile-hero > span {
    border: 1px solid #ffffff73;
    border-radius: 22px;
    width: 82px;
    height: 82px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 26px #0000004d;
  }

  .mobile-profile-hero img {
    object-fit: cover;
  }

  .mobile-profile-social {
    gap: 8px;
    display: flex;
  }

  .mobile-profile-social button {
    color: #ffffffd1;
    background: #ffffff0f;
    border: 1px solid #ffffff2e;
    border-radius: 12px;
    grid-template-rows: 27px 14px;
    grid-template-columns: 21px 1fr;
    align-items: center;
    min-width: 67px;
    height: 54px;
    padding: 4px 8px;
    display: grid;
  }

  .mobile-profile-social button.active {
    color: #ffd1dc;
    background: #742f4457;
    border-color: #ffb7cc80;
  }

  .mobile-profile-social svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 20px;
    height: 20px;
  }

  .mobile-profile-social b {
    font-size: 12px;
  }

  .mobile-profile-social small {
    color: #ffffff7a;
    grid-column: 1 / -1;
    font-size: 8px;
  }

  .mobile-profile-scroll > h1 {
    align-items: center;
    gap: 6px;
    margin: 12px 0 8px;
    font-size: 24px;
    line-height: 1;
    display: flex;
  }

  .mobile-profile-scroll > h1 i {
    color: #c5adff;
    font-size: 12px;
    font-style: normal;
  }

  .mobile-profile-tags {
    flex-wrap: wrap;
    gap: 6px;
    display: flex;
  }

  .mobile-profile-tags span {
    color: #fffc;
    background: #ffffff0a;
    border: 1px solid #ffffff3d;
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 9px;
  }

  .mobile-profile-stats {
    background: #ffffff0f;
    border: 1px solid #ffffff21;
    border-radius: 13px;
    grid-template-columns: 1.2fr 1fr 1fr;
    margin-top: 13px;
    padding: 11px 4px;
    display: grid;
  }

  .mobile-profile-stats > div {
    border-left: 1px solid #ffffff21;
    justify-items: center;
    gap: 6px;
    min-width: 0;
    padding: 0 5px;
    display: grid;
  }

  .mobile-profile-stats > div:first-child {
    border: 0;
  }

  .mobile-profile-stats small {
    color: #ffffff7a;
    font-size: 8px;
  }

  .mobile-profile-stats strong {
    text-overflow: ellipsis;
    white-space: nowrap;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    font-size: 12px;
    display: flex;
    overflow: hidden;
  }

  .mobile-profile-stats strong i {
    background: #865d52;
    border-radius: 50%;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    font-size: 8px;
    font-style: normal;
    display: grid;
  }

  .mobile-profile-section {
    background: #0906074d;
    border: 1px solid #ffffff21;
    border-radius: 13px;
    margin-top: 12px;
    overflow: hidden;
  }

  .mobile-profile-section > header {
    border-bottom: 1px solid #ffffff1a;
    justify-content: space-between;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    display: flex;
  }

  .mobile-profile-section header b {
    font-size: 11px;
  }

  .mobile-profile-section header span {
    color: #ffffff73;
    font-size: 9px;
  }

  .mobile-profile-section article {
    border-bottom: 1px solid #ffffff14;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 8px 10px;
    display: grid;
  }

  .mobile-profile-section article:last-child {
    border: 0;
  }

  .mobile-profile-section article > i {
    background: linear-gradient(145deg, #ba776c, #51333a);
    border-radius: 50%;
    place-items: center;
    width: 28px;
    height: 28px;
    font-size: 8px;
    font-style: normal;
    display: grid;
  }

  .mobile-profile-section article div {
    min-width: 0;
  }

  .mobile-profile-section article div b {
    font-size: 9px;
  }

  .mobile-profile-section article p {
    color: #ffffffab;
    margin: 3px 0 0;
    font-size: 9px;
    line-height: 1.35;
  }

  .mobile-profile-section article > span {
    color: #ffffff85;
    font-size: 8px;
  }

  .mobile-memory-section article {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .mobile-profile-copy {
    background: #ffffff0a;
    border: 1px solid #ffffff1f;
    border-radius: 13px;
    margin-top: 12px;
    padding: 12px;
  }

  .mobile-profile-copy small {
    color: #ffffff7a;
    font-size: 9px;
  }

  .mobile-profile-copy p {
    color: #ffffffd6;
    white-space: pre-wrap;
    margin: 6px 0 0;
    font-size: 11px;
    line-height: 1.55;
  }

  .mobile-tool-backdrop {
    z-index: 55;
  }

  .mobile-tool-sheet {
    max-height: 70dvh;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }

  .mobile-tool-sheet > header {
    border-bottom: 1px solid #ffffff1a;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    padding: 0 15px;
    display: flex;
  }

  .mobile-tool-sheet > header b {
    font-size: 14px;
  }

  .mobile-tool-sheet > header button {
    color: #ffffffb3;
    background: none;
    border: 0;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    display: grid;
  }

  .mobile-model-list {
    padding: 7px 10px;
  }

  .mobile-model-list > button {
    color: #fff;
    text-align: left;
    background: none;
    border: 0;
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 8px 10px;
    display: flex;
  }

  .mobile-model-list > button.selected {
    background: #ffffff14;
  }

  .mobile-model-list span b, .mobile-model-list span small {
    display: block;
  }

  .mobile-model-list span b {
    font-size: 12px;
  }

  .mobile-model-list span small {
    color: #ffffff73;
    margin-top: 4px;
    font-size: 9px;
  }

  .mobile-model-list i {
    color: #d9c2ff;
    font-style: normal;
  }

  .mobile-sheet-copy {
    align-items: flex-start;
    gap: 10px;
    padding: 18px 16px;
    display: flex;
  }

  .mobile-sheet-copy b {
    font-size: 12px;
  }

  .mobile-sheet-copy p {
    color: #ffffff94;
    margin: 5px 0 0;
    font-size: 10px;
    line-height: 1.5;
  }

  .mobile-sheet-list {
    padding: 12px 16px;
  }

  .mobile-sheet-list p {
    color: #ffffffa6;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 11px;
    display: flex;
  }

  .mobile-sheet-list svg {
    fill: none;
    stroke: currentColor;
    width: 23px;
    height: 23px;
  }

  .mobile-sheet-menu {
    padding: 7px 10px;
  }

  .mobile-sheet-menu > button {
    color: #fff;
    text-align: left;
    background: none;
    border: 0;
    border-radius: 10px;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 58px;
    padding: 8px 10px;
    display: grid;
  }

  .mobile-sheet-menu > button:active {
    background: #ffffff12;
  }

  .mobile-sheet-menu svg {
    fill: none;
    stroke: #d9c3ca;
    stroke-width: 1.3px;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 23px;
    height: 23px;
  }

  .mobile-sheet-menu span b, .mobile-sheet-menu span small {
    display: block;
  }

  .mobile-sheet-menu span b {
    font-size: 11px;
  }

  .mobile-sheet-menu span small {
    color: #ffffff70;
    margin-top: 3px;
    font-size: 8px;
  }

  .reference-chat-shell .modal-backdrop {
    z-index: 80;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/