/* D stage-2 reference DOM, 390 x 844. Additional states adapt naturally. */
.main[data-source]:not([data-source=derived]){padding:0}
.source-profile{min-height:100dvh;padding-bottom:110px}
.profile-source-identity{height:276px;background:#8b5cf6;position:relative;color:#fff}
.profile-source-avatar{position:absolute;left:20px;top:56px;width:68px;height:68px;border-radius:50%;padding:0;border:3px solid #fff;overflow:hidden;background:#ddd6fe}
.profile-source-avatar img{width:100%;height:100%;object-fit:cover}
.profile-source-name{position:absolute;left:102px;top:64px;right:86px;min-width:0}
.profile-source-name h1{font-size:20px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-source-name p{font-size:12px;line-height:18px;color:#ddd6fe;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.profile-source-grade{position:absolute;right:20px;top:77px;width:48px;height:27px;border-radius:14px;background:#a78bfa;font-size:10px;line-height:18px;text-align:center;padding:4px 0}
.profile-source-statistics{height:80px;background:white;border-radius:20px;margin-inline:16px;display:grid;grid-template-columns:30.2% 25.7% 44.1%;color:#18181b;position:relative}
.user .profile-source-statistics{position:absolute;top:150px;width:calc(100% - 32px)}
.profile-source-statistics>div{position:relative;display:flex;flex-direction:column;align-items:center;padding-top:11px;gap:0;min-width:0}
.profile-source-statistics>div+div:before{content:'';position:absolute;left:0;top:22px;width:1px;height:36px;background:#e4e4e7}
.profile-source-statistics strong{font-size:24px;line-height:32px;color:#8b5cf6;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.profile-source-statistics span{font-size:12px;line-height:18px;color:#71717a;margin-top:3px;white-space:nowrap}
.profile-source-balance{height:90px;border-radius:20px;background:white;margin:16px 16px 9px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between}
.profile-source-balance p{font-size:12px;line-height:18px;color:#71717a}
.profile-source-balance strong{font-size:28px;line-height:36px;font-weight:700}
.profile-source-balance button{height:40px;width:80px;border-radius:20px;background:linear-gradient(100deg,#da6ae9,#8b5cf6);color:white;font-size:14px;padding:10px 0}
.profile-source-menu{margin-inline:16px;border-radius:20px;overflow:hidden;background:#fff}
.profile-source-menu>button{display:flex;align-items:center;position:relative;width:100%;height:57px;padding:0 20px;gap:12px;background:white;border-radius:0;border-bottom:1px solid #f4f4f5;text-align:left;font-size:14px;line-height:20px;font-weight:600}
.profile-source-menu>button:last-child{border:0;height:56px}
.profile-source-menu-icon{width:36px;height:36px;flex:none;background:#ede9fe;border-radius:12px;display:grid;place-items:center}
.profile-source-menu-icon img{width:18px;height:18px;mix-blend-mode:multiply}
.profile-source-menu>button:nth-child(2) .profile-source-menu-icon{background:#ddf3f5}
.profile-source-menu>button:nth-child(3) .profile-source-menu-icon{background:#e5eeff}
.profile-source-menu>button:nth-child(4) .profile-source-menu-icon{background:#fff4df}
.profile-source-menu>button:nth-child(5) .profile-source-menu-icon{background:#fce7f3}
.profile-source-menu>button:nth-child(6) .profile-source-menu-icon{background:#f4f4f5}
.profile-source-menu-arrow{width:10px;height:16px;margin-left:auto;mix-blend-mode:multiply}
.player .profile-source-identity{height:220px;background:linear-gradient(180deg,#c4b0ed,#f8f7fe);margin-top:44px}
.player .profile-source-avatar{top:70px;width:80px;height:80px;border:0}
.player .profile-source-name{top:118px;left:116px;right:20px}
.player .profile-source-name h1{font-size:22px;line-height:28px;color:#1f1635;transform:translateY(-1px)}
.profile-source-tags{position:absolute;left:20px;top:161px;display:flex;gap:0}
.profile-source-tags span{font-size:12px;line-height:18px;padding:2px 10px;border-radius:12px;background:#ede9fe;color:#8b5cf6}
.profile-source-tags span+span{background:#ddf3f5;color:#14b8a6}
.player .profile-source-statistics{margin-top:16px;grid-template-columns:34.4% 31% 34.6%}
.player .profile-source-statistics{background:#ede8fa;border:1px solid #ddd6fe}
.player .profile-source-statistics>div+div:before{background:#ddd6fe}
.player .profile-source-statistics span{color:#a78bfa}
.player .profile-source-statistics strong{font-size:22px;line-height:30px;color:#1f1635}
.player .profile-source-statistics span{margin-top:3px}
.player .profile-source-menu{margin-top:16px}
.player .profile-source-avatar{border:3px solid #8b5cf6}
.player .profile-source-name{top:124px}
.player .profile-source-menu>button:nth-child(2) .profile-source-menu-icon{background:#e0f5ed}
.player .profile-source-menu>button:nth-child(3) .profile-source-menu-icon{background:#ddf3f5}
.player .profile-source-menu>button:nth-child(4) .profile-source-menu-icon{background:#e5eeff}
.player .profile-source-menu>button:nth-child(5) .profile-source-menu-icon{background:#fff4df}
.player .profile-source-menu>button:nth-child(6) .profile-source-menu-icon{background:#fce7f3}
.source-profile .profile-source-menu>button{font-synthesis:none;-webkit-text-stroke:.2px currentColor}
.source-nav.u03,.source-nav.u04,.source-nav.p02,.source-nav.p04{background:white}
.source-nav.p02{background:#f8f7fe}
.source-nav.u05{bottom:max(12px,env(safe-area-inset-bottom,0px));height:66px;border-radius:33px;background:white;border:0;padding:0}
.source-nav.u05 .nav-item{flex-direction:row;gap:6px;border-radius:0;height:66px;padding:0;font-size:12px;color:#a1a1aa}
.source-nav.u05 .nav-item.active{background:transparent;color:#8b5cf6}
.source-nav.u05 .source-icon{width:16px;height:16px}
.source-orders{padding-bottom:110px;min-height:100dvh}
.order-source-header{height:152px;background:white;padding-top:56px}
.order-source-header>div:first-child{height:44px;display:flex;align-items:flex-start;justify-content:space-between;padding:0 20px}
.order-source-header h1{font-size:20px;line-height:28px;flex:1;text-align:center}
.source-orders.player .order-source-header{padding-top:56px;background:linear-gradient(#f8f7fe 44px,white 44px)}
.source-orders.player .order-source-header h1{text-align:left}
.order-source-pending{height:36px;border-radius:18px;background:#f3efff;border:1px solid #ddd6fe;color:#8b5cf6;font-size:12px;padding:8px 13px;display:flex;gap:6px;align-items:center}
.order-source-pending:before{content:'';width:8px;height:8px;background:#8b5cf6;border-radius:50%}
.order-source-filters{display:flex;gap:16px;height:40px;padding:9px 20px 0}
.order-source-filters button{background:transparent;position:relative;padding:0 6px;font-size:14px;line-height:20px;font-weight:400;height:28px;color:#71717a;white-space:nowrap}
.order-source-filters button.active{color:#8b5cf6}
.order-source-filters button.active:after{content:'';height:3px;width:24px;position:absolute;bottom:-2px;left:8px;border-radius:2px;background:#8b5cf6}
.source-orders.player .order-source-filters{gap:5px;padding-top:6px}
.order-source-list{display:grid;gap:12px;margin:16px 16px 0}
.order-source-card{height:198px;border-radius:20px;background:white;overflow:hidden;position:relative}
.order-source-card.cancelled{height:138px}
.order-source-number{height:52px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f4f4f5;padding:0 16px;gap:10px}
.order-source-number>a,.order-source-number>button{font-size:12px;color:#71717a;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.order-source-status{border-radius:8px;background:#ddf3f5;color:#14b8a6;font-size:12px;line-height:18px;padding:3px 8px;white-space:nowrap;max-width:130px;overflow:hidden;text-overflow:ellipsis}
.order-source-status.done,.order-source-status.cancelled{background:#f4f4f5;color:#a1a1aa}
.source-orders.player .order-source-status.cancelled{background:#ffe7eb;color:#f43f5e}
.order-source-facts{position:relative;display:flex;gap:12px;padding:13px 16px 0;min-height:87px}
.order-source-facts>img{width:52px;height:52px;border-radius:50%;object-fit:cover;margin-top:4px;flex:none}
.order-source-facts>div{min-width:0;flex:1;padding-right:68px}
.order-source-facts h2{font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-source-facts h2 .plain-link{color:#18181b;font:inherit;font-weight:700}
.order-source-facts p{font-size:12px;line-height:18px;color:#71717a;margin-top:3px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.order-source-facts time{display:block;font-size:11px;line-height:17px;color:#a1a1aa;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-source-facts>strong{position:absolute;right:16px;top:29px;color:#8b5cf6;font-size:18px;line-height:24px;max-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.order-source-card:has(.done) .order-source-facts>strong,.order-source-card.cancelled .order-source-facts>strong{color:#a1a1aa}
.order-source-actions{position:absolute;bottom:12px;right:16px;left:16px;display:flex;gap:10px;justify-content:flex-end;overflow:auto;scrollbar-width:none}
.order-source-actions button,.order-source-actions .button{height:36px;min-height:36px;border-radius:18px;padding:8px 14px;font-size:12px;line-height:18px;flex:none;white-space:nowrap}
.order-source-outline{border:1px solid #8b5cf6;background:#fff;color:#8b5cf6}
.order-source-muted{background:#f4f4f5;color:#71717a}
.order-source-actions img{width:16px;height:16px;margin-right:6px;vertical-align:middle;mix-blend-mode:multiply}
.order-source-actions [data-action=end-order]{background:#8b5cf6;color:white;font-weight:600;max-width:126px;overflow:hidden;text-overflow:ellipsis}
.order-source-header h1{transform:translateY(4px)}.order-source-filters{transform:translateY(3px)}
.source-catalog{min-height:100dvh;padding-bottom:110px}
.catalog-source-header{background:white;height:148px;padding:52px 16px 8px}
.catalog-source-header>div:first-child{height:44px;display:flex;align-items:center;gap:12px}
.catalog-source-header h1{font-size:20px;line-height:28px;flex:1}
.catalog-back,.catalog-search-icon{padding:8px;background:transparent;width:28px;min-width:28px;border-radius:0}
.catalog-back img{width:16px;height:20px}.catalog-search-icon{width:30px}.catalog-search-icon img{width:22px;height:22px}
.catalog-source-sorts{display:flex;gap:8px;margin-top:12px;height:32px}
.catalog-source-sorts button{display:flex;align-items:center;justify-content:center;gap:2px;height:32px;border-radius:16px;background:#f4f4f5;font-weight:400;font-size:12px;line-height:18px;padding:7px 12px;min-width:66px;color:#71717a}
.catalog-source-sorts button:first-child{min-width:54px}.catalog-source-sorts button.active{background:#8b5cf6;color:white}
.catalog-source-sorts img{width:10px;height:9px;mix-blend-mode:multiply}.catalog-source-sorts button:last-child img{width:16px;height:16px}
.catalog-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 22px 0 16px}
.catalog-source-card{background:white;border-radius:20px;overflow:hidden;height:217px}
.catalog-source-card.first{height:237px}
.catalog-source-photo{display:block;width:100%;height:140px;padding:0;border-radius:0}
.catalog-source-photo img{width:100%;height:100%;object-fit:cover}
.catalog-source-card>div{padding:9px 12px 8px}.catalog-source-card.first>div{padding-top:29px}
.catalog-source-card h2{height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:14px;line-height:20px}
.catalog-source-card h2 .plain-link{font:inherit;font-weight:600;color:#18181b}
.catalog-source-card h2{font-synthesis:none;-webkit-text-stroke:.16px currentColor}
.catalog-source-card p{font-size:11px;line-height:17px;color:#71717a;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.catalog-source-card>div>span{display:flex;justify-content:space-between;gap:4px;align-items:center;margin-top:0;font-size:12px;line-height:18px;color:#8b5cf6;white-space:nowrap}
.catalog-source-card small{color:#a1a1aa;font-size:9px;font-weight:400}
.source-product{padding-bottom:100px;min-height:100dvh}
.product-source-cover{height:300px;position:relative;background:#ddd6fe}
.product-source-cover>img{width:100%;height:100%;object-fit:cover}
.product-source-back,.product-source-share{position:absolute;top:44px;left:20px;background:transparent;padding:10px;width:40px;height:40px;border-radius:50%}
.product-source-back img{width:16px;height:18px}.product-source-share{left:auto;right:16px}.product-source-share img{width:20px;height:20px}
.product-source-summary{height:154px;background:white;padding:12px 20px 16px;border-radius:0 0 24px 24px}
.product-source-summary>div{display:flex;align-items:center;justify-content:space-between;height:44px}
.product-source-summary>div>strong{font-size:30px;line-height:38px;color:#8b5cf6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-source-summary>div>span{font-size:12px;color:#71717a;background:#f4f4f5;border-radius:14px;padding:5px 10px;white-space:nowrap}
.product-source-summary h1{font-size:16px;line-height:24px;height:24px;margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-source-merchant{width:100%;height:44px;padding:0;display:flex;gap:10px;background:transparent;text-align:left;border-radius:0;margin-top:8px}
.product-source-merchant>img:first-child{width:36px;height:36px;object-fit:cover;border-radius:50%}
.product-source-merchant>span{flex:1;min-width:0;display:flex;flex-direction:column;font-size:14px;line-height:20px}
.product-source-merchant small{font-size:12px;line-height:18px;font-weight:400}
.product-source-merchant>img:last-child{width:12px;height:18px;margin-top:9px}
.product-source-specifications{background:white;border-radius:24px;margin-top:12px;min-height:200px;padding:15px 20px 16px}
.product-source-specifications h2{font-size:16px;line-height:24px;transform:translateY(-1px)}
.product-source-specifications>p{color:#71717a;font-size:13px;line-height:20px;margin-top:9px;transform:translateY(1px)}
.product-source-options,.product-source-platforms{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.product-source-options button,.product-source-platforms button{height:36px;padding:8px 12px;border:1px solid #e4e4e7;border-radius:18px;background:white;font-size:12px;line-height:18px;font-weight:400;white-space:nowrap}
.product-source-options button{min-width:79px;max-width:100%;height:auto;min-height:36px;padding-inline:16px;font-weight:400;white-space:normal;overflow-wrap:anywhere}.product-source-options button:nth-child(3){min-width:85px;margin-left:1px}.product-source-options button.active{font-weight:500}
.product-source-platforms button{min-width:54px;padding-inline:16px}.product-source-platforms button:first-child{min-width:58px}
.product-source-options button.active,.product-source-platforms button.active{background:#8b5cf6;color:white;border-color:#8b5cf6}
.product-source-specifications>p{-webkit-text-stroke:.1px white}
.product-source-specifications h2,.product-source-reviews h2{font-synthesis:none;-webkit-text-stroke:.18px currentColor}
.product-source-reviews h2{transform:translateY(2px)}
.product-source-platforms button.active{-webkit-text-stroke:.08px #8b5cf6}
.product-source-specifications .product-source-options+p{margin-top:12px;transform:translateY(2px)}.product-source-platforms small{font-size:10px;align-self:center;color:#a1a1aa}
.product-source-reviews{min-height:76px;margin-top:12px;border-radius:24px 24px 0 0;background:white;padding:12px 20px}
.product-source-reviews>div{display:flex;justify-content:space-between;align-items:center;height:28px}
.product-source-reviews h2{font-size:16px;line-height:24px}.product-source-reviews>div>span{font-size:10px;background:#fef3c7;color:#92400e;padding:6px;border-radius:14px}
.product-source-reviews>p{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:14px}
.product-source-review-avatar{width:32px;height:32px;border-radius:50%;background:#ddd6fe}
.product-source-footer,.checkout-source-total{position:fixed;left:50%;transform:translateX(-50%);bottom:0;width:100%;max-width:480px;background:white;z-index:20;height:90px;padding:20px 20px max(20px,env(safe-area-inset-bottom,0px));display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.product-source-cart{height:50px;padding:14px 16px;display:flex;align-items:center;gap:4px;background:#ede8fa;color:#8b5cf6;font-size:14px;line-height:20px;border-radius:16px;white-space:nowrap}
.product-source-cart img{width:20px;height:20px;mix-blend-mode:multiply}.product-source-footer .primary{height:50px;flex:1;white-space:nowrap}
.product-source-description{margin:20px;font-size:12px;color:#71717a}
.source-checkout{min-height:100dvh;padding-bottom:100px}
.checkout-source-header{height:148px;background:white;padding:52px 20px 8px}
.checkout-source-header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.checkout-source-header>div:first-child{height:40px}.checkout-source-header h1{font-size:20px;line-height:28px;flex:1}
.checkout-source-back{padding:8px 4px;background:transparent}.checkout-source-back img{width:16px;height:18px}
.checkout-source-header>div:last-child{height:40px;margin-top:10px;font-size:14px}
.checkout-source-header>div:last-child>span{display:flex;align-items:center;gap:10px}.checkout-source-header>div:last-child img{width:22px;height:22px}
.checkout-source-header>div:last-child>.plain-link{color:#ef4444;font-size:14px}
.checkout-source-item{margin:10px 16px 0;background:white;border-radius:20px;height:98px;padding:14px 16px;display:flex;gap:12px;align-items:center}
.checkout-source-item>span{width:22px;flex:none}.checkout-source-item>span img{width:22px;height:22px}
.checkout-source-item>img{width:70px;height:70px;object-fit:cover;border-radius:10px;flex:none}
.checkout-source-item>div{flex:1;min-width:0;align-self:stretch;position:relative}
.checkout-source-item h2{font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkout-source-item p{font-size:12px;line-height:18px;color:#a1a1aa;margin-top:2px}
.checkout-source-item strong{position:absolute;left:0;bottom:0;font-size:16px;line-height:22px;color:#8b5cf6;max-width:calc(100% - 88px);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.checkout-source-quantity{position:absolute;right:0;bottom:0;display:flex;align-items:center;height:28px;gap:0}
.checkout-source-quantity button{width:28px;height:28px;border-radius:8px;background:#f4f4f5;color:#71717a;padding:4px;font-size:14px;line-height:20px;font-weight:400}
.checkout-source-quantity button:last-child{background:#8b5cf6;color:white}
.checkout-source-quantity input{width:24px;height:28px;border:0;padding:0;text-align:center;background:white;appearance:textfield;font-size:12px}
.checkout-source-quantity input::-webkit-inner-spin-button{appearance:none}
.checkout-source-arrangement{margin:108px 16px 16px;border-radius:20px;background:white;padding:16px;display:grid;gap:12px}
.checkout-source-arrangement h2{font-size:16px;line-height:24px}.checkout-source-arrangement p{font-size:12px;color:#71717a}
.checkout-source-form>.form-error{margin-inline:16px}.checkout-source-total{display:flex;padding-top:16px}
.checkout-source-total>div{display:flex;flex-direction:column;gap:0;min-width:0}.checkout-source-total span{font-size:12px;line-height:18px;color:#71717a}
.checkout-source-total strong{color:#8b5cf6;font-size:24px;line-height:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.checkout-source-total .primary{height:50px;white-space:nowrap;flex:none}
.source-income{min-height:100dvh;padding-top:52px}
.income-source-header{height:60px;display:flex;align-items:center;gap:16px;padding:0 20px;margin-bottom:12px}
.income-source-back{padding:4px;background:transparent;width:23px}.income-source-back img{width:16px;height:20px}
.income-source-header h1{font-size:24px;line-height:32px;flex:1;min-width:0;transform:translateY(2px)}.income-source-pill{background:white;border-radius:17px;width:82px;height:33px;display:grid;place-items:center;font-size:12px}
.income-source-main{height:143px;border-radius:24px;background:white;position:relative}
.income-source-main>img{position:absolute;left:20px;bottom:27px;width:14px;height:10px}
.income-source-statistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 16px}
.income-source-statistics>div{height:78px;border-radius:20px;background:white;padding:10px 16px;min-width:0;display:flex;flex-direction:column}
.income-source-statistics strong{font-size:24px;line-height:32px;color:#8b5cf6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.income-source-statistics>div:nth-child(2) strong{color:#14b8a6}.income-source-statistics>div:nth-child(3) strong{color:#ec4899}
.income-source-statistics span{font-size:14px;line-height:20px;color:#71717a;white-space:nowrap}
.income-source-trend{height:196px;border-radius:24px;background:white;padding:16px;margin-top:0}
.income-source-trend header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.income-source-trend h2,.income-source-detail h2{font-size:16px;line-height:24px}
.income-source-trend header>div{display:flex;height:32px;padding:4px;background:#f4f4f5;border-radius:12px}
.income-source-trend button{font-size:12px;line-height:18px;width:36px;height:24px;padding:3px 0;background:transparent;border-radius:8px;font-weight:400;color:#71717a}
.income-source-trend button.active{background:#8b5cf6;color:white}
.income-source-trend>p{font-size:12px;line-height:18px;color:#a1a1aa;text-align:center;padding:48px 0}
.income-source-detail{min-height:267px;border-radius:24px 24px 0 0;background:white;margin-top:12px;padding:20px 16px}
.income-source-detail>header{display:flex;align-items:center;justify-content:space-between;height:32px;margin-bottom:4px}
.income-source-detail>header>.plain-link{font-size:14px}
.income-source-detail article{display:flex;align-items:center;gap:12px;position:relative;height:64px;min-width:0}
.income-source-detail article>img{width:40px;height:40px;padding:12px;border-radius:12px;background:#ede9fe;object-fit:contain;mix-blend-mode:multiply;flex:none}
.income-source-detail article>div{flex:1;min-width:0;padding-right:68px}.income-source-detail h3{font-size:14px;line-height:20px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.income-source-detail h3 .plain-link{color:#18181b;font:inherit;font-weight:600}.income-source-detail h3{font-synthesis:none;-webkit-text-stroke:.16px currentColor}.income-source-detail article p{font-size:11px;line-height:18px;color:#a1a1aa;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.income-source-detail article>span{position:absolute;right:0;display:flex;flex-direction:column;gap:0;align-items:flex-end;max-width:86px}
.income-source-detail article strong{font-size:14px;line-height:20px;color:#14b8a6;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.income-source-detail article small{font-size:9px;line-height:14px;background:#ddf3f5;color:#14b8a6;border-radius:6px;padding:4px 6px}
#player-invite-dialog{height:555px;max-height:calc(100dvh - 12px);overflow:hidden;inset:auto 0 0;margin:0 auto;background:white}
#player-invite-dialog::backdrop{background:#6c6c6c}
.invite-modal-head{position:absolute;left:24px;right:24px;top:24px;height:32px;display:flex;align-items:center;justify-content:space-between}
.invite-modal-head h2{font-size:20px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invite-modal-head h2,.invite-source-details h3{color:#1f1635}
.invite-source-close{padding:8px;width:32px;height:32px;background:#f4f4f5;border-radius:50%;flex:none}.invite-source-close img{width:16px;height:16px}
.invite-modal-body{position:absolute;top:70px;left:24px;right:24px;bottom:104px;overflow:auto;scrollbar-width:none}
.invite-source-expiry{height:70px;padding-top:10px;padding-left:100px;white-space:nowrap}
.invite-source-expiry>span{font-size:12px;line-height:18px;color:#71717a}.invite-source-expiry strong{font-size:12px;color:#8b5cf6}
.invite-source-expiry p{font-size:14px;line-height:20px;font-weight:600;margin-top:5px;color:#1f1635}
.invite-source-customer{height:88px;border-radius:16px;background:#f8f7fe;display:flex;gap:14px;align-items:center;padding:16px}
.invite-source-customer>img{width:56px;height:56px;object-fit:cover;border-radius:50%;flex:none}
.invite-source-customer>div{flex:1;min-width:0}.invite-source-customer h3{font-size:16px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex;align-items:center;gap:5px}
.invite-source-customer h3 span{font-size:8px;line-height:14px;padding:3px 4px;background:#fef3c7;color:#92400e;border-radius:6px;flex:none;font-weight:400}
.invite-source-customer p{font-size:11px;line-height:18px;color:#71717a;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.invite-source-details{height:191px;background:#f8f7fe;border-radius:16px;margin-top:22px;padding:12px 16px}
.invite-source-details h3{font-size:16px;line-height:24px;margin-bottom:7px}
.invite-source-details>div{display:flex;justify-content:space-between;align-items:center;gap:16px;height:30px;font-size:14px;line-height:20px}
.invite-source-details>div>span{color:#71717a}.invite-source-details strong{font-size:14px;line-height:20px;max-width:55%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:right}
.invite-source-details .amount{color:#8b5cf6;font-size:16px;line-height:24px}
.invite-source-notes{font-size:11px;color:#71717a;padding:12px 0;line-height:18px}
.invite-modal-footer{position:absolute;bottom:max(40px,env(safe-area-inset-bottom,0px));left:24px;right:24px;display:grid;grid-template-columns:110px minmax(0,1fr);gap:14px;height:54px}
.invite-modal-footer button{height:54px;min-height:54px;border-radius:14px;font-size:16px;line-height:24px;padding:15px 0}
.invite-source-reject{background:#f4f4f5;color:#71717a;border:1px solid #e4e4e7}.invite-modal-footer .primary{display:flex;align-items:center;justify-content:center;gap:10px;font-size:18px;line-height:26px;padding:14px 0}
.invite-modal-footer img{width:17px;height:19px;mix-blend-mode:screen}.invite-modal-footer>button:only-child{grid-column:1/-1}
.invite-message-alert{position:static;max-width:none;margin-top:12px;box-shadow:none;background:#ede8fa}
@media(max-width:370px){.profile-source-name{right:70px}.profile-source-statistics strong{font-size:20px}.player .profile-source-statistics strong{font-size:16px}.profile-source-statistics span{font-size:10px}.order-source-facts>div{padding-right:54px}.order-source-facts>strong{max-width:64px;font-size:16px}.catalog-source-grid{margin-right:16px}.catalog-source-card>div{padding-inline:10px}.catalog-source-card h2{font-size:12px}.product-source-options{gap:6px}.product-source-options button{padding-inline:10px}.product-source-cart{font-size:12px;padding-inline:10px}.product-source-footer{gap:10px}.checkout-source-item{gap:8px;padding-inline:12px}.checkout-source-item>img{width:56px;height:56px}.checkout-source-item h2{font-size:12px}.income-source-header{gap:10px}.income-source-header h1{font-size:22px}.income-source-statistics>div{padding-inline:10px}.income-source-statistics strong{font-size:19px}.income-source-statistics span{font-size:12px}.invite-source-expiry{padding-left:70px}.invite-modal-head h2{font-size:18px}.invite-modal-footer{grid-template-columns:88px minmax(0,1fr)}}
@media(min-width:1024px){body[data-layout=pc] .source-profile{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-content:start;padding:0;min-height:600px}.desktop-layout .profile-source-identity{grid-row:1/3;height:276px;border-radius:24px}.desktop-layout .source-profile.player .profile-source-identity{margin-top:0}.desktop-layout .profile-source-balance{margin:0;height:100px}.desktop-layout .profile-source-menu{margin:0}.desktop-layout .source-profile.player .profile-source-statistics{margin:0;height:100px}.desktop-layout .source-orders{padding:0}.desktop-layout .order-source-header{border-radius:24px;padding-top:20px;height:108px}.desktop-layout .order-source-list{margin:16px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.desktop-layout .source-catalog{padding:0}.desktop-layout .catalog-source-header{padding-top:20px;height:116px;border-radius:24px}.desktop-layout .catalog-source-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0;gap:20px}.desktop-layout .catalog-source-card{height:257px}.desktop-layout .catalog-source-card.first{height:277px}.desktop-layout .catalog-source-photo{height:180px}.desktop-layout .source-product{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:0}.desktop-layout .product-source-cover{height:460px;grid-row:1/4;border-radius:24px;overflow:hidden}.desktop-layout .product-source-summary,.desktop-layout .product-source-specifications,.desktop-layout .product-source-reviews{grid-column:2;margin:0;border-radius:24px;height:auto}.desktop-layout .product-source-footer{position:static;transform:none;max-width:none;border-radius:24px;grid-column:2;width:100%;height:90px}.desktop-layout .product-source-description{grid-column:1/-1}.desktop-layout .source-checkout{padding:0}.desktop-layout .checkout-source-header{padding-top:20px;height:116px;border-radius:24px}.desktop-layout .checkout-source-form{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.desktop-layout .checkout-source-item,.desktop-layout .checkout-source-arrangement{margin:0}.desktop-layout .checkout-source-total{position:static;transform:none;width:100%;max-width:none;border-radius:24px;grid-column:2}.desktop-layout .source-income{padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.desktop-layout .income-source-header,.desktop-layout .income-source-statistics{grid-column:1/-1;margin:0}.desktop-layout .income-source-main{grid-column:1/-1}.desktop-layout .income-source-detail{margin:0;border-radius:24px}.desktop-layout .income-source-trend{height:auto;min-height:267px}body[data-layout=pc] #player-invite-dialog{inset:50% auto auto 50%;transform:translate(-50%,-50%);border-radius:24px;max-width:480px}}

/* WK-025 E: keep the player mobile inset out of the compact desktop order header. */
@media(min-width:1024px){.desktop-layout .source-orders.player .order-source-header{padding-top:20px;background:white}}

/* Final per-source surface corrections from D region radii and original pixels. */
@media(max-width:1023px){.product-source-summary,.product-source-specifications,.product-source-reviews{border-radius:0}}
.product-source-options button,.product-source-platforms button{border-radius:10px;color:#374151}.product-source-options button.active,.product-source-platforms button.active{color:white}
.product-source-summary>div>span{border-radius:10px}.product-source-reviews>div>span{border-radius:9px}
.income-source-statistics>div{background:#ede8fa}.income-source-detail article>img{background:#ede8fa;mix-blend-mode:normal}.income-source-detail article strong{color:#22c55e}.income-source-detail article small{background:#fef3c7;color:#92400e}.income-source-detail article small.settled{background:#edfdf3;color:#22c55e}
.profile-source-menu-icon img{mix-blend-mode:normal}.profile-source-balance button{background:linear-gradient(100deg,#ec4899,#8b5cf6)}
.profile-source-tags span{background:#ddd6fe}.profile-source-tags span+span{background:#f4d0e8;color:#ec4899}
/* Chinese 700 now uses weight synthesis; avoid stacking the previous faux-bold strokes. */

.product-source-back img,.product-source-share img{mix-blend-mode:screen}.invite-modal-footer .source-icon{width:17px;height:19px}.detail-appointment .source-icon{width:16px;height:18px}.home-search>img{mix-blend-mode:normal}.hall-games .game-chip:not([aria-pressed=true]):nth-child(n+3){color:#71717a}
.profile-source-menu-icon{background:#f0ebfe}.profile-source-menu>button:nth-child(2) .profile-source-menu-icon{background:#e2f6f4}.profile-source-menu>button:nth-child(3) .profile-source-menu-icon{background:#e6effe}.profile-source-menu>button:nth-child(4) .profile-source-menu-icon{background:#fef3e0}.profile-source-menu>button:nth-child(5) .profile-source-menu-icon{background:#feedf6}
.player .profile-source-menu>button:nth-child(2) .profile-source-menu-icon{background:#e1f6ef}.player .profile-source-menu>button:nth-child(3) .profile-source-menu-icon{background:#e2f6f4}.player .profile-source-menu>button:nth-child(4) .profile-source-menu-icon{background:#e6effe}.player .profile-source-menu>button:nth-child(5) .profile-source-menu-icon{background:#fef3e0}.player .profile-source-menu>button:nth-child(6) .profile-source-menu-icon{background:#feedf6}
.source-orders.player .order-source-card{box-shadow:0 2px 7px #1f163508}

/* WK-025 D: source-specific typography; specifications, profile identity and sheet geometry stay fixed. */
.source-orders:not(.player) .order-source-header h1{font-synthesis:none;-webkit-text-stroke:.34px currentColor}
.source-orders.player .order-source-header h1{font-synthesis:none;-webkit-text-stroke:.25px currentColor}
.income-source-header h1{font-synthesis:none;-webkit-text-stroke:.57px currentColor}
.income-source-trend h2{font-synthesis:none;-webkit-text-stroke:.27px currentColor}
.income-source-detail h2{font-synthesis:none;-webkit-text-stroke:.31px currentColor}
.income-source-detail h3{-webkit-text-stroke:.04px currentColor;transform:translateY(1px)}
.product-source-reviews h2{transform:translateY(3px)}
#player-invite-dialog .invite-modal-head h2{font-synthesis:none;-webkit-text-stroke:.48px currentColor}
#player-invite-dialog .invite-source-details h3{font-size:15px;font-synthesis:none;-webkit-text-stroke:.34px currentColor}

/* WK028 C P02 current export: absolute frame positions include the 44px background. */
.player .profile-source-identity{height:224px}.player .profile-source-avatar{top:43px}.player .profile-source-name{top:72px;left:118px}.player .profile-source-tags{top:149px}.player .profile-source-statistics{margin-top:12px}
.income-source-statistics strong.long-value{font-size:22px}
@media(min-width:1024px){body[data-layout=pc] .source-profile.player .profile-source-identity{height:276px}.desktop-layout .source-profile.player .profile-source-statistics{margin-top:0}}
@media(max-width:370px){.income-source-statistics strong.long-value{font-size:16px}}
