:root{font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;color:#243a47;background:#f7f9f8;font-synthesis:none;--muted:#73848e;--line:#e5ebe8}*{box-sizing:border-box}body{margin:0}button,select{font:inherit}button,a,summary,select{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid #377fbd;outline-offset:4px}button:disabled{cursor:wait;opacity:.5}[hidden]{display:none!important}.shell{max-width:1120px;margin:auto;padding:0 40px}.brand{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand a{text-decoration:none;color:inherit;font-size:18px;font-weight:750;display:flex;align-items:center;gap:12px}.brand-icon{font-size:30px;color:#dca743}.wordmark{font-size:9px;letter-spacing:1.6px;font-weight:500;color:var(--muted);margin-left:18px}.prototype{font-size:10px;letter-spacing:1px;color:#687a84;display:flex;gap:10px;align-items:center}.prototype span{font-size:11px;background:#eaf0ed;border-radius:5px;padding:6px 9px;letter-spacing:0}.heading{display:flex;justify-content:space-between;align-items:end;padding:39px 0 28px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#738c91;margin:0 0 10px}h1{font-size:34px;letter-spacing:-1.8px;margin:0 0 10px;font-weight:650}.intro{font-size:14px;color:var(--muted);margin:0}.date{font-size:13px;color:#6b7f89;padding-bottom:3px}.date strong{font-size:21px;display:block;color:#374e5b;text-align:right;margin-bottom:7px;font-weight:500}.toolbar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:20px 0;gap:16px}.location{display:flex;align-items:center;gap:12px}.location>span{font-size:26px;color:#587b84}.location strong{font-size:17px;font-weight:650}.location small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.text-button{border:0;background:transparent;font-size:12px;padding:8px;color:#60767f}.location .text-button{margin-left:10px}.tools{display:flex;gap:8px}.button{border:1px solid #dfe8e4;padding:11px 15px;border-radius:9px;font-size:12px;font-weight:550;transition:background .2s,transform .2s}.button:hover{transform:translateY(-1px)}.light{background:#fff}.light:hover{background:#edf2ef}.primary{background:#355e59;color:white;border-color:#355e59}.primary:hover{background:#254f49}.notice{padding:13px 17px;background:#fff2d9;border:1px solid #f2ddb2;border-radius:10px;font-size:13px;line-height:1.6;margin:0 0 18px}.dashboard-grid{display:grid;grid-template-columns:1.22fr 1fr;gap:20px}.weather-card{border-radius:22px;padding:25px 28px 18px;background:#e8f3fc;overflow:hidden;position:relative;transition:background .4s}.weather-card.cloud{background:#e9eef2}.weather-card.rain{background:#e0ebf7}.weather-card.snow{background:#eaf3f6}.card-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.card-top h2{font-size:15px;font-weight:600;margin:0}.pill{font-size:9px;letter-spacing:1.4px;padding:7px 11px;border:1px solid #ffffffa0;border-radius:30px;color:#5f849c}.weather-main{min-height:223px;display:flex;align-items:center;position:relative}.temperature{position:relative;z-index:1;flex:1}.temperature .value{font-size:80px;font-weight:300;letter-spacing:-6px;line-height:1.2}.temperature .degree{font-size:42px;vertical-align:top;display:inline-block;margin-top:10px;margin-left:5px;font-weight:300}.condition{font-size:16px;font-weight:500;margin-top:5px}.range{font-size:12px;margin-top:13px;color:#617c90}.range span{margin-right:13px}.weather-art{width:215px;height:215px;flex-shrink:0;filter:drop-shadow(0 14px 13px #759fc321)}.weather-art svg{width:100%;height:100%}.weather-details{display:grid;grid-template-columns:repeat(3,1fr);padding:18px 0;border-top:1px solid #ffffffa8}.weather-details>div{text-align:center;border-right:1px solid #ffffffa8}.weather-details>div:last-child{border:0}.metric-label{color:#638096;font-size:11px;margin-bottom:9px}.metric-value{font-size:18px;font-weight:550}.metric-value small{font-size:12px;font-weight:400;margin-left:3px}.weather-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffffa8;padding-top:14px;font-size:10px;color:#648399;gap:10px}.air-card{background:white;border:1px solid var(--line);border-radius:22px;padding:25px 25px 19px}.air-card .eyebrow{font-size:9px;margin-bottom:9px}.air-card h2{font-size:20px;letter-spacing:-.6px}.air-mark{font-size:42px;color:#a8c3b4;line-height:1}.subtle{font-size:12px;color:var(--muted);line-height:1.7}.air-card>.subtle{margin:13px 0 22px}.air-item{display:flex;justify-content:space-between;align-items:center;padding:18px 0;border-top:1px solid #edf0ed;gap:10px}.air-item h3{font-size:13px;font-weight:550;margin:0 0 7px}.air-item .english{font-size:10px;letter-spacing:.7px;color:#91a0a6}.air-reading{display:flex;align-items:center;gap:16px}.concentration{font-size:26px;font-weight:450;text-align:right}.unit{display:block;font-size:10px;color:#8c9c9f;margin-top:3px}.grade{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px;min-width:55px;color:#3e8c7d}.face{display:inline-flex;justify-content:center;align-items:center;background:#e6f6ee;border-radius:50%;width:34px;height:34px;font-size:23px;line-height:1;font-family:sans-serif}.grade.moderate{color:#477db4}.moderate .face{background:#e9f1fc}.grade.bad{color:#ac711e}.bad .face{background:#fff0d7}.grade.verybad{color:#bc5360}.verybad .face{background:#ffe9ea}.grade.unknown{color:#859198}.unknown .face{background:#eef1f1}.air-time{font-size:10px;color:#91a0a6;border-top:1px solid #edf0ed;padding-top:15px;margin-top:5px;line-height:1.7}.guidance{display:flex;align-items:center;gap:18px;border:1px solid #dce9df;background:#eff6ef;border-radius:14px;padding:21px 25px;margin-top:18px}.guidance .guide-icon{background:#dfeede;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;color:#4e7755;font-size:23px;flex-shrink:0}.guidance h2{font-size:14px;margin:0 0 7px;font-weight:600}.guidance p{font-size:12px;color:#6e8271;margin:0;line-height:1.6}.guidance.caution{background:#fbf4e9;border-color:#ecdfc5}.guidance.caution .guide-icon{background:#f4e6c8;color:#997329}.guidance.caution p{color:#8b795e}.data-caption{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8a999e;margin:16px 3px 0}.demo-panel{margin-top:32px;border-top:1px solid var(--line);padding-top:18px}.demo-panel summary{font-size:12px;color:#61767f;list-style:none;display:flex;gap:15px;align-items:center}.demo-panel summary:before{content:'+';font-size:18px}.demo-panel[open] summary:before{content:'−'}.demo-panel summary span{font-size:11px;color:#99a5aa}.demo-controls{display:flex;align-items:end;gap:16px;padding:18px 0}.demo-controls label{flex:1}.demo-controls p{font-size:11px;line-height:1.7;color:var(--muted);flex:1;margin:0 0 5px}label{display:block;font-size:12px;font-weight:550}select{display:block;width:100%;margin-top:9px;padding:12px;background:#fff;border:1px solid #dfe7e3;border-radius:8px;color:#3c535d;font-size:13px}footer{display:flex;align-items:center;justify-content:space-between;margin-top:32px;padding:22px 0 30px;border-top:1px solid var(--line);font-size:11px;color:#93a09f}.footer-dot{padding:0 7px}footer button{font-size:11px!important}dialog{border:1px solid #e1e9e3;border-radius:21px;padding:29px;width:min(440px,calc(100% - 32px));color:#243a47;box-shadow:0 20px 100px #263f4c22}dialog::backdrop{background:#20343d66;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{font-size:22px;letter-spacing:-.8px;margin:0}.close{border:0;background:#f0f4f2;border-radius:50%;width:31px;height:31px;font-size:24px;line-height:1}.demo-note{font-size:11px;color:#8c7b57;background:#fbf5e8;padding:12px;border-radius:8px;line-height:1.6}dialog label{margin-top:18px}.wide{width:100%;margin-top:26px;font-size:13px}.welcome{text-align:center;border:1px solid #e0e9e8;border-radius:22px;background:#edf5f8;padding:35px 20px 40px}.welcome-sun{font-size:65px;color:#e6b04d}.welcome h2{font-weight:550;font-size:25px;letter-spacing:-1px}.welcome p{color:#708593;font-size:13px;line-height:1.9}.welcome>div{display:flex;gap:10px;justify-content:center;margin:24px 0}.welcome>small{font-size:10px;color:#8a999f}.error-state{min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:12px}.error-state>span{font-size:32px;color:#92a1a7}.error-state h3{font-size:15px;margin:0}.error-state p{font-size:12px;color:#7b8d96;line-height:1.7;margin:0}.stale-badge{display:block;margin-top:4px;color:#9c6e2b}.loading{opacity:.45;pointer-events:none}/* Animate SVG parts independently so each weather condition has its own motion. */
.sun-rays{transform-origin:117px 88px;animation:sun-turn 36s linear infinite}
.sun-halo{transform-origin:117px 88px;animation:sun-glow 4s ease-in-out infinite}
.weather-cloud{animation:cloud-drift 6s ease-in-out infinite}
.small-cloud{animation-duration:7s;animation-delay:-2s}
.rain-drop{animation:rain-fall 1.25s linear infinite;animation-delay:var(--delay)}
.snow-fall{animation:snow-fall 3.8s ease-in-out infinite;animation-delay:var(--delay)}
.snow-flake{animation:snow-turn 6s linear infinite;animation-delay:var(--delay)}
.loading .weather-art *{animation-play-state:paused}
@keyframes sun-turn{to{transform:rotate(360deg)}}
@keyframes sun-glow{50%{transform:scale(1.12);opacity:.55}}
@keyframes cloud-drift{0%,100%{transform:translate(-4px,0)}50%{transform:translate(7px,-4px)}}
@keyframes rain-fall{0%{transform:translate(4px,-9px);opacity:0}15%,70%{opacity:1}100%{transform:translate(-9px,25px);opacity:0}}
@keyframes snow-fall{0%{transform:translate(-3px,-9px);opacity:0}20%,70%{opacity:1}50%{transform:translate(5px,10px)}100%{transform:translate(-2px,29px);opacity:0}}
@keyframes snow-turn{to{transform:rotate(180deg)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1400px){.shell{padding-top:20px}.heading{padding-top:48px}}@media(max-width:760px){.shell{padding:0 22px;max-width:590px}.brand{height:76px}.wordmark{display:none}.brand a{font-size:15px;gap:8px}.prototype{font-size:8px;gap:5px}.prototype span{font-size:9px}.heading{padding:28px 0 24px}h1{font-size:27px}.intro{font-size:12px}.date{font-size:10px}.date strong{font-size:16px}.dashboard-grid{grid-template-columns:1fr;gap:16px}.toolbar{align-items:flex-start;flex-wrap:wrap;padding:17px 0;gap:14px}.location{gap:9px;flex:1}.location strong{font-size:16px}.location .text-button{margin-left:auto}.tools{width:100%;justify-content:flex-end}.tools .button{font-size:11px;padding:8px 12px}.weather-card{padding:23px 23px 16px}.weather-main{min-height:196px}.temperature .value{font-size:76px}.weather-art{width:185px;height:185px}.air-card{padding:24px}.air-card>.subtle{margin-bottom:14px}.air-item{padding:14px 0}.air-reading{gap:20px}.air-item .english{display:inline;margin-left:5px}.air-item h3{display:inline}.concentration{font-size:24px}.grade{flex-direction:row;gap:9px;min-width:80px}.grade .face{width:30px;height:30px;font-size:21px}.guidance{padding:19px;gap:13px}.data-caption{flex-direction:column;line-height:1.5}.demo-controls{flex-wrap:wrap}.demo-controls label{flex-basis:40%}.demo-controls p{flex-basis:100%}footer{margin-top:24px;font-size:10px}.demo-panel{margin-top:26px}.welcome{padding:25px 18px 30px}}@media(max-width:370px){.shell{padding:0 15px}.weather-art{width:150px;height:160px}.temperature .value{font-size:66px}.prototype{letter-spacing:0}.date{display:none}.demo-panel summary{gap:8px}.demo-panel summary span{font-size:10px}}

.card-layout-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.card-layout-tools .button{min-height:44px}
.card-layout-tools>span{font-size:11px;color:var(--muted)}
.dashboard-grid.air-first{grid-template-columns:1fr 1.22fr}
@media(max-width:760px){.dashboard-grid.air-first{grid-template-columns:1fr}}

.tools .button{display:inline-flex;align-items:center;justify-content:center;gap:6px}
@media(max-width:760px){
 html{scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))}
 .shell{padding-bottom:calc(88px + env(safe-area-inset-bottom,0px));padding-left:max(22px,env(safe-area-inset-left,0px));padding-right:max(22px,env(safe-area-inset-right,0px))}
 .tools{position:fixed;inset:auto 0 0;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px max(16px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#fffffff5;border-top:1px solid var(--line);box-shadow:0 -4px 20px #243a4708}
 .tools .button{min-width:0;min-height:56px;flex-direction:column;gap:4px;padding:6px 4px;border-color:transparent;background:transparent;font-size:11px;line-height:1.4;border-radius:10px}
 .tools .tool-icon{font-size:23px;line-height:1}
 .tools .button:hover{background:#edf2ef;transform:none}
 .tools .button:focus-visible{outline-offset:-3px}
 .toolbar{flex-wrap:nowrap}
}

#mobile-region-label{display:none}
@media(max-width:760px){
 main{display:flex;flex-direction:column;padding-top:20px}
 .heading,.toolbar .location,.tools .desktop-region-label{display:none}
 .toolbar{padding:0;border:0;gap:0}
 .tools #mobile-region-label{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #change-region{min-width:0}
 #dashboard{display:flex;flex-direction:column}
 .dashboard-grid{order:0}
 .card-layout-tools{order:1;margin:14px 0 0}
 .guidance{order:2}
 .data-caption{order:3}
 #notice{order:1;margin:16px 0 0}
 .demo-panel{order:2}
}

/* Keep mobile text readable without enlarging the desktop layout. */
@media(max-width:760px){
 body{font-size:16px;line-height:1.5}
 .button,.text-button,label{font-size:15px}
 select{font-size:16px;min-height:48px}
 .brand a{font-size:18px}
 .prototype{font-size:10px;flex-wrap:wrap;justify-content:flex-end;max-width:110px;gap:3px}
 .prototype span{font-size:12px}
 .card-top h2{font-size:19px}
 .air-card h2{font-size:22px}
 .pill,.air-card .eyebrow{font-size:12px}
 .temperature{min-width:0}
 .temperature .value{font-size:clamp(70px,20vw,84px)}
 .condition{font-size:18px;line-height:1.5}
 .range{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:14px}
 .range span{margin:0}
 .weather-art{width:clamp(120px,40vw,185px);height:auto;aspect-ratio:1;flex-shrink:1;min-width:0}
 .metric-label{font-size:13px}
 .metric-value{font-size:22px}
 .metric-value small{font-size:14px}
 .weather-bottom{flex-wrap:wrap;font-size:13px;line-height:1.7}
 .subtle,.guidance p,.error-state p,.welcome p,.notice{font-size:15px;line-height:1.75}
 .air-item{flex-wrap:wrap;row-gap:12px;padding:18px 0}
 .air-item h3{display:block;font-size:16px;margin-bottom:4px}
 .air-item .english{display:block;margin-left:0;font-size:13px}
 .air-reading{margin-left:auto;gap:12px}
 .concentration{font-size:30px}
 .unit{font-size:12px}
 .grade{font-size:14px;min-width:65px;flex-direction:column;gap:5px}
 .air-time,.data-caption,.demo-controls p,.demo-note,.welcome>small{font-size:13px;line-height:1.75}
 .guidance h2,.error-state h3{font-size:17px;line-height:1.5}
 .card-layout-tools>span{font-size:13px}
 .tools .button{font-size:14px;min-height:60px}
 .demo-panel summary{flex-wrap:wrap;gap:6px 12px;font-size:15px}
 .demo-panel summary span{font-size:13px}
 .demo-controls{align-items:flex-start}
 .demo-controls label{flex-basis:100%}
 .welcome>div{flex-wrap:wrap}
 .wide{font-size:16px}
 footer{flex-wrap:wrap;gap:10px;font-size:13px}
 footer button{font-size:14px!important}
}
