:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#080d14;color:#e5edf7;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow-x:hidden;background:radial-gradient(circle at 70% 20%,rgba(59,130,246,.12),transparent 32rem),linear-gradient(145deg,#080d14,#0d1420 45%,#090b10)}button,a{font:inherit}a{color:inherit}.app-shell{display:grid;grid-template-columns:minmax(360px,520px) minmax(0,1fr);min-height:100vh;isolation:isolate}.info-panel{display:flex;flex-direction:column;justify-content:flex-start;gap:1.2rem;min-width:0;max-height:100vh;padding:clamp(1.5rem,4vw,4rem);border-right:1px solid rgba(148,163,184,.18);background:#080d14b8;backdrop-filter:blur(18px);overflow:hidden;z-index:2}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.panel-header-main{display:flex;align-items:center;gap:1rem}.language-toggle{display:inline-flex;padding:.18rem;border:1px solid rgba(148,163,184,.22);border-radius:999px;background:#0f172a99}.language-toggle button{min-height:1.9rem;padding:0 .75rem;border:0;border-radius:999px;color:#9fb1c7;background:transparent;font-size:.78rem;font-weight:700;cursor:pointer;transition:color .16s ease,background .16s ease}.language-toggle button.is-active{color:#052e16;background:#86efac}.rank-chip{display:inline-flex;align-items:center;min-height:2rem;padding:0 .75rem;border:1px solid rgba(148,163,184,.26);border-radius:999px;color:#cbd5e1;background:#0f172aa6;font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.panel-logo{display:grid;place-items:center;width:3rem;height:3rem;border-radius:.85rem;border:1px solid rgba(226,232,240,.16);background:#f8fafc;object-fit:contain;box-shadow:0 1rem 2.6rem #00000059}.panel-logo-placeholder{color:#86efac;background:#0f172ac2}h1,h2,h3,p{margin:0}h1{width:100%;max-width:100%;color:#f8fafc;font-size:clamp(1.9rem,3.35vw,3.55rem);font-weight:760;line-height:.95;overflow-wrap:anywhere;word-break:normal}.lede{max-width:33rem;color:#9fb1c7;font-size:1rem;line-height:1.65}.selected-card{display:grid;gap:1rem;width:100%;max-width:31rem;margin-top:.45rem;padding:1.1rem;border:1px solid rgba(148,163,184,.2);border-radius:8px;background:#0f172a94;box-shadow:0 1.3rem 3.5rem #00000042}.panel-secondary-button{justify-self:flex-start;display:inline-flex;align-items:center;gap:.4rem;min-height:2rem;padding:0 .65rem;border:1px solid rgba(148,163,184,.24);border-radius:8px;color:#dbeafe;background:#1e293ba8;font-size:.78rem;font-weight:750;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.panel-secondary-button:hover,.panel-secondary-button:focus-visible{border-color:#86efac94;background:#14532d4d;transform:translateY(-1px)}.ranking-panel{display:flex;flex:1 1 auto;min-height:0;width:100%;max-width:31rem;flex-direction:column;gap:.8rem;margin-top:.2rem}.search-field{display:flex;align-items:center;gap:.6rem;min-height:2.65rem;padding:0 .85rem;border:1px solid rgba(148,163,184,.22);border-radius:8px;color:#9fb1c7;background:#0f172aa3}.search-field:focus-within{border-color:#86efac94;box-shadow:0 0 0 .18rem #86efac1f}.search-field input{width:100%;min-width:0;border:0;outline:0;color:#e5edf7;background:transparent;font:inherit;font-size:.9rem}.search-field input::placeholder{color:#64748b}.ranking-list-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#9fb1c7;font-size:.72rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.ranking-list-header span:last-child{color:#86efac}.ranking-list{display:grid;gap:.45rem;min-height:0;margin:0;padding:0 .25rem 0 0;overflow-y:auto;list-style:none;scrollbar-color:rgba(134,239,172,.34) rgba(15,23,42,.6)}.ranking-list li{min-width:0}.ranking-list button{display:grid;grid-template-columns:4.8rem 2.25rem minmax(0,1fr);align-items:center;gap:.7rem;width:100%;min-height:3rem;padding:.55rem .7rem;border:1px solid rgba(148,163,184,.16);border-radius:8px;color:#e5edf7;background:#0f172a80;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease,transform .16s ease}.ranking-list button:hover,.ranking-list button:focus-visible{border-color:#86efac80;background:#14532d38;transform:translateY(-1px)}.ranking-list span{color:#86efac;font-size:.75rem;font-weight:850}.ranking-list img{width:2.1rem;height:2.1rem;border:1px solid rgba(226,232,240,.18);border-radius:.55rem;background:#f8fafc;object-fit:contain}.ranking-list strong{min-width:0;color:#f8fafc;font-size:.88rem;font-weight:700;line-height:1.25}.ranking-list-school{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:.6rem}.ranking-list-school span{min-width:0;overflow:hidden;color:#f8fafc;text-overflow:ellipsis;white-space:nowrap}.ranking-list-school small{max-width:9.5rem;overflow:hidden;color:#94a3b8;font-size:.66rem;font-weight:650;line-height:1.2;text-align:right;text-overflow:ellipsis;white-space:nowrap}.empty-results{display:grid;min-height:9rem;place-items:center;border:1px solid rgba(148,163,184,.16);border-radius:8px;color:#9fb1c7;background:#0f172a75;font-size:.9rem;text-align:center}.eyebrow{margin-bottom:.3rem;color:#86efac;font-size:.72rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.region-subtitle{display:inline-block;color:#86efac}h2{color:#f8fafc;font-size:clamp(1.25rem,2vw,1.7rem);line-height:1.15}.detail-list,.tooltip-card dl{display:grid;gap:.9rem;margin:0}.detail-list div,.tooltip-card dl div{display:grid;gap:.25rem}dt{display:inline-flex;align-items:center;gap:.38rem;color:#9fb1c7;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}dd{margin:0;color:#e5edf7;font-size:.95rem;line-height:1.45}dd span{display:block;margin-top:.15rem;color:#9fb1c7;font-size:.8rem}.assumption{color:#91a1b6;font-size:.82rem;line-height:1.55}.source-links{display:flex;flex-wrap:wrap;gap:.65rem}.source-links a{display:inline-flex;align-items:center;gap:.38rem;min-height:2rem;padding:0 .75rem;border:1px solid rgba(148,163,184,.24);border-radius:8px;color:#dbeafe;background:#1e293ba8;font-size:.8rem;font-weight:700;text-decoration:none;transition:border-color .16s ease,background .16s ease,transform .16s ease}.source-links a:hover{border-color:#93c5fd9e;background:#1e40af47;transform:translateY(-1px)}.globe-stage{position:relative;min-width:0;min-height:100vh;overflow:hidden}.visualization-panel{position:relative;min-width:0;min-height:100vh}.region-selector{position:absolute;top:clamp(1rem,3vw,2rem);left:50%;z-index:8;display:flex;flex-wrap:wrap;width:max-content;max-width:min(62rem,calc(100% - 6.4rem));gap:.45rem;padding:.35rem;overflow:visible;border:1px solid rgba(134,239,172,.24);border-radius:1.35rem;background:#080d14b8;box-shadow:0 1rem 2.6rem #00000047;backdrop-filter:blur(16px);transform:translate(-50%);scrollbar-width:none}.region-selector::-webkit-scrollbar{display:none}.region-selector button{flex:0 0 auto;min-height:2.1rem;padding:0 .85rem;border:1px solid rgba(134,239,172,.2);border-radius:999px;color:#bbf7d0;background:#14532d2e;font-size:.78rem;font-weight:800;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,color .16s ease,transform .16s ease}.region-selector button:hover,.region-selector button:focus-visible{border-color:#86efac94;background:#14532d5c;transform:translateY(-1px)}.region-selector button.is-active{border-color:#86efacdb;color:#052e16;background:#86efac;box-shadow:0 0 0 .18rem #86efac2e,0 .7rem 1.8rem #22c55e3d}.region-map-stage{position:relative;min-width:0;min-height:100vh;overflow:hidden;background:radial-gradient(circle at 50% 42%,rgba(59,130,246,.12),transparent 28rem),linear-gradient(145deg,#080d14,#0d1420 58%,#090b10);cursor:grab;touch-action:none}.region-map-stage.is-dragging{cursor:grabbing}.region-map-svg{position:absolute;inset:0;width:100%;height:100%}.region-map-ocean{fill:transparent}.region-country-shape{fill:#94a3b81f;stroke:#e2e8f03d;stroke-width:.8;vector-effect:non-scaling-stroke}.region-country-shape.is-context{fill:#1e293b29;stroke:#94a3b81f}.region-country-shape.has-schools{fill:#94a3b81f;stroke:#e2e8f03d}.region-map-overlay,.marker-layer{position:absolute;inset:0;z-index:4;pointer-events:none}.globe-loading{display:grid;place-items:center;color:#9fb1c7;font-size:.85rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.globe-stage canvas{cursor:grab}.globe-stage canvas:active{cursor:grabbing}.map-reset-button{position:absolute;top:calc(clamp(1rem,3vw,2rem) + .4rem);right:clamp(1rem,3vw,2rem);z-index:6;display:inline-flex;align-items:center;justify-content:center;gap:.32rem;height:2rem;padding:0 .6rem;border:1px solid rgba(148,163,184,.24);border-radius:8px;color:#dbeafe;background:#080d14b8;box-shadow:0 .9rem 2.2rem #00000052;backdrop-filter:blur(14px);cursor:pointer;font-size:.7rem;font-weight:800;white-space:nowrap;transition:border-color .16s ease,background .16s ease,transform .16s ease}.map-reset-button:hover,.map-reset-button:focus-visible{border-color:#93c5fd9e;background:#1e40af47;transform:translateY(-1px)}.map-zoom-control{position:absolute;top:calc(clamp(1rem,3vw,2rem) + 2.8rem);right:clamp(1rem,3vw,2rem);z-index:6;display:grid;justify-items:center;gap:.28rem;padding:0;border:0;border-radius:0;color:#cbd5e1;background:transparent;box-shadow:none;backdrop-filter:none;font-size:.58rem;font-weight:800;text-shadow:0 1px .35rem rgba(0,0,0,.72)}.map-zoom-control input{width:6.4rem;accent-color:#86efac;cursor:pointer;writing-mode:vertical-lr;direction:rtl}.globe-caption{position:absolute;right:clamp(1rem,3vw,2rem);bottom:clamp(1rem,3vw,2rem);max-width:min(28rem,calc(100% - 2rem));padding:.7rem .85rem;border:1px solid rgba(148,163,184,.18);border-radius:8px;color:#9fb1c7;background:#080d14a3;backdrop-filter:blur(14px);font-size:.78rem;line-height:1.5;z-index:1}.map-debug-overlay{position:absolute;left:clamp(1rem,3vw,2rem);bottom:clamp(1rem,3vw,2rem);z-index:7;display:grid;gap:.18rem;max-width:min(20rem,calc(100% - 2rem));padding:.55rem .65rem;border:1px solid rgba(250,204,21,.42);border-radius:8px;color:#fde68a;background:#0f172ac2;box-shadow:0 .8rem 2rem #00000047;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.68rem;line-height:1.35;pointer-events:none}.marker{position:relative;display:grid;place-items:center;width:2.05rem;height:2.05rem;padding:0;border:1px solid rgba(226,232,240,.44);border-radius:50%;background:#f8fafcf0;box-shadow:0 0 0 .26rem #0f172a6b,0 .8rem 1.75rem #00000057;cursor:pointer;pointer-events:auto;transform:translate(-50%,-50%);transition:filter .15s ease,transform .15s ease,box-shadow .15s ease}.marker:after{position:absolute;inset:-.28rem;border:1px solid rgba(147,197,253,.28);border-radius:inherit;content:""}.marker:hover,.marker.is-active{filter:saturate(1.08) brightness(1.06);transform:translate(-50%,-50%) scale(1.15);box-shadow:0 0 0 .3rem #86efac57,0 1rem 2.3rem #00000075}.marker.is-active{border-color:#86efacdb}.marker.is-active:after{border-color:#86efacad}.marker img{width:1.55rem;height:1.55rem;border-radius:50%;object-fit:contain}.marker span{position:absolute;right:-.42rem;bottom:-.28rem;display:grid;place-items:center;min-width:1.05rem;height:1.05rem;padding:0 .18rem;border:1px solid rgba(226,232,240,.26);border-radius:999px;color:#e5edf7;background:#0f172a;font-size:.5rem;font-weight:800;line-height:1}.screen-marker{position:absolute}.screen-country-label{position:absolute;color:#e2e8f0c7;font-family:Noto Sans SC,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Segoe UI,sans-serif;font-weight:700;letter-spacing:0;line-height:1;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.7),0 0 14px rgba(8,13,20,.72);pointer-events:none;transform:translate(-50%,-50%);z-index:2;opacity:.94}.screen-city-label{position:absolute;display:inline-flex;align-items:center;gap:.22rem;padding:.14rem .3rem;border:1px solid rgba(191,219,254,.26);border-radius:999px;color:#f8fafcdb;background:#080d1457;backdrop-filter:blur(8px);font-family:Noto Sans SC,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Segoe UI,sans-serif;font-size:.52rem;font-weight:800;letter-spacing:0;line-height:1;white-space:nowrap;text-shadow:0 1px 2px rgba(0,0,0,.76),0 0 10px rgba(8,13,20,.72);pointer-events:none;transform:translate(-50%,-50%);z-index:3}.region-city-connectors{position:absolute;inset:0;z-index:850;overflow:visible;pointer-events:none}.city-connector{stroke:#bfdbfe94;stroke-width:1.2;stroke-linecap:round;vector-effect:non-scaling-stroke}.city-connector.is-capital{stroke:#fca5a5ad}.city-dot{display:block;width:.28rem;height:.28rem;border-radius:999px;background:#bfdbfeeb;box-shadow:0 0 0 1px #080d14c7}.city-name{display:inline-block}.screen-city-label.is-capital{border-color:#fca5a585;color:#fee2e2e6;background:#450a0a61}.screen-city-label.is-capital .city-dot{background:#fca5a5f0}.marker.is-cluster{border-color:#86efac85;box-shadow:0 0 0 .28rem #0f172a75,0 .85rem 1.9rem #00000061}.marker.is-cluster.is-active{box-shadow:0 0 0 .32rem #86efac57,0 .9rem 2rem #0000006b}.marker .cluster-count{top:-.42rem;right:-.52rem;bottom:auto;min-width:1.35rem;height:1.35rem;border-color:#e2e8f05c;color:#052e16;background:#86efac;font-size:.6rem}.tooltip-card{position:fixed;z-index:20;width:min(21rem,calc(100vw - 2rem));padding:1rem;border:1px solid rgba(191,219,254,.25);border-radius:8px;background:#070c14eb;box-shadow:0 1.4rem 4rem #00000073;backdrop-filter:blur(18px);pointer-events:none;transform:translate(-50%,-100%)}.tooltip-card-interactive{pointer-events:auto}.tooltip-topline{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.65rem}.tooltip-topline span{display:inline-flex;min-height:1.75rem;align-items:center;padding:0 .62rem;border:1px solid rgba(148,163,184,.22);border-radius:999px;color:#dbeafe;background:#1e40af38;font-size:.75rem;font-weight:800}.tooltip-topline img{width:2rem;height:2rem;border-radius:.55rem}.tooltip-card h3{color:#f8fafc;font-size:1.05rem;line-height:1.2}.tooltip-card p{margin-top:.25rem;margin-bottom:.85rem;color:#9fb1c7;font-size:.86rem}.tooltip-card dt{font-size:.68rem}.tooltip-card dd{font-size:.84rem}.cluster-list{display:grid;gap:.5rem;margin:.8rem 0 0;padding:0;list-style:none}.cluster-list button{display:flex;align-items:center;gap:.55rem;width:100%;padding:.35rem .4rem;border:1px solid transparent;border-radius:8px;color:#e5edf7;background:transparent;font-size:.84rem;line-height:1.35;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease}.cluster-list button:hover,.cluster-list button:focus-visible{border-color:#86efac6b;background:#14532d3d}.cluster-list span{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:2rem;height:1.35rem;border:1px solid rgba(148,163,184,.22);border-radius:999px;color:#dbeafe;background:#1e40af38;font-size:.68rem;font-weight:800}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.info-panel{justify-content:flex-start;min-height:auto;padding:1.3rem;border-right:0;border-bottom:1px solid rgba(148,163,184,.18)}h1{max-width:18ch;font-size:clamp(1.85rem,7.2vw,2.9rem)}.selected-card{max-width:none}.ranking-panel{max-width:none;max-height:28rem}.globe-stage,.visualization-panel,.region-map-stage{min-height:68vh}}@media(max-width:640px){.info-panel{gap:.95rem}.panel-logo{width:2.6rem;height:2.6rem}.region-selector{top:.75rem;left:.75rem;max-width:calc(100% - 1.5rem);transform:none}.panel-header{align-items:flex-start;flex-direction:column}.panel-header-main{width:100%;justify-content:space-between}.source-links a{flex:1 1 8rem;justify-content:center}.marker{width:2rem;height:2rem}.marker img{width:1.5rem;height:1.5rem}.tooltip-card{display:none}}
