:root{font-family:Pretendard Variable,Pretendard,SUIT,Noto Sans KR,system-ui,sans-serif;color:#17231d;background:#f7f8f5;font-synthesis:none}*{box-sizing:border-box}body{min-width:320px;margin:0;background:#f7f8f5}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #6d55ff;outline-offset:2px}h1,h2,p{margin:0}.auth-shell{display:grid;min-height:100vh;place-items:center;padding:22px}.auth-panel{width:min(100%,360px);padding:26px 22px;border-radius:22px;background:#fff;box-shadow:0 16px 40px #19302218}.auth-brand{color:#4b9b6e;font-size:13px;font-weight:800;letter-spacing:.02em}.auth-panel h1{margin-top:6px;font-size:25px;letter-spacing:-.05em}.auth-description{margin-top:6px;color:#637067;font-size:12px}.auth-panel form{display:grid;gap:12px;margin-top:24px}.auth-panel label{display:grid;gap:6px;color:#526159;font-size:12px;font-weight:700}.auth-message{color:#a64c49;font-size:12px}.auth-user-id{display:block;margin-top:18px;overflow-wrap:anywhere;color:#526159;font-size:12px}.auth-submit{width:100%;margin-top:4px}.auth-mode{width:100%;margin-top:14px;padding:8px;border:0;color:#4b9b6e;background:transparent;font-size:12px;font-weight:700}.app-shell{width:min(100%,360px);min-height:100vh;margin:0 auto;padding:18px 18px 94px;background:#f7f8f5}.desktop-dashboard{display:none}.topbar{display:flex;align-items:flex-start;justify-content:space-between;margin:0 0 12px}.topbar h1{margin-top:3px;font-size:22px;font-weight:600;letter-spacing:-.05em}.date-subtitle{margin-top:5px;color:#637067;font-size:12px}.topbar-action,.icon-button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:10px;color:#526159;background:transparent}.topbar-action:hover,.icon-button:hover{background:#e6f4e9}.icon-button.danger{color:#a3aaa5}.page{display:grid;gap:12px}.card-label,.section-heading span{color:#637067;font-size:11px;font-weight:700;letter-spacing:.03em}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:15px;font-weight:650;letter-spacing:-.03em}.todo-page{gap:9px}.date-switcher{display:flex;align-items:center;justify-content:space-between;min-height:28px}.date-inline{color:#637067;font-size:12px}.progress-card{padding:14px;border-radius:17px;background:#fff}.progress-line{display:flex;align-items:center;justify-content:space-between}.progress-line strong{font-size:25px;font-weight:600;letter-spacing:-.06em}.progress-bar{height:5px;margin-top:10px;overflow:hidden;border-radius:999px;background:#e5ebe6}.progress-bar span{display:block;height:100%;border-radius:inherit;background:#4b9b6e;transition:width .25s ease}.cheers{display:flex;align-items:center;gap:7px;min-height:37px;padding:8px 11px;border-radius:14px;color:#17231d;background:#e6f4e9;font-size:11px}.cheers svg{color:#4b9b6e}.cheers b{color:#17231d;font-size:12px;font-weight:600}.category-create-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:fit-content;min-height:31px;padding:0 9px;border:0;border-radius:10px;color:#337a54;background:#e6f4e9;font-size:12px;font-weight:700}.category-list,.todo-list{display:grid;gap:0}.category-heading{display:flex;align-items:center;justify-content:space-between;min-height:31px;margin-top:3px}.category-heading>div{display:flex;align-items:center;gap:7px}.category-heading h2{margin:0;color:#637067;font-size:12px;font-weight:600;letter-spacing:.04em}.category-heading>div>span:last-child{color:#929b95;font-size:11px}.category-dot{width:8px;height:8px;border-radius:50%}.todo-row{display:flex;align-items:center;gap:9px;min-height:38px;padding:3px 0}.todo-copy,.friend-copy{display:grid;flex:1;gap:1px;min-width:0}button.todo-copy{padding:6px 0;border:0;background:transparent;color:inherit;text-align:left}.todo-copy strong,.friend-copy strong{overflow:hidden;font-size:13px;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.todo-copy small,.friend-copy small,.profile-info small{overflow:hidden;color:#7c8780;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.todo-row.done .todo-copy strong{color:#a0aaa3;text-decoration:line-through}.check-button{display:grid;flex:0 0 auto;place-items:center;width:21px;height:21px;padding:0;border:1px solid #d2dbd4;border-radius:7px;color:transparent;background:transparent}.todo-row.done .check-button{border-color:#6d55ff;color:#fff;background:#6d55ff}.category-add{display:flex;align-items:center;gap:3px;min-height:32px}.category-add input{min-height:30px;padding:0;border:0;color:#17231d;background:transparent}.category-add input::placeholder{color:#8b968e}.category-add .icon-button{color:#4b9b6e}.workout-page{gap:10px}.goal-card{padding:14px;border-radius:15px;background:#e6f4e9}.goal-card input{display:block;width:100%;min-height:28px;margin-top:4px;padding:0;border:0;color:#17231d;background:transparent;font-size:16px;font-weight:700}.calendar-card,.chart-card,.friend-record{background:#fff}.calendar-card{padding:14px 12px 12px;border-radius:20px}.calendar-head{display:flex;align-items:center;justify-content:space-between;min-height:30px;margin-bottom:10px}.calendar-head strong{font-size:16px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday-row{margin-bottom:4px;color:#a59baa;font-size:10px;text-align:center}.day-cell{position:relative;min-height:35px;padding:2px;border:0;border-radius:10px;color:#4d5961;background:transparent;font-size:12px}.day-cell.selected,.day-cell.stamped{color:#6d55ff;background:#eeeaff}.day-cell.stamped>span:first-child{opacity:.25}.day-stamp{position:absolute;top:1px;right:1px;bottom:1px;left:1px;z-index:1;display:grid;place-items:center;margin:0;border:2px solid #4b9b6e;border-radius:9px;color:#fff;background:#4b9b6e;box-shadow:0 2px 5px #34734b33}.day-cell.stamp-pulse .day-stamp{animation:stamp-pop .52s cubic-bezier(.2,1.5,.4,1)}@keyframes stamp-pop{0%{opacity:.15;transform:scale(.2) rotate(-15deg)}58%{opacity:1;transform:scale(1.35) rotate(3deg)}78%{transform:scale(.9) rotate(-1deg)}to{transform:scale(1) rotate(0)}}.chart-card{padding:14px;border-radius:18px}.empty-chart{margin:17px 0 3px;color:#8b968e;font-size:12px}.metric-chart svg{display:block;width:100%;height:122px;margin-top:10px;overflow:visible;color:#6d55ff;background:linear-gradient(#edf1ee 1px,transparent 1px) 0 0 / 100% 33%}.metric-chart circle{fill:#fff;stroke:currentColor;stroke-width:1.7;vector-effect:non-scaling-stroke}.chart-labels{display:flex;justify-content:space-between;gap:4px;margin-top:2px}.chart-labels span{display:grid;gap:3px;min-width:0;color:#849087;font-size:9px;text-align:center}.chart-labels b{color:#3d4b42;font-size:11px}.my-page{gap:13px}.join-request-card{display:grid;gap:10px;padding:14px;border-radius:18px;background:#fff}.join-request-list{display:grid;gap:8px}.join-request-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid #e2e8e2}.join-request-row>span{display:grid;min-width:0;gap:2px}.join-request-row strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.join-request-row small{color:#7c8780;font-size:10px}.profile-card{display:flex;align-items:center;gap:12px;padding:16px;background:#fff}.my-page>.profile-card{min-height:103px}.profile-avatar{position:relative;display:grid;flex:0 0 auto;place-items:center;width:64px;height:64px;border-radius:21px;color:#fff;background:#f2a65a;font-size:25px;font-weight:800}.avatar-photo{width:100%;height:100%;min-width:0;object-fit:contain;border-radius:inherit}.avatar-message{position:absolute;top:100%;left:0;width:240px;margin-top:7px;color:#526159;font-size:11px;font-weight:400}.profile-card:has(.avatar-message:not(:empty)){padding-bottom:40px}.profile-avatar button{position:absolute;right:-5px;bottom:-5px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:2px solid #fff;border-radius:50%;color:#fff;background:#6d55ff}.profile-info{display:grid;flex:1;gap:4px;min-width:0}.profile-info input{min-height:27px;padding:0;border:0;color:#17231d;background:transparent;font-size:20px;font-weight:750}.friend-list{display:grid;gap:0}.friend-row{display:flex;align-items:center;gap:11px;width:100%;min-height:65px;padding:10px 0;border:0;border-bottom:1px solid #e2e8e2;color:#17231d;background:transparent;text-align:left}.friend-row>svg{color:#9aa59e}.friend-avatar{display:grid;flex:0 0 auto;place-items:center;width:40px;height:40px;border-radius:50%;color:#fff;background:#f2a65a;font-size:14px;font-weight:800}.friend-avatar.large{width:56px;height:56px;font-size:19px}.friend-copy em{color:#4b9b6e;font-size:10px;font-style:normal}.friend-heading{display:flex;align-items:center;gap:7px}.friend-heading h2{font-size:20px;font-weight:600;letter-spacing:-.04em}.friend-heading small,.readonly-note,.friend-record .calendar-head small{color:#637067;font-size:11px}.friend-page{gap:11px;padding-bottom:69px}.friend-page>.profile-card{padding:13px 0 14px;border-bottom:1px solid #e2e8e2;background:transparent}.friend-tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:12px;background:#e6f4e9}.friend-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;border:0;border-radius:9px;color:#637067;background:transparent;font-size:12px;font-weight:700}.friend-tabs button.active{color:#17231d;background:#fff}.friend-record{display:grid;gap:7px;padding:14px;border-radius:18px}.friend-record .todo-row{min-height:35px}.readonly-calendar>span{position:relative;display:grid;place-items:center;min-height:31px;border-radius:9px;color:#637067;font-size:11px}.readonly-calendar>span.stamped{color:#6d55ff;background:#eeeaff}.readonly-calendar>span.stamped>span:first-child{opacity:.25}.reaction-snackbar{position:fixed;bottom:69px;left:50%;z-index:2;display:flex;justify-content:center;width:min(calc(100% - 36px),324px);padding:10px 12px;border:1px solid #e2e8e2;border-radius:16px;background:#fffffff5;box-shadow:0 10px 24px #17231d1c;transform:translate(-50%);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.emoji-options{display:flex;justify-content:center;gap:7px}.emoji-options button{display:grid;place-items:center;width:35px;height:32px;padding:0;border:0;border-radius:10px;background:transparent;font-size:17px}.emoji-options button.chosen{background:#e6f4e9;transform:translateY(-1px)}.reaction-picker{min-height:44px;padding:5px;border-radius:14px;background:#e6f4e9}.reaction-picker.reaction-pop button.chosen{animation:reaction-pop .46s cubic-bezier(.2,1.55,.35,1)}@keyframes reaction-pop{0%{transform:scale(.7) rotate(-10deg)}58%{transform:scale(1.45) rotate(5deg)}to{transform:scale(1) rotate(0)}}input,textarea{width:100%;border:1px solid #dbe3dd;border-radius:12px;color:#17231d;background:transparent}input{min-height:40px;padding:0 11px}textarea{min-height:88px;padding:11px;resize:vertical}input::placeholder,textarea::placeholder{color:#8b968e}input:focus,textarea:focus{border-color:#6d55ff;box-shadow:0 0 0 3px #eeeaff;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3;display:grid;place-items:end center;padding:12px;background:#17231d47}.edit-modal{display:grid;gap:10px;width:min(100%,360px);padding:17px;border-radius:20px 20px 12px 12px;background:#fff;box-shadow:0 18px 50px #17231d33}.modal-head,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.modal-head h2{font-size:17px}.modal-actions>span,.metric-row{display:flex;gap:7px}.modal-actions{justify-content:space-between}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 11px;border:0;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap}.primary-button{color:#fff;background:#6d55ff}.secondary-button{color:#6d55ff;background:#eeeaff}.text-danger{padding:7px 0;border:0;color:#d66b68;background:transparent;font-size:12px;font-weight:700}.color-picker{display:flex;align-items:center;justify-content:space-between;color:#637067;font-size:13px}.color-picker input{width:34px;min-height:28px;padding:2px;border:0}.workout-dialog .modal-head h2{margin-top:3px}.diary-stamp{display:grid;place-content:center;justify-items:center;width:78px;height:78px;margin:0 auto 2px;border:2px solid #cbd2ce;border-radius:18px;color:#a9b0ad;background:#f2f4f2}.diary-stamp span{margin-top:3px;font-size:11px;font-weight:700}.diary-stamp.completed{border-color:#4b9b6e;color:#fff;background:#4b9b6e;box-shadow:0 4px 10px #34734b33}.bottom-nav{position:fixed;right:auto;bottom:0;left:50%;z-index:2;display:flex;justify-content:center;width:min(100%,360px);padding:8px 14px calc(12px + env(safe-area-inset-bottom));border:1px solid #e2e8e2;border-bottom:0;border-radius:20px 20px 0 0;background:#fffffff0;transform:translate(-50%);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.nav-button{display:grid;justify-items:center;gap:2px;min-width:84px;padding:4px 14px;border:0;border-radius:11px;color:#a0aaa3;background:transparent;font-size:10px;font-weight:700}.nav-button.active{color:#4b9b6e}@media(min-width:700px){body{background:#eaf0eb}.auth-panel{width:min(100%,460px);padding:36px}.app-shell{width:min(calc(100% - 64px),1440px);min-height:calc(100vh - 48px);margin:24px auto;padding:34px;border-radius:28px;box-shadow:0 16px 40px #19302222}.mobile-topbar,.mobile-page,.bottom-nav{display:none}.desktop-dashboard{display:grid;gap:26px}.desktop-dashboard-head{display:flex;align-items:flex-start;justify-content:space-between}.desktop-dashboard-head h1{margin-top:4px;font-size:30px;letter-spacing:-.05em}.desktop-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}.desktop-dashboard-grid>section{display:grid;gap:13px;min-width:0}.desktop-dashboard-grid>section:last-child{grid-column:span 2}.desktop-dashboard-grid>section>h2{font-size:15px;letter-spacing:-.03em}.desktop-dashboard-grid .page{max-width:none}.progress-card,.calendar-card,.chart-card,.friend-record,.join-request-card{padding:20px}.desktop-dashboard .friend-row{cursor:default}}@media(min-width:1200px){.desktop-dashboard-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.95fr)}.desktop-dashboard-grid>section:last-child{grid-column:auto}}.drag-handle{display:grid;flex:0 0 auto;place-items:center;width:27px;height:30px;padding:0;border:0;border-radius:8px;color:#a0aaa3;background:transparent;touch-action:none;cursor:grab}.drag-handle:active{cursor:grabbing;color:#4b9b6e;background:#e6f4e9}.todo-row.dragging{opacity:.45}.todo-row.drop-target{box-shadow:inset 0 2px #4b9b6e}
