/* 白底绿框方案：板块衔接、内部层级和交互细节。 */
:root { --section-gap:16px; --card-radius:18px; --control-radius:12px; }
#phone #app .screen:not(#s-match) { background:#f5f7f6!important; }
#phone #app .screen:not(#s-match) :is(.mine-body,.social-body,.shop-body,.home-body) { background:#f5f7f6!important; padding-left:14px; padding-right:14px; }
#phone #app .screen:not(#s-match) :is(.panel,.mine-profile,.shop-card,.bag-item,.dex-card,.invite-card) { border:1px solid #b8dfc7!important; border-radius:var(--card-radius)!important; box-shadow:0 3px 12px rgba(24,76,43,.04)!important; margin-bottom:var(--section-gap)!important; }
#phone #app .screen:not(#s-match) :is(.panel,.mine-profile,.invite-card) { padding:16px!important; }
#phone #app .screen:not(#s-match) :is(h2,h3) { line-height:1.4; letter-spacing:0; }
#phone #app .screen:not(#s-match) :is(p,.set-row__s,.shop-card__desc,.invite-team-note) { line-height:1.65; }
#phone #app .screen:not(#s-match) :is(button,.btn-ghost,.shop-tab,.bag-chip) { border-radius:var(--control-radius)!important; transition:background-color .16s,border-color .16s,box-shadow .16s; }
#phone #app .screen:not(#s-match) button:focus-visible,#phone #app .screen:not(#s-match) summary:focus-visible { outline:3px solid #075f32; outline-offset:3px; }
#phone #app .screen:not(#s-match) button:disabled { background:#e8efeb!important; color:#6e7c73!important; border-color:#d3ded7!important; opacity:1; box-shadow:none!important; cursor:default; }
#phone #app .screen:not(#s-match) :is(input,select,textarea) { border-radius:12px; background:#f8fbf9!important; border-color:#b8d8c4!important; }
#phone #app .screen:not(#s-match) :is(input,select,textarea):focus { outline:2px solid #07a854; outline-offset:1px; background:#fff!important; }
/* 总览在同一柔绿底上展示，避免卡片中再嵌一层强边框。 */
#phone #app .screen:not(#s-match) .funds-balances { background:#eff8f2!important; border:0!important; border-radius:14px; padding:16px 10px!important; margin-bottom:16px!important; box-shadow:none!important; }
#phone #app .screen:not(#s-match) .funds-balance+.funds-balance { border-left:1px solid #cae3d3!important; padding-left:12px; }
#phone #app .screen:not(#s-match) .funds-balance b { font-size:20px; line-height:1.45; }
#phone #app .screen:not(#s-match) .funds-heading { margin-bottom:16px; align-items:center; }
#phone #app .screen:not(#s-match) .funds-heading h3 { font-size:19px; }
#phone #app .screen:not(#s-match) :is(.funds-heading button,.prof-edit) { min-height:40px; font-size:12px; padding:8px 12px; }
#phone #app .screen:not(#s-match) .funds-tabs { gap:8px; padding-bottom:16px; margin:0 0 16px; border-bottom:1px solid #e1ebe5; }
#phone #app .screen:not(#s-match) .funds-tabs button { min-height:44px; font-size:13px; }
#phone #app .screen:not(#s-match) .funds-instruction { padding:10px 12px; background:#eff8f2!important; border-radius:10px; margin-bottom:12px; font-size:12px; }
#phone #app .screen:not(#s-match) .funds-instruction .ocean-icon { color:#075f32!important; }
#phone #app .screen:not(#s-match) .funds-amount-label { margin:6px 0 2px; font-size:15px; }
#phone #app .screen:not(#s-match) .funds-presets { gap:8px; margin:0 0 8px; }
#phone #app .screen:not(#s-match) .funds-presets button { min-height:44px; font-size:14px; font-weight:600; }
#phone #app .screen:not(#s-match) .funds-form .funds-confirm { min-height:48px; font-size:16px; letter-spacing:0; margin:4px 0 8px; }
#phone #app .screen:not(#s-match) .funds-form p { margin:2px 0 6px; }
/* 个人资料中的复制操作轻量化，不和主要操作争夺注意。 */
#phone #app .screen:not(#s-match) .mine-user-id { background:#eff8f2!important; border:0!important; border-radius:8px!important; min-height:36px!important; padding:8px 10px!important; }
#phone #app .mine-profile { min-height:150px; }
#phone #app .mine-usdt-value { font-size:27px; font-weight:750; }
#phone #app .mine-name-line { height:32px; }
#phone #app .mine-ocean-header { margin:0 0 16px; min-height:66px; border:0!important; border-radius:0; background:transparent!important; }
#phone #app .mine-ocean-header::before { font-size:24px; padding-left:2px; }
#phone #app .mine-settings-button { border-radius:12px!important; right:0; width:52px; }
#phone #app .screen:not(#s-match) .set-row { padding:14px 0; gap:12px; border-bottom-color:#e2ece6; }
/* 邀请页的小统计块采用柔绿填充，外部仍为白色板块。 */
#phone #app .screen:not(#s-match) :is(.invite-stat,.invite-mainline) { background:#eff8f2!important; border:1px solid #d6e8dc!important; border-radius:12px; box-shadow:none!important; }
#phone #app .screen:not(#s-match) :is(.invite-team-note,.invite-code-note) { background:#f4f8f5!important; border-color:#dce8e0!important; border-radius:10px; }
#phone #app .screen:not(#s-match) .invite-team-heading { margin-bottom:14px; }
/* 底栏通过轻分隔线衔接内容，选中态采用绿色小框。 */
#phone #app .screen:not(#s-match) :is(.mine-bottom-nav,.home-bottom-nav,.invite-bottom-nav,.tabbar) { border-top:1px solid #dce8e0!important; box-shadow:0 -3px 12px rgba(24,76,43,.035)!important; padding:6px 8px calc(6px + var(--safe-bottom))!important; min-height:70px; gap:4px; }
#phone #app .screen:not(#s-match) :is(.mine-nav-item,.home-nav-item,.invite-nav-item) { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:52px; font-size:11px; font-weight:500; border-radius:12px!important; }
#phone #app .screen:not(#s-match) :is(.mine-nav-item,.home-nav-item,.invite-nav-item) .ocean-icon { width:21px; height:21px; color:inherit!important; }
#phone #app .screen:not(#s-match) :is(.mine-bottom-nav,.home-bottom-nav,.invite-bottom-nav) button[aria-current=page] { background:#dcf5e5!important; color:#075f32!important; font-weight:700; }
@media(max-width:360px) {
 #phone #app .screen:not(#s-match) :is(.mine-body,.social-body,.shop-body,.home-body) { padding-left:10px; padding-right:10px; }
 #phone #app .screen:not(#s-match) :is(.panel,.mine-profile,.invite-card) { padding:12px!important; }
 #phone #app .screen:not(#s-match) .funds-balance b { font-size:17px; }
}
@media(prefers-reduced-motion:reduce) { #phone #app .screen:not(#s-match) button { transition:none; } }

/* 个人中心的覆盖规则明确限定页面，避免旧主题高权重样式冲突。 */
#phone #app #s-mine .mine-ocean-header { background:transparent!important; border:0!important; }
#phone #app #s-mine.screen:not(#s-match) .mine-user-id { background:#eff8f2!important; border:0!important; border-radius:8px!important; color:#3d5144!important; }
#phone #app #s-social.screen:not(#s-match) .invite-code { padding:8px 12px; background:#eff8f2!important; color:#075f32!important; border:1px solid #c9e4d3!important; border-radius:12px!important; }
#phone #app #s-social.screen:not(#s-match) .invite-code-note { padding:10px 12px; line-height:1.6; }
#phone #app #s-mine .mine-settings-button { min-height:40px; height:40px; }
#phone #app #s-mine .mine-copy-name,#phone #app #s-mine .mine-usdt button { background:transparent!important; color:#5e7064!important; }
#phone #app .screen:not(#s-match) :is(.funds-tabs button:disabled,.funds-presets button:disabled,.funds-form .funds-confirm:disabled,.shop-buy:disabled,.btn-gold:disabled) { background:#e8efeb!important; color:#6e7c73!important; border-color:#d3ded7!important; opacity:1; }
