/* Shared public palette; no layout or material changes. */
body:not(.admin-embed){--portal-navy:#1e223d;--portal-orange:#f54f1b;--portal-beige:#e6d6b7;--ink:#e6d6b7;--muted:#bcb39f;--line:#e6d6b733;--soft:#272c49;--pink:#f54f1b}
body:not(.admin-embed) .app:not(.profile-detail){background:#1e223d;color:#e6d6b7}
body:not(.admin-embed) .app:not(.detail-page){--glass:#1e223d}
body:not(.admin-embed) .app>.top{background:#1e223d;border-color:#e6d6b733}
body:not(.admin-embed) .app .notice-bar{background:#1e223d;color:#e6d6b7;border:1px solid #f54f1b;box-shadow:inset 3px 0 0 #f54f1b}
body:not(.admin-embed) .notice-speaker{color:#f54f1b}
body:not(.admin-embed) .web>#portal-nav{background:#1e223d;border-color:#e6d6b733}
body:not(.admin-embed) #portal-nav .category-pill{color:#e6d6b7}
body:not(.admin-embed) #portal-nav .category-pill.active{color:#f54f1b}
body:not(.admin-embed) .date-folders .folder-card{--accent:#f54f1b;--edge:#e6d6b744;background:#1e223d;color:#e6d6b7;border-color:#e6d6b744;box-shadow:none}
body:not(.admin-embed) .date-folders .folder-card.active{background:#f54f1b;color:#1e223d;border-color:#f54f1b;box-shadow:inset 0 1px 1px #ffffff44,inset 0 -2px 2px #0002}
body:not(.admin-embed) .date-folders .folder-card.active:before{border-color:currentColor}
body:not(.admin-embed) .date-folders .folder-card.active:after{background:currentColor}
body:not(.admin-embed) .app .product-card:not(.profile-id-card){background:#272c49;border-color:#e6d6b72e;box-shadow:none;color:#e6d6b7}
body:not(.admin-embed) .app .product-card>.product-title{color:#e6d6b7;background:#272c49}
body:not(.admin-embed) .app .icon-ad{background:transparent;border-color:transparent;box-shadow:none;color:#e6d6b7}
body:not(.admin-embed) .app .section-head{border-color:#e6d6b72e;color:#e6d6b7}
body:not(.admin-embed) .app .section-head h2,body:not(.admin-embed) .app .icon-ad p{color:#e6d6b7}
body:not(.admin-embed) .app .banner-rail{border-color:#e6d6b72e;box-shadow:none;background:#272c49}
body:not(.admin-embed) .detail-page:not(.profile-detail) .detail-copy{background:#272c49;border-color:#e6d6b733;color:#e6d6b7}
body:not(.admin-embed) .detail-page:not(.profile-detail) .detail-copy h1,body:not(.admin-embed) .detail-page:not(.profile-detail) .detail-copy p{color:#e6d6b7}
body:not(.admin-embed) .detail-page:not(.profile-detail) .outline,body:not(.admin-embed) .ranking-video-controls button{background:#1e223d;border-color:#e6d6b755;color:#e6d6b7}
body:not(.admin-embed) .detail-page:not(.profile-detail) .content>.primary{background:#f54f1b;border-color:#f54f1b;color:#1e223d;box-shadow:inset 0 1px 2px #ffffff44,inset 0 -2px 2px #0002}
body:not(.admin-embed) .detail-page:not(.profile-detail) .detail-shot{border-color:#e6d6b744}
body:not(.admin-embed) .app :focus-visible{outline-color:#e6d6b7}
.product-card.date-profile.profile-id-card{display:block;padding:0;border:0;border-radius:0 0 24px 24px;overflow:hidden;background:#1e223d;color:#e6d6b7;box-shadow:none;font-family:'Microsoft YaHei',SimHei,Arial,sans-serif;text-decoration:none}
.profile-id-card *{box-sizing:border-box}.profile-id-card .idc-main{position:relative;isolation:isolate;background:linear-gradient(155deg,#fa5c24 0%,#f54f1b 55%,#e94716 100%);padding:18px 16px 16px;box-shadow:inset 0 1px 0 #ffb07855,inset 0 -1px 0 #a82c1033}.profile-id-card .idc-main:before{content:'';position:absolute;inset:0;z-index:-1;background:url('/profile-grain.png') repeat;opacity:.45;pointer-events:none}
.profile-id-card .idc-photos{position:relative;aspect-ratio:326/244;margin:4px 0 22px;overflow:visible}.profile-id-card .idc-photo{position:absolute;top:0;bottom:0;width:calc(33.333% + 9px);clip-path:polygon(18% 0,100% 0,82% 100%,0 100%);background:#34394c}.profile-id-card .idc-photo:nth-child(1){left:0}.profile-id-card .idc-photo:nth-child(2){left:calc(33.333% - 4.5px)}.profile-id-card .idc-photo:nth-child(3){left:calc(66.666% - 9px)}.profile-id-card .idc-photo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:0}.profile-id-card .idc-placeholder{display:grid;place-items:center;height:100%;font-size:11px}.profile-id-card .idc-seam{position:absolute;top:-24px;height:calc(100% + 48px);pointer-events:none;background:linear-gradient(180deg,#fff0 0%,#ffffff29 3%,#ffffff6b 8%,#ffffffad 16%,#ffffffd9 27%,#fffffff5 39%,#fff 50%,#fffffff5 61%,#ffffffd9 73%,#ffffffad 84%,#ffffff6b 92%,#ffffff29 97%,#fff0 100%)}
.profile-id-card .idc-identity{display:flex;justify-content:space-between;gap:12px;align-items:center}.profile-id-card .idc-left{min-width:0;flex:1}.profile-id-card h3{font:900 31px/1.15 'Microsoft YaHei',SimHei,Arial,sans-serif;letter-spacing:1px;color:#e6d6b7;margin:0 0 11px;overflow-wrap:anywhere}.profile-id-card .idc-facts{display:flex;gap:12px;line-height:1.3}.profile-id-card .idc-facts>span{min-width:0;display:flex;flex-direction:column;gap:2px}.profile-id-card em{font-size:10px;font-style:normal}.profile-id-card b{font-size:20px;font-weight:800;letter-spacing:-.5px;overflow-wrap:anywhere}.profile-id-card small{font-size:10px;font-weight:600;margin-left:2px;letter-spacing:0}.profile-id-card .idc-distance{text-align:right;align-self:flex-end;max-width:32%;padding-bottom:1px}.profile-id-card .idc-distance em{display:block;font-size:11px;margin-bottom:3px}.profile-id-card .idc-distance b{font-size:27px;font-weight:800;letter-spacing:-1px}.profile-id-card .idc-distance small{font-size:12px;margin-left:3px}.profile-id-card b.idc-empty,.profile-id-card b.idc-long{font-size:12px;letter-spacing:0}
.profile-id-card .idc-bottom{display:flex;align-items:center;gap:14px;padding:20px 14px;background:#1e223d;color:#e6d6b7}.profile-id-card .idc-bottom p{font-size:12px;font-weight:500;line-height:1.8;margin:0;flex:1;min-width:0;overflow-wrap:anywhere;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.profile-id-card .idc-action{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;flex:0 0 68px;width:68px;height:68px;border-radius:50%;border:2px solid #a72b0c;background:radial-gradient(ellipse at 38% 25%,#ff6c30 0%,#f54f1b 55%,#d9360c 100%);box-shadow:0 0 0 3px #0c1021,0 0 0 4px #863019,0 4px 5px #0008,inset 3px 4px 3px #ffbf7c,inset -2px -5px 4px #922008,inset 0 0 0 5px #f85a20;text-shadow:0 1px 1px #aa2b0e;color:#e6d6b7;font:800 15px/1.25 'Microsoft YaHei',SimHei,sans-serif;letter-spacing:1px;text-align:center}.profile-id-card .idc-action:before{content:'';position:absolute;z-index:-1;inset:8px 7px 10px;border-radius:50%;background:linear-gradient(150deg,#ff6327 0%,#f44b15 50%,#e4380d 100%);box-shadow:-1px -2px 3px #ffd09988,2px 4px 4px #a3240b99,inset 0 1px 2px #ff915555}.profile-id-card .idc-action:after{content:'';position:absolute;inset:0;border-radius:50%;background:url('/profile-grain.png') repeat;opacity:.45;pointer-events:none}.profile-id-card:active .idc-action{transform:translateY(2px)}.profile-id-card:focus-visible{outline:2px solid #e6d6b7;outline-offset:3px}
.profile-id-card[data-theme=teal] .idc-main{background:#1e223d;box-shadow:inset 0 1px 0 #ffffff22}.profile-id-card[data-theme=teal] .idc-bottom{background:#f54f1b}.profile-id-card[data-theme=teal] .idc-action{background:radial-gradient(ellipse at 38% 25%,#343953,#1e223d 60%,#13172c);border-color:#11152a;box-shadow:0 0 0 3px #101326,0 0 0 4px #676984,0 4px 5px #0008,inset 3px 4px 3px #7b809b,inset -2px -5px 4px #090c1a,inset 0 0 0 5px #2c314b;text-shadow:0 1px 1px #070b1c}.profile-id-card[data-theme=teal] .idc-action:before{background:linear-gradient(150deg,#373d5a,#1e223d 60%,#15192f);box-shadow:-1px -2px 3px #9498ad88,2px 4px 4px #090b1799,inset 0 1px 2px #6c739555}
@media(max-width:360px){.profile-id-card .idc-main{padding-inline:12px}.profile-id-card .idc-facts{gap:8px}.profile-id-card h3{font-size:27px}.profile-id-card .idc-bottom{gap:12px}}

/* Dating details inherit the cover's existing theme classification. */
.app.detail-page.profile-detail{--profile-main:#f54f1b;--profile-secondary:#1e223d;--profile-ink:#e6d6b7;background:var(--profile-main);color:var(--profile-ink);font-family:'Microsoft YaHei',SimHei,Arial,sans-serif}
.app.detail-page.profile-detail[data-theme=teal]{--profile-main:#1e223d;--profile-secondary:#f54f1b}
.profile-detail.detail-page>.top{background:var(--profile-secondary);color:var(--profile-ink);border-bottom:1px solid #e6d6b733}
.profile-detail.detail-page .content{background:linear-gradient(#ffffff00,#ffffff00),url('/profile-grain.png') repeat;color:var(--profile-ink)}
.profile-detail.detail-page .notice-bar{background:var(--profile-main);color:var(--profile-ink);border:1px solid #e6d6b744;box-shadow:none}
.profile-detail.detail-page .detail-shot{border-color:#e6d6b755;background-color:var(--profile-secondary);box-shadow:none}
.profile-detail.detail-page .detail-copy{background:var(--profile-secondary);color:var(--profile-ink);border:0;border-radius:12px;padding:18px;box-shadow:none}
.profile-detail.detail-page .detail-copy h1{color:var(--profile-ink);font-size:26px;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.profile-detail.detail-page .detail-profile-section h2{color:var(--profile-ink);font-size:14px;font-weight:700}
.profile-detail.detail-page .detail-profile-section p{color:var(--profile-ink);font-size:14px;line-height:1.85}
.profile-detail.detail-page .gallery-controls span,.profile-detail.detail-page .gallery-hint{color:var(--profile-ink)}
.profile-detail.detail-page .gallery-controls .outline,.profile-detail.detail-page .top .outline{background:var(--profile-secondary);border:1px solid #e6d6b766;color:var(--profile-ink)}
.profile-detail.detail-page .content>.primary{background:linear-gradient(#ffffff0d,#00000015),url('/profile-grain.png') repeat,var(--profile-secondary);color:var(--profile-ink);border:1px solid #e6d6b755;border-radius:12px;min-height:48px;font-weight:800;box-shadow:inset 0 2px 2px #ffffff33,inset 0 -3px 3px #0005,0 3px 0 #0003}
.profile-detail.detail-page button:active{transform:translateY(1px)}

.app.ranking-video-detail>.content{overflow-y:auto;overscroll-behavior-y:contain}
.app.grid-detail.ranking-video-detail .detail-copy{flex:0 0 auto;min-height:0;max-height:none;overflow:visible;padding:8px 0;margin:0;background:transparent;border:0;border-radius:0;order:2}
.app.grid-detail.ranking-video-detail .detail-copy h1{font-size:16px;line-height:1.4;margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}
.app.grid-detail.ranking-video-detail .detail-copy p{font-size:12px;line-height:1.5;margin:6px 0 0;max-height:54px;overflow-y:auto}
.app.ranking-video-detail .ranking-player{order:0}
.app.ranking-video-detail .ranking-video-controls{order:1}
.app.ranking-video-detail .ranking-detail-ads{order:3;margin-top:4px;padding-top:10px}
.app.ranking-video-detail .content>.primary{order:4}
.ranking-detail-ads{flex:none;margin-top:20px;padding-top:16px;border-top:1px solid #e6d6b733}
.ranking-detail-ads .icon-grid.large{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 6px;margin:0}
.ranking-detail-ads .icon-ad{display:block;min-width:0;text-align:center;text-decoration:none}
.ranking-detail-ads .square{aspect-ratio:1;width:100%;background:#272c49}
.ranking-detail-ads .icon-ad p{margin:5px 0;font-size:11px;line-height:1.4;overflow-wrap:anywhere}
