@charset "UTF-8";

:root {
    --ink: #27211f;
    --muted: #8b817b;
    --line: #eee8e3;
    --paper: #fffaf6;
    --surface: #fff;
    --red: #e83b32;
    --red-dark: #be2e2a;
    --gold: #e5a545;
    --green: #3c8970;
    --shadow: 0 12px 35px rgba(55, 35, 25, .12);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
    text-rendering: optimizeLegibility
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--paper)
}

body {
    font-size: 14px
}

button,
input,
textarea,
select {
    font: inherit
}

button {
    color: inherit
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #e66c58;
    outline-offset: 2px
}

.app-shell {
    width: 100%;
    max-width: 620px;
    min-height: 100dvh;
    margin: 0 auto;
    background: var(--surface);
    box-shadow: 0 0 42px rgba(44, 30, 22, .05);
    position: relative
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 58px;
    padding: calc(env(safe-area-inset-top) + 10px) 18px 10px;
    background: rgba(255, 250, 246, .95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(238, 232, 227, .8);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.topbar.feed-topbar {
    background: rgba(255, 255, 255, .97)
}

.feed-title {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 18px;
    font-weight: 750
}

.brand {
    font-family: "Noto Serif SC", "Songti SC", serif;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: 0;
    color: var(--red)
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.feed-publish-trigger {
    min-width: 48px;
    padding: 5px 13px;
    border: 0;
    border-radius: 16px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer
}

.location-button,
.icon-button,
.filter-button {
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    color: var(--muted);
    cursor: pointer
}

.location-button {
    color: var(--ink);
    font-weight: 600
}

.icon-button {
    width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px
}

.icon-button:hover,
.filter-button:hover {
    background: #f7efea
}

.view {
    padding: 10px 16px calc(88px + env(safe-area-inset-bottom));
    min-height: calc(100dvh - 60px)
}

.topbar.account-topbar {
    display: none
}

.view.account-page {
    padding: 0 16px calc(88px + env(safe-area-inset-bottom));
    background: #fff
}

.topbar.subpage-topbar {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 56px;
    min-height: 52px;
    padding: calc(env(safe-area-inset-top) + 6px) 12px 6px;
    background: #fff
}

.subpage-back {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #333;
    font-size: 27px;
    line-height: 1;
    cursor: pointer
}

.subpage-title {
    overflow: hidden;
    margin: 0;
    font-size: 15px;
    font-weight: 650;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap
}

.subpage-spacer {
    width: 36px
}

.view.account-subpage-view {
    min-height: calc(100dvh - 52px);
    padding: 12px 16px calc(28px + env(safe-area-inset-bottom));
    background: #fff
}

.view.account-subpage-view.invite-view {
    padding: 0 16px calc(28px + env(safe-area-inset-bottom))
}

.view.account-subpage-view.invite-view:after {
    display: none
}

.view.account-subpage-view .invite-bottom-cta {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    margin: 8px 0 0;
    transform: none;
}

.subpage-header-action {
    justify-self: end;
    min-width: 46px;
    padding: 5px 10px;
    border: 0;
    border-radius: 16px;
    background: var(--red);
    color: #fff;
    font-size: 12px;
    cursor: pointer
}

.account-album-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    margin: -12px -16px 0
}

.account-photo-upload {
    display: grid;
    gap: 8px;
    margin-bottom: 16px
}

.account-photo-upload .field-label {
    margin: 0
}

.account-photo-upload .section-subtitle {
    margin: 0
}

.account-album-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f3f4f6
}

.showcase-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: -12px -16px 0;
    border-bottom: 1px solid var(--line)
}

.showcase-tab {
    border: 0;
    background: transparent;
    position: relative;
    padding: 12px 3px;
    color: var(--muted);
    text-align: center;
    font: inherit;
    font-size: 12px;
    cursor: pointer
}

.showcase-tab.active {
    color: var(--ink);
    font-weight: 600
}

.showcase-tab.active:after {
    position: absolute;
    right: 30%;
    bottom: 0;
    left: 30%;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    content: ""
}

.showcase-content {
    padding-top: 16px
}

.showcase-content .account-album-grid {
    margin: 0 -16px
}

.wallet-balance-panel {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 18px;
    border-radius: 6px;
    background: linear-gradient(120deg, #fff1e5, #ffe2d6);
    color: #76554b
}

.wallet-balance-panel strong {
    color: #312823;
    font-size: 25px
}

.view.profile-detail-no-tabs {
    padding-bottom: calc(70px + env(safe-area-inset-bottom))
}

.topbar.city-picker-header {
    min-height: 52px;
    padding: calc(env(safe-area-inset-top) + 5px) 14px 5px;
    background: #f5f6f8;
    border-bottom: 0;
    backdrop-filter: none
}

.city-picker-back,
.city-picker-header-spacer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px
}

.city-picker-back {
    padding: 0;
    border: 0;
    background: transparent;
    color: #24292f;
    font-size: 26px;
    line-height: 1;
    cursor: pointer
}

.city-picker-title {
    font-size: 15px;
    font-weight: 700
}

.city-picker-view {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100dvh - 52px);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #f4f5f7
}

.city-picker-top {
    flex: 0 0 auto;
    padding: 10px 14px 0
}

.city-picker-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 25px
}

.city-picker-current {
    margin: 0;
    color: #8d959e;
    font-size: 12px
}

.city-picker-current strong {
    color: #8d959e;
    font-weight: 500
}

.city-picker-locate {
    padding: 4px 0 4px 10px;
    border: 0;
    background: transparent;
    color: #397bd0;
    font-size: 12px;
    cursor: pointer
}

.city-picker-permission {
    min-height: 32px;
    margin-top: 6px;
    padding: 5px 10px;
    border: 1px solid #e6e8eb;
    border-radius: 2px;
    background: #fff;
    color: #397bd0;
    font-size: 12px;
    cursor: pointer
}

.city-picker-section-title {
    margin: 10px 0 8px;
    color: #9299a1;
    font-size: 12px
}

.city-picker-hot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px
}

.city-picker-hot-city {
    min-width: 0;
    min-height: 32px;
    padding: 5px 3px;
    border: 1px solid #e7e9ec;
    border-radius: 2px;
    background: #fff;
    color: #30343a;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer
}

.city-picker-province-title {
    margin: 18px 0 11px
}

.city-picker-tree-label {
    display: grid;
    grid-template-columns: 1fr 1fr;
    flex: 0 0 38px;
    align-items: center;
    background: #fff;
    color: #8d959e;
    font-size: 12px;
    text-align: center
}

.city-picker-tree-label::before {
    content: "省份"
}

.city-picker-tree-label::after {
    content: "城市"
}

.city-picker-tree {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: #fff
}

.city-picker-provinces,
.city-picker-cities {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin
}

.city-picker-provinces {
    border-right: 1px solid #eceef0
}

.city-picker-province,
.city-picker-city {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 7px;
    border: 0;
    border-bottom: 1px solid #f0f1f2;
    background: #fff;
    color: #2f3338;
    font-size: 12px;
    text-align: center;
    cursor: pointer
}

.city-picker-province.active {
    background: #f3f5f7;
    color: #193f79;
    font-weight: 700
}

.city-picker-city.selected {
    color: var(--red);
    font-weight: 700
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 9px 0 13px
}

.section-title {
    font-size: 19px;
    font-weight: 750;
    margin: 0
}

.section-subtitle {
    color: var(--muted);
    font-size: 12px;
    margin: 4px 0 0
}

.segmented {
    display: flex;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    margin: -2px -16px 10px;
    padding: 0 14px 7px
}

.segment {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--muted);
    min-width: 44px;
    padding: 4px 11px;
    border-radius: 14px;
    font-size: 12px;
    cursor: pointer
}

.segment.active {
    color: #fff;
    background: var(--red);
    font-weight: 700
}

.bubble-safety-banner {
    display: flex;
    min-height: 92px;
    margin: 0 -2px 6px;
    padding: 19px 22px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    border-radius: 6px;
    color: #fff;
    background: linear-gradient(120deg, #08758d 0%, #0c6380 48%, #278fa4 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18)
}

.bubble-safety-banner strong {
    font-size: 18px;
    line-height: 1.2
}

.bubble-safety-banner span {
    color: rgba(255, 255, 255, .8);
    font-size: 11px;
    letter-spacing: 1px
}

.nearby-list {
    display: grid;
    gap: 12px
}

.person-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 34px;
    gap: 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f1ece8;
    cursor: pointer;
    min-height: 126px
}

.person-photo {
    position: relative;
    width: 92px;
    height: 118px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2e7df
}

.person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.photo-label {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 3px 7px;
    background: var(--red);
    color: white;
    font-size: 10px;
    border-radius: 0 6px 0 0
}

.person-main {
    min-width: 0;
    padding-top: 5px
}

.person-name {
    font-weight: 750;
    font-size: 15px;
    margin-bottom: 7px
}

.person-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px
}

.meta-chip {
    font-size: 11px;
    color: #625b56;
    background: #f6f1ed;
    border-radius: 5px;
    padding: 3px 7px;
    line-height: 1.2
}

.person-location,
.person-time {
    font-size: 11px;
    color: var(--muted);
    margin: 6px 0
}

.person-location {
    display: flex;
    align-items: center;
    gap: 3px
}

.person-location-icon {
    width: 12px;
    height: 12px;
    flex: 0 0 12px
}

.mini-gallery {
    display: flex;
    gap: 5px;
    margin-top: 8px
}

.mini-gallery img {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3ece7
}

.favorite-button {
    align-self: start;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #aaa;
    font-size: 21px;
    cursor: pointer
}

.favorite-button.active {
    color: var(--red)
}

.feed-list {
    display: grid;
    gap: 0
}

.post {
    padding: 13px 0 16px;
    border-bottom: 1px solid var(--line)
}

.post-head {
    display: flex;
    align-items: center;
    gap: 9px
}

.bubble-name-row {
    display: flex;
    align-items: center;
    gap: 7px
}

.bubble-vip {
    padding: 1px 5px;
    border-radius: 3px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    line-height: 1.4
}

.bubble-more {
    margin-left: auto;
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1px
}

.avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #f3e8df
}

.avatar-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: #d66d57;
    font-weight: 750
}

.post-author {
    font-weight: 700
}

.post-meta {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px
}

.post-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.65;
    margin: 10px 0 11px
}

.post-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 10px 0
}

.post-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 5px;
    background: #f1eeeb
}

.bubble-media {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.bubble-media-item {
    position: relative;
    width: min(144px, calc((100vw - 48px) / 2));
    aspect-ratio: 1;
    overflow: hidden;
    background: #f1eeeb
}

.bubble-media-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.bubble-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: rgba(0, 0, 0, .35);
    color: #fff;
    font-size: 13px
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--muted);
    font-size: 12px
}

.text-action {
    border: 0;
    background: transparent;
    padding: 5px 0;
    color: inherit;
    cursor: pointer
}

.text-action.active {
    color: var(--red)
}

.post-time {
    margin-left: auto;
    font-size: 11px;
    color: #aaa
}

.composer {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    margin: 3px 0 14px;
    background: #fff
}

.composer-page {
    min-height: 210px;
    margin-top: 12px
}

.composer-page textarea {
    min-height: 135px
}

.composer-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px 0
}

.composer-preview img {
    width: 72px;
    height: 72px;
    border-radius: 4px;
    object-fit: cover
}

.composer textarea {
    width: 100%;
    min-height: 72px;
    resize: vertical;
    border: 0;
    outline: 0
}

.composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.soft-button {
    border: 0;
    border-radius: 8px;
    padding: 8px 12px;
    background: #f8efea;
    color: #9e5447;
    cursor: pointer
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 22px;
    background: var(--red);
    color: #fff;
    font-weight: 700;
    padding: 11px 17px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(232, 59, 50, .14)
}

.primary-button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.wide-button {
    width: 100%
}

.secondary-button {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    padding: 10px 16px;
    cursor: pointer
}

.empty-state {
    padding: 48px 16px;
    text-align: center;
    color: var(--muted)
}

.empty-symbol {
    font-size: 30px;
    color: #d9c9bf;
    margin-bottom: 10px
}

.empty-title {
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 5px
}

.tabbar {
    position: fixed;
    z-index: 10;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 620px);
    padding: 8px 5px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(5, 1fr)
}

.tab {
    border: 0;
    background: transparent;
    color: #a49b95;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    font-size: 10px
}

.tab-icon {
    font-size: 19px;
    line-height: 1.15
}

.tab.active {
    color: var(--red);
    font-weight: 700
}

.tab.disabled {
    opacity: .45;
    cursor: default
}

.panel {
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.profile-hero {
    position: relative;
    margin: -10px -16px 0;
    min-height: 250px;
    background: #493c36;
    overflow: hidden;
    color: #fff
}

.profile-back {
    position: absolute;
    z-index: 4;
    margin: 8px 0 0 10px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(25, 25, 25, .35);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer
}

.profile-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72
}

.profile-cover-fallback {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #463a36, #826552 60%, #c18a65)
}

.profile-hero-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 20px;
    display: flex;
    align-items: end;
    gap: 12px
}

.profile-hero .avatar {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border: 2px solid white
}

.profile-name {
    font-size: 21px;
    font-weight: 800
}

.profile-location {
    font-size: 12px;
    color: #f5e9e2;
    margin-top: 5px
}

.profile-body {
    position: relative;
    margin: -12px -16px 0;
    padding: 20px 17px 4px;
    background: #fff;
    border-radius: 14px 14px 0 0
}

.profile-summary {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding-bottom: 15px
}

.profile-field {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #f2eeeb;
    padding: 12px 0;
    font-size: 13px
}

.profile-field span:first-child {
    color: var(--muted)
}

.profile-field span:last-child {
    text-align: right;
    overflow-wrap: anywhere
}

.photo-strip {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 7px 0
}

.photo-strip img {
    width: 72px;
    height: 88px;
    flex: 0 0 72px;
    object-fit: cover;
    border-radius: 7px;
    background: #f3ede9
}

.social-card {
    margin: 14px 0;
    padding: 14px;
    border: 1px solid #f0e5df;
    border-radius: 10px;
    background: #fffaf7
}

.social-heading {
    font-weight: 750;
    margin: 0 0 10px
}

.social-line {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid #f3ece7;
    font-size: 13px
}

.social-platform {
    font-weight: 650
}

.social-value {
    color: var(--muted);
    overflow-wrap: anywhere
}

.legacy-detail-actions {
    position: fixed;
    left: 50%;
    bottom: calc(72px + env(safe-area-inset-bottom));
    z-index: 6;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: min(calc(100% - 32px), 588px);
    padding: 10px 0;
    margin: 0;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(12px)
}

.view.profile-detail-no-tabs .legacy-detail-actions {
    bottom: env(safe-area-inset-bottom)
}

.profile-summary {
    padding-bottom: 84px
}

.legacy-detail-actions button {
    width: 100%
}

.legacy-detail-actions button:disabled {
    opacity: .48;
    cursor: not-allowed
}

.locked-note {
    font-size: 12px;
    color: var(--muted);
    margin: 10px 0
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 12px 0
}

.page-title {
    font-size: 20px;
    margin: 3px 0 16px;
    font-weight: 800
}

.account-hero {
    position: relative;
    isolation: isolate;
    min-height: 166px;
    margin: 0 -16px;
    padding: 48px 16px 14px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(115deg, #111b2b 0%, #233348 56%, #4b3b40 100%)
}

.account-hero:before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    opacity: .8;
    background-image:
        repeating-linear-gradient(0deg, transparent 0 11px, rgba(239, 190, 133, .2) 12px 13px, transparent 14px 19px),
        linear-gradient(#101726, #101726),
        linear-gradient(#172337, #172337),
        linear-gradient(#131e30, #131e30),
        linear-gradient(#1b2940, #1b2940),
        linear-gradient(#142035, #142035),
        linear-gradient(#18243a, #18243a);
    background-size: 100% 100%, 13% 58%, 15% 76%, 12% 46%, 16% 82%, 12% 64%, 15% 52%;
    background-position: center, 2% 100%, 18% 100%, 38% 100%, 54% 100%, 73% 100%, 90% 100%;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent 8%, #000 38%);
    mask-image: linear-gradient(to bottom, transparent 8%, #000 38%)
}

.account-hero:after {
    position: absolute;
    z-index: 2;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(8, 15, 27, .7), rgba(11, 18, 30, .32) 70%, rgba(12, 16, 25, .48))
}

.account-cover-photo {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .3;
    filter: blur(2px) brightness(.65)
}

.account-edit {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 14px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 16px;
    background: rgba(15, 20, 29, .3);
    color: #fff;
    font-size: 11px;
    cursor: pointer
}

.account-head {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 18px
}

.account-head .avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border: 2px solid rgba(255, 255, 255, .9)
}

.account-identity {
    min-width: 0
}

.account-name-line {
    display: flex;
    align-items: center;
    gap: 7px
}

.account-hero .profile-name {
    overflow: hidden;
    font-size: 17px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.account-vip-badge {
    flex: 0 0 auto;
    padding: 2px 6px;
    border: 0;
    border-radius: 4px;
    background: #e6bd70;
    color: #493316;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer
}

.account-hero .profile-location {
    overflow: hidden;
    color: rgba(255, 255, 255, .8);
    text-overflow: ellipsis;
    white-space: nowrap
}

.account-hero-stats {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 7px;
    margin: 10px 0 0 74px;
    color: rgba(255, 255, 255, .88);
    font-size: 10px
}

.account-hero-stats .account-follow-stat {
    padding: 3px 7px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .17);
    color: inherit;
    font: inherit;
    cursor: pointer
}

.account-login-summary {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 5px;
    color: rgba(255, 255, 255, .9);
    font-size: 10px;
    line-height: 1.5
}

.account-login-summary-line {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 5px;
    min-width: 0
}

.account-login-summary-label,
.account-login-summary-divider {
    flex: 0 0 auto;
    white-space: nowrap
}

.account-login-summary-value {
    min-width: 0;
    overflow-wrap: anywhere
}

.account-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 -16px;
    padding: 10px 6px 12px;
    border-bottom: 1px solid #f1efed;
    background: #fff
}

.account-shortcut {
    min-width: 0;
    min-height: 72px;
    padding: 3px 2px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer
}

.account-shortcut-icon {
    height: 27px;
    color: var(--red);
    font-size: 23px;
    line-height: 27px
}

.account-shortcut-360 {
    width: 56px;
    height: 27px;
    object-fit: contain
}

.account-shortcut strong {
    font-size: 12px;
    font-weight: 600
}

.account-shortcut-caption {
    overflow: hidden;
    max-width: 100%;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.account-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 13px
}

.account-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #f3b78e;
    text-align: left;
    cursor: pointer
}

.account-card-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.account-card-detail {
    position: absolute;
    right: 9px;
    bottom: 7px;
    left: 10px;
    overflow: hidden;
    color: rgba(255, 255, 255, .96);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.invite-card .account-card-detail {
    top: 8px;
    right: 8px;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 3px 6px;
    border-radius: 10px;
    background: rgba(159, 73, 58, .62);
    font-size: 9px
}

.account-wallet-details {
    display: grid;
    gap: 12px;
    padding: 8px 0;
    color: var(--muted)
}

.account-action-list {
    margin: 0 -4px;
    border-top: 1px solid #f1efed
}

.account-action-row {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    gap: 12px;
    padding: 9px 5px;
    border: 0;
    border-bottom: 1px solid #f1efed;
    background: #fff;
    text-align: left;
    cursor: pointer
}

.account-action-row:active {
    background: #faf8f6
}

.account-action-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    background: #fff2eb;
    color: #d94d3b;
    font-size: 18px
}

.account-action-copy {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 3px
}

.account-action-copy strong {
    font-size: 13px;
    font-weight: 600
}

.account-action-copy small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.account-action-chevron {
    color: #b6b0ab;
    font-size: 23px;
    line-height: 1
}

.customer-service-contact {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 8px 0
}

.customer-service-label {
    color: var(--muted);
    font-size: 12px
}

.customer-service-wechat {
    color: var(--ink);
    font-size: 20px;
    overflow-wrap: anywhere
}

.wallet-history-list {
    display: grid;
    gap: 0
}

.wallet-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 62px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line)
}

.wallet-history-description {
    display: grid;
    min-width: 0;
    gap: 4px
}

.wallet-history-description strong {
    font-size: 13px
}

.wallet-history-description small {
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap
}

.wallet-history-amount {
    flex: 0 0 auto;
    font-size: 13px
}

.view.invite-view {
    padding: 0 16px calc(164px + env(safe-area-inset-bottom));
    background: #fff9ef
}

.invite-hero {
    position: relative;
    margin: -10px -16px 14px;
    min-height: 158px;
    padding: 30px 22px 24px;
    overflow: hidden;
    color: #8f3128;
    background: radial-gradient(ellipse at 90% 15%, rgba(255, 255, 255, .9), transparent 34%),
        repeating-linear-gradient(165deg, transparent 0 13px, rgba(214, 150, 88, .08) 14px 15px),
        linear-gradient(130deg, #f8d7a7, #fff1d8 55%, #f9d9aa)
}

.invite-hero-kicker {
    color: #a97947;
    font-size: 11px;
    font-weight: 700
}

.invite-hero h1 {
    margin: 8px 0 5px;
    color: #b63e32;
    font-size: 25px;
    font-weight: 850
}

.invite-hero p {
    max-width: 290px;
    margin: 0;
    color: #7a6350;
    font-size: 12px;
    line-height: 1.6
}

.invite-code-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 56px;
    margin-bottom: 20px;
    padding: 10px 12px;
    border: 1px solid #f1dfca;
    border-radius: 4px;
    background: #fff
}

.invite-code-copy {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0
}

.invite-code-copy span {
    color: #916d55;
    font-size: 12px;
    white-space: nowrap
}

.invite-code-copy strong {
    color: var(--red);
    font-size: 18px;
    font-weight: 500;
    overflow-wrap: anywhere
}

.invite-copy-button {
    flex: 0 0 auto;
    padding: 7px 13px;
    border: 0;
    border-radius: 18px;
    background: #edf4ff;
    color: #3974c5;
    font-size: 12px;
    cursor: pointer
}

.invite-steps,
.invite-rewards,
.invite-history {
    margin: 0 0 18px
}

.invite-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: #8f3128;
    font-size: 15px;
    font-weight: 750
}

.invite-section-title:before,
.invite-section-title:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #efd4b5
}

.invite-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    padding: 4px 2px 8px
}

.invite-step {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #8a8179;
    text-align: center;
    font-size: 11px
}

.invite-step strong {
    color: #62574f;
    font-size: 11px;
    font-weight: 650
}

.invite-step-icon {
    display: grid;
    width: 36px;
    height: 36px;
    margin-bottom: 2px;
    place-items: center;
    border: 1px solid #dcb58a;
    border-radius: 50%;
    color: #b88652;
    font-size: 18px
}

.invite-step-arrow {
    padding-top: 9px;
    color: #ddb985;
    font-size: 23px
}

.invite-hint {
    margin: -6px 0 8px;
    color: var(--muted);
    text-align: center;
    font-size: 11px
}

.invite-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 12px 4px;
    border: 1px solid #f1dfca;
    border-radius: 4px;
    background: #fff
}

.invite-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #786b61;
    font-size: 12px
}

.invite-stat+.invite-stat {
    border-left: 1px solid #eee8e2
}

.invite-stat strong {
    color: var(--red);
    font-size: 16px;
    font-weight: 750
}

.invite-available {
    margin: 6px 0 0;
    color: #8a8179;
    text-align: right;
    font-size: 11px
}

.invite-history-list {
    overflow: hidden;
    border: 1px solid #f1dfca;
    border-radius: 4px;
    background: #fff
}

.invite-history-row {
    display: grid;
    grid-template-columns: 20px 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 7px 9px;
    border-bottom: 1px solid #f3eee9
}

.invite-rank {
    color: #534a43;
    text-align: center;
    font-size: 12px
}

.invite-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee8e2
}

.invite-person,
.invite-status {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px
}

.invite-person strong {
    overflow: hidden;
    color: #4c4540;
    font-size: 12px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap
}

.invite-person span,
.invite-status small {
    color: #8d8882;
    font-size: 10px
}

.invite-status {
    align-items: flex-end;
    color: var(--red);
    font-size: 11px
}

.invite-status small.qualified {
    color: #37a260
}

.invite-more {
    display: block;
    width: 100%;
    padding: 12px;
    border: 0;
    background: transparent;
    color: #a74b3c;
    font-size: 12px;
    cursor: pointer
}

.invite-more:disabled {
    color: var(--muted)
}

.invite-empty {
    padding: 20px 12px;
    margin: 0;
    color: var(--muted);
    text-align: center;
    font-size: 12px
}

.invite-bottom-cta {
    position: fixed;
    z-index: 8;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 50%;
    width: min(calc(100% - 60px), 540px);
    min-height: 44px;
    transform: translateX(-50%);
    border: 1px solid #edae26;
    border-radius: 24px;
    background: linear-gradient(100deg, #ffd841, #ffae2d);
    color: #754121;
    font-weight: 750;
    box-shadow: 0 3px 8px rgba(170, 112, 31, .2);
    cursor: pointer
}

.invite-view:after {
    content: "邀请达人 · 多邀多奖励";
    position: fixed;
    z-index: 7;
    right: 0;
    bottom: calc(56px + env(safe-area-inset-bottom));
    left: 0;
    padding: 7px 0 44px;
    background: rgba(99, 95, 88, .72);
    color: #fff;
    text-align: center;
    font-size: 11px;
    pointer-events: none
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 8px 0
}

.menu-item {
    min-height: 78px;
    border: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    color: #635b56
}

.menu-icon {
    font-size: 20px;
    color: #524b46
}

.account-secondary-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding: 4px 0 14px
}

.account-secondary-action {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    cursor: pointer
}

.form-grid {
    display: grid;
    gap: 12px
}

.field-label {
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: var(--muted)
}

.field-input,
.field-select,
.field-textarea {
    width: 100%;
    border: 1px solid #e8dfd9;
    border-radius: 8px;
    padding: 11px 12px;
    background: #fff;
    color: var(--ink)
}

.field-textarea {
    min-height: 86px;
    resize: vertical
}

.modal-backdrop {
    position: fixed;
    z-index: 30;
    inset: 0;
    background: rgba(30, 22, 18, .48);
    display: flex;
    align-items: flex-end;
    justify-content: center
}

.modal {
    width: min(100%, 620px);
    max-height: min(90dvh, 780px);
    overflow: auto;
    background: white;
    border-radius: 16px 16px 0 0;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    box-shadow: var(--shadow);
    animation: rise .2s ease-out
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px
}

.modal-title {
    font-size: 18px;
    font-weight: 800
}

.modal-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f4efec;
    font-size: 20px;
    cursor: pointer
}

.modal-backdrop-social-account {
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, .72)
}

.modal-backdrop-membership-payment {
    padding: 0;
    background: rgba(0, 0, 0, .68)
}

.modal-membership-payment {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-radius: 12px 12px 0 0
}

.modal-membership-payment .modal-head {
    margin-bottom: 8px
}

.modal-membership-payment .modal-title {
    font-size: 15px
}

.modal-membership-payment .modal-close {
    width: 28px;
    height: 28px;
    background: transparent;
    color: #999;
    font-size: 22px
}

.membership-payment-content {
    display: grid;
    gap: 12px
}

.membership-payment-summary {
    display: grid;
    gap: 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f1efed
}

.membership-payment-row,
.membership-payment-amount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #888;
    font-size: 12px
}

.membership-payment-row strong {
    color: #888;
    font-size: 12px;
    font-weight: 500
}

.membership-payment-amount-row {
    min-height: 48px
}

.membership-payment-amount-row>span {
    align-self: flex-start;
    padding-top: 5px
}

.membership-payment-amount {
    color: var(--red);
    font-size: 32px;
    line-height: 1;
    font-weight: 800
}

.membership-payment-heading {
    margin: 0;
    color: #888;
    font-size: 12px;
    font-weight: 500
}

.membership-payment-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
}

.membership-payment-method {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 8px;
    border: 1px solid #e8e5e2;
    border-radius: 4px;
    background: #fff;
    color: #888;
    font-size: 12px;
    cursor: pointer
}

.membership-payment-method.active {
    border-color: #ef5c55;
    color: var(--red)
}

.membership-payment-method.disabled {
    background: #f7f7f7;
    color: #b7b7b7;
    cursor: not-allowed
}

.membership-payment-method.disabled .membership-payment-mark {
    filter: grayscale(1);
    opacity: .6
}

.membership-payment-mark {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 4px;
    background: #1677ff;
    color: #fff;
    font-size: 14px;
    font-weight: 800
}

.membership-payment-mark.wechat {
    background: #09bb07
}

.membership-payment-confirm {
    min-height: 40px;
    border: 0;
    border-radius: 24px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700
}

.membership-payment-confirm:disabled {
    opacity: .7
}

.modal-social-account {
    width: min(100%, 340px);
    max-height: min(85dvh, 520px);
    border-radius: 10px;
    padding: 18px 16px 16px
}

.modal-social-account .modal-head {
    position: relative;
    min-height: 32px;
    justify-content: center;
    margin-bottom: 12px
}

.modal-social-account .modal-title {
    padding: 0 32px;
    font-size: 16px;
    text-align: center
}

.modal-social-account .modal-close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%)
}

.social-account-content {
    display: grid;
    gap: 8px
}

.social-modal-upgrade-button {
    min-height: 40px;
    margin-top: 8px;
    border-radius: 24px;
    background: #e92b2b;
    font-size: 13px;
    font-weight: 700;
    box-shadow: none
}

.social-account-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid #f3ece7;
    font-size: 13px
}

.social-account-label {
    font-weight: 650
}

.social-account-value {
    min-width: 0;
    color: var(--muted);
    overflow-wrap: anywhere
}

.social-unlocked-account {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 3px;
    text-align: center
}

.social-wechat-icon {
    position: relative;
    width: 48px;
    height: 38px;
    margin: 0 auto 5px
}

.social-wechat-icon::before,
.social-wechat-icon::after {
    position: absolute;
    display: block;
    content: "";
    border-radius: 50%;
    background-color: #09bb07;
    background-image: radial-gradient(circle at 38% 43%, #fff 0 1.4px, transparent 1.7px), radial-gradient(circle at 65% 43%, #fff 0 1.4px, transparent 1.7px)
}

.social-wechat-icon::before {
    top: 1px;
    left: 3px;
    width: 30px;
    height: 25px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 70% 78%, 60% 100%, 54% 78%, 0 78%)
}

.social-wechat-icon::after {
    right: 1px;
    bottom: 1px;
    width: 25px;
    height: 21px;
    clip-path: polygon(0 0, 100% 0, 100% 78%, 44% 78%, 36% 100%, 27% 78%, 0 78%)
}

.social-unlocked-value {
    margin: 4px 0 12px;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    overflow-wrap: anywhere
}

.social-copy-button,
.social-modal-action {
    min-height: 42px;
    width: 100%
}

.social-copy-note {
    margin: 10px 0 0;
    color: #aaa;
    font-size: 12px
}

.social-copy-inline {
    padding: 6px 10px;
    white-space: nowrap
}

.social-modal-action {
    margin-top: 8px
}

.plan-list {
    display: grid;
    gap: 9px;
    margin: 14px 0
}

.plan-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    padding: 13px;
    cursor: pointer
}

.plan-option:hover {
    border-color: var(--red)
}

.plan-price {
    color: var(--red);
    font-weight: 800;
    font-size: 16px
}

.membership-page {
    display: block;
    padding-top: 0
}

.membership-current {
    position: relative;
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 16px;
    overflow: hidden;
    border-radius: 9px;
    background: linear-gradient(110deg, #575344 0%, #30302f 58%, #292929 100%);
    color: #fff
}

.membership-current:after {
    position: absolute;
    top: -25px;
    right: 22px;
    width: 100px;
    height: 110px;
    transform: rotate(45deg);
    background: rgba(255, 255, 255, .055);
    content: ""
}

.membership-current-badge {
    position: relative;
    z-index: 1;
    padding: 2px 6px;
    border-radius: 3px;
    background: linear-gradient(100deg, #ffe2ae, #f8b969);
    color: #9c5425;
    font-size: 12px;
    font-weight: 800
}

.membership-current-text {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 650
}

.membership-section-heading {
    margin: 0;
    font-size: 14px;
    font-weight: 700
}

.membership-page .plan-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin: 12px 0 11px
}

.membership-page .plan-option {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 88px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 13px 3px 7px;
    border: 1px solid #e8e5e2;
    border-radius: 5px;
    background: #fff;
    text-align: center
}

.membership-page .plan-option.active {
    border-color: var(--red);
    background: #fff7f6
}

.plan-duration {
    color: #383431;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap
}

.plan-unit-price {
    display: flex;
    align-items: baseline;
    gap: 1px;
    color: var(--red);
    white-space: nowrap
}

.plan-unit-price strong {
    font-size: 16px;
    font-weight: 800
}

.plan-unit-price small {
    font-size: 9px
}

.membership-page .plan-price {
    color: #aaa4a0;
    font-size: 9px;
    font-weight: 400;
    white-space: nowrap
}

.plan-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    width: 11px;
    height: 14px;
    place-items: center;
    border-radius: 4px 0 3px;
    background: #ff7778;
    color: #fff;
    font-size: 8px;
    line-height: 1
}

.plan-hot-label {
    position: absolute;
    top: -8px;
    right: 3px;
    padding: 1px 4px;
    border-radius: 5px;
    background: #ffe3c3;
    color: #804b2b;
    font-size: 8px;
    line-height: 1.4;
    white-space: nowrap
}

.membership-open-button {
    min-height: 38px;
    margin-top: 0;
    border: 0;
    border-radius: 22px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700
}

.membership-open-button:disabled {
    opacity: .7
}

.membership-terms {
    margin: 10px 0 17px;
    color: #aaa4a0;
    font-size: 10px;
    text-align: center
}

.membership-benefits .membership-section-heading {
    margin-bottom: 12px
}

.membership-benefit-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px
}

.membership-benefit {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center
}

.membership-benefit-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 7px solid #f5eeeb;
    border-radius: 50%;
    background: #5a504e;
    color: #fff;
    font-size: 14px;
    line-height: 1
}

.membership-benefit strong {
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap
}

.membership-benefit small {
    color: #aaa4a0;
    font-size: 9px;
    line-height: 1.4
}

.legacy-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    margin: 8px 0 16px
}

.phone-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px
}

.phone-code-row .field-input {
    min-width: 0
}

.legacy-user-list {
    display: grid;
    gap: 12px
}

.legacy-user-row {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 11px;
    padding: 11px 0 14px;
    border-bottom: 1px solid var(--line)
}

.legacy-user-photo {
    width: 68px;
    height: 82px;
    overflow: hidden;
    background: #f1eeeb
}

.legacy-user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.legacy-user-content {
    min-width: 0
}

.legacy-user-content .person-name {
    overflow-wrap: anywhere
}

.legacy-coordinates,
.legacy-social-line {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    overflow-wrap: anywhere
}

.legacy-gallery,
.legacy-detail-gallery {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: 8px 0
}

.legacy-gallery img {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    object-fit: cover;
    background: #f1eeeb
}

.legacy-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0
}

.legacy-pagination button {
    padding: 7px 10px
}

.scroll-sentinel,
.scroll-end {
    padding: 13px 8px;
    color: var(--muted);
    font-size: 12px;
    text-align: center
}

.legacy-detail {
    display: grid;
    gap: 7px
}

.legacy-detail-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px
}

.legacy-detail-avatar {
    width: 54px;
    height: 54px;
    object-fit: cover;
    background: #f1eeeb
}

.legacy-detail-field {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere
}

.legacy-detail-field span:first-child {
    color: var(--muted)
}

.legacy-detail-gallery img {
    width: 88px;
    height: 110px;
    flex: 0 0 88px;
    object-fit: cover;
    background: #f1eeeb
}

.toast {
    position: fixed;
    z-index: 60;
    left: 50%;
    bottom: calc(88px + env(safe-area-inset-bottom));
    transform: translate(-50%, 12px);
    padding: 10px 14px;
    border-radius: 20px;
    background: rgba(38, 33, 30, .9);
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    max-width: calc(100vw - 32px);
    text-align: center
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0)
}

.loading {
    padding: 25px;
    text-align: center;
    color: var(--muted)
}

.location-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    margin: 0 0 12px;
    border-radius: 7px;
    background: #fff0ed;
    color: #b24a3b;
    font-size: 12px
}

.hidden {
    display: none !important
}

.auth-card {
    max-width: 420px;
    margin: 12vh auto 0;
    padding: 20px
}

.auth-title {
    font-size: 24px;
    font-weight: 850;
    margin: 0 0 6px
}

.auth-subtitle {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 18px
}

.link-button {
    border: 0;
    background: transparent;
    color: var(--red);
    cursor: pointer;
    padding: 7px 0
}

.view-transition {
    animation: appear .24s ease-out
}

@keyframes rise {
    from {
        transform: translateY(12px);
        opacity: .7
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(min-width:700px) {
    body {
        background: #f5efea
    }

    .app-shell {
        min-height: 100vh
    }

    .view {
        padding-right: 22px;
        padding-left: 22px
    }

    .topbar {
        padding-left: 22px;
        padding-right: 22px
    }

    .modal-backdrop {
        align-items: center
    }

    .modal {
        border-radius: 14px
    }

    .profile-body {
        margin-left: -22px;
        margin-right: -22px;
        padding-left: 22px;
        padding-right: 22px
    }
}