     /* status bar */
  .screen.active { display: flex; }
  .screen.has-tab { padding-bottom: 70px; }
  .screen.active > * {
    flex-shrink: 0;
  }

  /* Status bar */
  .status-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 44px;
    z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-900);
  }
  .status-bar.dark { color: #fff; background: transparent; }

  /* Header */
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
  }
  .logo-row { display: flex; align-items: center; gap: 6px; }
  .logo { font-size: 22px; font-weight: 800; color: var(--coral-500); letter-spacing: 0; }
  .logo-badge { background: rgba(6, 194, 144,0.13); color: var(--mint-500); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
  .header-icons { display: flex; gap: 8px; }
  .icon-btn {
    width: 36px; height: 36px; border-radius: 18px;
    background: var(--border);
    color: var(--ink-900);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(0,0,0,0.08); cursor: pointer; position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    flex-shrink: 0;
  }
  .icon-btn svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; }
  /* Icon buttons on dark backgrounds use a translucent white style. */
  .icon-btn[style*="color:#fff"], .icon-btn[style*="color: #fff"] {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.35);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  }
  .notif-dot { position: absolute; top: 8px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-500); }

  /* Banner */
  .banner-scroll {
    display: flex;
    gap: 12px;
    padding: 12px 20px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .banner-scroll::-webkit-scrollbar { display: none; }
  .banner {
    flex: 0 0 320px;
    height: 100px;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
  }
  .banner h3 { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
  .banner p { font-size: 13px; opacity: 0.85; }
  .banner .emoji { font-size: 44px; }

  /* Section */
  .section { margin-top: 28px; }
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-bottom: 12px;
  }
  .section-title { font-size: 17px; font-weight: 800; color: var(--ink-900); }
  .section-more { font-size: 13px; color: var(--ink-500); cursor: pointer; }

  /* Game tiles */
  .game-tiles {
    display: flex;
    gap: 12px;
    padding: 0 20px 4px;
    overflow-x: auto;
    scrollbar-width: none;
    /* Right-edge fade hints that the horizontal list can scroll. */
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 20px), transparent 100%);
  }
  .game-tiles::-webkit-scrollbar { display: none; }
  .game-tile {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
  }
  .game-tile .emoji { font-size: 26px; }
  .game-tile .label { font-size: 11px; font-weight: 600; color: var(--ink-900); }

  /* Recommended (grid cards) */
  .recommended-row {
    display: flex;
    gap: 12px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .recommended-row::-webkit-scrollbar { display: none; }
  .grid-card {
    flex: 0 0 160px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    cursor: pointer;
  }
  .grid-banner {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .grid-body { padding: 12px; }
  .grid-body .name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
  }
  .grid-body .name { font-size: 15px; font-weight: 700; color: var(--ink-900); }
  .rating { display: flex; align-items: center; gap: 3px; font-size: 12px; color: var(--ink-500); font-weight: 600; }
  .star { color: #FFB400; font-size: 12px; }
  .game-row {
    display: flex; align-items: center; gap: 6px; margin-bottom: 6px;
  }
  .game-emoji { font-size: 14px; }
  .game-name { font-size: 12px; color: var(--ink-500); font-weight: 500; }
  .price-row { display: flex; align-items: center; gap: 2px; }
  .price-label { font-size: 11px; color: var(--ink-500); margin-right: 2px; }
  .price { font-size: 15px; font-weight: 800; color: var(--ink-900); }

  /* Avatar */
  .avatar {
    border-radius: 50%;
    background: #ECECF0;
    display: block;
    object-fit: cover;
    object-position: center;
    position: relative;
  }
  .avatar-wrap { position: relative; display: inline-block; }
  .online-dot {
    position: absolute;
    right: 0; bottom: 0;
    border-radius: 50%;
    border: 2.5px solid #fff;
  }

  /* Tier badge */
  .tier-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid;
  }
  .tier-Master { color: #A855F7; background: rgba(168,85,247,0.13); border-color: rgba(168,85,247,0.33); }
  .tier-Challenger { color: #EC4899; background: rgba(236,72,153,0.13); border-color: rgba(236,72,153,0.33); }
  .tier-Diamond { color: #60A5FA; background: rgba(96,165,250,0.13); border-color: rgba(96,165,250,0.33); }
  .tier-Platinum { color: #22D3EE; background: rgba(34,211,238,0.13); border-color: rgba(34,211,238,0.33); }
  .tier-Gold { color: #F0B429; background: rgba(240,180,41,0.13); border-color: rgba(240,180,41,0.33); }

  /* Mate row — search results + couple picker: avatar | name/bio | tier badge */
  .mate-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    margin-bottom: 10px;
  }
  .mate-row > .avatar-wrap { flex: 0 0 auto; }
  .mate-row > div:not(.avatar-wrap) { flex: 1 1 auto; min-width: 0; }
  .mate-row > div:not(.avatar-wrap) > b { display: block; font-size: 14px; font-weight: 700; color: var(--ink-900); }
  .mate-row > div:not(.avatar-wrap) > div {
    font-size: 12px;
    color: var(--ink-500);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mate-row > .tier-badge { flex: 0 0 auto; }
  .mate-row:active { background: var(--surface-mute); }

  /* List card */
  .list-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 20px;
  }
  .list-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    cursor: pointer;
  }
  .list-body { flex: 1; }
  .list-card .name-row { display: flex; align-items: center; justify-content: space-between; }
  .list-card .name { font-size: 15px; font-weight: 700; color: var(--ink-900); }
  .sub-info { font-size: 12px; color: var(--ink-500); margin-left: 6px; }
  .bio { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
  .list-card .footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }

  .live-title { display: flex; align-items: center; gap: 6px; }
  .live-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--mint-500); }

  /* Bottom tab */
  .tab-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 70px;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 90;
    padding-top: 6px;
    padding-bottom: 8px;
  }
  .tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    color: var(--ink-500);
  }
  .tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
  .tab.active { color: var(--coral-500); }
  .tab.active svg { fill: currentColor; stroke: currentColor; }
  .tab .tab-label { font-size: 11px; font-weight: 600; }

  /* Discover screen */
  .discover-header h1 { font-size: 22px; font-weight: 800; }
  .game-filter {
    display: flex;
    gap: 8px;
    padding: 6px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-shrink: 0;
    scrollbar-width: none;
  }
  .game-filter::-webkit-scrollbar { display: none; }
  .game-filter > * { flex-shrink: 0; }
  .pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-900);
    white-space: nowrap;
    cursor: pointer;
  }
  .pill.active { background: var(--coral-500); color: #fff; border-color: var(--coral-500); }
  .filter-row {
    display: flex;
    align-items: center;
    padding: 12px 20px 0;
    gap: 8px;
    flex-wrap: wrap;
  }
  .toggle-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-500);
    cursor: pointer;
  }
  .toggle-chip.active { background: var(--coral-500); color: #fff; border-color: var(--coral-500); }
  .toggle-chip .dot { width: 6px; height: 6px; border-radius: 3px; background: var(--mint-500); }
  .toggle-chip.active .dot { background: #fff; }
  .sort-row { display: flex; gap: 10px; margin-left: auto; }
  .sort-row span { font-size: 12px; color: var(--ink-500); cursor: pointer; }
  .sort-row span.active { color: var(--ink-900); font-weight: 700; }
  .result-count {
    font-size: 12px; color: var(--ink-500);
    padding: 12px 20px 4px;
    display: flex; align-items: center; justify-content: space-between;
  }
  .reset-filters-btn {
    border: none; background: transparent;
    color: var(--coral-500); font-size: 12px; font-weight: 700;
    cursor: pointer; padding: 4px 0;
  }
  .reset-filters-btn:active { opacity: 0.6; }

  /* Gender filter row */
  .gender-row {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 20px 0;
    flex-shrink: 0;
  }
  .gender-label {
    font-size: 12px; font-weight: 700; color: var(--ink-500);
    flex-shrink: 0;
  }
  .gender-chips {
    display: flex; gap: 6px; flex: 1;
  }
  .gender-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 6px 12px; border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 12px; font-weight: 700; color: var(--ink-500);
    cursor: pointer; background: #fff;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
  }
  .gender-chip:active { transform: scale(0.96); }
  .gender-chip.active {
    background: var(--coral-500); color: #fff; border-color: var(--coral-500);
  }

  /* Mate detail */
  .mate-detail-screen {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .screen.active > .mate-detail-scroll,
  .mate-detail-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mate-detail-screen .profile-section {
    padding-bottom: 32px;
  }
  .detail-banner {
    height: 220px;
    padding-bottom: 60px;
    position: relative;
  }
  .detail-banner-header {
    display: flex; justify-content: space-between;
    padding: 12px 12px 0;
  }
  .header-btn {
    width: 36px; height: 36px; border-radius: 18px;
    background: rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .header-btn svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
  .detail-header-actions { display: flex; gap: 8px; }
  .detail-avatar {
    width: 110px; height: 110px; border-radius: 55px;
    position: absolute;
    bottom: -55px;
    left: 50%; transform: translateX(-50%);
    border: 4px solid #fff;
    background: #ECECF0;
    z-index: 2;
  }
  .profile-section { padding: 70px 20px 100px; }
  .name-block { text-align: center; margin-bottom: 16px; }
  .name-line { display: flex; align-items: center; gap: 6px; justify-content: center; }
  .name-large { font-size: 22px; font-weight: 800; }
  .online-badge { width: 8px; height: 8px; border-radius: 4px; margin-left: 4px; }
  .online-text { font-size: 12px; color: var(--ink-500); font-weight: 600; }
  .sub-line { font-size: 13px; color: var(--ink-500); margin-top: 4px; }
  .stats-row {
    display: flex;
    background: var(--surface-mute);
    border-radius: 16px;
    padding: 12px 0;
    margin-bottom: 16px;
  }
  .stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .stat-value { font-size: 17px; font-weight: 800; color: var(--ink-900); }
  .stat-value-row { display: flex; align-items: center; gap: 3px; }
  .stat-label { font-size: 11px; color: var(--ink-500); margin-top: 2px; }
  .stat-divider { width: 1px; background: var(--border); margin: 4px 0; }
  .tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
  .tag {
    background: rgba(14, 165, 233,0.12);
    color: var(--coral-500);
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
  }
  .card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
  }
  .card-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; }
  .card .game-row-d {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
  }
  .game-row-d .emoji { font-size: 28px; }
  .game-name-d { font-size: 14px; font-weight: 600; }
  .price-tag { text-align: right; }
  .price-tag .num { font-size: 16px; font-weight: 800; }
  .price-tag .unit { font-size: 10px; color: var(--ink-500); }
  .bio-text { font-size: 14px; color: var(--ink-500); line-height: 22px; }

  /* Availability card */
  .avail-label { font-size: 13px; color: var(--ink-900); font-weight: 700; margin-bottom: 10px; }
  .avail-label .em { color: var(--coral-500); }
  .avail-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .avail-chip {
    padding: 6px 12px; border-radius: 999px;
    background: #F0F9FF; color: var(--coral-500);
    font-size: 12px; font-weight: 700;
    cursor: pointer; transition: transform 0.08s;
  }
  .avail-chip:active { transform: scale(0.96); }
  .avail-chip.busy { background: #E5FBEE; color: #FF4F6E; cursor: not-allowed; opacity: 0.6; }
  .avail-cta {
    width: 100%; padding: 12px;
    background: linear-gradient(135deg, var(--coral-500) 0%, var(--coral-500) 100%);
    color: #fff; border: none; border-radius: 12px;
    font-size: 14px; font-weight: 800; cursor: pointer;
  }
  .avail-cta:active { transform: scale(0.99); }
  .avail-day-row {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 3px; margin-bottom: 10px;
  }
  .avail-day {
    text-align: center; padding: 4px 0;
    border-radius: 6px;
    font-size: 11px; font-weight: 700;
  }
  .avail-day.active { background: #F0F9FF; color: var(--coral-500); }
  .avail-day.off { color: #C0C0CC; }

  .review-item { padding: 12px 0; border-top: 1px solid #F1F1F5; }
  .review-item:first-of-type { border-top: none; }
  .review-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
  .review-user { font-size: 13px; font-weight: 700; }
  .review-stars { display: flex; gap: 1px; }
  .review-date { font-size: 11px; color: var(--ink-500); }
  .review-comment { font-size: 13px; color: var(--ink-500); line-height: 19px; }

  /* Bottom action bar */
  .detail-bottom {
    position: static;
    bottom: auto; left: auto; right: auto;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px;
    display: flex;
    gap: 8px;
    z-index: 95;
  }
  .chat-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 14px; font-weight: 600;
    background: #fff;
    cursor: pointer;
  }
  .order-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    background: var(--coral-500);
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    font-size: 16px; font-weight: 800;
    border: none;
    cursor: pointer;
  }
  .order-btn .price-pre { font-size: 14px; font-weight: 700; opacity: 0.85; }

  .support-rank-card {
    margin-bottom: 18px;
  }

  /* Chats */
  .chats-header h1 { font-size: 22px; font-weight: 800; }
  .chat-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #F1F1F5;
  }
  .chat-body { flex: 1; }
  .chat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
  .chat-name { font-size: 15px; font-weight: 700; }
  .chat-time { font-size: 11px; color: var(--ink-500); }
  .chat-bottom { display: flex; align-items: center; gap: 8px; }
  .chat-message { font-size: 13px; color: var(--ink-500); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .unread-badge {
    min-width: 20px; height: 20px;
    border-radius: 10px;
    background: var(--mint-500);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
  }

  .chat-inbox-screen {
    background: linear-gradient(180deg, #FFF7F8 0%, #F7FBF9 30%, #fff 100%) !important;
  }
  .chat-inbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 10px;
  }
  .chat-inbox-eyebrow {
    color: var(--coral-600);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    margin-bottom: 2px;
  }
  .chat-inbox-header h1 {
    margin: 0;
    color: var(--ink-900);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: 0;
  }
  .chat-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .chat-filter-row {
    display: flex;
    gap: 8px;
    padding: 0 20px 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .chat-filter-row::-webkit-scrollbar { display: none; }
  .chat-filter-row button {
    border: 1px solid rgba(31,35,48,.08);
    background: rgba(255,255,255,.76);
    color: var(--ink-500);
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(31,35,48,.05);
  }
  .chat-filter-row button.active {
    background: var(--ink-900);
    color: #fff;
    border-color: var(--ink-900);
  }
  .chat-filter-row b {
    display: inline-flex;
    justify-content: center;
    min-width: 18px;
    margin-left: 3px;
    color: var(--coral-500);
  }
  .chat-priority-card {
    display: grid;
    grid-template-columns: 68px 1fr 20px;
    gap: 12px;
    align-items: center;
    margin: 0 20px 12px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(39,32,57,.96), rgba(138,75,90,.92));
    color: #fff;
    box-shadow: 0 14px 28px rgba(39,32,57,.18);
    cursor: pointer;
  }
  .chat-priority-avatars {
    position: relative;
    width: 66px;
    height: 48px;
  }
  .chat-priority-avatars .avatar-wrap:first-child { position: absolute; left: 0; top: 0; }
  .chat-priority-avatars .avatar-wrap:last-child { position: absolute; right: 0; bottom: 0; border: 2px solid rgba(255,255,255,.9); border-radius: 999px; }
  .chat-priority-kicker { font-size: 11px; font-weight: 900; color: #FDE68A; }
  .chat-priority-title { margin-top: 3px; font-size: 14px; font-weight: 900; color: #fff; }
  .chat-priority-sub { margin-top: 3px; font-size: 12px; color: rgba(255,255,255,.72); }
  .chat-list-wrap {
    flex: 1;
    overflow-y: auto;
    padding: 2px 14px 18px;
  }
  .chat-item.pro {
    gap: 12px;
    margin: 8px 0;
    padding: 13px 12px;
    border: 1px solid rgba(31,35,48,.07);
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 8px 20px rgba(31,35,48,.05);
  }
  .chat-item.pro.unread {
    border-color: rgba(255,122,107,.22);
    box-shadow: 0 12px 26px rgba(255,122,107,.1);
  }
  .chat-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
  }
  .chat-avatar-wrap > span:not(.duo-gradient-ring) {
    position: absolute;
    right: 0;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 999px;
  }
  .chat-item.pro .chat-body { min-width: 0; }
  .chat-item.pro .chat-top {
    gap: 6px;
    justify-content: flex-start;
  }
  .chat-item.pro .chat-name {
    color: var(--ink-900);
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .chat-relation {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--mint-50);
    color: var(--mint-700);
    font-size: 10px;
    font-weight: 900;
  }
  .chat-item.pro .chat-time {
    margin-left: auto;
    flex: 0 0 auto;
  }
  .chat-context-row {
    display: flex;
    gap: 5px;
    margin-top: 7px;
    overflow: hidden;
  }
  .chat-context-row span {
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--surface-mute);
    color: var(--ink-500);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }
  .chat-context-row span.gift {
    background: #FFF7D6;
    color: #A16207;
  }
  .chat-context-row span.schedule {
    background: #ECFDF5;
    color: #047857;
  }
  .chat-context-row span.review {
    background: #FFF1F2;
    color: #FF7A6B;
  }

  .mate-hero-premium {
    height: 292px;
    overflow: visible;
    isolation: isolate;
  }
  .mate-hero-cover-img {
    position: absolute;
    inset: -18px;
    width: calc(100% + 36px);
    height: calc(100% + 36px);
    object-fit: cover;
    filter: blur(16px) saturate(1.05);
    transform: scale(1.06);
    opacity: .52;
    z-index: 0;
  }
  .mate-hero-scrim {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(22,21,28,.36) 0%, rgba(22,21,28,.18) 42%, rgba(255,247,248,.98) 100%),
      radial-gradient(circle at 16% 18%, rgba(255,255,255,.28), transparent 28%),
      radial-gradient(circle at 86% 32%, rgba(6,194,143,.24), transparent 34%);
    z-index: 1;
  }
  .mate-hero-premium .detail-banner-header,
  .mate-hero-premium .detail-avatar,
  .mate-hero-copy {
    z-index: 2;
  }
  .mate-hero-premium .header-btn {
    background: rgba(22,21,28,.38);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
  }
  .mate-hero-copy {
    position: absolute;
    left: 20px;
    bottom: 58px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,.28);
  }
  .mate-hero-kicker {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
    font-size: 11px;
    font-weight: 900;
  }
  .mate-hero-title {
    margin-top: 10px;
    font-size: 28px;
    font-weight: 950;
    letter-spacing: 0;
  }
  .mate-hero-sub {
    margin-top: 3px;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255,255,255,.82);
  }
  .mate-hero-premium .detail-avatar {
    width: 116px;
    height: 116px;
    bottom: -58px;
    object-fit: cover;
    box-shadow: 0 14px 34px rgba(31,35,48,.22), 0 0 0 8px rgba(255,255,255,.34);
  }
  .mate-detail-screen .profile-section {
    background: linear-gradient(180deg, #FFF7F8 0%, #fff 24%);
  }
  .mate-trust-strip {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin: -2px 0 14px;
  }
  .mate-trust-strip span {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(31,35,48,.07);
    color: var(--ink-700);
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 6px 14px rgba(31,35,48,.05);
  }

  /* Verified check overlapping the hero avatar (isApprovedMate) */
  .mate-hero-premium .detail-verified {
    position: absolute;
    left: 50%;
    bottom: -52px;
    transform: translateX(36px);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #06C28F;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(6,194,143,.32);
  }
  /* Mint primary CTA per spec §3 (의뢰하기) */
  .order-btn.order-btn-mint {
    background: linear-gradient(135deg, #22B8E6 0%, #06C28F 100%);
    height: 56px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(6,194,143,.22);
  }

  .home-premium-screen {
    background: linear-gradient(180deg, #FFF7F8 0%, #F7FBF9 30%, #fff 100%) !important;
  }
  .home-premium-header {
    position: relative;
  }
  .home-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0 20px 12px;
  }
  .home-trust-strip > div {
    padding: 10px 8px;
    border-radius: 14px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(31,35,48,.07);
    box-shadow: 0 8px 18px rgba(31,35,48,.05);
    text-align: center;
  }
  .home-trust-strip b {
    display: block;
    color: var(--ink-900);
    font-size: 15px;
    font-weight: 950;
    line-height: 1.1;
  }
  .home-trust-strip span {
    display: block;
    margin-top: 3px;
    color: var(--ink-500);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
  }
  .home-hero-premium {
    background:
      radial-gradient(circle at 86% 20%, rgba(6,194,143,.25), transparent 28%),
      linear-gradient(135deg, #272039 0%, #8A4B5A 58%, #F2A1A7 100%) !important;
    box-shadow: 0 16px 32px rgba(39,32,57,.18) !important;
  }

  /* Chat room */
  .chatroom-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid #F1F1F5;
  }
  .chatroom-back { padding: 4px; cursor: pointer; }
  .chatroom-back svg { width: 22px; height: 22px; }
  .chatroom-center { flex: 1; display: flex; align-items: center; gap: 8px; }
  .chatroom-name { font-size: 15px; font-weight: 700; }
  .chatroom-status { font-size: 11px; color: var(--ink-500); }
  .messages-area {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .msg-row { display: flex; align-items: flex-end; gap: 6px; max-width: 85%; }
  .msg-row.me { align-self: flex-end; flex-direction: row-reverse; }
  .bubble {
    padding: 9px 14px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 20px;
    max-width: 240px;
  }
  .bubble.them { background: #ECECF0; color: var(--ink-900); border-bottom-left-radius: 4px; }
  .bubble.me { background: var(--coral-500); color: #fff; border-bottom-right-radius: 4px; }
  .msg-time { font-size: 10px; color: var(--ink-500); }
  .quick-bar { display: flex; gap: 8px; padding: 8px 20px; }
  .quick-btn {
    display: flex; align-items: center; gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(14, 165, 233,0.12);
    color: var(--coral-500);
    font-size: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
  }
  .input-bar {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 12px 16px;
    border-top: 1px solid #F1F1F5;
  }
  .input-bar .attach {
    width: 36px; height: 36px; border-radius: 18px;
    background: var(--surface-mute);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .input-bar input {
    flex: 1;
    min-height: 36px;
    padding: 8px 12px;
    background: var(--surface-mute);
    border-radius: 16px;
    border: none;
    font-size: 14px;
    color: var(--ink-900);
    font-family: inherit;
    outline: none;
  }
  .send-btn {
    width: 36px; height: 36px; border-radius: 18px;
    background: var(--coral-500);
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .send-btn svg { width: 18px; height: 18px; fill: #fff; }

  /* Profile screen */
  /* Profile screen background defaults to neutral, overridden by equipped
     bg item via --my-profile-bg (set by applyEquippedTheme). */
  .profile-bg { background: var(--my-profile-bg, var(--surface-mute)); }
  .profile-header { background: #fff; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
  .profile-title { font-size: 22px; font-weight: 800; }
  .user-card {
    background: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
  .user-name-row { display: flex; align-items: center; gap: 6px; }
  .user-name { font-size: 18px; font-weight: 800; }
  .level-badge {
    background: rgba(14, 165, 233,0.13);
    color: var(--coral-500);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
  }
  .user-sub { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
  .coin-card {
    background: #fff;
    margin: 0 20px 12px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border);
  }
  .coin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .coin-label { font-size: 13px; color: var(--ink-500); font-weight: 600; }
  .coin-value { font-size: 24px; font-weight: 800; }
  .coin-actions {
    display: flex;
    background: var(--surface-mute);
    border-radius: 12px;
    padding: 8px 0;
  }
  .coin-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
  }
  .coin-btn-divider { width: 1px; background: var(--border); }
