:root{font-family:system-ui,-apple-system,"Segoe UI","Noto Sans TC",sans-serif;color:#21342d;background:#f3f6f4;font-size:16px;line-height:1.6;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #73ad8f;outline-offset:4px}[hidden]{display:none!important}.hero{background:#123c32;color:white;position:relative;overflow:hidden}.hero:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #ffffff15;border-radius:50%;right:-40px;top:-180px;box-shadow:0 0 0 65px #ffffff06,0 0 0 130px #ffffff04;pointer-events:none}.hero-inner{max-width:1100px;margin:auto;padding:34px 28px 76px;position:relative;z-index:1}.brand{display:flex;align-items:center;gap:12px;font-size:.875rem;letter-spacing:.1em;font-weight:650;color:#c3dbc9}.brand-separator{opacity:.4;margin:0 8px}h1{font-size:clamp(2rem,5vw,3rem);line-height:1.3;margin:26px 0 12px;letter-spacing:-.04em}.hero p{color:#d5e2db;margin:0;font-size:1.0625rem}.meta{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:22px;color:#b9d1c5;font-size:.875rem}main{max-width:1100px;margin:-36px auto 0;padding:0 28px;position:relative;z-index:2}.search-card{background:white;border:1px solid #e0e7e2;border-radius:18px;padding:28px;box-shadow:0 8px 30px #123c3208}.search-row{display:flex;align-items:center;gap:28px}.radius-field{flex:1}label{font-weight:650}.input-wrap{display:flex;align-items:center;border:1px solid #b9c9bf;border-radius:10px;background:#fff;max-width:340px;margin-top:9px;overflow:hidden}.input-wrap:focus-within{border-color:#26724e;box-shadow:0 0 0 3px #e2f1e6}.input-wrap input{width:100%;min-width:0;border:0;background:none;padding:10px 16px;font-size:1.5rem;font-weight:650;color:#143d2b;outline:none;appearance:textfield}.input-wrap span{white-space:nowrap;padding:0 16px;color:#63756a;font-size:.9375rem}.help{font-weight:400;font-size:.875rem;color:#687b70;margin:7px 0 0;display:block}.primary{border:0;border-radius:10px;padding:14px 30px;min-height:54px;background:#26724e;color:white;font-weight:650;box-shadow:0 3px 0 #1c573d;transition:background .15s}.primary:hover:not(:disabled){background:#1b603e}.check-card{display:flex;align-items:flex-start;gap:14px;margin-top:24px;background:#f4f8f4;border:1px solid #dce9dd;border-radius:12px;padding:18px;cursor:pointer}.check-card input{accent-color:#26724e;width:21px;height:21px;flex-shrink:0;margin:3px 0}.check-card strong{font-size:1rem}.check-card .help{margin-top:3px}.status{font-size:.875rem;color:#586e60;min-height:1.4em;margin:16px 0 0}.status.dirty{color:#8b621a}progress{width:100%;height:8px;accent-color:#26724e;margin-top:10px}#error{color:#9b2929;background:#fff0ef;padding:12px 15px;border-radius:8px}.results{margin-top:38px;scroll-margin-top:20px}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.15em;color:#5d7a65;margin:0 0 3px}h2{font-size:1.5rem;line-height:1.4;margin:0;letter-spacing:-.03em}.settings{font-size:.875rem;text-align:right;color:#496454}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:24px}.stats>div{background:#fff;border:1px solid #dfe7e1;border-radius:12px;padding:20px 24px}.stats span,.stats small{display:block;font-size:.875rem;color:#63766b}.stats strong{display:block;font-size:2rem;font-weight:700;line-height:1.4;color:#225d3d;font-variant-numeric:tabular-nums;margin:5px 0}.table-card{background:white;border:1px solid #dfe7e1;border-radius:14px;overflow:hidden}.table-note{display:flex;justify-content:space-between;gap:16px;padding:18px 24px;font-size:.875rem;color:#607267;border-bottom:1px solid #e3eae5}.table-note>span:first-child{color:#314d3b;font-weight:650}table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}th{text-align:left;color:#61756a;font-size:.875rem;background:#f7f9f7;font-weight:600}td,th{padding:13px 24px;border-bottom:1px solid #edf1ee}td:first-child{color:#6e7f73;width:100px}td:last-child,th:last-child{text-align:right}td:last-child{font-weight:650;color:#225f40}tbody tr:hover{background:#f7faf7}tbody tr:first-child.featured{background:#edf7ed}.rank-medal{display:inline-grid;place-items:center;background:#d9edda;color:#24663c;font-weight:750;width:32px;height:32px;border-radius:50%}.coords{font-variant-numeric:tabular-nums;letter-spacing:.02em;font-weight:600;white-space:nowrap}.copy{border:1px solid #e0e8e2;background:#fff;color:#62796a;border-radius:6px;font-size:.8125rem;padding:3px 9px;margin-left:12px}.copy:hover{border-color:#60956e;color:#225d3d}#pagination{padding:22px 20px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px}#pagination button{border:1px solid #dce5de;background:white;border-radius:7px;min-width:36px;min-height:38px;padding:5px 10px;color:#41614c;font-size:.875rem}#pagination button[aria-current=page]{background:#26724e;color:white;border-color:#26724e}#pagination button:disabled{cursor:default}.result-footnote{font-size:.875rem;color:#697b6f;margin-top:12px}.village-details{background:white;border:1px solid #dfe7e1;border-radius:12px;margin-top:28px;padding:18px 22px}.village-details summary{cursor:pointer;font-weight:600;color:#3e5d48}.village-details>p{font-size:.875rem;color:#687b70}.village-table-wrap{max-height:340px;overflow:auto;border:1px solid #e5ebe6;border-radius:7px}.village-table-wrap th{position:sticky;top:0}.village-table-wrap td{font-size:.9375rem}.data-note{font-size:.875rem;color:#697b70;line-height:1.8;margin:26px 0}.data-note strong{color:#496251}.data-note p{margin:7px 0}footer{max-width:1100px;margin:26px auto 0;padding:24px 28px;border-top:1px solid #dfe7e1;color:#78877d;font-size:.8125rem;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.toast{position:fixed;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#163d2b;color:white;border-radius:10px;padding:12px 20px;box-shadow:0 5px 20px #0002;z-index:10;font-size:.9375rem;max-width:90vw;white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:640px){.hero-inner{padding:24px 20px 62px}.brand{font-size:.75rem;gap:10px}.brand-separator{margin:0 4px}h1{margin-top:24px}.hero p{font-size:1rem}.meta{gap:6px 18px}main{padding:0 14px}.search-card{padding:21px 18px}.search-row{flex-direction:column;align-items:stretch;gap:18px}.input-wrap{max-width:none}.primary{width:100%}.check-card{padding:15px 12px;gap:11px}.check-card strong{font-size:.9375rem}.result-heading{align-items:flex-start;flex-direction:column;gap:9px}.settings{text-align:left}.stats{gap:8px}.stats>div{padding:13px 10px}.stats span,.stats small{font-size:.8125rem;line-height:1.5}.stats strong{font-size:1.65rem}.table-note{padding:15px;flex-direction:column;gap:3px}.table-note>span:last-child{font-size:.8125rem}td,th{padding:12px 14px}td:first-child{width:58px}.copy{display:block;margin:4px 0 0;padding:2px 7px}th:last-child{white-space:nowrap}.coords{font-size:1rem}#pagination{gap:5px;padding:18px 12px}#pagination button{min-width:31px;padding:5px 8px}.village-details{padding:17px 15px}.village-table-wrap td,.village-table-wrap th{padding:10px}.data-note{padding:0 4px}footer{padding:20px;gap:5px}.results{margin-top:28px}}
.region-picker{margin-top:20px}.region-picker>label{display:block;margin-bottom:8px}.select-wrap{position:relative;max-width:340px}.select-wrap:after{content:"⌄";position:absolute;right:16px;top:9px;color:#53705e;pointer-events:none}.select-wrap select{appearance:none;width:100%;font:inherit;color:#244733;background:#fff;border:1px solid #b9c9bf;border-radius:9px;padding:10px 40px 10px 14px}.region-picker fieldset{border:1px solid #dfe7e1;border-radius:10px;padding:16px 18px;margin:18px 0 0;min-width:0}.region-picker legend{font-size:.875rem;color:#53705e;padding:0 6px}.region-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.region-grid label{font-size:.875rem;color:#53705e}.region-grid input{display:block;width:100%;min-width:0;margin-top:5px;padding:9px 11px;border:1px solid #b9c9bf;border-radius:7px;font-size:1rem;color:#244733}.settings{max-width:65%}@media(max-width:640px){.select-wrap{max-width:none}.region-grid{grid-template-columns:repeat(2,1fr);gap:12px}.region-picker fieldset{padding:14px 12px}.settings{max-width:100%}}
