/*
 * 春城心遇 UI Component System v1
 * 统一字号、8pt 间距、触控尺寸、按钮、卡片、表单和导航。
 * 主题文件只提供颜色与气质，不再各自发明组件尺寸。
 */
:root{
  --ui-font-caption:12px;
  --ui-font-meta:13px;
  --ui-font-body:15px;
  --ui-font-label:14px;
  --ui-font-button:15px;
  --ui-font-subtitle:18px;
  --ui-font-title:22px;
  --ui-font-display:28px;
  --ui-line-tight:1.25;
  --ui-line-body:1.6;
  --ui-space-1:4px;
  --ui-space-2:8px;
  --ui-space-3:12px;
  --ui-space-4:16px;
  --ui-space-5:20px;
  --ui-space-6:24px;
  --ui-space-8:32px;
  --ui-radius-control:12px;
  --ui-radius-card:16px;
  --ui-radius-large:22px;
  --ui-control-height:48px;
  --ui-button-height:52px;
  --ui-card-border:1px solid color-mix(in srgb,var(--line) 92%,transparent);
  --ui-card-shadow:0 1px 2px rgba(24,20,22,.04),0 8px 24px color-mix(in srgb,var(--theme-shadow) 28%,transparent);
  --ui-card-shadow-raised:0 2px 4px rgba(24,20,22,.05),0 16px 38px color-mix(in srgb,var(--theme-shadow) 42%,transparent);
}
html[data-theme="editorial"]{--ui-radius-control:6px;--ui-radius-card:8px;--ui-radius-large:12px}
html[data-theme="night"]{--ui-radius-control:12px;--ui-radius-card:14px;--ui-radius-large:20px;--ui-card-border:1px solid #303642;--ui-card-shadow:0 1px 1px rgba(0,0,0,.3),0 12px 28px rgba(0,0,0,.24)}

/* Base typography */
html,body{font-size:var(--ui-font-body);line-height:var(--ui-line-body)}
button,input,textarea,select{font-size:var(--ui-font-body)}
.status-bar{height:36px;padding:10px 20px 4px;font-size:11px}
.screen{height:calc(100% - 36px)}
.page-content{padding:0 var(--ui-space-5) 36px}
.app-head{height:76px;padding:10px var(--ui-space-4);grid-template-columns:44px 1fr 44px}
.app-head>button{width:42px;height:42px;border-radius:var(--ui-radius-control)}
.head-title>span{font-size:10px;letter-spacing:1.5px}
.head-title h1{font-size:19px;line-height:1.25;margin-top:3px;letter-spacing:-.25px}
.inline-role{top:-2px;font-size:10px;min-height:24px;padding:2px 4px}
.intro{padding:var(--ui-space-6) 2px var(--ui-space-5)}

.intro p{margin-top:var(--ui-space-3);font-size:var(--ui-font-body);line-height:1.68;color:var(--muted)}

/* Unified cards */
.ui-card{border:var(--ui-card-border)!important;border-radius:var(--ui-radius-card)!important;background:var(--surface)!important;box-shadow:var(--ui-card-shadow)!important}
.ui-card--notice{box-shadow:none!important}
.ui-list-row{min-height:58px;padding:15px 16px!important;gap:14px!important;align-items:flex-start!important}
.ui-list-row>span{font-size:11px!important;line-height:22px!important;letter-spacing:.4px}
.ui-list-row>p{font-size:14px!important;line-height:1.58!important;color:var(--ink-2)!important}
.bullet-list{gap:10px;margin:16px 0 20px}
.notice{padding:15px 16px;gap:12px;border-radius:var(--ui-radius-card)}
.notice b{font-size:12px;line-height:1.55}
.notice p{font-size:13px;line-height:1.58}
.consent-card{padding:28px 22px;border-radius:var(--ui-radius-large)}
.consent-card h2{font-size:23px;line-height:1.3}
.consent-card p{font-size:14px;line-height:1.65}
.agree{font-size:13px;line-height:1.55}

/* Unified buttons and chips */
.ui-button,.page-actions button{min-height:var(--ui-button-height);padding:0 18px;border-radius:var(--ui-radius-control)!important;font-size:var(--ui-font-button)!important;line-height:1.2;font-weight:700;letter-spacing:0;box-shadow:none;display:inline-flex;align-items:center;justify-content:center}
.ui-button--primary,.page-actions .primary{box-shadow:0 8px 20px color-mix(in srgb,var(--brand) 24%,transparent)!important}
.ui-button--secondary,.page-actions .secondary{background:var(--surface)!important;border:1px solid var(--line-strong)!important;color:var(--ink)!important}
.page-actions{padding:18px var(--ui-space-5) 20px;gap:12px}
.choice-grid{gap:10px}
.ui-chip,.choice{min-height:44px;padding:10px 14px;border-radius:var(--ui-radius-control)!important;font-size:14px!important;line-height:1.3;font-weight:650}
.segment{height:46px;padding:3px;border-radius:var(--ui-radius-control)}
.segment button{min-height:38px;border-radius:calc(var(--ui-radius-control) - 3px);font-size:14px;font-weight:650}
.quick-filters{gap:8px;margin-top:14px;padding-bottom:4px;overflow-x:auto;scrollbar-width:none}
.quick-filters button{flex:none;min-height:36px;padding:0 13px;border-radius:10px;font-size:12px;font-weight:650}
.message-filter{height:44px;padding:3px;border-radius:var(--ui-radius-control)}
.message-filter button{font-size:13px;border-radius:calc(var(--ui-radius-control) - 3px)}

/* Unified form controls */
.form-stack{gap:18px}
.form-stack label>span{margin-bottom:8px;font-size:13px;font-weight:650;color:var(--ink-2)}
.ui-field,.form-stack input,.form-stack textarea,.form-stack select{width:100%;min-height:var(--ui-control-height);padding:13px 14px;border:1px solid var(--line-strong);border-radius:var(--ui-radius-control)!important;background:var(--surface);color:var(--ink);font-size:15px!important;line-height:1.45;outline:none;box-shadow:0 1px 2px rgba(0,0,0,.025);transition:border-color .18s,box-shadow .18s}
.form-stack textarea{min-height:116px;resize:vertical}
.ui-field:focus,.form-stack input:focus,.form-stack textarea:focus,.form-stack select:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent)}
.upload{width:100%;min-height:92px!important;flex-direction:column;gap:6px;border-style:dashed!important}
.upload i{font-size:22px;font-style:normal}

/* Results, settings, devices, plans */
.result-wrap{padding:48px 18px 24px}
.result-icon{width:68px;height:68px;font-size:28px}
.result-wrap h2{margin-top:20px;font-size:24px;line-height:1.3}
.result-wrap p{font-size:14px;line-height:1.65}
.setting-list{border-radius:var(--ui-radius-card)}
.setting-list>div{min-height:58px;padding:12px 16px}
.setting-list>div>span{font-size:14px;line-height:1.45}
.toggle{width:48px;height:28px}
.plan-stack,.device-list{gap:12px}
.plan-card,.device{min-height:72px;padding:14px 16px;border-radius:var(--ui-radius-card)!important}
.plan-card b,.device b{font-size:15px}
.plan-card span,.device p{font-size:12px;line-height:1.5}
.plan-card em,.device em{font-size:11px}

/* Discovery and profile */
.discover-top{padding:22px var(--ui-space-5) 12px}
.location-row>div>span{font-size:12px;letter-spacing:.4px}
.location-row h2{margin-top:4px;font-size:26px;line-height:1.22;letter-spacing:-.7px}
.location-row>button{min-height:40px;padding:0 14px;border-radius:var(--ui-radius-control);font-size:13px;font-weight:700}
.discover-top>p{margin:14px 1px 0;font-size:13px;line-height:1.45}
.people-grid{padding:4px var(--ui-space-5) 28px;gap:16px}
.person{overflow:hidden;border-radius:var(--ui-radius-large)!important;box-shadow:var(--ui-card-shadow-raised)!important}
.person-photo{height:310px}
.activity-pill{top:12px;left:12px;padding:7px 10px;font-size:11px}
.person-photo>em{right:12px;top:12px;padding:7px 10px;font-size:11px}
.person-info{padding:15px 16px 17px}
.person-info h3{font-size:20px;line-height:1.25;letter-spacing:-.2px}
.person-info h3 small{font-size:15px}
.person-info>div>span{padding:5px 8px;font-size:10px;line-height:1.2}
.person-info>p{margin-top:8px;font-size:13px}
.profile-card{overflow:hidden}
.profile-main{padding:18px}
.profile-title h2{font-size:23px}
.profile-title h2 small{font-size:16px}
.profile-title>span{font-size:13px}
.verification-row span,.tag-row span,.verified-badges span{font-size:11px;line-height:1.25}
.profile-main .bio{font-size:14px;line-height:1.65}
.profile-identity h2{font-size:27px}.profile-identity h2 small{font-size:18px}.profile-identity>p{font-size:13px}

/* Feed and activity */
.feed-list{padding:8px var(--ui-space-5) 28px;gap:16px}
.feed-card{padding:16px!important;border-radius:var(--ui-radius-large)!important}
.feed-user img{width:44px;height:44px}
.feed-user b{font-size:14px}.feed-user b span{font-size:10px}.feed-user p{font-size:11px}
.feed-copy{font-size:14px!important;line-height:1.68!important;margin:14px 0!important}
.feed-scene{min-height:170px;padding:18px;border-radius:var(--ui-radius-card)}
.feed-scene span,.feed-scene em{font-size:11px}.feed-scene b{font-size:19px;line-height:1.3}
.feed-actions{margin-top:14px;font-size:13px}.feed-actions button{min-height:38px;padding:0 16px;border-radius:10px;font-size:13px;font-weight:700}
.activity-poster{padding:30px 24px;border-radius:var(--ui-radius-large)}
.activity-poster span,.activity-poster p{font-size:13px}.activity-poster h2{font-size:30px;line-height:1.2}

/* Recommendation, messages and chat */
.recommend-card{overflow:hidden;border-radius:var(--ui-radius-large)!important}
.recommend-name h2{font-size:28px}.recommend-name h2 small{font-size:19px}.recommend-name p{font-size:12px}
.recommend-info{padding:18px}.match-score span{font-size:28px}.match-score p{font-size:12px}.match-reason{font-size:14px;line-height:1.65}.recommend-tags span{font-size:11px}
.message-list{gap:10px}
.message-list article{min-height:78px;padding:13px 14px!important;border-radius:var(--ui-radius-card)!important}
.message-list article>img{width:48px;height:48px}.message-list article b{font-size:14px}.message-list article b i{font-size:9px}.message-list article p{margin-top:4px;font-size:13px;line-height:1.4}.message-list article small{font-size:11px}
.chat-safe{padding:11px 16px;font-size:12px;line-height:1.5}.chat-safe span{font-size:11px}
.chat-profile{min-height:66px;padding:10px 16px}.chat-profile img{width:44px;height:44px}.chat-profile b{font-size:15px}.chat-profile span{font-size:11px}
.chat-scroll{padding:18px 16px}.chat-scroll .day{font-size:11px}.bubble{max-width:79%;padding:11px 14px;font-size:14px;line-height:1.55;border-radius:16px}
.quick-replies button{min-height:36px;padding:0 12px;font-size:12px}
.composer{min-height:66px;padding:9px 12px;gap:8px}.composer input{height:44px;padding:0 14px;font-size:14px;border-radius:12px}.composer button{min-height:42px;font-size:13px}

/* Verification and monetization */
.publish-gate{padding:24px;border-radius:var(--ui-radius-large)}
.gate-brand span{font-size:11px}.publish-gate h2{font-size:25px;line-height:1.3}.publish-gate>p{font-size:14px;line-height:1.65}
.gate-steps{gap:10px}.gate-steps>div{min-height:60px;padding:12px 13px;border-radius:var(--ui-radius-control)}.gate-steps i{width:28px;height:28px;font-size:11px}.gate-steps b{font-size:14px}.gate-steps span{font-size:11px;line-height:1.45}.gate-privacy{padding:12px;font-size:11px;line-height:1.5}
.match-compare article>span{font-size:13px}.match-compare article>button{min-height:40px;font-size:12px}.match-status span{font-size:14px}.match-status p{font-size:12px;line-height:1.55}
.member-hero{padding:30px 24px}.member-hero>span{font-size:12px}.member-hero h2{font-size:31px;line-height:1.18}.member-hero p{font-size:13px}.member-hero strong{font-size:38px}
.entitlement-card{border-radius:var(--ui-radius-large)}

/* Navigation and privacy */
.bottom-nav{height:72px;padding:7px 8px 10px}
.bottom-nav button{font-size:11px;line-height:1.2;font-weight:600}.bottom-nav span{font-size:21px;line-height:1.1}
.page:has(.bottom-nav){padding-bottom:166px}.page:has(.bottom-nav) .page-actions{bottom:72px}
.privacy-grid{gap:10px}.privacy-grid button{min-height:62px;padding:13px;border-radius:var(--ui-radius-card)}.privacy-grid button span{font-size:20px}.privacy-grid button b{font-size:13px}.privacy-grid button em{font-size:18px}
.appearance-entry{min-height:78px;padding:14px 16px;border-radius:var(--ui-radius-card)!important}.appearance-entry>div:nth-child(2)>span{font-size:10px}.appearance-entry>div:nth-child(2)>b{font-size:16px}.appearance-entry>div:nth-child(2)>p{font-size:11px}

/* Theme selector uses the same system */
.theme-head span{font-size:10px}.theme-head b{font-size:24px}.theme-head p{font-size:13px}.theme-option{border-radius:var(--ui-radius-card)}.theme-copy>b{font-size:17px}.theme-copy>span{font-size:10px}.theme-copy p{font-size:13px}.theme-note b{font-size:13px}.theme-note span{font-size:12px}

@media(max-width:520px){
  .status-bar{height:34px}.screen{height:calc(100% - 34px)}
  .page-content{padding-left:18px;padding-right:18px}
  .discover-top,.people-grid,.feed-list{padding-left:18px;padding-right:18px}
}

/* Core discovery uses one immersive, full-width card instead of cramped mini cards. */
.people-grid{grid-template-columns:1fr;gap:18px}
.person-photo{height:350px}
.person-info{padding:16px 18px 18px}
.person-info>div{gap:12px}
.person-info h3{height:auto!important;white-space:nowrap}
.person-info>div>span{font-size:11px;padding:6px 9px}
.quick-filters button{min-height:40px}
.feed-actions button,.quick-replies button{min-height:40px}
.inline-role{top:-9px;right:-4px;min-width:68px;min-height:40px;padding:0 8px;border-radius:10px;font-size:11px}
.feed-user>button{width:44px;height:44px;border-radius:10px;font-size:15px}
.message-filter{height:46px}.message-filter button{min-height:40px}

/* SMS verification code component */
.otp-card{padding:20px;margin-top:2px}
.otp-recipient{display:flex;align-items:center;justify-content:space-between;gap:12px}
.otp-recipient span,.otp-recipient b{display:block}.otp-recipient span{font-size:12px;color:var(--muted)}.otp-recipient b{margin-top:3px;font-size:16px;letter-spacing:.4px}.otp-recipient button{min-height:40px;padding:0 10px;border:0;border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);font-size:12px;font-weight:700}
.otp-inputs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:22px 0 18px}
.otp-inputs input{width:100%;height:54px;padding:0;border:1px solid var(--line-strong);border-radius:var(--ui-radius-control);background:var(--surface-warm);color:var(--ink);font-size:24px;font-weight:750;text-align:center;caret-color:var(--brand);outline:none;transition:border-color .18s,box-shadow .18s,background .18s}
.otp-inputs input:focus{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent)}
.otp-footer{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:14px}
.otp-footer>span{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.otp-footer>button{min-height:40px;padding:0 12px;border:0;border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);font-size:13px;font-weight:750}
.otp-footer>button:disabled{background:transparent;color:var(--muted);opacity:.72;cursor:not-allowed}
.otp-help{margin-top:12px;padding:15px 16px;box-shadow:none!important}.otp-help b{font-size:14px}.otp-help p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.58}
html[data-theme="editorial"] .otp-inputs input{border-radius:6px}
html[data-theme="night"] .otp-inputs input{background:#11151d}

/* Consent checkbox is vertically centered within the complete agreement row. */
.agree{min-height:64px;align-items:center;padding:14px 16px;cursor:pointer}
.agree input{flex:0 0 auto;width:20px;height:20px;margin:0;align-self:center}
.agree span{display:block;flex:1}

/* Graphic gender selection component */
.gender-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:2px 0 14px}
.gender-choice{position:relative;min-height:258px;padding:16px 14px 15px;overflow:hidden;border:1px solid var(--line-strong);border-radius:var(--ui-radius-large);background:var(--surface);color:var(--ink);text-align:left;cursor:pointer;box-shadow:var(--ui-card-shadow);transition:transform .16s,border-color .2s,box-shadow .2s,background .2s}
.gender-choice:active{transform:scale(.985)}
.gender-choice.selected{border-color:var(--brand);background:linear-gradient(180deg,var(--surface),color-mix(in srgb,var(--brand-soft) 52%,var(--surface)));box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent),var(--ui-card-shadow-raised)}
.gender-label{position:absolute;left:16px;top:15px;z-index:2}.gender-label b,.gender-label small{display:block}.gender-label b{font-size:18px;line-height:1.2}.gender-label small{margin-top:4px;color:var(--muted);font-size:10px;font-weight:750;letter-spacing:1.2px}
.gender-selected{position:absolute;right:14px;top:14px;width:24px;height:24px;border:1px solid var(--line-strong);border-radius:50%;display:grid;place-items:center;background:var(--surface);color:transparent;font-size:12px;font-weight:850;transition:.2s}.gender-choice.selected .gender-selected{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}
.gender-figure{position:absolute;left:50%;top:52%;width:112px;height:126px;transform:translate(-50%,-50%);display:block}
.gender-figure:before{content:"";position:absolute;inset:2px;border-radius:50%;background:color-mix(in srgb,var(--brand) 9%,transparent);border:1px solid color-mix(in srgb,var(--brand) 18%,transparent)}
.gender-head{position:absolute;z-index:2;left:50%;top:23px;width:42px;height:42px;transform:translateX(-50%);border-radius:50%;background:linear-gradient(145deg,color-mix(in srgb,var(--brand) 68%,white),var(--brand-deep));box-shadow:0 8px 18px color-mix(in srgb,var(--brand) 24%,transparent)}
.gender-body{position:absolute;z-index:1;left:50%;bottom:20px;width:72px;height:52px;transform:translateX(-50%);border-radius:38px 38px 16px 16px;background:linear-gradient(160deg,var(--ink-2),var(--ink))}
.gender-figure.female .gender-head:before{content:"";position:absolute;left:-6px;top:-5px;width:54px;height:57px;border:5px solid color-mix(in srgb,var(--ink) 88%,transparent);border-bottom:0;border-radius:50% 50% 42% 42%}
.gender-figure.male .gender-head:before{content:"";position:absolute;left:2px;right:2px;top:-4px;height:12px;border-radius:12px 12px 5px 5px;background:color-mix(in srgb,var(--ink) 88%,transparent);transform:rotate(-4deg)}
.gender-figure em{position:absolute;z-index:3;right:4px;bottom:8px;width:34px;height:34px;border:3px solid var(--surface);border-radius:50%;display:grid;place-items:center;background:var(--brand);color:var(--on-brand);font-size:22px;line-height:1;font-style:normal;font-family:-apple-system,BlinkMacSystemFont,sans-serif;box-shadow:0 5px 14px color-mix(in srgb,var(--brand) 24%,transparent)}
.gender-copy{position:absolute;left:12px;right:12px;bottom:13px;text-align:center;color:var(--muted);font-size:12px;line-height:1.35}
.gender-note{padding:15px 16px;box-shadow:none!important}.gender-note b{font-size:14px}.gender-note p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.58}
html[data-theme="editorial"] .gender-choice{border-radius:10px}
html[data-theme="night"] .gender-choice.selected{background:linear-gradient(180deg,#171b24,#242214)}
@media(max-width:360px){.gender-choice-grid{gap:9px}.gender-choice{min-height:244px;padding-left:11px;padding-right:11px}.gender-label{left:13px}.gender-copy{font-size:11px}}

/* GPT Image 2 onboarding feature artwork */
.feature-art{position:relative;height:248px;margin:2px 0 20px;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 78%,transparent);border-radius:var(--ui-radius-large);background:var(--surface-warm);box-shadow:var(--ui-card-shadow-raised)}
.feature-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.01)}
.feature-art[class~="03-welcome"] img{object-position:center 42%}
.feature-art[class~="04-onboarding-activity"] img{object-position:center 48%}
.feature-art[class~="05-onboarding-safety"] img{object-position:center 45%}
.feature-art-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,8,12,.02) 34%,rgba(5,8,12,.66) 100%)}
.feature-art figcaption{position:absolute;left:18px;right:18px;bottom:16px;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.3)}
.feature-art figcaption span,.feature-art figcaption b{display:block}.feature-art figcaption span{font-size:10px;font-weight:850;letter-spacing:1.5px;color:rgba(255,255,255,.78)}.feature-art figcaption b{margin-top:4px;font-size:16px;line-height:1.3}
html[data-theme="editorial"] .feature-art{border-radius:10px}
html[data-theme="night"] .feature-art{border-color:#343a46;box-shadow:0 18px 42px rgba(0,0,0,.38)}

/* Location permission explanation, native prompt simulation and manual city picker */
.location-purpose{padding:22px;margin-top:2px;border-radius:var(--ui-radius-large)!important}
.location-purpose-icon{position:relative;width:86px;height:86px;margin:2px 0 18px;border-radius:28px;background:linear-gradient(145deg,var(--brand),var(--violet));box-shadow:0 16px 30px color-mix(in srgb,var(--brand) 22%,transparent)}
.location-purpose-icon>i{position:absolute;left:50%;top:17px;width:34px;height:43px;transform:translateX(-50%);border:4px solid var(--on-brand);border-radius:50% 50% 50% 10px;rotate:-45deg}.location-purpose-icon>i:after{content:"";position:absolute;left:50%;top:8px;width:9px;height:9px;transform:translateX(-50%);border:3px solid var(--on-brand);border-radius:50%}
.location-purpose-icon>span{position:absolute;right:10px;bottom:10px;width:28px;height:28px;border:3px solid var(--surface);border-radius:50%;background:var(--jade)}
.location-purpose>span{font-size:11px;color:var(--brand-deep);font-weight:850;letter-spacing:1px}.location-purpose h2{margin:7px 0 8px;font-size:24px;line-height:1.3}.location-purpose>p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.location-purpose-list{display:grid;gap:0;margin-top:20px;border-top:1px solid var(--line)}.location-purpose-list>div{min-height:66px;padding:12px 0;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.location-purpose-list i{font-style:normal;font-size:11px;color:var(--brand-deep);font-weight:850}.location-purpose-list span,.location-purpose-list b,.location-purpose-list small{display:block}.location-purpose-list b{font-size:14px}.location-purpose-list small{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}
.location-privacy{margin:12px 2px 0;padding:13px 14px;border-left:3px solid var(--jade);background:color-mix(in srgb,var(--jade) 8%,var(--surface));border-radius:0 var(--ui-radius-control) var(--ui-radius-control) 0}.location-privacy b,.location-privacy span{display:block}.location-privacy b{font-size:13px}.location-privacy span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.5}
.system-permission-layer{position:absolute;z-index:80;inset:0;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(5,7,10,.48);backdrop-filter:blur(5px)}
.system-permission-dialog{width:310px;overflow:hidden;border-radius:24px;background:rgba(250,250,252,.97);color:#151517;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,.35);backdrop-filter:blur(24px)}.system-permission-dialog>img{width:54px;height:54px;margin:22px auto 8px;border-radius:14px}.system-permission-dialog h2{padding:0 22px;margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;font-size:18px;line-height:1.35}.system-permission-dialog>p{padding:0 24px;margin:8px 0 14px;color:#66666c;font-size:13px;line-height:1.5}
.system-permission-map{position:relative;height:94px;margin:0 18px 14px;overflow:hidden;border-radius:14px;background:radial-gradient(circle at 58% 42%,rgba(35,115,255,.18),transparent 16%),linear-gradient(145deg,#dfe7e3,#f2eee7)}.system-permission-map:before,.system-permission-map:after{content:"";position:absolute;background:rgba(255,255,255,.8);transform:rotate(-16deg)}.system-permission-map:before{left:-10px;top:24px;width:340px;height:13px}.system-permission-map:after{left:90px;top:-20px;width:12px;height:150px}.system-permission-map i{position:absolute;z-index:2;left:54%;top:36%;width:19px;height:19px;border:5px solid #fff;border-radius:50%;background:#2b72ff;box-shadow:0 3px 10px rgba(43,114,255,.38)}.system-permission-map span{position:absolute;z-index:2;left:12px;bottom:9px;padding:4px 7px;border-radius:6px;background:rgba(255,255,255,.82);color:#55555b;font-size:9px}
.system-permission-dialog>button{width:100%;height:49px;border:0;border-top:1px solid rgba(60,60,67,.2);background:transparent;color:#087bf1;font-size:16px;font-weight:500}.system-permission-dialog>button:active{background:rgba(0,0,0,.06)}.system-permission-dialog>button.deny{color:#df3b42}
.city-search{position:relative;margin:0 0 14px}.city-search>span{position:absolute;left:15px;top:50%;width:14px;height:14px;transform:translateY(-58%);border:2px solid var(--muted);border-radius:50%}.city-search>span:after{content:"";position:absolute;right:-5px;bottom:-3px;width:6px;height:2px;background:var(--muted);rotate:45deg}.city-search input{width:100%;height:48px;padding:0 14px 0 42px;border:1px solid var(--line-strong);border-radius:var(--ui-radius-control);background:var(--surface);color:var(--ink);font-size:14px;outline:none}.city-search input:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 13%,transparent)}
.city-current{padding:16px 18px;display:grid;grid-template-columns:1fr auto;align-items:center}.city-current span,.city-current b,.city-current small{display:block}.city-current span{font-size:11px;color:var(--brand-deep);font-weight:800}.city-current b{grid-row:1/3;grid-column:2;font-size:20px}.city-current small{margin-top:3px;color:var(--muted);font-size:12px}
.city-section{margin-top:20px}.city-section h2{margin:0 0 10px;font-size:16px}.city-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.city-grid button{position:relative;min-height:46px;border:1px solid var(--line);border-radius:var(--ui-radius-control);background:var(--surface);color:var(--ink);font-size:13px}.city-grid button i{display:none;position:absolute;right:6px;top:5px;font-style:normal;color:var(--brand);font-size:9px}.city-grid button.selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep);font-weight:750}.city-grid button.selected i{display:block}
.city-list{overflow:hidden;border:var(--ui-card-border);border-radius:var(--ui-radius-card);background:var(--surface)}.city-list button{width:100%;min-height:54px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font-size:14px}.city-list button:last-child{border-bottom:0}.city-list button em{font-style:normal;color:var(--muted);font-size:12px}.city-list button.selected span{color:var(--brand-deep);font-weight:750}.city-list button.selected em{color:var(--brand-deep)}
[data-city-choice][hidden]{display:none!important}
html[data-theme="editorial"] .location-purpose,html[data-theme="editorial"] .city-list{border-radius:10px!important}
html[data-theme="night"] .system-permission-layer{background:rgba(0,0,0,.62)}
.selected-city-bar{min-height:68px;margin-bottom:16px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between}.selected-city-bar span,.selected-city-bar b{display:block}.selected-city-bar span{font-size:11px;color:var(--muted)}.selected-city-bar b{margin-top:2px;font-size:18px}.selected-city-bar button{min-height:40px;padding:0 12px;border:0;border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);font-size:12px;font-weight:750}

/* Avoid WebKit/SVG distortion under frosted activity labels. */
.activity-pill,.person-photo>em{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:1px solid rgba(255,255,255,.2);box-shadow:0 5px 14px rgba(0,0,0,.18)}
.activity-pill{background:rgba(17,20,24,.74)!important}
.person-photo>em{background:rgba(250,250,250,.9)!important}

/* Editorial profile details: narrative, visual interests and meeting rhythm. */
.profile-story{position:relative;margin:0 0 22px;padding:22px 20px 18px;overflow:hidden;border-radius:var(--ui-radius-large)!important}.profile-story:after{content:"“";position:absolute;right:10px;top:-24px;color:color-mix(in srgb,var(--brand) 10%,transparent);font-family:Georgia,serif;font-size:122px;line-height:1}.story-kicker{position:relative;z-index:1;font-size:10px;color:var(--brand-deep);font-weight:850;letter-spacing:1.5px}.profile-story blockquote{position:relative;z-index:1;margin:12px 0 18px;font-family:var(--headline-font);font-size:20px;line-height:1.55;letter-spacing:-.25px;color:var(--ink)}.profile-style-tags{position:relative;z-index:1;display:flex;gap:8px}.profile-style-tags span{padding:7px 11px;border:1px solid var(--line);border-radius:10px;background:var(--surface-warm);color:var(--ink-2);font-size:12px;font-weight:650}
.profile-likes{margin:0 0 22px}.profile-section-head span,.profile-section-head b{display:block}.profile-section-head span{font-size:11px;color:var(--brand-deep);font-weight:850;letter-spacing:.8px}.profile-section-head b{margin-top:4px;font-size:17px;line-height:1.35}.interest-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:13px}.interest-tiles article{position:relative;min-height:132px;padding:12px;overflow:hidden;border:var(--ui-card-border);border-radius:var(--ui-radius-card);background:var(--surface);box-shadow:var(--ui-card-shadow)}.interest-tiles article>small{position:absolute;right:10px;top:9px;color:var(--muted);font-size:9px;font-weight:800}.interest-tiles article>b{position:absolute;left:12px;bottom:12px;font-size:14px}.interest-symbol{position:absolute;left:13px;top:28px;width:50px;height:50px;border-radius:16px;display:block;background:color-mix(in srgb,var(--brand) 10%,var(--surface-warm));color:var(--brand-deep)}
.interest-symbol:before,.interest-symbol:after,.interest-symbol i:before,.interest-symbol i:after{content:"";position:absolute;display:block}.interest-symbol.bike:before,.interest-symbol.bike:after{bottom:9px;width:17px;height:17px;border:3px solid currentColor;border-radius:50%}.interest-symbol.bike:before{left:5px}.interest-symbol.bike:after{right:4px}.interest-symbol.bike i:before{left:14px;top:19px;width:22px;height:3px;background:currentColor;rotate:24deg}.interest-symbol.coffee:before{left:10px;top:13px;width:24px;height:22px;border:3px solid currentColor;border-radius:4px 4px 10px 10px}.interest-symbol.coffee:after{right:6px;top:18px;width:10px;height:11px;border:3px solid currentColor;border-left:0;border-radius:0 9px 9px 0}.interest-symbol.movie:before{left:9px;top:13px;width:31px;height:24px;border:3px solid currentColor;border-radius:5px}.interest-symbol.movie:after{left:10px;top:8px;width:32px;height:8px;background:repeating-linear-gradient(120deg,currentColor 0 4px,transparent 4px 8px);rotate:-8deg}.interest-symbol.camera:before{left:8px;top:15px;width:34px;height:24px;border:3px solid currentColor;border-radius:6px}.interest-symbol.camera:after{left:19px;top:20px;width:10px;height:10px;border:3px solid currentColor;border-radius:50%}.interest-symbol.gallery:before{left:9px;top:11px;width:32px;height:29px;border:3px solid currentColor;border-radius:16px 16px 3px 3px}.interest-symbol.life:before{left:13px;top:13px;width:24px;height:24px;border:3px solid currentColor;border-radius:50%}
.meeting-preference{min-height:110px;margin-bottom:10px;padding:18px;display:grid;grid-template-columns:58px 1fr;gap:15px;align-items:center;border-radius:var(--ui-radius-large)!important}.meeting-icon{position:relative;width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,var(--brand),var(--brand-deep));box-shadow:0 10px 22px color-mix(in srgb,var(--brand) 22%,transparent)}.meeting-icon i{position:absolute;left:17px;top:13px;width:24px;height:29px;border:3px solid var(--on-brand);border-radius:50% 50% 50% 8px;rotate:-45deg}.meeting-icon i:after{content:"";position:absolute;left:6px;top:5px;width:6px;height:6px;border:2px solid var(--on-brand);border-radius:50%}.meeting-icon span{position:absolute;right:8px;bottom:8px;width:18px;height:18px;border:3px solid var(--surface);border-radius:50%;background:var(--jade)}.meeting-preference>div:last-child>span,.meeting-preference b,.meeting-preference p{display:block}.meeting-preference>div:last-child>span{font-size:10px;color:var(--brand-deep);font-weight:850;letter-spacing:.8px}.meeting-preference b{margin-top:4px;font-size:16px;line-height:1.45}.meeting-preference p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}
.profile-private{min-height:112px;padding:18px;display:grid;grid-template-columns:54px 1fr;gap:15px;align-items:center}.private-mark{position:relative;width:54px;height:54px;border-radius:18px;background:var(--surface-warm)}.private-mark i{position:absolute;left:16px;top:22px;width:22px;height:18px;border:3px solid var(--brand-deep);border-radius:5px}.private-mark i:before{content:"";position:absolute;left:3px;top:-15px;width:10px;height:13px;border:3px solid var(--brand-deep);border-bottom:0;border-radius:8px 8px 0 0}.profile-private span,.profile-private b,.profile-private p{display:block}.profile-private span{font-size:10px;color:var(--brand-deep);font-weight:850}.profile-private b{margin-top:4px;font-size:15px}.profile-private p{margin:4px 0 0;color:var(--muted);font-size:12px;line-height:1.5}.profile-interest-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.profile-interest-strip span{padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-size:12px}
html[data-theme="editorial"] .profile-story,html[data-theme="editorial"] .meeting-preference,html[data-theme="editorial"] .interest-tiles article{border-radius:10px!important}
html[data-theme="night"] .profile-style-tags span,html[data-theme="night"] .interest-symbol{background:#202632;border-color:#333b49}
@media(max-width:380px){.interest-tiles{gap:7px}.interest-tiles article{min-height:124px;padding:10px}.interest-tiles article>b{left:10px;font-size:13px}.interest-symbol{left:10px}}
.activity-pill{top:auto!important;bottom:12px!important;height:auto!important;min-height:0}

/* Clear, high-contrast chat entitlement confirmation */
.chat-confirm-recipient{min-height:86px;padding:15px 16px;display:flex;align-items:center;gap:14px}.chat-confirm-recipient>img{width:54px;height:54px;flex:none;border-radius:18px;object-fit:cover}.chat-confirm-recipient>div{min-width:0}.chat-confirm-recipient span,.chat-confirm-recipient b,.chat-confirm-recipient p{display:block}.chat-confirm-recipient span{font-size:10px;color:var(--brand-deep);font-weight:850;letter-spacing:.7px}.chat-confirm-recipient b{margin-top:2px;font-size:18px}.chat-confirm-recipient p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.45;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.entitlement-summary{min-height:150px;margin-top:12px;padding:18px;display:grid;grid-template-columns:1.05fr .95fr;gap:0;background:var(--surface)!important}.entitlement-cost,.entitlement-balance{display:flex;min-width:0;flex-direction:column;justify-content:center}.entitlement-cost{padding-right:18px;border-right:1px solid var(--line)}.entitlement-balance{padding-left:18px}.entitlement-cost span,.entitlement-cost small,.entitlement-balance span,.entitlement-balance small{font-size:12px;color:var(--muted)}.entitlement-cost strong{margin:3px 0;color:var(--ink);font-size:48px;line-height:1;font-variant-numeric:tabular-nums}.entitlement-balance b{margin:7px 0 4px;color:var(--ink);font-size:24px;line-height:1.15}.entitlement-cost small,.entitlement-balance small{line-height:1.4}
.delivery-rules{display:grid;gap:0;margin:16px 0;border-top:1px solid var(--line)}.delivery-rules>div{min-height:68px;padding:12px 2px;display:grid;grid-template-columns:30px 1fr;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.delivery-rules i{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-deep);font-style:normal;font-size:11px;font-weight:850}.delivery-rules span,.delivery-rules b,.delivery-rules small{display:block}.delivery-rules b{font-size:14px;line-height:1.4}.delivery-rules small{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}
.skip-confirm{min-height:76px;padding:14px 16px;display:flex;align-items:center;gap:13px;cursor:pointer;box-shadow:none!important}.skip-confirm input{width:21px;height:21px;flex:none;margin:0;accent-color:var(--brand)}.skip-confirm>span,.skip-confirm b,.skip-confirm small{display:block}.skip-confirm b{font-size:14px;line-height:1.35}.skip-confirm small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}
html[data-theme="editorial"] .chat-confirm-recipient,html[data-theme="editorial"] .entitlement-summary,html[data-theme="editorial"] .skip-confirm{border-radius:10px!important}
html[data-theme="night"] .entitlement-summary{background:#151923!important}html[data-theme="night"] .entitlement-cost strong,html[data-theme="night"] .entitlement-balance b{color:#f7f1dc}
@media(max-width:370px){.entitlement-summary{padding:15px}.entitlement-cost{padding-right:13px}.entitlement-balance{padding-left:13px}.chat-confirm-recipient p{white-space:normal}}
.prompt-setting{width:100%;min-height:78px;margin:0 0 13px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;color:var(--ink);cursor:pointer}.prompt-setting>div>span,.prompt-setting>div>b,.prompt-setting>div>p{display:block}.prompt-setting>div>span{font-size:10px;color:var(--brand-deep);font-weight:850;letter-spacing:.5px}.prompt-setting>div>b{margin-top:3px;font-size:15px}.prompt-setting>div>p{margin:3px 0 0;color:var(--muted);font-size:11px;line-height:1.4}.prompt-setting>.toggle{position:relative;width:48px;height:28px;flex:none;border-radius:999px;background:var(--line-strong);transition:.2s}.prompt-setting>.toggle i{position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s}.prompt-setting>.toggle.on{background:var(--brand)}.prompt-setting>.toggle.on i{transform:translateX(20px)}

/* High-contrast discovery filters and photo metadata across all themes. */
.location-row>button{background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line-strong)!important}
.segment{background:var(--surface-warm)!important;border:1px solid var(--line)}
.segment button{color:var(--ink-2)!important}
.segment button.active{background:var(--surface)!important;color:var(--ink)!important;box-shadow:0 3px 10px color-mix(in srgb,var(--theme-shadow) 28%,transparent)!important}
.quick-filters button{background:var(--surface)!important;color:var(--ink-2)!important;border-color:var(--line-strong)!important}
.quick-filters button.active{background:var(--brand)!important;color:var(--on-brand)!important;border-color:var(--brand)!important;box-shadow:0 5px 14px color-mix(in srgb,var(--brand) 20%,transparent)}
.discover-top>p,.discover-top>p span{color:var(--muted)!important}.discover-top>p b{color:var(--ink)!important}
.person-photo>em{background:rgba(18,21,26,.78)!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important;text-shadow:0 1px 4px rgba(0,0,0,.22)}
.quick-filters button.active{background:var(--brand-deep)!important;border-color:var(--brand-deep)!important}

/* Text-only feed card */
.text-only-post{position:relative;overflow:hidden;background:var(--surface)!important}.text-only-post:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,var(--brand),var(--brand-deep))}.text-post-body{position:relative;margin:16px 0 12px;padding:22px 18px 18px;border-radius:var(--ui-radius-card);background:linear-gradient(145deg,var(--surface-warm),color-mix(in srgb,var(--brand-soft) 34%,var(--surface)));border:1px solid color-mix(in srgb,var(--brand) 12%,var(--line))}.text-post-body:after{content:"“";position:absolute;right:10px;top:-18px;color:color-mix(in srgb,var(--brand) 10%,transparent);font-family:Georgia,serif;font-size:100px;line-height:1}.text-post-type{position:relative;z-index:1;font-size:9px;color:var(--brand-deep);font-weight:900;letter-spacing:1.6px}.text-post-body>p{position:relative;z-index:1;margin:10px 0 18px;color:var(--ink);font-family:var(--headline-font);font-size:17px;line-height:1.75;letter-spacing:-.12px}.text-post-topics{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:7px}.text-post-topics span{padding:6px 9px;border-radius:9px;background:var(--surface);color:var(--ink-2);font-size:11px;border:1px solid var(--line)}.text-post-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:1px 2px 12px;border-bottom:1px solid var(--line)}.text-post-context span,.text-post-context em{font-size:11px;font-style:normal;color:var(--muted)}.text-post-context span{color:var(--ink-2);font-weight:650}
html[data-theme="editorial"] .text-post-body{border-radius:8px;background:#f3eee7}.text-only-post:before{width:3px}
html[data-theme="night"] .text-post-body{background:linear-gradient(145deg,#1a1f2c,#1b1920);border-color:#373441}.text-post-topics span{background:var(--surface)}

/* Ordinary post composer primitives. */
.post-editor{padding:0;overflow:hidden}.post-editor textarea{display:block;width:100%;min-height:190px;padding:18px;border:0;resize:vertical;outline:none;background:transparent;color:var(--ink);font-size:16px;line-height:1.72;font-family:var(--body-font)}.post-editor textarea::placeholder{color:color-mix(in srgb,var(--muted) 76%,transparent)}.post-editor-footer{min-height:55px;padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line)}.post-editor-footer>div{display:flex;gap:6px;min-width:0;overflow-x:auto}.post-editor-footer button{flex:none;min-height:34px;padding:0 9px;border:0;border-radius:9px;background:var(--brand-soft);color:var(--brand-deep);font-size:11px}.post-editor-footer>span{flex:none;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.post-visibility{min-height:78px;margin-top:12px;padding:14px 16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.post-visibility span,.post-visibility b,.post-visibility small{display:block}.post-visibility span{font-size:10px;color:var(--brand-deep);font-weight:850}.post-visibility b{margin-top:2px;font-size:15px}.post-visibility small{margin-top:3px;color:var(--muted);font-size:11px}.post-visibility select{height:40px;max-width:120px;padding:0 8px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--ink);font-size:12px}
html[data-theme="editorial"] .post-editor,html[data-theme="editorial"] .post-visibility{border-radius:8px!important}
@media(max-width:370px){.post-editor textarea{min-height:165px}}
.map-role button.active{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}

/* Simplified ordinary-post composer: text by default, media is an optional attachment. */
.post-editor.simple{margin-top:22px}
.post-editor-footer.simple{padding:10px 14px}.post-editor-footer.simple>span{color:var(--muted);font-size:11px}.post-editor-footer.simple>em{font-style:normal;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
.media-attach-entry{width:100%;min-height:68px;margin-top:12px;padding:12px 15px;display:grid;grid-template-columns:42px 1fr auto 14px;align-items:center;gap:12px;text-align:left;color:var(--ink);cursor:pointer}.media-attach-entry>b{font-size:14px}.media-attach-entry>small{color:var(--muted);font-size:11px}.media-attach-entry>em{color:var(--muted);font-size:20px;font-style:normal}.media-attach-icon{position:relative;width:42px;height:42px;border-radius:13px;background:var(--brand-soft)}.media-attach-icon:before{content:"";position:absolute;inset:10px;border:2px solid var(--brand-deep);border-radius:5px}.media-attach-icon:after{content:"";position:absolute;left:15px;top:15px;width:5px;height:5px;border-radius:50%;background:var(--brand-deep)}.media-attach-icon i:before{content:"";position:absolute;left:12px;bottom:11px;width:19px;height:10px;background:var(--brand-deep);clip-path:polygon(0 100%,40% 25%,60% 58%,78% 38%,100% 100%)}
.post-visibility.simple{min-height:68px}.post-visibility.simple div>span{font-size:11px}.post-visibility.simple div>b{font-size:14px}
html[data-theme="editorial"] .media-attach-entry{border-radius:8px!important}

/* Prototype 15: production interaction states and readable type floor. */
.ui-button:disabled,.page-actions button:disabled{cursor:not-allowed;opacity:.42;box-shadow:none;transform:none;filter:saturate(.45)}
.agree{min-height:64px;align-items:center}.agree input{flex:0 0 auto;align-self:center}.agree span{font-size:15px;line-height:1.55}
.form-stack label{position:relative}.form-stack label>span{font-size:15px}.ui-field{font-size:15px;min-height:52px}.form-stack textarea.ui-field{min-height:132px}
.field-error{display:block;min-height:0;margin-top:0;color:#c73645;font-size:13px;font-weight:650;line-height:1.45}.field-error:not(:empty){min-height:20px;margin-top:7px}.has-error .ui-field,.has-error .upload{border-color:#c73645!important;box-shadow:0 0 0 3px color-mix(in srgb,#c73645 12%,transparent)}
.upload.uploaded{border-color:color-mix(in srgb,var(--brand) 55%,var(--line));background:var(--brand-soft);color:var(--brand-deep)}
.post-error{padding:0 18px 14px}.media-attach-entry.attached{border-color:color-mix(in srgb,var(--brand) 48%,var(--line));background:color-mix(in srgb,var(--brand-soft) 48%,var(--surface))}
.preference-section{margin-top:22px}.preference-section+.preference-section{margin-top:28px}.preference-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.preference-head b{font-size:17px;color:var(--ink)}.preference-head span{font-size:13px;color:var(--muted)}.preference-choice-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.preference-choice-row .choice{min-width:0}
.otp-recipient span,.otp-footer,.otp-help p{font-size:13px}.otp-recipient b{font-size:17px}.otp-footer button{min-height:44px;font-size:14px}.otp-inputs input{font-size:22px}
.choice,.ui-chip{font-size:14px;min-height:44px}.quick-filters button,.segment button{min-height:44px;font-size:13px}.person-info p,.feed-user p,.text-post-context span,.text-post-context em,.text-post-topics span{font-size:12px}.activity-pill,.person-photo>em{font-size:12px}.post-editor-footer.simple>span,.post-editor-footer.simple>em,.media-attach-entry>small,.post-visibility.simple div>span{font-size:12px}.media-attach-entry>b,.post-visibility.simple div>b{font-size:15px}
/* Production content spacing */
.phone-shell .head-title>span{display:none}.phone-shell .intro{margin-top:18px}.phone-shell .intro>p{font-size:15px;line-height:1.65}

/* Commerce, receipt, entitlement and cancellation components */
.plan-card{min-height:106px;padding:16px;align-items:flex-start}.plan-card>i{margin-top:3px;flex:0 0 20px;width:20px;height:20px}.plan-card>div{min-width:0}.plan-card b{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-size:16px}.plan-card b strong{color:var(--brand-deep);font-size:20px;font-variant-numeric:tabular-nums}.plan-card span{margin-top:6px;color:var(--ink-2);font-size:13px;line-height:1.5}.plan-card small{display:block;margin-top:7px;color:var(--muted);font-size:12px;line-height:1.45}.plan-card>em{min-width:28px;margin-top:2px;font-size:12px}
.order-card{margin-top:20px;padding:0;overflow:hidden}.order-product{padding:20px;border-bottom:1px solid var(--line)}.order-product>span{color:var(--brand-deep);font-size:12px;font-weight:850}.order-product>b{display:block;margin-top:5px;font-size:19px}.order-product>p{margin-top:7px;color:var(--muted);font-size:13px;line-height:1.55}.order-card dl,.subscription-card dl{margin:0;padding:8px 20px 14px}.order-card dl>div,.subscription-card dl>div{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.order-card dt,.subscription-card dt{color:var(--muted);font-size:14px}.order-card dd,.subscription-card dd{margin:0;text-align:right;color:var(--ink);font-size:14px;font-weight:700}.order-card .total{min-height:64px;border-bottom:0}.order-card .total dt{color:var(--ink);font-weight:750}.order-card .total dd{color:var(--brand-deep);font-size:25px;font-variant-numeric:tabular-nums}
.payment-method{min-height:68px;margin-top:12px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between}.payment-method>div{display:flex;align-items:center;gap:12px}.payment-method b{font-size:15px}.payment-method>span{color:var(--brand-deep);font-size:13px;font-weight:750}.method-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#1677ff;color:white;font-size:18px;font-weight:900}.order-agreement{min-height:58px;margin-top:12px;padding:8px 4px;display:flex;align-items:center;gap:11px;color:var(--ink-2);font-size:13px;line-height:1.5}.order-agreement input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--brand)}.order-empty{margin-top:22px;padding:24px}.order-empty b{font-size:17px}.order-empty p{margin-top:7px;color:var(--muted);font-size:14px}
.receipt-card{margin-top:18px;padding:10px 18px}.receipt-card>div{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.receipt-card>div:last-child{border-bottom:0}.receipt-card span{color:var(--muted);font-size:13px}.receipt-card b{max-width:68%;text-align:right;font-size:14px}.receipt-card strong{color:var(--brand-deep);font-size:23px;font-variant-numeric:tabular-nums}
.benefit-list{display:grid;gap:10px;margin-top:20px}.benefit-list article{min-height:92px;padding:16px 18px}.benefit-list span{color:var(--muted);font-size:13px}.benefit-list b{display:block;margin-top:3px;font-size:21px}.benefit-list p{margin-top:5px;color:var(--ink-2);font-size:13px;line-height:1.5}.transaction-section{margin-top:26px}.transaction-section>h2{margin-bottom:10px;font-size:18px}.transaction-row{min-height:67px;padding:12px 2px;display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.transaction-row b,.transaction-row span{display:block}.transaction-row b{font-size:14px}.transaction-row span{margin-top:4px;color:var(--muted);font-size:12px}.transaction-row strong{font-size:15px;font-variant-numeric:tabular-nums}.transaction-empty{padding:22px 0;color:var(--muted);font-size:14px}
.subscription-card{margin-top:20px;padding:0;overflow:hidden}.subscription-status{min-height:84px;padding:16px 20px;display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid var(--line)}.subscription-status span,.subscription-status b{display:block;grid-column:1}.subscription-status span{color:var(--muted);font-size:13px}.subscription-status b{margin-top:4px;font-size:18px}.subscription-status em{grid-column:2;grid-row:1/3;width:12px;height:12px;border-radius:50%;background:var(--muted)}.subscription-status em.on{background:#20a464;box-shadow:0 0 0 6px color-mix(in srgb,#20a464 12%,transparent)}.subscription-card>p{padding:20px;color:var(--muted);font-size:14px;line-height:1.6}
.cancel-assets{margin-top:20px;padding:8px 18px}.cancel-assets h2{padding:14px 0 8px;font-size:18px}.cancel-assets>div{min-height:55px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.cancel-assets>div:last-child{border-bottom:0}.cancel-assets span{color:var(--muted);font-size:14px}.cancel-assets b{text-align:right;font-size:14px}.cancel-warning{margin-top:12px;padding:14px 16px;border-radius:var(--ui-radius-card);background:color-mix(in srgb,#e6a23c 12%,var(--surface));color:var(--ink-2);font-size:13px;line-height:1.55}.cancel-verify{margin-top:20px;padding:18px}.cancel-verify>div:first-child span,.cancel-verify>div:first-child b{display:block}.cancel-verify>div:first-child span{color:var(--muted);font-size:13px}.cancel-verify>div:first-child b{margin-top:4px;font-size:18px}.cancel-otp{margin-top:18px;display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.cancel-otp input{min-width:0;height:50px;border:1px solid var(--line-strong);border-radius:11px;background:var(--surface);color:var(--ink);text-align:center;font-size:21px;outline:none}.cancel-otp input:focus{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent)}.cancel-ack{min-height:76px;margin-top:12px;padding:14px;display:flex;align-items:center;gap:12px}.cancel-ack input{width:21px;height:21px;flex:0 0 21px;accent-color:var(--brand)}.cancel-ack b,.cancel-ack small{display:block}.cancel-ack b{font-size:15px}.cancel-ack small{margin-top:4px;color:var(--muted);font-size:12px;line-height:1.45}
html[data-theme="editorial"] .order-card,html[data-theme="editorial"] .payment-method,html[data-theme="editorial"] .receipt-card,html[data-theme="editorial"] .subscription-card,html[data-theme="editorial"] .cancel-assets,html[data-theme="editorial"] .cancel-verify,html[data-theme="editorial"] .cancel-ack{border-radius:8px!important}

/* Prototype 17: guest browsing after adult confirmation. */
.guest-banner{min-height:72px;margin:2px 0 16px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid color-mix(in srgb,var(--brand) 18%,var(--line));border-radius:var(--ui-radius-card);background:color-mix(in srgb,var(--brand-soft) 48%,var(--surface))}.guest-banner span,.guest-banner b{display:block}.guest-banner span{color:var(--brand-deep);font-size:12px;font-weight:850}.guest-banner b{margin-top:3px;font-size:14px;line-height:1.4}.guest-banner button{flex:0 0 auto;min-height:44px;padding:0 13px;border:1px solid color-mix(in srgb,var(--brand) 28%,var(--line));border-radius:12px;background:var(--surface);color:var(--brand-deep);font-size:13px;font-weight:800}.page-actions [data-guest-browse]:disabled{opacity:.42;cursor:not-allowed}
html[data-theme="editorial"] .guest-banner{border-radius:8px}

/* v19: skills/projects, booking, protected paid media and richer chat */
.publish-hub-intro{padding:12px 4px 22px}.publish-hub-intro>span{color:var(--brand-deep);font-size:10px;font-weight:900;letter-spacing:1.25px}.publish-hub-intro h2{margin:8px 0 9px;font-size:26px;line-height:1.16;letter-spacing:-.6px}.publish-hub-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.publish-type-grid{display:grid;gap:12px}.publish-type-grid>button{width:100%;min-height:104px;padding:16px;display:grid;grid-template-columns:52px 1fr 18px;gap:13px;align-items:center;text-align:left;color:var(--ink);cursor:pointer}.publish-type-grid>button>i{width:52px;height:52px;display:grid;place-items:center;border-radius:18px;background:var(--brand-soft);color:var(--brand-deep);font-style:normal;font-weight:900;font-size:17px}.publish-type-grid>button.project>i{background:#eef3ff;color:#4968ad}.publish-type-grid>button.activity>i{background:#edf8f2;color:#39765b}.publish-type-grid span,.publish-type-grid b,.publish-type-grid p{display:block}.publish-type-grid span{color:var(--muted);font-size:9px}.publish-type-grid b{margin:3px 0;font-size:17px}.publish-type-grid p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}.publish-type-grid em{color:var(--muted);font-style:normal;font-size:22px}.publish-rule-strip{margin:15px 2px 0;padding:13px 14px;border:1px dashed var(--line-strong);border-radius:14px}.publish-rule-strip b,.publish-rule-strip span{display:block}.publish-rule-strip b{font-size:11px}.publish-rule-strip span{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.5}
.work-editor{padding:17px;display:grid;gap:16px}.work-editor label{position:relative;display:grid;gap:7px}.work-editor label>span{font-size:10px;font-weight:850;color:var(--ink-2)}.work-editor input,.work-editor textarea{width:100%;box-sizing:border-box;border:1px solid var(--line-strong);border-radius:13px;background:var(--surface-warm);color:var(--ink);padding:12px 13px;font:inherit;font-size:12px;outline:none}.work-editor textarea{min-height:94px;resize:none;line-height:1.55}.work-editor input:focus,.work-editor textarea:focus{border-color:var(--brand)}.work-editor label>em{position:absolute;right:12px;bottom:12px;color:var(--muted);font-style:normal;font-size:10px}.work-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.slot-entry{width:100%;min-height:54px;padding:10px 12px;border:1px solid var(--line-strong);border-radius:13px;background:var(--surface-warm);display:flex;align-items:center;justify-content:space-between;text-align:left;color:var(--ink)}.slot-entry b{font-size:11px}.slot-entry em{color:var(--brand-deep);font-style:normal;font-size:9px}.work-preview{margin-top:13px;padding:16px}.work-preview>span,.work-preview>b,.work-preview>p{display:block}.work-preview>span{color:var(--brand-deep);font-size:9px;font-weight:850}.work-preview>b{margin-top:5px;font-size:17px}.work-preview>p{margin:5px 0 14px;color:var(--muted);font-size:10px}.work-preview>div{display:flex;justify-content:space-between;align-items:center}.work-preview strong{font-size:20px}.work-preview button{border:0;background:transparent;color:var(--brand-deep);font-size:10px;font-weight:800}
.calendar-card{padding:16px}.calendar-card>header{display:flex;align-items:center;justify-content:space-between}.calendar-card>header button{width:32px;height:32px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink)}.calendar-card>header b{font-size:14px}.calendar-week,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.calendar-week{margin:16px 0 7px}.calendar-week span{text-align:center;color:var(--muted);font-size:8px}.calendar-days button{min-width:0;height:67px;padding:5px 1px;border:0;border-radius:12px;background:transparent;color:var(--muted)}.calendar-days button small,.calendar-days button b,.calendar-days button span{display:block}.calendar-days button small{height:11px;font-size:6px}.calendar-days button b{font-size:13px}.calendar-days button span{margin-top:4px;font-size:6px}.calendar-days button.available{background:var(--surface-warm);color:var(--ink)}.calendar-days button.selected{background:var(--brand);color:var(--on-brand);box-shadow:0 8px 18px color-mix(in srgb,var(--brand) 25%,transparent)}.slot-list{margin-top:17px;display:grid;gap:9px}.slot-list>div span,.slot-list>div b{display:block}.slot-list>div span{color:var(--brand-deep);font-size:9px;font-weight:850}.slot-list>div b{margin-top:3px;font-size:16px}.slot-list>button{padding:13px 14px;display:grid;grid-template-columns:10px 1fr auto;gap:11px;align-items:center;text-align:left;color:var(--ink)}.slot-list>button>i{width:9px;height:9px;border:2px solid var(--line-strong);border-radius:50%}.slot-list>button.selected{border-color:var(--brand)}.slot-list>button.selected>i{border-color:var(--brand);box-shadow:inset 0 0 0 2px var(--surface);background:var(--brand)}.slot-list b,.slot-list small{display:block}.slot-list b{font-size:12px}.slot-list small{margin-top:3px;color:var(--muted);font-size:8px}.slot-list em{color:var(--brand-deep);font-style:normal;font-size:9px}.booking-confirm-hero{padding:21px 18px;background:linear-gradient(145deg,var(--surface),var(--brand-soft))!important}.booking-confirm-hero span{font-size:9px;color:var(--brand-deep);font-weight:850}.booking-confirm-hero h2{margin:7px 0 4px;font-size:21px}.booking-confirm-hero p{margin:0;color:var(--muted);font-size:10px}.booking-steps{margin:18px 0;display:grid}.booking-steps>div{min-height:66px;display:grid;grid-template-columns:32px 1fr;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.booking-steps i{width:28px;height:28px;display:grid;place-items:center;border-radius:10px;background:var(--surface-warm);color:var(--muted);font-style:normal;font-size:10px;font-weight:850}.booking-steps .done i{background:var(--brand);color:var(--on-brand)}.booking-steps b,.booking-steps small{display:block}.booking-steps b{font-size:12px}.booking-steps small{margin-top:3px;color:var(--muted);font-size:9px}
.chat-profile>div b i{display:inline-block;width:7px;height:7px;margin-left:3px;border-radius:50%;background:#3bc174;box-shadow:0 0 0 3px color-mix(in srgb,#3bc174 18%,transparent)}.chat-scroll{max-height:440px;overflow:auto;overscroll-behavior:contain;padding-bottom:12px}.msg-row.me{align-items:flex-end}.msg-row.me>small{margin:3px 3px 0;color:var(--muted);font-size:7px}.chat-skill-card,.chat-booking-card,.paid-media-card{width:82%;margin:11px 0 11px auto;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 7px 18px color-mix(in srgb,var(--theme-shadow) 13%,transparent);overflow:hidden}.chat-skill-card{padding:14px;display:grid;grid-template-columns:1fr auto;gap:10px}.chat-skill-card span,.chat-skill-card b,.chat-skill-card p{display:block}.chat-skill-card span{color:var(--brand-deep);font-size:8px;font-weight:850}.chat-skill-card b{margin-top:3px;font-size:13px}.chat-skill-card p{margin:4px 0 0;color:var(--muted);font-size:8px;line-height:1.4}.chat-skill-card strong{text-align:right;font-size:17px}.chat-skill-card strong small{display:block;color:var(--muted);font-size:7px}.chat-skill-card button{grid-column:1/-1;height:33px;border:0;border-radius:10px;background:var(--brand);color:var(--on-brand);font-size:9px;font-weight:850}.chat-booking-card{padding:14px}.chat-booking-card header{display:flex;justify-content:space-between}.chat-booking-card header span{font-size:9px;font-weight:850}.chat-booking-card header b{padding:3px 6px;border-radius:999px;background:var(--brand-soft);color:var(--brand-deep);font-size:7px}.chat-booking-card h3{margin:10px 0 3px;font-size:14px}.chat-booking-card p{margin:0;color:var(--muted);font-size:8px}.chat-booking-card>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:12px}.chat-booking-card button{height:31px;border:1px solid var(--line);border-radius:9px;background:var(--surface-warm);color:var(--ink);font-size:8px;font-weight:800}.chat-booking-card button:last-child{border-color:var(--brand);background:var(--brand);color:var(--on-brand)}
.paid-media-card{user-select:none;-webkit-user-select:none}.paid-media-visual{position:relative;height:188px;overflow:hidden;background:#17191e;touch-action:none}.paid-media-visual img{width:100%;height:100%;object-fit:cover;filter:blur(18px) brightness(.55);transform:scale(1.13);transition:filter .12s,transform .12s;pointer-events:none}.media-watermark{position:absolute;z-index:3;left:50%;top:50%;width:130%;transform:translate(-50%,-50%) rotate(-23deg);color:rgba(255,255,255,.48);font-size:8px;font-weight:900;letter-spacing:.5px;text-align:center;text-shadow:0 1px 3px rgba(0,0,0,.5);opacity:0;pointer-events:none}.media-lock{position:absolute;z-index:4;inset:0;display:grid;place-content:center;text-align:center;color:#fff;background:rgba(15,16,20,.15)}.media-lock b{font-size:15px}.media-lock span{margin-top:5px;font-size:8px;color:rgba(255,255,255,.76)}.paid-media-card.revealing .paid-media-visual img{filter:none;transform:scale(1)}.paid-media-card.revealing .media-watermark{opacity:1}.paid-media-card.revealing .media-lock{opacity:0}.paid-media-card footer{padding:11px 12px;display:flex;align-items:center;justify-content:space-between}.paid-media-card footer b,.paid-media-card footer span{display:block}.paid-media-card footer b{font-size:10px}.paid-media-card footer span{margin-top:2px;color:var(--muted);font-size:7px}.paid-media-card footer button{border:0;border-radius:9px;background:var(--brand);color:var(--on-brand);padding:8px 10px;font-size:8px;font-weight:850}.paid-media-card footer em{color:var(--brand-deep);font-style:normal;font-size:8px;font-weight:850}.chat-tool-panel{margin:7px 0;padding:10px;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.chat-tool-panel button{min-width:0;border:0;background:transparent;color:var(--ink);text-align:center}.chat-tool-panel i{width:34px;height:34px;margin:auto;display:grid;place-items:center;border-radius:12px;background:var(--surface-warm);color:var(--brand-deep);font-style:normal;font-size:11px;font-weight:900}.chat-tool-panel b,.chat-tool-panel span{display:block}.chat-tool-panel b{margin-top:5px;font-size:8px}.chat-tool-panel span{margin-top:2px;color:var(--muted);font-size:6px}.composer .plus.active{transform:rotate(45deg);background:var(--brand-soft);color:var(--brand-deep)}
.protected-order{padding:15px;display:grid;grid-template-columns:105px 1fr;gap:14px;align-items:center}.protected-preview{position:relative;height:128px;overflow:hidden;border-radius:14px;background:#17191e}.protected-preview img{width:100%;height:100%;object-fit:cover;filter:blur(13px) brightness(.58);transform:scale(1.12)}.protected-preview i{position:absolute;left:8px;bottom:8px;padding:4px 6px;border-radius:7px;background:rgba(0,0,0,.62);color:#fff;font-style:normal;font-size:7px}.protected-order>div:last-child span,.protected-order>div:last-child b,.protected-order>div:last-child p{display:block}.protected-order>div:last-child span{color:var(--muted);font-size:9px}.protected-order>div:last-child b{margin:5px 0;font-size:24px}.protected-order>div:last-child p{margin:0;color:var(--muted);font-size:9px;line-height:1.5}.protection-list{margin-top:16px;border-top:1px solid var(--line)}.protection-list>div{min-height:70px;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.protection-list i{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand-deep);font-style:normal;font-size:10px;font-weight:900}.protection-list b,.protection-list small{display:block}.protection-list b{font-size:12px}.protection-list small{margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45}
@media(max-width:370px){.chat-tool-panel{gap:2px;padding:8px 4px}.protected-order{grid-template-columns:90px 1fr}.publish-type-grid>button{grid-template-columns:46px 1fr 14px}.publish-type-grid>button>i{width:46px;height:46px}}

/* v19.1: emoji composer and native secure-screen state */
.composer .emoji-trigger{width:42px;padding:0;background:var(--surface-warm);color:var(--ink-2);font-size:20px;font-weight:500}.composer .emoji-trigger.active{background:var(--brand-soft);color:var(--brand-deep);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 24%,transparent)}.emoji-picker{margin:7px 0 2px;padding:11px;border:1px solid var(--line);border-radius:17px;background:var(--surface);box-shadow:0 12px 30px color-mix(in srgb,var(--theme-shadow) 18%,transparent)}.emoji-picker>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.emoji-picker>header b{font-size:11px}.emoji-picker>header button{width:28px;height:28px;border:0;border-radius:9px;background:var(--surface-warm);color:var(--muted);font-size:16px}.emoji-picker>div{display:grid;grid-template-columns:repeat(8,1fr);gap:3px}.emoji-picker>div button{aspect-ratio:1;border:0;border-radius:9px;background:transparent;font-size:20px;line-height:1;cursor:pointer}.emoji-picker>div button:active{background:var(--brand-soft);transform:scale(.92)}.secure-screen-active .status-bar:after{content:"APP 安全屏幕";position:absolute;z-index:3;right:56px;top:9px;padding:3px 6px;border-radius:999px;background:#1f9d68;color:#fff;font-size:7px;font-weight:900;letter-spacing:.3px}.secure-screen-active .paid-media-card.revealing{box-shadow:0 0 0 2px #1f9d68,0 12px 30px rgba(18,80,54,.24)}
@media(max-width:370px){.emoji-picker>div{grid-template-columns:repeat(6,1fr)}.composer{gap:5px;padding-inline:7px}.composer .emoji-trigger{width:38px}.composer>button:last-child{padding-inline:10px}}

/* v21: FastAdmin child-user integration */
.prototype-bar{width:560px}.prototype-title{position:absolute;left:50%;transform:translateX(-50%)}.backend-user{position:absolute;right:82px;top:6px;height:32px;max-width:145px;padding:0 10px;display:flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.13);border-radius:11px;background:#40373c;color:#e9dfe3;cursor:pointer}.backend-user i{width:8px;height:8px;flex:none;border-radius:50%;background:#d7a340}.backend-user span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.backend-user.online i{background:#36c984;box-shadow:0 0 0 3px rgba(54,201,132,.16)}.backend-user.error i{background:#ed6a6a}.prototype-bar .theme-button{right:230px}.status-actions{display:flex;align-items:center;gap:5px}.status-user,.status-theme{border:0;border-radius:8px;background:var(--surface-warm);color:var(--brand-deep);padding:4px 7px;font-size:7px;font-weight:850}.backend-session-strip{min-height:35px;margin-top:10px;padding:8px 10px;display:flex;align-items:center;gap:7px;border:1px solid color-mix(in srgb,#36c984 30%,var(--line));border-radius:12px;background:color-mix(in srgb,#36c984 7%,var(--surface))}.backend-session-strip>i{width:7px;height:7px;border-radius:50%;background:#36c984}.backend-session-strip span{font-size:9px}.backend-session-strip em{margin-left:auto;color:var(--muted);font-style:normal;font-size:7px}.empty-chat{padding:16px;text-align:center;color:var(--muted);font-size:9px}.chat-booking-card button:disabled{opacity:.55;cursor:not-allowed}.backend-flow-result{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);font-size:10px}
@media(max-width:620px){.prototype-bar{width:calc(100% - 20px)}}

/* Development-ready structured controls */
.field-options{margin:0;padding:0;border:0}.field-options legend{width:100%;margin-bottom:9px;color:var(--ink-2);font-size:13px;font-weight:700}.field-options legend small{float:right;color:var(--muted);font-size:10px;font-weight:500}.field-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.field-options .ui-chip{min-height:44px;padding:8px 10px;border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);color:var(--ink-2);font-size:11px;font-weight:700}.field-options .ui-chip.selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep);box-shadow:0 0 0 2px color-mix(in srgb,var(--brand) 10%,transparent)}
.profile-preview-meeting{margin-top:10px;padding-top:10px;border-top:1px solid var(--line);color:var(--ink-2);font-size:10px;line-height:1.5}
.filter-sections{display:grid;gap:12px}.filter-section{padding:14px}.filter-section header{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.filter-section header b{font-size:13px}.filter-section header span{color:var(--muted);font-size:9px}.filter-section>div{display:flex;flex-wrap:wrap;gap:8px}.filter-section .ui-chip{min-height:38px;padding:0 13px;border:1px solid var(--line-strong);border-radius:11px;background:var(--surface-warm);color:var(--ink-2);font-size:11px;font-weight:700}.filter-section .ui-chip.selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-deep)}.filter-summary{margin-top:12px;padding:14px}.filter-summary span,.filter-summary b{display:block}.filter-summary span{color:var(--muted);font-size:9px}.filter-summary b{margin-top:4px;font-size:16px}.filter-summary p{margin:6px 0 0;color:var(--ink-2);font-size:10px;line-height:1.5}.empty-filter-result{grid-column:1/-1;padding:24px 16px;text-align:center}.empty-filter-result b{font-size:14px}.empty-filter-result p{margin:7px 0 14px;color:var(--muted);font-size:10px}.empty-filter-result button{min-height:38px;padding:0 14px;border:0;border-radius:11px;background:var(--brand-soft);color:var(--brand-deep);font-size:11px;font-weight:800}
.real-location-card{padding:22px 18px;text-align:center}.real-location-card>span{display:block;margin-top:13px;color:var(--brand-deep);font-size:9px;font-weight:850;letter-spacing:.8px}.real-location-card h2{margin:7px 0 8px;font-size:22px}.real-location-card>p{margin:0;color:var(--muted);font-size:10px;line-height:1.65}.real-location-icon,.real-location-radar{position:relative;width:78px;height:78px;margin:auto;border-radius:50%;background:var(--brand-soft)}.real-location-icon i{position:absolute;left:28px;top:19px;width:22px;height:29px;border:4px solid var(--brand);border-radius:50% 50% 50% 0;transform:rotate(-45deg)}.real-location-icon span{position:absolute;left:36px;top:29px;width:7px;height:7px;border-radius:50%;background:var(--brand)}.real-location-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.real-location-meta>div{padding:11px 8px;border-radius:12px;background:var(--surface-warm);text-align:left}.real-location-meta small,.real-location-meta b{display:block}.real-location-meta small{color:var(--muted);font-size:8px}.real-location-meta b{margin-top:4px;font-size:9px;line-height:1.4}.real-location-radar i{position:absolute;inset:10px;border:1px solid color-mix(in srgb,var(--brand) 45%,transparent);border-radius:50%;animation:locationPulse 1.5s infinite}.real-location-radar i:nth-child(2){inset:23px;animation-delay:.3s}.real-location-radar span{position:absolute;left:34px;top:34px;width:10px;height:10px;border-radius:50%;background:var(--brand)}.location-progress{height:4px;margin-top:18px;overflow:hidden;border-radius:99px;background:var(--surface-warm)}.location-progress i{display:block;width:38%;height:100%;border-radius:99px;background:var(--brand);animation:locationLoad 1.2s infinite}.location-success-mark{width:66px;height:66px;margin:auto;display:grid;place-items:center;border-radius:50%;background:#e6f8ef;color:#168555;font-size:28px;font-weight:900}.location-error{margin-top:12px;padding:13px;border-color:#f1c4c4;background:#fff6f6}.location-error b{color:#a33;font-size:11px}.location-error p{margin:5px 0 0;color:#8a5656;font-size:9px;line-height:1.5}@keyframes locationPulse{0%{opacity:.2;transform:scale(.75)}70%{opacity:.8}100%{opacity:0;transform:scale(1.15)}}@keyframes locationLoad{from{transform:translateX(-110%)}to{transform:translateX(300%)}}
.person[role="button"]{cursor:pointer}.person[role="button"]:focus-visible{outline:3px solid color-mix(in srgb,var(--brand) 35%,transparent);outline-offset:2px}

/* Chat room production layout */
.chat-page{height:100%;min-height:100%;padding-bottom:0;display:flex;flex-direction:column;overflow:hidden}.chat-page>.app-head,.chat-page>.progress-line{flex:0 0 auto}.chat-page>.page-content{flex:1;min-height:0;padding:0 12px max(6px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden}.chat-page .chat-safe{flex:0 0 auto;margin-top:6px;padding:8px 11px;font-size:10px}.chat-page .chat-profile{flex:0 0 auto;min-height:58px;padding:7px 4px}.chat-page .chat-profile img{width:40px;height:40px}.chat-page .chat-scroll{flex:1 1 auto;min-height:180px;height:auto;max-height:none;padding:12px 4px 16px;overflow-y:auto}.chat-page .chat-scroll>*{flex:0 0 auto}.chat-page .quick-replies{flex:0 0 auto;padding:7px 0 6px}.chat-page .composer{flex:0 0 auto;min-height:58px;margin:0 -12px;padding:7px 10px max(7px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb,var(--paper) 96%,transparent);box-shadow:0 -8px 22px color-mix(in srgb,var(--theme-shadow) 8%,transparent)}.chat-page .composer input{height:42px}.chat-page .chat-tool-panel,.chat-page .emoji-picker{flex:0 0 auto;margin:4px 0 7px}.chat-file-input{position:fixed!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.chat-page .chat-skill-card,.chat-page .chat-booking-card{width:96%;margin:14px auto;border-radius:17px;box-shadow:0 8px 22px color-mix(in srgb,var(--theme-shadow) 14%,transparent)}.chat-page .chat-skill-card{min-height:176px;padding:17px;grid-template-columns:minmax(0,1fr) auto;gap:12px}.chat-page .chat-skill-card span{font-size:11px}.chat-page .chat-skill-card b{margin-top:5px;font-size:17px;line-height:1.35}.chat-page .chat-skill-card p{margin-top:7px;font-size:11px;line-height:1.55}.chat-page .chat-skill-card strong{font-size:23px}.chat-page .chat-skill-card strong small{margin-top:3px;font-size:10px}.skill-card-meta{display:flex;gap:6px;margin-top:10px}.skill-card-meta em{padding:4px 7px;border-radius:7px;background:var(--surface-warm);color:var(--muted);font-size:8px;font-style:normal}.chat-page .chat-skill-card button{height:42px;border-radius:12px;font-size:12px}.chat-page .chat-booking-card{min-height:190px;padding:17px}.chat-page .chat-booking-card header span{font-size:12px}.chat-page .chat-booking-card header b{padding:5px 9px;font-size:10px}.booking-card-main{margin-top:13px;padding:12px;border-radius:12px;background:var(--surface-warm)}.booking-card-main>span{color:var(--muted);font-size:9px}.chat-page .chat-booking-card h3{margin:5px 0 8px;font-size:17px;line-height:1.35}.chat-page .chat-booking-card p{margin-top:4px;font-size:10px;line-height:1.45}.chat-page .booking-card-actions{margin-top:12px}.chat-page .chat-booking-card button{height:40px;border-radius:11px;font-size:11px}.message-type{display:block;margin-bottom:4px;opacity:.72;font-size:8px;font-weight:800}
.chat-page .chat-tool-panel{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 8px;border-radius:17px}.chat-page .chat-tool-panel button{min-height:72px;padding:5px 2px;border-radius:12px}.chat-page .chat-tool-panel button:active{background:var(--brand-soft)}.chat-page .chat-tool-panel i{width:38px;height:38px;border-radius:13px;font-size:12px}.chat-page .chat-tool-panel b{margin-top:6px;font-size:9px}.chat-page .chat-tool-panel span{margin-top:3px;font-size:7px;line-height:1.3}
@media(max-width:370px){.chat-page .chat-tool-panel{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.chat-page .chat-tool-panel span{display:none}.chat-page .chat-skill-card,.chat-page .chat-booking-card{width:100%}}
.chat-page .chat-tool-panel i{overflow:hidden;padding:0;background:transparent;box-shadow:0 3px 10px color-mix(in srgb,var(--theme-shadow) 12%,transparent)}.chat-page .chat-tool-panel i img{display:block;width:100%;height:100%;object-fit:cover;border-radius:12px}.inline-feature-icon{width:22px;height:22px;margin-right:7px;vertical-align:middle;border-radius:7px;object-fit:cover}.chat-page .chat-skill-card .skill-card-copy>span,.chat-page .chat-booking-card header>span{display:flex;align-items:center}.chat-page .chat-booking-card header>span .inline-feature-icon{width:25px;height:25px}

/* Centered attachment tools and private-image delivery options */
.chat-page .chat-tool-panel{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start}.chat-page .chat-tool-panel button{flex:0 0 calc(25% - 7px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center}.chat-page .chat-tool-panel i{display:grid;place-items:center;margin:0 auto}.chat-page .chat-tool-panel i img{margin:auto;object-position:center}.chat-page .chat-tool-panel b,.chat-page .chat-tool-panel span{width:100%;text-align:center}
.chat-privacy-layer{position:absolute;z-index:40;inset:0;display:flex;align-items:flex-end;background:rgba(35,25,31,.36);backdrop-filter:blur(3px)}.chat-privacy-sheet{width:100%;padding:10px 16px max(18px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;background:var(--surface);box-shadow:0 -18px 50px rgba(40,26,33,.24)}.privacy-sheet-handle{width:42px;height:4px;margin:0 auto 14px;border-radius:99px;background:var(--line-strong)}.chat-privacy-sheet header{display:flex;align-items:center;gap:12px}.chat-privacy-sheet header img{width:50px;height:50px;border-radius:14px}.chat-privacy-sheet header span{color:var(--brand-deep);font-size:9px;font-weight:850}.chat-privacy-sheet header h2{margin:4px 0 0;font-size:17px}.privacy-view-options{display:grid;gap:9px;margin-top:16px}.privacy-view-options button{min-height:60px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface-warm);color:var(--ink);text-align:left}.privacy-view-options button:active{border-color:var(--brand);background:var(--brand-soft)}.privacy-view-options b,.privacy-view-options span{display:block}.privacy-view-options b{font-size:13px}.privacy-view-options span{max-width:58%;color:var(--muted);font-size:9px;text-align:right}.privacy-cancel{width:100%;min-height:44px;margin-top:10px;border:0;border-radius:12px;background:transparent;color:var(--muted);font-size:12px;font-weight:750}
/* Expandable full-month booking calendar */
.calendar-card.expanded .calendar-days button{height:54px}.calendar-empty{display:block;height:54px}.calendar-expand{width:100%;min-height:40px;margin-top:10px;border:0!important;border-radius:11px!important;background:var(--surface-warm)!important;color:var(--brand-deep)!important;font-size:11px!important;font-weight:800}.calendar-expand span{margin-left:5px}.calendar-days button[data-calendar-slot-id]{cursor:pointer}.calendar-days button:disabled{opacity:.55}
.chat-page .chat-tool-panel button{flex-basis:calc(33.333% - 8px)}
.account-finance{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.account-finance article{padding:15px}.account-finance span,.account-finance b,.account-finance p{display:block}.account-finance span{color:var(--muted);font-size:10px}.account-finance b{margin-top:5px;font-size:20px}.account-finance p{margin:5px 0 0;color:var(--brand-deep);font-size:9px}.account-section{margin-top:20px}.account-section>header{display:flex;justify-content:space-between;margin-bottom:10px}.account-section>header span{font-size:15px;font-weight:800}.account-section>header b{color:var(--muted);font-size:9px}.account-booking{margin-bottom:10px;padding:14px}.account-booking header{display:flex;justify-content:space-between}.account-booking header span{font-size:9px;color:var(--brand-deep);font-weight:800}.account-booking header b{font-size:9px}.account-booking h3{margin:8px 0 6px;font-size:15px}.account-booking p{margin:3px 0;color:var(--muted);font-size:10px}.account-booking>div{display:flex;gap:6px;margin-top:11px}.account-booking button{flex:1;min-height:36px;border:1px solid var(--line);border-radius:9px;background:var(--surface-warm);font-size:9px;font-weight:800}.account-booking button.danger{color:#b43d4c}.cancel-policy{margin:12px 0 18px;padding:13px;background:#fff8ef!important}.cancel-policy b{font-size:11px}.cancel-policy p{margin:5px 0 0;color:var(--muted);font-size:9px;line-height:1.5}.account-empty{padding:20px;text-align:center;color:var(--muted)}
.account-profile-card{margin-top:18px;padding:16px;display:flex;align-items:center;gap:13px}.account-profile-card img{width:54px;height:54px;border-radius:17px;object-fit:cover}.account-profile-card span,.account-profile-card h2,.account-profile-card p{display:block}.account-profile-card span{color:var(--muted);font-size:9px}.account-profile-card h2{margin:3px 0;font-size:18px}.account-profile-card p{margin:0;color:var(--muted);font-size:10px}.account-mini-summary{margin:11px 0 16px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.account-mini-summary div{padding:11px;border-radius:13px;background:var(--surface-warm)}.account-mini-summary span,.account-mini-summary b{display:block}.account-mini-summary span{color:var(--muted);font-size:8px}.account-mini-summary b{margin-top:4px;font-size:14px}.account-entry-grid{display:grid;gap:10px}.account-entry-grid>button{padding:13px;display:grid;grid-template-columns:46px 1fr auto;gap:12px;align-items:center;text-align:left;color:var(--ink)}.account-entry-grid img{width:46px;height:46px;border-radius:13px}.account-entry-grid b,.account-entry-grid span{display:block}.account-entry-grid b{font-size:14px}.account-entry-grid span{margin-top:4px;color:var(--muted);font-size:9px}.account-entry-grid em{font-size:20px;font-style:normal;color:var(--muted)}.account-panel-head{margin:16px 0 18px;display:flex;align-items:center;gap:12px}.account-panel-head>button{width:38px;height:38px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.account-panel-head span{color:var(--muted);font-size:9px}.account-panel-head h2{margin:2px 0 0;font-size:20px}.account-link-list{display:grid;gap:8px}.account-link-list button{min-height:64px;padding:12px 14px;display:grid;grid-template-columns:1fr auto;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);text-align:left}.account-link-list b,.account-link-list span{display:block}.account-link-list b{font-size:13px}.account-link-list span{margin-top:4px;color:var(--muted);font-size:9px}.account-link-list em{grid-column:2;grid-row:1/3;font-style:normal}.account-link-list .danger b{color:#b43d4c}.account-order{margin-bottom:8px;padding:13px;display:flex;align-items:center;justify-content:space-between}.account-order span,.account-order b,.account-order small{display:block}.account-order span{color:var(--brand-deep);font-size:9px}.account-order b{margin-top:3px;font-size:11px}.account-order small{margin-top:3px;color:var(--muted);font-size:8px}.account-order strong{font-size:15px}
/* Production website shell: no prototype chrome or role-flow controls */
.production-site{min-height:100vh;padding:0;background:var(--paper);display:block}.website-shell{width:100%;max-width:560px;min-height:100vh;margin:0 auto;background:var(--paper);box-shadow:0 0 50px rgba(63,39,50,.08)}.website-shell .screen{height:100vh}.website-shell .page{min-height:100vh}.website-shell .app-head{padding-top:max(14px,env(safe-area-inset-top))}.website-shell .head-map,.website-shell .progress-line{display:none!important}@media(min-width:700px){.production-site{background:#f3edef}.website-shell{border-left:1px solid rgba(93,62,76,.08);border-right:1px solid rgba(93,62,76,.08)}}
.test-login-note{margin-top:12px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface-warm)}.test-login-note b,.test-login-note span{display:block}.test-login-note b{font-size:11px}.test-login-note span{margin-top:5px;color:var(--muted);font-size:9px;line-height:1.6}.account-logout{width:100%;min-height:46px;margin-top:14px;border:1px solid #efc3c9;border-radius:13px;background:#fff6f7;color:#a93d4b;font-size:12px;font-weight:800}
/* Production navigation and finance refinements */
.bottom-nav button span{display:grid;place-items:center}
.bottom-nav button span img{width:25px;height:25px;object-fit:contain;display:block}
.withdraw-card{margin:14px 0;padding:16px}.withdraw-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.withdraw-card>div span{font-size:13px;color:var(--muted)}.withdraw-card>div b{font-size:16px}.withdraw-card label{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:13px}.withdraw-card input{min-width:0;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:14px}.withdraw-card button{min-height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--brand);color:#fff;font-size:13px;font-weight:800}.withdraw-card p{margin:9px 0 0;color:var(--muted);font-size:11px}.account-finance{grid-template-columns:repeat(3,1fr)}
@media(max-width:420px){.account-finance{grid-template-columns:1fr 1fr}.account-finance article:last-child{grid-column:1/-1}}
/* GPT Image 2 project/category icon set — optically centered tiles */
.publish-hub-grid{display:grid;gap:12px;margin-top:4px}
.publish-hub-grid>button{width:100%;min-height:92px;padding:14px 16px;display:grid;grid-template-columns:60px minmax(0,1fr) 18px;gap:14px;align-items:center;border:0;text-align:left;color:var(--ink);cursor:pointer}
.publish-hub-grid>button>i{width:60px;height:60px;display:grid;place-items:center;overflow:hidden;border:1px solid color-mix(in srgb,var(--line) 76%,transparent);border-radius:19px;background:#fff7f2;font-style:normal}
.publish-hub-grid>button>i img{display:block;width:60px;height:60px;object-fit:cover;object-position:50% 50%;margin:0;padding:0}
.publish-hub-grid>button>div{min-width:0}.publish-hub-grid>button b,.publish-hub-grid>button span{display:block}.publish-hub-grid>button b{font-size:16px;line-height:1.3}.publish-hub-grid>button span{margin-top:5px;color:var(--muted);font-size:12px;line-height:1.45}.publish-hub-grid>button>em{align-self:center;color:var(--muted);font-size:22px;font-style:normal;text-align:center}
.activity-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding-top:5px}
.activity-type-grid .activity-icon-chip{min-width:0;min-height:104px;padding:10px 6px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border-radius:17px!important;text-align:center}
.activity-icon-chip>i{width:58px;height:58px;flex:0 0 58px;display:grid;place-items:center;overflow:hidden;border-radius:17px;background:#fff7f2}
.activity-icon-chip>i img{display:block;width:58px;height:58px;object-fit:cover;object-position:50% 50%;margin:0}
.activity-icon-chip>span{display:block;line-height:1.2}.activity-icon-chip.selected>i{box-shadow:0 0 0 2px color-mix(in srgb,#fff 80%,transparent)}
.quick-filters button[data-feed-type]{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.quick-filters button[data-feed-type] img{display:block;width:22px;height:22px;object-fit:cover;object-position:50% 50%;border-radius:7px}
.feed-user b>span{display:inline-flex;align-items:center;gap:3px}.feed-type-icon{display:block!important;width:18px!important;height:18px!important;object-fit:cover!important;object-position:50% 50%;border-radius:6px}
@media(max-width:360px){.activity-type-grid{gap:8px}.activity-type-grid .activity-icon-chip{min-height:96px}.activity-icon-chip>i,.activity-icon-chip>i img{width:52px;height:52px}.activity-icon-chip>i{flex-basis:52px}.publish-hub-grid>button{grid-template-columns:54px minmax(0,1fr) 16px}.publish-hub-grid>button>i,.publish-hub-grid>button>i img{width:54px;height:54px}}
