@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#24332d;--muted:#7a817d;--green:#466a38;--lime:#caf278;--line:#e7ebe7;--bg:#f7f8f6;--purple:#8e77cc;--radius:22px;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:16px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button{color:inherit}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8767ca;outline-offset:4px}svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2,h3,.metric,.brand{font-family:'Manrope',system-ui,sans-serif}h1{font-size:34px;letter-spacing:-1.25px;line-height:1.25;font-weight:800}h2{font-size:20px;letter-spacing:-.6px;font-weight:800}h3{font-size:17px;font-weight:750;letter-spacing:-.35px}small{font-size:13px}.sidebar{position:fixed;inset:0 auto 0 0;width:235px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:35px 24px 22px;z-index:20}.brand{display:flex;gap:12px;align-items:center;font-size:38px;font-weight:800;letter-spacing:-2px;margin:0 12px 57px}.brand-dot{font-size:12px;margin-left:-7px;align-self:flex-start;margin-top:8px;letter-spacing:0}.brand-mark{background:var(--lime);width:38px;height:42px;border-radius:13px;line-height:41px;font-size:42px;position:relative;text-align:center;letter-spacing:-4px;padding-right:4px}.brand-mark span{position:absolute;background:var(--green);width:12px;height:8px;border-radius:12px 0 12px 0;right:-3px;top:-3px;transform:rotate(-25deg)}.sidebar-label{font-size:12px;letter-spacing:1.7px;color:#8e958e;font-weight:700;padding:0 15px;margin-bottom:17px}nav button{display:flex;align-items:center;gap:14px;width:100%;padding:14px 16px;font-weight:550;font-size:15px;margin-bottom:7px;border-radius:12px;color:#7a827c;text-align:left}nav button.active{background:#edf5e6;color:#416a32;font-weight:700}nav button:hover{background:#f2f6ee}nav button svg{width:21px;height:21px}.nav-count{margin-left:auto;background:var(--lime);color:#365028;border-radius:6px;padding:1px 6px;font-size:12px}.sidebar-bottom{margin-top:auto}.little-message{background:#f7f9f1;border-radius:16px;padding:20px 17px;margin-bottom:24px}.little-leaf{display:block;color:#839e58;font-size:27px;margin-bottom:13px}.little-message strong{font-size:15px;line-height:1.6}.little-message p{color:#91978d;font-size:12px;line-height:1.7;margin-top:9px}.profile-link{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:0}.avatar{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:40px;height:40px;background:#e9dfcb;border:3px solid white;border-radius:50%;font-weight:750;font-size:12px;color:#65523c}.profile-link strong{font-size:13px;display:block}.profile-link small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.settings-icon{margin-left:auto;color:#8d948d}.settings-icon svg{width:17px}.app-shell{margin-left:235px}.topbar{height:92px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-size:13px;color:#8e958e}.breadcrumb span{margin:0 15px;color:#b4bab3}.breadcrumb strong{color:var(--ink);font-weight:550}.topbar-right{display:flex;align-items:center;gap:22px}.topbar-right>span{font-size:13px;color:#80877e}.icon-button{width:40px;height:40px;display:grid;place-items:center;position:relative}.icon-button i{position:absolute;top:7px;right:9px;width:5px;height:5px;background:#a4bc6c;border:1px solid var(--bg);border-radius:50%}.mobile-brand,.mobile-nav{display:none}main{max-width:1515px;margin:auto;padding:35px 42px 12px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow{font-size:12px;letter-spacing:1.6px;font-weight:700;color:#8d9489;margin-bottom:9px}.subheading{font-size:14px;color:#8a9188;margin-top:10px;line-height:1.6}.badge{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;background:#f0f3eb;color:#71825f;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap}.demo-switch{display:flex;align-items:center;gap:12px}.text-button{font-size:13px;font-weight:650;color:#5a7549;padding:5px 0;white-space:nowrap}.text-button:hover{text-decoration:underline}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(300px,1fr);gap:24px}.daily-card{border:1px solid #e1edce;background:#edf7de;border-radius:var(--radius);padding:24px 25px;position:relative;overflow:hidden}.daily-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:600}.daily-top .text-button{font-size:12px;color:#71815f}.daily-main{display:flex;align-items:center;gap:20px;margin-top:12px}.daily-distance{font-family:'Manrope',sans-serif;font-size:49px;letter-spacing:-2px;font-weight:800;line-height:1.2}.daily-distance span{font-size:19px;color:#899b74;letter-spacing:-.5px;font-weight:500}.daily-caption{font-size:12px;color:#789267;margin-top:6px}.progress{height:7px;border-radius:10px;background:#dce7cf;overflow:hidden;margin-top:16px}.progress>span{display:block;height:100%;background:#82a84e;border-radius:10px;transition:width .6s}.daily-burst{width:92px;height:92px;display:grid;place-items:center;margin-left:auto;border-radius:50%;position:relative;background:#e0eecb}.daily-burst:before{content:'';position:absolute;inset:-9px;border:1px dashed #bbd398;border-radius:50%}.daily-burst svg{width:40px;height:40px;stroke:#587441}.daily-percent{position:absolute;right:-6px;bottom:-4px;background:#fff;border-radius:20px;padding:4px 8px;font-size:12px;font-weight:700}.run-actions{display:flex;align-items:center;gap:12px;margin-top:19px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;font-size:14px;font-weight:650;border-radius:12px;background:var(--ink);color:#fff;min-height:45px}.button svg{width:17px;height:17px}.button:hover{filter:brightness(.93)}.button.lime{background:var(--lime);color:#263b21}.button.light{background:#f0f3ec;color:#4f6843}.button.outline{border:1px solid #dfe5da;background:transparent;color:#5d7050}.button.danger{background:#fce9e7;color:#9d4b44}.run-note{font-size:12px;color:#859278}.route-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin-top:22px;overflow:hidden}.card-heading{padding:20px 22px;display:flex;justify-content:space-between;align-items:center}.card-heading h2{font-size:15px;letter-spacing:-.3px}.card-heading .text-button{font-size:12px}.map-view{height:220px;position:relative;background:#e9ede5;overflow:hidden}.map-view>svg{width:100%;height:100%;stroke:none;fill:none}.map-view .route-line{stroke:#8673d6;stroke-width:7;stroke-linecap:round;stroke-linejoin:round;fill:none;filter:drop-shadow(0 2px 2px #8d78ba55)}.map-label{position:absolute;bottom:10px;right:12px;font-size:12px;background:#ffffffe6;padding:4px 8px;border-radius:5px;color:#6d7666}.map-bubble{position:absolute;left:18px;top:15px;border-radius:7px;background:#fffffff0;display:flex;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:650;color:#68775e}.map-bubble svg{width:12px;height:12px}.route-stats{display:grid;grid-template-columns:repeat(3,1fr);padding:17px 23px}.route-stats>div{border-right:1px solid var(--line);padding-left:22px}.route-stats>div:first-child{padding-left:0}.route-stats>div:last-child{border:0}.route-stats strong{font-size:17px;font-weight:650}.route-stats small{display:block;color:#969c93;font-size:12px;margin-top:4px}.pet-card{border:1px solid #e5dcf4;border-radius:var(--radius);background:#eee7fa;padding:24px 24px 20px;position:relative;display:flex;flex-direction:column;overflow:hidden}.pet-header{display:flex;justify-content:space-between;align-items:center}.pet-header>span{font-size:12px;color:#8a78a7}.level-pill{background:#e2d7f3;border:1px solid #d9cdec;border-radius:7px;padding:5px 8px;font-size:12px;font-weight:650;color:#8a6cae}.pet-card h2{margin-top:16px;font-size:22px}.pet-card h2 span{color:#8e74bb}.pet-sub{font-size:12px;color:#9b89b6;margin-top:7px}.pet-scene{flex:1;min-height:210px;position:relative;display:flex;align-items:center;justify-content:center}.pet-scene:before{content:'';position:absolute;width:215px;height:215px;top:19px;background:#e4d8f6;border:1px solid #dccdf0;border-radius:50%}.pet-image{position:relative;width:min(100%,290px);height:245px;object-fit:contain;animation:bob 4.5s ease-in-out infinite;z-index:1}.pet-image.fed{animation:happy .6s ease-in-out 2}.pet-speech{position:absolute;bottom:7px;background:#fffafee8;padding:8px 13px;border-radius:12px;color:#8b76a6;font-size:12px;z-index:2;white-space:nowrap}.pet-states{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px;padding-top:14px;border-top:1px solid #ddcfec}.pet-state{text-align:center}.state-icon{width:29px;height:29px;display:grid;place-items:center;margin:0 auto 8px;border-radius:50%}.state-icon svg{width:16px;height:16px}.fire{color:#c98755;background:#fae3d2}.water{color:#669dc4;background:#daedf9}.air{color:#a18bc7;background:#e3daf5}.earth{color:#83a26b;background:#deebd3}.pet-state strong{font-size:12px;display:block;color:#746184}.pet-state small{font-size:12px;color:#9e8cb1;display:block;margin-top:4px;line-height:1.4}.feed-row{display:flex;align-items:center;gap:12px;margin-top:20px}.feed-row .button{flex:1;background:#ffffffb8;border:1px solid #e0d1ee;color:#7c619e;font-size:12px;padding:11px;min-height:41px}.seed-count{font-size:12px;color:#8e77a7;white-space:nowrap}.seed-count span{font-size:15px;color:#96ac6a}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:29px 0 17px}.section-heading h2{font-size:18px}.section-heading .text-button{font-size:12px}.challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.challenge-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;text-align:left;width:100%;transition:transform .2s,box-shadow .2s}.challenge-card:hover{transform:translateY(-3px);box-shadow:0 7px 20px #33452808}.challenge-top{display:flex;align-items:center;gap:9px;margin-bottom:12px}.challenge-icon{background:#f5f2e4;color:#9e985c;border-radius:11px;width:38px;height:38px;display:grid;place-items:center;flex-shrink:0}.challenge-icon.violet{background:#eee9f6;color:#9580b8}.challenge-icon.green{background:#edf5e3;color:#8fa46b}.challenge-icon svg{width:20px;height:20px}.challenge-top small{font-size:12px;color:#92988b}.challenge-card h3{font-size:14px;margin-bottom:6px}.challenge-card p{color:#9ba191;font-size:12px;line-height:1.5}.challenge-footer{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px;color:#849078}.challenge-footer strong{color:#667854;font-size:12px}.challenge-card .progress{height:5px;margin-top:11px;background:#f0f2ec}.challenge-card .progress>span{background:#b6cd93}.mini-avatars{display:flex}.mini-avatars .avatar{width:21px;height:21px;border-width:2px;font-size:7px;margin-left:-6px}.mini-avatars .avatar:first-child{margin-left:0}.app-footer{max-width:1515px;margin:0 auto;display:flex;justify-content:space-between;padding:24px 42px 28px;color:#a6ac9f;font-size:12px}.app-footer button{font-size:12px;padding:0;color:#8e9984}.app-footer button span{margin-left:7px}@keyframes bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}@keyframes happy{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-22px) rotate(-8deg)}70%{transform:translateY(-15px) rotate(8deg)}}
/* Other spaces */
.page-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tabs{display:flex;gap:6px;background:#eef1e9;padding:5px;border-radius:11px;width:max-content;margin-bottom:24px}.tabs button{padding:9px 16px;color:#86907e;font-size:13px;border-radius:8px;font-weight:600}.tabs button.selected{background:#fff;color:#3e5932;box-shadow:0 2px 4px #29372508}.challenge-page .challenge-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.challenge-page .challenge-card{padding:25px;min-height:205px}.challenge-page .challenge-card h3{font-size:19px;margin-top:20px}.challenge-page .challenge-card p{font-size:13px}.challenge-page .challenge-top small{font-size:12px}.challenge-page .challenge-footer{font-size:12px;margin-top:25px}.challenge-page .challenge-footer strong{font-size:13px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px}.content-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:24px;margin-top:24px}.friend-list{display:flex;flex-direction:column;gap:0}.friend-row{display:flex;align-items:center;gap:13px;padding:18px 0;border-bottom:1px solid var(--line)}.friend-row:last-child{border-bottom:0}.friend-row>div{flex:1}.friend-row strong{display:block;font-size:14px}.friend-row small{color:#939d8c;display:block;margin-top:5px}.friend-row .button{font-size:12px;padding:9px 14px;min-height:36px}.rank-num{font-size:13px;color:#9da78f;width:20px}.rank-km{font-size:18px;font-weight:700;margin-left:auto;white-space:nowrap}.rank-km small{display:inline;font-size:12px;margin-left:4px}.info-note{font-size:12px;color:#8a927f;line-height:1.7;margin-top:18px}.friends-banner{padding:25px;border-radius:20px;background:#e7eddc;margin-top:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.friends-banner h3{margin-bottom:7px}.friends-banner p{color:#829271;font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.stat-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:18px}.stat-card>span{font-size:12px;color:#8c9782}.stat-card strong{display:block;font-family:'Manrope',sans-serif;font-size:33px;margin-top:12px;letter-spacing:-1px}.stat-card strong small{font-size:14px;font-weight:450;color:#9caa8e}.stat-card p{font-size:12px;margin-top:8px;color:#839b66}.chart-header{display:flex;align-items:center;justify-content:space-between;gap:15px}.chart-header select{font-size:12px}.chart{height:235px;display:flex;gap:10px;align-items:end;padding:30px 0 28px;position:relative;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0,transparent 48px,#f2f4ee 49px,#f2f4ee 50px)}.chart-column{flex:1;display:flex;align-items:center;justify-content:end;flex-direction:column;height:100%;position:relative;min-width:0}.chart-bar{width:min(100%,40px);min-height:2px;border-radius:6px 6px 0 0;background:#d9e7c7;position:relative}.chart-bar.today{background:#a7c77c}.chart-column small{position:absolute;bottom:-22px;font-size:12px;color:#929e86}.chart-value{font-size:12px;color:#7b8d69;margin-bottom:7px}.activity-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:20px}.activity-table th{text-align:left;color:#99a18f;font-size:12px;font-weight:500;padding:12px}.activity-table td{padding:17px 12px;border-top:1px solid var(--line)}.activity-table tr[data-id]{cursor:pointer}.activity-table tr[data-id]:hover{background:#f8faf5}.activity-table .activity-name{font-weight:650;display:flex;align-items:center;gap:10px}.activity-table .activity-name svg{color:#8aa36e;width:18px}.empty-state{text-align:center;padding:45px 20px}.empty-state svg{width:40px;height:40px;margin:auto;color:#a0b28a}.empty-state h3{margin:16px 0 10px}.empty-state p{color:#929d85;font-size:14px;line-height:1.7}.compare-row{display:flex;align-items:center;gap:12px;margin:22px 0}.compare-row>div{flex:1}.compare-row strong{font-size:12px}.compare-row .progress{margin-top:9px;height:9px;background:#f2f3ef}.compare-row .progress>span{background:#c2b0e1}.compare-row.self .progress>span{background:#accb85}.compare-row>span{font-size:12px;color:#93a080}.legend{display:flex;gap:20px;color:#8a947e;font-size:12px;margin-top:17px}.legend span:before{content:'';display:inline-block;width:7px;height:7px;background:#accb85;border-radius:50%;margin-right:6px}.legend span+span:before{background:#c2b0e1}.field{display:flex;flex-direction:column;gap:8px;margin:19px 0}.field label{font-size:13px;font-weight:600}.field small{color:#919b85;line-height:1.6}.field input,.field select,select{padding:12px 14px;border:1px solid #dee5d7;background:#fcfdf9;border-radius:10px;width:100%;color:#526448;min-height:45px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2377836b' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:37px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-summary{display:flex;align-items:center;gap:20px;margin-bottom:25px}.profile-summary .avatar{width:70px;height:70px;font-size:19px}.profile-summary h2{font-size:22px}.profile-summary p{margin-top:7px;font-size:13px;color:#8d987f}.profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.reward-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}.reward-item{background:#f5f7ef;border:1px solid #eaf0de;border-radius:16px;padding:20px 12px;text-align:center}.reward-item svg{width:32px;height:32px;margin:0 auto 12px;color:#9ab566}.reward-item.locked{opacity:.5;filter:grayscale(1)}.reward-item strong{display:block;font-size:12px}.reward-item small{display:block;margin-top:7px;font-size:12px;color:#9ca68c}.notice{padding:15px;background:#f5f7ef;border-radius:12px;font-size:12px;line-height:1.7;color:#81926e;margin-top:15px}.notice.purple{background:#f3eef9;color:#9580ac}.modal-shade{position:fixed;inset:0;background:#1a2e244d;backdrop-filter:blur(5px);z-index:60;display:flex;align-items:center;justify-content:center;padding:25px}.modal{width:520px;max-width:100%;max-height:90dvh;overflow-y:auto;background:white;border-radius:24px;padding:30px;box-shadow:0 20px 80px #172e2333}.modal.wide{width:700px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.modal-head h2{font-size:23px}.close-button{width:34px;height:34px;border-radius:50%;background:#f4f6ef;display:grid;place-items:center;flex-shrink:0}.close-button svg{width:17px;height:17px}.modal-description{font-size:14px;color:#8f9984;line-height:1.8}.modal-actions{display:flex;gap:10px;margin-top:25px;justify-content:flex-end;flex-wrap:wrap}.modal .button{font-size:13px}.modal .route-card{margin-top:20px}.inline-error{font-size:12px;color:#ac5e50;margin-top:10px;line-height:1.6}.run-status{text-align:center;padding:10px;color:#8da477;font-size:13px}.run-metric{text-align:center;font-family:'Manrope',sans-serif;font-size:76px;font-weight:800;letter-spacing:-4px;margin:18px 0 0}.run-metric small{font-size:22px;font-weight:500;letter-spacing:0;color:#93a27e}.run-details{display:flex;justify-content:center;gap:50px;margin:18px 0 26px}.run-details strong{display:block;font-size:23px;text-align:center}.run-details small{color:#99a48b;display:block;text-align:center;margin-top:7px}.run-controls{display:flex;justify-content:center;gap:15px;margin-top:24px}.live-map{height:230px;border-radius:15px;position:relative;background:#edf2e8;overflow:hidden}.tile{position:absolute;width:256px;height:256px;max-width:none}.live-map .gps-layer{position:absolute;inset:0;pointer-events:none;width:100%;height:100%;stroke:none}.map-attribution{position:absolute;bottom:0;right:0;background:#ffffffd9;padding:2px 5px;font-size:12px;color:#53664b;z-index:3}.gps-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font-size:13px;color:#8d9f7b;text-align:center;padding:20px;line-height:1.7}.map-zoom{position:absolute;top:10px;right:10px;z-index:5;display:flex;flex-direction:column;gap:3px}.map-zoom button{background:#fff;width:30px;height:30px;font-size:20px;border-radius:6px;box-shadow:0 1px 5px #0001}.copy-link{padding:12px;background:#f4f7ed;border:1px solid #e0e8d5;border-radius:10px;font-size:12px;overflow-wrap:anywhere;line-height:1.6;margin-top:15px}.check-row{display:flex;gap:10px;align-items:start;font-size:12px;color:#8a957d;line-height:1.7;margin:15px 0}.check-row input{accent-color:#779a4f;margin-top:4px;width:16px;height:16px}.run-persist{display:flex;align-items:center;justify-content:space-between;background:#dfeccf;border:1px solid #ccddb8;padding:14px 20px;border-radius:14px;margin-bottom:22px;font-size:13px}.run-persist button{font-weight:700}.care-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:20px}.care-item{background:#fafbf7;border:1px solid #eef0e8;padding:16px;border-radius:14px}.care-item .state-icon{margin:0 0 12px}.care-item strong{font-size:14px}.care-item p{font-size:12px;color:#94a087;line-height:1.7;margin-top:8px}.progress-detail{font-size:12px;color:#94a087;margin-top:12px;line-height:1.7}.toast-show{opacity:1!important;transform:translate(-50%,0)!important}#toast{position:fixed;bottom:28px;left:calc(50% + 118px);transform:translate(-50%,15px);border:1px solid #40563b;background:#293e2af5;color:white;padding:13px 20px;border-radius:12px;z-index:100;opacity:0;transition:.3s;pointer-events:none;font-size:13px;box-shadow:0 4px 30px #21391c22;max-width:calc(100vw - 35px);width:max-content}.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(min-width:1650px){main{padding-top:45px}.dashboard-grid{gap:28px}.map-view{height:285px}.daily-card{padding:28px}.pet-scene{min-height:290px}.pet-image{width:340px;height:290px}.pet-scene:before{width:260px;height:260px;top:25px}.challenge-card{padding:23px}.pet-card h2{font-size:26px}.pet-state strong{font-size:12px}.pet-state small{font-size:12px}}
@media(max-width:1190px){.sidebar{width:195px;padding:30px 17px 20px}.brand{margin-left:8px}.app-shell{margin-left:195px}.topbar{padding:0 28px}main{padding:28px 28px 10px}.app-footer{padding:24px 28px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:18px}.daily-card{padding:21px}.daily-distance{font-size:43px}.pet-card{padding:21px 17px 18px}.pet-image{width:245px;height:235px}.pet-states{gap:1px}.daily-burst{width:76px;height:76px}.challenge-card{padding:16px}.topbar-right{gap:15px}#toast{left:calc(50% + 97px)}.challenge-page .challenge-grid{grid-template-columns:1fr 1fr}.page-heading{align-items:flex-start}.demo-switch{flex-direction:column;gap:7px;align-items:flex-end}.run-note{display:none}.page-heading h1{font-size:30px}}
@media(max-width:970px) and (min-width:761px){.sidebar{width:83px;padding:30px 12px}.brand{font-size:0;margin:0 5px 50px;gap:0}.brand-dot,.brand>span.brand-dot{display:none}.brand-mark{font-size:40px}.sidebar-label,.sidebar nav button>span,.sidebar .little-message,.profile-link>span:not(.avatar){display:none}.sidebar nav button{justify-content:center;padding:15px}.sidebar-bottom .profile-link{justify-content:center}.app-shell{margin-left:83px}.topbar{padding:0 24px}main{padding:28px 24px 10px}.dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(270px,1fr)}.daily-distance{font-size:38px}.daily-burst{width:65px;height:65px}.daily-distance span{font-size:16px}.daily-burst svg{width:30px}.pet-card h2{font-size:20px}.challenge-grid{gap:10px}.challenge-card h3{font-size:13px}.challenge-footer strong{font-size:12px}.pet-scene{min-height:190px}.pet-image{height:220px}#toast{left:calc(50% + 42px)}}
@media(max-width:760px){.sidebar{display:none}.app-shell{margin:0}.topbar{height:75px;padding:0 22px;background:#fff}.breadcrumb,#header-date{display:none}.mobile-brand{display:block;font-family:'Manrope',sans-serif;font-size:30px;font-weight:800;letter-spacing:-1.5px}.mobile-brand span{color:#a1bb70;margin-left:5px;font-size:20px}.topbar-right{gap:8px}.topbar .avatar{width:36px;height:36px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:8px 14px calc(7px + env(safe-area-inset-bottom));background:#fffffff7;backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:45;justify-content:space-between}.mobile-nav button{flex-direction:column;gap:5px;padding:7px 5px;margin:0;font-size:12px;align-items:center;justify-content:center;flex:1;color:#9aa28f;border-radius:10px}.mobile-nav button.active{background:#f0f6e8;color:#55783c}.mobile-nav .nav-count{display:none}main{padding:27px 20px 10px}.page-heading{gap:10px;margin-bottom:22px}.page-heading h1{font-size:27px;letter-spacing:-1px}.page-heading .eyebrow{font-size:12px;letter-spacing:1.3px}.subheading{font-size:12px;max-width:250px;line-height:1.7;margin-top:8px}.demo-switch{gap:6px}.demo-switch .badge{font-size:12px;padding:6px}.demo-switch .text-button{font-size:12px}.dashboard-grid{display:flex;flex-direction:column;gap:20px}.daily-card{padding:23px}.daily-distance{font-size:48px}.daily-distance span{font-size:19px}.daily-burst{width:76px;height:76px;margin-right:5px}.daily-caption{font-size:12px}.daily-top{font-size:13px}.daily-top .text-button{font-size:12px}.run-note{display:block;font-size:12px}.run-actions .button{font-size:13px;min-width:175px}.route-card{margin-top:20px}.map-view{height:225px}.card-heading{padding:18px 20px}.route-stats{padding:18px 20px}.route-stats strong{font-size:17px}.route-stats small{font-size:12px}.pet-card{padding:24px;min-height:465px}.pet-card h2{font-size:24px}.pet-card .pet-sub{font-size:13px}.pet-scene{height:240px;min-height:240px}.pet-image{width:300px;height:260px}.pet-scene:before{width:230px;height:230px;top:10px}.pet-speech{font-size:12px;bottom:8px}.pet-state strong{font-size:12px}.pet-state small{font-size:12px}.pet-states{margin-top:12px;padding-top:17px}.feed-row{margin-top:22px}.feed-row .button{font-size:13px}.seed-count{font-size:12px}.challenge-grid{display:flex;overflow-x:auto;gap:12px;padding:3px 1px 10px;scroll-snap-type:x mandatory}.challenge-card{min-width:250px;padding:21px;scroll-snap-align:start}.challenge-card h3{font-size:15px}.challenge-card p{font-size:12px}.challenge-footer{font-size:12px}.challenge-footer strong{font-size:12px}.section-heading{margin-top:26px}.section-heading h2{font-size:18px}.app-footer{padding:20px 21px 110px;gap:15px;font-size:12px}.app-footer button{font-size:12px}.page-tools .button{padding:11px 15px;font-size:12px}.challenge-page .page-heading,.friends-page .page-heading,.history-page .page-heading{flex-direction:column;align-items:stretch;gap:17px}.page-tools{justify-content:space-between}.challenge-page .challenge-grid{display:grid;grid-template-columns:1fr;overflow:visible}.challenge-page .challenge-card{min-width:0;min-height:180px;padding:23px}.challenge-page .challenge-card h3{margin-top:0;font-size:19px}.tabs{width:100%;justify-content:space-between}.tabs button{flex:1;padding:9px 10px;font-size:12px}.content-grid{grid-template-columns:1fr;gap:20px}.panel{padding:22px}.friends-banner{flex-direction:column;align-items:flex-start;padding:23px}.stats-grid{gap:9px}.stat-card{padding:18px 12px;border-radius:14px}.stat-card>span{font-size:12px}.stat-card strong{font-size:25px;letter-spacing:-.5px}.stat-card strong small{font-size:12px}.stat-card p{font-size:12px;line-height:1.6}.chart{gap:8px;height:220px}.chart-value{font-size:12px}.chart-column small{font-size:12px}.chart-header h2{font-size:17px}.chart-header select{font-size:12px;max-width:140px;padding:10px}.activity-table th,.activity-table td{padding:14px 5px;font-size:12px}.activity-table th:nth-child(3),.activity-table td:nth-child(3){display:none}.activity-table .activity-name{gap:5px}.activity-table .activity-name svg{width:14px}.friend-row .button{padding:8px 10px;font-size:12px}.modal-shade{padding:15px;align-items:center}.modal{border-radius:22px;padding:24px;max-height:87dvh}.modal-head h2{font-size:21px}.modal-description{font-size:13px}.run-metric{font-size:65px}.run-details{gap:40px}.run-controls .button{padding:13px 17px}.run-controls{gap:10px}.live-map{height:200px}.run-persist{font-size:12px;padding:12px 14px}.form-row{gap:10px}.reward-grid{gap:9px}.reward-item{padding:17px 8px}.reward-item strong{font-size:12px}.care-grid{gap:10px}.care-item{padding:14px}.care-item p{font-size:12px}#toast{left:50%;bottom:100px;font-size:12px;max-width:calc(100vw - 35px);white-space:normal;text-align:center}.pet-states .state-icon{width:32px;height:32px}.notice{font-size:12px}.profile-actions .button{font-size:12px}.profile-summary h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readable secondary text and comfortable touch controls. */
.badge svg{width:14px;height:14px}
.subheading,.daily-caption,.pet-sub,.challenge-card p,.info-note,.notice,.care-item p,.progress-detail{font-size:14px;line-height:1.65}
.modal-description{font-size:16px}
.subheading,.challenge-card p,.info-note,.progress-detail{color:#707e65}
.daily-caption{color:#627c4f}.pet-sub,.pet-state small{color:#806895}
.pet-state strong{font-size:13px}.pet-state small{font-size:12px;min-height:30px}
.field label,.daily-top,.challenge-footer strong{font-size:14px}
.challenge-footer{color:#738365}.challenge-top small{color:#7b8770}
.pet-header>span{font-size:12px}.card-heading .text-button,.section-heading .text-button,.daily-top .text-button{font-size:13px}
.route-stats small,.stat-card>span,.stat-card p{font-size:12px;color:#78886b}
.seed-count{color:#7d6297}.eyebrow{font-size:12px;color:#75846b}
.app-footer,.app-footer button{font-size:12px;color:#78866d}
.run-persist>span{display:flex;align-items:center;gap:8px}
.stat-card strong small{display:inline}
@media(max-width:760px){
 .dashboard-grid>div:first-child{display:contents}
 .dashboard-grid>.pet-card{order:1}
 .dashboard-grid .daily-card{order:0}
 .dashboard-grid .route-card{order:2;margin-top:0}
 .pet-card{min-height:465px}
 .subheading,.daily-caption,.pet-sub,.challenge-card p,.info-note,.notice,.care-item p{font-size:14px}
 .modal-description{font-size:16px}
 .pet-state strong{font-size:13px}
 .daily-top .text-button{font-size:12px}
 .daily-main{gap:10px}.daily-distance{font-size:43px}.daily-burst{width:66px;height:66px}
 .pet-header>span{font-size:12px;letter-spacing:0}
 .challenge-footer strong{font-size:13px}
 .history-page .chart-header{align-items:flex-start}
 .chart-header>.page-tools{flex-direction:column;align-items:flex-end;gap:4px}
 .app-footer{flex-direction:column;align-items:flex-start;gap:12px}
 .reward-item small,.reward-item strong{font-size:12px}
 .pet-speech{font-size:12px;max-width:100%;white-space:normal}
}

/* Mi Amigo Runner wordmark: keep both names legible on small screens. */
.brand{gap:9px;margin:0 0 48px;letter-spacing:0;font-size:16px;flex-shrink:0}
.brand-symbol{display:block;width:44px;height:44px;flex-shrink:0;border-radius:12px}
.brand-name{display:flex;flex-direction:column;line-height:1.12;letter-spacing:-.3px;font-size:17px;font-weight:650}
.brand-name strong{font-size:23px;font-weight:800;letter-spacing:-.8px}
@media(min-width:701px) and (max-width:1000px){.brand .brand-name{display:none}.brand{justify-content:center}}
@media(max-width:700px){
 .mobile-brand{display:flex;align-items:center;gap:7px;letter-spacing:0;flex-shrink:0}
 .mobile-brand .brand-symbol{width:37px;height:37px;border-radius:10px}
 .mobile-brand .brand-name{display:flex;margin:0;color:var(--ink);font-size:13px;letter-spacing:-.2px}
 .mobile-brand .brand-name span{margin:0;color:inherit;font-size:13px}
 .mobile-brand .brand-name strong{font-size:18px;letter-spacing:-.5px}
 .topbar{padding:0 16px;gap:8px}.topbar-right{gap:6px;min-width:0}
 .topbar-right .account-shortcut{margin-left:0;padding:9px 10px;font-size:13px}
}
@media(max-width:360px){.topbar{padding:0 10px}.topbar-right{gap:4px}.mobile-brand{gap:4px}.mobile-brand .brand-symbol{width:32px;height:32px}.topbar-right .account-shortcut{padding:8px}}
