@font-face{font-family:Kaisei Opti;src:url('assets/KaiseiOpti-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
@font-face{font-family:BIZ UDPGothic;src:url('assets/BIZUDPGothic-Regular.ttf') format('truetype');font-display:swap;font-weight:400}
:root{--navy:#092442;--text:#233f58;--muted:#587184;--teal:#168b98;--line:#d8e7ef;--pale:#edf5f9;--paper:#fff;--display:'Kaisei Opti',serif;--body:'BIZ UDPGothic','Yu Gothic',sans-serif;color-scheme:light;font-family:var(--body);color:var(--text);background:#f5f9fc}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,summary{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,svg:focus-visible{outline:3px solid #337ca6;outline-offset:3px}button{color:inherit}a{color:#165e88;text-underline-offset:3px}svg.lucide{width:19px;height:19px;flex:none;stroke-width:1.6}button svg{pointer-events:none}[hidden]{display:none!important}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip-link:focus{position:absolute;z-index:30;background:white;padding:12px}
.site-header{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:20px 32px;background:linear-gradient(100deg,#f2f9fd,#fff 48%,#e5eff7);border-bottom:1px solid var(--line)}.brand-link{display:flex;gap:15px;align-items:center;text-decoration:none;color:var(--navy);font-family:var(--display);font-size:21px;letter-spacing:.025em}.brand-link picture,.brand-link img{display:block;flex:none;width:42px;height:42px;object-fit:contain}.brand-divider{height:25px;width:1px;background:#b6cbd9}.site-header nav{display:flex;gap:25px;align-items:center;font-size:12px;white-space:nowrap}.site-header nav a,.site-header nav button{padding:10px 0;background:none;border:0;color:var(--navy);text-decoration:none}.site-header nav a[aria-current=page]{box-shadow:0 2px var(--teal)}.compare-count{display:inline-block;min-width:18px;padding:2px 4px;margin-left:4px;background:#d6eef0;border-radius:15px;font-size:10px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;min-height:43px;border:1px solid #a9c4d6;border-radius:5px;background:#fff;color:var(--navy);text-decoration:none;font-size:13px;line-height:1.5}.button:hover{background:#eef7fb}.button.teal{background:var(--teal);border-color:var(--teal);color:white}.button.teal:hover{background:#117582}.icon-button{border:0;background:none;padding:10px;display:inline-flex;align-items:center;justify-content:center}.text-link{border:0;background:none;padding:0;color:#17608b;font-size:12px;text-decoration:underline;text-underline-offset:3px}.site-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:24px 32px;color:var(--muted);font-size:11px;border-top:1px solid var(--line)}.site-footer button{border:0;background:none;color:inherit;font-size:11px;padding:0}
#results-view{display:grid;grid-template-columns:285px minmax(0,1fr);background:white;min-height:790px}.search-sidebar{border-right:1px solid var(--line);padding:29px 23px 25px;display:flex;flex-direction:column;min-width:0}.search-sidebar h1{font-size:21px;line-height:1.6;color:var(--navy);margin:0 0 24px;font-weight:700;letter-spacing:-.04em}.search-sidebar form{display:flex;gap:7px}.query-box{display:flex;align-items:center;border:1px solid #bbcfdf;border-radius:5px;min-width:0;flex:1;padding:8px 10px;gap:8px;background:#fff}.query-box i,.query-box svg{width:17px;height:17px;flex:none}.query-box input{border:0;outline:0;width:100%;min-width:0;font-size:14px;background:none;color:var(--navy);padding:3px 0}.query-box:focus-within{outline:2px solid #337ca6}.search-sidebar form>.button{padding:8px 11px;font-size:13px}.search-hint{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 24px}.small-label{font-size:12px;margin:0 0 12px;font-weight:400}.region-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:25px}.region-filter{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-height:37px;border:1px solid var(--line);background:#f9fcfe;border-radius:22px;font-size:12px;white-space:nowrap}.region-filter svg{width:23px;height:21px;color:#557d9d}.region-filter[aria-pressed=true]{background:#d4edf0;border-color:#aedce0;color:#165d67}.result-title{display:flex;align-items:baseline;gap:12px;padding-top:21px;border-top:1px solid var(--line);margin-bottom:14px}.result-title h2{font-size:15px;margin:0}.result-title span{font-size:12px;color:var(--muted)}#result-list{display:grid;gap:5px}.result-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid transparent;border-radius:5px;padding:12px 10px;background:#fff;min-height:69px}.result-item:hover{background:#f2f8fc}.result-item[aria-pressed=true]{background:#e2f3fb;border-color:#d3eaf5}.flag{display:block;width:54px;height:37px;object-fit:contain;background:#fff;border:1px solid #dbe4eb;border-radius:2px;flex:none}.result-item .city-symbol{width:43px;flex:none;display:flex;justify-content:center;color:#547792}.result-item .city-symbol svg{width:25px;height:25px}.result-names{flex:1;min-width:0}.result-names strong{display:block;color:var(--navy);font-size:14px;line-height:1.6;overflow-wrap:anywhere}.result-names small{display:block;color:var(--muted);font-size:11px;line-height:1.6;overflow-wrap:anywhere}.result-kind{font-size:10px;white-space:nowrap;background:#d1eaf8;border-radius:5px;padding:4px 6px;color:#24628e}.result-item>.lucide{width:15px;color:var(--teal)}.more-results{margin-top:15px;width:100%;font-size:12px}.empty-results{font-size:13px;line-height:2;padding:15px 0}.pico-sidebar{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:35px;font-family:var(--display);font-size:13px;color:var(--navy)}.pico-sidebar img{width:40px;height:40px;object-fit:contain}
.result-main{min-width:0}.map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:17px 23px 13px;background:#f3f9fd}.map-modes{display:flex;align-items:stretch;border:1px solid #bad0df;border-radius:5px;overflow:hidden}.map-modes button{display:inline-flex;align-items:center;gap:9px;border:0;border-right:1px solid #bad0df;background:#fff;padding:10px 20px;font-size:12px;min-height:42px}.map-modes button:last-child{border-right:0}.map-modes button[aria-pressed=true]{background:var(--teal);color:white}.map-actions{display:flex;gap:8px}.map-actions button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;padding:8px;font-size:11px;min-height:38px}.map-actions svg{width:17px;height:17px}#map-container{height:360px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 45% 35%,#f8fcff,#c5e1f1)}#result-map{display:block;width:100%;height:100%;touch-action:none}#result-map .country-path{cursor:pointer;transition:fill .16s}#result-map .country-path:hover{fill:#78c1c8}#result-map .map-label{font-family:var(--body);fill:#123753;font-size:12px;paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round;pointer-events:none}.map-caption{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:9px 23px;color:var(--muted);font-size:10px;background:#e4f1f9;border-bottom:1px solid var(--line);line-height:1.7}.map-caption #map-status{flex:1;text-align:center;font-size:10px}
#entity-detail{padding:0 23px 20px;min-width:0}.entity-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0 18px;border-bottom:1px solid var(--line)}.entity-name{display:flex;align-items:center;gap:18px;min-width:0}.entity-name .flag{width:76px;height:51px}.entity-name h2{font-size:25px;margin:0 0 5px;color:var(--navy);line-height:1.45;overflow-wrap:anywhere}.entity-name .english{display:inline-block;font-size:14px;color:#63839c;margin-right:10px;line-height:1.6}.entity-type{display:inline-block;font-size:10px;background:#dfedf7;color:#23618b;padding:4px 8px;border-radius:5px}.entity-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.entity-actions .button{font-size:12px;padding:10px 15px}.info-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);padding:16px 0}.key-field{padding:0 20px;border-right:1px solid var(--line);min-width:0}.key-field:first-child{padding-left:0}.key-field:last-child{border:0;padding-right:0}.key-value{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.key-value h3{font-size:12px;font-weight:400;margin:0}.key-value strong{font-size:20px;color:var(--navy);overflow-wrap:anywhere}.key-value .icon-button{padding:4px}.key-value .icon-button svg{width:15px;height:15px}.source-line{font-size:10px;line-height:1.9;color:var(--muted);margin:0}.source-line a{color:inherit}.source-line time{white-space:nowrap}.field-note{font-size:10px;line-height:1.7;color:var(--muted);margin:5px 0 0}.entity-note{font-size:12px;line-height:1.9;background:#eff7fb;border-left:2px solid #87b8cc;padding:10px 13px;margin:15px 0}.detail-section{border-bottom:1px solid var(--line)}.detail-section summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:14px 0;font-size:13px;line-height:1.7}.detail-section summary::-webkit-details-marker{display:none}.detail-section summary:after{content:'⌄';margin-left:auto;color:#52748f;font-size:17px}.detail-section[open] summary:after{transform:rotate(180deg)}.detail-body{padding:0 0 18px;line-height:1.9;font-size:13px;overflow-wrap:anywhere}.data-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px 25px}.data-field h4{font-size:11px;font-weight:400;color:var(--muted);margin:0 0 4px}.data-field .value{font-size:16px;margin:0 0 5px;color:var(--navy)}.detail-body .pending{color:var(--muted);font-size:12px}.detail-body a{overflow-wrap:anywhere}.detail-footer{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-top:18px;font-size:12px}.data-note{margin:15px 0 0;font-size:10px;line-height:1.9;color:var(--muted)}
#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:#173d56;color:white;border-radius:7px;padding:12px 20px;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100% - 30px);line-height:1.7}#toast.visible{opacity:1;transform:translate(-50%,0)}dialog{width:min(1060px,calc(100% - 30px));max-height:88vh;border:1px solid #c7dbe7;border-radius:9px;padding:25px;color:var(--text);background:#fff}dialog::backdrop{background:rgba(10,34,56,.3)}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px}.dialog-top h2{font-size:19px;margin:0;line-height:1.7}.dialog-top>.icon-button{flex:none}#dialog-body{font-size:13px;line-height:1.9}#dialog-body h3{font-size:15px;margin:24px 0 8px}#dialog-body p{margin:8px 0 16px}#dialog-body ul,#dialog-body ol{padding-left:23px}#dialog-body a{overflow-wrap:anywhere}.comparison-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);margin:15px 0}.comparison-table{border-collapse:collapse;font-size:12px;width:100%;min-width:540px}.comparison-table th,.comparison-table td{vertical-align:top;text-align:left;border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:12px;min-width:150px;line-height:1.8}.comparison-table th:first-child{min-width:95px;width:95px;color:var(--muted);font-size:11px}.comparison-table thead{background:#edf6fb}.comparison-table .flag{width:40px;height:28px;margin:0 0 5px}.comparison-table .remove-item{border:0;background:none;font-size:11px;text-decoration:underline;color:#426d87;padding:5px 0}.dialog-actions{display:flex;gap:10px;flex-wrap:wrap}.source-list{display:grid;gap:12px}.source-box{padding:15px;background:#f2f7fb;border-radius:5px}.source-box strong{display:block;margin-bottom:5px}.source-box p{margin:0!important}.source-version{font-size:11px;color:var(--muted)}
@media(min-width:1450px){#results-view{grid-template-columns:315px 1fr}#map-container{height:440px}.search-sidebar{padding:30px}.site-header{padding:20px 40px}.key-value strong{font-size:23px}}
@media(max-width:1080px){.site-header{padding:17px 23px}.brand-link{font-size:18px;gap:11px}.site-header nav{gap:15px;font-size:11px}#results-view{grid-template-columns:255px 1fr}.search-sidebar{padding:24px 17px}.search-sidebar h1{font-size:19px}.region-filter{padding:8px 10px;font-size:11px}.entity-heading{align-items:flex-start;flex-wrap:wrap}.entity-actions{justify-content:flex-start}.key-field{padding:0 12px}.key-value{flex-wrap:wrap;justify-content:flex-start;gap:5px 10px}.key-value h3{width:100%;font-size:11px}.key-value strong{font-size:18px}.map-toolbar{padding:14px 17px}.map-modes button{padding:9px 12px}.map-actions{gap:2px}.map-actions [data-action=reset-map] span{display:none}.map-caption{padding:9px 17px}#entity-detail{padding:0 17px 20px}}
@media(max-width:760px){.site-header{padding:13px 16px;flex-wrap:wrap;gap:9px}.brand-link{font-size:16px;gap:9px}.brand-link img,.brand-link picture{width:36px;height:36px}.site-header nav{width:100%;justify-content:flex-end;gap:18px;font-size:10px}.site-header nav a,.site-header nav button{padding:4px 0;min-height:27px}.brand-divider{height:22px}.site-footer{padding:20px 17px;line-height:1.8}#results-view{display:block;min-height:0}.search-sidebar{padding:22px 17px 16px;border-right:0;border-bottom:1px solid var(--line)}.search-sidebar h1{font-size:21px;margin-bottom:15px}.search-sidebar form{max-width:600px}.search-sidebar input{font-size:16px}.search-hint{margin-bottom:18px}.region-filters{margin-bottom:15px;gap:6px}.region-filter{min-height:39px;font-size:11px;padding:8px 10px}.region-filter svg{width:20px;height:19px}.result-title{padding-top:15px;margin-bottom:10px}#result-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.result-item{padding:9px 7px;gap:7px;min-height:65px}.result-item .flag{width:35px;height:26px}.result-item .city-symbol{width:28px}.result-item .city-symbol svg{width:22px}.result-names strong{font-size:12px}.result-names small{font-size:10px}.result-kind{display:none}.result-item>.lucide{width:12px}.more-results{width:auto;align-self:center;margin-top:12px;font-size:11px}.pico-sidebar{padding-top:16px;margin-top:0;font-size:12px;align-self:flex-end}.pico-sidebar img{width:30px;height:30px}.map-toolbar{padding:12px 15px;gap:7px}.map-modes button{font-size:11px;gap:6px;padding:9px 11px;min-height:41px}.map-modes svg{width:17px;height:17px}.map-actions button{padding:8px;min-width:33px}.map-actions svg{width:16px;height:16px}#map-container{height:285px}.map-caption{padding:8px 15px;gap:5px;font-size:9px}.map-caption #map-status{order:3;width:100%;flex-basis:100%;text-align:left;font-size:9px}.map-caption .text-link{font-size:10px}#entity-detail{padding:0 16px 20px}.entity-heading{padding:18px 0 15px;gap:15px}.entity-name{gap:13px}.entity-name .flag{width:61px;height:43px}.entity-name h2{font-size:22px}.entity-name .english{font-size:12px}.entity-actions{width:100%;gap:8px}.entity-actions .button{flex:1;padding:10px 9px;font-size:11px}.info-columns{padding:15px 0}.key-field{padding:0 10px}.key-value h3{font-size:10px}.key-value strong{font-size:16px}.source-line{font-size:9px;line-height:1.9}.field-note{font-size:9px}.data-grid{gap:16px}.detail-section summary{font-size:12px;min-height:46px}.detail-body{font-size:12px}.data-field .value{font-size:14px}.data-note{font-size:9px}.entity-note{font-size:11px}.detail-footer{font-size:11px}.detail-footer .text-link{font-size:11px}dialog{padding:18px;max-height:90vh}.dialog-top h2{font-size:17px}#dialog-body{font-size:12px}}
@media(max-width:360px){.brand-link{font-size:14px}.site-header nav{gap:12px}.map-modes button{padding:9px}.map-actions button{padding:6px;min-width:27px}.info-columns{grid-template-columns:1fr}.key-field{border-right:0;border-bottom:1px solid var(--line);padding:11px 0!important}.key-field:last-child{border:0}.key-value h3{width:auto;margin-right:auto}.key-value{justify-content:flex-start}.source-line{font-size:10px}.region-filter{padding:8px}.site-header{padding:12px}}
.source-line,.data-note,.field-note,.search-hint{font-size:11px}
#map-container{height:420px}
@media(min-width:1450px){#map-container{height:460px}}
@media(max-width:760px){#map-container{height:285px}.source-line,.data-note,.field-note{font-size:11px}.key-value h3{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Keep the rotation control above the globe SVG stacking layer. */
#quiet-world-navigation .pause{z-index:3;pointer-events:auto;cursor:pointer}

.site-header nav .pico-nav-link{display:inline-flex;align-items:center;gap:6px}.pico-nav-face{display:inline-block;flex:none;width:22px;height:21px;background:url("assets/pico-front.png") center -1px/28px auto no-repeat;clip-path:ellipse(49% 48% at 50% 50%)}

.creator-credit{font-size:11px;color:#526e82;letter-spacing:.04em;white-space:nowrap}

.brand-titles{display:flex;flex-direction:column;gap:4px;line-height:1.35}.brand-kicker{display:block;font-family:var(--display);font-size:11px;font-weight:400;letter-spacing:.1em;color:#526e82}@media(max-width:760px){.brand-kicker{font-size:10px}.brand-titles{gap:3px}}

/* A quiet orbital accent, beginning after Pico's arrival. */
#quiet-world-navigation .ambient-orbit{position:absolute;left:10%;top:1%;width:90%;height:96%;z-index:2;pointer-events:none;overflow:visible;opacity:0;animation:orbit-appear 2s ease 8s forwards}
#quiet-world-navigation .orbit-trace{fill:none;stroke:url(#orbit-fade);stroke-width:.7}
#quiet-world-navigation .orbit-glint{fill:none;stroke:#ecfaff;stroke-width:1.4;stroke-linecap:round;stroke-dasharray:2 98;opacity:0;animation:orbit-light-travel 18s linear 10s infinite}
@keyframes orbit-appear{to{opacity:.6}}
@keyframes orbit-light-travel{0%,56%{opacity:0;stroke-dashoffset:22}60%{opacity:.8}77%{opacity:.8}82%,100%{opacity:0;stroke-dashoffset:-26}}
#quiet-world-navigation:has(.pause[aria-pressed="true"]) .ambient-orbit,#quiet-world-navigation:has(.pause[aria-pressed="true"]) .orbit-glint{animation-play-state:paused}
@media(max-width:600px){#quiet-world-navigation .ambient-orbit{left:-5%;width:110%;top:4%;height:90%}}
@media(prefers-reduced-motion:reduce){#quiet-world-navigation .ambient-orbit{animation:none;opacity:.25}#quiet-world-navigation .orbit-glint{display:none}}

#entity-detail .code-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
#entity-detail .code-columns .key-value{flex-wrap:wrap}
#entity-detail .code-columns .key-value h3{width:100%;margin:0 0 7px}
#entity-detail .code-columns .key-value strong{overflow-wrap:anywhere}
@media(max-width:360px){#entity-detail .code-columns .key-field{padding:0 8px!important;border-bottom:0;border-right:1px solid var(--line)}#entity-detail .code-columns .key-field:last-child{border-right:0}#entity-detail .code-columns .key-value strong{font-size:14px}}
