/* Position each transparent pixel sprite on the cat, using one fixed slot per body area. */
.catStage .wear{pointer-events:none}
.catStage .wear.wear-fit{inset:0;width:100%;height:100%;transform:none}
.catStage .wear-frontPaws{left:13%;top:16%;width:74%;height:78%;clip-path:inset(73% 0 0 0)}
.fittedArt{display:block;width:100%;height:100%;overflow:visible;shape-rendering:crispEdges;image-rendering:pixelated}
.specialSprite{background:none!important;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}
.specialSprite .fittedArt{width:100%;height:100%;flex:none}
.collectCard>.specialSprite,.revealArt>.specialSprite{background-image:none!important;background-color:#f4f6f0;image-rendering:auto}
.collectCard>.specialSprite .fittedArt,.revealArt>.specialSprite .fittedArt{shape-rendering:crispEdges}
.catStage .wear-outfit{left:22%;top:51%;width:56%;height:42%}
.catStage .wear-bag{left:60%;top:56%;width:33%;height:32%}
.catStage .wear-neck{left:30%;top:55%;width:40%;height:24%}
.catStage .wear-neck.wear-type-0{left:37%;top:55%;width:27%;height:20%}
.catStage .wear-neck.wear-type-5{left:42%;top:58%;width:17%;height:20%}
.catStage .wear-face{left:29%;top:36%;width:42%;height:21%}
.catStage .wear-ears{left:22%;top:12%;width:56%;height:46%}
.catStage .wear-hat{left:23%;top:5%;width:54%;height:34%}
.catStage .wear-paw{left:68%;top:55%;width:28%;height:36%}
.catStage .wear-paw.wear-type-7{left:72%;top:63%;width:24%;height:24%}
.catStage.pose-2 .wear-hat{transform:rotate(-7deg);transform-origin:65% 85%;left:27%}
.catStage.pose-3 .wear-hat{top:4%}
.catStage.pose-4 .wear-neck{top:56%}
.catStage.pose-5 .wear-hat{top:9%;height:29%}
.wardrobePreview .catStage{width:146px;min-width:146px}
.wardrobeCat{flex:none}
.wardrobeIntro{min-width:0;flex:1}
.wardrobeIntro b{font-size:15px;color:#354a3b}
.wardrobeIntro p{margin:5px 0 9px}
.wornChips{display:flex;gap:5px;flex-wrap:wrap}
.wornChip{border:1px solid #c8d6c3;border-radius:99px;background:#eaf2e8;color:#35503d;padding:5px 8px;font-size:11px}
.collectCard.isWorn{border-color:#8daa8e;background:#f3f9f0}
.collectCard.cannotWear>.catSprite{opacity:.55}
.fitHint{color:#606a64;font-size:11px;line-height:1.35}
.collectCard .plain:disabled{color:#606a64;opacity:.72}
@media(max-width:430px){.wardrobePreview .catStage{width:112px;min-width:112px}.wardrobePreview{gap:10px}.wardrobeIntro p{font-size:12px}}
@media(max-width:360px){.wardrobePreview .catStage{width:94px;min-width:94px}}
.settingsSaveNote{margin:4px 1px 12px;padding:10px 12px;border:1px solid #d8e2d2;border-radius:12px;background:#f2f6ef;color:#455942;font-size:13px;line-height:1.45}
.cloudSettings{margin:10px 0;padding:12px 14px}.cloudSettings .settingsSyncState{margin:5px 0 0;color:#526348;font-size:13px;overflow-wrap:anywhere}
.settingsFold{margin:10px 0;border:1px solid #dbe2d4;border-radius:15px;background:#fff;overflow:hidden}.settingsFold>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;border:0!important;border-radius:0!important;background:#fafbf8!important;padding:12px 14px!important;color:#405536;font-weight:650;list-style:none}.settingsFold>summary::-webkit-details-marker{display:none}.settingsFold>summary:after{content:'⌄';font-size:20px;font-weight:400}.settingsFold[open]>summary:after{content:'⌃'}.settingsFold>summary small{margin-left:auto;font-size:12px;color:#777f73;font-weight:400}
.cloudSettings .settingsFold{margin:9px 0 0;border-color:#dce4d6}.cloudSettings .settingsActionGroup{padding:11px 12px 13px;margin:0}
.backupFold{margin:12px 0 0}.backupSettingsInner{padding:5px 14px 14px}.backupSettingsInner>p:first-child{margin-top:8px}.backupSettingsInner .field{margin-top:14px}
.notificationSettings{margin:10px 0;padding:12px 14px}.notificationSettings .settingsFinePrint{margin-top:8px;font-size:12px}.settingsFinePrint summary{display:inline-block!important;padding:5px 0!important;border:0!important;background:none!important;color:#657467!important;font-size:12px!important}.settingsFinePrint p{margin:5px 0 0!important;color:#6c7067}
.soundSettings,.reviewSettings{margin:10px 0;padding:12px 14px}.reviewSettings .reviewLink{padding:8px}

/* A clear but gentle limit alert; spent amounts keep their recorded currencies. */
.frequencyOverText,.frequencyOverText b{color:#9b5147!important}.frequencyAlert{display:inline-block;margin:10px 0 3px;padding:8px 11px;border:1px solid #e2bbb4;border-radius:11px;background:#faeeea;color:#89463d;font-size:14px;font-weight:650;line-height:1.45}.frequencyState{margin:7px 0 3px;color:var(--muted);font-size:12px}.frequencySpend{margin:7px 0 2px;padding:8px 10px;border-radius:11px;background:#f2f2ee;color:#4c5547;font-size:13px;line-height:1.5;overflow-wrap:anywhere}.frequencyAlert+.frequencySpend{margin-top:6px}.frequencySpend+.goalEncouragement{margin-top:7px}.reviewSettings{margin:14px 0;padding:13px;border:1px solid #dbe2d4;border-radius:16px;background:#f6f8f2}.reviewSettings h4{margin:0 0 8px;color:#405536}.reviewSettings .reviewLink{display:block;text-align:left;width:100%;padding:10px 8px;font-size:14px}.reviewSettings .reviewLink+.reviewLink{border-top:1px solid #dbe2d4;border-radius:0}.reviewSettings .reviewInvite{background:#e8efe1}
.frequencyPace{margin:10px 0 9px;padding:11px 12px 10px;border:1px solid #e2e5db;border-radius:13px;background:#f7f8f4;color:#4a5547;min-width:0}.paceLegend{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin-bottom:10px;font-size:12px;line-height:1.35}.paceLegend span{min-width:0}.paceLegend span:before{content:"";display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:3px;background:#c4cdc3}.paceLegend .paceUsage:before{background:#78916c}.paceLegend b{font-size:14px;color:#354c3b}.paceLegend small{color:#6f776b;font-size:11px}.paceOverlay{height:13px;position:relative;border-radius:999px;background:#e8ebe5}.paceElapsed,.paceConsumed{position:absolute;inset:0 auto 0 0;border-radius:999px}.paceElapsed{background:#c4cdc3}.paceConsumed{background:#78916c}.paceToday{position:absolute;z-index:1;top:-4px;height:21px;border-left:2px solid #455d4b;box-shadow:1px 0 #fff8}.paceNote{margin:9px 0 0;font-size:12px;line-height:1.45;color:#627362}.frequencyPace.ahead .paceNote,.frequencyPace.behind .paceNote{color:#846c51}.frequencyPace.ahead .paceConsumed,.frequencyPace.ahead .paceUsage:before,.frequencyPace.over .paceConsumed,.frequencyPace.over .paceUsage:before{background:#c18c68}.frequencyPace.over .paceNote{color:#925a4e}@media(max-width:360px){.frequencyPace{padding-inline:10px}.paceLegend{font-size:11px;gap:4px 8px}}
.settingsHeader{position:sticky;top:-18px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-18px -16px 14px;padding:18px 16px 10px;background:var(--bg);border-bottom:1px solid #e4e5df;box-shadow:0 7px 10px -12px #34402a66}.settingsHeader h3{margin:0!important;min-width:0;overflow-wrap:anywhere}.sheet .settingsClose{flex:none;margin:0!important;padding:7px 14px;min-height:44px;background:#eaf0e3;border:1px solid #b9c8af;border-radius:12px;color:#405536;font-weight:650}.backupSettings{margin:14px 0 2px;padding:14px;border:1px solid #e0e3d9;border-radius:16px;background:#fff}.backupSettings h4{margin:0 0 8px;color:#405536;font-size:16px}.backupSettings>p{margin:8px 0;line-height:1.55}.backupSettings>.plain{margin:6px 0}.backupSettings .field{margin:14px 0 8px}@media(min-width:760px){.settingsHeader{top:-20px;margin:-20px -20px 14px;padding:20px 20px 10px}}
.notificationSettings{margin:14px 0;padding:13px;border:1px solid #dbe2d4;border-radius:16px;background:#f5f7f3;color:#3f4d3b}.notificationSettings h4{margin:0 0 8px;color:#405536}.notificationSettings p{margin:9px 0;line-height:1.5}.notificationActions{display:flex;flex-wrap:wrap;gap:8px}.notificationActions button{font-size:14px}.notificationActions button[hidden]{display:none}
/* A small home shortcut and calmer daily-card density without shrinking tap targets. */
#homeUtilityBar{display:flex;align-items:center;gap:8px;min-width:0;margin:6px 0 12px}
#reviewShortcut{flex:none;min-height:38px;padding:7px 11px;border:1px solid #cbd5c3;border-radius:12px;background:#f4f7f0;color:#42583c;font-size:13px;font-weight:600}
#reviewShortcut.unread{background:#e7eee0;border-color:#aebfa2}
#homeUtilityBar #cloudSyncStatus{margin:0 0 0 auto;min-width:0;max-width:65%;min-height:38px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#daily .hero{margin-bottom:8px}
#daily .swipeCard{margin-bottom:7px}
#daily .swipeSurface.card{padding:9px 12px}
#daily .habitName{padding:2px 0}
#daily .habitName .sub{line-height:1.35}
#daily .miniWeek{gap:5px;padding:4px 0 0}
#daily .miniDay{gap:1px}
#daily .todayTick{min-height:44px;min-width:48px}
#daily .todayTick .foodIcon{width:29px;height:29px}
.soundPreview{min-height:44px;margin-top:8px!important;font-size:13px}
#soundPreviewStatus{display:inline-block;margin-left:8px;font-size:12px}
@media(max-width:360px){#homeUtilityBar{gap:6px}#reviewShortcut{padding:7px 8px;font-size:12px}#homeUtilityBar #cloudSyncStatus{max-width:61%;font-size:11px}#daily .miniWeek{gap:3px}}
