:root {
  --bg: #faf5f3;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #5a5a66;
  --accent: #f24405;
  --accent-soft: #ffe8d7;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  height: 100vh;
  font-family: "New Spirit", "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

html {
  height: 100%;
}

@font-face {
  font-family: "New Spirit";
  src: url("./New-Spirit-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.page {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
}

.stack-shell {
  width: 100%;
  max-width: 420px;
  min-height: 100vh;
  height: 100vh;
  background: radial-gradient(circle at 20% 15%, rgba(242, 68, 5, 0.06), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(255, 232, 215, 0.6), transparent 34%),
    var(--bg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.stack {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}

.view {
  display: none;
  min-height: 100vh;
}

.view--active {
  display: block;
}

#chat-view {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 100%;
}

.deck {
  position: relative;
  flex: 1;
  min-height: 100%;
  height: 100%;
}

.card {
  background: var(--bg);
  border-radius: 0;
  box-shadow: var(--shadow);
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--border);
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 120px;
}

.card-layer {
  position: absolute;
  inset: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  min-height: 100%;
  height: 100%;
}

.card-layer.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 3;
}

.card-layer.is-next {
  opacity: 0.45;
  transform: translateY(12px) scale(0.97);
  z-index: 2;
}

.card-layer.is-back {
  opacity: 0.25;
  transform: translateY(22px) scale(0.94);
  z-index: 1;
}

.card-top {
  background: var(--panel);
  border-radius: 0 0 32px 32px;
  padding: 22px 22px 24px;
  position: relative;
  z-index: 2;
}

.card-top__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.identity {
  display: grid;
  gap: 6px;
}

.identity__name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.identity__meta {
  display: grid;
  gap: 2px;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.action-btn {
  border-radius: 999px;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  padding: 10px 0;
}

.action-btn:active {
  transform: translateY(1px);
}

.action-btn--skip {
  background: #e5e5e7;
  color: #6b6b76;
  border-color: var(--border);
}

.action-btn--like {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.28);
}

.card-top__desc {
  margin-top: 12px;
  font-size: 15px;
  color: #111;
  line-height: 1.45;
  text-align: center;
}

.badge-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 12px;
  flex-wrap: wrap;
}

.media {
  padding: 0;
  margin-top: -32px;
  position: relative;
  z-index: 1;
}

.photos {
  display: grid;
  gap: 0;
  margin: 0;
}

.photos figure {
  margin: 0;
}

.photo {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(242, 68, 5, 0.22), rgba(255, 232, 215, 0.35));
  min-height: 320px;
  width: 100%;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo__label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.photo__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.prompt-card {
  margin-top: 14px;
  background: transparent;
  border-radius: 0;
  padding: 0 16px;
  color: #111;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.prompt-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.prompt-body {
  font-size: 16px;
}

.tabbar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px;
  justify-content: center;
  width: min(420px, 100% - 32px);
  z-index: 50;
  pointer-events: auto;
}

.tab {
  border: none;
  border-radius: 28px;
  padding: 10px;
  width: 78px;
  height: 71px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-soft);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.tab--active {
  background: var(--accent);
  color: #fff;
}

.tab__icon {
  width: 26px;
  height: 26px;
  background: #fff;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  mask-size: contain;
  -webkit-mask-size: contain;
}

.tab__label {
  letter-spacing: 0.02em;
  font-size: 13px;
}

.profile-overlay__btn--temp-hidden {
  display: none;
}

.tab__badge {
  position: absolute;
  top: 4px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #e8243e;
  color: #fff;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-2px);
}

.tab__badge.tab__badge--visible {
  opacity: 1;
  visibility: visible;
}

.tab[data-tab="users"] .tab__icon {
  mask-image: url("./img/people.svg");
  -webkit-mask-image: url("./img/people.svg");
}

.tab[data-tab="chats"] .tab__icon {
  mask-image: url("./img/matches.svg");
  -webkit-mask-image: url("./img/matches.svg");
}

.empty-state {
  padding: 120px 24px;
  text-align: center;
  color: #111;
}

.empty-catchup {
  display: grid;
  place-items: center;
  place-content: center;
  text-align: center;
  padding: 120px 24px 140px;
  color: #141414;
  gap: 26px;
  min-height: 70vh;
}

.empty-catchup__art {
  position: relative;
  width: 120px;
  height: 86px;
}

.empty-catchup__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.empty-catchup__title {
  font-size: 34px;
  line-height: 1.1;
  margin: 0;
  font-weight: 700;
}

.empty-catchup__subtitle,
.empty-catchup__invite {
  font-size: 15px;
  line-height: 1.5;
  color: #1b1b1b;
}

.empty-catchup__invite {
  color: #2c2c2c;
}

.empty-catchup__cta {
  border: none;
  border-radius: 999px;
  background: #ef1b3f;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  min-width: 220px;
  cursor: pointer;
}

.empty-state__title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

.avatar-thumb {
  position: fixed;
  top: 14px;
  right: calc((100% - min(420px, 100%)) / 2 + 14px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  z-index: 40;
}

.floating-avatar {
  position: fixed;
  top: 14px;
  right: calc((100% - min(420px, 100%)) / 2 + 14px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #d9d9d9;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  z-index: 60;
}

.profile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(250, 245, 243, 0.98);
  backdrop-filter: blur(4px);
  display: none;
  flex-direction: column;
  align-items: center;
  z-index: 200;
  overflow-y: auto;
  padding: 40px 20px 120px;
}

.profile-overlay.is-open {
  display: flex;
}

.profile-overlay__back {
  position: absolute;
  top: 16px;
  left: calc((100% - min(420px, 100%)) / 2 + 16px);
  cursor: pointer;
}

.profile-overlay__body {
  width: min(420px, 100%);
  display: grid;
  gap: 18px;
  justify-items: center;
}

.profile-overlay__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #d9d9d9;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.06em;
}

.profile-overlay__name {
  font-size: 26px;
  font-weight: 800;
}

.profile-overlay__actions {
  width: 100%;
  display: grid;
  gap: 12px;
}

.profile-overlay__btn {
  width: 100%;
  padding: 14px;
  border-radius: 18px;
  border: 1.5px solid #111;
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.profile-overlay__footer {
  text-align: center;
  font-size: 14px;
  color: #111;
  margin-top: 10px;
}

.profile-overlay__footer a {
  color: #1f4f9c;
}

.profile-overlay__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.profile-overlay__btn--accent {
  color: #e8243e;
}

.profile-overlay__btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.profile-view {
  position: fixed;
  inset: 0;
  background: rgba(250, 245, 243, 0.98);
  display: none;
  align-items: stretch;
  justify-content: stretch;
  z-index: 420;
}

.profile-view.is-open {
  display: flex;
}

.profile-view__shell {
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

.profile-view__back {
  background: transparent;
  border: none;
  justify-self: start;
}

.profile-view__hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 320px;
  background: #c7c7cf;
  display: grid;
  place-items: stretch;
  background-size: cover;
  background-position: center;
}

.profile-view__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-view__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  display: grid;
  align-content: end;
  padding: 18px;
  gap: 8px;
  color: #fff;
}

.profile-view__name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.profile-view__meta {
  display: grid;
  gap: 4px;
  font-size: 15px;
  line-height: 1.3;
}

.profile-view__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.profile-view__body {
  flex: 1;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 0;
  overflow-y: auto;
}

.profile-view .actions,
.profile-view .card-top__desc {
  display: none;
}

.profile-view__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-view__gallery figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #d9d9de;
}

.profile-view__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media.media--readonly .actions {
  display: none;
}

.profile-view__desc {
  font-size: 15px;
  color: #111;
  line-height: 1.4;
}

.profile-view__prompt {
  border: 1.5px dashed #c8c8ce;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.profile-view__prompt-title {
  font-weight: 800;
  font-size: 14px;
  color: #5b5b64;
}

.profile-view__prompt-body {
  font-size: 15px;
}


.loader {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.loader__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff9966);
  animation: pulse 1.1s infinite ease-in-out;
}

.loader__dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader__dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {

  0%,
  80%,
  100% {
    transform: scale(0.9);
    opacity: 0.5;
  }

  40% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.circle-loader {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.circle-loader__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: circle-step 1.75s infinite ease-in-out;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.circle-loader__dot:nth-child(1) {
  background: var(--accent);
  animation-delay: 0s;
}

.circle-loader__dot:nth-child(2) {
  background: #f79a3e;
  animation-delay: 0.15s;
}

.circle-loader__dot:nth-child(3) {
  background: #f4d35e;
  animation-delay: 0.3s;
}

.circle-loader__dot:nth-child(4) {
  background: #6bd8c3;
  animation-delay: 0.45s;
}

.circle-loader__dot:nth-child(5) {
  background: #83aef1;
  animation-delay: 0.6s;
}

.circle-loader__label {
  margin-left: 8px;
  font-weight: 600;
  font-size: 14px;
}

@keyframes circle-step {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  25% {
    transform: scale(1.45);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
  }

  50% {
    transform: scale(1.1);
  }
}

.splash-screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  background: var(--bg);
  z-index: 500;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 24px 20px 32px;
}

.splash-screen__content {
  flex: 1;
  display: grid;
  place-items: center;
}

.splash-screen img {
  width: min(520px, 92%);
  height: auto;
  display: block;
  margin: auto;
}

.splash-screen__start {
  display: none;
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  width: calc(100% - 40px);
  max-width: 420px;
  transform: translateX(-50%);
  z-index: 510;
}

.splash-screen__start.is-visible {
  display: block;
}

.splash-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.global-loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(250, 245, 243, 0.8);
  z-index: 600;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.global-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.match-dialog {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 700;
  background: rgba(15, 23, 42, 0.65);
}

.match-dialog.is-open {
  display: flex;
}

.match-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.match-dialog__panel {
  position: relative;
  background: #fff;
  padding: 34px 28px 28px;
  border-radius: 28px;
  text-align: center;
  width: min(360px, 90%);
  box-shadow: 0 30px 58px rgba(15, 23, 42, 0.3);
  z-index: 1;
  display: grid;
  gap: 12px;
}

.match-dialog__title {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.match-dialog__avatars {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
}

.match-dialog__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #f0f0f5;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #111;
}

.match-dialog__avatar:first-child {
  margin-right: -16px;
  z-index: 2;
}

.match-dialog__avatar:last-child {
  z-index: 1;
}

.match-dialog__text {
  margin: 0;
  font-size: 16px;
}

.match-dialog__subtitle {
  margin: 0;
  font-size: 15px;
  color: #616167;
}

.match-dialog__action {
  border: none;
  background: #f24405;
  color: #fff;
  font-size: 16px;
  padding: 12px 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(242, 68, 5, 0.35);
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px 12px;
}

.chat-header__title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.chat-list-wrapper {
  padding: 8px 12px 120px;
  flex: 1;
  overflow-y: auto;
}

.chat-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--muted);
  text-align: center;
  min-height: 180px;
}

.chat-empty__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.chat-list {
  display: grid;
  gap: 14px;
}

.chat-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.chat-card__avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  border: 3px solid #f4a300;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, #fbbf24, #f97316);
  display: grid;
  place-items: center;
}

.chat-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chat-card__placeholder {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
}

.chat-card__body {
  display: grid;
}

.chat-card__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.chat-card__badge {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 0 8px;
}

.chat-detail {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: none;
  flex-direction: column;
  z-index: 400;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.chat-detail.is-open {
  display: flex;
}

.chat-detail__shell {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  margin: 0 auto;
  min-height: 0;
}

.chat-thread__header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}

.chat-thread__back {
  border: none;
  background: transparent;
  cursor: pointer;
}

.btn-chevron {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--ink);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  mask-image: url("./img/chevron.svg");
  -webkit-mask-image: url("./img/chevron.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.chat-thread__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: #d9d9d9;
  display: grid;
  place-items: center;
}

.chat-thread__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-thread__placeholder {
  font-weight: 800;
  color: var(--ink);
}

.chat-thread__name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 18px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  scroll-padding-bottom: 120px;
  min-height: 0;
}

.chat-thread__empty {
  color: var(--muted);
  text-align: center;
}

.bubble {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 8px;
  max-width: 82%;
}

.bubble--me {
  align-self: flex-end;
}

.bubble--them {
  align-self: flex-start;
}

.bubble--me {
  justify-self: end;
  text-align: right;
}

.bubble--me .bubble__text {
  background: #83aef1;
  color: #fff;
  margin-left: auto;
}

.bubble--them .bubble__text {
  background: #fff;
  color: var(--ink);
}

.bubble__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  background: #d9d9d9;
}

.bubble__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}

.bubble__body {
  display: grid;
  gap: 2px;
}

.bubble__name {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

.bubble__text {
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
  font-size: 15px;
  line-height: 1.4;
}

.chat-input {
  position: sticky;
  bottom: 0;
  padding: 10px 12px calc(18px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(250, 245, 243, 0.9), rgba(250, 245, 243, 1));
}

.chat-input__field {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #111;
  border-radius: 18px;
  padding: 8px 10px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.04);
}

.chat-input input {
  width: 100%;
  border: none;
  padding: 10px 6px;
  font-size: 15px;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.chat-input__send {
  border: none;
  border-radius: 50%;
  background: #e8243e;
  color: #fff;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(232, 36, 62, 0.22);
  font-size: 14px;
  background-color: #e8243e;
}


.chat-input__icon {
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 0;
  mask-image: url("./img/attach.svg");
  -webkit-mask-image: url("./img/attach.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 70%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: 70%;
  background-color: #111;
}

.bubble__image {
  margin-top: 6px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.15);
}

.bubble__image img {
  display: block;
  max-width: min(240px, 72vw);
  height: auto;
}

.meet-card {
  border: 1.5px solid #1a1a1a;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: calc(100% - 24px);
  display: block;
  margin: 0 auto auto;
  min-height: 0;
}

.meet-card__date {
  font-size: 15px;
  color: #5b5b64;
  margin-bottom: 6px;
}

.meet-card__place {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.meet-card__note {
  font-size: 14px;
  color: #3b3b44;
  line-height: 1.35;
}

.profile-edit {
  position: fixed;
  inset: 0;
  background: rgba(250, 245, 243, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 450;
}

.profile-edit.is-open {
  display: flex;
}

.profile-edit__shell {
  width: 100%;
  max-width: 480px;
  height: 100%;
  overflow-y: auto;
  background: var(--bg);
  padding: 16px 16px 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
  position: relative;
}

.profile-edit__header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.profile-edit__title {
  display: none;
}

.profile-edit__form {
  display: grid;
  gap: 14px;
}

.profile-edit__intro {
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.profile-edit__field {
  display: grid;
  gap: 6px;
}

.profile-edit__label {
  font-size: 15px;
  font-weight: 800;
}

.profile-edit__hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.profile-edit__hint--center {
  text-align: center;
}

.profile-edit__hint--small {
  margin-top: 8px;
}

.profile-edit__field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  background: #fff;
}

.profile-edit__chiprow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.chip {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 10px 8px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.chip.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(242, 68, 5, 0.26);
}

.profile-edit__height {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-edit__submit {
  width: 100%;
  border: none;
  border-radius: 26px;
  padding: 16px;
  background: #e8243e;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(232, 36, 62, 0.26);
  position: sticky;
  bottom: 12px;
  z-index: 5;
  transition: transform 0.2s ease;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  margin-top: 8px;
}

.profile-edit__step {
  display: none;
}

.profile-edit__step.is-active {
  display: grid;
}

.profile-edit__stepper {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-top: 4px;
}

.profile-edit__photos {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-edit__photo-slot {
  position: relative;
  padding-top: 100%;
  border: 2px dashed #c8c8ce;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.profile-edit__photo-slot.is-filled {
  border-style: solid;
  border-color: var(--border);
}

.profile-edit__photo-add,
.profile-edit__photo-thumb {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: none;
}

.profile-edit__photo-add span {
  font-size: 26px;
  color: #a1a1ad;
  font-weight: 700;
}

.profile-edit__photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-edit__photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.profile-edit__prompts {
  margin-top: 10px;
  display: grid;
  gap: 12px;
}

.profile-prompt {
  border: 2px dashed #c8c8ce;
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 8px;
  position: relative;
}

.profile-prompt__select {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.profile-prompt__question {
  font-size: 15px;
  font-weight: 700;
}

.profile-prompt__answer {
  width: 100%;
  border: none;
  min-height: 50px;
  background: transparent;
  font-size: 16px;
  outline: none;
  resize: vertical;
}

.profile-prompt__add {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.prompt-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 500;
}

.prompt-modal.is-open {
  display: flex;
}

.prompt-modal__sheet {
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.prompt-modal__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.prompt-modal__title {
  font-size: 18px;
  font-weight: 800;
}

.prompt-modal__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  display: grid;
  gap: 10px;
}

.auth {
  position: fixed;
  inset: 0;
  background: #f8f0ec;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.auth.is-open {
  display: flex;
}

.auth__shell {
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 18px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth__back {
  background: black;
  border: none;
}

.auth__logo-wrap {
  display: grid;
  place-items: center;
  margin-top: 10px;
}

.auth__logo {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 0 35px rgba(255, 72, 72, 0.45));
}

.auth__body {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 14px;
  padding-top: 12px;
}

.auth__step {
  display: none;
  text-align: center;
  gap: 14px;
  align-content: start;
}

.auth__step.is-active {
  display: grid;
}

.auth__subtitle {
  font-size: 14px;
  color: var(--muted);
}

.auth__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.auth__actions {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

.auth__link {
  background: transparent;
  border: none;
  color: var(--ink);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

.auth__link--inline {
  justify-self: center;
  margin-top: 6px;
}

.auth__btn {
  width: 100%;
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  padding: 14px;
  font-weight: 800;
  font-size: 16px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.splash-screen__start.auth__btn {
  width: calc(100% - 40px);
  max-width: 420px;
}

.auth__input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 14px;
  font-size: 16px;
  background: #fff;
  text-align: center;
}

.auth__hint {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.auth__error {
  color: #c12424;
  font-size: 13px;
  min-height: 18px;
}

.auth__email {
  font-size: 14px;
  color: var(--ink);
  word-break: break-all;
}

.auth__consent {
  font-size: 12px;
  color: #111;
}

.auth__consent a {
  color: #111;
}

.auth__help {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0;
}

.auth__help a {
  color: #1f4f9c;
}

.auth__code-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(44px, 1fr));
  gap: 10px;
  margin: 12px 0;
  justify-items: center;
}

.auth__code-group input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  width: clamp(44px, 12vw, 60px);
  max-width: 60px;
  aspect-ratio: 1 / 1;
  font-size: 22px;
  text-align: center;
  background: #fff;
}

.auth__footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(248, 240, 236, 0.9), #f8f0ec 80%);
  padding-top: 8px;
}

.auth__footer .auth__btn {
  border-color: var(--ink);
}

.auth__footer button {
  display: none;
}

.registration {
  position: fixed;
  inset: 0;
  background: #faf5f3;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.registration.is-open {
  display: flex;
}

.registration__shell {
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 18px 20px 30px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  overflow: hidden;
  position: relative;
}

.registration__back {
  border: none;
  align-self: start;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.registration__done-back {
  background: transparent;
  border: none;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.registration__progress {
  width: 100%;
  height: 14px;
  background: #d9d9d9;
  border-radius: 999px;
  overflow: hidden;
}

.registration__progress.is-hidden {
  display: none;
}

.registration__progress-fill {
  height: 100%;
  width: 0;
  background: #e8243e;
  border-radius: 999px;
  transition: width 0.2s ease;
}

.registration__body {
  display: grid;
  align-content: start;
  gap: 20px;
}

.reg-step {
  display: none;
  text-align: center;
  gap: 12px;
}

.reg-step.is-active {
  display: grid;
}

.registration__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 auto;
  max-width: 90%;
}

.registration__subtitle {
  font-size: 14px;
  color: var(--muted);
}

.registration__input {
  width: 100%;
  border: 1.5px solid #111;
  border-radius: 24px;
  padding: 14px;
  font-size: 16px;
  text-align: center;
  background: #fff;
}

.registration__chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  justify-items: center;
}

.registration__chips .chip {
  width: 100%;
  border-radius: 18px;
  border: 1.5px solid #111;
  padding: 10px;
  background: #fff;
  font-weight: 700;
}

.registration__chips .chip.is-active {
  background: #e8243e;
  color: #fff;
  border-color: #e8243e;
}

.registration__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #fff;
  border: 1.5px dashed #b3b3b9;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}

.registration__photo.is-hidden {
  display: none;
}

.registration__photo-grid.is-hidden {
  display: none;
}

.registration__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.registration__photo-placeholder {
  color: #9c9ca3;
  font-weight: 700;
}

.registration__prompt-card {
  border: 1.5px dashed #b3b3b9;
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.registration__prompt-card.is-hidden {
  display: none;
}

.registration__prompt-grid.is-hidden {
  display: none;
}

.registration__prompt-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.registration__prompt-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
}

.registration__prompt-answer {
  width: 100%;
  min-height: 90px;
  border: none;
  font-size: 16px;
  background: transparent;
  outline: none;
  resize: vertical;
}

.registration__footer {
  position: sticky;
  bottom: 12px;
  padding-top: 8px;
  background: linear-gradient(180deg, rgba(250, 245, 243, 0.6), #faf5f3 65%);
  z-index: 2;
  padding-bottom: env(safe-area-inset-bottom, 8px);
  transition: transform 0.2s ease;
}

.registration__btn {
  width: 100%;
  border: none;
  border-radius: 26px;
  padding: 16px;
  background: #e8243e;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(232, 36, 62, 0.26);
}

.registration__error {
  color: #e8243e;
  font-size: 13px;
  min-height: 18px;
  text-align: center;
}

.registration__prompt-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 1001;
}

.registration__prompt-modal.is-open {
  display: flex;
}

.registration__prompt-sheet {
  width: 100%;
  max-width: 420px;
  max-height: 70vh;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  overflow: hidden;
}

.registration__prompt-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.registration__prompt-title {
  font-size: 18px;
  font-weight: 800;
}

.registration__prompt-close {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.registration__prompt-list {
  overflow-y: auto;
  display: grid;
  gap: 10px;
  padding-right: 4px;
  min-height: 0;
}

.reg-prompt-group {
  display: grid;
  gap: 6px;
}

.reg-prompt-group__title {
  font-weight: 800;
}

.reg-prompt-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.reg-prompt-item:hover {
  background: #f5f5f7;
}

.registration__done {
  display: grid;
  gap: 14px;
  text-align: center;
  padding: 32px 6px 40px;
}

.registration__done-title {
  font-size: 44px;
  font-weight: 800;
}

.registration__done-text {
  font-size: 20px;
  font-weight: 700;
}

.registration__done-text--muted {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.registration__done-help {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.registration__done-small {
  font-size: 14px;
  letter-spacing: 0.04em;
}

.registration__link {
  color: #e8243e;
  text-decoration: underline;
  font-weight: 800;
}

.welcome {
  position: fixed;
  inset: 0;
  background: #faf5f3;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.welcome.is-open {
  display: flex;
}

.welcome__shell {
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 24px 20px 32px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 16px;
}

.welcome__content {
  display: grid;
  gap: 18px;
  align-content: center;
  text-align: center;
}

.welcome__headline {
  font-size: 30px;
  font-weight: 800;
  color: #d81d3f;
}

.welcome__mascot {
  display: grid;
  place-items: center;
}

.welcome__mascot img {
  width: min(240px, 70vw);
  height: auto;
  display: block;
}

.welcome__subtitle {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.welcome__footer {
  position: sticky;
  bottom: 0;
}

.welcome__btn {
  width: 100%;
  border: none;
  border-radius: 28px;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.account-settings {
  position: fixed;
  inset: 0;
  background: rgba(250, 245, 243, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 420;
}

.account-settings.is-open {
  display: flex;
}

.account-settings__shell {
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 20px 18px 36px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 18px;
  background: var(--bg);
}

.account-settings__header {
  display: flex;
  align-items: center;
}

.account-settings__profile {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.account-settings__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #d9d9d9;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border: 2px solid #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.account-settings__name {
  font-size: 24px;
  font-weight: 800;
}

.account-settings__actions {
  display: grid;
  gap: 14px;
  align-content: start;
}

.account-settings__btn {
  border: 1.5px solid #111;
  border-radius: 18px;
  padding: 14px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.account-settings__btn--danger {
  border-color: #c0392b;
  color: #c0392b;
}

.account-settings__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.account-settings__help {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.account-settings__help a {
  color: #1f4f9c;
}

.account-settings__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.account-settings__btn--primary {
  color: #e8243e;
}

.campus-plus {
  position: fixed;
  inset: 0;
  background: #faf5f3;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
}

.campus-plus.is-open {
  display: flex;
}

.campus-plus__shell {
  width: 100%;
  max-width: 420px;
  height: 100%;
  padding: 18px 20px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
}

.campus-plus__back {
  border: none;
  align-self: start;
  justify-self: start;
}

.campus-plus__body {
  display: grid;
  gap: 18px;
  align-content: start;
}

.campus-plus__title {
  font-size: 26px;
  color: #e8243e;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.campus-plus__list {
  display: grid;
  gap: 16px;
}

.campus-plus__item-title {
  font-size: 18px;
  font-weight: 800;
}

.campus-plus__item-desc {
  font-size: 14px;
  color: #3b3b44;
}

.campus-plus__footer {
  position: sticky;
  bottom: 12px;
  padding-bottom: env(safe-area-inset-bottom, 8px);
}

.campus-plus__cta {
  width: 100%;
  border: none;
  border-radius: 26px;
  padding: 16px;
  background: #e8243e;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(232, 36, 62, 0.26);
}

.account-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 500;
  padding: 16px;
}

.account-modal.is-open {
  display: flex;
}

.account-modal__sheet {
  width: 100%;
  max-width: 420px;
  background: #fffaf6;
  border-radius: 24px;
  padding: 18px 18px 24px;
  display: grid;
  gap: 16px;
}

.account-modal__header {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
}

.account-modal__content {
  display: grid;
  gap: 12px;
  text-align: center;
}

.account-modal__footer {
  display: grid;
  gap: 10px;
}

.account-modal__image {
  width: 140px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.toggle-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}

.toggle-row__label {
  font-size: 16px;
}

.toggle {
  position: relative;
  width: 54px;
  height: 30px;
}

.toggle input {
  display: none;
}

.toggle__track {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.toggle__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.toggle input:checked+.toggle__track {
  background: #7064ff;
}

.toggle input:checked+.toggle__track+.toggle__thumb {
  transform: translateX(24px);
}

.account-modal__textarea {
  width: 100%;
  min-height: 120px;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  padding: 12px;
  font-size: 15px;
  background: #fff;
}

.account-modal__btn {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 14px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

.account-modal__btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(242, 68, 5, 0.28);
}

.account-modal__btn--ghost {
  background: transparent;
  color: var(--ink);
}

.account-modal__btn--muted {
  background: #b7b7bd;
  color: #fff;
}

.prompt-group {
  display: grid;
  gap: 6px;
}

.prompt-group__title {
  font-weight: 800;
  margin-top: 6px;
}

.prompt-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
}

.prompt-item:hover {
  background: #f5f5f7;
}
