:root{--bg:#fff8f5;--ink:#3a2e2c;--mut:#8a7672;--pri:#c4566a;--pd:#e86f82;--ov:#7cc3c9;--fz:#d8eef0;--fz2:#b9e0e3;--line:#f0dfdb}
*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}
html,body{background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Noto Sans CJK KR","Malgun Gothic",sans-serif;word-break:keep-all}
button,input,select{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
.hidden{display:none!important}
#app{max-width:480px;margin:0 auto;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.top{padding:calc(18px + env(safe-area-inset-top)) 22px 8px;display:flex;justify-content:space-between;align-items:center}
.logo{font-size:20px;font-weight:800;color:var(--pri);letter-spacing:-.5px}
.today{font-size:13px;color:var(--mut)}
main{flex:1;padding:6px 18px 96px}
.hero{background:linear-gradient(160deg,#f6c9cf,#eaa0ab);border-radius:26px;padding:24px 20px;text-align:center;color:#5a2530}
.hero .s{font-size:14px}.hero .n{font-size:76px;font-weight:800;line-height:1.05;margin:6px 0 2px}.hero .n small{font-size:26px;font-weight:700}
.hero .n.txt{font-size:34px;margin:14px 0 8px}
.hero .d{font-size:15px;font-weight:600}
.ring{margin-top:10px;font-size:13px;background:#ffffff66;border-radius:20px;display:inline-block;padding:4px 12px}
.cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
.c,.card{background:#fff;border-radius:18px;padding:14px;box-shadow:0 1px 4px #0000000d}
.c .k{font-size:12px;color:var(--mut)}.c .v{font-size:17px;font-weight:700;margin-top:4px}
.c.f{grid-column:1/3}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}
.btns{display:flex;gap:10px;margin-top:14px}
.b{flex:1;text-align:center;padding:14px 0;border-radius:16px;font-weight:700;font-size:15px}
.b1{background:var(--pri);color:#fff}.b2{background:#fff;color:var(--pri);border:1.5px solid #e6b3bb}
.b3{background:#f3ecea;color:var(--ink)}.bd{background:#c0392b;color:#fff}
.full{width:100%;flex:none;margin-top:14px}
.note{font-size:11px;color:#9b8885;text-align:center;line-height:1.6;margin-top:14px}
.muted{color:var(--mut);font-size:13px;margin:4px 0 8px}
.setup h2{font-size:18px}
.setup label{display:block;font-size:13px;color:var(--mut);margin-top:12px}
.setup input{display:block;width:100%;margin-top:6px;padding:12px;border:1.5px solid #ecd6d2;border-radius:12px;background:#fffdfc;font-size:16px;color:var(--ink)}
.tab{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;display:flex;border-top:1px solid var(--line);background:#fff;padding:8px 0 calc(12px + env(safe-area-inset-bottom))}
.tab button{flex:1;text-align:center;font-size:12px;color:#a9948f}.tab b{display:block;font-size:20px;margin-bottom:2px}
.tab .on{color:var(--pri);font-weight:700}
.mh{display:flex;justify-content:space-between;align-items:center;margin:4px 0 12px;font-size:18px;font-weight:800}
.mh button{color:var(--pri);font-size:26px;padding:0 12px}
.g{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.g .w{font-size:12px;color:#a9948f;padding-bottom:4px}.g .w.sun{color:#d36}
.g .x{height:44px;line-height:44px;border-radius:12px;font-size:14px;position:relative}
.g .x.p{background:var(--pd);color:#fff;font-weight:700}
.g .x.pp{border:2px dashed var(--pd);color:var(--pri);line-height:40px}
.g .x.fz{background:var(--fz)}.g .x.ov{background:var(--ov);color:#fff;font-weight:700}
.g .x.td{outline:2.5px solid var(--ink);outline-offset:-2.5px;font-weight:800}
.g .x.sl{box-shadow:0 0 0 3px #c4566a55}
.lg{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12px;margin:14px 2px;color:#6b5552}
.lg i{display:inline-block;width:14px;height:14px;border-radius:4px;vertical-align:-2px;margin-right:4px}
.lg i.dash{border:2px dashed var(--pd)}
.sel{background:#fff;border-radius:18px;padding:14px;box-shadow:0 1px 4px #0000000d}
.sel .t{font-weight:700;font-size:15px}
.sel .btns{margin-top:10px}.sel .b{padding:11px 0;font-size:14px}
.sub{font-size:11px;color:#a9948f;margin-top:2px}
.sec{font-size:12px;color:#a9948f;margin:16px 6px 6px;font-weight:700}
.grp{border-radius:16px;overflow:hidden;box-shadow:0 1px 4px #0000000d;background:#fff}
.row{background:#fff;display:flex;justify-content:space-between;align-items:center;padding:13px 14px;font-size:14px;border-bottom:1px solid #f6ebe8;width:100%;text-align:left}
.row:last-child{border-bottom:0}.r{color:var(--pri);font-weight:700}
.danger,.danger .r{color:#c0392b}
.st{display:flex;align-items:center;gap:8px}.st button{width:30px;height:30px;border-radius:50%;background:#f6dfe2;color:var(--pri);font-weight:800;font-size:16px}
.st b{min-width:38px;text-align:center}
.tg{width:46px;height:28px;border-radius:14px;background:#ddd;position:relative;flex:none;transition:.2s}
.tg:after{content:"";position:absolute;left:3px;top:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s}
.tg.on{background:var(--pri)}.tg.on:after{left:21px}
select{border:1.5px solid #ecd6d2;border-radius:10px;padding:6px 8px;background:#fff;color:var(--pri);font-weight:700}
.hrow{display:flex;justify-content:space-between;padding:11px 14px;font-size:13px;border-bottom:1px solid #f6ebe8}
.hrow:last-child{border-bottom:0}.hrow span:last-child{color:var(--mut)}
.modal{position:fixed;inset:0;background:#3a2e2c66;display:flex;align-items:flex-end;justify-content:center;z-index:10}
.sheet{background:#fff;width:100%;max-width:480px;border-radius:22px 22px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom));font-size:15px;line-height:1.6}
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:#3a2e2c;color:#fff;padding:10px 16px;border-radius:20px;font-size:13px;z-index:11;max-width:90%;text-align:center}
