/* PEPA / 拍吧 brand layer — layout and business states remain intact. */
:root{--pepa-pink:#ff4d8b;--pepa-orange:#ff8a3d;--pepa-lavender:#e9d7ff}
body.phone.mini[data-theme]{--brand-yellow:#ff4d8b;--brand-ink:#28242e;--accent:#a52d63;--ink:#28242e}
body.phone.mini.shiny-web[data-theme]{--brand-yellow:#ff4d8b;--brand-ink:#28242e;background:#fafafc!important}
body.phone.mini.shiny-web.is-public-home{background:radial-gradient(ellipse at 80% 20%,#f5e7fb,transparent 55%),radial-gradient(ellipse at 15% 70%,#fff0e7,transparent 50%),#fafafc!important}
body.phone.mini.shiny-web[data-theme] .landing-copy h1{color:#211d26!important;line-height:1.4!important;font-weight:800!important}
body.phone.mini.shiny-web[data-theme] .landing-eyebrow{color:#ab305f;background:#ffe4ef;border-radius:30px;letter-spacing:1px}
body.phone.mini.shiny-web[data-theme] :is(#app,#overlay) .btn:not(:disabled):not(.light):not(.secondary):not(.white){background:linear-gradient(110deg,#ff8a3d,#ff4d8b 62%,#f72b98)!important;border-color:#ee6693!important;color:#241a23!important;box-shadow:0 4px 0 #b43c6620,0 10px 24px -16px #ff4d8b!important}
body.phone.mini.shiny-web[data-theme] .web-nav button.active{background:#ffe5ef!important;color:#a02c5d!important}
body.phone.mini.shiny-web[data-theme] .web-nav button.active:before{background:#ff4d8b!important}
body.phone.mini.shiny-web .landing-brand img{width:172px;height:56px}.web-brand img{width:185px!important;height:64px!important}
.pepa-assistant-logo{width:100%;height:100%;object-fit:contain}.brand img{height:64px}.side .brand{width:164px;margin-left:8px}
body[data-view] .primary{background:#8551a8;border-color:#8551a8;color:#fff}body[data-view] .side nav a.active{background:#f0e8fa;color:#683c86}body[data-view] .workspace{color:#483151}
body[data-view="showcase"] .side nav a.active{background:#51335d;color:#ffd6eb}body[data-view="showcase"] .workspace{color:#ebccea}
body[data-view="showcase"] .primary{background:linear-gradient(110deg,#ffad73,#ffa7cc);border-color:#ffa7cc;color:#342039}
body[data-view] .side nav a:hover{background:#f3eaf8}body[data-view="showcase"] .side nav a:hover{background:#432c4d}
@media(max-width:760px){.side .brand{width:124px;margin-left:0}.landing-header .landing-brand img{width:136px}.side .brand img{height:43px}}
.side nav i.pending-badge{background:#eee2f7;color:#8551a8}body:has(.editor-main),body:has(.workspace-label){--green:#8551a8;--ink:#342840;--bg:#f8f6fb;--line:#ece5f0}body:has(.workspace-label) .sidebar{background:#302239}body:has(.workspace-label) .sidebar .active{background:#51335d}body:has(.workspace-label) .step-number{background:#f0e8fa;color:#8551a8}
/* Shared user-facing brand, including the mini-program preview. */
body.phone.mini:not(.shiny-web)[data-theme]{background:#f3eef7!important;color:#28242e!important;--accent:#b33168;--ink:#28242e;--muted:#847787;--ui-blue:#b33168;--ui-orange:#ed793f;--line:#eadfeb;--ice-panel:#ffffffeb;--ice-control:#fff;--ice-edge:#efe4f0;--ice-shadow:0 8px 26px -20px #73495d55}
body.phone.mini:not(.shiny-web)[data-theme] .shell{background:linear-gradient(155deg,#fff8fa,#f5effc 55%,#fff8f1)!important;box-shadow:0 16px 60px #74495815!important}
body.phone.mini:not(.shiny-web)[data-theme] .shell::before,body.phone.mini:not(.shiny-web)[data-theme] .shell::after{display:none!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(.wx-chrome,.wx-nav,.wx-status){background:#fcf9fd!important;color:#302438!important;border-color:#eee3f1!important}
body.phone.mini:not(.shiny-web)[data-theme] .wx-brand{background:none!important;-webkit-text-fill-color:initial!important;display:flex;align-items:center;justify-content:center}
.pepa-mini-logo{display:block;width:110px;height:36px;object-fit:contain}.pepa-exit-logo{width:170px;height:70px;object-fit:contain;margin:auto}
body.phone.mini:not(.shiny-web)[data-theme] :is(h1,h2,h3,h4,.bigmoney,.offer-reward strong,.mini-claim-bar strong){color:#302438!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(.offer-card,.wallet-hero,.profile-head,.creator-level,.creator-report,.detail-section,.mytask,.aligned-empty,.profile-links,.aligned-matching,.beginner-card,.web-wallet-unverified,.guide-disclosure,.beginner-fold){background:#ffffffee!important;border:1px solid #ede3ef!important;box-shadow:0 6px 20px -17px #73495855!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(.offer-card,.wallet-hero,.profile-head,.creator-level,.creator-report)::before{background:none!important;border:0!important;box-shadow:none!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(#app,#overlay) .btn:not(:disabled):not(.light):not(.secondary):not(.white),body.phone.mini:not(.shiny-web)[data-theme] .shell .content:has(.creator-photo-wall) .mini-welcome .btn{background:linear-gradient(110deg,#ff8a3d,#ff4d8b 62%,#f72b98)!important;color:#241a23!important;border:1px solid #ee6693!important;box-shadow:0 5px 18px -10px #f34c8c!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(.btn.light,.btn.secondary,.btn.white){background:white!important;border:1px solid #e4d4e8!important;color:#973a70!important;box-shadow:none!important}
body.phone.mini:not(.shiny-web)[data-theme] .mobile-nav{background:#fffdfef5!important;border-color:#eee0ee!important;box-shadow:0 -5px 20px -15px #834c6a33!important}
body.phone.mini:not(.shiny-web)[data-theme] .mobile-nav button.active{color:#b33168!important;background:#ffe8f1!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(.mobile-nav button.active .icon,.filter.active){color:#b33168!important}
body.phone.mini:not(.shiny-web)[data-theme] .mini-claim-bar{background:#fff9fd!important;border-color:#ecddea!important}
body.phone.mini:not(.shiny-web)[data-theme] :is(.on-verify-banner,.next-action){background:#fff!important;border:1px solid #edc9db!important;color:#664451!important}
body.phone.mini:not(.shiny-web)[data-theme] .pearl-orb{background:#fff url('pepa-icon.svg') center/75% no-repeat!important;box-shadow:0 5px 18px #ff4d8b20!important}body.phone.mini:not(.shiny-web)[data-theme] .pearl-orb::before,body.phone.mini:not(.shiny-web)[data-theme] .pearl-orb::after{display:none!important}
body.phone.mini:not(.shiny-web)[data-theme] #overlay :is(.modal,.sheet,.support-chat){background:#fffafd!important;border-color:#ecdeee!important;color:#302438!important}
body.phone.mini:not(.shiny-web)[data-theme] #overlay .on-brand img{width:165px;height:54px;object-fit:contain}
body.phone.mini:not(.shiny-web)[data-theme] #app .mobile-nav button.active .icon{color:#b33168!important;stroke:#b33168!important;background:#ffe8f1!important;filter:none!important}
body.phone.mini:not(.shiny-web)[data-theme] #overlay .support-chat :is(.agent-mark,.agent-orb){background:transparent url('pepa-icon.svg') center/contain no-repeat!important;box-shadow:none!important;border:0!important}
body.phone.mini:not(.shiny-web)[data-theme] #overlay .support-chat :is(.agent-mark,.agent-orb)>*,body.phone.mini:not(.shiny-web)[data-theme] #overlay .support-chat :is(.agent-mark,.agent-orb)::before,body.phone.mini:not(.shiny-web)[data-theme] #overlay .support-chat :is(.agent-mark,.agent-orb)::after{visibility:hidden!important}
