﻿:root {
  color-scheme: dark;
  --bg: #14110f;
  --panel: #211a17;
  --panel-2: #2b211d;
  --text: #f7eee7;
  --muted: #bba99e;
  --line: rgba(255, 238, 222, 0.13);
  --gold: #d9af75;
  --gold-2: #f0d0a0;
  --rose: #9e4f57;
  --danger: #f08a8a;
  --ok: #8ed6b4;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  font-family:
    Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(158, 79, 87, 0.2), transparent 34rem),
    linear-gradient(135deg, #130f0d 0%, #211714 52%, #0f0d0c 100%);
  color: var(--text);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.hidden,
[hidden] {
  display: none !important;
}

.app-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 8, 7, 0.86);
  backdrop-filter: blur(14px);
}

.gate-card,
.auth-card,
.admin-section,
.chat-panel,
.profile-panel,
.modal form {
  border: 1px solid var(--line);
  background: rgba(33, 26, 23, 0.9);
  box-shadow: var(--shadow);
}

.gate-card {
  width: min(560px, 100%);
  border-radius: 8px;
  padding: 32px;
}

.gate-card h1,
.brand-panel h1,
.topbar h1 {
  margin: 0;
  letter-spacing: 0;
}

.gate-card p,
.lead,
.section-heading p,
.empty-state p,
.modal p,
.hint,
.fine-print {
  color: var(--muted);
  line-height: 1.7;
}

.gate-actions,
.top-actions,
.trust-row,
.auth-tabs,
.chat-header,
.chat-person,
.composer,
.status-strip,
.profile-meta,
.row-actions,
.appointment-row,
.profile-edit-row {
  display: flex;
  align-items: center;
}

.gate-actions {
  gap: 12px;
  margin-top: 24px;
}

.primary,
.soft,
.ghost {
  border-radius: 8px;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 700;
}

.primary {
  color: #24160d;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

.soft {
  color: var(--text);
  background: rgba(240, 208, 160, 0.12);
  border: 1px solid rgba(240, 208, 160, 0.22);
}

.ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
}

.wide {
  width: 100%;
}

.small {
  min-height: 36px;
  padding: 0 14px;
}

.auth-view {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - 48px);
  gap: 28px;
  align-items: center;
}

.brand-panel {
  padding: 28px 4px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  border: 1px solid rgba(240, 208, 160, 0.34);
  border-radius: 50%;
  color: var(--gold-2);
  font-size: 30px;
  background: rgba(240, 208, 160, 0.08);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-panel h1 {
  max-width: 660px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 17px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.trust-row span,
.badge,
.pill {
  border: 1px solid rgba(240, 208, 160, 0.2);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(240, 208, 160, 0.08);
}

.trust-row span {
  padding: 8px 12px;
  font-size: 13px;
}

.auth-card {
  border-radius: 8px;
  padding: 24px;
}

.auth-tabs {
  gap: 8px;
  padding: 4px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #17110f;
}

.auth-tabs button {
  flex: 1;
  min-height: 40px;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.auth-tabs button.active {
  color: #22150d;
  background: var(--gold-2);
}

.auth-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 238, 222, 0.14);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  outline: none;
  background: rgba(12, 10, 9, 0.74);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(240, 208, 160, 0.55);
  box-shadow: 0 0 0 3px rgba(240, 208, 160, 0.1);
}

.check-row {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.check-row input {
  width: 18px;
  margin-top: 3px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.topbar h1 {
  font-size: clamp(24px, 4vw, 40px);
}

.admin-subtitle {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 42rem;
  line-height: 1.55;
}

.top-actions {
  gap: 10px;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.status-strip > div,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  background: rgba(33, 26, 23, 0.72);
}

.label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
}

.status-strip strong,
.admin-card strong {
  font-size: 20px;
}

.workspace {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  min-height: 680px;
}

.profile-panel,
.chat-panel {
  border-radius: 8px;
  overflow: hidden;
}

.profile-panel {
  padding: 18px;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading h2 {
  margin: 0;
}

.profile-list {
  display: grid;
  gap: 14px;
}

.profile-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(12, 10, 9, 0.46);
}

.profile-photo {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(20, 17, 15, 0.08), rgba(20, 17, 15, 0.68)),
    var(--photo-bg, linear-gradient(135deg, #6f3a43, #d7a672));
}

.profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  display: block;
}

.photo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 246, 235, 0.85);
  font-size: 46px;
  font-weight: 800;
}

.profile-name {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.profile-name h3 {
  margin: 0;
  font-size: 22px;
}

.profile-name span {
  color: var(--muted);
}

.profile-meta {
  flex-wrap: wrap;
  gap: 6px;
}

.badge,
.pill {
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 800;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.chat-panel {
  min-height: 680px;
}

.empty-state {
  display: grid;
  place-content: center;
  height: 100%;
  padding: 38px;
  text-align: center;
}

.chat-box {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  min-height: 680px;
  height: 100%;
}

.chat-header {
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 9, 0.34);
}

.chat-person {
  gap: 12px;
}

.mini-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff8ef;
  font-weight: 900;
  background: var(--avatar-bg, linear-gradient(135deg, #6f3a43, #d7a672));
}

.chat-name {
  margin: 0;
  font-weight: 900;
}

.chat-sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding: 18px;
}

.message {
  max-width: min(74%, 520px);
  border-radius: 8px;
  padding: 11px 13px;
  line-height: 1.6;
}

.message small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}

.message.user {
  align-self: flex-end;
  color: #22150d;
  background: var(--gold-2);
}

.message.host {
  align-self: flex-start;
  background: #332823;
}

.message.system {
  align-self: center;
  max-width: 92%;
  color: var(--muted);
  background: rgba(255, 238, 222, 0.08);
  text-align: center;
}

.composer {
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.composer input {
  flex: 1;
}

.limit-notice {
  padding: 12px 16px;
  color: var(--gold-2);
  background: rgba(217, 175, 117, 0.12);
  border-top: 1px solid rgba(217, 175, 117, 0.2);
  line-height: 1.6;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.admin-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.admin-section {
  border-radius: 8px;
  padding: 16px;
}

.table-list,
.conversation-list,
.profile-editor {
  display: grid;
  gap: 10px;
}

.data-row {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(12, 10, 9, 0.38);
}

.data-row h3 {
  margin: 0;
  font-size: 16px;
}

.data-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.row-actions {
  flex-wrap: wrap;
  gap: 8px;
}

.conversation-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  color: var(--text);
  text-align: left;
  background: rgba(12, 10, 9, 0.38);
}

.conversation-item.active {
  border-color: rgba(240, 208, 160, 0.58);
  background: rgba(217, 175, 117, 0.1);
}

.conversation-meta {
  display: block;
  margin-top: 0.45rem;
  color: rgba(240, 208, 160, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.admin-chat {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.message-list.compact {
  max-height: 360px;
}

.profile-edit-row {
  gap: 8px;
  align-items: end;
}

.profile-edit-row label {
  flex: 1;
}

.profile-edit-row select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 0.75rem;
  color: var(--text);
  background: rgba(12, 10, 9, 0.72);
}

.modal {
  width: min(520px, calc(100% - 24px));
  padding: 0;
  border: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(6, 5, 4, 0.74);
  backdrop-filter: blur(8px);
}

.modal form {
  position: relative;
  display: grid;
  gap: 14px;
  border-radius: 8px;
  padding: 26px;
}

.modal h2 {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.support-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(240, 208, 160, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(240, 208, 160, 0.08);
}

.support-box span {
  color: var(--muted);
}

.fine-print {
  margin: 0;
  font-size: 12px;
}

.ok {
  color: var(--ok);
}

.danger {
  color: var(--danger);
}

@media (max-width: 960px) {
  .auth-view,
  .workspace,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .auth-view {
    min-height: auto;
  }

  .workspace,
  .chat-box,
  .chat-panel {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 12px;
  }

  .topbar,
  .chat-header {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions,
  .gate-actions {
    width: 100%;
  }

  .top-actions button,
  .gate-actions button {
    flex: 1;
  }

  .status-strip,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .message {
    max-width: 92%;
  }

  .composer {
    align-items: stretch;
  }

  .composer button {
    width: 78px;
    padding: 0 8px;
  }

  .brand-panel h1 {
    font-size: 42px;
  }
}

/* V2 visual direction: soft, inviting mobile-first rendezvous style */
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 224, 232, 0.2), transparent 28rem),
    linear-gradient(180deg, #171211 0%, #211916 48%, #12100f 100%);
}

.auth-view {
  position: relative;
  grid-template-columns: 1fr;
  width: min(440px, 100%);
  min-height: calc(100vh - 48px);
  margin: 0 auto;
  padding: 34px 0 24px;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
}

.auth-view::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.94), rgba(255, 233, 232, 0.6) 18%, transparent 33%),
    radial-gradient(circle at 18% 74%, rgba(255, 247, 235, 0.88), transparent 13%),
    radial-gradient(circle at 82% 78%, rgba(255, 246, 229, 0.9), transparent 13%),
    radial-gradient(circle at 42% 58%, rgba(255, 194, 216, 0.5), transparent 25%),
    linear-gradient(180deg, #f7d5dd 0%, #f9e2d9 42%, #c991a9 100%);
}

.auth-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.58) 31%, transparent 33%),
    linear-gradient(252deg, transparent 0 44%, rgba(255, 255, 255, 0.38) 45%, transparent 47%),
    radial-gradient(ellipse at 50% 92%, rgba(109, 57, 55, 0.26), transparent 34%);
  opacity: 0.9;
}

.brand-panel {
  display: grid;
  justify-items: center;
  padding: 28px 26px 10px;
  text-align: center;
}

.dream-logo {
  position: relative;
  width: 156px;
  height: 132px;
  margin: 10px auto 10px;
  filter: drop-shadow(0 22px 28px rgba(130, 72, 72, 0.28));
}

.heart-core,
.heart-core::before,
.heart-core::after {
  position: absolute;
  display: block;
  background: linear-gradient(135deg, #f7a7b2 0%, #ffe2ab 62%, #d19972 100%);
}

.heart-core {
  left: 50%;
  top: 48%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 18px 18px 22px 18px;
  box-shadow:
    inset 16px 14px 22px rgba(255, 255, 255, 0.35),
    inset -16px -18px 18px rgba(143, 76, 70, 0.16);
}

.heart-core::before,
.heart-core::after {
  content: "";
  width: 86px;
  height: 86px;
  border-radius: 50%;
}

.heart-core::before {
  left: -43px;
  top: 0;
}

.heart-core::after {
  left: 0;
  top: -43px;
}

.orbit {
  position: absolute;
  left: 13px;
  top: 43px;
  width: 132px;
  height: 42px;
  border: 3px solid rgba(255, 246, 224, 0.9);
  border-left-color: rgba(172, 67, 72, 0.72);
  border-bottom-color: rgba(172, 67, 72, 0.52);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(-18deg);
}

.orbit-two {
  transform: rotate(20deg);
  opacity: 0.74;
}

.brand-title h1 {
  margin: 4px 0 0;
  color: rgba(88, 61, 54, 0.82);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 64px;
  line-height: 1;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.55),
    0 11px 18px rgba(94, 61, 57, 0.28);
}

.brand-title p {
  margin: 4px 0 0;
  color: rgba(116, 86, 84, 0.34);
  letter-spacing: 0.44em;
}

.auth-view .lead {
  max-width: 330px;
  margin-top: 12px;
  color: rgba(96, 70, 67, 0.72);
  font-size: 14px;
}

.auth-view .trust-row {
  justify-content: center;
  margin-top: 14px;
}

.auth-view .trust-row span {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(103, 70, 67, 0.72);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.auth-card {
  width: min(392px, calc(100% - 34px));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(116, 65, 70, 0.22);
  backdrop-filter: blur(18px);
}

.auth-tabs {
  background: rgba(255, 255, 255, 0.16);
}

.auth-tabs button {
  color: rgba(95, 70, 68, 0.72);
}

.auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #efa0bc, #c681ee);
}

.auth-card label,
.auth-card .hint,
.auth-card .check-row {
  color: rgba(94, 70, 68, 0.8);
}

.auth-card input {
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #684a47;
  text-align: center;
  background: rgba(255, 255, 255, 0.44);
}

.auth-card input::placeholder {
  color: rgba(94, 70, 68, 0.44);
}

.auth-card .primary {
  min-height: 62px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e89ab3 0%, #c07cf1 100%);
  box-shadow: 0 18px 34px rgba(160, 83, 155, 0.28);
}

.member-view {
  padding-bottom: 86px;
}

.member-view .topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: -24px -14px 14px;
  padding: 18px 14px 12px;
  background: rgba(22, 19, 18, 0.92);
  backdrop-filter: blur(14px);
}

.member-view .topbar h1 {
  font-size: 24px;
}

.lounge-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.lounge-strip > div {
  border: 1px solid rgba(240, 208, 160, 0.15);
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(217, 175, 117, 0.12), rgba(255, 255, 255, 0.04));
}

.lounge-strip strong {
  font-size: 14px;
}

.workspace {
  grid-template-columns: minmax(340px, 430px) 1fr;
}

.profile-panel {
  padding: 14px;
  background: rgba(31, 29, 28, 0.94);
}

.profile-panel .section-heading {
  display: none;
}

.profile-list {
  gap: 0;
}

.host-row {
  display: grid;
  grid-template-columns: 158px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.host-row.active {
  background: linear-gradient(90deg, rgba(217, 175, 117, 0.09), transparent);
}

.host-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 3px;
  width: 158px;
  height: 166px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--photo-bg);
}

.collage-main {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage-tile {
  display: grid;
  place-items: center;
  min-width: 0;
  color: rgba(255, 245, 238, 0.9);
  font-family: "Yu Mincho", serif;
  font-size: 34px;
  font-weight: 800;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 255, 255, 0.34), transparent 28%),
    var(--photo-bg);
}

.tile-1,
.tile-2 {
  filter: saturate(0.82) brightness(0.92);
}

.tile-3 {
  filter: hue-rotate(12deg) brightness(1.08);
}

.host-info {
  min-width: 0;
  padding-right: 2px;
}

.host-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}

.host-badges span {
  padding: 4px 7px;
  border-radius: 2px;
  color: #8b5a2f;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff7e8, #eac28f);
}

.host-badges span:first-child {
  color: #b78943;
}

.host-row .profile-name h3 {
  color: #fff7ef;
  font-size: 21px;
  font-weight: 800;
}

.host-row .profile-name span {
  color: rgba(255, 238, 222, 0.7);
}

.rating-line {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 7px 0 3px;
  color: rgba(255, 238, 222, 0.78);
}

.rating-line strong {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.05em;
}

.host-detail,
.host-copy {
  margin: 0;
  color: rgba(255, 238, 222, 0.62);
  font-size: 13px;
  line-height: 1.5;
}

.host-copy {
  margin-top: 4px;
  color: rgba(255, 238, 222, 0.78);
}

.host-row .primary {
  min-height: 50px;
  margin-top: 9px;
  border-radius: 8px;
  color: #fff9ef;
  background: linear-gradient(135deg, #dfb47f, #f0cfb7);
}

.chat-panel {
  background: rgba(31, 29, 28, 0.94);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(100%, 520px);
  min-height: 72px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(240, 208, 160, 0.2);
  background: rgba(25, 23, 22, 0.96);
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
}

.bottom-nav button {
  display: grid;
  gap: 2px;
  place-items: center;
  color: rgba(255, 220, 194, 0.76);
  background: transparent;
  font-size: 12px;
}

.bottom-nav span {
  font-size: 25px;
  line-height: 1;
}

.bottom-nav .active,
.bottom-nav .center {
  color: #f1c69d;
}

.bottom-nav .center span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
  color: #7a443d;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(135deg, #ffd6d2, #e9b06d);
  box-shadow: 0 10px 28px rgba(223, 180, 127, 0.35);
  font-family: "Yu Mincho", serif;
}

@media (max-width: 960px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    min-height: 590px;
  }
}

@media (max-width: 640px) {
  .auth-view {
    min-height: calc(100vh - 24px);
    padding-top: 22px;
  }

  .auth-card {
    width: calc(100% - 34px);
  }

  .lounge-strip {
    grid-template-columns: 1fr;
  }

  .host-row {
    grid-template-columns: 32vw 1fr;
    gap: 10px;
  }

  .host-collage {
    width: 32vw;
    height: 34vw;
    min-height: 126px;
  }

  .host-badges span {
    font-size: 10px;
  }

  .host-row .profile-name h3 {
    font-size: 20px;
  }
}

/* V3: first-screen feeling, not feature selling */
.auth-view::before {
  background:
    radial-gradient(circle at 50% 16%, rgba(255, 249, 242, 0.95), rgba(255, 226, 231, 0.55) 22%, transparent 39%),
    radial-gradient(circle at 18% 78%, rgba(255, 247, 235, 0.82), transparent 15%),
    radial-gradient(circle at 84% 78%, rgba(255, 243, 230, 0.78), transparent 16%),
    radial-gradient(circle at 50% 46%, rgba(196, 85, 110, 0.22), transparent 34%),
    linear-gradient(180deg, #f6d1d8 0%, #fbe5d7 38%, #bd7f94 100%);
}

.auth-view::after {
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(255, 255, 255, 0.62) 27%, transparent 29%),
    linear-gradient(250deg, transparent 0 47%, rgba(255, 255, 255, 0.38) 48%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(82, 43, 47, 0.32), transparent 36%),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.24), transparent 28%);
}

.brand-panel {
  padding-top: 18px;
}

.muse-scene {
  position: relative;
  width: min(330px, 86vw);
  height: 250px;
  margin: 0 auto 4px;
}

.muse-glow {
  position: absolute;
  inset: 8px 20px 0;
  border-radius: 42% 58% 52% 48%;
  background:
    radial-gradient(circle at 42% 30%, rgba(255, 255, 255, 0.78), transparent 23%),
    radial-gradient(circle at 50% 55%, rgba(255, 170, 190, 0.5), transparent 36%),
    linear-gradient(135deg, rgba(255, 230, 215, 0.72), rgba(160, 73, 99, 0.24));
  filter: blur(1px);
  box-shadow:
    0 26px 80px rgba(133, 61, 82, 0.28),
    inset 0 0 44px rgba(255, 255, 255, 0.34);
}

.muse-card {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 214px;
  height: 222px;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 44% 44% 38% 38%;
  background:
    radial-gradient(circle at 44% 18%, rgba(255, 255, 255, 0.92), transparent 20%),
    linear-gradient(180deg, rgba(255, 240, 232, 0.82), rgba(237, 170, 169, 0.34));
  box-shadow:
    0 24px 52px rgba(97, 45, 61, 0.24),
    inset 0 0 52px rgba(255, 255, 255, 0.42);
}

.muse-hair {
  position: absolute;
  left: 43px;
  top: 14px;
  width: 118px;
  height: 174px;
  border-radius: 60px 62px 66px 56px;
  background:
    radial-gradient(circle at 42% 22%, rgba(95, 55, 55, 0.32), transparent 22%),
    linear-gradient(150deg, rgba(95, 57, 55, 0.7), rgba(55, 32, 34, 0.92));
  filter: blur(0.2px);
}

.muse-face {
  position: absolute;
  left: 88px;
  top: 46px;
  width: 58px;
  height: 82px;
  border-radius: 48% 42% 46% 48%;
  background:
    radial-gradient(circle at 64% 48%, rgba(255, 178, 178, 0.36), transparent 16%),
    linear-gradient(150deg, #ffe6d8, #eab0a4 70%, #c97b84);
  box-shadow: inset 12px 0 18px rgba(255, 255, 255, 0.18);
}

.muse-lip {
  position: absolute;
  left: 122px;
  top: 96px;
  width: 22px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(90deg, #a94a56, #e28c95);
  transform: rotate(-8deg);
  box-shadow: 0 0 14px rgba(220, 91, 108, 0.32);
}

.muse-neck {
  position: absolute;
  left: 98px;
  top: 117px;
  width: 42px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(160deg, #f5c5b7, #cf7e82);
}

.muse-shoulder {
  position: absolute;
  left: 32px;
  top: 156px;
  width: 156px;
  height: 82px;
  border-radius: 80px 80px 0 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.34), transparent 18%),
    linear-gradient(135deg, rgba(255, 221, 207, 0.78), rgba(164, 73, 90, 0.72));
}

.muse-veil {
  position: absolute;
  inset: -12px;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.36) 37%, transparent 45%),
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.32), transparent 23%),
    linear-gradient(180deg, transparent, rgba(255, 235, 239, 0.18));
  backdrop-filter: blur(2px);
}

.mini-logo {
  position: absolute;
  right: 12px;
  bottom: 4px;
  width: 72px;
  height: 62px;
  opacity: 0.86;
  transform: rotate(-8deg);
}

.mini-logo .heart-core {
  width: 34px;
  height: 34px;
  border-radius: 8px 8px 10px 8px;
}

.mini-logo .heart-core::before,
.mini-logo .heart-core::after {
  width: 34px;
  height: 34px;
}

.mini-logo .heart-core::before {
  left: -17px;
}

.mini-logo .heart-core::after {
  top: -17px;
}

.mini-logo .orbit {
  left: 4px;
  top: 24px;
  width: 62px;
  height: 19px;
  border-width: 2px;
}

.hero-kicker {
  width: min(350px, 100%);
  margin: 12px auto 0;
  color: rgba(72, 48, 48, 0.86);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.58);
}

.brand-title h1 {
  margin-top: -2px;
  font-size: 58px;
}

.auth-view .lead {
  max-width: 352px;
  margin-top: 8px;
  color: rgba(73, 51, 50, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.auth-card {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .muse-scene {
    height: 236px;
  }

  .muse-card {
    width: 204px;
    height: 212px;
  }

  .hero-kicker {
    font-size: 18px;
  }

  .brand-title h1 {
    font-size: 54px;
  }
}

/* V4: dark premium desire hero, closer to the supplied reference */
body {
  background: #050303;
}

.app-shell {
  width: min(1440px, 100%);
  padding: 0;
}

.auth-view {
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1fr);
  grid-template-areas:
    "copy visual"
    "form visual";
  align-content: center;
  gap: 22px 72px;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 72px clamp(36px, 5vw, 76px);
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 72% 46%, rgba(108, 24, 47, 0.22), transparent 34rem),
    radial-gradient(circle at 22% 42%, rgba(176, 13, 55, 0.12), transparent 30rem),
    linear-gradient(90deg, #040303 0%, #0a0205 48%, #050303 100%);
}

.auth-view::before,
.auth-view::after {
  display: none;
}

.brand-panel {
  grid-area: copy;
  align-self: end;
  justify-items: start;
  padding: 0;
  text-align: left;
}

.muse-scene,
.brand-title,
.hero-kicker {
  display: none;
}

.adult-line {
  position: relative;
  margin: 0 0 52px;
  padding-left: 26px;
  color: #dd1e58;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.42em;
}

.adult-line::before {
  content: "鈾?;
  position: absolute;
  left: 0;
  top: -2px;
  color: #dd1e58;
  letter-spacing: 0;
}

.brand-panel h1 {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(54px, 6.1vw, 86px);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0.03em;
}

.english-line {
  margin: 22px 0 34px;
  color: rgba(194, 60, 87, 0.9);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.1vw, 38px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.auth-view .lead {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 18px;
  line-height: 2.05;
  letter-spacing: 0.08em;
}

.sub-lead {
  margin: 20px 0 0;
  color: rgba(194, 75, 88, 0.72);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.auth-view .trust-row {
  justify-content: flex-start;
  gap: 8px;
  margin-top: 32px;
}

.auth-view .trust-row span {
  border: 0;
  color: rgba(255, 255, 255, 0.36);
  background: transparent;
  padding: 0;
}

.auth-view .trust-row span + span::before {
  content: "銉?;
  margin-right: 8px;
  color: rgba(180, 18, 55, 0.72);
}

.auth-card {
  grid-area: form;
  align-self: start;
  width: min(380px, 100%);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.auth-tabs {
  width: 260px;
  margin: 0 0 18px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-tabs button {
  min-height: 36px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.auth-tabs button.active {
  color: #fff;
  background: rgba(172, 6, 45, 0.82);
}

.auth-form {
  gap: 12px;
}

.auth-card label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.auth-card input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
}

.auth-card input:focus {
  border-color: rgba(214, 34, 82, 0.55);
  box-shadow: 0 0 0 4px rgba(214, 34, 82, 0.12);
}

.auth-card .primary {
  width: 280px;
  min-height: 64px;
  margin-top: 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #b90038, #8b171f);
  box-shadow: 0 18px 42px rgba(185, 0, 56, 0.28);
  letter-spacing: 0.12em;
}

.auth-card .hint,
.auth-card .check-row {
  color: rgba(255, 255, 255, 0.36);
}

.hero-card {
  grid-area: visual;
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(500px, 100%);
  aspect-ratio: 0.78;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 40px;
  background:
    radial-gradient(circle at 48% 48%, rgba(120, 31, 39, 0.2), transparent 22rem),
    linear-gradient(180deg, #090404, #030202);
  box-shadow:
    0 26px 96px rgba(0, 0, 0, 0.58),
    inset 0 0 80px rgba(150, 21, 52, 0.08);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 28%, rgba(0, 0, 0, 0.9) 100%),
    radial-gradient(circle at 86% 84%, rgba(207, 36, 75, 0.24), transparent 2px),
    radial-gradient(circle at 78% 72%, rgba(207, 36, 75, 0.2), transparent 2px);
  z-index: 2;
}

.hero-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 38%, rgba(255, 210, 184, 0.18), transparent 14rem),
    radial-gradient(circle at 42% 40%, rgba(95, 44, 43, 0.22), transparent 13rem),
    linear-gradient(180deg, #0b0606, #020101);
}

.photo-hair {
  position: absolute;
  left: 132px;
  top: 150px;
  width: 202px;
  height: 270px;
  border-radius: 53% 48% 50% 42%;
  background:
    radial-gradient(circle at 38% 18%, rgba(112, 73, 55, 0.38), transparent 28%),
    linear-gradient(140deg, rgba(29, 19, 18, 0.98), rgba(5, 4, 4, 0.96));
  transform: rotate(-9deg);
  filter: blur(0.4px);
}

.photo-face {
  position: absolute;
  left: 235px;
  top: 174px;
  width: 96px;
  height: 138px;
  border-radius: 42% 48% 46% 44%;
  background:
    radial-gradient(circle at 48% 34%, rgba(255, 231, 207, 0.36), transparent 22%),
    linear-gradient(150deg, rgba(255, 216, 188, 0.56), rgba(142, 72, 65, 0.28) 62%, rgba(10, 5, 5, 0.96));
  transform: rotate(8deg);
  box-shadow: -28px 8px 38px rgba(0, 0, 0, 0.62);
}

.photo-hand {
  position: absolute;
  right: 18px;
  top: 118px;
  width: 178px;
  height: 62px;
  border-radius: 999px;
  background:
    linear-gradient(95deg, rgba(255, 210, 184, 0.16), rgba(60, 27, 30, 0.44), rgba(3, 2, 2, 0.95));
  transform: rotate(18deg);
  filter: blur(1px);
}

.photo-neck {
  position: absolute;
  left: 244px;
  top: 286px;
  width: 70px;
  height: 132px;
  border-radius: 34px;
  background:
    linear-gradient(155deg, rgba(238, 172, 143, 0.24), rgba(43, 18, 18, 0.72));
  transform: rotate(-5deg);
}

.photo-shoulder {
  position: absolute;
  left: 160px;
  top: 380px;
  width: 280px;
  height: 122px;
  border-radius: 60% 40% 0 0;
  background:
    radial-gradient(circle at 45% 20%, rgba(255, 214, 187, 0.13), transparent 28%),
    linear-gradient(130deg, rgba(71, 30, 33, 0.46), rgba(3, 2, 2, 0.98));
}

.photo-shadow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 42% 40%, transparent 0 18%, rgba(0, 0, 0, 0.55) 39%, rgba(0, 0, 0, 0.9) 78%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.95), transparent 42%, rgba(0, 0, 0, 0.78));
}

.live-caption {
  position: absolute;
  left: 32px;
  bottom: 30px;
  z-index: 3;
}

.live-caption span {
  position: relative;
  display: block;
  margin-bottom: 12px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.live-caption span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c31846;
  box-shadow: 0 0 18px rgba(195, 24, 70, 0.9);
}

.live-caption strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  letter-spacing: 0.12em;
}

@media (max-width: 980px) {
  .auth-view {
    grid-template-columns: 1fr;
    grid-template-areas:
      "visual"
      "copy"
      "form";
    gap: 22px;
    padding: 34px 20px 42px;
  }

  .brand-panel,
  .auth-card {
    justify-self: center;
    width: min(520px, 100%);
  }

  .brand-panel {
    text-align: left;
  }

  .adult-line {
    margin-bottom: 22px;
  }

  .brand-panel h1 {
    font-size: clamp(44px, 13vw, 68px);
  }

  .hero-card {
    width: min(430px, 100%);
    border-radius: 28px;
  }

  .auth-card .primary,
  .auth-tabs {
    width: 100%;
  }
}

/* Final placement fixes for publishable landing page */
.landing-footer {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 18px;
  z-index: 3;
  grid-column: auto;
}

@media (max-width: 980px) {
  .landing-footer {
    position: relative;
    right: auto;
    bottom: auto;
    justify-self: center;
    align-self: end;
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .auth-view {
    padding: 18px 14px 34px;
  }

  .hero-card {
    width: 100%;
    max-height: 430px;
  }

  .photo-hair {
    left: 26%;
    top: 24%;
  }

  .photo-face {
    left: 47%;
    top: 27%;
  }

  .brand-panel h1 {
    font-size: 46px;
  }

  .english-line {
    margin: 14px 0 20px;
    font-size: 24px;
  }

  .auth-view .lead {
    font-size: 15px;
  }
}

/* V5: full-screen blurred photo background, black/champagne/burgundy mood */
:root {
  --champagne: #e8c891;
  --champagne-soft: rgba(232, 200, 145, 0.76);
  --wine: #5f061b;
  --wine-2: #9a082c;
  --hero-bg-image: url("./assets/hero-bg-main.jpg");
}

body {
  background: #020101;
}

.auth-view {
  grid-template-columns: minmax(340px, 520px) 1fr;
  grid-template-areas:
    "copy visual"
    "form visual";
  background: #020101;
  isolation: isolate;
}

.auth-view::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: -3;
  display: block;
  background:
    linear-gradient(90deg, rgba(2, 1, 1, 0.96) 0%, rgba(2, 1, 1, 0.72) 42%, rgba(2, 1, 1, 0.16) 68%, rgba(2, 1, 1, 0.78) 100%),
    var(--hero-bg-image),
    radial-gradient(circle at 72% 45%, rgba(99, 7, 29, 0.58), transparent 32rem);
  background-size: cover;
  background-position: 70% center;
  filter: blur(18px) saturate(0.72) brightness(0.58) contrast(1.12);
  transform: scale(1.07);
}

.auth-view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  background:
    radial-gradient(circle at 74% 38%, rgba(232, 200, 145, 0.16), transparent 15rem),
    radial-gradient(circle at 66% 62%, rgba(135, 6, 38, 0.33), transparent 25rem),
    linear-gradient(90deg, rgba(2, 1, 1, 0.92) 0%, rgba(2, 1, 1, 0.72) 38%, rgba(2, 1, 1, 0.28) 66%, rgba(2, 1, 1, 0.88) 100%),
    linear-gradient(180deg, rgba(2, 1, 1, 0.4), rgba(2, 1, 1, 0.94));
}

.brand-panel,
.auth-card {
  position: relative;
  z-index: 2;
}

.hero-card {
  display: none;
}

.adult-line {
  color: var(--champagne);
  text-shadow: 0 0 18px rgba(232, 200, 145, 0.22);
}

.adult-line::before {
  color: var(--wine-2);
}

.brand-panel h1 {
  color: rgba(255, 248, 235, 0.96);
  text-shadow:
    0 0 28px rgba(232, 200, 145, 0.08),
    0 18px 46px rgba(0, 0, 0, 0.72);
}

.english-line {
  color: rgba(210, 41, 79, 0.86);
  text-shadow: 0 0 24px rgba(154, 8, 44, 0.28);
}

.auth-view .lead {
  color: rgba(238, 223, 198, 0.72);
}

.sub-lead {
  color: rgba(232, 200, 145, 0.52);
}

.auth-view .trust-row span {
  color: rgba(232, 200, 145, 0.54);
}

.auth-view .trust-row span + span::before {
  color: rgba(154, 8, 44, 0.9);
}

.auth-tabs {
  background: rgba(8, 3, 4, 0.58);
  border-color: rgba(232, 200, 145, 0.12);
  box-shadow: inset 0 0 22px rgba(154, 8, 44, 0.09);
}

.auth-tabs button {
  color: rgba(232, 200, 145, 0.54);
}

.auth-tabs button.active {
  color: #120507;
  background: linear-gradient(135deg, var(--champagne), #b8935c);
}

.auth-card label {
  color: rgba(232, 200, 145, 0.68);
}

.auth-card input {
  border-color: rgba(232, 200, 145, 0.12);
  color: rgba(255, 248, 235, 0.9);
  background: rgba(3, 1, 1, 0.58);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.44),
    0 0 0 1px rgba(95, 6, 27, 0.08);
}

.auth-card input:focus {
  border-color: rgba(232, 200, 145, 0.44);
  box-shadow:
    0 0 0 4px rgba(154, 8, 44, 0.2),
    0 0 34px rgba(232, 200, 145, 0.11);
}

.auth-card .primary {
  position: relative;
  overflow: visible;
  color: #fff7e9;
  background:
    radial-gradient(circle at 50% 20%, rgba(232, 200, 145, 0.5), transparent 32%),
    linear-gradient(135deg, #b70a34 0%, #710719 54%, #3d030e 100%);
  border: 1px solid rgba(232, 200, 145, 0.2);
  box-shadow:
    0 0 0 0 rgba(154, 8, 44, 0.68),
    0 0 22px rgba(154, 8, 44, 0.56),
    0 12px 46px rgba(0, 0, 0, 0.55);
  animation: heartbeatGlow 1.08s ease-in-out infinite;
}

.auth-card .primary::before,
.auth-card .primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(154, 8, 44, 0.45), transparent 64%);
  opacity: 0;
  animation: heartbeatHalo 1.08s ease-in-out infinite;
}

.auth-card .primary::after {
  inset: -15px;
  animation-delay: 0.16s;
}

.auth-card .hint,
.auth-card .check-row {
  color: rgba(232, 200, 145, 0.38);
}

@keyframes heartbeatGlow {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(154, 8, 44, 0.52),
      0 0 18px rgba(154, 8, 44, 0.42),
      0 12px 46px rgba(0, 0, 0, 0.55);
  }
  13% {
    transform: scale(1.045);
    box-shadow:
      0 0 0 8px rgba(154, 8, 44, 0.26),
      0 0 36px rgba(232, 200, 145, 0.28),
      0 0 62px rgba(154, 8, 44, 0.52);
  }
  25% {
    transform: scale(0.985);
  }
  38% {
    transform: scale(1.035);
    box-shadow:
      0 0 0 12px rgba(154, 8, 44, 0.14),
      0 0 34px rgba(232, 200, 145, 0.24),
      0 0 58px rgba(154, 8, 44, 0.46);
  }
  58% {
    transform: scale(1);
  }
}

@keyframes heartbeatHalo {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.94);
  }
  14% {
    opacity: 0.86;
    transform: scale(1.08);
  }
  34% {
    opacity: 0.28;
    transform: scale(1.18);
  }
  52% {
    opacity: 0.58;
    transform: scale(1.1);
  }
  74% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 980px) {
  .auth-view {
    grid-template-areas:
      "copy"
      "form";
    background-position: center;
  }

  .auth-view::before {
    background-position: 62% center;
    filter: blur(16px) saturate(0.68) brightness(0.48) contrast(1.1);
  }

  .auth-view::after {
    background:
      radial-gradient(circle at 64% 24%, rgba(232, 200, 145, 0.14), transparent 12rem),
      radial-gradient(circle at 54% 54%, rgba(135, 6, 38, 0.34), transparent 22rem),
      linear-gradient(180deg, rgba(2, 1, 1, 0.7), rgba(2, 1, 1, 0.92) 48%, rgba(2, 1, 1, 0.98));
  }
}

@media (max-width: 520px) {
  .auth-view::before {
    background-position: 58% center;
    filter: blur(14px) saturate(0.64) brightness(0.42) contrast(1.08);
  }

  .auth-card .primary {
    width: 100%;
    animation-duration: 0.96s;
  }
}

/* V6: use the uploaded photo as the visible homepage hero image */
.auth-view {
  grid-template-columns: minmax(340px, 500px) minmax(390px, 1fr);
  gap: 40px clamp(34px, 5vw, 72px);
}

.hero-card {
  display: block;
  width: min(500px, 100%);
  aspect-ratio: 0.76;
  border-color: rgba(232, 200, 145, 0.14);
  background: #030101;
  box-shadow:
    0 34px 100px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(95, 6, 27, 0.42),
    inset 0 0 80px rgba(95, 6, 27, 0.18);
}

.hero-main-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) brightness(0.48) contrast(1.14);
  transform: scale(1.02);
}

.hero-photo {
  z-index: 0;
  opacity: 0.55;
}

.hero-card::before {
  z-index: 2;
  background:
    radial-gradient(circle at 54% 32%, rgba(232, 200, 145, 0.12), transparent 12rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.92) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 48%, rgba(0, 0, 0, 0.22));
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(232, 200, 145, 0.08),
    inset 0 0 80px rgba(0, 0, 0, 0.72),
    inset 0 -140px 120px rgba(2, 1, 1, 0.88);
  pointer-events: none;
}

.live-caption {
  z-index: 4;
}

@media (max-width: 980px) {
  .auth-view {
    grid-template-areas:
      "visual"
      "copy"
      "form";
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: min(430px, 100%);
    max-height: 560px;
  }
}

@media (max-width: 520px) {
  .hero-card {
    width: 100%;
    max-height: 470px;
    border-radius: 26px;
  }
}

/* V7: thin film grain and clearer subject separation */
.hero-main-img {
  filter: saturate(0.82) brightness(0.56) contrast(1.24);
  transform: scale(1.012);
}

.hero-card::before {
  background:
    radial-gradient(circle at 53% 32%, rgba(232, 200, 145, 0.16), transparent 12rem),
    radial-gradient(ellipse at 54% 50%, transparent 0 33%, rgba(0, 0, 0, 0.18) 52%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.32) 40%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 48%, rgba(0, 0, 0, 0.18));
}

.hero-card::after {
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 78% 61%, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(232, 200, 145, 0.035), rgba(95, 6, 27, 0.08));
  mix-blend-mode: soft-light;
  opacity: 0.66;
  animation: filmBreath 5.6s steps(2, end) infinite;
}

.hero-card {
  filter: drop-shadow(0 34px 90px rgba(0, 0, 0, 0.68));
}

@keyframes filmBreath {
  0%,
  100% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  50% {
    background-position: 9px -7px, -6px 8px, 11px 0, 0 0;
  }
}

/* V8: bright champagne photo style */
:root {
  --bright-ink: #5a3934;
  --bright-muted: rgba(90, 57, 52, 0.66);
  --bright-rose: #d6788c;
  --bright-gold: #d6a85f;
  --bright-cream: #fff5ee;
}

body {
  background: #fff7f1;
}

.auth-view {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.92), transparent 20rem),
    linear-gradient(120deg, #fff8f2 0%, #ffe8e3 48%, #fffaf6 100%);
}

.auth-view::before {
  background:
    linear-gradient(90deg, rgba(255, 249, 244, 0.96) 0%, rgba(255, 247, 242, 0.78) 38%, rgba(255, 245, 239, 0.18) 68%, rgba(255, 250, 246, 0.76) 100%),
    var(--hero-bg-image),
    radial-gradient(circle at 72% 45%, rgba(214, 120, 140, 0.18), transparent 30rem);
  background-size: cover;
  background-position: 70% center;
  filter: blur(14px) saturate(0.92) brightness(1.02) contrast(0.98);
  opacity: 0.78;
}

.auth-view::after {
  background:
    radial-gradient(circle at 72% 36%, rgba(255, 255, 255, 0.42), transparent 16rem),
    radial-gradient(circle at 66% 62%, rgba(214, 120, 140, 0.14), transparent 24rem),
    linear-gradient(90deg, rgba(255, 248, 242, 0.94) 0%, rgba(255, 248, 242, 0.66) 38%, rgba(255, 248, 242, 0.14) 66%, rgba(255, 250, 246, 0.64) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 246, 240, 0.72));
}

.adult-line {
  color: var(--bright-rose);
  text-shadow: none;
}

.adult-line::before {
  color: var(--bright-gold);
}

.brand-panel h1 {
  color: var(--bright-ink);
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.74),
    0 18px 44px rgba(182, 108, 113, 0.18);
}

.english-line {
  color: rgba(198, 94, 115, 0.82);
  text-shadow: 0 10px 32px rgba(214, 120, 140, 0.16);
}

.auth-view .lead {
  color: var(--bright-muted);
}

.sub-lead {
  color: rgba(143, 90, 76, 0.68);
}

.auth-view .trust-row span {
  color: rgba(126, 83, 71, 0.56);
}

.auth-view .trust-row span + span::before {
  color: rgba(214, 168, 95, 0.9);
}

.auth-tabs {
  background: rgba(255, 255, 255, 0.46);
  border-color: rgba(214, 168, 95, 0.22);
  box-shadow:
    0 18px 44px rgba(183, 112, 116, 0.13),
    inset 0 0 18px rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(16px);
}

.auth-tabs button {
  color: rgba(90, 57, 52, 0.58);
}

.auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #e395a6, #d5a85e);
}

.auth-card label {
  color: rgba(90, 57, 52, 0.72);
}

.auth-card input {
  border-color: rgba(214, 168, 95, 0.24);
  color: var(--bright-ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.62),
    0 12px 32px rgba(182, 108, 113, 0.1);
}

.auth-card input:focus {
  border-color: rgba(214, 120, 140, 0.5);
  box-shadow:
    0 0 0 4px rgba(214, 120, 140, 0.14),
    0 18px 42px rgba(182, 108, 113, 0.16);
}

.auth-card .primary {
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(135deg, #e58ca3 0%, #d7aa64 100%);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow:
    0 0 0 0 rgba(214, 120, 140, 0.34),
    0 18px 48px rgba(214, 120, 140, 0.28);
  animation: softBrightPulse 1.55s ease-in-out infinite;
}

.auth-card .primary::before,
.auth-card .primary::after {
  background: radial-gradient(circle, rgba(214, 120, 140, 0.22), transparent 64%);
  animation: softBrightHalo 1.55s ease-in-out infinite;
}

.auth-card .hint,
.auth-card .check-row {
  color: rgba(90, 57, 52, 0.48);
}

.hero-card {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    0 30px 90px rgba(182, 108, 113, 0.22),
    0 0 0 1px rgba(214, 168, 95, 0.16),
    inset 0 0 70px rgba(255, 255, 255, 0.42);
  filter: drop-shadow(0 30px 68px rgba(183, 112, 116, 0.22));
}

.hero-main-img {
  filter: saturate(0.98) brightness(0.94) contrast(1.08);
  transform: scale(1.006);
}

.hero-card::before {
  background:
    radial-gradient(circle at 48% 24%, rgba(255, 255, 255, 0.2), transparent 12rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 246, 240, 0.08) 42%, rgba(73, 38, 35, 0.34) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 48%, rgba(255, 255, 255, 0.04));
}

.hero-card::after {
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 78% 61%, rgba(104, 64, 55, 0.055) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(214, 120, 140, 0.045));
  mix-blend-mode: soft-light;
  opacity: 0.52;
}

.live-caption span {
  color: rgba(255, 255, 255, 0.86);
}

.live-caption span::before {
  background: #e58ca3;
  box-shadow: 0 0 18px rgba(229, 140, 163, 0.9);
}

.live-caption strong {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 8px 24px rgba(75, 35, 34, 0.42);
}

@keyframes softBrightPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(214, 120, 140, 0.28),
      0 18px 48px rgba(214, 120, 140, 0.24);
  }
  45% {
    transform: scale(1.025);
    box-shadow:
      0 0 0 12px rgba(214, 120, 140, 0.08),
      0 22px 56px rgba(214, 120, 140, 0.32),
      0 0 34px rgba(214, 168, 95, 0.18);
  }
}

@keyframes softBrightHalo {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.98);
  }
  45% {
    opacity: 0.7;
    transform: scale(1.14);
  }
}

@media (max-width: 980px) {
  .auth-view::before {
    filter: blur(13px) saturate(0.94) brightness(0.98) contrast(0.98);
  }

  .auth-view::after {
    background:
      radial-gradient(circle at 64% 24%, rgba(255, 255, 255, 0.3), transparent 12rem),
      radial-gradient(circle at 54% 54%, rgba(214, 120, 140, 0.14), transparent 22rem),
      linear-gradient(180deg, rgba(255, 248, 242, 0.52), rgba(255, 248, 242, 0.88) 50%, rgba(255, 248, 242, 0.96));
  }
}

/* V9: 35mm night-window composition with integrated heart logo */
:root {
  --night-hero-image: url("./assets/night-hero.png");
  --logo-glow: rgba(225, 183, 120, 0.28);
  --noir: #040303;
  --amber: #e0ad67;
  --burgundy-deep: #3f0612;
}

body {
  background: #040303;
}

.auth-view {
  grid-template-columns: minmax(340px, 480px) 1fr;
  grid-template-areas:
    "copy visual"
    "form visual";
  gap: 22px clamp(34px, 5vw, 78px);
  background:
    radial-gradient(circle at 24% 44%, rgba(114, 31, 18, 0.22), transparent 28rem),
    linear-gradient(90deg, #040303 0%, #090504 45%, #040303 100%);
}

.auth-view::before {
  background:
    linear-gradient(90deg, rgba(4, 3, 3, 0.96) 0%, rgba(4, 3, 3, 0.8) 31%, rgba(4, 3, 3, 0.34) 58%, rgba(4, 3, 3, 0.82) 100%),
    var(--night-hero-image),
    var(--hero-bg-image);
  background-size: cover;
  background-position: 64% center;
  filter: blur(16px) saturate(0.74) brightness(0.42) contrast(1.18);
  opacity: 1;
  transform: scale(1.06);
}

.auth-view::after {
  background:
    radial-gradient(ellipse at 63% 46%, rgba(4, 3, 3, 0) 0 18%, rgba(4, 3, 3, 0.28) 40%, rgba(4, 3, 3, 0.9) 88%),
    radial-gradient(circle at 53% 35%, rgba(224, 173, 103, 0.12), transparent 16rem),
    radial-gradient(circle at 31% 74%, rgba(96, 10, 27, 0.18), transparent 22rem),
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(4, 3, 3, 0.08), rgba(4, 3, 3, 0.86));
  mix-blend-mode: normal;
}

.logo-lockup {
  position: relative;
  width: 142px;
  height: 96px;
  margin: 0 0 18px;
  opacity: 0.92;
  filter:
    drop-shadow(0 0 28px var(--logo-glow))
    drop-shadow(0 16px 28px rgba(0, 0, 0, 0.44));
}

.heart-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.82;
  mix-blend-mode: screen;
}

.heart-logo-fallback {
  position: absolute;
  inset: 12px 18px;
}

.heart-logo-img:not([style*="display: none"]) + .heart-logo-fallback {
  opacity: 0;
}

.logo-lockup .heart-core {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d98c8f 0%, #f0d79a 64%, #b06e4d 100%);
}

.logo-lockup .heart-core::before,
.logo-lockup .heart-core::after {
  width: 48px;
  height: 48px;
}

.logo-lockup .heart-core::before {
  left: -24px;
}

.logo-lockup .heart-core::after {
  top: -24px;
}

.logo-lockup .orbit {
  left: 2px;
  top: 28px;
  width: 96px;
  height: 29px;
}

.adult-line {
  margin-bottom: 28px;
  color: rgba(224, 173, 103, 0.82);
}

.adult-line::before {
  color: rgba(138, 18, 40, 0.92);
}

.brand-panel h1 {
  color: rgba(244, 232, 212, 0.94);
  text-shadow:
    0 0 28px rgba(224, 173, 103, 0.08),
    0 18px 58px rgba(0, 0, 0, 0.82);
}

.english-line {
  margin: 18px 0 26px;
  color: rgba(181, 79, 72, 0.86);
  letter-spacing: 0.1em;
  text-shadow: 0 0 28px rgba(83, 7, 20, 0.4);
}

.auth-view .lead {
  max-width: 360px;
  color: rgba(224, 211, 192, 0.68);
}

.sub-lead {
  margin-top: 16px;
  color: rgba(224, 173, 103, 0.56);
}

.auth-view .trust-row span {
  color: rgba(224, 173, 103, 0.44);
}

.auth-view .trust-row span + span::before {
  color: rgba(139, 18, 40, 0.86);
}

.auth-tabs {
  background: rgba(7, 4, 4, 0.6);
  border-color: rgba(224, 173, 103, 0.14);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.34),
    inset 0 0 18px rgba(224, 173, 103, 0.04);
}

.auth-tabs button {
  color: rgba(224, 211, 192, 0.52);
}

.auth-tabs button.active {
  color: #120706;
  background: linear-gradient(135deg, #e1b778, #9b6b38);
}

.auth-card label {
  color: rgba(224, 211, 192, 0.6);
}

.auth-card input {
  border-color: rgba(224, 173, 103, 0.14);
  color: rgba(244, 232, 212, 0.9);
  background: rgba(4, 3, 3, 0.58);
  box-shadow:
    inset 0 0 24px rgba(0, 0, 0, 0.5),
    0 12px 32px rgba(0, 0, 0, 0.24);
}

.auth-card input:focus {
  border-color: rgba(224, 173, 103, 0.42);
  box-shadow:
    0 0 0 4px rgba(139, 18, 40, 0.18),
    0 18px 42px rgba(0, 0, 0, 0.32);
}

.auth-card .primary {
  color: #fff8ea;
  background:
    radial-gradient(circle at 50% 24%, rgba(224, 173, 103, 0.42), transparent 32%),
    linear-gradient(135deg, #8b1228 0%, #4b0713 55%, #180306 100%);
  border-color: rgba(224, 173, 103, 0.24);
  box-shadow:
    0 0 0 0 rgba(139, 18, 40, 0.52),
    0 16px 48px rgba(0, 0, 0, 0.48),
    0 0 34px rgba(139, 18, 40, 0.28);
  animation: heartbeatGlow 1.18s ease-in-out infinite;
}

.auth-card .primary::before,
.auth-card .primary::after {
  background: radial-gradient(circle, rgba(139, 18, 40, 0.42), transparent 64%);
  animation: heartbeatHalo 1.18s ease-in-out infinite;
}

.auth-card .hint,
.auth-card .check-row {
  color: rgba(224, 211, 192, 0.36);
}

.hero-card {
  width: min(760px, 100%);
  aspect-ratio: 1.72;
  border-radius: 24px;
  border-color: rgba(224, 173, 103, 0.12);
  background: #030202;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.78),
    0 0 0 1px rgba(83, 7, 20, 0.46),
    inset 0 0 88px rgba(0, 0, 0, 0.46);
  filter: drop-shadow(0 34px 84px rgba(0, 0, 0, 0.6));
}

.hero-main-img {
  filter: saturate(0.7) brightness(0.58) contrast(1.18) blur(1.1px);
  object-position: center;
  transform: scale(1.035);
}

.hero-card::before {
  background:
    radial-gradient(ellipse at 48% 46%, rgba(0, 0, 0, 0) 0 18%, rgba(0, 0, 0, 0.08) 34%, rgba(0, 0, 0, 0.72) 92%),
    radial-gradient(circle at 39% 48%, rgba(224, 173, 103, 0.08), transparent 12rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.26) 42%, rgba(0, 0, 0, 0.74) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46), transparent 45%, rgba(0, 0, 0, 0.36));
}

.hero-card::after {
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 78% 61%, rgba(0, 0, 0, 0.075) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(224, 173, 103, 0.03), rgba(83, 7, 20, 0.08));
  mix-blend-mode: soft-light;
  opacity: 0.76;
}

.live-caption {
  left: 34px;
  bottom: 28px;
}

.live-caption span {
  color: rgba(224, 211, 192, 0.72);
}

.live-caption span::before {
  background: #8b1228;
  box-shadow: 0 0 18px rgba(139, 18, 40, 0.9);
}

.live-caption strong {
  color: rgba(244, 232, 212, 0.92);
  text-shadow: 0 9px 30px rgba(0, 0, 0, 0.62);
}

@media (max-width: 980px) {
  .auth-view {
    grid-template-areas:
      "visual"
      "copy"
      "form";
    grid-template-columns: 1fr;
    background: #040303;
  }

  .auth-view::before {
    background-position: 55% center;
    filter: blur(15px) saturate(0.72) brightness(0.38) contrast(1.16);
  }

  .auth-view::after {
    background:
      radial-gradient(ellipse at 50% 26%, rgba(4, 3, 3, 0.08), rgba(4, 3, 3, 0.82) 72%),
      repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 4px),
      linear-gradient(180deg, rgba(4, 3, 3, 0.38), rgba(4, 3, 3, 0.9) 44%, rgba(4, 3, 3, 0.98));
  }

  .logo-lockup {
    margin-top: 4px;
  }

  .hero-card {
    width: min(720px, 100%);
    max-height: none;
    aspect-ratio: 1.58;
  }
}

@media (max-width: 520px) {
  .logo-lockup {
    width: 112px;
    height: 76px;
    margin-bottom: 10px;
  }

  .hero-card {
    aspect-ratio: 1.32;
    border-radius: 18px;
  }

  .hero-main-img {
    object-position: center;
  }
}

/* V10 final: soft morning glow, warm balanced exposure */
:root {
  --morning-cream: #fff4e7;
  --morning-warm: #f3c98f;
  --morning-rose: #d9958c;
  --morning-ink: #5a3f37;
}

body {
  background: #fff0e0;
}

.auth-view {
  background:
    radial-gradient(circle at 60% 14%, rgba(255, 255, 255, 0.78), transparent 18rem),
    radial-gradient(circle at 20% 72%, rgba(243, 201, 143, 0.18), transparent 26rem),
    linear-gradient(120deg, #fff5e8 0%, #f8dcbc 48%, #fff0e0 100%);
}

.auth-view::before {
  background:
    linear-gradient(90deg, rgba(255, 244, 231, 0.9) 0%, rgba(255, 239, 221, 0.66) 34%, rgba(255, 237, 216, 0.18) 58%, rgba(255, 242, 229, 0.68) 100%),
    var(--night-hero-image),
    var(--hero-bg-image);
  background-size: cover;
  background-position: 64% center;
  filter: blur(11px) saturate(0.92) brightness(0.86) contrast(1.02);
  opacity: 0.96;
}

.auth-view::after {
  background:
    radial-gradient(circle at 54% 30%, rgba(255, 255, 255, 0.32), transparent 17rem),
    radial-gradient(circle at 35% 76%, rgba(243, 201, 143, 0.22), transparent 24rem),
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, rgba(255, 245, 234, 0.88) 0%, rgba(255, 239, 224, 0.58) 33%, rgba(255, 239, 224, 0.12) 62%, rgba(255, 245, 234, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 238, 218, 0.46));
}

.logo-lockup {
  filter:
    drop-shadow(0 0 24px rgba(255, 236, 204, 0.46))
    drop-shadow(0 14px 24px rgba(151, 87, 54, 0.16));
}

.adult-line {
  color: rgba(155, 100, 61, 0.72);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.46);
}

.adult-line::before {
  color: rgba(205, 121, 104, 0.86);
}

.brand-panel h1 {
  color: var(--morning-ink);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 48px rgba(153, 88, 62, 0.14);
}

.english-line {
  color: rgba(176, 97, 82, 0.78);
  text-shadow: 0 0 24px rgba(255, 236, 204, 0.36);
}

.auth-view .lead {
  color: rgba(90, 63, 55, 0.7);
}

.sub-lead {
  color: rgba(139, 91, 65, 0.62);
}

.auth-view .trust-row span {
  color: rgba(139, 91, 65, 0.5);
}

.auth-view .trust-row span + span::before {
  color: rgba(205, 121, 104, 0.72);
}

.auth-tabs {
  background: rgba(255, 250, 244, 0.58);
  border-color: rgba(243, 201, 143, 0.34);
  box-shadow:
    0 20px 50px rgba(159, 92, 58, 0.13),
    inset 0 0 18px rgba(255, 255, 255, 0.48);
}

.auth-tabs button {
  color: rgba(90, 63, 55, 0.56);
}

.auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #d9958c, #d4a85f);
}

.auth-card label {
  color: rgba(90, 63, 55, 0.68);
}

.auth-card input {
  border-color: rgba(212, 168, 95, 0.28);
  color: var(--morning-ink);
  background: rgba(255, 250, 244, 0.62);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.55),
    0 12px 34px rgba(159, 92, 58, 0.1);
}

.auth-card input:focus {
  border-color: rgba(205, 121, 104, 0.5);
  box-shadow:
    0 0 0 4px rgba(205, 121, 104, 0.12),
    0 18px 42px rgba(159, 92, 58, 0.14);
}

.auth-card .primary {
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.42), transparent 32%),
    linear-gradient(135deg, #d98786 0%, #d5a85f 100%);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 0 0 0 rgba(217, 135, 134, 0.24),
    0 18px 48px rgba(205, 121, 104, 0.2),
    0 0 28px rgba(255, 236, 204, 0.24);
  animation: softBrightPulse 1.75s ease-in-out infinite;
}

.auth-card .primary::before,
.auth-card .primary::after {
  background: radial-gradient(circle, rgba(217, 135, 134, 0.18), transparent 64%);
  animation: softBrightHalo 1.75s ease-in-out infinite;
}

.auth-card .hint,
.auth-card .check-row {
  color: rgba(90, 63, 55, 0.46);
}

.hero-card {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 244, 231, 0.34);
  box-shadow:
    0 30px 90px rgba(159, 92, 58, 0.18),
    0 0 0 1px rgba(212, 168, 95, 0.18),
    inset 0 0 80px rgba(255, 255, 255, 0.2);
  filter: drop-shadow(0 30px 76px rgba(159, 92, 58, 0.14));
}

.hero-main-img {
  filter: saturate(0.9) brightness(0.82) contrast(1.06) blur(0.55px);
  transform: scale(1.022);
}

.hero-card::before {
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 232, 196, 0.16), transparent 13rem),
    radial-gradient(ellipse at 48% 46%, rgba(255, 255, 255, 0) 0 18%, rgba(255, 245, 230, 0.08) 42%, rgba(72, 39, 31, 0.36) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 244, 229, 0.1) 42%, rgba(55, 31, 26, 0.38) 100%),
    linear-gradient(90deg, rgba(255, 245, 230, 0.2), transparent 45%, rgba(255, 245, 230, 0.08));
}

.hero-card::after {
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 5px),
    repeating-radial-gradient(circle at 78% 61%, rgba(116, 80, 62, 0.045) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(255, 246, 232, 0.04), rgba(205, 121, 104, 0.04));
  opacity: 0.48;
}

.live-caption span {
  color: rgba(255, 246, 232, 0.78);
}

.live-caption span::before {
  background: #d98786;
  box-shadow: 0 0 18px rgba(217, 135, 134, 0.82);
}

.live-caption strong {
  color: rgba(255, 250, 244, 0.92);
  text-shadow: 0 8px 24px rgba(75, 43, 31, 0.38);
}

@media (max-width: 980px) {
  .auth-view {
    background: linear-gradient(180deg, #fff2e4, #f6d4b8);
  }

  .auth-view::before {
    filter: blur(10px) saturate(0.92) brightness(0.82) contrast(1.03);
  }

  .auth-view::after {
    background:
      radial-gradient(circle at 48% 22%, rgba(255, 255, 255, 0.28), transparent 12rem),
      repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px),
      linear-gradient(180deg, rgba(255, 245, 234, 0.38), rgba(255, 239, 221, 0.72) 44%, rgba(255, 239, 221, 0.9));
  }
}

/* V11: cinematic amber and teal mood, warmer but still seductive */
:root {
  --cinema-amber: #d99a4e;
  --cinema-gold: #f0c77b;
  --cinema-teal: #5e8077;
  --cinema-wine: #7f102a;
  --cinema-cream: #f4dfbd;
  --cinema-ink: #180c09;
}

body {
  background: #0b0806;
}

.auth-view {
  background:
    radial-gradient(circle at 18% 22%, rgba(217, 154, 78, 0.24), transparent 23rem),
    radial-gradient(circle at 72% 48%, rgba(94, 128, 119, 0.18), transparent 30rem),
    linear-gradient(115deg, #0b0806 0%, #21130d 42%, #07100f 100%);
}

.auth-view::before {
  background:
    linear-gradient(90deg, rgba(10, 7, 5, 0.88) 0%, rgba(19, 11, 8, 0.6) 34%, rgba(11, 18, 17, 0.12) 62%, rgba(6, 8, 8, 0.72) 100%),
    var(--night-hero-image),
    var(--hero-bg-image);
  background-position: 64% center;
  filter: blur(9px) saturate(0.95) brightness(0.66) contrast(1.18);
  opacity: 1;
}

.auth-view::after {
  background:
    radial-gradient(circle at 24% 30%, rgba(240, 199, 123, 0.14), transparent 15rem),
    radial-gradient(circle at 63% 42%, rgba(94, 128, 119, 0.18), transparent 19rem),
    radial-gradient(circle at 34% 74%, rgba(127, 16, 42, 0.18), transparent 21rem),
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(12, 8, 6, 0.8) 0%, rgba(24, 13, 9, 0.48) 35%, rgba(8, 16, 15, 0.08) 62%, rgba(5, 7, 7, 0.66) 100%),
    linear-gradient(180deg, rgba(7, 5, 4, 0.08), rgba(8, 5, 4, 0.68));
}

.logo-lockup {
  filter:
    drop-shadow(0 0 26px rgba(240, 199, 123, 0.34))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.38));
}

.adult-line {
  color: rgba(240, 199, 123, 0.8);
  text-shadow: 0 0 20px rgba(217, 154, 78, 0.18);
}

.adult-line::before {
  color: rgba(127, 16, 42, 0.95);
}

.brand-panel h1 {
  color: rgba(244, 223, 189, 0.96);
  text-shadow:
    0 0 30px rgba(217, 154, 78, 0.1),
    0 20px 54px rgba(0, 0, 0, 0.74);
}

.english-line {
  color: rgba(205, 89, 82, 0.86);
  text-shadow: 0 0 28px rgba(127, 16, 42, 0.36);
}

.auth-view .lead {
  color: rgba(244, 223, 189, 0.68);
}

.sub-lead {
  color: rgba(240, 199, 123, 0.54);
}

.auth-view .trust-row span {
  color: rgba(240, 199, 123, 0.46);
}

.auth-view .trust-row span + span::before {
  color: rgba(127, 16, 42, 0.9);
}

.auth-tabs {
  background: rgba(14, 9, 7, 0.62);
  border-color: rgba(240, 199, 123, 0.16);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.36),
    inset 0 0 22px rgba(240, 199, 123, 0.04);
}

.auth-tabs button {
  color: rgba(244, 223, 189, 0.54);
}

.auth-tabs button.active {
  color: #1a0c08;
  background: linear-gradient(135deg, #f0c77b, #c47b3a);
}

.auth-card label {
  color: rgba(244, 223, 189, 0.64);
}

.auth-card input {
  border-color: rgba(240, 199, 123, 0.16);
  color: rgba(244, 223, 189, 0.92);
  background: rgba(10, 7, 5, 0.62);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.45),
    0 12px 36px rgba(0, 0, 0, 0.2);
}

.auth-card input:focus {
  border-color: rgba(240, 199, 123, 0.44);
  box-shadow:
    0 0 0 4px rgba(127, 16, 42, 0.18),
    0 0 30px rgba(217, 154, 78, 0.12);
}

.auth-card .primary {
  color: #fff7e8;
  background:
    radial-gradient(circle at 50% 22%, rgba(240, 199, 123, 0.42), transparent 32%),
    linear-gradient(135deg, #b0173b 0%, #7f102a 48%, #3a070f 100%);
  border-color: rgba(240, 199, 123, 0.24);
  box-shadow:
    0 0 0 0 rgba(127, 16, 42, 0.46),
    0 18px 50px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(127, 16, 42, 0.36);
  animation: heartbeatGlow 1.18s ease-in-out infinite;
}

.auth-card .primary::before,
.auth-card .primary::after {
  background: radial-gradient(circle, rgba(127, 16, 42, 0.34), transparent 64%);
  animation: heartbeatHalo 1.18s ease-in-out infinite;
}

.auth-card .hint,
.auth-card .check-row {
  color: rgba(244, 223, 189, 0.36);
}

.hero-card {
  border-color: rgba(240, 199, 123, 0.13);
  background: #070504;
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(127, 16, 42, 0.32),
    inset 0 0 82px rgba(94, 128, 119, 0.08);
  filter:
    drop-shadow(0 34px 82px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 28px rgba(217, 154, 78, 0.06));
}

.hero-main-img {
  filter: saturate(0.88) brightness(0.68) contrast(1.17) blur(0.75px);
  transform: scale(1.028);
}

.hero-card::before {
  background:
    radial-gradient(circle at 17% 31%, rgba(240, 199, 123, 0.16), transparent 12rem),
    radial-gradient(circle at 63% 42%, rgba(94, 128, 119, 0.16), transparent 15rem),
    radial-gradient(ellipse at 48% 46%, rgba(0, 0, 0, 0) 0 18%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 45%, rgba(0, 0, 0, 0.2));
}

.hero-card::after {
  background:
    repeating-radial-gradient(circle at 17% 23%, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 78% 61%, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(240, 199, 123, 0.026), rgba(94, 128, 119, 0.046), rgba(127, 16, 42, 0.05));
  opacity: 0.68;
}

.live-caption span {
  color: rgba(244, 223, 189, 0.72);
}

.live-caption span::before {
  background: #b0173b;
  box-shadow: 0 0 18px rgba(176, 23, 59, 0.9);
}

.live-caption strong {
  color: rgba(244, 223, 189, 0.92);
  text-shadow: 0 9px 30px rgba(0, 0, 0, 0.62);
}

@media (max-width: 980px) {
  .auth-view {
    background:
      radial-gradient(circle at 50% 22%, rgba(217, 154, 78, 0.18), transparent 20rem),
      linear-gradient(180deg, #0b0806, #1c100c 55%, #07100f);
  }

  .auth-view::before {
    filter: blur(10px) saturate(0.88) brightness(0.58) contrast(1.14);
  }

  .auth-view::after {
    background:
      radial-gradient(circle at 48% 20%, rgba(240, 199, 123, 0.12), transparent 13rem),
      repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 5px),
      linear-gradient(180deg, rgba(8, 5, 4, 0.26), rgba(11, 8, 6, 0.78) 44%, rgba(8, 5, 4, 0.94));
  }
}

/* Profile detail chips */
.profile-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 7px 0 4px;
}

.profile-specs span {
  border: 1px solid rgba(240, 199, 123, 0.22);
  border-radius: 999px;
  padding: 4px 8px;
  color: rgba(255, 239, 213, 0.86);
  background: rgba(240, 199, 123, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.profile-actions {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8px;
  margin-top: 9px;
}

.host-row .profile-actions .primary,
.host-row .profile-actions .soft {
  width: 100%;
  min-height: 46px;
  margin: 0;
  border-radius: 8px;
}

.profile-modal form {
  overflow: hidden;
  padding-top: 0;
}

.profile-modal-photo {
  height: 310px;
  margin: 0 -26px 6px;
  background-size: cover;
  background-position: center 28%;
}

.profile-modal h2 {
  margin-bottom: 0;
}

.profile-modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-modal-specs span {
  border: 1px solid rgba(240, 199, 123, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(255, 239, 213, 0.88);
  background: rgba(240, 199, 123, 0.09);
  font-size: 12px;
  font-weight: 800;
}

.profile-modal p {
  line-height: 1.7;
}

@media (max-width: 640px) {
  .profile-actions {
    grid-template-columns: 1fr;
  }

  .profile-modal-photo {
    height: 260px;
  }
}

.landing-footer {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
  color: rgba(244, 223, 189, 0.44);
}

.landing-footer button {
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.landing-footer button:hover {
  color: rgba(240, 199, 123, 0.86);
}

.legal-modal .legal-body {
  color: var(--muted);
}

.legal-body ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .landing-footer {
    justify-content: center;
    padding-bottom: 4px;
  }
}

/* V12: full-bleed cinematic poster layout */
.app-shell {
  width: 100%;
}

.auth-view {
  display: grid;
  grid-template-columns: minmax(320px, 470px) 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "copy scene"
    ". scene"
    "form scene";
  min-height: 100vh;
  padding: clamp(28px, 5vw, 58px) clamp(20px, 5vw, 72px);
  gap: 22px clamp(28px, 5vw, 70px);
  overflow: hidden;
  background: #050403;
}

.auth-view::before {
  inset: 0;
  background: var(--night-hero-image), var(--hero-bg-image);
  background-size: cover;
  background-position: center center;
  filter: saturate(0.82) brightness(0.68) contrast(1.15);
  opacity: 1;
  transform: none;
}

.auth-view::after {
  background:
    linear-gradient(90deg, rgba(5, 4, 3, 0.92) 0%, rgba(5, 4, 3, 0.72) 27%, rgba(5, 4, 3, 0.18) 53%, rgba(5, 4, 3, 0.32) 100%),
    radial-gradient(ellipse at 48% 50%, rgba(5, 4, 3, 0) 0 18%, rgba(5, 4, 3, 0.2) 47%, rgba(5, 4, 3, 0.82) 100%),
    radial-gradient(circle at 20% 82%, rgba(217, 154, 78, 0.18), transparent 18rem),
    radial-gradient(circle at 61% 38%, rgba(94, 128, 119, 0.12), transparent 22rem),
    repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(96deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px);
}

.hero-card {
  display: none;
}

.brand-panel {
  grid-area: copy;
  align-self: start;
  max-width: 430px;
  padding: 0;
}

.logo-lockup {
  width: 122px;
  height: 78px;
  margin: 0 0 26px;
}

.adult-line {
  margin: 0 0 28px;
  font-size: 11px;
}

.brand-panel h1 {
  max-width: 430px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 1.12;
}

.english-line {
  margin: 18px 0 20px;
  font-size: clamp(20px, 2.3vw, 30px);
}

.auth-view .lead {
  max-width: 330px;
  font-size: 15px;
  line-height: 1.85;
}

.sub-lead {
  margin-top: 14px;
  font-size: 14px;
}

.auth-view .trust-row {
  display: none;
}

.auth-card {
  grid-area: form;
  align-self: end;
  width: min(390px, 100%);
  margin: 0 0 6px;
  padding: 18px;
  border: 1px solid rgba(240, 199, 123, 0.14);
  border-radius: 18px;
  background: rgba(8, 5, 4, 0.42);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 0 28px rgba(240, 199, 123, 0.035);
  backdrop-filter: blur(18px);
}

.auth-tabs {
  width: 100%;
  margin: 0 0 14px;
}

.auth-form {
  gap: 10px;
}

.auth-card label {
  gap: 6px;
  font-size: 11px;
}

.auth-card input {
  min-height: 44px;
  padding: 10px 15px;
}

.auth-card .primary {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
}

.auth-card .hint {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 980px) {
  .auth-view {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "copy"
      "."
      "form";
    padding: 24px 18px 26px;
  }

  .auth-view::before {
    background-position: 56% center;
    filter: saturate(0.8) brightness(0.56) contrast(1.12);
  }

  .auth-view::after {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.3) 0%, rgba(5, 4, 3, 0.46) 38%, rgba(5, 4, 3, 0.88) 100%),
      linear-gradient(90deg, rgba(5, 4, 3, 0.72), rgba(5, 4, 3, 0.18), rgba(5, 4, 3, 0.52)),
      radial-gradient(circle at 38% 72%, rgba(217, 154, 78, 0.16), transparent 18rem),
      repeating-radial-gradient(circle at 17% 29%, rgba(255, 255, 255, 0.032) 0 1px, transparent 1px 4px);
  }

  .brand-panel {
    max-width: 360px;
  }

  .logo-lockup {
    width: 104px;
    height: 66px;
    margin-bottom: 18px;
  }

  .brand-panel h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .auth-card {
    width: 100%;
    max-width: 420px;
    justify-self: center;
  }
}

/* V13: move the heart logo into the main entry CTA */
.login-cta {
  isolation: isolate;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding-right: 30px;
  padding-left: 76px;
}

.login-cta .cta-label {
  position: relative;
  z-index: 2;
  letter-spacing: 0.14em;
}

.cta-heart-wrap {
  position: absolute;
  left: 20px;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 202, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 42% 34%, rgba(255, 226, 206, 0.18), transparent 40%),
    linear-gradient(145deg, rgba(16, 8, 15, 0.94), rgba(71, 26, 47, 0.82));
  transform: translateY(-50%);
  animation: ctaHeartBeat 0.92s cubic-bezier(0.2, 0.85, 0.35, 1) infinite;
  filter:
    drop-shadow(0 0 14px rgba(240, 199, 123, 0.52))
    drop-shadow(0 8px 18px rgba(95, 8, 24, 0.55));
}

.cta-heart-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(240, 199, 123, 0.22), transparent 58%),
    radial-gradient(circle, rgba(176, 23, 59, 0.22), transparent 66%);
  animation: ctaHeartHalo 0.92s ease-out infinite;
}

.cta-heart-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.94;
  mix-blend-mode: screen;
  animation: ctaHeartDrift 1.84s ease-in-out infinite;
}

.login-cta:hover .cta-heart-wrap {
  animation-duration: 0.72s;
}

.login-cta:hover .cta-heart-logo {
  opacity: 1;
}

@keyframes ctaHeartBeat {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
  }
  13% {
    transform: translateY(-50%) scale(1.13);
  }
  24% {
    transform: translateY(-50%) scale(0.96);
  }
  39% {
    transform: translateY(-50%) scale(1.09);
  }
  56% {
    transform: translateY(-50%) scale(1);
  }
}

@keyframes ctaHeartHalo {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(0.86);
  }
  18% {
    opacity: 0.68;
    transform: scale(1.02);
  }
  48% {
    opacity: 0;
    transform: scale(1.28);
  }
}

@keyframes ctaHeartDrift {
  0%,
  100% {
    transform: translateX(0) rotate(-1deg);
  }
  50% {
    transform: translateX(2px) rotate(1.4deg);
  }
}

@media (max-width: 520px) {
  .login-cta {
    min-height: 58px;
    padding-left: 72px;
  }

  .cta-heart-wrap {
    left: 18px;
    width: 44px;
    height: 44px;
  }

  .cta-heart-logo {
    width: 33px;
    height: 33px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-heart-wrap,
  .cta-heart-wrap::before,
  .cta-heart-logo {
    animation: none;
  }
}

/* V14: Japan adult social service flow refinements */
.adult-notice {
  margin: 8px 0 0;
  color: rgba(244, 223, 189, 0.68);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 0 14px;
}

.filter-bar button {
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(240, 199, 123, 0.18);
  border-radius: 999px;
  padding: 0 15px;
  color: rgba(255, 239, 222, 0.78);
  background: rgba(255, 255, 255, 0.045);
}

.filter-bar button.active,
.filter-bar button:hover {
  color: #fff8ec;
  border-color: rgba(219, 143, 190, 0.4);
  background: linear-gradient(135deg, rgba(176, 23, 59, 0.32), rgba(181, 119, 204, 0.2));
}

.online-dot {
  position: relative;
  padding-left: 20px !important;
}

.online-dot::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58d99a;
  box-shadow: 0 0 12px rgba(88, 217, 154, 0.8);
  transform: translateY(-50%);
}

.chat-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(240, 199, 123, 0.1);
  border-bottom: 1px solid rgba(240, 199, 123, 0.1);
  color: rgba(255, 237, 217, 0.82);
  background: rgba(255, 255, 255, 0.035);
}

.chat-status-row span {
  font-size: 13px;
  font-weight: 800;
}

.chat-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.chat-status-row button,
.trial-warning button,
.limit-notice button,
.legal-links button {
  color: #f4c7de;
  text-decoration: underline;
  background: transparent;
}

.trial-warning {
  display: grid;
  gap: 8px;
  margin: 0 16px 12px;
  border: 1px solid rgba(219, 143, 190, 0.24);
  border-radius: 10px;
  padding: 12px;
  color: rgba(255, 238, 222, 0.9);
  background: linear-gradient(135deg, rgba(176, 23, 59, 0.18), rgba(181, 119, 204, 0.12));
}

.chat-empty-note {
  display: grid;
  gap: 8px;
  margin: 40px auto;
  max-width: 320px;
  border: 1px solid rgba(240, 199, 123, 0.14);
  border-radius: 14px;
  padding: 18px;
  color: rgba(255, 238, 222, 0.72);
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

.chat-empty-note strong {
  color: #fff8ec;
}

.limit-notice {
  display: grid;
  gap: 8px;
}

.limit-notice strong {
  color: #fff8ec;
}

.member-center {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(240, 199, 123, 0.13);
  border-radius: 14px;
  background:
    radial-gradient(circle at 16% 0%, rgba(176, 23, 59, 0.16), transparent 22rem),
    rgba(17, 14, 14, 0.88);
}

.member-center-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.member-center-grid article {
  display: grid;
  gap: 8px;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.member-center-grid strong {
  color: #fff8ec;
  font-size: 18px;
}

.member-center-grid p {
  margin: 0;
  color: rgba(255, 238, 222, 0.68);
  line-height: 1.7;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.support-card {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(240, 199, 123, 0.2);
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(240, 199, 123, 0.1), rgba(219, 143, 190, 0.08));
}

.support-card span,
.support-card small {
  color: rgba(255, 238, 222, 0.64);
}

.support-card strong {
  color: #fff8ec;
  font-size: 24px;
  letter-spacing: 0.02em;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.support-list span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 8px 10px;
  color: rgba(255, 238, 222, 0.76);
  text-align: center;
  background: rgba(255, 255, 255, 0.045);
}

.modal-actions,
.profile-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.profile-modal-actions {
  grid-template-columns: 1.2fr 0.8fr;
}

@media (max-width: 760px) {
  .member-center-grid {
    grid-template-columns: 1fr;
  }

  .chat-status-row,
  .modal-actions,
  .profile-modal-actions {
    grid-template-columns: 1fr;
  }

  .chat-status-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* V15: Tokyo Night Encounter landing page */
.landing-tokyo.auth-view {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: calc(100vh - 48px);
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 205, 143, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 8%, rgba(224, 128, 174, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(240, 190, 112, 0.17), transparent 26rem),
    radial-gradient(circle at 50% 98%, rgba(72, 28, 72, 0.42), transparent 30rem),
    linear-gradient(145deg, #050406 0%, #110812 34%, #1a0d13 63%, #080607 100%);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.46);
}

.landing-tokyo.auth-view::before,
.landing-tokyo.auth-view::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-tokyo.auth-view::before {
  z-index: -2;
  opacity: 0.72;
  background:
    radial-gradient(circle at 16% 24%, rgba(255, 190, 104, 0.22), transparent 8rem),
    radial-gradient(circle at 82% 18%, rgba(255, 94, 154, 0.16), transparent 9rem),
    radial-gradient(circle at 72% 76%, rgba(154, 86, 220, 0.16), transparent 11rem),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 20px);
  filter: blur(0.2px);
  animation: landingGlowBreath 6.4s ease-in-out infinite;
}

.landing-tokyo.auth-view::after {
  z-index: -1;
  background:
    repeating-radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)),
    radial-gradient(ellipse at center, transparent 38%, rgba(0, 0, 0, 0.58) 100%);
  mix-blend-mode: soft-light;
}

.landing-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f8dfad;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(240, 199, 123, 0.38);
}

.landing-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(240, 199, 123, 0.46));
}

.landing-toplink {
  min-height: 40px;
  border: 1px solid rgba(240, 199, 123, 0.28);
  border-radius: 999px;
  padding: 0 16px;
  color: rgba(255, 239, 222, 0.82);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px);
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: end;
  gap: 22px;
  min-height: clamp(520px, 76vh, 680px);
  overflow: hidden;
  border: 1px solid rgba(245, 205, 143, 0.16);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 48px);
  background: #090608;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 28px 90px rgba(0, 0, 0, 0.44);
}

.landing-hero-media,
.landing-hero-slide,
.landing-hero-slide img,
.landing-hero-noise {
  position: absolute;
  inset: 0;
}

.landing-hero-media {
  z-index: 0;
  background:
    radial-gradient(circle at 68% 18%, rgba(233, 184, 111, 0.16), transparent 17rem),
    linear-gradient(135deg, #11080b, #050406);
}

.landing-hero-slide {
  margin: 0;
  opacity: 0;
  animation: landingHeroFade var(--slide-duration, 25s) ease-in-out infinite;
  animation-delay: var(--slide-delay, 0s);
}

.landing-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.92) contrast(1.04) brightness(0.72);
  transform: scale(1.035);
  animation: landingHeroPush var(--slide-duration, 25s) ease-in-out infinite;
  animation-delay: var(--slide-delay, 0s);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 183, 103, 0.2), transparent 16rem),
    radial-gradient(circle at 20% 16%, rgba(255, 80, 146, 0.18), transparent 14rem),
    linear-gradient(90deg, rgba(5, 3, 4, 0.86) 0%, rgba(5, 3, 4, 0.58) 42%, rgba(5, 3, 4, 0.3) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.74));
}

.landing-hero-noise {
  z-index: 2;
  opacity: 0.32;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.landing-hero-content,
.landing-auth-card {
  position: relative;
  z-index: 3;
}

.landing-hero-content.brand-panel {
  grid-area: auto;
  align-self: end;
  max-width: 680px;
  padding: 0;
}

.landing-hero-content .adult-line {
  color: #f0c77b;
  text-shadow: 0 0 22px rgba(240, 199, 123, 0.28);
}

.landing-hero-content h1 {
  max-width: 680px;
  color: #fff8ef;
  font-size: clamp(42px, 7.2vw, 78px);
  line-height: 1.02;
  letter-spacing: 0.02em;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.64);
}

.landing-hero-content .english-line {
  margin: 18px 0 0;
  color: #d993a3;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  font-style: italic;
  letter-spacing: 0.08em;
}

.landing-hero-content .lead {
  max-width: 520px;
  margin-top: 18px;
  color: rgba(255, 239, 222, 0.82);
  font-size: 16px;
  line-height: 1.9;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.landing-tokyo .primary,
.landing-tokyo .soft {
  border-radius: 20px;
  min-height: 50px;
}

.landing-primary,
.landing-tokyo .auth-card .primary,
.landing-arrow-button {
  color: #22140d;
  background: linear-gradient(135deg, #fff0c8 0%, #e5b871 46%, #d78fae 100%);
  box-shadow:
    0 0 0 1px rgba(255, 231, 190, 0.3),
    0 0 24px rgba(229, 184, 113, 0.34),
    0 14px 38px rgba(94, 20, 42, 0.35);
}

.landing-secondary,
.landing-tokyo .auth-card .soft {
  color: rgba(255, 239, 222, 0.88);
  border: 1px solid rgba(245, 205, 143, 0.24);
  background: rgba(18, 12, 16, 0.46);
  backdrop-filter: blur(18px);
}

.landing-primary:active,
.landing-tokyo .auth-card .primary:active,
.landing-arrow-button:active {
  box-shadow:
    0 0 0 9px rgba(229, 184, 113, 0.12),
    0 0 36px rgba(216, 143, 174, 0.42);
  transform: translateY(1px);
}

.landing-hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.landing-hero-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 239, 222, 0.28);
  animation: landingDotFade var(--slide-duration, 25s) ease-in-out infinite;
  animation-delay: var(--slide-delay, 0s);
}

.landing-auth-card.auth-card {
  grid-area: auto;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 390px;
  border-color: rgba(245, 205, 143, 0.22);
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(20, 14, 18, 0.66), rgba(37, 20, 26, 0.44));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px);
}

.landing-tokyo .auth-tabs {
  border: 1px solid rgba(245, 205, 143, 0.12);
  border-radius: 18px;
  background: rgba(6, 4, 6, 0.42);
}

.landing-tokyo .auth-tabs button {
  border-radius: 14px;
}

.landing-tokyo .auth-tabs button.active {
  color: #25150d;
  background: linear-gradient(135deg, #fff0c8, #e5b871);
}

.landing-tokyo .auth-card label,
.landing-tokyo .auth-card .hint,
.landing-tokyo .auth-card .check-row {
  color: rgba(255, 239, 222, 0.72);
}

.landing-tokyo .auth-card input {
  border-color: rgba(245, 205, 143, 0.18);
  border-radius: 16px;
  background: rgba(4, 3, 5, 0.42);
}

.landing-service-grid,
.landing-stats,
.landing-safety,
.landing-final-cta,
.landing-profiles {
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.landing-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(245, 205, 143, 0.16);
  border-radius: 24px;
  background: rgba(18, 13, 17, 0.54);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px);
}

.landing-service-grid article {
  min-height: 152px;
  padding: 20px;
  border-right: 1px solid rgba(245, 205, 143, 0.1);
}

.landing-service-grid article:last-child {
  border-right: 0;
}

.landing-service-grid span,
.landing-lock {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border: 1px solid rgba(245, 205, 143, 0.22);
  border-radius: 14px;
  color: #f0c77b;
  background: rgba(245, 205, 143, 0.08);
  box-shadow: 0 0 22px rgba(240, 199, 123, 0.13);
}

.landing-service-grid strong {
  display: block;
  color: #ffe7bc;
  font-size: 17px;
}

.landing-service-grid p,
.landing-profile-copy p,
.landing-stats p,
.landing-safety p,
.landing-final-cta p {
  margin: 8px 0 0;
  color: rgba(255, 239, 222, 0.66);
  line-height: 1.65;
}

.landing-profiles {
  border: 1px solid rgba(245, 205, 143, 0.14);
  border-radius: 26px;
  padding: 18px;
  background:
    radial-gradient(circle at 16% 0%, rgba(213, 143, 174, 0.13), transparent 18rem),
    rgba(9, 6, 10, 0.46);
  backdrop-filter: blur(18px);
}

.landing-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.landing-section-head h2,
.landing-safety h2,
.landing-final-cta h2 {
  margin: 0;
  color: #fff8ef;
  font-size: clamp(24px, 4vw, 40px);
}

.landing-profile-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 4px;
  padding: 3px 2px 12px;
  outline: none;
  -webkit-overflow-scrolling: touch;
}

.landing-profile-track::-webkit-scrollbar {
  height: 4px;
}

.landing-profile-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(245, 205, 143, 0.3);
}

.landing-profile-card {
  position: relative;
  flex: 0 0 178px;
  min-height: 278px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(245, 205, 143, 0.18);
  border-radius: 22px;
  background: rgba(20, 14, 18, 0.5);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.landing-profile-card::after {
  content: "";
  position: absolute;
  inset: auto 10px 10px;
  height: 82px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 6, 10, 0), rgba(9, 6, 10, 0.86));
  pointer-events: none;
}

.landing-profile-photo {
  height: 100%;
  min-height: 278px;
  background: linear-gradient(135deg, rgba(245, 205, 143, 0.16), rgba(213, 143, 174, 0.14));
}

.landing-profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 278px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.95) contrast(1.03);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.landing-profile-card:hover .landing-profile-photo img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.05) brightness(1.02);
}

.landing-profile-copy {
  position: absolute;
  z-index: 2;
  left: 14px;
  right: 14px;
  bottom: 14px;
}

.landing-profile-copy .online-dot {
  display: inline-flex;
  margin-bottom: 7px;
  border: 1px solid rgba(88, 217, 154, 0.24);
  border-radius: 999px;
  padding: 4px 8px 4px 20px !important;
  color: rgba(225, 255, 239, 0.88);
  background: rgba(12, 45, 28, 0.42);
  font-size: 11px;
  font-weight: 800;
}

.landing-profile-copy h3 {
  margin: 0;
  color: #fff8ef;
  font-size: 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6);
}

.landing-profile-copy small {
  color: rgba(255, 239, 222, 0.72);
  font-size: 12px;
}

.landing-profile-copy p {
  margin-top: 3px;
  font-size: 12px;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(245, 205, 143, 0.14);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(213, 143, 174, 0.13), transparent 18rem),
    rgba(18, 13, 17, 0.52);
  backdrop-filter: blur(18px);
}

.landing-stats article {
  padding: 22px;
  text-align: center;
  border-right: 1px solid rgba(245, 205, 143, 0.1);
}

.landing-stats article:last-child {
  border-right: 0;
}

.landing-stats span {
  color: #f3c87f;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  text-shadow: 0 0 24px rgba(240, 199, 123, 0.22);
}

.landing-safety,
.landing-final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(245, 205, 143, 0.16);
  border-radius: 26px;
  padding: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(240, 199, 123, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(15, 9, 14, 0.76), rgba(42, 17, 31, 0.54));
  box-shadow: 0 22px 72px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.landing-lock {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 20px;
  font-size: 22px;
}

.landing-final-cta {
  grid-template-columns: 1fr auto;
  min-height: 180px;
  background:
    radial-gradient(circle at 82% 40%, rgba(240, 199, 123, 0.2), transparent 13rem),
    linear-gradient(135deg, rgba(28, 13, 38, 0.82), rgba(84, 17, 39, 0.66));
}

.landing-arrow-button {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  font-size: 34px;
}

.landing-tokyo .landing-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 20px 0 0;
  padding: 6px 0 0;
}

.landing-tokyo .landing-footer button {
  color: rgba(255, 239, 222, 0.52);
  background: transparent;
  font-size: 12px;
}

.landing-tokyo .landing-footer button:hover {
  color: rgba(255, 231, 188, 0.9);
}

@keyframes landingHeroFade {
  0%,
  18% {
    opacity: 1;
  }
  26%,
  100% {
    opacity: 0;
  }
}

@keyframes landingHeroPush {
  0% {
    transform: scale(1.025);
  }
  24%,
  100% {
    transform: scale(1.06);
  }
}

@keyframes landingDotFade {
  0%,
  18% {
    width: 24px;
    background: #f0c77b;
    box-shadow: 0 0 16px rgba(240, 199, 123, 0.46);
  }
  26%,
  100% {
    width: 7px;
    background: rgba(255, 239, 222, 0.28);
    box-shadow: none;
  }
}

@keyframes landingGlowBreath {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.86;
    transform: scale(1.02);
  }
}

@media (max-width: 900px) {
  .landing-tokyo.auth-view {
    padding: 12px;
    border-radius: 24px;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    align-content: end;
    min-height: 680px;
    padding: 22px;
  }

  .landing-hero::before {
    background:
      radial-gradient(circle at 78% 20%, rgba(255, 183, 103, 0.2), transparent 14rem),
      linear-gradient(180deg, rgba(5, 3, 4, 0.24) 0%, rgba(5, 3, 4, 0.7) 42%, rgba(5, 3, 4, 0.9) 100%);
  }

  .landing-auth-card.auth-card {
    justify-self: start;
    max-width: 430px;
  }

  .landing-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-service-grid article:nth-child(2) {
    border-right: 0;
  }

  .landing-service-grid article {
    border-bottom: 1px solid rgba(245, 205, 143, 0.1);
  }

  .landing-service-grid article:nth-child(n + 3) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .app-shell {
    width: min(100% - 14px, 1180px);
    padding-top: 8px;
  }

  .landing-tokyo.auth-view {
    min-height: auto;
    padding: 8px;
    border-radius: 20px;
  }

  .landing-topbar {
    padding: 3px 2px;
  }

  .landing-brand {
    font-size: 19px;
  }

  .landing-brand img {
    width: 34px;
    height: 34px;
  }

  .landing-toplink {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .landing-hero {
    min-height: 650px;
    border-radius: 22px;
    padding: 18px 14px;
    row-gap: 24px;
  }

  .landing-hero-content h1 {
    font-size: clamp(31px, 9.5vw, 40px);
    line-height: 1.08;
  }

  .landing-hero-content .english-line {
    font-size: 21px;
  }

  .landing-hero-content .lead {
    font-size: 14px;
    line-height: 1.75;
  }

  .landing-actions {
    gap: 9px;
    margin-top: 20px;
  }

  .landing-actions button {
    flex: 1 1 136px;
    padding: 0 12px;
  }

  .landing-auth-card.auth-card {
    justify-self: stretch;
    max-width: none;
    margin-top: 4px;
    padding: 16px;
    border-radius: 20px;
  }

  .landing-service-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .landing-service-grid article {
    flex: 0 0 78%;
    min-height: 150px;
    border-right: 1px solid rgba(245, 205, 143, 0.1);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .landing-profiles {
    padding: 14px;
    border-radius: 22px;
  }

  .landing-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .landing-section-head .soft {
    min-height: 40px;
    padding: 0 12px;
    width: fit-content;
    max-width: 100%;
    white-space: nowrap;
  }

  .landing-profile-card {
    flex-basis: 168px;
    min-height: 258px;
  }

  .landing-profile-photo,
  .landing-profile-photo img {
    min-height: 258px;
  }

  .landing-stats,
  .landing-safety,
  .landing-final-cta {
    grid-template-columns: 1fr;
  }

  .landing-stats article {
    border-right: 0;
    border-bottom: 1px solid rgba(245, 205, 143, 0.1);
    padding: 18px;
  }

  .landing-stats article:last-child {
    border-bottom: 0;
  }

  .landing-safety,
  .landing-final-cta {
    padding: 20px;
    border-radius: 22px;
  }

  .landing-arrow-button {
    width: 64px;
    height: 64px;
  }

  .landing-tokyo .landing-footer {
    gap: 8px 12px;
    padding: 8px 4px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-tokyo.auth-view::before,
  .landing-hero-slide,
  .landing-hero-slide img,
  .landing-hero-dots span {
    animation: none;
  }

  .landing-hero-slide:first-child {
    opacity: 1;
  }
}

/* V16: reference-style Private Night landing reconstruction */
.landing-private-night.auth-view {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 24px);
  border-color: rgba(255, 151, 197, 0.16);
  border-radius: 0;
  background:
    radial-gradient(circle at 84% 8%, rgba(255, 78, 164, 0.22), transparent 11rem),
    radial-gradient(circle at 18% 18%, rgba(255, 196, 112, 0.13), transparent 12rem),
    radial-gradient(circle at 50% 70%, rgba(156, 43, 114, 0.18), transparent 22rem),
    linear-gradient(180deg, #05050b 0%, #080712 44%, #0b0710 100%);
  box-shadow: none;
}

.landing-private-night,
.landing-private-night * {
  min-width: 0;
}

.landing-private-night .landing-topbar {
  margin: 0 0 14px;
}

.landing-private-night .landing-brand {
  align-items: flex-start;
  gap: 10px;
  font-family: "Times New Roman", Georgia, serif;
  letter-spacing: 0.14em;
}

.landing-private-night .landing-brand img {
  width: 38px;
  height: 38px;
  filter:
    drop-shadow(0 0 11px rgba(255, 114, 187, 0.72))
    drop-shadow(0 0 18px rgba(255, 207, 142, 0.26));
}

.landing-private-night .landing-brand strong,
.landing-private-night .landing-brand small {
  display: block;
  line-height: 1.05;
}

.landing-private-night .landing-brand strong {
  color: #ffe5bc;
  font-size: 17px;
  text-shadow: 0 0 18px rgba(255, 181, 203, 0.5);
}

.landing-private-night .landing-brand small {
  margin-top: 5px;
  color: #f091c2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.22em;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-floating-login {
  display: none;
}

.landing-inline-login {
  display: none;
}

.landing-login-pill,
.landing-menu-button {
  color: #ffe9d3;
  border: 1px solid rgba(255, 166, 205, 0.32);
  background: rgba(48, 22, 38, 0.48);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.04),
    0 0 22px rgba(255, 102, 172, 0.22);
  backdrop-filter: blur(18px);
}

.landing-login-pill {
  min-height: 46px;
  min-width: 78px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 900;
}

.landing-menu-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 22px;
}

.landing-private-night .landing-hero {
  min-height: clamp(560px, 88vh, 720px);
  display: flex;
  align-items: flex-end;
  border-color: rgba(255, 146, 196, 0.18);
  border-radius: 30px;
  padding: clamp(26px, 5vw, 42px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 228, 198, 0.04),
    inset 0 -120px 120px rgba(5, 5, 11, 0.62),
    0 24px 70px rgba(0, 0, 0, 0.48);
}

.landing-private-night .landing-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(circle at 80% 52%, rgba(255, 47, 145, 0.16), transparent 9rem),
    radial-gradient(circle at 23% 82%, rgba(255, 190, 104, 0.2), transparent 8rem),
    linear-gradient(90deg, rgba(6, 6, 12, 0.9) 0%, rgba(6, 6, 12, 0.58) 44%, rgba(6, 6, 12, 0.14) 100%);
}

.landing-private-night .landing-hero-slide img {
  object-position: 70% 18%;
  filter: saturate(0.95) contrast(1.08) brightness(0.68);
}

.landing-private-night .landing-hero::before {
  background:
    linear-gradient(180deg, rgba(5, 5, 11, 0.05) 0%, rgba(5, 5, 11, 0.28) 48%, rgba(5, 5, 11, 0.84) 100%),
    radial-gradient(circle at 78% 14%, rgba(255, 116, 183, 0.16), transparent 10rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 6px);
}

.landing-private-night .landing-hero-content.brand-panel {
  width: min(100%, 420px);
  align-self: center;
  padding: 16px 0 72px;
}

.landing-private-night .adult-line {
  margin-bottom: 18px;
  color: #f3c878;
  font-size: 12px;
  letter-spacing: 0.32em;
}

.landing-private-night .landing-hero-content h1 {
  max-width: 420px;
  color: #fff2df;
  font-size: clamp(36px, 8.6vw, 60px);
  line-height: 1.28;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 18px rgba(255, 228, 202, 0.2),
    0 18px 44px rgba(0, 0, 0, 0.66);
}

.landing-private-night .landing-hero-content h1 span {
  color: #ff8fbf;
  text-shadow: 0 0 20px rgba(255, 93, 170, 0.52);
}

.landing-private-night .landing-hero-content .english-line {
  margin-top: 20px;
  color: #d983b2;
  font-family: inherit;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.landing-private-night .landing-hero-content .lead {
  max-width: 340px;
  margin-top: 9px;
  color: rgba(255, 239, 222, 0.72);
  font-size: 14px;
  line-height: 1.75;
}

.landing-private-night .landing-actions {
  margin-top: 22px;
}

.landing-private-night .landing-primary {
  min-width: 210px;
  min-height: 58px;
  justify-content: space-between;
  border-radius: 24px;
  color: #fff7ed;
  padding: 0 24px;
  background:
    linear-gradient(135deg, rgba(255, 185, 166, 0.96), rgba(173, 37, 104, 0.86)),
    radial-gradient(circle at 22% 50%, rgba(255, 245, 198, 0.52), transparent 3rem);
  box-shadow:
    0 0 0 1px rgba(255, 212, 172, 0.28),
    0 0 26px rgba(255, 68, 151, 0.46),
    0 14px 42px rgba(92, 12, 45, 0.46);
}

.landing-private-night .landing-primary::before {
  content: "鉁?;
  margin-right: 12px;
  color: #ffecc8;
}

.landing-private-night .landing-primary::after {
  content: "鈫?;
  margin-left: 18px;
  color: rgba(255, 244, 226, 0.86);
}

.landing-under-note {
  margin: 12px 0 0 22px;
  color: rgba(255, 231, 208, 0.48);
  font-size: 12px;
}

.landing-private-night .landing-hero-dots {
  position: absolute;
  left: clamp(26px, 5vw, 42px);
  bottom: 24px;
}

.landing-private-night .landing-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -54px;
  border-color: rgba(255, 144, 197, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(42, 30, 42, 0.72), rgba(18, 14, 26, 0.64)),
    radial-gradient(circle at 50% 0%, rgba(255, 185, 136, 0.14), transparent 14rem);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 42px rgba(255, 122, 190, 0.06);
}

.landing-private-night .landing-service-grid article {
  display: grid;
  place-items: center;
  min-height: 142px;
  padding: 18px 12px;
  text-align: center;
}

.landing-private-night .landing-service-grid span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffddb6;
  background: rgba(255, 186, 142, 0.09);
  box-shadow: 0 0 20px rgba(255, 147, 190, 0.18);
}

.landing-private-night .landing-service-grid strong {
  color: #ffe9d1;
  font-size: 15px;
}

.landing-private-night .landing-service-grid p {
  margin: 3px 0 0;
  color: rgba(255, 232, 214, 0.64);
  font-size: 12px;
  line-height: 1.45;
}

.landing-vertical-profiles {
  border-color: rgba(255, 141, 199, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 77, 157, 0.12), transparent 12rem),
    rgba(9, 8, 18, 0.42);
}

.landing-vertical-profiles .landing-section-head {
  flex-direction: row;
  align-items: center;
}

.landing-vertical-profiles .landing-section-head h2::before {
  content: "馃敟";
  margin-right: 10px;
  font-size: 20px;
}

.landing-profile-viewport {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 20px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.landing-private-night .landing-profile-track {
  display: grid;
  grid-auto-rows: 136px;
  gap: 12px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  padding: 10px 4px 14px;
  scrollbar-width: none;
}

.landing-private-night .landing-profile-track::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.landing-private-night .landing-profile-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  min-height: 136px;
  height: 136px;
  width: 100%;
  scroll-snap-align: center;
  border-radius: 18px;
  border-color: rgba(255, 158, 204, 0.24);
  background:
    linear-gradient(135deg, rgba(33, 23, 36, 0.76), rgba(16, 13, 24, 0.72)),
    radial-gradient(circle at 100% 0%, rgba(255, 85, 158, 0.16), transparent 8rem);
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.035),
    0 12px 36px rgba(0, 0, 0, 0.35);
  animation: landingVerticalFade 6.8s ease-in-out infinite;
  animation-delay: calc(var(--reel-index, 0) * 0.42s);
}

.landing-private-night .landing-profile-card::after {
  inset: 0;
  height: auto;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(8, 7, 14, 0) 36%, rgba(8, 7, 14, 0.5));
}

.landing-private-night .landing-profile-photo {
  min-height: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.landing-private-night .landing-profile-photo img {
  min-height: 100%;
  height: 100%;
  object-position: center 18%;
}

.landing-private-night .landing-profile-copy {
  position: relative;
  z-index: 2;
  left: auto;
  right: auto;
  bottom: auto;
  align-self: end;
  padding: 0 10px 14px 0;
}

.landing-private-night .landing-profile-copy h3 {
  font-size: 19px;
}

.landing-private-night .landing-profile-copy p {
  font-size: 13px;
}

.landing-private-night .landing-stats {
  border-color: rgba(255, 144, 197, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(41, 28, 44, 0.68), rgba(16, 13, 24, 0.68)),
    radial-gradient(circle at 90% 50%, rgba(255, 75, 155, 0.16), transparent 12rem);
}

.landing-private-night .landing-stats span {
  color: #ff9dcc;
  text-shadow: 0 0 22px rgba(255, 98, 174, 0.42);
}

.landing-private-night .landing-safety,
.landing-private-night .landing-final-cta,
.landing-auth-section {
  border: 1px solid rgba(255, 144, 197, 0.16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(44, 31, 40, 0.7), rgba(14, 12, 22, 0.7)),
    radial-gradient(circle at 92% 46%, rgba(255, 83, 158, 0.18), transparent 12rem);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.38);
}

.landing-private-night .landing-final-cta {
  min-height: 150px;
}

.landing-private-night .landing-arrow-button {
  background: radial-gradient(circle at 36% 28%, #ffcaa4, #d94173 62%, #81234f);
  color: #fff8f0;
  box-shadow:
    0 0 0 1px rgba(255, 210, 172, 0.34),
    0 0 32px rgba(255, 75, 145, 0.72);
}

.landing-auth-section {
  margin-top: 18px;
  padding: 18px;
}

.landing-auth-section .landing-auth-card.auth-card {
  max-width: 460px;
  margin: 0 auto;
}

@keyframes landingVerticalFade {
  0%,
  100% {
    opacity: 0.68;
  }
  18%,
  72% {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .landing-private-night.auth-view {
    position: relative;
    width: 100%;
    padding: 10px;
  }

  .landing-private-night .landing-topbar {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 10px;
    overflow: visible;
  }

  .landing-nav-actions {
    position: relative;
    z-index: 12;
    justify-self: end;
    gap: 7px;
  }

  .landing-floating-login {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 38px;
    border: 1px solid rgba(255, 166, 205, 0.34);
    border-radius: 999px;
    color: #ffe9d3;
    background: rgba(48, 22, 38, 0.58);
    box-shadow:
      inset 0 0 18px rgba(255, 255, 255, 0.05),
      0 0 24px rgba(255, 102, 172, 0.32);
    backdrop-filter: blur(18px);
    font-size: 12px;
    font-weight: 900;
  }

  .landing-private-night .landing-brand strong {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .landing-private-night .landing-brand small {
    font-size: 9px;
  }

  .landing-private-night .landing-brand {
    width: 100%;
    align-items: center;
  }

  .landing-inline-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 38px;
    margin-left: auto;
    border: 1px solid rgba(255, 166, 205, 0.34);
    border-radius: 999px;
    color: #ffe9d3;
    background: rgba(48, 22, 38, 0.64);
    box-shadow:
      inset 0 0 18px rgba(255, 255, 255, 0.05),
      0 0 24px rgba(255, 102, 172, 0.34);
    backdrop-filter: blur(18px);
    font-size: 12px;
    font-weight: 900;
  }

  .landing-login-pill {
    display: none !important;
  }

  .landing-menu-button {
    display: none;
  }

  .landing-private-night .landing-hero {
    min-height: 590px;
    padding: 26px 16px;
    border-radius: 24px;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 82%;
    padding: 10px 0 64px;
  }

  .landing-private-night .landing-hero-content h1 {
    font-size: clamp(33px, 10.2vw, 42px);
    line-height: 1.32;
  }

  .landing-private-night .landing-hero-content .english-line {
    font-size: 15px;
  }

  .landing-private-night .landing-hero-content .lead {
    font-size: 13px;
  }

  .landing-private-night .landing-primary {
    min-width: 188px;
  }

  .landing-private-night .landing-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    margin-top: -42px;
    width: 100%;
  }

  .landing-private-night .landing-service-grid article {
    flex: initial;
    min-width: 0;
    min-height: 112px;
    padding: 13px 8px;
  }

  .landing-private-night .landing-service-grid span {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .landing-private-night .landing-service-grid strong {
    font-size: 13px;
  }

  .landing-private-night .landing-service-grid p {
    font-size: 10px;
  }

  .landing-vertical-profiles .landing-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-profile-viewport {
    height: 596px;
  }

  .landing-private-night .landing-profile-track {
    grid-auto-rows: 108px;
  }

  .landing-private-night .landing-profile-card {
    grid-template-columns: 92px 1fr;
    min-height: 108px;
    height: 108px;
  }

  .landing-private-night .landing-profile-copy h3 {
    font-size: 16px;
  }

  .landing-private-night .landing-profile-copy {
    padding-bottom: 10px;
  }

  .landing-private-night .landing-stats {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .landing-private-night .landing-stats article {
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 144, 197, 0.12);
    padding: 16px;
  }

  .landing-private-night .landing-stats span {
    font-size: 26px;
  }

  .landing-private-night .landing-stats p {
    font-size: 12px;
  }
}

/* Keep the reference-style login entrance visible above all hero layers. */
.landing-private-night .landing-floating-login {
  display: none !important;
}

.landing-private-night .landing-login-pill {
  display: none !important;
}

#authView.landing-private-night::after {
  content: none;
  display: none;
}

.landing-private-night .landing-inline-login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid rgba(255, 166, 205, 0.34);
  border-radius: 999px;
  color: #ffe9d3;
  background: rgba(48, 22, 38, 0.64);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.05),
    0 0 24px rgba(255, 102, 172, 0.34);
  backdrop-filter: blur(18px);
  font-size: 12px;
  font-weight: 900;
}

.landing-private-night .landing-brand {
  width: 100%;
  align-items: center;
}

/* V17: high-fidelity Private Night landing based on the provided reference. */
body:has(#authView:not(.hidden)) {
  overflow-x: hidden;
}

.app-shell:has(#authView:not(.hidden)) {
  width: min(100vw, 606px);
  max-width: 100vw;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
}

.landing-private-night.auth-view {
  width: min(100%, 606px);
  padding: 22px 22px 24px;
  border-radius: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 126, 166, 0.08), transparent 8rem),
    radial-gradient(circle at 80% 2%, rgba(238, 69, 155, 0.22), transparent 8rem),
    radial-gradient(circle at 20% 34%, rgba(240, 174, 118, 0.14), transparent 11rem),
    linear-gradient(180deg, #060711 0%, #0a0710 42%, #070712 100%);
  color: #fff4e9;
}

.landing-private-night.auth-view::before,
.member-view .topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    radial-gradient(ellipse at 20% 12%, transparent 0 26px, rgba(231, 137, 180, 0.24) 27px 28px, transparent 29px),
    radial-gradient(ellipse at 78% 24%, transparent 0 18px, rgba(231, 137, 180, 0.2) 19px 20px, transparent 21px),
    radial-gradient(ellipse at 46% 78%, transparent 0 22px, rgba(231, 137, 180, 0.16) 23px 24px, transparent 25px);
  background-size: 180px 180px, 220px 220px, 260px 260px;
}

.sakura-petals {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.sakura-petals span {
  position: absolute;
  top: -24px;
  left: var(--petal-left, 50%);
  width: var(--petal-size, 11px);
  height: calc(var(--petal-size, 11px) * 0.72);
  border-radius: 70% 20% 70% 20%;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 238, 229, 0.62), transparent 36%),
    linear-gradient(135deg, rgba(230, 146, 178, var(--petal-alpha, 0.28)), rgba(121, 42, 79, var(--petal-alpha, 0.22)));
  filter: blur(0.15px);
  opacity: var(--petal-alpha, 0.28);
  transform: rotate(var(--petal-rotate, 18deg));
  animation: sakuraPetalFall var(--petal-duration, 18s) linear infinite;
  animation-delay: var(--petal-delay, 0s);
}

.sakura-petals span:nth-child(1) { --petal-left: 8%; --petal-size: 9px; --petal-alpha: 0.2; --petal-duration: 21s; --petal-delay: -4s; --petal-drift: 30px; --petal-rotate: 14deg; }
.sakura-petals span:nth-child(2) { --petal-left: 22%; --petal-size: 12px; --petal-alpha: 0.32; --petal-duration: 24s; --petal-delay: -12s; --petal-drift: -24px; --petal-rotate: -18deg; }
.sakura-petals span:nth-child(3) { --petal-left: 38%; --petal-size: 8px; --petal-alpha: 0.18; --petal-duration: 19s; --petal-delay: -7s; --petal-drift: 18px; --petal-rotate: 28deg; }
.sakura-petals span:nth-child(4) { --petal-left: 51%; --petal-size: 10px; --petal-alpha: 0.24; --petal-duration: 26s; --petal-delay: -17s; --petal-drift: -34px; --petal-rotate: -8deg; }
.sakura-petals span:nth-child(5) { --petal-left: 66%; --petal-size: 13px; --petal-alpha: 0.3; --petal-duration: 23s; --petal-delay: -5s; --petal-drift: 22px; --petal-rotate: 22deg; }
.sakura-petals span:nth-child(6) { --petal-left: 82%; --petal-size: 9px; --petal-alpha: 0.22; --petal-duration: 20s; --petal-delay: -13s; --petal-drift: -16px; --petal-rotate: -28deg; }
.sakura-petals span:nth-child(7) { --petal-left: 92%; --petal-size: 11px; --petal-alpha: 0.28; --petal-duration: 25s; --petal-delay: -9s; --petal-drift: -42px; --petal-rotate: 12deg; }
.sakura-petals span:nth-child(8) { --petal-left: 15%; --petal-size: 10px; --petal-alpha: 0.26; --petal-duration: 27s; --petal-delay: -20s; --petal-drift: 38px; --petal-rotate: -12deg; }
.sakura-petals span:nth-child(9) { --petal-left: 58%; --petal-size: 8px; --petal-alpha: 0.18; --petal-duration: 22s; --petal-delay: -15s; --petal-drift: 16px; --petal-rotate: 32deg; }
.sakura-petals span:nth-child(10) { --petal-left: 74%; --petal-size: 12px; --petal-alpha: 0.34; --petal-duration: 28s; --petal-delay: -2s; --petal-drift: -26px; --petal-rotate: -22deg; }

@keyframes sakuraPetalFall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(var(--petal-rotate, 18deg));
  }
  50% {
    transform: translate3d(calc(var(--petal-drift, 24px) * 0.55), 48vh, 0) rotate(calc(var(--petal-rotate, 18deg) + 86deg));
  }
  100% {
    transform: translate3d(var(--petal-drift, 24px), 108vh, 0) rotate(calc(var(--petal-rotate, 18deg) + 172deg));
  }
}

.landing-private-night .landing-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin: 0 0 18px;
  padding: 0;
}

.landing-private-night .landing-brand {
  width: auto;
  display: grid;
  grid-template-columns: 34px auto;
  align-items: start;
  gap: 8px;
}

.landing-private-night .landing-brand img {
  width: 34px;
  height: 34px;
}

.landing-private-night .landing-brand strong {
  color: #ffe1b8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 0.13em;
}

.landing-private-night .landing-brand small {
  margin-top: 3px;
  color: #ef8dbf;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.landing-private-night .landing-inline-login {
  display: none !important;
}

.landing-private-night .landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-private-night .landing-login-pill {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffe8d7;
  background: rgba(80, 38, 62, 0.42);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(255, 122, 184, 0.28);
  font-size: 12px;
  font-weight: 900;
}

.landing-private-night .landing-menu-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 229, 209, 0.88);
  background: transparent;
  box-shadow: none;
  font-size: 26px;
  line-height: 1;
}

.landing-private-night .landing-hero {
  min-height: 325px;
  margin: 0;
  padding: 38px 28px 26px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 28%, rgba(236, 73, 151, 0.24), transparent 8rem),
    linear-gradient(90deg, rgba(7, 8, 18, 0.96) 0%, rgba(7, 8, 18, 0.68) 50%, rgba(7, 8, 18, 0.18) 100%);
  box-shadow: none;
}

.landing-private-night .landing-hero-media {
  z-index: 0;
  left: 36%;
  background:
    radial-gradient(circle at 62% 38%, rgba(255, 125, 182, 0.18), transparent 9rem),
    linear-gradient(135deg, #0b0710, #15101a);
}

.landing-private-night .landing-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #070812 0%, rgba(7, 8, 18, 0.78) 12%, rgba(7, 8, 18, 0.08) 58%, rgba(7, 8, 18, 0.38) 100%),
    radial-gradient(circle at 72% 16%, rgba(255, 96, 180, 0.24), transparent 5rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 5px);
}

.landing-private-night .landing-hero-slide {
  opacity: 1 !important;
  animation: none !important;
}

.landing-private-night .landing-hero-slide img {
  object-position: center 16%;
  filter: saturate(0.92) contrast(1.08) brightness(0.84) sepia(0.06) hue-rotate(306deg);
  transform: scale(1.02);
  animation: none !important;
}

.landing-private-night .landing-hero::before {
  z-index: 1;
  background:
    radial-gradient(circle at 82% 64%, rgba(255, 178, 104, 0.16), transparent 6rem),
    linear-gradient(90deg, rgba(7, 8, 18, 0.94) 0%, rgba(7, 8, 18, 0.65) 42%, rgba(7, 8, 18, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 8, 18, 0.05), rgba(7, 8, 18, 0.62));
}

.landing-private-night .landing-hero-noise {
  opacity: 0.25;
}

.landing-private-night .landing-hero-content.brand-panel {
  width: 58%;
  max-width: 330px;
  align-self: center;
  padding: 0;
  text-align: left;
}

.landing-private-night .adult-line {
  margin: 0 0 18px;
  color: #f0b05f;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.26em;
}

.landing-private-night .landing-hero-content h1 {
  max-width: 320px;
  margin: 0;
  color: #fff3e5;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(33px, 7vw, 46px);
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.landing-private-night .landing-hero-content h1 span {
  color: #ff78b7;
  text-shadow: 0 0 18px rgba(255, 95, 174, 0.5);
}

.landing-private-night .landing-hero-content .english-line {
  margin: 20px 0 0;
  color: #d976a9;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-private-night .landing-hero-content .lead {
  max-width: 300px;
  margin: 8px 0 0;
  color: rgba(255, 236, 220, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.landing-private-night .landing-actions {
  margin-top: 22px;
}

.landing-private-night .landing-primary {
  min-width: 194px;
  min-height: 50px;
  border-radius: 26px;
  padding: 0 22px;
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 228, 190, 0.44), transparent 2.6rem),
    linear-gradient(135deg, rgba(255, 176, 158, 0.96), rgba(181, 45, 111, 0.86) 58%, rgba(90, 31, 70, 0.9));
  box-shadow:
    0 0 0 1px rgba(255, 185, 173, 0.34),
    0 0 28px rgba(255, 73, 149, 0.52),
    0 14px 34px rgba(68, 11, 42, 0.52);
  font-size: 15px;
  letter-spacing: 0.08em;
}

.landing-under-note {
  margin: 12px 0 0 24px;
  color: rgba(255, 231, 208, 0.52);
  font-size: 11px;
}

.landing-private-night .landing-hero-dots {
  display: none;
}

.landing-private-night .landing-service-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -8px 0 28px;
  border: 1px solid rgba(255, 151, 202, 0.25);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 169, 123, 0.2), transparent 14rem),
    linear-gradient(135deg, rgba(38, 30, 45, 0.78), rgba(15, 14, 24, 0.72));
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.42),
    inset 0 0 40px rgba(255, 102, 174, 0.08);
  backdrop-filter: blur(20px);
}

.landing-private-night .landing-service-grid article {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 16px 8px 14px;
  border-right: 1px solid rgba(255, 218, 198, 0.11);
  text-align: center;
}

.landing-private-night .landing-service-grid article:last-child {
  border-right: 0;
}

.landing-private-night .landing-service-grid span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 9px;
  border: 1px solid rgba(255, 201, 158, 0.36);
  border-radius: 50%;
  color: #f6c48e;
  background: rgba(255, 190, 151, 0.06);
  font-size: 20px;
  box-shadow: 0 0 18px rgba(255, 147, 190, 0.18);
}

.landing-private-night .landing-service-grid strong {
  color: #ffe8cf;
  font-size: 13px;
  line-height: 1.25;
}

.landing-private-night .landing-service-grid p {
  margin: 5px 0 0;
  color: rgba(255, 232, 214, 0.66);
  font-size: 10px;
  line-height: 1.45;
}

.landing-private-night .landing-profiles {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-private-night .landing-section-head {
  flex-direction: row;
  align-items: center;
  margin: 0 0 14px;
}

.landing-private-night .landing-section-head .eyebrow {
  display: none;
}

.landing-private-night .landing-section-head h2 {
  display: flex;
  align-items: center;
  margin: 0;
  color: #fff8ef;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.landing-private-night .landing-section-head h2::before {
  content: "鉁?;
  margin-right: 8px;
  color: #e994b5;
  font-size: 18px;
  text-shadow: 0 0 14px rgba(232, 136, 178, 0.42);
}

.landing-private-night .landing-section-head .soft {
  min-height: auto;
  padding: 0;
  border: 0;
  color: #eebf9c;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.landing-private-night .landing-section-head .soft::after {
  content: "鈥?;
  margin-left: 7px;
  font-size: 18px;
}

.landing-private-night .landing-profile-track {
  display: flex;
  gap: 8px;
  height: auto;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.landing-private-night .landing-profile-track::-webkit-scrollbar {
  display: none;
}

.landing-private-night .landing-profile-card {
  flex: 0 0 calc((100% - 32px) / 5);
  display: block;
  min-height: 200px;
  height: 200px;
  border: 1px solid rgba(255, 126, 190, 0.32);
  border-radius: 9px;
  overflow: hidden;
  background: #120d16;
  box-shadow:
    inset 0 0 22px rgba(255, 104, 178, 0.08),
    0 0 0 1px rgba(225, 126, 164, 0.04),
    0 0 18px rgba(225, 126, 164, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.36);
  animation: landingCardFade 5.8s ease-in-out infinite;
  animation-delay: calc(var(--reel-index, 0) * 0.28s);
}

.landing-private-night button:active,
.member-view button:active {
  box-shadow:
    0 0 0 1px rgba(235, 154, 184, 0.24),
    0 0 24px rgba(235, 132, 181, 0.34),
    inset 0 0 18px rgba(255, 232, 238, 0.06);
}

.landing-private-night .landing-profile-card::after {
  inset: auto 0 0;
  height: 64%;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 7, 14, 0.82) 62%, rgba(8, 7, 14, 0.96));
}

.landing-private-night .landing-profile-photo {
  height: 100%;
  min-height: 100%;
  border-radius: 0;
}

.landing-private-night .landing-profile-photo img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.86) contrast(1.08) brightness(0.78) sepia(0.06) hue-rotate(306deg);
}

.landing-private-night .landing-profile-copy {
  position: absolute;
  left: 10px;
  right: 8px;
  bottom: 10px;
  z-index: 2;
  padding: 0;
}

.landing-private-night .landing-profile-copy .online-dot {
  display: block;
  width: fit-content;
  margin-top: 5px;
  padding: 0;
  border: 0;
  color: #49e49a;
  background: transparent;
  font-size: 10px;
}

.landing-private-night .landing-profile-copy .online-dot::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #2fe38b;
  box-shadow: 0 0 9px rgba(47, 227, 139, 0.68);
}

.landing-private-night .landing-profile-copy h3 {
  margin: 0 0 5px;
  color: #fff4e8;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.landing-private-night .landing-profile-copy h3 small {
  color: rgba(255, 232, 214, 0.7);
  font-size: 10px;
  font-weight: 800;
}

.landing-private-night .landing-profile-copy p {
  margin: 0;
  color: rgba(255, 230, 213, 0.78);
  font-size: 10px;
  line-height: 1.25;
}

.landing-private-night .landing-stats {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border: 1px solid rgba(255, 136, 198, 0.22);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 74, 154, 0.14), transparent 10rem),
    linear-gradient(135deg, rgba(37, 29, 43, 0.76), rgba(14, 13, 24, 0.72));
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.34),
    inset 0 0 36px rgba(255, 104, 178, 0.06);
}

.landing-private-night .landing-stats article {
  padding: 21px 8px;
  border-right: 1px solid rgba(255, 218, 198, 0.1);
}

.landing-private-night .landing-stats span {
  color: #ff99c9;
  font-size: 18px;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(255, 98, 174, 0.42);
}

.landing-private-night .landing-stats p {
  margin: 5px 0 0;
  color: rgba(255, 232, 214, 0.7);
  font-size: 11px;
}

.landing-private-night .landing-safety {
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 136, 198, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 84% 50%, rgba(255, 101, 170, 0.14), transparent 10rem),
    linear-gradient(135deg, rgba(25, 20, 31, 0.82), rgba(10, 10, 18, 0.78));
}

.landing-private-night .landing-lock {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #f3bf8c;
}

.landing-private-night .landing-safety .eyebrow,
.landing-private-night .landing-final-cta .eyebrow {
  display: none;
}

.landing-private-night .landing-safety h2 {
  font-size: 15px;
  line-height: 1.35;
}

.landing-private-night .landing-safety p {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
}

.landing-private-night .landing-safety .soft {
  min-height: 42px;
  border: 1px solid rgba(255, 178, 158, 0.18);
  border-radius: 12px;
  color: #ffe6d0;
  background: linear-gradient(135deg, rgba(112, 52, 70, 0.72), rgba(57, 34, 48, 0.72));
  font-size: 12px;
  white-space: nowrap;
}

.landing-private-night .landing-final-cta {
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  min-height: 112px;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 136, 198, 0.24);
  border-radius: 14px;
  background:
    radial-gradient(circle at 88% 50%, rgba(255, 61, 137, 0.22), transparent 8rem),
    radial-gradient(circle at 8% 40%, rgba(244, 184, 117, 0.17), transparent 7rem),
    linear-gradient(135deg, rgba(51, 31, 38, 0.84), rgba(25, 15, 28, 0.78));
}

.landing-private-night .landing-final-cta::before {
  content: "鈾?;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #ffcf9e;
  border-radius: 50%;
  font-size: 34px;
  text-shadow: 0 0 20px rgba(255, 150, 196, 0.58);
}

.landing-private-night .landing-final-cta h2 {
  color: #fff1e6;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 800;
}

.landing-private-night .landing-final-cta p {
  margin-top: 6px;
  color: rgba(255, 232, 214, 0.7);
  font-size: 12px;
}

.landing-private-night .landing-arrow-button {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffc7a4, #dc3c75 62%, #81224f);
  box-shadow:
    0 0 0 1px rgba(255, 210, 172, 0.32),
    0 0 32px rgba(255, 75, 145, 0.72);
}

.landing-private-night .landing-auth-section {
  margin-top: 18px;
}

.landing-private-night .landing-footer {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}

.landing-private-night .landing-footer::after {
  content: "漏 2025 妗溿伄鎭? All Rights Reserved.";
  flex-basis: 100%;
  margin-top: 14px;
  color: rgba(255, 232, 214, 0.3);
  text-align: center;
  font-size: 10px;
}

@keyframes landingCardFade {
  0%,
  100% {
    opacity: 0.82;
  }
  36%,
  74% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sakura-petals span {
    animation: none;
    transform: translate3d(0, 14vh, 0) rotate(var(--petal-rotate, 18deg));
  }
}

@media (max-width: 560px) {
  .landing-private-night.auth-view {
    padding: 18px 14px 22px;
  }

  .landing-private-night .landing-hero {
    min-height: 430px;
    padding: 42px 16px 26px;
  }

  .landing-private-night .landing-hero-media {
    left: 28%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 64%;
  }

  .landing-private-night .landing-hero-content h1 {
    font-size: clamp(33px, 9.3vw, 42px);
  }

  .landing-private-night .landing-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: -4px;
  }

  .landing-private-night .landing-service-grid article {
    min-height: 100px;
    padding: 13px 4px 11px;
  }

  .landing-private-night .landing-service-grid span {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .landing-private-night .landing-service-grid strong {
    font-size: 11px;
  }

  .landing-private-night .landing-service-grid p {
    font-size: 9px;
  }

  .landing-private-night .landing-profile-card {
    flex-basis: calc((100% - 24px) / 5);
    height: 176px;
    min-height: 176px;
  }

  .landing-private-night .landing-profile-copy {
    left: 7px;
    right: 6px;
    bottom: 8px;
  }

  .landing-private-night .landing-profile-copy h3 {
    font-size: 11px;
  }

  .landing-private-night .landing-profile-copy h3 small,
  .landing-private-night .landing-profile-copy p,
  .landing-private-night .landing-profile-copy .online-dot {
    font-size: 9px;
  }

  .landing-private-night .landing-safety {
    grid-template-columns: auto 1fr;
  }

  .landing-private-night .landing-safety .soft {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .landing-private-night .landing-final-cta {
    grid-template-columns: auto 1fr auto;
    padding: 18px 14px;
  }

  .landing-private-night .landing-final-cta::before {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }

  .landing-private-night .landing-final-cta h2 {
    font-size: 18px;
  }

  .landing-private-night .landing-arrow-button {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 430px) {
  html,
  body {
    overflow-x: hidden;
  }

  .app-shell {
    width: 100%;
    padding: 0;
  }

  .landing-private-night.auth-view {
    max-width: 100vw;
    padding: 16px 10px 22px;
    overflow-x: hidden;
  }

  .landing-private-night .landing-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .landing-private-night .landing-brand {
    grid-template-columns: 28px minmax(0, auto);
    gap: 7px;
  }

  .landing-private-night .landing-brand img {
    width: 28px;
    height: 28px;
  }

  .landing-private-night .landing-brand strong {
    font-size: 13px;
  }

  .landing-private-night .landing-brand small {
    font-size: 8px;
  }

  .landing-private-night .landing-login-pill {
    min-width: 50px;
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .landing-private-night .landing-menu-button {
    width: 28px;
    height: 34px;
    font-size: 23px;
  }

  .landing-private-night .landing-service-grid,
  .landing-private-night .landing-stats,
  .landing-private-night .landing-safety,
  .landing-private-night .landing-final-cta,
  .landing-private-night .landing-profiles {
    width: 100%;
    max-width: 100%;
  }

  .landing-private-night .landing-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .landing-private-night .landing-service-grid article,
  .landing-private-night .landing-stats article {
    min-width: 0;
  }

  .landing-private-night .landing-service-grid strong {
    font-size: 10px;
  }

  .landing-private-night .landing-service-grid p {
    font-size: 8px;
  }

  .landing-private-night .landing-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-private-night .landing-stats span {
    font-size: 16px;
  }

  .landing-private-night .landing-profile-track {
    width: 100%;
  }

  .landing-private-night .landing-profile-card {
    flex-basis: 82px;
  }

  .landing-private-night .landing-safety {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .landing-private-night .landing-safety .soft {
    justify-self: start;
    max-width: 100%;
  }
}

/* Final Sakura texture override: remove older ring-like ambience and keep petals restrained. */
#authView.landing-private-night::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  background:
    radial-gradient(ellipse 8px 14px at 12% 18%, rgba(229, 144, 177, 0.34), transparent 70%),
    radial-gradient(ellipse 7px 12px at 84% 16%, rgba(229, 144, 177, 0.24), transparent 72%),
    radial-gradient(ellipse 9px 15px at 18% 74%, rgba(229, 144, 177, 0.22), transparent 72%),
    radial-gradient(ellipse 7px 12px at 72% 82%, rgba(229, 144, 177, 0.18), transparent 72%);
  background-size: 180px 220px, 240px 260px, 210px 250px, 280px 300px;
}

#authView.landing-private-night::after {
  content: none !important;
  display: none !important;
}

/* V18 focus and interaction pass */
body::before {
  content: "";
  position: fixed;
  inset: -12vh -8vw;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    radial-gradient(ellipse 6px 10px at 12% 18%, rgba(238, 150, 184, 0.3), transparent 72%),
    radial-gradient(ellipse 5px 9px at 82% 12%, rgba(238, 150, 184, 0.22), transparent 72%),
    radial-gradient(ellipse 7px 12px at 24% 78%, rgba(238, 150, 184, 0.2), transparent 72%),
    radial-gradient(ellipse 5px 9px at 70% 68%, rgba(238, 150, 184, 0.18), transparent 72%);
  background-size: 260px 360px, 340px 420px, 310px 390px, 430px 520px;
  animation: sakuraAmbientDrift 32s linear infinite;
}

.app-shell,
dialog {
  position: relative;
  z-index: 1;
}

button:not(.modal-close):not(:disabled) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 176, 206, 0.32);
  background-image:
    radial-gradient(circle at 18% 18%, rgba(255, 231, 207, 0.42), transparent 2.2rem),
    linear-gradient(115deg, rgba(255, 181, 166, 0.92), rgba(221, 64, 128, 0.88), rgba(117, 42, 101, 0.9), rgba(244, 183, 128, 0.82));
  background-size: 190% 190%, 260% 260%;
  animation: sakuraGradientFlow 5.8s ease-in-out infinite;
  transition:
    transform 180ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

button:not(.modal-close):not(:disabled):hover {
  transform: translateY(-1px) scale(1.025);
  border-color: rgba(255, 205, 224, 0.58);
  filter: saturate(1.1) brightness(1.06);
  box-shadow:
    0 0 0 1px rgba(255, 198, 218, 0.2),
    0 0 24px rgba(255, 107, 171, 0.38),
    0 12px 26px rgba(55, 6, 31, 0.34);
}

button:not(.modal-close):not(:disabled):active {
  transform: translateY(0) scale(0.975);
  box-shadow:
    0 0 0 1px rgba(255, 220, 228, 0.32),
    0 0 32px rgba(255, 142, 188, 0.56),
    inset 0 0 18px rgba(255, 234, 239, 0.12);
}

.landing-private-night .landing-hero {
  min-height: 344px;
  background:
    radial-gradient(circle at 78% 24%, rgba(236, 73, 151, 0.2), transparent 9rem),
    linear-gradient(90deg, rgba(7, 8, 18, 0.96) 0%, rgba(7, 8, 18, 0.52) 43%, rgba(7, 8, 18, 0.08) 100%);
}

.landing-private-night .landing-hero-media {
  left: 28%;
}

.landing-private-night .landing-hero-media::after {
  background:
    linear-gradient(90deg, #070812 0%, rgba(7, 8, 18, 0.78) 15%, rgba(7, 8, 18, 0.28) 36%, rgba(7, 8, 18, 0.02) 66%, rgba(7, 8, 18, 0.13) 100%),
    radial-gradient(circle at 72% 16%, rgba(255, 96, 180, 0.14), transparent 5rem),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0 1px, transparent 1px 5px);
}

.landing-private-night .landing-hero-slide img {
  object-position: center 18%;
  filter: saturate(1.08) contrast(1.1) brightness(1.08) sepia(0.025) hue-rotate(306deg);
  transform: scale(1);
}

.landing-private-night .landing-hero::before {
  background:
    radial-gradient(circle at 82% 64%, rgba(255, 178, 104, 0.1), transparent 6rem),
    linear-gradient(90deg, rgba(7, 8, 18, 0.95) 0%, rgba(7, 8, 18, 0.74) 27%, rgba(7, 8, 18, 0.16) 48%, rgba(7, 8, 18, 0.02) 78%, rgba(7, 8, 18, 0.14) 100%),
    linear-gradient(180deg, rgba(7, 8, 18, 0.02), rgba(7, 8, 18, 0.38));
}

.landing-private-night .landing-hero-content.brand-panel {
  width: 46%;
  max-width: 268px;
}

.landing-private-night .adult-line {
  margin-bottom: 14px;
  font-size: 10px;
}

.landing-private-night .landing-hero-content h1 {
  max-width: 260px;
  font-size: clamp(25px, 4.8vw, 35px);
  line-height: 1.4;
}

.landing-private-night .landing-hero-content .english-line {
  margin-top: 15px;
  font-size: 12px;
}

.landing-private-night .landing-hero-content .lead {
  max-width: 246px;
  font-size: 12px;
}

dialog.auth-dialog.landing-auth-section {
  width: min(92vw, 430px);
  max-width: 430px;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 150, 196, 0.24);
  border-radius: 24px;
  overflow: visible;
  color: #fff4eb;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 103, 170, 0.2), transparent 10rem),
    linear-gradient(145deg, rgba(34, 22, 34, 0.98), rgba(8, 8, 15, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 213, 225, 0.06),
    0 28px 90px rgba(0, 0, 0, 0.62),
    0 0 54px rgba(255, 91, 166, 0.22);
}

dialog.auth-dialog::backdrop {
  background:
    radial-gradient(circle at 74% 18%, rgba(235, 80, 160, 0.2), transparent 18rem),
    rgba(3, 3, 8, 0.72);
  backdrop-filter: blur(10px);
}

.auth-dialog-close-form {
  position: absolute;
  top: -14px;
  right: -12px;
  z-index: 3;
  margin: 0;
}

.auth-dialog-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffe5d8;
  border: 1px solid rgba(255, 206, 221, 0.2);
  background: rgba(27, 17, 27, 0.96);
}

.auth-dialog .landing-auth-card.auth-card {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.host-row {
  grid-template-columns: minmax(150px, 40%) 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom-color: rgba(255, 157, 196, 0.16);
}

.host-collage {
  width: 100%;
  height: 210px;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(255, 172, 205, 0.14),
    0 18px 36px rgba(0, 0, 0, 0.34);
}

.host-info {
  align-self: center;
}

.host-row .profile-name h3 {
  font-size: 22px;
}

.profile-specs {
  margin-top: 10px;
}

.profile-specs span {
  border-color: rgba(255, 170, 204, 0.14);
  color: rgba(255, 237, 226, 0.82);
  background: rgba(255, 145, 190, 0.06);
}

.host-detail {
  margin-top: 10px;
}

.host-copy {
  margin-top: 7px;
  color: rgba(255, 238, 222, 0.84);
}

.sakura-button-burst {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.sakura-button-burst i {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--burst-size, 7px);
  height: calc(var(--burst-size, 7px) * 1.35);
  opacity: 0;
  border-radius: 90% 12% 90% 12%;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 247, 246, 0.88), transparent 34%),
    linear-gradient(145deg, rgba(255, 178, 210, 0.88), rgba(221, 92, 151, 0.58));
  box-shadow: 0 0 8px rgba(255, 156, 198, 0.38);
  transform: translate(-50%, -50%) rotate(0deg) scale(0.72);
  animation: sakuraButtonBurst 980ms cubic-bezier(0.18, 0.82, 0.25, 1) forwards;
}

@keyframes sakuraGradientFlow {
  0% { background-position: 0% 50%, 0% 50%; }
  50% { background-position: 100% 50%, 100% 50%; }
  100% { background-position: 0% 50%, 0% 50%; }
}

@keyframes sakuraButtonBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg) scale(0.62);
  }
  16% {
    opacity: 0.84;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--burst-x, 28px)), calc(-50% + var(--burst-y, -32px))) rotate(var(--burst-r, 80deg)) scale(1.12);
  }
}

@keyframes sakuraAmbientDrift {
  0% { transform: translate3d(0, -2vh, 0); }
  100% { transform: translate3d(4vw, 10vh, 0); }
}

@media (max-width: 560px) {
  .landing-private-night .landing-hero-media {
    left: 24%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 54%;
    max-width: 236px;
  }

  .landing-private-night .landing-hero-content h1 {
    font-size: clamp(27px, 7.8vw, 35px);
  }

  .host-row {
    grid-template-columns: 132px 1fr;
  }

  .host-collage {
    height: 172px;
  }
}

@media (max-width: 430px) {
  .landing-private-night .landing-hero-media {
    left: 26%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 57%;
  }

  .landing-private-night .landing-hero-content h1 {
    font-size: clamp(25px, 8.2vw, 32px);
  }

  .landing-private-night .landing-hero-content .lead {
    max-width: 210px;
  }

  .host-row {
    grid-template-columns: 112px 1fr;
    gap: 10px;
  }

  .host-collage {
    height: 150px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  button:not(.modal-close):not(:disabled),
  .sakura-button-burst i {
    animation: none !important;
  }
}

/* V19 hero focal correction: keep copy secondary, make the woman the primary visual. */
.landing-private-night .landing-hero {
  min-height: 372px;
  padding: 38px 28px 24px;
  background:
    radial-gradient(circle at 76% 22%, rgba(236, 73, 151, 0.18), transparent 10rem),
    linear-gradient(90deg, rgba(7, 8, 18, 0.98) 0%, rgba(7, 8, 18, 0.48) 34%, rgba(7, 8, 18, 0.04) 100%);
}

.landing-private-night .landing-hero-media {
  left: 30%;
  right: 0;
  z-index: 0;
}

.landing-private-night .landing-hero-media::after {
  background:
    linear-gradient(90deg, #070812 0%, rgba(7, 8, 18, 0.7) 18%, rgba(7, 8, 18, 0.18) 38%, rgba(7, 8, 18, 0) 58%, rgba(7, 8, 18, 0.04) 100%),
    radial-gradient(circle at 74% 16%, rgba(255, 105, 185, 0.1), transparent 5rem);
}

.landing-private-night .landing-hero-slide img {
  object-position: center 15%;
  filter: saturate(1.16) contrast(1.16) brightness(1.28) sepia(0.015) hue-rotate(306deg);
  transform: scale(1.13);
  transform-origin: 58% 22%;
}

.landing-private-night .landing-hero::before {
  background:
    radial-gradient(circle at 78% 58%, rgba(255, 178, 104, 0.08), transparent 6rem),
    linear-gradient(90deg, rgba(7, 8, 18, 0.98) 0%, rgba(7, 8, 18, 0.82) 24%, rgba(7, 8, 18, 0.24) 43%, rgba(7, 8, 18, 0.02) 60%, rgba(7, 8, 18, 0) 100%),
    linear-gradient(180deg, rgba(7, 8, 18, 0), rgba(7, 8, 18, 0.22));
}

.landing-private-night .landing-hero-noise {
  opacity: 0.11;
}

.landing-private-night .landing-hero-content.brand-panel {
  width: 36%;
  max-width: 218px;
}

.landing-private-night .adult-line {
  margin-bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.landing-private-night .landing-hero-content h1 {
  max-width: 216px;
  font-size: clamp(22px, 3.8vw, 28px);
  line-height: 1.42;
  letter-spacing: 0.015em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.76);
}

.landing-private-night .landing-hero-content .english-line {
  margin-top: 13px;
  font-size: 11px;
}

.landing-private-night .landing-hero-content .lead {
  max-width: 205px;
  font-size: 11px;
  line-height: 1.55;
}

.landing-private-night .landing-primary {
  min-width: 166px;
  min-height: 46px;
  font-size: 13px;
}

.landing-under-note {
  margin-left: 18px;
  font-size: 10px;
}

@media (max-width: 560px) {
  .landing-private-night .landing-hero {
    min-height: 430px;
    padding: 40px 16px 24px;
  }

  .landing-private-night .landing-hero-media {
    left: 30%;
  }

  .landing-private-night .landing-hero-slide img {
    transform: scale(1.16);
    transform-origin: 60% 20%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 43%;
    max-width: 188px;
  }

  .landing-private-night .landing-hero-content h1 {
    max-width: 184px;
    font-size: clamp(22px, 6.2vw, 28px);
  }

  .landing-private-night .landing-hero-content .lead {
    max-width: 178px;
  }
}

@media (max-width: 430px) {
  .landing-private-night .landing-hero-media {
    left: 31%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 44%;
    max-width: 172px;
  }

  .landing-private-night .landing-hero-content h1 {
    max-width: 170px;
    font-size: clamp(21px, 6.8vw, 26px);
  }

  .landing-private-night .landing-hero-content .english-line,
  .landing-private-night .landing-hero-content .lead {
    font-size: 10px;
  }
}

/* V20 restrained Japanese drama visual system */
.landing-private-night.auth-view {
  background:
    radial-gradient(circle at 76% 4%, rgba(111, 30, 70, 0.24), transparent 18rem),
    radial-gradient(circle at 18% 18%, rgba(128, 70, 42, 0.16), transparent 16rem),
    linear-gradient(180deg, #07070d 0%, #0b0710 42%, #050509 100%);
}

.landing-private-night .landing-topbar {
  position: relative;
  z-index: 8;
}

.landing-private-night .landing-brand img {
  background: linear-gradient(145deg, rgba(59, 20, 39, 0.78), rgba(12, 9, 14, 0.96));
  box-shadow:
    0 0 0 1px rgba(198, 154, 101, 0.18),
    0 0 18px rgba(184, 111, 131, 0.18);
}

.landing-private-night .landing-brand strong {
  color: transparent;
  background: linear-gradient(135deg, #e4c391, #b86f83 58%, #f0d7a8);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: none;
}

.landing-private-night .landing-brand small {
  color: #b8a8a0;
  letter-spacing: 0.24em;
}

.landing-private-night .landing-login-pill:not(:disabled) {
  border: 1px solid rgba(242, 197, 162, 0.24);
  color: #f3e8da;
  background:
    radial-gradient(circle at 24% 24%, rgba(242, 197, 162, 0.28), transparent 2rem),
    linear-gradient(135deg, rgba(103, 38, 63, 0.76), rgba(52, 22, 42, 0.82));
  box-shadow: 0 0 22px rgba(217, 92, 147, 0.22);
}

.landing-private-night .landing-menu-button:not(:disabled) {
  border: 0;
  color: rgba(216, 192, 174, 0.88);
  background: transparent;
  box-shadow: none;
  animation: none;
}

.landing-private-night .landing-hero {
  min-height: 384px;
  margin-top: 4px;
  background:
    radial-gradient(circle at 78% 24%, rgba(217, 92, 147, 0.12), transparent 12rem),
    linear-gradient(90deg, rgba(5, 5, 10, 0.98) 0%, rgba(18, 9, 18, 0.7) 36%, rgba(18, 9, 18, 0.08) 100%);
}

.landing-private-night .landing-hero-media {
  top: 4px;
  left: 32%;
  border-radius: 0 0 0 28px;
}

.landing-private-night .landing-hero-slide {
  z-index: 1;
}

.landing-private-night .landing-hero-slide img {
  object-position: center 13%;
  filter: brightness(1.34) contrast(1.1) saturate(0.98) sepia(0.02) hue-rotate(314deg);
  transform: scale(1.1);
  transform-origin: 62% 18%;
}

.landing-private-night .landing-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 58% 32%, rgba(242, 197, 162, 0.16), transparent 22%),
    radial-gradient(ellipse at 75% 44%, rgba(217, 108, 155, 0.22), transparent 30%),
    linear-gradient(92deg, transparent 42%, rgba(242, 197, 162, 0.07) 72%, transparent 100%);
  mix-blend-mode: screen;
}

.landing-private-night .landing-hero-media::after {
  z-index: 3;
  background:
    linear-gradient(90deg, #05050a 0%, rgba(8, 6, 12, 0.88) 18%, rgba(8, 6, 12, 0.48) 34%, rgba(8, 6, 12, 0.08) 52%, rgba(8, 6, 12, 0.02) 100%),
    radial-gradient(circle at 82% 22%, rgba(217, 92, 147, 0.08), transparent 5rem);
}

.landing-private-night .landing-hero::before {
  background:
    radial-gradient(circle at 74% 62%, rgba(242, 197, 162, 0.08), transparent 7rem),
    linear-gradient(90deg, rgba(5, 5, 10, 0.98) 0%, rgba(5, 5, 10, 0.86) 26%, rgba(5, 5, 10, 0.34) 45%, rgba(5, 5, 10, 0.06) 64%, rgba(5, 5, 10, 0) 100%),
    linear-gradient(180deg, rgba(5, 5, 10, 0), rgba(5, 5, 10, 0.2));
}

.landing-private-night .landing-hero-content.brand-panel {
  width: 35%;
  max-width: 218px;
}

.landing-private-night .adult-line {
  color: #c89b68;
}

.landing-private-night .landing-hero-content h1 {
  color: #f3e8da;
  line-height: 1.52;
  font-weight: 520;
}

.landing-private-night .landing-hero-content h1 span {
  color: #d96c9b;
  text-shadow: 0 0 16px rgba(217, 108, 155, 0.34);
}

.landing-private-night .landing-hero-content .english-line {
  color: #b98a98;
}

.landing-private-night .landing-hero-content .lead {
  color: #b8a8a0;
}

.landing-under-note {
  color: #8c7d78;
}

.landing-private-night .landing-primary:not(:disabled),
.landing-private-night .landing-arrow-button:not(:disabled),
.landing-private-night .landing-safety .soft:not(:disabled),
.auth-dialog .primary:not(:disabled) {
  border-radius: 26px;
  color: #fff5eb;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 237, 218, 0.34), transparent 2.1rem),
    linear-gradient(135deg, #f2c5a2, #d95c93 56%, #7a2748);
  background-size: 150% 150%, 220% 220%;
  box-shadow:
    0 0 0 1px rgba(242, 197, 162, 0.22),
    0 0 24px rgba(217, 92, 147, 0.35),
    0 14px 30px rgba(43, 8, 28, 0.42);
}

.landing-private-night .landing-primary::after {
  content: "鈫?;
  margin-left: 12px;
  font-size: 0.86em;
}

.landing-private-night .landing-service-grid {
  margin-top: 0;
  margin-bottom: 30px;
  border: 1px solid rgba(218, 159, 127, 0.22);
  background:
    radial-gradient(circle at 52% -10%, rgba(242, 197, 162, 0.08), transparent 13rem),
    linear-gradient(135deg, rgba(35, 24, 34, 0.52), rgba(10, 9, 15, 0.58));
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.36),
    inset 0 0 32px rgba(217, 108, 155, 0.045);
  backdrop-filter: blur(22px);
}

.landing-private-night .landing-service-grid article {
  min-height: 126px;
  padding: 21px 8px 18px;
  border-right-color: rgba(242, 197, 162, 0.08);
}

.landing-private-night .landing-service-grid span {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-color: rgba(242, 197, 162, 0.26);
  color: #d7ae7e;
  background: rgba(242, 197, 162, 0.04);
  box-shadow: 0 0 14px rgba(217, 108, 155, 0.12);
  font-size: 18px;
}

.landing-private-night .landing-service-grid strong {
  color: #f3e8da;
}

.landing-private-night .landing-service-grid p {
  margin-top: 8px;
  color: #b8a8a0;
  line-height: 1.7;
}

.landing-private-night .landing-profile-card {
  border: 1px solid rgba(218, 159, 127, 0.24);
  border-radius: 13px;
  background:
    radial-gradient(circle at 32% 12%, rgba(120, 39, 72, 0.34), transparent 8rem),
    linear-gradient(160deg, rgba(45, 23, 38, 0.9), rgba(17, 12, 18, 0.98) 52%, rgba(49, 27, 20, 0.88));
  box-shadow:
    0 0 0 1px rgba(242, 197, 162, 0.05),
    0 0 18px rgba(217, 108, 155, 0.13),
    0 12px 26px rgba(0, 0, 0, 0.4);
}

.landing-private-night .landing-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(61, 20, 45, 0.22), rgba(36, 10, 22, 0.08) 45%, rgba(5, 5, 9, 0.72) 100%),
    linear-gradient(135deg, rgba(217, 92, 147, 0.16), rgba(242, 197, 162, 0.06));
  mix-blend-mode: multiply;
}

.landing-private-night .landing-profile-card::after {
  z-index: 2;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 10, 0.72) 50%, rgba(5, 5, 10, 0.96));
}

.landing-private-night .landing-profile-photo {
  background: linear-gradient(145deg, #251522, #120b13 58%, #2c1a13);
}

.landing-private-night .landing-profile-photo img {
  filter: brightness(0.82) contrast(1.05) saturate(0.9) sepia(0.04) hue-rotate(314deg);
}

.landing-private-night .landing-profile-copy {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  min-height: 52px;
  padding: 10px 9px 9px;
  background: linear-gradient(180deg, rgba(5, 5, 9, 0.18), rgba(5, 5, 9, 0.68));
}

.landing-status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 4px 2px 0;
  border-radius: 50%;
  background: #6fd99a;
  box-shadow: 0 0 6px rgba(111, 217, 154, 0.48);
  vertical-align: middle;
}

.landing-private-night .landing-profile-copy h3 {
  display: inline;
  color: #f3e8da;
  font-size: 12px;
}

.landing-private-night .landing-profile-copy h3 small {
  color: rgba(243, 232, 218, 0.72);
}

.landing-private-night .landing-profile-copy p {
  margin-top: 5px;
  color: #b8a8a0;
}

.landing-private-night .landing-stats {
  min-height: 90px;
  border-color: rgba(218, 159, 127, 0.18);
  background:
    radial-gradient(circle at 88% 8%, rgba(91, 29, 67, 0.22), transparent 10rem),
    linear-gradient(135deg, rgba(28, 20, 34, 0.72), rgba(9, 8, 14, 0.8));
}

.landing-private-night .landing-stats article {
  padding: 17px 8px;
  border-right-color: rgba(242, 197, 162, 0.07);
}

.landing-private-night .landing-stats span {
  color: #d99aa8;
  font-size: 17px;
  text-shadow: 0 0 12px rgba(217, 108, 155, 0.24);
}

.landing-private-night .landing-stats p {
  color: #a99a94;
}

.landing-private-night .landing-final-cta {
  border-color: rgba(218, 159, 127, 0.22);
  background:
    radial-gradient(circle at 88% 50%, rgba(217, 92, 147, 0.2), transparent 8rem),
    radial-gradient(circle at 10% 42%, rgba(242, 197, 162, 0.12), transparent 7rem),
    linear-gradient(135deg, rgba(48, 29, 34, 0.72), rgba(16, 11, 20, 0.82));
}

.landing-private-night .landing-final-cta h2 {
  color: #f3e8da;
}

.landing-private-night .landing-footer {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  color: #8c7d78;
}

.landing-private-night .landing-footer button:not(:disabled) {
  min-height: auto;
  padding: 0 13px;
  border: 0;
  border-left: 1px solid rgba(184, 168, 160, 0.18);
  border-radius: 0;
  color: #8c7d78;
  background: transparent;
  box-shadow: none;
  animation: none;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.landing-private-night .landing-footer button:first-child {
  border-left: 0;
}

.landing-private-night .landing-footer button:not(:disabled):hover {
  color: #b8a8a0;
  transform: none;
  box-shadow: none;
}

.landing-private-night .landing-footer::after {
  color: rgba(140, 125, 120, 0.44);
}

@media (max-width: 560px) {
  .landing-private-night .landing-hero-media {
    left: 34%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 38%;
  }

  .landing-private-night .landing-service-grid article {
    min-height: 118px;
    padding-top: 18px;
  }
}

@media (max-width: 430px) {
  .landing-private-night .landing-hero-media {
    left: 36%;
  }

  .landing-private-night .landing-hero-content.brand-panel {
    width: 40%;
  }

  .landing-private-night .landing-footer {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

/* V21 /home lounge refinement */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

#app,
.app-shell,
.member-view {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.member-view {
  position: relative;
  min-height: 100vh;
  padding: 18px clamp(16px, 3vw, 22px) calc(128px + env(safe-area-inset-bottom, 0px));
  color: #f3e8da;
  background:
    radial-gradient(circle at 18% 5%, rgba(120, 43, 72, 0.22), transparent 18rem),
    radial-gradient(circle at 88% 18%, rgba(84, 57, 102, 0.24), transparent 18rem),
    radial-gradient(circle at 50% 82%, rgba(118, 46, 40, 0.18), transparent 22rem),
    linear-gradient(180deg, #06060b 0%, #0d0710 42%, #050508 100%);
}

.member-view::before,
.member-view::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.member-view::before {
  opacity: 0.13;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 10% 20%, rgba(217, 108, 155, 0.2), transparent 10rem),
    radial-gradient(circle at 90% 62%, rgba(242, 197, 162, 0.1), transparent 13rem);
  mix-blend-mode: screen;
}

.member-view::after {
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
}

.member-view > * {
  position: relative;
  z-index: 1;
}

.member-view .topbar,
.member-view .filter-bar,
.member-view .workspace,
.member-view .member-center {
  width: min(100%, 1080px);
  margin-left: auto;
  margin-right: auto;
}

.member-view .topbar {
  position: relative;
  top: auto;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
  margin-bottom: 18px;
  padding: 24px clamp(18px, 3vw, 30px);
  border: 1px solid rgba(218, 159, 127, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 108, 155, 0.16), transparent 11rem),
    radial-gradient(circle at 92% 0%, rgba(242, 197, 162, 0.13), transparent 12rem),
    linear-gradient(135deg, rgba(31, 22, 35, 0.78), rgba(8, 8, 14, 0.72));
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.34),
    inset 0 0 32px rgba(217, 108, 155, 0.04);
  backdrop-filter: blur(22px);
}

.member-view .topbar::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 27px;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(242, 197, 162, 0.1), transparent 42%, rgba(217, 108, 155, 0.08));
}

.member-view .topbar .eyebrow {
  color: #c99c68;
  letter-spacing: 0.22em;
}

.member-view .topbar h1 {
  max-width: 560px;
  margin-top: 8px;
  color: #f3e8da;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.24;
  font-weight: 520;
}

.member-view .adult-notice {
  max-width: 560px;
  margin-top: 10px;
  color: #8c7d78;
  font-size: 12px;
  line-height: 1.7;
}

.member-view .top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.member-view .top-actions button:not(:disabled) {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(242, 197, 162, 0.22);
  border-radius: 999px;
  color: #f3e8da;
  background:
    radial-gradient(circle at 22% 20%, rgba(242, 197, 162, 0.18), transparent 2.5rem),
    linear-gradient(135deg, rgba(45, 28, 43, 0.72), rgba(12, 10, 17, 0.64));
  box-shadow:
    0 0 0 1px rgba(217, 108, 155, 0.06),
    0 0 20px rgba(217, 108, 155, 0.16);
  backdrop-filter: blur(18px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0 2px;
}

.filter-bar button:not(:disabled) {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(217, 108, 155, 0.24);
  border-radius: 999px;
  color: #d4b484;
  background: rgba(17, 12, 20, 0.64);
  box-shadow: inset 0 0 18px rgba(242, 197, 162, 0.035);
  backdrop-filter: blur(14px);
}

.filter-bar button.active:not(:disabled) {
  color: #fff3e6;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 231, 206, 0.24), transparent 2rem),
    linear-gradient(135deg, rgba(242, 197, 162, 0.8), rgba(217, 92, 147, 0.62), rgba(83, 29, 53, 0.78));
  border-color: rgba(242, 197, 162, 0.34);
  box-shadow: 0 0 22px rgba(217, 92, 147, 0.2);
}

.workspace {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: start;
  gap: 22px;
}

.profile-panel {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-panel .section-heading {
  display: block;
  margin-bottom: 16px;
  padding: 0 2px;
}

.profile-panel .section-heading .eyebrow {
  color: #c99c68;
}

.profile-panel .section-heading h2 {
  color: #f3e8da;
}

.profile-list {
  display: grid;
  gap: 18px;
}

.host-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 34%) minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(218, 159, 127, 0.2);
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 108, 155, 0.13), transparent 11rem),
    radial-gradient(circle at 90% 100%, rgba(124, 61, 45, 0.18), transparent 14rem),
    linear-gradient(135deg, rgba(31, 22, 35, 0.62), rgba(9, 8, 14, 0.72));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.34),
    inset 0 0 36px rgba(242, 197, 162, 0.035);
  backdrop-filter: blur(22px);
}

.host-row.active {
  background:
    radial-gradient(circle at 12% 10%, rgba(217, 108, 155, 0.18), transparent 11rem),
    linear-gradient(135deg, rgba(43, 25, 39, 0.72), rgba(10, 8, 14, 0.76));
  border-color: rgba(242, 197, 162, 0.28);
}

.host-collage {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(250px, 34vw, 360px);
  min-height: 250px;
  border: 1px solid rgba(218, 159, 127, 0.24);
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 18%, rgba(217, 108, 155, 0.22), transparent 10rem),
    linear-gradient(145deg, #241320, #100b12 58%, #2b1a13);
  box-shadow:
    0 0 0 1px rgba(242, 197, 162, 0.05),
    0 0 22px rgba(217, 108, 155, 0.14),
    0 18px 34px rgba(0, 0, 0, 0.34);
}

.host-collage::before,
.host-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.host-collage::before {
  background:
    linear-gradient(180deg, rgba(80, 30, 66, 0.12), rgba(34, 10, 25, 0.04) 46%, rgba(5, 5, 9, 0.68) 100%),
    linear-gradient(135deg, rgba(217, 92, 147, 0.12), rgba(242, 197, 162, 0.06));
  mix-blend-mode: multiply;
}

.host-collage::after {
  background: linear-gradient(180deg, transparent 48%, rgba(6, 5, 9, 0.56) 78%, rgba(6, 5, 9, 0.88));
}

.collage-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.86) contrast(1.05) saturate(0.92) sepia(0.035) hue-rotate(314deg);
}

.host-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 8px 4px;
}

.profile-name {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.host-row .profile-name h3 {
  color: #f3e8da;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  font-weight: 720;
}

.host-row .profile-name span {
  color: #9f918c;
  font-size: 13px;
}

.profile-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-specs span {
  padding: 7px 10px;
  border: 1px solid rgba(242, 197, 162, 0.14);
  border-radius: 999px;
  color: #c7b3a7;
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.profile-specs .muted-spec {
  color: rgba(184, 168, 160, 0.52);
  border-color: rgba(184, 168, 160, 0.08);
}

.host-detail {
  margin-top: 14px;
  color: #b8a8a0;
  font-size: 13px;
  line-height: 1.75;
}

.host-copy {
  margin-top: 8px;
  color: rgba(243, 232, 218, 0.82);
  font-size: 14px;
  line-height: 1.75;
}

.profile-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.host-row .profile-actions .primary:not(:disabled) {
  flex: 1.25;
  min-height: 48px;
  border-radius: 24px;
  color: #fff4eb;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 236, 210, 0.3), transparent 2rem),
    linear-gradient(135deg, #f2c5a2, #d95c93 56%, #7a2748);
  box-shadow:
    0 0 0 1px rgba(242, 197, 162, 0.2),
    0 0 24px rgba(217, 92, 147, 0.34);
}

.host-row .profile-actions .soft:not(:disabled) {
  flex: 0.9;
  min-height: 48px;
  border: 1px solid rgba(242, 197, 162, 0.24);
  border-radius: 24px;
  color: #d7b486;
  background: rgba(14, 10, 16, 0.58);
  box-shadow: inset 0 0 18px rgba(242, 197, 162, 0.035);
}

.chat-panel {
  min-width: 0;
  border: 1px solid rgba(218, 159, 127, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 0%, rgba(217, 108, 155, 0.1), transparent 11rem),
    rgba(15, 12, 18, 0.58);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.bottom-nav {
  left: 50%;
  right: auto;
  bottom: max(10px, env(safe-area-inset-bottom, 0px));
  width: min(calc(100vw - 24px), 520px);
  min-height: 68px;
  padding: 6px;
  border: 1px solid rgba(242, 197, 162, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 108, 155, 0.12), transparent 9rem),
    rgba(10, 8, 14, 0.72);
  box-shadow:
    0 -12px 34px rgba(0, 0, 0, 0.34),
    inset 0 0 24px rgba(242, 197, 162, 0.035);
  backdrop-filter: blur(22px);
}

.bottom-nav button:not(:disabled) {
  min-width: 0;
  padding: 5px 2px;
  border-radius: 16px;
  color: #9f918c;
  background: transparent;
  box-shadow: none;
  animation: none;
  font-size: 11px;
}

.bottom-nav span {
  font-size: 20px;
}

.bottom-nav .active:not(:disabled) {
  color: #f1c6a0;
  background: rgba(217, 108, 155, 0.08);
  box-shadow: 0 0 18px rgba(217, 92, 147, 0.16);
}

.bottom-nav .center:not(:disabled) {
  color: #c99c68;
}

.bottom-nav .center span {
  width: 38px;
  height: 38px;
  margin-top: -12px;
  color: #f3e8da;
  background:
    radial-gradient(circle at 36% 24%, rgba(242, 197, 162, 0.34), transparent 34%),
    linear-gradient(135deg, #5d213c, #c99c68);
  box-shadow: 0 8px 22px rgba(217, 108, 155, 0.22);
  font-size: 16px;
}

@media (min-width: 1180px) {
  .member-view .topbar,
  .member-view .filter-bar,
  .member-view .workspace,
  .member-view .member-center {
    width: min(100%, 1120px);
  }
}

@media (max-width: 960px) {
  .workspace {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .member-view {
    padding: 16px 16px calc(126px + env(safe-area-inset-bottom, 0px));
  }

  .member-view .topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 18px;
    border-radius: 24px;
  }

  .member-view .top-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .filter-bar {
    margin-bottom: 16px;
  }

  .host-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
  }

  .host-collage {
    height: clamp(320px, 104vw, 430px);
    min-height: 320px;
    border-radius: 22px;
  }

  .host-info {
    padding: 16px 4px 4px;
  }

  .profile-actions {
    gap: 9px;
  }

  .host-row .profile-actions .primary,
  .host-row .profile-actions .soft {
    min-height: 48px;
  }

  .bottom-nav {
    width: calc(100vw - 20px);
  }
}

@media (max-width: 414px) {
  .member-view {
    padding-left: 16px;
    padding-right: 16px;
  }

  .member-view .topbar h1 {
    font-size: 28px;
  }

  .host-collage {
    height: clamp(320px, 108vw, 420px);
  }
}

@media (max-width: 390px) {
  .member-view {
    padding-left: 15px;
    padding-right: 15px;
  }

  .profile-actions {
    flex-direction: column;
  }

  .host-row .profile-actions .primary,
  .host-row .profile-actions .soft {
    width: 100%;
  }

  .bottom-nav button:not(:disabled) {
    font-size: 10px;
  }
}

@media (max-width: 375px) {
  .member-view {
    padding-left: 14px;
    padding-right: 14px;
  }

  .filter-bar button:not(:disabled) {
    padding: 0 15px;
  }

  .host-collage {
    height: clamp(310px, 108vw, 405px);
    min-height: 310px;
  }

  .profile-specs span {
    padding: 7px 9px;
  }
}

/* V21b /home overflow hardening */
.member-view,
.member-view * {
  box-sizing: border-box;
}

.member-view .topbar,
.member-view .filter-bar,
.member-view .workspace,
.member-view .member-center,
.profile-panel,
.profile-list,
.host-row,
.chat-panel {
  max-width: 100%;
}

.member-view .topbar > div,
.member-view .top-actions,
.host-info,
.profile-name,
.profile-specs,
.profile-actions {
  min-width: 0;
}

.member-view .topbar h1,
.member-view .adult-notice,
.host-row .profile-name h3,
.host-detail,
.host-copy {
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .member-view .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .member-view .top-actions button:not(:disabled) {
    width: 100%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .host-row,
  .host-collage,
  .chat-panel,
  .member-center {
    width: 100%;
  }

  .profile-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .host-row .profile-actions .primary,
  .host-row .profile-actions .soft {
    width: 100%;
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
  }
}

@media (max-width: 390px) {
  .member-view .topbar h1 {
    font-size: 26px;
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .member-view .topbar > div:first-child {
    width: 100%;
  }

  .member-view .topbar h1 {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
    line-height: 1.36;
  }

  .member-view .adult-notice,
  .profile-name,
  .profile-specs,
  .host-detail,
  .host-copy {
    width: 100%;
    max-width: 100%;
  }

  .host-row .profile-actions .primary,
  .host-row .profile-actions .soft {
    font-size: 13px;
  }
}

/* V22 /home reference lounge cards */
.member-view {
  padding-bottom: calc(196px + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(circle at 18% 7%, rgba(132, 68, 43, 0.16), transparent 25%),
    radial-gradient(circle at 86% 14%, rgba(128, 54, 81, 0.18), transparent 30%),
    radial-gradient(circle at 20% 54%, rgba(69, 42, 70, 0.34), transparent 34%),
    radial-gradient(circle at 82% 66%, rgba(93, 50, 31, 0.18), transparent 30%),
    linear-gradient(180deg, #040305 0%, #0c0710 30%, #160a12 62%, #070505 100%);
}

.member-view .topbar.home-hero-shell {
  isolation: isolate;
  display: block;
  min-height: clamp(540px, 72svh, 680px);
  align-items: flex-start;
  overflow: hidden;
  margin: -18px auto 22px;
  padding: 24px clamp(18px, 4vw, 38px);
  border-radius: 0 0 34px 34px;
  border-color: rgba(242, 197, 162, 0.16);
  background:
    radial-gradient(circle at 28% 10%, rgba(242, 197, 162, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(128, 54, 81, 0.2), transparent 34%),
    linear-gradient(180deg, #050305 0%, #13080f 52%, #050305 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
}

.home-hero-slides,
.home-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero-slides {
  z-index: -2;
  display: flex;
  height: 500%;
  flex-direction: column;
  animation: homeHeroVertical 28s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  will-change: transform;
}

.home-hero-slide {
  position: relative;
  height: 20%;
  min-height: 20%;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(242, 197, 162, 0.18) 0 2px, transparent 5px),
    radial-gradient(circle at 78% 9%, rgba(217, 92, 147, 0.14) 0 2px, transparent 6px),
    linear-gradient(115deg, rgba(34, 17, 23, 0.72), rgba(7, 4, 9, 0.92));
}

.home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.9) contrast(1.03) saturate(0.98);
  transform: scale(1.02);
  animation: homeHeroBreath 7.5s ease-in-out infinite;
}

.home-hero-slide figcaption {
  position: absolute;
  right: 18px;
  top: 76px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(242, 197, 162, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  padding: 6px 10px;
  color: #f3e8da;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.home-hero-slide figcaption span {
  color: #d4b484;
  letter-spacing: 0.16em;
}

.home-hero-shade {
  z-index: -1;
  background:
    radial-gradient(circle at 20% 8%, rgba(242, 197, 162, 0.16), transparent 25%),
    radial-gradient(circle at 86% 18%, rgba(217, 92, 147, 0.1), transparent 30%),
    linear-gradient(90deg, rgba(5, 3, 8, 0.9) 0%, rgba(5, 3, 8, 0.58) 42%, rgba(5, 3, 8, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 3, 8, 0.12) 0%, rgba(5, 3, 8, 0.2) 42%, rgba(5, 3, 8, 0.96) 100%);
}

.member-view .topbar.home-hero-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(242, 197, 162, 0.08) 19%, transparent 21% 100%),
    linear-gradient(75deg, transparent 0 62%, rgba(217, 92, 147, 0.06) 63%, transparent 65% 100%);
  mix-blend-mode: screen;
}

.home-hero-copy {
  max-width: 520px;
}

.member-view .topbar.home-hero-shell .top-actions,
.member-view .topbar.home-hero-shell .home-hero-copy {
  position: relative;
  z-index: 2;
}

.member-view .topbar.home-hero-shell .top-actions {
  position: absolute;
  top: 24px;
  right: clamp(18px, 4vw, 38px);
  display: flex;
  width: auto;
  max-width: calc(100% - 170px);
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.member-view .topbar.home-hero-shell .top-actions button:not(:disabled) {
  min-width: 72px;
  white-space: nowrap;
}

.member-view .topbar.home-hero-shell .eyebrow {
  background: linear-gradient(135deg, #d48fa2 0%, #f0d2ad 46%, #aa6f83 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(217, 92, 147, 0.1);
}

.member-view .topbar.home-hero-shell h1 {
  max-width: 10ch;
  margin-top: 18px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.72);
}

.member-view .topbar.home-hero-shell .adult-notice {
  max-width: 25ch;
  color: #b8a8a0;
  font-size: 13px;
}

.home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34vh;
}

.home-hero-badges span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(245, 213, 184, 0.22);
  border-radius: 999px;
  background: rgba(45, 32, 31, 0.36);
  padding: 0 12px;
  color: #f4dfc7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.profile-panel .section-heading {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
}

.profile-list {
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  gap: 24px;
}

.host-row {
  display: block;
  padding: 14px;
  border-radius: 26px;
  border-color: rgba(242, 197, 162, 0.16);
  background:
    radial-gradient(circle at 82% 0%, rgba(105, 44, 68, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(31, 18, 25, 0.72), rgba(8, 6, 10, 0.66)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 28px rgba(217, 92, 147, 0.035),
    0 20px 58px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(217, 92, 147, 0.06);
  backdrop-filter: blur(22px);
  animation: homeCardIn 650ms ease both;
}

.host-row.active {
  border-color: rgba(242, 197, 162, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 0 30px rgba(217, 92, 147, 0.06),
    0 24px 68px rgba(0, 0, 0, 0.55),
    0 0 28px rgba(217, 92, 147, 0.16);
}

.host-collage {
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-color: rgba(242, 197, 162, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 217, 155, 0.14), rgba(93, 52, 125, 0.18)),
    #120b14;
  box-shadow:
    0 0 0 1px rgba(242, 197, 162, 0.04),
    0 0 20px rgba(217, 108, 155, 0.08),
    0 16px 32px rgba(0, 0, 0, 0.32);
}

.host-collage::before {
  background:
    linear-gradient(180deg, rgba(5, 3, 8, 0.03) 0%, rgba(42, 12, 29, 0.07) 44%, rgba(5, 3, 8, 0.46) 100%),
    linear-gradient(135deg, rgba(73, 33, 60, 0.08), rgba(113, 33, 55, 0.06) 50%, rgba(102, 64, 38, 0.06));
  mix-blend-mode: normal;
}

.host-collage::after {
  background: linear-gradient(180deg, transparent 46%, rgba(5, 3, 8, 0.42) 72%, rgba(5, 3, 8, 0.86));
}

.collage-main {
  filter: brightness(0.98) contrast(1.03) saturate(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

.host-row:hover .collage-main {
  transform: scale(1.018);
  filter: brightness(1.02) contrast(1.04) saturate(1.04);
}

.photo-corner-badge {
  display: none;
}

/* Keep legacy selector available but hidden in the soft Ins home style. */
.photo-corner-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  padding: 5px 10px;
  color: rgba(243, 232, 218, 0.86);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.host-photo-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  padding: 54px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(4, 3, 7, 0.82));
}

.host-caption-main {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 8px;
}

.status-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  align-self: center;
  border-radius: 999px;
  background: #76c89a;
  box-shadow: 0 0 10px rgba(118, 200, 154, 0.45);
}

.host-caption-main h3 {
  min-width: 0;
  overflow: hidden;
  color: #f3e8da;
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host-caption-main small {
  flex: 0 0 auto;
  color: #c8b6aa;
  font-size: 13px;
  font-weight: 700;
}

.host-photo-caption p {
  margin-top: 8px;
  overflow: hidden;
  color: #a99a91;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host-info {
  padding: 16px 2px 2px;
}

.profile-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
}

.profile-specs span {
  overflow: hidden;
  padding: 8px 9px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: #d8cbc1;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.profile-specs .muted-spec {
  color: rgba(184, 168, 160, 0.46);
}

.host-detail {
  margin-top: 15px;
  color: #c6b7ad;
  font-size: 13px;
  line-height: 1.75;
}

.host-copy {
  margin-top: 7px;
  color: rgba(243, 232, 218, 0.8);
  font-size: 14px;
}

.profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  margin-top: 20px;
}

.bottom-nav {
  display: block;
  width: min(calc(100vw - 20px), 430px);
  padding: 10px;
  border-radius: 24px;
}

.home-fixed-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  overflow: hidden;
  padding: 2px 14px 10px 4px;
}

.home-fixed-cta > div {
  min-width: 0;
}

.home-fixed-cta p {
  margin: 0;
  color: rgba(212, 180, 132, 0.86);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-fixed-cta strong {
  display: block;
  margin-top: 3px;
  color: #f3e8da;
  font-size: 14px;
  line-height: 1.25;
}

.home-fixed-cta button:not(:disabled) {
  min-height: 42px;
  justify-self: end;
  width: 72px;
  max-width: 72px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid rgba(242, 197, 162, 0.34);
  border-radius: 17px;
  color: #fff4ec;
  font-size: 13px;
  font-weight: 800;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 236, 210, 0.36), transparent 24%),
    linear-gradient(135deg, #f2c5a2 0%, #d95c93 48%, #7a2748 100%);
  box-shadow:
    0 0 24px rgba(217, 92, 147, 0.28),
    0 13px 32px rgba(32, 5, 18, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bottom-nav-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  border: 1px solid rgba(242, 197, 162, 0.12);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
  padding: 6px;
}

@keyframes homeHeroVertical {
  0%, 16% { transform: translate3d(0, 0, 0); }
  20%, 36% { transform: translate3d(0, -20%, 0); }
  40%, 56% { transform: translate3d(0, -40%, 0); }
  60%, 76% { transform: translate3d(0, -60%, 0); }
  80%, 96% { transform: translate3d(0, -80%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes homeHeroBreath {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.055); }
}

@keyframes homeCardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 961px) {
  .workspace {
    grid-template-columns: minmax(430px, 520px) minmax(340px, 430px);
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .member-view {
    padding: 0 14px calc(196px + env(safe-area-inset-bottom, 0px));
  }

  .member-view .topbar.home-hero-shell {
    width: calc(100% + 28px);
    min-height: min(680px, 72svh);
    margin: 0 -14px 20px;
    padding: 18px 20px 24px;
  }

  .member-view .topbar.home-hero-shell h1 {
    margin-top: 16px;
    font-size: clamp(34px, 9vw, 40px);
    word-break: keep-all;
  }

  .member-view .topbar.home-hero-shell .top-actions {
    top: 18px;
    right: 36px;
    display: flex;
    width: auto;
    max-width: min(190px, calc(100vw - 150px));
    grid-template-columns: none;
    margin-left: 0;
  }

  .member-view .topbar.home-hero-shell .top-actions button:not(:disabled) {
    width: auto;
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
    white-space: nowrap;
  }

  .home-hero-slide figcaption {
    right: 16px;
    top: 78px;
  }

  .host-row {
    padding: 13px;
  }

  .host-collage {
    height: auto;
    min-height: 0;
  }

  .profile-actions {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .bottom-nav {
    width: calc(100vw - 20px);
  }
}

@media (max-width: 390px) {
  .member-view {
    padding-left: 14px;
    padding-right: 14px;
  }

  .profile-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-actions {
    grid-template-columns: 1fr;
  }

  .home-fixed-cta strong {
    font-size: 13px;
  }

  .home-fixed-cta button:not(:disabled) {
    width: 68px;
    max-width: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slides,
  .home-hero-slide img,
  .host-row {
    animation: none;
  }
}

/* V23 /home warm film lounge palette */
.member-view {
  background:
    radial-gradient(circle at 18% 8%, rgba(236, 208, 179, 0.18), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(177, 119, 129, 0.24), transparent 34%),
    radial-gradient(circle at 26% 58%, rgba(111, 91, 86, 0.38), transparent 34%),
    linear-gradient(180deg, #191313 0%, #2a2020 32%, #2b181e 65%, #120d0f 100%);
}

.member-view::before {
  opacity: 0.16;
  background:
    repeating-linear-gradient(0deg, rgba(255, 245, 232, 0.02) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 16% 20%, rgba(236, 208, 179, 0.22), transparent 12rem),
    radial-gradient(circle at 88% 62%, rgba(227, 129, 165, 0.12), transparent 14rem);
}

.member-view .topbar.home-hero-shell {
  background:
    radial-gradient(circle at 26% 10%, rgba(244, 222, 194, 0.22), transparent 32%),
    radial-gradient(circle at 78% 18%, rgba(183, 120, 132, 0.24), transparent 34%),
    linear-gradient(180deg, #332927 0%, #38272b 48%, #171112 100%);
  box-shadow: 0 28px 90px rgba(19, 11, 12, 0.58);
}

.home-hero-slide {
  background:
    radial-gradient(circle at 18% 16%, rgba(244, 222, 194, 0.18) 0 2px, transparent 5px),
    radial-gradient(circle at 78% 9%, rgba(224, 137, 164, 0.12) 0 2px, transparent 6px),
    linear-gradient(115deg, rgba(89, 68, 62, 0.62), rgba(25, 17, 18, 0.84));
}

.home-hero-slide img {
  filter: brightness(1.13) contrast(0.9) saturate(0.76) sepia(0.12);
}

.home-hero-shade {
  background:
    radial-gradient(circle at 20% 10%, rgba(250, 229, 199, 0.18), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(226, 139, 166, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(32, 25, 24, 0.72) 0%, rgba(45, 33, 33, 0.34) 44%, rgba(28, 20, 19, 0.04) 100%),
    linear-gradient(180deg, rgba(28, 21, 20, 0.04) 0%, rgba(34, 24, 24, 0.1) 42%, rgba(18, 12, 13, 0.78) 100%);
}

.member-view .topbar.home-hero-shell .eyebrow {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: rgba(245, 213, 194, 0.86);
  text-shadow: 0 0 14px rgba(244, 204, 183, 0.1);
}

.member-view .topbar.home-hero-shell h1 {
  color: #fff0df;
  text-shadow: 0 8px 28px rgba(32, 18, 18, 0.62);
}

.member-view .topbar.home-hero-shell .adult-notice {
  color: #d6c2b4;
}

.member-view .topbar.home-hero-shell .top-actions button:not(:disabled),
.home-hero-slide figcaption,
.filter-bar button:not(:disabled) {
  border-color: rgba(245, 213, 184, 0.24);
  color: #f4dfc7;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 213, 184, 0.14), transparent 2rem),
    linear-gradient(135deg, rgba(76, 50, 49, 0.68), rgba(40, 28, 30, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 246, 232, 0.08), 0 0 18px rgba(226, 139, 166, 0.08);
}

.filter-bar button.active:not(:disabled) {
  color: #fff1e3;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 238, 215, 0.24), transparent 2rem),
    linear-gradient(135deg, rgba(231, 178, 160, 0.82), rgba(211, 103, 145, 0.62), rgba(101, 55, 66, 0.76));
}

.host-row {
  border-color: rgba(245, 213, 184, 0.18);
  background:
    radial-gradient(circle at 82% 0%, rgba(162, 111, 104, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(66, 48, 46, 0.7), rgba(27, 20, 21, 0.66)),
    linear-gradient(180deg, rgba(255, 247, 235, 0.08), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 235, 0.1),
    inset 0 0 28px rgba(226, 139, 166, 0.028),
    0 20px 58px rgba(14, 9, 10, 0.44);
}

.host-row.active {
  border-color: rgba(245, 213, 184, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 235, 0.13),
    0 24px 68px rgba(14, 9, 10, 0.5),
    0 0 26px rgba(226, 139, 166, 0.12);
}

.host-collage {
  border-color: rgba(245, 213, 184, 0.24);
  background:
    linear-gradient(135deg, rgba(245, 220, 190, 0.2), rgba(133, 102, 100, 0.16)),
    #251c1b;
  box-shadow:
    0 0 0 1px rgba(245, 213, 184, 0.04),
    0 0 18px rgba(226, 139, 166, 0.07),
    0 16px 32px rgba(15, 10, 11, 0.3);
}

.host-collage::before {
  background:
    linear-gradient(180deg, rgba(255, 244, 230, 0.05) 0%, rgba(96, 61, 57, 0.03) 44%, rgba(22, 15, 15, 0.32) 100%),
    linear-gradient(135deg, rgba(128, 94, 86, 0.06), rgba(198, 116, 142, 0.035) 50%, rgba(165, 130, 99, 0.05));
}

.host-collage::after {
  background: linear-gradient(180deg, transparent 48%, rgba(22, 14, 15, 0.22) 72%, rgba(17, 11, 12, 0.7));
}

.collage-main {
  filter: brightness(1.09) contrast(0.93) saturate(0.82) sepia(0.1);
}

.host-row:hover .collage-main {
  filter: brightness(1.13) contrast(0.95) saturate(0.86) sepia(0.08);
}

.host-photo-caption {
  background: linear-gradient(180deg, transparent, rgba(20, 13, 13, 0.72));
}

.host-caption-main h3 {
  color: #fff1df;
}

.host-caption-main small,
.host-photo-caption p,
.host-detail {
  color: #d4c0b4;
}

.host-copy {
  color: rgba(255, 240, 223, 0.82);
}

.profile-specs span {
  border-color: rgba(255, 246, 232, 0.12);
  background: rgba(255, 246, 232, 0.06);
  color: #e1d0c2;
}

.host-row .profile-actions .primary:not(:disabled),
.home-fixed-cta button:not(:disabled) {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 238, 215, 0.36), transparent 24%),
    linear-gradient(135deg, #f0c6ac 0%, #e077a3 50%, #984261 100%);
  box-shadow:
    0 0 20px rgba(224, 119, 163, 0.28),
    0 12px 28px rgba(40, 16, 22, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bottom-nav {
  border-color: rgba(245, 213, 184, 0.18);
  background:
    radial-gradient(circle at 50% 0%, rgba(226, 139, 166, 0.12), transparent 9rem),
    rgba(32, 23, 24, 0.76);
}

/* V24 /home featured photo cards */
.host-collage,
.landing-profile-photo {
  border: 1px solid rgba(242, 197, 162, 0.28);
  background:
    radial-gradient(circle at 22% 12%, rgba(217, 92, 147, 0.2), transparent 10rem),
    linear-gradient(145deg, rgba(50, 24, 47, 0.94), rgba(80, 28, 46, 0.74) 48%, rgba(29, 15, 22, 0.98));
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 238, 215, 0.08),
    0 0 22px rgba(217, 108, 155, 0.14),
    0 18px 36px rgba(8, 4, 8, 0.42);
}

.host-collage::before,
.landing-profile-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(68, 30, 72, 0.2), rgba(124, 39, 65, 0.16) 52%, rgba(36, 19, 31, 0.1)),
    linear-gradient(180deg, rgba(4, 3, 8, 0.08), rgba(4, 3, 8, 0.02) 42%, rgba(5, 4, 8, 0.72));
}

.host-collage::after,
.landing-profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(7, 5, 10, 0.48) 74%, rgba(5, 4, 8, 0.92));
}

.collage-main,
.landing-profile-photo img {
  filter: brightness(0.82) contrast(1.06) saturate(0.9);
}

.host-row:hover .collage-main,
.landing-profile-card:hover .landing-profile-photo img {
  filter: brightness(0.86) contrast(1.07) saturate(0.92);
}

.host-photo-caption,
.landing-profile-copy {
  z-index: 4;
  background: linear-gradient(180deg, transparent, rgba(5, 4, 8, 0.78));
}

.host-caption-main h3,
.landing-profile-copy h3 {
  color: #f8eadb;
}

.host-caption-main small,
.landing-profile-copy h3 small {
  color: #cbb7aa;
  font-size: 0.58em;
}

.host-photo-caption p,
.landing-profile-copy p {
  color: #a99691;
}

.status-dot,
.landing-status-dot {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 8px rgba(118, 200, 154, 0.38);
}

/* V25 /home Japanese drama Instagram style */
:root {
  --home-bg-main: #fff8f5;
  --home-bg-soft: #f7ece7;
  --home-card-bg: rgba(255, 255, 255, 0.72);
  --home-card-border: rgba(220, 180, 170, 0.38);
  --home-sakura-pink: #e8a9b8;
  --home-soft-rose: #d98ca3;
  --home-warm-beige: #ead8cc;
  --home-soft-gold: #c9a36a;
  --home-text-main: #4a3832;
  --home-text-muted: #9a837b;
  --home-shadow-soft: rgba(150, 100, 90, 0.12);
}

.member-view {
  isolation: isolate;
  padding: 16px clamp(16px, 3vw, 20px) calc(120px + env(safe-area-inset-bottom, 0px));
  color: var(--home-text-main);
  background:
    radial-gradient(circle at 16% 0%, rgba(232, 169, 184, 0.22), transparent 17rem),
    radial-gradient(circle at 92% 12%, rgba(201, 163, 106, 0.14), transparent 18rem),
    radial-gradient(circle at 28% 78%, rgba(234, 216, 204, 0.46), transparent 20rem),
    linear-gradient(180deg, #fff8f5 0%, #f7ece7 48%, #fffaf8 100%);
}

.member-view::before {
  opacity: 0.26;
  background:
    repeating-linear-gradient(0deg, rgba(120, 90, 82, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 10% 20%, rgba(232, 169, 184, 0.16), transparent 9rem),
    radial-gradient(circle at 90% 62%, rgba(201, 163, 106, 0.08), transparent 12rem);
  mix-blend-mode: multiply;
}

.member-view::after {
  opacity: 0.42;
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 64%, rgba(212, 184, 174, 0.22) 100%);
}

.member-view .topbar,
.member-view .filter-bar,
.member-view .workspace,
.member-view .member-center,
.home-recommend-card {
  width: min(100%, 960px);
}

.member-view .topbar.home-ins-header {
  position: relative;
  display: flex;
  min-height: auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto 12px;
  padding: 0 2px;
  padding-right: 150px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  color: var(--home-text-main);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.member-view .topbar.home-ins-header::before,
.member-view .topbar.home-ins-header::after {
  display: none;
}

.home-ins-brand .eyebrow {
  color: var(--home-soft-rose);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.member-view .home-ins-brand h1 {
  margin-top: 5px;
  color: var(--home-text-main);
  font-family: "Yu Gothic", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  font-size: clamp(23px, 6vw, 32px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0;
}

.member-view .home-ins-brand .adult-notice {
  max-width: 34ch;
  margin-top: 5px;
  color: var(--home-text-muted);
  font-size: 11px;
  line-height: 1.65;
}

.member-view .topbar.home-ins-header .top-actions {
  position: absolute;
  top: 0;
  right: 2px;
  display: flex;
  width: auto;
  max-width: none;
  gap: 8px;
  flex: 0 0 auto;
  max-width: 132px;
}

.member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
  min-width: 0;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(220, 180, 170, 0.42);
  border-radius: 999px;
  color: #6b5048;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 8px 24px rgba(150, 100, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  font-size: 11px;
}

.home-recommend-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 126px;
  max-height: 150px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  margin: 0 auto 16px;
  padding: 12px 88px 12px 12px;
  border: 1px solid var(--home-card-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 169, 184, 0.18), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 248, 245, 0.62));
  box-shadow: 0 16px 40px var(--home-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-sizing: border-box;
}

.home-recommend-empty {
  grid-column: 1 / -1;
  color: var(--home-text-muted);
  font-size: 14px;
  text-align: center;
}

.home-recommend-photo {
  position: relative;
  width: 92px;
  height: 108px;
  overflow: hidden;
  border: 1px solid rgba(220, 180, 170, 0.42);
  border-radius: 20px;
  background: #f3e5de;
  box-shadow: inset 0 0 18px rgba(180, 120, 108, 0.08), 0 10px 22px rgba(150, 100, 90, 0.13);
  cursor: pointer;
}

.home-recommend-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 232, 218, 0.12), rgba(120, 80, 70, 0.08));
  pointer-events: none;
}

.home-recommend-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(1.03) contrast(0.98) saturate(0.94);
}

.home-recommend-copy {
  min-width: 0;
}

.home-recommend-label {
  color: var(--home-soft-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-recommend-name {
  display: block;
  max-width: 100%;
  margin-top: 3px;
  overflow: hidden;
  color: var(--home-text-main);
  background: transparent;
  box-shadow: none;
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-recommend-name small {
  color: var(--home-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.home-recommend-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--home-text-muted);
  font-size: 12px;
}

.home-recommend-line {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #6e5750;
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-recommend-actions {
  position: absolute;
  top: 50%;
  right: 12px;
  z-index: 3;
  display: grid;
  width: 66px;
  gap: 8px;
  justify-items: stretch;
  min-width: 0;
  transform: translateY(-50%);
}

.home-recommend-chat {
  min-height: 38px;
  width: 92px;
  max-width: 92px;
  min-width: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 18px;
  color: #fffaf8;
  background: linear-gradient(135deg, #f3cdbf 0%, #e8a9b8 50%, #c9a36a 100%);
  box-shadow: 0 10px 22px rgba(217, 140, 163, 0.18);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.home-recommend-next {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(220, 180, 170, 0.5);
  border-radius: 999px;
  color: #9b7568;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 8px 18px rgba(150, 100, 90, 0.08);
  font-size: 22px;
  line-height: 1;
}

.filter-bar {
  gap: 9px;
  margin-bottom: 15px;
}

.filter-bar button:not(:disabled) {
  min-height: 37px;
  border-color: rgba(220, 180, 170, 0.42);
  color: #8a6f66;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 8px 22px rgba(150, 100, 90, 0.08);
}

.filter-bar button.active:not(:disabled) {
  color: #fffaf8;
  background: linear-gradient(135deg, #e8a9b8, #d98ca3);
  box-shadow: 0 10px 24px rgba(217, 140, 163, 0.18);
}

.profile-panel .section-heading .eyebrow {
  color: var(--home-soft-gold);
}

.profile-panel .section-heading h2 {
  color: var(--home-text-main);
  font-size: clamp(24px, 6vw, 31px);
  font-weight: 650;
}

.host-row {
  border: 1px solid var(--home-card-border);
  border-radius: 24px;
  background: var(--home-card-bg);
  box-shadow: 0 18px 42px var(--home-shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.host-row.active {
  border-color: rgba(232, 169, 184, 0.58);
  box-shadow: 0 20px 48px rgba(150, 100, 90, 0.14), 0 0 0 3px rgba(232, 169, 184, 0.1);
}

.host-collage,
.landing-profile-photo {
  border-color: rgba(220, 180, 170, 0.42);
  background: #f3e5de;
  box-shadow: inset 0 0 18px rgba(180, 120, 108, 0.07), 0 12px 28px rgba(150, 100, 90, 0.12);
}

.host-collage::before,
.landing-profile-photo::before {
  background: linear-gradient(180deg, rgba(255, 239, 229, 0.015), rgba(255, 255, 255, 0) 50%, rgba(100, 72, 64, 0.15));
}

.host-collage::after,
.landing-profile-photo::after {
  background: linear-gradient(180deg, transparent 52%, rgba(74, 56, 50, 0.18) 80%, rgba(74, 56, 50, 0.42));
}

.collage-main,
.landing-profile-photo img {
  filter: brightness(0.98) contrast(1.02) saturate(0.96);
}

.host-row:hover .collage-main,
.landing-profile-card:hover .landing-profile-photo img {
  filter: brightness(1.05) contrast(1) saturate(0.96);
}

.host-photo-caption,
.landing-profile-copy {
  background: linear-gradient(180deg, transparent, rgba(74, 56, 50, 0.5));
}

.host-caption-main h3,
.landing-profile-copy h3 {
  color: #fffaf8;
  text-shadow: 0 1px 10px rgba(74, 56, 50, 0.28);
}

.host-caption-main small,
.landing-profile-copy h3 small,
.host-photo-caption p,
.landing-profile-copy p {
  color: rgba(255, 250, 248, 0.78);
}

.profile-specs span {
  border-color: rgba(220, 180, 170, 0.34);
  color: #7d625a;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.profile-specs .muted-spec {
  color: rgba(122, 96, 88, 0.58);
}

.host-detail {
  color: var(--home-text-muted);
}

.host-copy {
  color: var(--home-text-main);
}

.host-row .profile-actions .primary:not(:disabled),
.home-fixed-cta button:not(:disabled) {
  color: #fffaf8;
  background: linear-gradient(135deg, #f3cdbf 0%, #e8a9b8 50%, #c9a36a 100%);
  box-shadow: 0 10px 22px rgba(217, 140, 163, 0.18);
}

.host-row .profile-actions .soft:not(:disabled) {
  border-color: rgba(220, 180, 170, 0.46);
  color: #7b5e55;
  background: rgba(255, 255, 255, 0.54);
}

.bottom-nav {
  border-color: rgba(220, 180, 170, 0.46);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 -12px 34px rgba(150, 100, 90, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.home-fixed-cta {
  border-bottom: 1px solid rgba(220, 180, 170, 0.24);
}

.home-fixed-cta p {
  color: var(--home-soft-gold);
}

.home-fixed-cta strong {
  color: var(--home-text-main);
}

.bottom-nav-row {
  border-color: rgba(220, 180, 170, 0.24);
  background: rgba(255, 248, 245, 0.54);
}

.bottom-nav button:not(:disabled) {
  color: #9a837b;
}

.bottom-nav .active:not(:disabled),
.bottom-nav .center:not(:disabled) {
  color: #b86d86;
  background: rgba(232, 169, 184, 0.18);
  box-shadow: none;
}

.bottom-nav .center span {
  background: linear-gradient(135deg, #e8a9b8, #d98ca3);
  box-shadow: 0 8px 20px rgba(217, 140, 163, 0.2);
}

.ins-sakura-page-petals,
.ins-sakura-petals {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ins-sakura-petals {
  position: absolute;
  z-index: 0;
}

.ins-sakura-page-petals span,
.ins-sakura-petals span {
  position: absolute;
  top: -22px;
  left: var(--petal-left, 50%);
  width: var(--petal-w, 7px);
  height: var(--petal-h, 10px);
  border-radius: 70% 30% 70% 30%;
  background: rgba(232, 169, 184, var(--petal-alpha, 0.28));
  box-shadow: 0 0 8px rgba(232, 169, 184, 0.12);
  transform: rotate(var(--petal-rotate, 12deg));
  animation: insSakuraFall var(--petal-duration, 15s) linear infinite;
  animation-delay: var(--petal-delay, 0s);
}

.ins-sakura-page-petals span:nth-child(1),
.ins-sakura-petals span:nth-child(1) { --petal-left: 8%; --petal-delay: -1s; --petal-duration: 16s; --petal-alpha: 0.22; }
.ins-sakura-page-petals span:nth-child(2),
.ins-sakura-petals span:nth-child(2) { --petal-left: 18%; --petal-delay: -9s; --petal-duration: 19s; --petal-alpha: 0.18; --petal-w: 6px; --petal-h: 9px; }
.ins-sakura-page-petals span:nth-child(3),
.ins-sakura-petals span:nth-child(3) { --petal-left: 31%; --petal-delay: -4s; --petal-duration: 17s; --petal-alpha: 0.26; }
.ins-sakura-page-petals span:nth-child(4),
.ins-sakura-petals span:nth-child(4) { --petal-left: 46%; --petal-delay: -12s; --petal-duration: 21s; --petal-alpha: 0.2; --petal-w: 5px; --petal-h: 8px; }
.ins-sakura-page-petals span:nth-child(5),
.ins-sakura-petals span:nth-child(5) { --petal-left: 58%; --petal-delay: -6s; --petal-duration: 18s; --petal-alpha: 0.24; }
.ins-sakura-page-petals span:nth-child(6),
.ins-sakura-petals span:nth-child(6) { --petal-left: 69%; --petal-delay: -14s; --petal-duration: 20s; --petal-alpha: 0.19; }
.ins-sakura-page-petals span:nth-child(7),
.ins-sakura-petals span:nth-child(7) { --petal-left: 79%; --petal-delay: -3s; --petal-duration: 16s; --petal-alpha: 0.28; --petal-w: 6px; --petal-h: 9px; }
.ins-sakura-page-petals span:nth-child(8),
.ins-sakura-petals span:nth-child(8) { --petal-left: 88%; --petal-delay: -11s; --petal-duration: 22s; --petal-alpha: 0.2; }
.ins-sakura-page-petals span:nth-child(9),
.ins-sakura-petals span:nth-child(9) { --petal-left: 96%; --petal-delay: -7s; --petal-duration: 19s; --petal-alpha: 0.18; --petal-w: 5px; --petal-h: 8px; }

@keyframes insSakuraFall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(0deg);
  }
  45% {
    transform: translate3d(18px, 48vh, 0) rotate(105deg);
  }
  100% {
    transform: translate3d(-12px, 105vh, 0) rotate(230deg);
  }
}

@media (max-width: 640px) {
  .member-view {
    padding: 14px 16px calc(116px + env(safe-area-inset-bottom, 0px));
  }

  .member-view .topbar.home-ins-header {
    display: block;
    flex-direction: initial;
    align-items: flex-start;
    padding: 0 142px 0 0;
    gap: 8px;
  }

  .member-view .home-ins-brand h1 {
    font-size: 24px;
  }

  .member-view .home-ins-brand .adult-notice {
    font-size: 10.5px;
  }

  .member-view .topbar.home-ins-header .top-actions {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    gap: 4px;
    max-width: 136px;
  }

  .member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
    min-height: 32px;
    padding: 0 7px;
    font-size: 10px;
  }

  .home-recommend-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
    min-height: 126px;
    max-height: 146px;
    max-width: calc(100vw - 32px);
    padding: 10px 82px 10px 10px;
    border-radius: 22px;
  }

  .home-recommend-photo {
    width: 78px;
    height: 100px;
    border-radius: 18px;
  }

  .home-recommend-name {
    font-size: 16px;
  }

  .home-recommend-line {
    font-size: 11.5px;
  }

  .home-recommend-chat {
    width: 64px;
    max-width: 64px;
    min-height: 36px;
    padding: 0 6px;
    font-size: 10px;
  }

  .home-recommend-next {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 390px) {
  .home-recommend-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 7px;
  }

  .home-recommend-photo {
    width: 72px;
    height: 94px;
  }

  .home-recommend-chat {
    width: 60px;
    max-width: 60px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ins-sakura-page-petals span,
  .ins-sakura-petals span {
    animation: none;
    opacity: 0.16;
  }
}

/* V25b mobile overflow lock for the Ins home header/recommend card */
@media (max-width: 640px) {
  .member-view,
  .member-view * {
    box-sizing: border-box;
  }

  .member-view {
    overflow-x: hidden;
  }

  .member-view .topbar.home-ins-header,
  .home-recommend-card,
  .filter-bar,
  .workspace,
  .profile-list {
    width: 100% !important;
    max-width: 100% !important;
  }

  .member-view .topbar.home-ins-header .top-actions {
    right: 0 !important;
    max-width: 118px !important;
  }

  .member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
    width: 56px !important;
    max-width: 56px !important;
    overflow: hidden;
    padding: 0 4px !important;
    text-align: center;
  }

  .home-recommend-card {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    padding-right: 10px !important;
  }

  .home-recommend-actions {
    position: static !important;
    grid-column: 2;
    display: flex !important;
    width: 100% !important;
    transform: none !important;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 6px;
  }

  .home-recommend-chat {
    width: auto !important;
    max-width: none !important;
    min-height: 32px;
    padding: 0 10px !important;
    font-size: 10.5px;
  }

  .home-recommend-next {
    flex: 0 0 32px;
  }
}

/* V25c /home final mobile polish: restrained sakura ambience + no horizontal squeeze */
.member-view .topbar.home-ins-header,
.member-view .filter-bar,
.member-view .workspace,
.member-view .bottom-nav {
  position: relative;
  z-index: 1;
}

.home-recommend-actions {
  width: 92px;
}

.ins-sakura-page-petals,
.ins-sakura-petals {
  pointer-events: none;
}

@media (max-width: 640px) {
  .member-view .topbar.home-ins-header {
    padding-right: 78px !important;
  }

  .member-view .topbar.home-ins-header .top-actions {
    max-width: 70px !important;
  }

  .member-view .topbar.home-ins-header .top-actions #logoutButton {
    display: none;
  }

  .member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
    width: 68px !important;
    max-width: 68px !important;
  }

  .home-recommend-card {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    min-height: 142px !important;
    max-height: 150px !important;
    align-items: start;
    padding: 10px !important;
  }

  .home-recommend-copy {
    align-self: start;
  }

  .home-recommend-line {
    -webkit-line-clamp: 1;
  }

  .home-recommend-actions {
    grid-column: 2;
    width: 100% !important;
    margin-top: 5px;
  }

  .home-recommend-chat {
    flex: 0 1 auto;
    min-width: 108px !important;
  }
}

@media (max-width: 390px) {
  .home-recommend-card {
    grid-template-columns: 70px minmax(0, 1fr) !important;
  }

  .home-recommend-chat {
    min-width: 102px !important;
  }
}

/* V25d /home Ins profile cards: soft magazine layout, no dark lounge residue */
.profile-list {
  gap: 16px;
}

.host-row {
  display: grid;
  grid-template-columns: minmax(180px, 32%) minmax(0, 1fr);
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(220, 180, 170, 0.38);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(232, 169, 184, 0.16), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 245, 0.7));
  box-shadow: 0 18px 42px rgba(150, 100, 90, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(16px);
}

.host-row.active {
  border-color: rgba(232, 169, 184, 0.56);
  background:
    radial-gradient(circle at 14% 0%, rgba(232, 169, 184, 0.2), transparent 11rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 246, 242, 0.74));
}

.host-collage {
  width: 100%;
  height: clamp(210px, 31vw, 260px);
  min-height: 210px;
  border: 1px solid rgba(220, 180, 170, 0.46);
  border-radius: 22px;
  background: linear-gradient(145deg, #f7ece7, #fff8f5);
  box-shadow: inset 0 0 18px rgba(180, 120, 108, 0.06), 0 12px 28px rgba(150, 100, 90, 0.12);
}

.host-collage::before {
  background: linear-gradient(180deg, rgba(255, 239, 229, 0.06), rgba(255, 255, 255, 0) 50%, rgba(74, 56, 50, 0.16));
  mix-blend-mode: normal;
}

.host-collage::after {
  background: linear-gradient(180deg, transparent 54%, rgba(74, 56, 50, 0.22) 82%, rgba(74, 56, 50, 0.56));
}

.collage-main {
  filter: brightness(1.01) contrast(1.01) saturate(0.96);
}

.host-row:hover .collage-main {
  filter: brightness(1.04) contrast(1.01) saturate(0.98);
}

.host-info {
  justify-content: center;
  padding: 8px 4px;
}

.host-detail {
  color: #8f766e;
}

.host-copy {
  color: #5c4740;
}

.profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 9px;
}

@media (max-width: 640px) {
  .member-view .topbar.home-ins-header .top-actions {
    left: auto !important;
    right: 0 !important;
    display: block !important;
    width: 68px !important;
    min-width: 68px !important;
  }

  .member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .host-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
  }

  .host-collage {
    height: clamp(220px, 68vw, 260px);
    min-height: 220px;
  }

  .host-info {
    padding: 14px 2px 2px;
  }
}

@media (max-width: 390px) {
  .host-collage {
    height: clamp(210px, 67vw, 250px);
    min-height: 210px;
  }
}

/* V25e hard override: keep /home Ins style above older dark-list rules */
.host-collage::before {
  background: linear-gradient(180deg, rgba(255, 239, 229, 0.02), rgba(255, 255, 255, 0) 50%, rgba(74, 56, 50, 0.08)) !important;
  mix-blend-mode: normal !important;
}

.host-collage::after {
  background: linear-gradient(180deg, transparent 46%, rgba(74, 56, 50, 0.24) 76%, rgba(74, 56, 50, 0.68)) !important;
}

.collage-main {
  filter: brightness(0.93) contrast(1.08) saturate(0.98) !important;
}

.profile-specs span {
  border-color: rgba(220, 180, 170, 0.34) !important;
  color: #6a514a !important;
  background: rgba(255, 255, 255, 0.68) !important;
}

.profile-specs .muted-spec {
  color: rgba(106, 81, 74, 0.58) !important;
}

.host-detail {
  color: #8f766e !important;
}

.host-copy {
  color: #5c4740 !important;
}

.home-recommend-next {
  color: #fffaf8 !important;
  background: linear-gradient(135deg, #e8a9b8, #d98ca3 48%, #c9a36a) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

@media (max-width: 640px) {
  .member-view .topbar.home-ins-header,
  .home-recommend-card,
  .filter-bar,
  .workspace,
  .profile-list {
    width: auto !important;
    max-width: 100% !important;
  }

  .member-view .topbar.home-ins-header {
    padding-right: 0 !important;
  }

  .member-view .topbar.home-ins-header .top-actions {
    position: static !important;
    display: flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-top: 8px;
    gap: 8px;
  }

  .member-view .topbar.home-ins-header .top-actions #logoutButton {
    display: none !important;
  }

  .member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
    width: auto !important;
    max-width: none !important;
    min-width: 72px !important;
    min-height: 32px !important;
    padding: 0 12px !important;
  }

  .home-recommend-card {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    padding: 10px 112px 10px 10px !important;
  }

  .home-recommend-copy {
    padding-right: 0 !important;
  }

  .home-recommend-actions {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    display: block !important;
    width: 96px !important;
    margin: 0 !important;
    transform: none !important;
  }

  .home-recommend-chat {
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 96px !important;
    min-width: 0 !important;
    max-width: 96px !important;
    min-height: 34px !important;
    padding: 0 8px !important;
  }

  .home-recommend-next {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
  }
}

@media (max-width: 390px) {
  .home-recommend-card {
    padding-right: 104px !important;
  }

  .home-recommend-actions {
    width: 88px !important;
  }

  .home-recommend-chat {
    width: 88px !important;
    max-width: 88px !important;
    font-size: 10px !important;
  }
}

/* V26 profile detail: Tokyo night lounge, consistent image binding, smooth modal */
.profile-modal {
  width: min(620px, calc(100% - 20px));
  max-height: min(92dvh, 920px);
  overflow: hidden;
  border-radius: 30px;
  color: #efe3dc;
  background: transparent;
  scroll-behavior: smooth;
}

.profile-modal::backdrop {
  background:
    radial-gradient(circle at 32% 8%, rgba(103, 63, 83, 0.34), transparent 22rem),
    radial-gradient(circle at 72% 18%, rgba(185, 127, 93, 0.18), transparent 20rem),
    rgba(11, 7, 10, 0.72);
  backdrop-filter: blur(10px) saturate(0.88);
}

.profile-modal form {
  position: relative;
  display: grid;
  max-height: min(92dvh, 920px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  gap: 13px;
  padding: 18px 18px 22px;
  border: 1px solid rgba(226, 178, 143, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 0%, rgba(205, 130, 153, 0.16), transparent 15rem),
    radial-gradient(circle at 96% 16%, rgba(197, 150, 92, 0.12), transparent 18rem),
    linear-gradient(180deg, rgba(43, 32, 38, 0.94), rgba(19, 13, 18, 0.96) 54%, rgba(10, 8, 11, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 238, 220, 0.08),
    inset 0 0 44px rgba(226, 178, 143, 0.035);
  transform: translate3d(0, 10px, 0) scale(0.992);
  opacity: 0.98;
  will-change: transform, opacity;
  transition: transform 240ms ease, opacity 240ms ease;
}

.profile-modal.is-visible form {
  transform: translate3d(0, 0, 0) scale(1);
  opacity: 1;
}

.profile-modal form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 242, 230, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.28) 100%);
  mix-blend-mode: screen;
}

.profile-modal form > * {
  position: relative;
  z-index: 1;
}

.profile-modal .modal-close {
  position: absolute !important;
  top: 18px;
  right: 18px;
  left: auto !important;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  border: 1px solid rgba(226, 178, 143, 0.22);
  color: rgba(239, 227, 220, 0.82);
  background: rgba(38, 25, 32, 0.64);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.profile-modal-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 3px 42px 4px 2px;
  color: #e8c7b2;
  letter-spacing: 0.12em;
}

.profile-modal-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.78;
  filter: sepia(0.16) saturate(0.75) brightness(0.92);
}

.profile-modal-brand strong,
.profile-modal-brand small {
  display: block;
}

.profile-modal-brand strong {
  color: #ead4c1;
  font-size: 14px;
  font-weight: 800;
}

.profile-modal-brand small {
  margin-top: 1px;
  color: rgba(210, 181, 164, 0.56);
  font-size: 9px;
  font-weight: 700;
}

.profile-modal-photo {
  position: relative;
  display: grid;
  place-items: center;
  height: min(60dvh, 560px);
  min-height: 360px;
  margin: 2px 0 4px;
  overflow: hidden;
  border: 1px solid rgba(226, 178, 143, 0.2);
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 18%, rgba(211, 148, 161, 0.14), transparent 14rem),
    linear-gradient(145deg, #33252c, #140f14 54%, #251815);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    inset 0 0 28px rgba(226, 178, 143, 0.035);
}

.profile-modal-photo::before,
.profile-modal-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.profile-modal-photo::before {
  background:
    linear-gradient(180deg, rgba(18, 12, 17, 0.06), transparent 38%, rgba(10, 7, 10, 0.18)),
    linear-gradient(135deg, rgba(204, 130, 153, 0.07), rgba(198, 149, 92, 0.06));
  mix-blend-mode: soft-light;
}

.profile-modal-photo::after {
  background: linear-gradient(180deg, transparent 52%, rgba(10, 7, 10, 0.34) 100%);
}

.profile-modal-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: brightness(0.88) contrast(1.04) saturate(0.86) sepia(0.045);
  transform: translateZ(0);
  opacity: 1;
  transition: opacity 220ms ease, filter 220ms ease;
}

.profile-modal.is-loading .profile-modal-img {
  opacity: 0.72;
  filter: blur(6px) brightness(0.82) saturate(0.78);
}

.profile-modal-photo .photo-fallback,
.profile-modal-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(239, 227, 220, 0.34);
  font-size: 68px;
  font-weight: 800;
  background: linear-gradient(145deg, rgba(76, 49, 61, 0.42), rgba(20, 14, 18, 0.72));
}

.profile-modal .eyebrow {
  color: #caa56d;
  letter-spacing: 0.16em;
}

.profile-modal h2 {
  color: #f1e4d9;
  font-size: clamp(27px, 7vw, 38px);
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.profile-modal-specs {
  gap: 8px;
}

.profile-modal-specs span {
  border-color: rgba(226, 178, 143, 0.24);
  color: rgba(239, 227, 220, 0.84);
  background: rgba(255, 236, 220, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 246, 236, 0.04);
  backdrop-filter: blur(8px);
}

.profile-modal #profileModalBio {
  color: rgba(239, 227, 220, 0.78);
  font-size: 14px;
  line-height: 1.85;
}

.profile-modal .primary:not(:disabled) {
  min-height: 50px;
  border-radius: 24px;
  color: #fff7ef;
  background: linear-gradient(135deg, #d6a47d, #c77f99 52%, #5d243e);
  box-shadow: 0 14px 30px rgba(199, 127, 153, 0.22);
}

.profile-modal-petals {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.profile-modal-petals span {
  position: absolute;
  top: -18px;
  left: var(--detail-petal-left, 50%);
  width: var(--detail-petal-w, 6px);
  height: var(--detail-petal-h, 9px);
  border-radius: 70% 30% 70% 30%;
  background: rgba(218, 150, 166, var(--detail-petal-alpha, 0.22));
  box-shadow: 0 0 8px rgba(218, 150, 166, 0.1);
  animation: profileDetailPetalFall var(--detail-petal-duration, 17s) linear infinite;
  animation-delay: var(--detail-petal-delay, 0s);
}

.profile-modal-petals span:nth-child(1) { --detail-petal-left: 10%; --detail-petal-delay: -2s; --detail-petal-duration: 18s; --detail-petal-alpha: 0.2; }
.profile-modal-petals span:nth-child(2) { --detail-petal-left: 26%; --detail-petal-delay: -8s; --detail-petal-duration: 20s; --detail-petal-alpha: 0.16; --detail-petal-w: 5px; --detail-petal-h: 8px; }
.profile-modal-petals span:nth-child(3) { --detail-petal-left: 44%; --detail-petal-delay: -5s; --detail-petal-duration: 17s; --detail-petal-alpha: 0.24; }
.profile-modal-petals span:nth-child(4) { --detail-petal-left: 62%; --detail-petal-delay: -12s; --detail-petal-duration: 21s; --detail-petal-alpha: 0.18; }
.profile-modal-petals span:nth-child(5) { --detail-petal-left: 78%; --detail-petal-delay: -4s; --detail-petal-duration: 19s; --detail-petal-alpha: 0.22; --detail-petal-w: 5px; --detail-petal-h: 8px; }
.profile-modal-petals span:nth-child(6) { --detail-petal-left: 92%; --detail-petal-delay: -14s; --detail-petal-duration: 22s; --detail-petal-alpha: 0.15; }

@keyframes profileDetailPetalFall {
  0% {
    transform: translate3d(0, -20px, 0) rotate(0deg);
  }
  45% {
    transform: translate3d(16px, 46dvh, 0) rotate(100deg);
  }
  100% {
    transform: translate3d(-10px, 96dvh, 0) rotate(220deg);
  }
}

@media (max-width: 640px) {
  .profile-modal {
    width: min(calc(100% - 18px), 430px);
    max-height: 94dvh;
  }

  .profile-modal form {
    max-height: 94dvh;
    padding: 14px 14px 18px;
    border-radius: 26px;
  }

  .profile-modal-photo {
    height: min(54dvh, 500px);
    min-height: 330px;
    border-radius: 24px;
  }
}

@media (max-width: 390px) {
  .profile-modal-photo {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-modal form,
  .profile-modal-img {
    transition: none;
  }

  .profile-modal-petals span {
    animation: none;
    opacity: 0.16;
  }
}

/* V27 /home film night palette: dark plum wine + warm Japanese drama shadows */
.member-view {
  color: #f0e1d6 !important;
  background:
    radial-gradient(circle at 18% 4%, rgba(118, 58, 86, 0.34), transparent 18rem),
    radial-gradient(circle at 88% 13%, rgba(164, 92, 78, 0.22), transparent 20rem),
    radial-gradient(circle at 22% 70%, rgba(80, 55, 70, 0.42), transparent 18rem),
    linear-gradient(180deg, #191018 0%, #25141d 42%, #140e13 100%) !important;
}

.member-view::before {
  opacity: 0.22 !important;
  background:
    repeating-linear-gradient(0deg, rgba(255, 238, 224, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 14% 24%, rgba(220, 139, 160, 0.16), transparent 10rem),
    radial-gradient(circle at 84% 58%, rgba(203, 157, 100, 0.09), transparent 13rem) !important;
  mix-blend-mode: screen !important;
}

.member-view::after {
  opacity: 0.5 !important;
  background: radial-gradient(ellipse at center, transparent 0%, transparent 58%, rgba(0, 0, 0, 0.34) 100%) !important;
}

.member-view .topbar.home-ins-header {
  color: #f0e1d6 !important;
}

.home-ins-brand .eyebrow {
  color: #d2a66d !important;
}

.member-view .home-ins-brand h1 {
  color: #f3e6dc !important;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.member-view .home-ins-brand .adult-notice {
  color: rgba(221, 201, 190, 0.62) !important;
}

.member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
  border-color: rgba(226, 178, 143, 0.22) !important;
  color: #ead4c1 !important;
  background: rgba(38, 25, 32, 0.62) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 238, 220, 0.08) !important;
}

.home-recommend-card {
  border-color: rgba(226, 178, 143, 0.22) !important;
  background:
    radial-gradient(circle at 16% 0%, rgba(205, 130, 153, 0.18), transparent 10rem),
    linear-gradient(135deg, rgba(54, 36, 46, 0.82), rgba(24, 16, 22, 0.74)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 238, 220, 0.06) !important;
}

.home-recommend-photo {
  border-color: rgba(226, 178, 143, 0.28) !important;
  background: linear-gradient(145deg, #33252c, #140f14) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28), inset 0 0 18px rgba(226, 178, 143, 0.04) !important;
}

.home-recommend-photo img {
  filter: brightness(0.9) contrast(1.04) saturate(0.86) sepia(0.04) !important;
}

.home-recommend-label {
  color: #caa56d !important;
}

.home-recommend-name {
  color: #f0e1d6 !important;
}

.home-recommend-name small,
.home-recommend-meta,
.home-recommend-line {
  color: rgba(221, 201, 190, 0.66) !important;
}

.filter-bar button:not(:disabled) {
  border-color: rgba(226, 178, 143, 0.2) !important;
  color: rgba(239, 227, 220, 0.76) !important;
  background: rgba(38, 25, 32, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.04), 0 10px 22px rgba(0, 0, 0, 0.18) !important;
}

.filter-bar button.active:not(:disabled) {
  color: #fff6ee !important;
  background: linear-gradient(135deg, #d6a47d, #c77f99 52%, #5d243e) !important;
  box-shadow: 0 12px 26px rgba(199, 127, 153, 0.2) !important;
}

.profile-panel .section-heading .eyebrow {
  color: #caa56d !important;
}

.profile-panel .section-heading h2 {
  color: #f0e1d6 !important;
}

.host-row {
  border-color: rgba(226, 178, 143, 0.2) !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(205, 130, 153, 0.13), transparent 11rem),
    radial-gradient(circle at 96% 100%, rgba(97, 55, 46, 0.2), transparent 14rem),
    linear-gradient(145deg, rgba(47, 32, 41, 0.82), rgba(19, 13, 18, 0.88)) !important;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 238, 220, 0.055) !important;
}

.host-row.active {
  border-color: rgba(226, 178, 143, 0.32) !important;
}

.host-collage {
  border-color: rgba(226, 178, 143, 0.24) !important;
  background: linear-gradient(145deg, #33252c, #140f14 54%, #251815) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3), inset 0 0 22px rgba(226, 178, 143, 0.035) !important;
}

.host-collage::before {
  background:
    linear-gradient(180deg, rgba(18, 12, 17, 0.05), transparent 45%, rgba(10, 7, 10, 0.18)),
    linear-gradient(135deg, rgba(204, 130, 153, 0.08), rgba(198, 149, 92, 0.05)) !important;
  mix-blend-mode: soft-light !important;
}

.host-collage::after {
  background: linear-gradient(180deg, transparent 48%, rgba(10, 7, 10, 0.38) 100%) !important;
}

.collage-main {
  filter: brightness(0.88) contrast(1.05) saturate(0.88) sepia(0.04) !important;
}

.host-caption-main h3,
.landing-profile-copy h3 {
  color: #fff4eb !important;
}

.host-caption-main small,
.host-photo-caption p {
  color: rgba(239, 227, 220, 0.74) !important;
}

.profile-specs span {
  border-color: rgba(226, 178, 143, 0.18) !important;
  color: rgba(239, 227, 220, 0.78) !important;
  background: rgba(255, 236, 220, 0.055) !important;
}

.profile-specs .muted-spec {
  color: rgba(221, 201, 190, 0.52) !important;
}

.host-detail {
  color: rgba(221, 201, 190, 0.62) !important;
}

.host-copy {
  color: rgba(239, 227, 220, 0.78) !important;
}

.host-row .profile-actions .soft:not(:disabled) {
  border-color: rgba(226, 178, 143, 0.26) !important;
  color: #e2b28f !important;
  background: rgba(24, 16, 22, 0.58) !important;
}

.host-row .profile-actions .primary:not(:disabled),
.home-fixed-cta button:not(:disabled) {
  color: #fff6ee !important;
  background: linear-gradient(135deg, #d6a47d, #c77f99 52%, #5d243e) !important;
  box-shadow: 0 13px 28px rgba(199, 127, 153, 0.2) !important;
}

.bottom-nav {
  border-color: rgba(226, 178, 143, 0.22) !important;
  background: rgba(24, 16, 22, 0.78) !important;
  box-shadow: 0 -14px 38px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 238, 220, 0.06) !important;
}

.home-fixed-cta {
  border-bottom-color: rgba(226, 178, 143, 0.16) !important;
}

.home-fixed-cta p {
  color: #caa56d !important;
}

.home-fixed-cta strong {
  color: #f0e1d6 !important;
}

.bottom-nav-row {
  border-color: rgba(226, 178, 143, 0.16) !important;
  background: rgba(10, 8, 11, 0.34) !important;
}

.bottom-nav button:not(:disabled) {
  color: rgba(221, 201, 190, 0.64) !important;
}

.bottom-nav .active:not(:disabled),
.bottom-nav .center:not(:disabled) {
  color: #e2b28f !important;
  background: rgba(205, 130, 153, 0.12) !important;
}

.bottom-nav .center span {
  background: linear-gradient(135deg, #c77f99, #5d243e) !important;
}

/* V28 /home mobile refinement: tighter cards, safer crop, lower fixed nav */
html,
body,
.member-view {
  overflow-x: hidden !important;
}

.member-view {
  padding-bottom: calc(130px + env(safe-area-inset-bottom, 0px)) !important;
  scroll-behavior: smooth;
}

.member-view .topbar.home-ins-header,
.member-view .home-recommend-card,
.member-view .filter-bar,
.member-view .workspace,
.member-view .profile-panel,
.member-view .profile-list {
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.member-view .topbar.home-ins-header,
.member-view .workspace {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

.member-view .profile-panel,
.member-view .profile-list {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.member-view .home-recommend-card,
.member-view .filter-bar {
  max-width: calc(430px - 32px) !important;
}

.member-view .profile-list {
  gap: 22px !important;
}

.host-row {
  width: 100% !important;
  padding: 12px !important;
  gap: 14px !important;
  border-radius: 26px !important;
  content-visibility: visible !important;
  contain-intrinsic-size: auto !important;
}

.host-collage {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
}

.host-collage::before,
.host-collage::after,
.host-photo-caption,
.photo-corner-badge {
  pointer-events: none !important;
}

.collage-main {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 35% !important;
  transform: translateZ(0);
}

.host-row:hover .collage-main {
  transform: translateZ(0) scale(1.012) !important;
}

.photo-corner-badge {
  font-size: 10px !important;
  padding: 5px 9px !important;
  opacity: 0.72 !important;
}

.host-photo-caption {
  padding: 48px 16px 15px !important;
}

.host-caption-main {
  gap: 7px !important;
  align-items: baseline !important;
}

.host-caption-main h3 {
  font-size: clamp(25px, 7vw, 32px) !important;
  letter-spacing: 0 !important;
  line-height: 1.08 !important;
}

.host-caption-main small {
  font-size: 13px !important;
  color: rgba(239, 227, 220, 0.68) !important;
}

.host-photo-caption p {
  margin-top: 8px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

.host-info {
  padding: 14px 2px 2px !important;
}

.profile-specs,
.profile-specs.compact-specs {
  display: grid !important;
  grid-template-columns: 1.25fr 0.8fr 0.85fr !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
}

.profile-specs span,
.profile-specs.compact-specs span,
.profile-specs .muted-spec {
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 8px 9px !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.host-detail {
  display: none !important;
}

.host-copy {
  margin: 0 2px 16px !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  color: rgba(239, 227, 220, 0.8) !important;
}

.profile-actions {
  display: grid !important;
  grid-template-columns: 0.9fr 1.18fr !important;
  gap: 10px !important;
  position: relative !important;
  z-index: 6 !important;
  pointer-events: auto !important;
}

.host-row .profile-actions .soft,
.host-row .profile-actions .primary {
  min-height: 48px !important;
  border-radius: 18px !important;
  font-size: 14px !important;
  position: relative !important;
  z-index: 7 !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.host-row .profile-actions .soft:not(:disabled) {
  border: 1px solid rgba(226, 178, 143, 0.34) !important;
  color: #ead4c1 !important;
  background: rgba(32, 22, 29, 0.58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.06) !important;
}

.host-row .profile-actions .primary:not(:disabled) {
  border: 0 !important;
  color: #fff7f1 !important;
  background: linear-gradient(135deg, #e0b383, #d985a1 52%, #6d2947) !important;
  box-shadow: 0 13px 24px rgba(199, 127, 153, 0.22), inset 0 1px 0 rgba(255, 247, 241, 0.16) !important;
}

.home-fixed-cta {
  display: none !important;
}

.bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: max(8px, env(safe-area-inset-bottom, 0px)) !important;
  width: min(calc(100% - 24px), 430px) !important;
  max-width: 430px !important;
  min-height: 76px !important;
  height: 76px !important;
  padding: 7px !important;
  border-radius: 24px !important;
  transform: translateX(-50%) translateZ(0);
  overflow: hidden !important;
}

.bottom-nav-row {
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  gap: 2px !important;
}

.bottom-nav button:not(:disabled) {
  min-height: 0 !important;
  height: 100% !important;
  padding: 5px 2px !important;
  border-radius: 18px !important;
  font-size: 10px !important;
  gap: 3px !important;
}

.bottom-nav span {
  font-size: 18px !important;
  line-height: 1 !important;
}

.bottom-nav .center span {
  width: 54px !important;
  height: 54px !important;
  margin-top: 0 !important;
  font-size: 18px !important;
  box-shadow: 0 10px 22px rgba(199, 127, 153, 0.26) !important;
}

.bottom-nav .center:not(:disabled) {
  font-size: 0 !important;
  gap: 0 !important;
}

@media (max-width: 640px) {
  .member-view .topbar.home-ins-header,
  .member-view .workspace {
    width: 100% !important;
    max-width: 430px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .member-view .home-recommend-card,
  .member-view .filter-bar {
    width: calc(100% - 32px) !important;
    max-width: 398px !important;
  }

  .host-row {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .host-collage {
    aspect-ratio: 4 / 3 !important;
  }

  .bottom-nav {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

@media (max-width: 390px) {
  .profile-specs,
  .profile-specs.compact-specs {
    gap: 7px !important;
  }

  .profile-specs span,
  .profile-specs.compact-specs span {
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 11.5px !important;
  }

  .profile-actions {
    gap: 8px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .member-view {
    scroll-behavior: auto;
  }

  .collage-main,
  .host-row:hover .collage-main {
    transition: none !important;
    transform: none !important;
  }
}

/* V29 immersive chat + mobile-safe profile modal */
html.dialog-safe-active,
body.dialog-safe-active {
  overflow: hidden;
}

body.dialog-safe-active::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 8%, rgba(138, 82, 105, 0.24), transparent 18rem),
    radial-gradient(circle at 80% 18%, rgba(196, 142, 96, 0.14), transparent 18rem),
    rgba(10, 7, 10, 0.72);
  backdrop-filter: blur(8px) saturate(0.9);
}

dialog.dialog-safe-open {
  position: fixed !important;
  z-index: 10000 !important;
  display: block !important;
  inset: 0 !important;
  margin: auto !important;
}

dialog.dialog-safe-open:not([open]) {
  display: block !important;
}

.member-view.is-chat-active {
  min-height: 100dvh !important;
  padding: 0 !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 18% 6%, rgba(122, 63, 91, 0.35), transparent 16rem),
    radial-gradient(circle at 88% 16%, rgba(196, 142, 96, 0.15), transparent 18rem),
    linear-gradient(180deg, #161016 0%, #24141d 48%, #0c090d 100%) !important;
}

.member-view.is-chat-active > .ins-sakura-page-petals,
.member-view.is-chat-active .topbar.home-ins-header,
.member-view.is-chat-active #homeRecommendCard,
.member-view.is-chat-active .filter-bar,
.member-view.is-chat-active .profile-panel,
.member-view.is-chat-active .member-center,
.member-view.is-chat-active .empty-state {
  display: none !important;
}

.member-view.is-chat-active ~ .bottom-nav {
  display: none !important;
}

.member-view.is-chat-active .workspace {
  display: block !important;
  width: 100% !important;
  max-width: 430px !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.member-view.is-chat-active .chat-panel {
  display: block !important;
  width: 100% !important;
  min-height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.member-view.is-chat-active .chat-box {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto auto !important;
  width: 100% !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(205, 130, 153, 0.15), transparent 13rem),
    radial-gradient(circle at 92% 12%, rgba(226, 178, 143, 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(38, 27, 36, 0.96), rgba(18, 12, 18, 0.98) 52%, rgba(8, 7, 10, 1)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.06) !important;
  transform: translateZ(0);
}

.member-view.is-chat-active .chat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255, 238, 224, 0.018) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 0%, transparent 62%, rgba(0, 0, 0, 0.34) 100%);
  mix-blend-mode: screen;
}

.chat-sakura-petals {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.chat-sakura-petals span {
  position: absolute;
  top: -18px;
  left: var(--chat-petal-left, 50%);
  width: var(--chat-petal-size, 7px);
  height: calc(var(--chat-petal-size, 7px) * 1.38);
  border-radius: 70% 30% 70% 30%;
  background: rgba(226, 158, 178, var(--chat-petal-alpha, 0.24));
  box-shadow: 0 0 9px rgba(226, 158, 178, 0.12);
  animation: chatPetalFall var(--chat-petal-duration, 18s) linear infinite;
  animation-delay: var(--chat-petal-delay, 0s);
  will-change: transform;
}

.chat-sakura-petals span:nth-child(1) { --chat-petal-left: 8%; --chat-petal-delay: -2s; --chat-petal-duration: 19s; --chat-petal-alpha: 0.22; }
.chat-sakura-petals span:nth-child(2) { --chat-petal-left: 20%; --chat-petal-delay: -9s; --chat-petal-duration: 21s; --chat-petal-size: 5px; --chat-petal-alpha: 0.18; }
.chat-sakura-petals span:nth-child(3) { --chat-petal-left: 34%; --chat-petal-delay: -5s; --chat-petal-duration: 18s; --chat-petal-alpha: 0.28; }
.chat-sakura-petals span:nth-child(4) { --chat-petal-left: 48%; --chat-petal-delay: -13s; --chat-petal-duration: 23s; --chat-petal-size: 6px; --chat-petal-alpha: 0.2; }
.chat-sakura-petals span:nth-child(5) { --chat-petal-left: 62%; --chat-petal-delay: -7s; --chat-petal-duration: 20s; --chat-petal-alpha: 0.26; }
.chat-sakura-petals span:nth-child(6) { --chat-petal-left: 76%; --chat-petal-delay: -15s; --chat-petal-duration: 24s; --chat-petal-size: 5px; --chat-petal-alpha: 0.16; }
.chat-sakura-petals span:nth-child(7) { --chat-petal-left: 88%; --chat-petal-delay: -4s; --chat-petal-duration: 22s; --chat-petal-alpha: 0.21; }
.chat-sakura-petals span:nth-child(8) { --chat-petal-left: 94%; --chat-petal-delay: -11s; --chat-petal-duration: 19s; --chat-petal-size: 6px; --chat-petal-alpha: 0.19; }
.chat-sakura-petals span:nth-child(9) { --chat-petal-left: 14%; --chat-petal-delay: -17s; --chat-petal-duration: 25s; --chat-petal-size: 5px; --chat-petal-alpha: 0.15; }

@keyframes chatPetalFall {
  0% {
    transform: translate3d(0, -24px, 0) rotate(0deg);
  }
  42% {
    transform: translate3d(18px, 42dvh, 0) rotate(108deg);
  }
  100% {
    transform: translate3d(-12px, 104dvh, 0) rotate(245deg);
  }
}

.member-view.is-chat-active .chat-box > *:not(.chat-sakura-petals) {
  position: relative;
  z-index: 1;
}

.member-view.is-chat-active .chat-header {
  min-height: 76px !important;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px !important;
  border-bottom: 1px solid rgba(226, 178, 143, 0.14) !important;
  background: rgba(19, 13, 18, 0.58) !important;
  backdrop-filter: blur(16px) saturate(0.9);
}

.member-view.is-chat-active .chat-person {
  min-width: 0;
  gap: 10px !important;
}

.chat-back-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(226, 178, 143, 0.22);
  border-radius: 50%;
  color: #f0dfd5;
  background: rgba(255, 238, 220, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 246, 236, 0.06);
  font-size: 30px;
  line-height: 1;
}

.member-view.is-chat-active .mini-avatar {
  width: 42px !important;
  height: 42px !important;
}

.member-view.is-chat-active .chat-name {
  color: #f3e5db !important;
  font-size: 18px !important;
}

.member-view.is-chat-active .chat-sub {
  color: rgba(221, 201, 190, 0.62) !important;
}

.member-view.is-chat-active .chat-status-row {
  padding: 10px 16px !important;
  border-bottom: 1px solid rgba(226, 178, 143, 0.1) !important;
  background: rgba(12, 9, 12, 0.34) !important;
}

.member-view.is-chat-active .chat-status-row span {
  color: #e2b28f !important;
}

.member-view.is-chat-active .message-list {
  min-height: 0 !important;
  padding: 18px 16px 20px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transform: translateZ(0);
}

.member-view.is-chat-active .message {
  max-width: min(78%, 320px) !important;
  border-color: rgba(226, 178, 143, 0.16) !important;
  background: rgba(255, 238, 220, 0.08) !important;
  color: rgba(243, 229, 219, 0.9) !important;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22) !important;
}

.member-view.is-chat-active .message.user {
  background: linear-gradient(135deg, rgba(214, 164, 125, 0.92), rgba(199, 127, 153, 0.88) 54%, rgba(93, 36, 62, 0.92)) !important;
  color: #fff8f2 !important;
}

.member-view.is-chat-active .trial-warning,
.member-view.is-chat-active .limit-notice {
  margin: 0 16px 10px !important;
  border-color: rgba(226, 178, 143, 0.2) !important;
  background: rgba(37, 25, 32, 0.82) !important;
  backdrop-filter: blur(14px);
}

.member-view.is-chat-active .composer {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 9px !important;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
  border-top: 1px solid rgba(226, 178, 143, 0.12) !important;
  background: rgba(12, 9, 12, 0.7) !important;
  backdrop-filter: blur(16px) saturate(0.9);
}

.member-view.is-chat-active .composer input {
  min-width: 0 !important;
  border-color: rgba(226, 178, 143, 0.2) !important;
  color: #f3e5db !important;
  background: rgba(255, 238, 220, 0.08) !important;
}

.member-view.is-chat-active .composer input::placeholder {
  color: rgba(221, 201, 190, 0.54) !important;
}

.member-view.is-chat-active .composer .primary {
  min-width: 68px !important;
  border-radius: 18px !important;
  color: #fff7ef !important;
  background: linear-gradient(135deg, #d6a47d, #c77f99 52%, #5d243e) !important;
}

@media (min-width: 431px) {
  .member-view.is-chat-active {
    background:
      radial-gradient(circle at 50% 0%, rgba(122, 63, 91, 0.24), transparent 22rem),
      linear-gradient(180deg, #0d0a0e, #21141c 56%, #0a080b) !important;
  }

  .member-view.is-chat-active .chat-box {
    border-right: 1px solid rgba(226, 178, 143, 0.12) !important;
    border-left: 1px solid rgba(226, 178, 143, 0.12) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-sakura-petals span {
    animation: none !important;
    opacity: 0.16;
  }
}

/* V31 Japanese copy + clean glass chat surface */
.member-view.is-chat-active .chat-box {
  background:
    radial-gradient(circle at 18% 0%, rgba(205, 130, 153, 0.13), transparent 13rem),
    radial-gradient(circle at 92% 12%, rgba(226, 178, 143, 0.1), transparent 16rem),
    linear-gradient(180deg, rgba(41, 29, 38, 0.9), rgba(24, 17, 24, 0.92) 52%, rgba(12, 10, 14, 0.96)) !important;
  backdrop-filter: blur(24px) saturate(1.08) !important;
}

.member-view.is-chat-active .chat-box::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(226, 158, 178, 0.08), transparent 12rem),
    radial-gradient(circle at 84% 82%, rgba(201, 163, 106, 0.06), transparent 13rem),
    radial-gradient(ellipse at center, transparent 0%, transparent 68%, rgba(0, 0, 0, 0.22) 100%) !important;
  mix-blend-mode: normal !important;
}

.member-view.is-chat-active .chat-status-row {
  background: rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(14px) saturate(1.04);
}

.member-view.is-chat-active .chat-status-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.support-icon-button {
  display: inline-grid !important;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(242, 197, 162, 0.28) !important;
  border-radius: 999px;
  color: #ffe7d9 !important;
  text-decoration: none !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(217, 92, 147, 0.18)) !important;
  box-shadow: 0 10px 24px rgba(16, 10, 15, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font-size: 15px;
  line-height: 1;
}

.support-icon-button:hover,
.support-icon-button:focus-visible {
  border-color: rgba(242, 197, 162, 0.48) !important;
  box-shadow: 0 12px 28px rgba(217, 92, 147, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* V30 fixed profile signatures + romantic glass chat */
.host-copy.profile-signature {
  position: relative !important;
  margin: 0 2px 16px !important;
  padding: 13px 14px 13px 17px !important;
  border: 1px solid rgba(226, 178, 143, 0.18) !important;
  border-radius: 18px !important;
  color: rgba(255, 242, 233, 0.88) !important;
  background:
    linear-gradient(135deg, rgba(255, 238, 220, 0.08), rgba(216, 133, 161, 0.08)),
    rgba(16, 11, 15, 0.26) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 236, 0.07),
    0 12px 24px rgba(0, 0, 0, 0.16) !important;
  font-size: 14.5px !important;
  line-height: 1.72 !important;
  letter-spacing: 0.01em !important;
}

.host-copy.profile-signature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 99px;
  background: linear-gradient(180deg, rgba(226, 178, 143, 0.75), rgba(216, 133, 161, 0.72));
  box-shadow: 0 0 12px rgba(216, 133, 161, 0.24);
}

.member-view.is-chat-active {
  background:
    radial-gradient(circle at 18% 5%, rgba(224, 153, 176, 0.2), transparent 15rem),
    radial-gradient(circle at 82% 14%, rgba(226, 178, 143, 0.16), transparent 17rem),
    radial-gradient(circle at 50% 70%, rgba(122, 63, 91, 0.28), transparent 22rem),
    linear-gradient(180deg, #120d12 0%, #241720 46%, #0b090d 100%) !important;
}

.member-view.is-chat-active .chat-panel {
  background:
    radial-gradient(circle at 18% 8%, rgba(226, 158, 178, 0.16), transparent 14rem),
    radial-gradient(circle at 80% 0%, rgba(226, 178, 143, 0.12), transparent 16rem),
    linear-gradient(180deg, rgba(37, 24, 34, 0.82), rgba(13, 10, 15, 0.94)) !important;
}

.member-view.is-chat-active .chat-box {
  border: 1px solid rgba(255, 232, 218, 0.16) !important;
  background:
    linear-gradient(145deg, rgba(255, 244, 236, 0.13), rgba(226, 158, 178, 0.07) 38%, rgba(23, 15, 23, 0.58)),
    rgba(25, 17, 24, 0.48) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 244, 0.12),
    inset 0 0 42px rgba(226, 158, 178, 0.045),
    0 24px 70px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(24px) saturate(1.08);
  -webkit-backdrop-filter: blur(24px) saturate(1.08);
}

.member-view.is-chat-active .chat-box::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 238, 224, 0.022) 0 1px, transparent 1px 3px),
    radial-gradient(circle at 18% 20%, rgba(226, 158, 178, 0.12), transparent 10rem),
    radial-gradient(ellipse at center, transparent 0%, transparent 64%, rgba(0, 0, 0, 0.24) 100%) !important;
  mix-blend-mode: screen;
}

.member-view.is-chat-active .chat-header,
.member-view.is-chat-active .chat-status-row,
.member-view.is-chat-active .composer {
  background:
    linear-gradient(135deg, rgba(255, 244, 236, 0.12), rgba(226, 158, 178, 0.055)),
    rgba(19, 13, 18, 0.46) !important;
  backdrop-filter: blur(20px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.05) !important;
}

.member-view.is-chat-active .message {
  background:
    linear-gradient(145deg, rgba(255, 244, 236, 0.14), rgba(226, 158, 178, 0.07)),
    rgba(28, 18, 26, 0.42) !important;
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

.member-view.is-chat-active .trial-warning,
.member-view.is-chat-active .limit-notice,
.member-view.is-chat-active .composer input {
  background:
    linear-gradient(135deg, rgba(255, 244, 236, 0.12), rgba(226, 158, 178, 0.06)),
    rgba(23, 15, 22, 0.52) !important;
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
}

.member-view.is-chat-active .chat-sakura-petals span {
  background: rgba(236, 174, 190, var(--chat-petal-alpha, 0.26));
  box-shadow:
    0 0 10px rgba(236, 174, 190, 0.16),
    0 0 24px rgba(226, 178, 143, 0.08);
}

/* V31 final override: remove chat texture lines after all legacy overrides */
.member-view.is-chat-active .chat-box::before {
  background:
    radial-gradient(circle at 16% 18%, rgba(226, 158, 178, 0.08), transparent 12rem),
    radial-gradient(circle at 84% 82%, rgba(201, 163, 106, 0.06), transparent 13rem),
    radial-gradient(ellipse at center, transparent 0%, transparent 68%, rgba(0, 0, 0, 0.22) 100%) !important;
  mix-blend-mode: normal !important;
}

.member-view.is-chat-active .chat-box {
  backdrop-filter: blur(24px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.08) !important;
}

/* V32 virtual traffic allocation page */
.traffic-panel {
  width: min(calc(100% - 32px), 430px);
  margin: 22px auto 112px;
  color: #f9ebdf;
  scroll-margin-top: 18px;
}

.traffic-shell {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  border: 1px solid rgba(236, 196, 156, 0.2);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(31, 23, 28, 0.82), rgba(16, 12, 17, 0.94)),
    #151015;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 243, 233, 0.1);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
}

.traffic-shell::before {
  content: "";
  position: absolute;
  inset: 142px 0 92px;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(22, 16, 20, 0.1), rgba(18, 13, 18, 0.74)),
    url("./assets/profiles/profile-06.jpg") center top / cover no-repeat;
  filter: brightness(0.84) contrast(1.02) saturate(0.86);
}

.traffic-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 24% 18%, rgba(226, 158, 178, 0.13), transparent 12rem),
    radial-gradient(circle at 86% 12%, rgba(236, 196, 156, 0.11), transparent 11rem),
    radial-gradient(ellipse at center, transparent 0%, transparent 60%, rgba(0, 0, 0, 0.42) 100%);
}

.traffic-shell > * {
  position: relative;
  z-index: 1;
}

.traffic-topbar,
.traffic-code-row,
.traffic-channel-strip,
.traffic-control,
.traffic-submitbar {
  background: rgba(20, 15, 20, 0.72);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
}

.traffic-topbar {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 15px 14px 13px;
  border-bottom: 1px solid rgba(236, 196, 156, 0.2);
}

.traffic-back {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #f8e8da;
  background: rgba(255, 255, 255, 0.08);
  font-size: 30px;
  line-height: 1;
}

.traffic-topbar h2 {
  margin: 0;
  text-align: center;
  color: #f1d6be;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

#trafficCountdown {
  color: #ff3c5f;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.traffic-code-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 12px;
  border-bottom: 1px solid rgba(236, 196, 156, 0.28);
}

.traffic-mini-photo {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: url("./assets/profiles/profile-02.jpg") center top / cover no-repeat;
}

.traffic-code-row strong {
  color: #fff8f0;
  font-size: 20px;
  letter-spacing: 0.02em;
}

.traffic-code-row span {
  color: #ff3c5f;
  font-size: 13px;
  font-weight: 800;
}

.traffic-channel-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(236, 196, 156, 0.16);
}

.traffic-tab-thumbs {
  display: flex;
  align-items: center;
  gap: 7px;
}

.traffic-tab-thumbs span {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(236, 196, 156, 0.22);
  border-radius: 4px;
  background: url("./assets/profiles/profile-29.jpg") center top / cover no-repeat;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.traffic-tab-thumbs span:nth-child(2) {
  background-image: url("./assets/profiles/profile-02.jpg");
}

.traffic-tab-thumbs span:nth-child(3) {
  background-image: url("./assets/profiles/profile-19.jpg");
}

.traffic-tab-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.traffic-channel-strip span,
.traffic-tab-label {
  color: rgba(249, 235, 223, 0.62);
  font-size: 13px;
}

.traffic-channel-strip strong,
.traffic-tab-label strong {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.traffic-channel-strip button {
  border: 0;
  color: #ff4c70;
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
}

.traffic-stage {
  position: relative;
  display: grid;
  min-height: 430px;
  padding: 86px 58px 44px;
}

.traffic-stage-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.traffic-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  align-self: start;
}

.traffic-channel-grid button {
  display: grid;
  place-items: center;
  min-height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ff244d;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), 0 14px 32px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.traffic-channel-grid button.active {
  color: #fff;
  background: linear-gradient(145deg, #ff244d, #e53561);
  box-shadow: 0 18px 42px rgba(255, 36, 77, 0.32);
}

.traffic-channel-grid button:active {
  transform: scale(0.985);
}

.traffic-social {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.traffic-social.fb { background: #1769ff; }
.traffic-social.tk { background: #0b0b0d; }
.traffic-social.ig { background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7); }
.traffic-social.yt { background: #ff001f; font-size: 20px; }

.traffic-channel-grid strong {
  margin-top: 8px;
  font-size: 20px;
}

.traffic-toast {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 3;
  min-width: 160px;
  padding: 18px 22px;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  background: rgba(18, 14, 17, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.traffic-toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.traffic-control {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid rgba(236, 196, 156, 0.18);
}

.traffic-control label {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  color: #f3e0d3;
  font-size: 15px;
}

.traffic-control label strong,
.traffic-control p strong {
  color: #ff3159;
}

.traffic-control label span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff4ea;
}

.traffic-control input {
  width: min(210px, 46vw);
  border: 1px solid rgba(236, 196, 156, 0.16);
  border-radius: 0;
  padding: 11px 12px;
  color: #ff3159;
  background: rgba(255, 255, 255, 0.12);
  font-size: 16px;
  font-weight: 800;
}

.traffic-control p {
  margin: 0;
  color: rgba(249, 235, 223, 0.76);
  font-size: 14px;
}

.traffic-submitbar {
  display: grid;
  grid-template-columns: 82px 1fr 96px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  border-top: 1px solid rgba(236, 196, 156, 0.2);
}

.traffic-list-button {
  display: grid;
  gap: 2px;
  border: 0;
  color: rgba(249, 235, 223, 0.72);
  background: transparent;
  font-size: 12px;
}

.traffic-list-button::before {
  content: "□";
  font-size: 24px;
  line-height: 1;
}

.traffic-submitbar p {
  margin: 0;
  color: #fff8ef;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}

.traffic-submitbar p strong {
  color: #ff3159;
}

.traffic-submit {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #b55f97, #f0c49c);
  box-shadow: 0 10px 24px rgba(190, 112, 152, 0.3);
  font-size: 20px;
  font-weight: 900;
}

.traffic-submit:disabled {
  opacity: 0.45;
}

.traffic-task-modal form,
.traffic-record-modal form {
  min-height: 450px;
  max-width: 390px;
  background: rgba(29, 23, 28, 0.96);
}

.traffic-task-list,
.traffic-record-list {
  display: grid;
  gap: 12px;
  min-height: 190px;
  margin: 16px 0 28px;
  border-top: 1px solid rgba(236, 196, 156, 0.28);
  border-bottom: 1px solid rgba(236, 196, 156, 0.18);
  padding: 16px 0;
}

.traffic-task-empty {
  margin: 0;
  color: rgba(249, 235, 223, 0.58);
}

.traffic-task-item {
  display: grid;
  grid-template-columns: 58px 1fr 32px;
  gap: 10px;
  align-items: center;
}

.traffic-task-item strong {
  color: #ff3159;
  font-size: 20px;
}

.traffic-task-item span {
  color: rgba(249, 235, 223, 0.8);
}

.traffic-task-item button {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255, 49, 89, 0.58);
  border-radius: 50%;
  color: #ff3159;
  background: rgba(255, 49, 89, 0.08);
  font-size: 18px;
  line-height: 1;
}

.traffic-record-item {
  display: grid;
  gap: 6px;
  border-bottom: 1px solid rgba(236, 196, 156, 0.14);
  padding: 0 0 12px;
  color: rgba(249, 235, 223, 0.78);
  text-align: left;
}

.traffic-record-item div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.traffic-record-item strong {
  color: #ff3159;
  font-size: 20px;
}

.traffic-record-item span {
  color: #f0c49c;
  font-size: 13px;
}

.traffic-record-item p {
  margin: 0;
  color: rgba(249, 235, 223, 0.68);
  font-size: 13px;
}

.traffic-task-actions {
  grid-template-columns: 1fr 1fr;
}

.traffic-success-modal form {
  max-width: 360px;
  overflow: hidden;
  border: 1px solid rgba(236, 196, 156, 0.22);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 49, 89, 0.18), transparent 12rem),
    linear-gradient(180deg, rgba(31, 24, 30, 0.98), rgba(18, 14, 18, 0.98));
  text-align: center;
}

.traffic-success-icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 6px auto 14px;
  place-items: center;
  border: 1px solid rgba(236, 196, 156, 0.36);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ff244d, #b55f97 52%, #f0c49c);
  box-shadow: 0 16px 40px rgba(255, 36, 77, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 34px;
  font-weight: 900;
}

.traffic-success-modal h2 {
  margin-top: 0;
  color: #fff8ef;
  font-size: 26px;
  letter-spacing: 0.08em;
}

.traffic-success-modal p {
  color: rgba(249, 235, 223, 0.76);
  line-height: 1.7;
}

.traffic-success-summary {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  border-top: 1px solid rgba(236, 196, 156, 0.2);
  border-bottom: 1px solid rgba(236, 196, 156, 0.14);
  padding: 14px 0;
  text-align: left;
}

.traffic-success-summary span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(249, 235, 223, 0.68);
  font-size: 14px;
}

.traffic-success-summary strong {
  color: #ff3159;
  font-size: 16px;
}

.bottom-nav .center[data-nav-target="trafficPanel"]:not(:disabled) {
  font-size: 10px !important;
  gap: 2px !important;
}

@media (max-width: 420px) {
  .traffic-panel {
    width: 100%;
    margin-top: 18px;
    padding: 0 8px;
  }

  .traffic-shell {
    border-radius: 22px;
  }

  .traffic-stage {
    min-height: 420px;
    padding: 86px 52px 40px;
  }

  .traffic-channel-grid button {
    min-height: 148px;
  }

  .traffic-submitbar {
    grid-template-columns: 72px 1fr 88px;
  }
}

/* V31 strict profile photo focus: folder-order images, no face/body mismatch */
.host-collage {
  aspect-ratio: 4 / 5 !important;
  min-height: 0 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(226, 178, 143, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(52, 36, 45, 0.92), rgba(18, 12, 17, 0.96) 58%, rgba(50, 29, 34, 0.92)) !important;
}

.collage-main {
  object-fit: contain !important;
  object-position: center center !important;
  background: rgba(14, 10, 14, 0.64) !important;
  filter: brightness(0.9) contrast(1.04) saturate(0.92) sepia(0.03) !important;
}

.host-row:hover .collage-main {
  transform: translateZ(0) scale(1.004) !important;
}

.host-row {
  scroll-margin-bottom: 112px !important;
}

.profile-modal-photo {
  background:
    radial-gradient(circle at 50% 12%, rgba(226, 178, 143, 0.15), transparent 46%),
    linear-gradient(145deg, rgba(49, 34, 43, 0.96), rgba(14, 10, 14, 0.98)) !important;
}

.profile-modal-img {
  object-fit: contain !important;
  object-position: center center !important;
  background: rgba(14, 10, 14, 0.68) !important;
}

/* V32 profile page mood polish: cleaner title, no redundant fixed CTA, reliable bottom actions */
.member-view .profile-mood-title,
.member-view .home-ins-brand h1.profile-mood-title {
  position: relative;
  z-index: 1;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 10px !important;
  color: transparent !important;
  background: linear-gradient(92deg, #fff3dc 0%, #d8a86f 48%, #fff0d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(22px, 6.1vw, 26px) !important;
  font-weight: 650 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.32 !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 16px rgba(255, 210, 160, 0.28));
}

.member-view .profile-mood-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 12%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 225, 187, 0.46), rgba(216, 168, 111, 0));
  opacity: 0.72;
}

.member-view .topbar.home-ins-header {
  overflow: hidden !important;
  isolation: isolate;
}

.member-view .topbar.home-ins-header::before {
  pointer-events: none;
}

.member-view .home-ins-brand {
  min-width: 0;
}

.member-view .home-ins-brand .adult-notice {
  max-width: 32em;
  line-height: 1.7 !important;
}

/* V31: keep a clear exit path from the profile page back to the landing login screen. */
.member-view .topbar.home-ins-header {
  overflow: visible !important;
}

.member-view .topbar.home-ins-header .top-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  position: relative !important;
  z-index: 8 !important;
}

.member-view .topbar.home-ins-header .top-actions #logoutButton {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-color: rgba(232, 169, 184, 0.34) !important;
  color: #fff3e2 !important;
  background: linear-gradient(135deg, rgba(80, 45, 60, 0.74), rgba(38, 24, 32, 0.78)) !important;
}

@media (max-width: 640px) {
  .member-view .topbar.home-ins-header {
    padding-right: 16px !important;
  }

  .member-view .topbar.home-ins-header .top-actions {
    width: 100% !important;
    max-width: none !important;
    justify-content: flex-start !important;
  }

  .member-view .topbar.home-ins-header .top-actions button:not(:disabled) {
    width: auto !important;
    min-width: 82px !important;
    max-width: none !important;
    min-height: 38px !important;
    padding: 8px 13px !important;
    white-space: nowrap !important;
  }
}

.photo-corner-badge,
.home-fixed-cta {
  display: none !important;
}

.bottom-nav {
  width: min(calc(100% - 20px), 430px) !important;
  min-height: 78px !important;
  border: 1px solid rgba(226, 178, 143, 0.18) !important;
  border-radius: 24px 24px 0 0 !important;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
  background: rgba(22, 15, 20, 0.78) !important;
  backdrop-filter: blur(18px) saturate(1.08) !important;
}

.bottom-nav-row {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  width: 100% !important;
  min-height: 62px !important;
  border-radius: 18px !important;
}

.bottom-nav button:not(:disabled) {
  min-width: 0 !important;
  min-height: 56px !important;
  border-radius: 16px !important;
}

.bottom-nav span {
  font-size: 19px !important;
}

.bottom-nav .center span {
  width: 44px !important;
  height: 44px !important;
  margin-top: -16px !important;
  font-size: 16px !important;
}

.profile-modal-actions {
  position: sticky !important;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  z-index: 4;
  display: grid !important;
  grid-template-columns: 0.95fr 1.15fr !important;
  gap: 10px !important;
  margin: 20px 0 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(226, 178, 143, 0.2) !important;
  border-radius: 24px !important;
  background: rgba(18, 12, 17, 0.76) !important;
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 238, 220, 0.08) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
}

/* V32: real bottom navigation entries and standalone member pages. */
.member-subpage {
  width: min(100% - 32px, 430px) !important;
  margin: 18px auto calc(112px + env(safe-area-inset-bottom, 0px)) !important;
}

.member-subpage.hidden {
  display: none !important;
}

.private-message-list {
  display: grid;
  gap: 14px;
}

.private-message-empty,
.private-message-item {
  border: 1px solid rgba(226, 178, 143, 0.2);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(38, 25, 33, 0.82), rgba(18, 12, 18, 0.82));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 238, 220, 0.08);
  backdrop-filter: blur(16px) saturate(1.08);
}

.private-message-empty {
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 22px;
}

.private-message-empty span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #f3dfc4;
  background: rgba(226, 178, 143, 0.12);
}

.private-message-empty strong,
.private-message-item strong {
  color: #f4e4d4;
}

.private-message-empty p,
.private-message-item p,
.private-message-item span {
  margin: 0;
  color: rgba(239, 227, 220, 0.68);
  line-height: 1.65;
}

.private-message-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.private-message-item img {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 35%;
  border: 1px solid rgba(226, 178, 143, 0.24);
}

.private-message-item small {
  color: rgba(239, 227, 220, 0.58);
  font-size: 12px;
}

.bottom-nav-row {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 4px !important;
}

.bottom-nav button:not(:disabled) {
  min-height: 56px !important;
  gap: 3px !important;
  font-size: 10px !important;
}

.bottom-nav button[data-nav-action="support"]:not(:disabled) {
  border: 1px solid rgba(226, 178, 143, 0.16) !important;
  background: rgba(255, 238, 220, 0.04) !important;
}

.bottom-nav .center span {
  width: 44px !important;
  height: 44px !important;
  margin-top: -10px !important;
}

.member-view.is-chat-active .member-subpage {
  display: none !important;
}

.profile-modal-actions button {
  min-height: 50px !important;
  border-radius: 18px !important;
  letter-spacing: 0.04em !important;
}

.profile-modal-actions .soft:not(:disabled) {
  border: 1px solid rgba(226, 178, 143, 0.26) !important;
  color: #e7c19c !important;
  background: rgba(255, 238, 220, 0.06) !important;
}

.profile-modal-actions .primary:not(:disabled) {
  color: #fff8ef !important;
  background: linear-gradient(135deg, #d6a47d, #c77f99 52%, #5d243e) !important;
  box-shadow: 0 14px 30px rgba(199, 127, 153, 0.24) !important;
}

.operator-list,
.support-telegram-list {
  display: grid;
  gap: 12px;
}

.operator-card,
.support-telegram-item {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(226, 178, 143, 0.2);
  border-radius: 18px;
  padding: 14px;
  color: rgba(246, 232, 220, 0.9);
  background:
    radial-gradient(circle at 12% 0%, rgba(205, 130, 153, 0.12), transparent 9rem),
    rgba(255, 238, 220, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.06);
}

.operator-card.disabled {
  opacity: 0.52;
}

.operator-card h3,
.support-telegram-item strong {
  margin: 2px 0 4px;
  color: #f5dfc8;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.operator-card p,
.support-telegram-item span {
  margin: 0;
  color: rgba(221, 201, 190, 0.66);
  font-size: 12px;
}

.operator-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.operator-card dl div {
  display: grid;
  gap: 3px;
  border: 1px solid rgba(226, 178, 143, 0.12);
  border-radius: 12px;
  padding: 8px;
  background: rgba(15, 10, 14, 0.28);
}

.operator-card dt {
  color: rgba(221, 201, 190, 0.54);
  font-size: 11px;
}

.operator-card dd {
  margin: 0;
  color: #edc7a4;
  font-size: 14px;
  font-weight: 700;
}

.support-telegram-item {
  grid-template-columns: 1fr auto auto;
  align-items: center;
  padding: 12px;
}

.support-telegram-item button {
  min-height: 34px;
  border: 1px solid rgba(226, 178, 143, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  color: #edc7a4;
  background: rgba(255, 238, 220, 0.06);
  font-size: 12px;
}

@media (max-width: 420px) {
  .support-telegram-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .member-view .profile-mood-title,
  .member-view .home-ins-brand h1.profile-mood-title {
    font-size: 23px !important;
    letter-spacing: 0.06em !important;
  }

  .profile-modal-actions {
    grid-template-columns: 1fr 1.15fr !important;
  }
}

/* V33: five real member pages - women, reservation, traffic, messages, account. */
.appointment-page,
.account-page {
  color: #f6e5d2;
}

.appointment-page-content,
.account-page {
  display: grid;
  gap: 14px;
}

.appointment-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.appointment-profile-card {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(229, 190, 160, 0.22);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(38, 26, 30, 0.82), rgba(20, 15, 20, 0.92));
  color: #f5e6d6;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
}

.appointment-profile-card.active {
  border-color: rgba(242, 197, 162, 0.72);
  box-shadow: 0 0 0 1px rgba(216, 117, 151, 0.18), 0 16px 36px rgba(216, 117, 151, 0.18);
}

.appointment-profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 15px;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.92) contrast(1.04) saturate(0.94);
}

.appointment-profile-card span {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.appointment-profile-card small {
  color: rgba(239, 225, 214, 0.62);
  font-size: 11px;
}

.appointment-selected-card,
.appointment-date-card,
.appointment-history-card,
.appointment-empty,
.account-card,
.wallet-card,
.account-menu-grid,
.account-action-panel {
  border: 1px solid rgba(229, 190, 160, 0.32);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(43, 34, 34, 0.86), rgba(22, 18, 20, 0.94)),
    radial-gradient(circle at 20% 0%, rgba(224, 160, 136, 0.16), transparent 45%);
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.08), 0 18px 44px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px) saturate(1.02);
}

.appointment-selected-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.appointment-selected-card img {
  width: 104px;
  height: 128px;
  border-radius: 18px;
  object-fit: cover;
  object-position: center 35%;
}

.appointment-selected-card h3,
.wallet-card h2,
.account-action-panel strong {
  margin: 0;
  color: #f6e5d2;
}

.appointment-selected-card p,
.appointment-date-card p,
.appointment-history-card,
.account-action-panel p {
  color: rgba(239, 225, 214, 0.68);
  line-height: 1.65;
}

.appointment-date-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.appointment-date-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(239, 225, 214, 0.68);
}

.appointment-date-card label {
  display: grid;
  gap: 7px;
  color: rgba(246, 229, 210, 0.84);
}

.appointment-date-card input,
.appointment-date-card textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(229, 190, 160, 0.22);
  border-radius: 16px;
  background: rgba(12, 10, 12, 0.34);
  color: #f8e8d8;
  padding: 11px 13px;
}

.appointment-history-card,
.appointment-empty,
.account-action-panel {
  padding: 18px;
}

.appointment-history-card ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.appointment-history-card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(229, 190, 160, 0.16);
}

.account-page {
  position: relative;
  padding-top: 0;
}

.account-page.is-subpage {
  padding-top: 0;
}

.account-page.is-subpage .account-overview-section {
  display: none;
}

.account-action-panel.hidden {
  display: none !important;
}

.account-page.is-subpage .account-action-panel {
  display: block;
  min-height: calc(100svh - 110px);
  margin: 0;
  border-radius: 0 0 24px 24px;
}

.account-card {
  position: relative;
  min-height: 172px;
  padding: 34px 20px 18px;
}

.account-topbar {
  position: sticky;
  top: calc(8px + env(safe-area-inset-top, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 2px 4px;
  pointer-events: none;
}

.account-topbar > div {
  display: grid;
  gap: 4px;
}

.account-topbar span {
  color: rgba(242, 197, 162, 0.62);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.account-topbar h2 {
  margin: 0;
  color: #f6e5d2;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.account-gear {
  position: static;
  flex: 0 0 auto;
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(246, 207, 188, 0.34);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 226, 208, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(196, 84, 132, 0.78), rgba(82, 43, 54, 0.92));
  color: #f7e5d2;
  font-size: 23px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 0 22px rgba(220, 128, 160, 0.22);
}

.account-gear:active {
  transform: scale(0.96);
}

.account-identity {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
}

.account-identity strong {
  color: #f8eadb;
  font-weight: 500;
}

.account-identity span {
  color: #f6e0c6;
  font-weight: 800;
}

.withdraw-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  margin-top: 42px;
  border: 1px solid rgba(239, 210, 190, 0.72);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
  color: #f3dfca;
  font-size: 20px;
}

.wallet-card {
  padding: 22px 18px;
}

.wallet-line {
  height: 1px;
  margin: 18px 0;
  background: rgba(246, 225, 206, 0.72);
}

.wallet-metric {
  display: grid;
  grid-template-columns: 1fr auto 42px;
  align-items: center;
  gap: 12px;
  min-height: 86px;
}

.wallet-metric strong {
  color: #f3d7bd;
  font-size: 34px;
  letter-spacing: 0.02em;
}

.wallet-metric span {
  color: rgba(246, 229, 210, 0.82);
  font-size: 17px;
}

.wallet-metric button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1c49f, #c58d7f);
  color: #fff7ee;
  font-size: 20px;
}

.account-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.account-menu-grid button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid rgba(239, 220, 205, 0.26);
  border-bottom: 1px solid rgba(239, 220, 205, 0.26);
  background: transparent;
  color: #f2dcc8;
  font-size: 17px;
  text-align: left;
}

.account-menu-grid button span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(239, 220, 205, 0.35);
  border-radius: 999px;
  color: rgba(246, 229, 210, 0.82);
}

.account-action-panel .legal-links {
  margin-top: 14px;
}

.account-subpage-header {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 58px;
  margin: -18px -18px 16px;
  border-bottom: 1px solid rgba(242, 222, 205, 0.18);
  background: rgba(12, 10, 12, 0.28);
}

.account-subpage-header button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #f4dfca;
  font-size: 34px;
}

.account-subpage-header h2 {
  margin: 0;
  color: #f2dcc8;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
}

.finance-hero {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: -18px -18px 0;
  padding: 26px 16px 34px;
  background: linear-gradient(120deg, rgba(126, 72, 116, 0.78), rgba(243, 198, 149, 0.78));
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.finance-hero strong {
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 34px;
  font-weight: 400;
}

.finance-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.finance-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(36, 36, 34, 0.86);
}

.finance-metric-grid div {
  min-height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
}

.finance-metric-grid strong {
  color: #f13d64;
  font-size: 22px;
  font-weight: 400;
}

.finance-metric-grid span {
  color: rgba(240, 226, 214, 0.68);
}

.history-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -16px -18px 26px;
  background: rgba(38, 37, 36, 0.82);
}

.history-tabs span {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-bottom: 2px solid transparent;
  color: rgba(240, 226, 214, 0.38);
  font-size: 20px;
  font-weight: 600;
}

.history-tabs .active {
  border-bottom-color: #f1d3bd;
  color: #f1d3bd;
}

.empty-ledger {
  display: grid;
  justify-items: center;
  gap: 18px;
  min-height: 360px;
  align-content: start;
  padding-top: 42px;
}

.empty-ledger-icon {
  display: grid;
  place-items: center;
  width: 160px;
  height: 130px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 86px;
  text-shadow: 0 18px 24px rgba(255, 255, 255, 0.18);
}

.empty-ledger p {
  color: rgba(240, 226, 214, 0.58);
  font-size: 20px;
}

.ledger-list {
  display: grid;
  gap: 10px;
}

.ledger-list article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px;
  border: 1px solid rgba(242, 222, 205, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.ledger-list article span {
  color: rgba(240, 226, 214, 0.52);
  font-size: 12px;
}

.ledger-list article b {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  color: #f4c4a4;
}

.bank-card-consult,
.bank-card-form,
.profile-center-list,
.profile-basic-form,
.settings-panel,
.settings-section {
  display: grid;
  gap: 14px;
}

.bank-linked-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(242, 222, 205, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.bank-card-form label,
.profile-basic-form label {
  display: grid;
  gap: 7px;
  color: #f3dfca;
}

.bank-card-form input,
.profile-basic-form input,
.profile-basic-form select {
  min-height: 46px;
  border: 1px solid rgba(242, 222, 205, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  color: #f7e5d2;
  padding: 10px 12px;
}

.profile-basic-form select {
  appearance: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    linear-gradient(45deg, transparent 50%, rgba(247, 229, 210, 0.72) 50%) right 15px center / 8px 8px no-repeat;
}

.security-note {
  padding: 14px;
  border: 1px solid rgba(242, 197, 162, 0.2);
  border-radius: 16px;
  background: rgba(140, 91, 82, 0.16);
}

.profile-center-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid rgba(242, 222, 205, 0.45);
  background: transparent;
  color: #f5e5d6;
  font-size: 19px;
  text-align: left;
}

.profile-center-list strong {
  color: rgba(240, 226, 214, 0.58);
  font-weight: 600;
}

.profile-bank-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border: 1px solid rgba(242, 222, 205, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #f5e5d6;
  padding: 0 14px;
  text-align: left;
}

.profile-bank-link strong {
  color: rgba(240, 226, 214, 0.62);
  font-weight: 600;
}

.settings-panel {
  gap: 16px;
}

.settings-section {
  padding: 15px;
  border: 1px solid rgba(242, 197, 162, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(216, 117, 151, 0.11), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 238, 220, 0.06);
}

.settings-section-title {
  display: grid;
  gap: 4px;
}

.settings-section-title span {
  color: rgba(216, 117, 151, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.settings-section-title strong {
  color: #f6e5d2;
  font-size: 16px;
}

.settings-profile-card,
.settings-switch,
.settings-select,
.settings-row-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  border: 1px solid rgba(242, 222, 205, 0.16);
  border-radius: 16px;
  background: rgba(10, 7, 10, 0.22);
  color: #f5e5d6;
  padding: 12px 13px;
}

.settings-profile-card > div,
.settings-switch span {
  display: grid;
  gap: 4px;
}

.settings-profile-card strong,
.settings-row-button span {
  color: #f7e7d8;
}

.settings-profile-card span,
.settings-profile-card small,
.settings-switch small {
  color: rgba(240, 226, 214, 0.58);
}

.settings-profile-card button,
.settings-row-button {
  border: 1px solid rgba(242, 197, 162, 0.22);
}

.settings-profile-card button {
  min-width: 64px;
  min-height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #f2dcc8;
}

.settings-switch input {
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(242, 222, 205, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.settings-switch input::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 2px;
  border-radius: 999px;
  background: rgba(246, 229, 210, 0.78);
  transition: transform 0.2s ease, background 0.2s ease;
}

.settings-switch input:checked {
  border-color: rgba(216, 117, 151, 0.54);
  background: linear-gradient(135deg, rgba(216, 117, 151, 0.74), rgba(242, 197, 162, 0.5));
}

.settings-switch input:checked::before {
  transform: translateX(18px);
  background: #fff7ee;
}

.settings-select {
  display: grid;
  align-items: stretch;
  color: rgba(240, 226, 214, 0.72);
}

.settings-select select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(242, 222, 205, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #f7e5d2;
  padding: 10px 12px;
}

.settings-row-button {
  width: 100%;
  border-color: rgba(242, 222, 205, 0.16);
  background: rgba(255, 255, 255, 0.035);
}

.settings-row-button strong {
  color: rgba(242, 197, 162, 0.82);
  font-size: 22px;
}

.settings-logout {
  min-height: 50px;
  border: 1px solid rgba(255, 116, 143, 0.28);
  border-radius: 16px;
  background: rgba(120, 30, 48, 0.18);
  color: #ffd6dc;
  font-weight: 700;
}

.wallet-admin-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  margin: 10px 0;
}

.wallet-admin-row label {
  display: grid;
  gap: 5px;
  color: rgba(240, 226, 214, 0.72);
  font-size: 12px;
}

.wallet-admin-row input {
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(242, 222, 205, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #f5e5d6;
  padding: 8px;
}

@media (max-width: 380px) {
  .bottom-nav button:not(:disabled) {
    font-size: 9px !important;
  }

  .appointment-selected-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .appointment-selected-card img {
    width: 92px;
    height: 116px;
  }

  .account-menu-grid button {
    font-size: 15px;
    padding-inline: 12px;
  }
}

/* V34: logged-in home polish - logo header, dimensional title, clearer nav. */
.member-view .topbar.home-ins-header {
  border: 1px solid rgba(226, 178, 143, 0.16) !important;
  border-radius: 0 0 28px 28px !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(232, 169, 184, 0.13), transparent 30%),
    radial-gradient(circle at 84% 4%, rgba(201, 163, 106, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(24, 13, 22, 0.94), rgba(17, 10, 17, 0.82)) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 231, 198, 0.08), 0 18px 42px rgba(0, 0, 0, 0.22) !important;
}

.member-view .home-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  max-width: 100%;
}

.member-view .home-brand-line img {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  padding: 5px;
  object-fit: contain;
  background: linear-gradient(145deg, rgba(255, 236, 214, 0.14), rgba(89, 33, 57, 0.44));
  border: 1px solid rgba(232, 169, 184, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 240, 218, 0.16), 0 0 20px rgba(217, 92, 147, 0.18);
}

.member-view .home-brand-line .eyebrow {
  margin: 0 !important;
  color: #eac9a3 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.18em !important;
  text-shadow: 0 1px 0 rgba(61, 31, 22, 0.58), 0 0 14px rgba(232, 169, 184, 0.22);
}

.member-view .profile-mood-title,
.member-view .home-ins-brand h1.profile-mood-title {
  margin: 6px 0 12px !important;
  background: linear-gradient(180deg, #fff8e9 0%, #f5d3a2 42%, #bd8755 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-size: clamp(31px, 8.6vw, 39px) !important;
  font-weight: 850 !important;
  letter-spacing: 0.045em !important;
  line-height: 1.14 !important;
  -webkit-text-stroke: 0.45px rgba(80, 38, 32, 0.46);
  filter:
    drop-shadow(0 2px 0 rgba(63, 35, 29, 0.72))
    drop-shadow(0 12px 24px rgba(217, 92, 147, 0.22))
    drop-shadow(0 0 18px rgba(255, 211, 158, 0.18)) !important;
}

.member-view .profile-mood-title::after {
  right: 4% !important;
  bottom: -9px !important;
  height: 2px !important;
  background: linear-gradient(90deg, rgba(255, 224, 181, 0.74), rgba(232, 169, 184, 0.28), transparent) !important;
  box-shadow: 0 0 16px rgba(232, 169, 184, 0.25);
}

.member-view .home-ins-brand .adult-notice {
  max-width: 31em !important;
  color: rgba(239, 225, 214, 0.68) !important;
  font-size: 13px !important;
  letter-spacing: 0.03em !important;
}

.member-view .topbar.home-ins-header .top-actions button {
  min-height: 50px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #fff1dc !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 214, 0.12), 0 10px 22px rgba(0, 0, 0, 0.16) !important;
}

.home-recommend-card {
  border-color: rgba(232, 169, 184, 0.28) !important;
  background:
    radial-gradient(circle at 18% 14%, rgba(232, 169, 184, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(55, 29, 42, 0.84), rgba(24, 15, 23, 0.92)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 237, 214, 0.11), 0 18px 42px rgba(0, 0, 0, 0.26), 0 0 28px rgba(217, 92, 147, 0.11) !important;
}

.filters button,
.home-filter button {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: rgba(255, 238, 220, 0.88) !important;
  letter-spacing: 0.045em !important;
}

.member-view .section-heading h2,
.member-view .section-title {
  color: #f7e8d8 !important;
  text-shadow: 0 2px 0 rgba(65, 34, 29, 0.62), 0 12px 24px rgba(0, 0, 0, 0.25) !important;
}

.bottom-nav {
  left: 50% !important;
  right: auto !important;
  width: min(calc(100% - 20px), 430px) !important;
  max-width: 430px !important;
  min-height: 86px !important;
  padding: 8px 9px calc(8px + env(safe-area-inset-bottom)) !important;
  transform: translateX(-50%) !important;
  border-radius: 28px 28px 0 0 !important;
  border: 1px solid rgba(232, 169, 184, 0.2) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 169, 184, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(48, 29, 35, 0.88), rgba(28, 18, 20, 0.94)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 239, 220, 0.1), 0 -14px 36px rgba(0, 0, 0, 0.3) !important;
}

.bottom-nav-row {
  align-items: center !important;
  justify-items: stretch !important;
  gap: 6px !important;
}

.bottom-nav button:not(:disabled),
.bottom-nav .center[data-nav-target="trafficPanel"]:not(:disabled) {
  min-height: 66px !important;
  gap: 6px !important;
  border-radius: 20px !important;
  color: rgba(255, 238, 218, 0.88) !important;
  font-size: 13px !important;
  font-weight: 780 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 1px 0 rgba(45, 20, 18, 0.55) !important;
}

.bottom-nav span {
  font-size: 24px !important;
  line-height: 1 !important;
  color: rgba(255, 221, 195, 0.82) !important;
}

.bottom-nav .active:not(:disabled) {
  background: linear-gradient(145deg, rgba(255, 232, 205, 0.12), rgba(91, 45, 53, 0.58)) !important;
  color: #ffe7c6 !important;
  box-shadow: inset 0 1px 0 rgba(255, 238, 214, 0.16), 0 0 18px rgba(226, 178, 143, 0.14) !important;
}

.bottom-nav .center.nav-sakura:not(:disabled),
.bottom-nav .center[data-nav-target="trafficPanel"]:not(:disabled) {
  min-height: 72px !important;
  transform: translateY(-5px) !important;
  background: linear-gradient(145deg, rgba(233, 142, 173, 0.88), rgba(98, 41, 67, 0.88)) !important;
  color: #fff6ec !important;
  box-shadow: inset 0 1px 0 rgba(255, 241, 220, 0.18), 0 0 28px rgba(217, 92, 147, 0.34) !important;
}

.bottom-nav .center .nav-sakura-mark {
  width: 50px !important;
  height: 50px !important;
  margin: -16px auto 0 !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, rgba(255, 232, 210, 0.22), rgba(107, 43, 70, 0.72)) !important;
  border: 1px solid rgba(255, 222, 204, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 245, 232, 0.2), 0 0 22px rgba(232, 169, 184, 0.28) !important;
}

.bottom-nav .center .nav-sakura-mark img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

@media (max-width: 420px) {
  .member-view .topbar.home-ins-header {
    padding: 24px 18px 18px !important;
  }

  .member-view .home-brand-line img {
    width: 31px;
    height: 31px;
  }

  .member-view .profile-mood-title,
  .member-view .home-ins-brand h1.profile-mood-title {
    font-size: clamp(30px, 8.7vw, 36px) !important;
  }

  .bottom-nav button:not(:disabled),
  .bottom-nav .center[data-nav-target="trafficPanel"]:not(:disabled) {
    font-size: 12px !important;
  }
}

/* V35: account wallet sync polish and centered sakura nav mark. */
.bottom-nav .center.nav-sakura:not(:disabled),
.bottom-nav .center[data-nav-target="trafficPanel"]:not(:disabled) {
  transform: none !important;
}

.bottom-nav .center .nav-sakura-mark {
  width: 46px !important;
  height: 46px !important;
  margin: 0 auto 3px !important;
}

.bottom-nav .center .nav-sakura-mark img {
  width: 35px !important;
  height: 35px !important;
}

#accountVipBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(231, 194, 158, 0.28);
  color: #f4d6a8;
  background: linear-gradient(135deg, rgba(250, 221, 177, 0.12), rgba(82, 42, 55, 0.44));
  font-weight: 800;
  letter-spacing: 0.045em;
  box-shadow: inset 0 1px 0 rgba(255, 241, 220, 0.12), 0 0 18px rgba(232, 169, 184, 0.12);
}

.withdraw-button .bank-card-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 26px;
  margin-right: 8px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 240, 217, 0.18), rgba(215, 162, 117, 0.08));
  border: 1px solid rgba(255, 227, 202, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 244, 232, 0.2), 0 8px 18px rgba(0, 0, 0, 0.16);
  font-size: 18px;
  line-height: 1;
}

/* V36: lower the center Sakura task icon so the top/bottom spacing feels balanced. */
.bottom-nav .center.nav-sakura:not(:disabled),
.bottom-nav .center[data-nav-target="trafficPanel"]:not(:disabled) {
  padding-top: 8px !important;
  padding-bottom: 7px !important;
  gap: 2px !important;
}

.bottom-nav .center .nav-sakura-mark {
  margin: 5px auto 0 !important;
}

/* V37: Taiwan copy polish, auth return action, cleaner center Sakura mark. */
.auth-back-home {
  width: 100%;
  min-height: 38px;
  margin: 0 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(244, 210, 180, 0.24);
  color: rgba(255, 238, 220, 0.9);
  background: rgba(255, 238, 220, 0.06);
  font-weight: 760;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 245, 232, 0.1);
}

.auth-back-home:active {
  transform: scale(0.985);
}

.member-view .home-brand-line {
  margin-top: 8px !important;
}

.bottom-nav .center .nav-sakura-mark {
  width: 42px !important;
  height: 40px !important;
  margin: 6px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bottom-nav .center .nav-sakura-mark img {
  width: 36px !important;
  height: 36px !important;
  filter: drop-shadow(0 0 12px rgba(255, 190, 216, 0.28));
}
