/* 17CE report palette applied to the existing Yii UI. No probe/runtime changes.
   Custom properties override inline theme tokens; blur is limited to the header. */
.ce-report-theme {
 --bg:#f0f5fb!important; --fg:#1b2941!important; --fg1:#1b2941; --fg2:#65758e!important; --fg3:#697b95!important;
 --brand:#0873ff!important; --brand2:#4296ff!important; --brand-soft:#eaf3ff!important;
 --card:rgba(255,255,255,.74)!important; --card2:#f2f6fc!important; --bd:rgba(136,164,203,.2)!important; --bd2:rgba(136,164,203,.13)!important;
 --green:#1aaf78!important; --footer:transparent!important; --glass-line:rgba(255,255,255,.95);
 --glass-shadow:0 5px 24px #29518105,0 0 0 1px #c3d5ed25,inset 0 1px 1px #ffffffb3;
 --nav-surface:rgba(250,252,255,.84); --float-surface:#f9fbff; --ambient-blue:#d6e7ff; --ambient-green:#e0f3ef;
 font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-weight:500;-webkit-font-smoothing:antialiased;
}
/* Existing Yii runtime only emits --bg in dark theme. */
.ce-report-theme[style*="--bg:"] {
 --bg:#101c2e!important; --fg:#e7efff!important; --fg1:#e7efff; --fg2:#b2c1d9!important; --fg3:#91a5c2!important;
 --brand:#65a7ff!important; --brand2:#0873ff!important; --brand-soft:#20354e!important;
 --card:rgba(27,43,64,.84)!important; --card2:#203249!important; --bd:rgba(147,174,214,.2)!important; --bd2:rgba(147,174,214,.13)!important;
 --glass-line:rgba(147,174,214,.16); --glass-shadow:0 5px 24px #0000000c,inset 0 1px 1px #ffffff08;
 --nav-surface:rgba(19,33,53,.87); --float-surface:#1b2b40; --ambient-blue:#142945; --ambient-green:#112d35;color-scheme:dark;
}
.ce-report-theme .ce-site-shell {background:radial-gradient(ellipse 650px 560px at 100% 80px,var(--ambient-blue),transparent 75%),radial-gradient(ellipse 680px 800px at 0 750px,var(--ambient-green),transparent 80%),var(--bg)!important;font-size:14px;line-height:1.55}
.ce-report-theme :is(button,input,select,textarea){font-family:inherit}
.ce-report-theme :is(a,button,input,select,textarea):focus-visible{outline:3px solid #68a8ff;outline-offset:3px}
.ce-report-theme button:disabled{cursor:not-allowed;opacity:.55}
.ce-report-theme .ce-nav{background:var(--nav-surface);border-bottom:1px solid var(--bd);box-shadow:none;backdrop-filter:blur(25px) saturate(160%);-webkit-backdrop-filter:blur(25px) saturate(160%)}
.ce-report-theme .ce-nav-inner{max-width:1440px;padding:0 38px;min-height:77px;height:auto;gap:24px}
.ce-report-theme .ce-nav-logo{color:var(--fg);gap:10px}
.ce-report-theme .ce-brand-mark{width:44px;height:44px;object-fit:contain;flex:none}
.ce-report-theme .ce-brand-copy{display:flex;flex-direction:column;gap:6px}
.ce-report-theme .ce-brand-wordmark{display:block;white-space:nowrap;font-size:31px;font-weight:800;line-height:1;letter-spacing:-2px;font-style:italic;color:var(--fg)}
.ce-report-theme .ce-brand-wordmark b{color:#0971ff}
.ce-report-theme .ce-brand-wordmark i{display:inline-block;width:5px;height:5px;margin-left:4px;border-radius:50%;background:#0971ff}
.ce-report-theme .ce-brand-copy small{font-size:9px;line-height:1.3;letter-spacing:1px;color:var(--fg2);white-space:nowrap}
.ce-report-theme .ce-nav-row{scrollbar-width:thin;scrollbar-color:var(--bd) transparent}
.ce-report-theme .ce-nav-link{color:var(--fg);font-weight:650;font-size:13px;padding:0 6px;height:38px;border-radius:11px}
.ce-report-theme .ce-nav-link:is(:hover,.is-on){color:var(--brand);background:var(--brand-soft);box-shadow:none}
.ce-report-theme :is(.ce-nav-ghost,.ce-nav-burger){background:var(--card);border:1px solid var(--bd);color:var(--fg2);height:36px;border-radius:12px}
.ce-report-theme :is(.ce-nav-ghost,.ce-nav-burger):hover{background:var(--brand-soft);color:var(--brand);border-color:var(--bd)}
.ce-report-theme .ce-nav-cta{min-height:38px;border-radius:12px;background:#0873ff;color:#fff;box-shadow:0 5px 14px #0873ff20}
.ce-report-theme .ce-nav-drawer{background:var(--float-surface);border-color:var(--bd);padding:14px 20px;gap:10px}
.ce-report-theme .ce-nav-drawer-link{color:var(--fg2);background:var(--card2);border:1px solid var(--bd);border-radius:12px}
.ce-report-theme .ce-nav-drawer-link:is(:hover,.is-on){color:var(--brand);background:var(--brand-soft)}
.ce-report-theme .ce-idx-hero{background:none;padding-top:44px;overflow:visible}
.ce-report-theme :is(.ce-idx-hero-inner,.ce-idx-panel-wrap){max-width:1440px;padding-left:38px;padding-right:38px}
.ce-report-theme .ce-idx-hero-inner{min-height:155px}
.ce-report-theme .ce-idx-hero-title{font-size:clamp(26px,2.6vw,38px);line-height:1.35;font-weight:800;letter-spacing:-1px}
.ce-report-theme .ce-idx-hero-sub{margin-top:16px;color:var(--fg2);font-size:14px;line-height:1.8}
.ce-report-theme .ce-idx-hero-visual{opacity:.75;transform:scale(.88);transform-origin:right center}
.ce-report-theme .ce-idx-hero-globe{box-shadow:0 16px 50px #0873ff18}
.ce-report-theme .ce-idx-hero-orbit{animation:none;opacity:.25}
.ce-report-theme .ce-idx-panel-wrap{margin-top:28px}
.ce-report-theme :is(.ce-idx-panel,.ce-idx-world-card,.ce-idx-analysis-card,.ce-idx-card,.ce-idx-tool-card,.ce-idx-card-soft,.ce-idx-showcase-card,.ce-idx-friends-card,.ce-idx-rank-card,.ce-idx-notice-card,.ce-idx-result,.ce-page-card,.ce-page-hero,.ce-tools-card){background:var(--card);border:1px solid var(--glass-line);border-radius:24px;box-shadow:var(--glass-shadow)}
.ce-report-theme :is(.ce-idx-panel,.ce-idx-world-card,.ce-idx-analysis-card,.ce-idx-hero-copy,.ce-page-card){animation:none}
.ce-report-theme .ce-idx-panel-body{padding:24px}
.ce-report-theme .ce-idx-tabs{margin:8px;padding:6px;gap:5px;background:var(--card2);border:1px solid var(--bd2);border-radius:18px;scrollbar-width:thin}
.ce-report-theme .ce-idx-tab{flex:1 0 auto;justify-content:center;height:43px;padding:0 16px;margin:0;border:0;border-radius:13px;color:var(--fg2);font-size:13px;font-weight:650}
.ce-report-theme .ce-idx-tab.is-on{background:var(--float-surface);color:var(--brand);box-shadow:0 2px 8px #2951810a,inset 0 1px 1px #ffffff20}
.ce-report-theme .ce-idx-tab:hover{color:var(--brand)}
.ce-report-theme .ce-idx-search-box{background:var(--card2);border-color:var(--bd);border-radius:16px;min-height:52px;padding-left:18px;transition:border-color .16s ease,box-shadow .16s ease}
.ce-report-theme .ce-idx-search-box:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px #0873ff12}
.ce-report-theme .ce-idx-search-input{height:50px;font-size:15px}
.ce-report-theme .ce-idx-ipv-toggle{padding:4px;border:1px solid var(--bd2);border-radius:12px}
.ce-report-theme .ce-idx-ipv-toggle button{border-radius:8px!important}
.ce-report-theme .ce-idx-search-row>button{min-height:52px;border-radius:14px!important}
.ce-report-theme .ce-idx-search-row>button:first-of-type{box-shadow:0 6px 18px #0873ff26!important}
.ce-report-theme .ce-idx-btn-compare{color:var(--fg);background:var(--card);border:1px solid var(--bd)}
.ce-report-theme .ce-idx-lines{gap:15px;margin-top:24px}
.ce-report-theme .ce-idx-line-label{color:var(--fg3);font-size:12px;font-weight:600}
.ce-report-theme :is(.ce-idx-adv,.ce-idx-ldns-panel){border-style:solid;border-radius:18px;padding:20px;background:var(--card2)}
.ce-report-theme :is(.ce-idx-adv-input,.ce-idx-cmp-input,.ce-idx-port-input,.ce-split-field input){border-radius:10px;background:var(--float-surface)}
.ce-report-theme :is(.ce-idx-proto-menu,.ce-kf-popover){background:var(--float-surface);border-radius:14px}
.ce-report-theme .ce-idx-world-section{padding-top:28px;max-width:none}
.ce-report-theme .ce-idx-world-stats{gap:16px;margin-bottom:24px}
.ce-report-theme .ce-idx-world-stat{border-radius:20px;background:var(--card2);border:1px solid var(--bd2);padding:22px;box-shadow:none}
.ce-report-theme .ce-idx-world-stat-value{font-size:32px;letter-spacing:-1px;margin-top:5px}
.ce-report-theme .ce-idx-world-stat [class*="stat-icon"]{border-radius:14px}
.ce-report-theme .ce-idx-world-row{gap:20px}
.ce-report-theme :is(.ce-idx-world-head,.ce-idx-analysis-head){padding:20px 22px 16px}
.ce-report-theme :is(.ce-idx-world-title,.ce-idx-analysis-title,.ce-idx-card-title){font-size:16px;letter-spacing:-.3px}
.ce-report-theme .ce-idx-world-map-container{background:var(--card2);border-radius:16px;border-color:var(--bd2)}
.ce-report-theme .ce-idx-world-map-tag{background:var(--float-surface)}
.ce-report-theme :is(.ce-idx-world-continent,.ce-idx-analysis-item,.ce-idx-map-panel,.ce-idx-delay-panel,.ce-idx-ip-card){border-radius:16px;background:var(--card2);border-color:var(--bd2);box-shadow:none}
.ce-report-theme .ce-idx-live-dot{animation:none;box-shadow:0 0 0 4px #1aaf7810}
.ce-report-theme :is(.ce-idx-section,.ce-idx-home-grid,.ce-idx-showcase,.ce-idx-friends,.ce-idx-rank-section,.ce-idx-rank-hero-inner,.ce-idx-tools-grid,.ce-idx-tools-hero-inner,.ce-idx-pt-grid,.ce-idx-pt-section,.ce-page,.ce-tools-page){max-width:1440px;padding-left:38px;padding-right:38px}
.ce-report-theme :is(.ce-idx-proto-btn,.ce-tools-tab){border-radius:12px}
.ce-report-theme .ce-tools-tab{background:var(--card2)}
.ce-report-theme .ce-tools-tab.active{background:var(--float-surface);color:var(--brand);border-color:var(--bd)}
.ce-report-theme .ce-speed{color:var(--fg);font-family:inherit}
.ce-report-theme .ce-speed-start{border-color:var(--brand);color:var(--brand);border-radius:14px}
.ce-report-theme .ce-speed-start.running{color:white;border-color:#ff6060}
.ce-report-theme .ce-speed-ip{color:var(--fg2)}
.ce-report-theme .ce-split-field input{color:var(--fg)}
.ce-report-theme .ce-site-footer{background:transparent!important;border-color:var(--bd)!important;margin-top:32px!important}
.ce-report-theme .ce-site-footer>div:first-child{max-width:1440px!important;padding:38px!important;gap:36px!important}
.ce-report-theme .ce-footer-brand{margin-bottom:22px}
.ce-report-theme .ce-footer-brand .ce-brand-mark{width:32px;height:32px}
.ce-report-theme .ce-footer-brand .ce-brand-wordmark{font-size:25px}
.ce-report-theme .ce-idx-backtop-btn{background:var(--float-surface);border-radius:12px}
/* API page keeps existing links and responsive grid. */
.ce-report-theme .jumbotron{background:transparent;color:var(--fg);text-shadow:none;border:0;box-shadow:none}
.ce-report-theme .jumbotron:after{background:none}
.ce-report-theme .jumbotron h1{color:var(--fg);font-size:clamp(28px,4vw,48px);font-weight:800}
.ce-report-theme .container.wrap{background:var(--card);border:1px solid var(--glass-line);border-radius:24px;padding:30px;box-shadow:var(--glass-shadow)}
.ce-report-theme .btn-open{background:#0873ff;border-color:#0873ff;border-radius:14px}
.ce-report-theme .p-title h3{color:var(--fg)}
@media(min-width:1280px) and (max-width:1439px){
 .ce-report-theme .ce-nav-inner{flex-wrap:wrap;padding-top:14px;padding-bottom:10px;gap:12px}
 .ce-report-theme .ce-nav-row{flex-basis:100%;order:3;justify-content:space-between}
}
@media(max-width:900px){
 .ce-report-theme .ce-idx-world-row{grid-template-columns:minmax(0,1fr)}
 .ce-report-theme .ce-idx-hero{padding-top:32px}
 .ce-report-theme .ce-idx-hero-copy{min-width:0}
}
@media(max-width:640px){
 .ce-report-theme .ce-nav-inner{min-height:70px;padding:0 17px;gap:10px}
 .ce-report-theme .ce-brand-mark{width:36px;height:36px}
 .ce-report-theme .ce-brand-wordmark{font-size:27px}
 .ce-report-theme .ce-brand-copy small{font-size:7px;letter-spacing:.6px}
 .ce-report-theme .ce-nav-logo{gap:7px}
 .ce-report-theme .ce-nav-right{gap:6px}
 .ce-report-theme .ce-nav-ghost{min-width:32px;padding:0 7px}
 .ce-report-theme .ce-nav-cta{padding:0 12px}
 .ce-report-theme :is(.ce-idx-hero-inner,.ce-idx-panel-wrap,.ce-idx-section,.ce-idx-home-grid,.ce-idx-showcase,.ce-idx-friends,.ce-idx-rank-section,.ce-idx-rank-hero-inner,.ce-idx-tools-grid,.ce-idx-tools-hero-inner,.ce-idx-pt-grid,.ce-idx-pt-section,.ce-page,.ce-tools-page){padding-left:16px;padding-right:16px}
 .ce-report-theme .ce-idx-hero-inner{min-height:110px}
 .ce-report-theme .ce-idx-hero-title{font-size:27px;letter-spacing:-.7px}
 .ce-report-theme .ce-idx-hero-sub{font-size:13px}
 .ce-report-theme .ce-idx-panel-body{padding:16px}
 .ce-report-theme .ce-idx-panel-wrap{margin-top:24px}
 .ce-report-theme .ce-idx-tabs{margin:6px;padding:5px;border-radius:16px}
 .ce-report-theme .ce-idx-tab{height:40px;padding:0 14px;font-size:12px}
 .ce-report-theme .ce-idx-search-box{min-width:0;flex-basis:100%;flex-wrap:wrap}
 .ce-report-theme .ce-idx-search-row>button{flex:1;white-space:nowrap;padding:0 12px!important}
 .ce-report-theme .ce-idx-world-stats{grid-template-columns:minmax(0,1fr);gap:10px}
 .ce-report-theme .ce-idx-world-stat{padding:16px 18px}
 .ce-report-theme .ce-idx-world-stat-value{font-size:28px}
 .ce-report-theme .ce-idx-world-continents{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ce-report-theme .ce-idx-world-update{font-size:11px}
 .ce-report-theme :is(.ce-idx-world-body,.ce-idx-world-head,.ce-idx-analysis-head){padding-left:16px;padding-right:16px}
 .ce-report-theme .ce-site-footer>div:first-child{padding:28px 20px!important}
 .ce-report-theme .ce-idx-cmp-input{min-width:0}
 .ce-report-theme .container.wrap{padding:20px 16px}
}
@media(prefers-reduced-motion:reduce){.ce-report-theme *,.ce-report-theme *::before,.ce-report-theme *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.ce-report-theme :is(.ce-idx-tools-hero,.ce-idx-rank-hero){background:transparent;padding-top:36px}
@media(max-width:640px){.ce-report-theme :is(.ce-idx-tools-grid,.ce-idx-pt-grid,.ce-idx-home-grid){grid-template-columns:minmax(0,1fr)}}
.ce-report-theme .ce-page-hero{color:var(--fg)}
.ce-report-theme .ce-page-hero-sub{color:var(--fg2)}
.ce-report-theme .ce-page-stat{border:1px solid var(--glass-line);border-radius:20px;box-shadow:var(--glass-shadow)}
