:root{color-scheme:light;--paper:#f7f8f2;--card:#fff;--ink:#233329;--muted:#526159;--line:#dce4d9;--green:#285d43;--seed:#e4eee1;--soft:#edf3e8;--warm:#f8edda;--hero:#e3eee2;--deep:#234735;--on-deep:#f3f9f2;--shadow:0 9px 26px #1639230a;--curve:20px;font:16px/1.58 system-ui,"Malgun Gothic",sans-serif}
:root[data-theme=dark]{color-scheme:dark;--paper:#161e19;--card:#202c24;--ink:#eef5ed;--muted:#bacbbe;--line:#394d40;--green:#b4e3c0;--seed:#324d3b;--soft:#273a2e;--warm:#41372b;--hero:#233b2e;--deep:#131f17;--shadow:0 9px 26px #0a13082b}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);word-break:keep-all;overflow-wrap:anywhere}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.45}
a{color:var(--green);text-underline-offset:.2em}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--green);outline-offset:3px}
h1,h2,h3,p,ul{margin:0}
h1,h2,h3{line-height:1.22;letter-spacing:-.04em}
[hidden]{display:none!important}
.icon{width:22px;height:22px;display:inline-block;flex:none;vertical-align:middle;fill:none;stroke:currentColor}
.wrap{width:min(1184px,calc(100% - 64px));margin-inline:auto}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip:focus{position:absolute;z-index:10;inset:12px auto auto 12px;background:var(--card);padding:10px}
.top{background:var(--card);border-bottom:1px solid var(--line)}
.top-row,.foot-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.top-row{min-height:78px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-size:1.35rem;font-weight:800;line-height:1;white-space:nowrap}
.brand img{display:block}
.brand small{display:block;font-size:.59rem;letter-spacing:.17em;margin-top:5px;color:var(--green)}
.top-nav,.top-actions{display:flex;align-items:center;gap:26px}
.top-nav a,.footer nav a{font-size:.88rem;text-decoration:none;color:var(--muted);font-weight:650}
.top-nav a:hover,.footer nav a:hover,.guide-link:hover{text-decoration:underline}
.top-actions{gap:9px}
.round,.settings,.filter button,.recommend button,#clear-search,.suggestions button,.pref-row button{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px;min-height:40px;padding:6px 12px}
.round{display:grid;place-items:center;padding:0;width:42px;height:42px}
.settings{display:flex;align-items:center;gap:6px;font-size:.86rem;font-weight:700;white-space:nowrap}
.settings .icon,.round .icon{width:18px;height:18px}
.home{padding-block:26px 54px}
.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);align-items:center;gap:52px;background:var(--hero);border:1px solid var(--line);border-radius:28px;padding:42px 49px}
.eyebrow{font-size:.7rem;letter-spacing:.15em;color:var(--green);font-weight:800}
.hero h1{font-size:clamp(2.3rem,5.1vw,4.15rem);line-height:1.12;margin:12px 0 15px;font-weight:850;letter-spacing:-.072em}
.hero-desc{color:var(--muted);font-size:.98rem;margin-bottom:23px}
.hero-clock{background:var(--deep);color:var(--on-deep);padding:25px 28px;border-radius:23px;min-height:230px;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:center}
.hero-clock .eyebrow{color:#bad8bf;margin-bottom:10px;letter-spacing:.09em}
#solar{font-weight:680;position:relative}
#clock{font-size:clamp(2.25rem,4.9vw,4.25rem);font-weight:650;line-height:1.3;letter-spacing:-.055em;font-variant-numeric:tabular-nums;position:relative}
#lunar{font-size:.85rem;color:#c3d8c8;margin-top:4px}
.clock-deco{position:absolute;z-index:-1;width:142px;height:142px;top:-25px;right:-20px;border:1px solid #cbe9cc4d;border-radius:50%;display:grid;place-items:center;box-shadow:0 0 0 16px #d1ecd810,0 0 0 33px #d1ecd808}
.clock-deco img{opacity:.48;transform:rotate(-12deg)}
#search-form{display:flex;align-items:center;padding:5px 5px 5px 13px;gap:9px;background:var(--card);border:1px solid var(--line);border-radius:13px;max-width:610px}
#search-form .icon{color:var(--green)}
#query{width:100%;min-width:0;min-height:40px;border:0;background:transparent;color:var(--ink);outline:none}
#query:focus-visible{outline:0}
#search-form:focus-within{outline:2px solid var(--green);outline-offset:2px}
#search-form button,.primary{display:inline-block;background:#285d43;color:white;border:0;border-radius:9px;min-height:40px;padding:8px 17px;font-weight:750;text-decoration:none;white-space:nowrap}
.recommend{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:12px;font-size:.78rem;color:var(--muted)}
.recommend button{font-size:.76rem;border-color:transparent;min-height:32px;border-radius:999px;padding:4px 10px}
.recommend span{margin-right:3px}
.suggestions{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:8px;box-shadow:var(--shadow)}
.suggestions p{font-size:.8rem;margin-bottom:7px;color:var(--muted)}
.suggestions button{font-size:.86rem;margin:3px;min-height:34px}
.section{margin-top:36px;scroll-margin-top:15px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.section-head h2{font-size:clamp(1.48rem,3vw,2rem);margin-top:5px}
.section-head>a{font-size:.85rem;font-weight:700;text-decoration:none}
.filter{display:flex;gap:4px;flex-wrap:wrap}
.filter button{font-size:.83rem;min-height:34px;border-color:transparent;background:transparent}
.filter button[aria-pressed=true]{background:var(--seed);color:var(--green);font-weight:750}
.service-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.tile,.widget,.results,.story,.news-list,.reading-card,.ad-slot{background:var(--card);border:1px solid var(--line);border-radius:var(--curve);box-shadow:var(--shadow)}
.tile{position:relative;min-width:0;padding:14px 14px 9px}
.tile:hover,.story:hover{border-color:var(--green)}
.tile-main{display:flex;align-items:flex-start;flex-direction:column;color:var(--ink);text-decoration:none;gap:3px}
.tile-main strong{letter-spacing:-.04em;font-size:1rem}
.tile-main small,.guide-link{font-size:.74rem;color:var(--muted)}
.tile-icon,.widget-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--seed);color:var(--green)}
.tile-icon{margin-bottom:5px}
.tile:is([data-group=계산],[data-tile=pet]) .tile-icon{background:var(--warm)}
.star{position:absolute;top:9px;right:8px;background:transparent;color:var(--green);border:0;width:38px;height:38px;font-size:1.45rem;line-height:1}
.guide-link{display:inline-flex;align-items:center;min-height:31px;gap:5px;text-decoration:none}
.widget-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.widget{padding:17px;min-width:0}
.widget h3{display:flex;align-items:center;gap:8px;font-size:.93rem;letter-spacing:-.025em}
.widget-icon{width:31px;height:31px;border-radius:9px}
.widget-icon .icon{width:17px;height:17px}
.widget p{font-size:.8rem;color:var(--muted);margin-top:5px}
.widget p.widget-value{font-size:1.08rem;color:var(--ink);font-weight:800;line-height:1.35;margin-top:11px}
.widget>a{display:inline-flex;align-items:center;min-height:35px;font-size:.82rem;font-weight:700;text-decoration:none}
.personal-grid{margin-top:12px}
.quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}
.quick a{background:var(--soft);text-decoration:none;border-radius:7px;padding:5px 8px;font-size:.79rem}
.compact{padding:5px 0 0;list-style:none;font-size:.82rem}
.compact li{padding-block:4px;color:var(--muted)}
.compact a,.feature-list a,.status-list a{font-weight:650;text-decoration:none}
.compact a:hover,.feature-list a:hover,.status-list a:hover{text-decoration:underline}
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.story{padding:19px;color:var(--ink);text-decoration:none;display:flex;flex-direction:column;gap:7px}
.story strong{font-size:1.02rem;line-height:1.35}
.story small{color:var(--muted);flex:1}
.story span{font-size:.82rem;font-weight:700;color:var(--green)}
.news-list{padding:8px 18px}
.news-list p{padding:9px 0;font-size:.89rem}
.news-list p+p{border-top:1px solid var(--line)}
.news-list strong{margin-right:8px}
.footer{background:var(--card);border-top:1px solid var(--line);padding:25px 0}
.footer nav{display:flex;flex-wrap:wrap;gap:10px 22px}
.footer nav a{font-size:.8rem}
.results{padding:18px 22px}
.results ul{padding:0;list-style:none}
.results li+li{border-top:1px solid var(--line)}
.results li a{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;padding-block:11px;text-decoration:none;font-weight:750}
.results li a:hover{text-decoration:underline}
.results small,#result-count{color:var(--muted);font-size:.85rem}
.reading{max-width:900px;min-height:calc(100vh - 172px);padding-block:34px 62px}
.back{font-size:.87rem;font-weight:700;text-decoration:none}
.reading-title{margin:24px 0}
.reading-title h1{font-size:clamp(2rem,5vw,3.35rem);margin:7px 0 12px}
.reading-title>p:last-child{color:var(--muted)}
.reading-card{padding:clamp(18px,4vw,36px)}
.reading-card h2{margin:22px 0 7px;font-size:1.32rem}
.reading-card h2:first-child{margin-top:0}
.reading-card p+p{margin-top:10px}
.reading-card p:has(.primary){margin-top:20px}
.feature-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.feature-list a{display:block;border-radius:8px;background:var(--soft);padding:8px 11px;font-size:.88rem}
.status-list{padding:0;list-style:none}
.status-list li{display:flex;gap:12px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:9px 2px}
.status-list strong{color:var(--muted);font-size:.79rem}
.ad-slot{min-height:94px;margin-top:14px}
dialog{width:min(560px,calc(100% - 28px));max-height:88dvh;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:20px}
dialog::backdrop{background:#11231bc2}
.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:10px}
dialog fieldset{border:1px solid var(--line);border-radius:10px;margin:14px 0;padding:10px 14px}
dialog legend{font-weight:750}
.theme-pref{display:flex;justify-content:space-between;gap:8px}
.theme-pref select{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:7px}
.widget-options{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;font-size:.86rem}
.pref-row{display:grid;grid-template-columns:minmax(0,1fr) 37px 37px;align-items:center;gap:5px;padding:3px 0}
.pref-row button{padding:0;min-height:35px}
.danger{border:1px solid var(--line);color:var(--ink);background:var(--warm);border-radius:8px;padding:8px 12px}
.toast{position:fixed;z-index:5;bottom:16px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 20px);background:var(--deep);color:white;border-radius:9px;padding:9px 14px;box-shadow:var(--shadow)}
@media(max-width:950px){.wrap{width:calc(100% - 36px)}.hero{gap:24px;padding:32px}.service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.widget-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.wrap{width:calc(100% - 26px)}.top-row{min-height:60px;gap:10px}.top-nav{display:none}.home{padding-top:13px}.hero{grid-template-columns:1fr;gap:17px;padding:23px 16px;border-radius:20px}.hero h1{margin:7px 0 9px}.hero-desc{margin-bottom:15px;font-size:.88rem}.hero-clock{min-height:139px;padding:13px 18px;border-radius:15px}.hero-clock .eyebrow{margin-bottom:4px}.clock-deco{right:0}.section{margin-top:27px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tile,.widget{padding:11px;border-radius:14px}.widget-grid,.story-grid{gap:8px}.story-grid{grid-template-columns:1fr}.footer .foot-inner{flex-direction:column;align-items:flex-start}.section-head{align-items:center}.reading{padding-top:20px}}
@media(max-width:360px){.widget-grid,.feature-list{grid-template-columns:1fr}.tile-main strong{font-size:.93rem}}
