/* Karen: My day widgets for you, and a little fun (myday-fun.js, myday-karen.js). Tokens only, no inline styles. */
.mf-ic { width: 18px; height: 18px; flex: none; }
.mf-full, .mf-line { margin: 0 0 10px; font-size: 15px; overflow-wrap: anywhere; }
.mf-line { font-size: 17px; line-height: 1.45; }
.mf-big { margin: 0; font-size: 34px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.mf-unit { font-size: 15px; font-weight: 600; color: var(--muted); }
.mf-sel { max-width: 100%; min-height: 40px; padding: 0 10px; font: 600 14px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--input); border-radius: var(--r-ctl); }
.mf-sel:focus-visible, .mf-form input:focus-visible { outline: 2px solid var(--green-700); outline-offset: 2px; }
.mf-form { display: flex; gap: 8px; margin: 0 0 10px; }
.mf-form input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 12px; font: 15px var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--input); border-radius: var(--r-ctl); }
.mf-stack { flex-direction: column; align-items: stretch; }
.mf-items { list-style: none; margin: 0; padding: 0; }
.mf-items li, .mf-zones li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--divider); font-size: 14px; overflow-wrap: anywhere; }
.mf-items li:first-child, .mf-zones li:first-child { border-top: 0; }
.mf-check label { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; }
.mf-check input { width: 18px; height: 18px; accent-color: var(--green-700); }
.mf-check li.done span { color: var(--muted); text-decoration: line-through; }
.mf-zones { list-style: none; margin: 10px 0; padding: 0; }
.mf-zones li b { font-variant-numeric: tabular-nums; margin-left: auto; }
.mf-link { color: var(--green-700); font-weight: 600; text-decoration: none; }
.mf-link:hover { text-decoration: underline; }
.mw-x { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; padding: 0; background: none; border: 0; border-radius: 8px; color: var(--muted); cursor: pointer; }
.mw-x:hover { color: var(--ink); background: var(--ground); }
.mw-x:focus-visible { outline: 2px solid var(--green-700); outline-offset: 1px; }
.mw-x .mf-ic { width: 16px; height: 16px; }

.mf-now { display: flex; align-items: center; gap: 14px; }
.mf-now > div { display: flex; flex-direction: column; min-width: 0; }
.mf-wx { width: 44px; height: 44px; flex: none; color: var(--green-700); }
.mf-days .mf-wx { width: 22px; height: 22px; }
.mf-cond { font-size: 15px; font-weight: 600; }
.mf-temp { font-size: 30px; }
.mf-days { list-style: none; margin: 12px 0 0; padding: 0; }
.mf-days li { display: grid; grid-template-columns: 56px 28px 1fr; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--divider); font-size: 14px; }
.mf-hl { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.mf-hl b { color: var(--ink); }
.mf-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.mf-plantrow { display: flex; align-items: center; gap: 14px; }
.mf-plant { width: 72px; height: 72px; flex: none; }
.mf-pot { fill: var(--amber-bar); } .mf-soil { fill: #7a5a3a; } .mf-seed { fill: var(--amber); }
.mf-stem { fill: none; stroke: var(--green-700); stroke-width: 2.4; stroke-linecap: round; }
.mf-leaf { fill: var(--green-700); } .mf-bloom { fill: var(--amber-bar); }
.mf-plant.thirsty .mf-leaf, .mf-plant.thirsty .mf-stem { opacity: 0.55; }
.mf-plant.thirsty { transform: rotate(-6deg); transform-origin: 50% 90%; }

/* My Karen */
.k-card .db-head { align-items: center; }
.k-main { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 16px; align-items: start; }
.k-pet { width: 100%; height: auto; display: block; border-radius: 14px; }
.k-bgr { fill: var(--green-100); } .k-floor { fill: var(--divider); } .k-win { fill: none; stroke: var(--input); stroke-width: 2; }
.k-bg-garden .k-bgr { fill: #E3F0DC; } .k-hill { fill: #BBD8AE; } .k-sun { fill: var(--amber-bar); }
.k-bg-night .k-bgr { fill: #24324A; } .k-moon { fill: #F2EBC9; } .k-star { fill: #F2EBC9; }
.k-body { fill: var(--green-700); } .k-pleat { stroke: #9FD3B8; stroke-opacity: 0.4; stroke-width: 2; fill: none; }
.k-leg { fill: var(--green-900); }
.k-arm { fill: none; stroke: var(--green-900); stroke-width: 5; stroke-linecap: round; }
.k-eye { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.k-pupil { fill: #fff; } .k-cheek { fill: #F5B7B1; opacity: 0.6; }
.k-mouth { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.k-yawn, .k-open { fill: #173C31; }
.k-acc { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; } .k-acc rect { fill: #fff; }
.k-hat path { fill: var(--amber-bar); } .k-hat circle { fill: #fff; }
.k-pillow { fill: #fff; opacity: 0.9; } .k-blanket { fill: var(--blue); opacity: 0.85; } .k-blanket-l { stroke: #fff; stroke-opacity: 0.4; stroke-width: 2; fill: none; }
.k-bub { fill: #fff; stroke: var(--input); stroke-width: 1; } .k-food { fill: none; stroke: var(--grey-ink); stroke-width: 1.8; stroke-linecap: round; }
.k-zzz text { fill: var(--grey-ink); font: 700 12px var(--font); } .k-bg-night .k-zzz text { fill: #F2EBC9; }
.k-confetti circle, .k-confetti rect { fill: var(--amber-bar); } .k-confetti circle:nth-child(odd) { fill: var(--blue); }

.k-arm-r { transform-box: fill-box; transform-origin: 0% 100%; }
.k-m-happy .k-arm-r { animation: k-wave 1.4s ease-in-out infinite; }
.k-m-happy .k-body-g, .k-m-okay .k-body-g { animation: k-bob 3s ease-in-out infinite; }
.k-m-excited .k-body-g { animation: k-jump 0.5s ease-in-out 3; }
.k-m-tired .k-yawn { transform-box: fill-box; transform-origin: center; animation: k-yawn 3s ease-in-out infinite; }
.k-m-sleeping .k-zzz { animation: k-float 3s ease-in-out infinite; }
.k-m-hungry .k-think { animation: k-float 3.4s ease-in-out infinite; }
@keyframes k-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
@keyframes k-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes k-jump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes k-yawn { 0%, 60%, 100% { transform: scale(0.6); } 75% { transform: scale(1.1); } }
@keyframes k-float { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: 0.8; } }
@media (prefers-reduced-motion: reduce) { .k-pet *, .k-pet { animation: none !important; } }

.k-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.k-meters { display: flex; flex-direction: column; gap: 6px; }
.k-meter { display: grid; grid-template-columns: 84px minmax(0, 1fr) 28px; align-items: center; gap: 8px; font-size: 13px; }
.k-ml { color: var(--grey-ink); } .k-mn { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.k-mt { height: 8px; background: var(--ground); border-radius: 999px; overflow: hidden; } .k-mt i { display: block; height: 100%; background: var(--green-700); border-radius: 999px; }
.k-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.k-tile { align-items: flex-start; } .k-tile .k-pet { max-width: 110px; }
.k-ward { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 14px; } .k-ward label { display: flex; align-items: center; gap: 8px; }
.k-ach { list-style: none; margin: 0; padding: 0; } .k-ach li { padding: 6px 0; border-top: 1px solid var(--divider); font-size: 13px; color: var(--muted); } .k-ach li.on { color: var(--ink); } .k-ach li:first-child { border-top: 0; }
@media (max-width: 520px) { .k-main { grid-template-columns: minmax(0, 1fr); } .k-pet { max-width: 200px; } }
