/* Hallmark · shape: app screen · genre: playful · theme: custom (pinned by the owner's reference image)
 * paper: oklch(96.4% 0.006 50) · accent: oklch(64% 0.17 46) · display: Outfit · body: Outfit
 * nav: bottom tab bar of five, admin plus button · signature: the claim timeline, Ambil then Selesai, with who holds each task
 * states: loading, empty, error, full · axes: light/geometric-sans/warm · posture: full palette (cream field, orange signal, brown seal, peach card) · spring: primary claim and the level-up moment · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: R, the game HUD competed with the claim list; after the finish review it is one line of chips and XP lives on the avatar ring */
/* Hallmark · waive 65 · cream paper with an orange accent and a sans display · the owner's reference image pins this palette */
/* Hallmark · answered F4 · each quest row carries its own Ambil, racing to claim is the product */
/* Hallmark · answered F5 · the inbox coin names the notification kind on a peach unread row, as the reference tiles do */
/* Hallmark · dismissed 40 · the done check is a graphic at 3.55:1 on the orange disc, above the 3:1 non-text bar, and the filled disc and grey card carry the state too */
/* Hallmark · answered F7 · one white card recipe and pill-ended bars are the reference's own vocabulary for this household app */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Shell ---------- */
body { background: var(--color-backdrop); }
.app { position: relative; max-width: var(--app-width); min-height: 100dvh; margin-inline: auto; background: var(--color-paper); padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + var(--space-xl)); }
.main { display: grid; gap: var(--space-lg); padding: max(var(--space-lg), env(safe-area-inset-top, 0px)) var(--space-md) 0; }
.main > * { min-width: 0; }
.block, .day-block, .slot, .panel, .form, .sheet__inner { grid-template-columns: minmax(0, 1fr); }
.app:has(.fab-dock) { padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + var(--space-3xl)); }
.page-auth .app, .page-plain .app { padding-bottom: var(--space-xl); }
@media (min-width: 30.0625rem) { .app { border-inline: var(--rule-hair) solid var(--color-rule); } }
.plain { max-width: var(--app-width); margin-inline: auto; padding: var(--space-xl) var(--space-md); display: grid; gap: var(--space-md); }
.plain pre { white-space: pre-wrap; font-size: var(--text-sm); }
.skip-link { position: absolute; z-index: var(--z-toast); left: var(--space-md); top: var(--space-md); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-night); color: var(--color-on-night); transform: translateY(-200%); }
.skip-link:focus-visible { transform: none; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; }
.icon--star { color: var(--color-accent); }
.icon--flame { color: var(--color-accent); }
.icon--level { color: var(--color-primary); }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-h); padding: 0 var(--space-md); border: 0; border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-md); font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out), opacity var(--dur-micro) var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: -2px; }
.btn--sm { min-height: var(--control-h-sm); padding: 0 var(--space-sm); font-size: var(--text-sm); }
.btn--sm::before { inset: -6px -4px; }
.btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn--accent { background: var(--color-accent-soft); color: var(--color-accent-ink); }
.btn--ghost { background: var(--color-paper-2); color: var(--color-ink); }
.btn--danger { color: var(--color-error); }
.btn--block { width: 100%; }
.btn--text { min-height: var(--control-h-sm); justify-self: center; padding: 0 var(--space-sm); background: transparent; font-size: var(--text-sm); }
.btn .icon { width: 18px; height: 18px; }
@media (hover: hover) {
  .btn:hover { background: var(--color-paper-3); }
  .btn--primary:hover { background: var(--color-primary-hover); }
  .btn--accent:hover { background: var(--color-accent); }
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { opacity: 0.8; cursor: progress; }
.link { color: var(--color-primary); font-size: var(--text-sm); font-weight: 500; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link-btn { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-primary); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.link-btn:hover { background: var(--color-paper-3); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: var(--control-h); height: var(--control-h); flex-shrink: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.icon-btn::before { content: ""; position: absolute; inset: -2px; }
.icon-btn--soft { background: var(--color-card); }
@media (hover: hover) { .icon-btn:hover { background: var(--color-paper-3); } }
.icon-btn:active { transform: translateY(1px); }
.icon-btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Avatars ---------- */
.avatar { display: inline-grid; place-items: center; flex-shrink: 0; overflow: hidden; border-radius: 50%; background: var(--tint-bg, var(--tile-peach-bg)); }
.avatar img { width: 84%; height: 84%; object-fit: contain; transform: translateY(5%); }
.avatar--xs { width: 24px; height: 24px; }
.avatar--sm { width: 32px; height: 32px; }
.avatar--md { width: 40px; height: 40px; }
.avatar--lg { width: 64px; height: 64px; }
.avatar--xl { width: 104px; height: 104px; }
.tint--peach { --tint-bg: var(--tile-peach-bg); }
.tint--green { --tint-bg: var(--tile-green-bg); }
.tint--pink { --tint-bg: var(--tile-pink-bg); }
.tint--lavender { --tint-bg: var(--tile-lavender-bg); }
.tint--sky { --tint-bg: var(--tile-sky-bg); }
.tint--butter { --tint-bg: var(--tile-butter-bg); }
.tint--mint { --tint-bg: var(--tile-mint-bg); }
.tint--rose { --tint-bg: var(--tile-rose-bg); }
.ring { --p: 0; display: inline-grid; place-items: center; padding: var(--space-2xs); border-radius: 50%; background: conic-gradient(var(--color-accent) calc(var(--p) * 1turn), var(--color-paper-3) 0); }
.ring > .avatar { outline: 3px solid var(--color-paper); outline-offset: -1px; }

/* ---------- Home header ---------- */
.hello { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-sm); }
.hello__text { min-width: 0; }
.hello__title { font-size: var(--text-3xl); }
.hello__date { margin-top: var(--space-2xs); color: var(--color-ink-2); }
.hello__side { display: flex; align-items: center; gap: var(--space-xs); }
.me { position: relative; display: inline-block; border-radius: 50%; text-decoration: none; }
.me__lv { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; min-width: 26px; height: 26px; padding-inline: var(--space-2xs); border: 2px solid var(--color-paper); border-radius: var(--radius-pill); background: var(--color-night); color: var(--color-on-night); font-size: var(--text-xs); font-weight: 600; }
.bell__count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 20px; height: 20px; padding-inline: var(--space-2xs); border: 2px solid var(--color-paper); border-radius: var(--radius-pill); background: var(--color-accent-soft); color: var(--color-accent-ink); font-size: var(--text-xs); font-weight: 600; line-height: 1; }

/* ---------- HUD ---------- */
.hud { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: calc(var(--space-sm) * -1); }
.hud__chip { display: inline-flex; align-items: center; gap: var(--space-2xs); min-height: var(--control-h-sm); padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-card); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; }
.hud__chip .icon { width: 16px; height: 16px; }
a.hud__chip { transition: background-color var(--dur-short) var(--ease-out); }
@media (hover: hover) { a.hud__chip:hover { background: var(--color-paper-3); } }
a.hud__chip:active { transform: translateY(1px); }
.hud__next { color: var(--color-muted); font-size: var(--text-xs); }
.xp { display: block; height: 8px; overflow: hidden; border-radius: var(--radius-pill); background: var(--color-paper-2); }
.xp__fill { --p: 0; display: block; height: 100%; border-radius: inherit; background: var(--color-accent); transform: translateX(calc((var(--p) - 1) * 100%)); transition: transform var(--dur-long) var(--ease-out); }

/* ---------- Week strip ---------- */
.week { display: grid; gap: var(--space-sm); }
.week__bar { display: flex; align-items: center; gap: var(--space-xs); }
.week__label { flex: 1; min-width: 0; color: var(--color-ink-2); font-weight: 500; }
.week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.day { display: grid; justify-items: center; gap: var(--space-xs); border-radius: var(--radius-tile); color: var(--color-muted); text-decoration: none; }
.day__name { font-size: var(--text-sm); }
.day__num { display: grid; place-items: center; width: 100%; max-width: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--color-card); color: var(--color-ink); font-size: var(--text-md); transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.day.is-today .day__num { box-shadow: inset 0 0 0 2px var(--color-accent); }
.day.is-selected .day__name { color: var(--color-ink); font-weight: 600; }
.day.is-selected .day__num { background: var(--color-night); color: var(--color-on-night); box-shadow: none; }
@media (hover: hover) { .day:not(.is-selected):hover .day__num { background: var(--color-paper-3); } }
.day:active .day__num { transform: translateY(1px); }

/* ---------- Peach card: reminder or daily quest ---------- */
.promo { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg); border-radius: var(--radius-card); background: var(--color-peach); color: var(--color-ink); }
.promo__text { flex: 1; min-width: 0; display: grid; justify-items: start; gap: var(--space-xs); }
.promo__title { font-size: var(--text-lg); }
.promo__body { color: var(--color-peach-ink); font-size: var(--text-sm); }
.promo__text .btn { margin-top: var(--space-2xs); }
.promo__status:empty { display: none; }
.promo__status { color: var(--color-peach-ink); font-size: var(--text-sm); }
.promo__count { color: var(--color-peach-ink); font-size: var(--text-sm); }
.promo__art { width: 88px; height: 88px; flex-shrink: 0; }
.xp--quest { width: min(100%, 12rem); background: color-mix(in oklab, var(--color-peach-ink) 18%, var(--color-peach)); }
.xp--quest .xp__fill { background: var(--color-primary); }

/* ---------- Day list (the claim timeline) ---------- */
.day-block { display: grid; gap: var(--space-sm); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.section-title { font-size: var(--text-lg); }
.day-progress { color: var(--color-muted); font-size: var(--text-sm); }
.day-progress:empty { display: none; }
.list-status { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-tile); background: var(--color-error-soft); color: var(--color-error); font-size: var(--text-sm); }
.day-list[aria-busy="true"] { opacity: 0.6; transition: opacity var(--dur-short) var(--ease-out); }
.quests { position: relative; display: grid; gap: var(--space-sm); }
.quests::before { content: ""; position: absolute; top: var(--space-lg); bottom: var(--space-lg); left: 11px; border-left: 2px dashed var(--color-rule); }
.quest { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: var(--space-xs); }
.quest__dot { position: relative; z-index: var(--z-base); display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--color-muted); border-radius: 50%; background: var(--color-paper); color: var(--color-muted); }
.quest__dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.is-mine .quest__dot { border-color: var(--color-accent); box-shadow: inset 0 0 0 4px var(--color-paper), inset 0 0 0 12px var(--color-accent); }
.is-taken .quest__dot, .is-missed .quest__dot, .is-planned .quest__dot { border-style: dashed; }
.is-planned .quest__dot { border-color: var(--color-paper-3); }
.is-done .quest__dot, .is-done-mine .quest__dot { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-card); }
.qcard { position: relative; display: flex; align-items: stretch; min-width: 0; border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); transition: background-color var(--dur-short) var(--ease-out); }
.qcard__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm); }
.is-mine .qcard { box-shadow: none; outline: 2px solid var(--color-accent); outline-offset: -2px; }
.is-done .qcard, .is-done-mine .qcard, .is-planned .qcard, .is-missed .qcard { background: var(--color-paper-2); box-shadow: none; }
.is-done .qcard__title, .is-done-mine .qcard__title, .is-missed .qcard__title { color: var(--color-ink-2); }
.qcard__open { padding: 0; border: 0; cursor: pointer; }
.qcard__open::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
@media (hover: hover) {
  .qcard:has(.qcard__open:hover) { background: var(--color-paper); }
  :is(.is-done, .is-done-mine, .is-planned, .is-missed) .qcard:has(.qcard__open:hover) { background: var(--color-paper-3); }
}
.qcard:has(.qcard__open:active) { background: var(--color-paper-2); }
.qcard__open:disabled { opacity: 0.55; cursor: not-allowed; }
.qcard__body { display: grid; gap: var(--space-2xs); min-width: 0; }
.qcard__title { font-size: var(--text-md); font-weight: 500; line-height: 1.25; overflow-wrap: break-word; }
.qcard__meta { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.qcard__side { position: relative; z-index: var(--z-base); display: grid; place-items: center; min-width: 84px; margin-block: var(--space-sm); padding-inline: var(--space-sm); border-left: var(--rule-hair) solid var(--color-rule); pointer-events: none; }
.qcard__side .btn { pointer-events: auto; }
.chip { display: inline-flex; align-items: center; gap: var(--space-2xs); white-space: nowrap; }
.chip .icon { width: 15px; height: 15px; }
.chip--reward { color: var(--color-ink-2); }
.chip--reward .icon { color: var(--color-accent); }
.tile { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius-tile); background: var(--tile-bg, var(--tile-peach-bg)); color: var(--tile-fg, var(--tile-peach-fg)); }
.tile .icon { width: 24px; height: 24px; }
.tile--lg { width: 56px; height: 56px; }
.tile--lg .icon { width: 28px; height: 28px; }
.tile--sm { width: 36px; height: 36px; border-radius: var(--space-sm); }
.tile--sm .icon { width: 18px; height: 18px; }
.tile--peach { --tile-bg: var(--tile-peach-bg); --tile-fg: var(--tile-peach-fg); }
.tile--green { --tile-bg: var(--tile-green-bg); --tile-fg: var(--tile-green-fg); }
.tile--pink { --tile-bg: var(--tile-pink-bg); --tile-fg: var(--tile-pink-fg); }
.tile--lavender { --tile-bg: var(--tile-lavender-bg); --tile-fg: var(--tile-lavender-fg); }
.tile--sky { --tile-bg: var(--tile-sky-bg); --tile-fg: var(--tile-sky-fg); }
.tile--butter { --tile-bg: var(--tile-butter-bg); --tile-fg: var(--tile-butter-fg); }
.tile--mint { --tile-bg: var(--tile-mint-bg); --tile-fg: var(--tile-mint-fg); }
.tile--rose { --tile-bg: var(--tile-rose-bg); --tile-fg: var(--tile-rose-fg); }
.who { display: grid; justify-items: center; gap: var(--space-3xs); max-width: 72px; color: var(--color-ink-2); font-size: var(--text-xs); }
.who__name { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who--inline { display: inline-flex; align-items: center; gap: var(--space-xs); max-width: none; color: inherit; font-size: inherit; }
.side-note { display: inline-flex; align-items: center; gap: var(--space-2xs); color: var(--color-muted); font-size: var(--text-sm); white-space: nowrap; }
.side-note .icon { width: 14px; height: 14px; }
.act { display: contents; }
.quest.is-fresh .qcard { animation: claim-pop var(--dur-long) var(--ease-spring); }
@keyframes claim-pop { from { transform: scale(0.96); } to { transform: scale(1); } }

/* ---------- Empty state ---------- */
.empty { display: grid; justify-items: center; gap: var(--space-xs); padding: var(--space-xl) var(--space-lg); border-radius: var(--radius-card); background: var(--color-paper-2); text-align: center; }
.empty__art { width: 96px; height: 96px; }
.empty__title { font-size: var(--text-lg); font-weight: 500; }
.empty__text, .empty__hint { color: var(--color-muted); font-size: var(--text-sm); }
.empty .btn { margin-top: var(--space-xs); }

/* ---------- Sheets and dialogs ---------- */
.sheet { width: 100%; max-width: var(--app-width); height: fit-content; max-height: min(88dvh, 44rem); margin: auto auto 0; padding: 0; overflow: auto; border: 0; border-radius: var(--radius-sheet) var(--radius-sheet) 0 0; background: var(--color-card); color: var(--color-ink); }
.sheet::backdrop { background: var(--color-shade); }
.sheet[open] { animation: sheet-in var(--dur-long) var(--ease-out); }
.sheet--center { max-width: min(24rem, calc(100% - var(--space-xl))); margin: auto; border-radius: var(--radius-sheet); }
.sheet--center[open] { animation: dialog-in var(--dur-long) var(--ease-out); }
@keyframes sheet-in { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dialog-in { from { transform: scale(0.96); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__inner { display: grid; gap: var(--space-md); padding: var(--space-lg) var(--space-lg) calc(var(--space-lg) + env(safe-area-inset-bottom, 0px)); }
.sheet__head { display: flex; align-items: center; gap: var(--space-sm); }
.sheet__heading { flex: 1; min-width: 0; display: grid; gap: var(--space-3xs); }
.sheet__title { font-size: var(--text-xl); }
.sheet__sub, .sheet__note { color: var(--color-muted); font-size: var(--text-sm); }
.sheet__desc { color: var(--color-ink-2); }
.sheet__actions { display: grid; gap: var(--space-xs); }
.sheet__actions--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); padding-block: var(--space-sm); border-block: var(--rule-hair) solid var(--color-rule); }
.facts__row { display: grid; gap: var(--space-3xs); }
.facts__row:last-child { grid-column: 1 / -1; }
.facts dt { color: var(--color-muted); font-size: var(--text-sm); }
.facts dd { font-weight: 500; }
.celebrate { justify-items: center; text-align: center; }
.celebrate__art { width: 112px; height: 112px; }
.sheet--center[open] .celebrate__art { animation: pop 600ms var(--ease-spring); }
@keyframes pop { from { transform: scale(0.6) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.celebrate__title { font-size: var(--text-2xl); }
.celebrate__text { color: var(--color-ink-2); }
.badge-sheet__medal { width: 88px; height: 88px; }
.badge-sheet__medal .icon { width: 40px; height: 40px; }

/* ---------- Toasts and floating rewards ---------- */
.toasts { position: fixed; z-index: var(--z-toast); left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + var(--space-sm)); display: grid; gap: var(--space-xs); max-width: var(--app-width); margin-inline: auto; padding-inline: var(--space-md); pointer-events: none; }
.toast { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-night); color: var(--color-on-night); font-size: var(--text-sm); pointer-events: auto; animation: toast-in var(--dur-long) var(--ease-out); }
.toast--error { background: var(--color-error); color: var(--color-on-primary); }
.toast__text { flex: 1; }
.toast .icon-btn { width: var(--control-h-sm); height: var(--control-h-sm); color: inherit; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-short) var(--ease-in), transform var(--dur-short) var(--ease-in); }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
.floater { position: fixed; z-index: var(--z-toast); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-primary); color: var(--color-on-primary); font-weight: 600; pointer-events: none; animation: float-up 1100ms var(--ease-out) forwards; }
@keyframes float-up { 0% { opacity: 0; transform: translate(-50%, 8px) scale(0.9); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -56px) scale(1); } }
.confetti { position: fixed; inset: 0; z-index: var(--z-toast); width: 100%; height: 100%; pointer-events: none; }

/* ---------- Tab bar and plus button ---------- */
.tabbar { position: fixed; z-index: var(--z-sticky-nav); left: 0; right: 0; bottom: 0; max-width: var(--app-width); margin-inline: auto; padding-bottom: env(safe-area-inset-bottom, 0px); border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-card); }
.tabbar__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tab { display: grid; justify-items: center; align-content: center; gap: var(--space-3xs); min-height: var(--tabbar-h); color: var(--color-muted); font-size: var(--text-xs); text-decoration: none; }
.tab__icon { display: grid; place-items: center; width: 56px; height: 32px; border-radius: var(--radius-pill); transition: background-color var(--dur-short) var(--ease-out); }
.tab.is-active { color: var(--color-ink); font-weight: 500; }
.tab.is-active .tab__icon { background: var(--color-peach); color: var(--color-primary); }
@media (hover: hover) { .tab:not(.is-active):hover .tab__icon { background: var(--color-paper-2); } }
.tab:active .tab__icon { transform: translateY(1px); }
.tab:focus-visible { outline-offset: -4px; border-radius: var(--radius-tile); }
.fab-dock { position: fixed; z-index: var(--z-sticky); left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px) + var(--space-md)); display: flex; justify-content: flex-end; max-width: var(--app-width); margin-inline: auto; padding-inline: var(--space-md); pointer-events: none; }
.fab { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--color-primary); color: var(--color-on-primary); box-shadow: var(--shadow-card); pointer-events: auto; transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.fab .icon { width: 26px; height: 26px; stroke-width: 2.2; }
@media (hover: hover) { .fab:hover { background: var(--color-primary-hover); } }
.fab:active { transform: translateY(1px); }

/* ---------- Page top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); min-height: 48px; }
.topbar__title { font-size: var(--text-2xl); }
.topbar__lead { color: var(--color-ink-2); }
.topbar__actions { display: flex; gap: var(--space-xs); }
.notices { display: grid; gap: var(--space-xs); padding: var(--space-md) var(--space-md) 0; }
.notice { display: flex; align-items: flex-start; gap: var(--space-xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-card); color: var(--color-ink); font-size: var(--text-sm); }
.notice .icon { color: var(--color-primary); }
.notice--success .icon { color: var(--color-success); }
.notice--error { background: var(--color-error-soft); color: var(--color-error); }
.notice--error .icon { color: var(--color-error); }

/* ---------- Schedule ---------- */
.daynav { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-card); box-shadow: var(--shadow-card); }
.daynav .icon-btn--soft { background: var(--color-paper); }
.daynav__label { flex: 1; min-width: 0; display: grid; text-align: center; }
.daynav__main { font-weight: 500; }
.daynav__sub { color: var(--color-muted); font-size: var(--text-sm); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: grid; align-content: start; gap: var(--space-3xs); padding-inline: var(--space-md); }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; }
.stat + .stat { border-left: var(--rule-hair) solid var(--color-rule); }
.stat__fig { font-size: var(--text-xl); font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat__label { color: var(--color-muted); font-size: var(--text-sm); }
.stat__of { color: var(--color-muted); font-size: var(--text-md); font-weight: 500; }
.crew__list { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.crew__item { flex: 0 0 auto; display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-xs) var(--space-md) var(--space-xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-card); box-shadow: var(--shadow-card); scroll-snap-align: start; }
.crew__text { display: grid; }
.crew__name { font-weight: 500; }
.crew__stat { color: var(--color-muted); font-size: var(--text-xs); white-space: nowrap; }
.crew__pts { display: inline-flex; align-items: center; gap: var(--space-3xs); padding-left: var(--space-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.crew__pts .icon { width: 14px; height: 14px; }
.crew__empty { padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-muted); font-size: var(--text-sm); }
.slot { display: grid; gap: var(--space-sm); }
.slot + .slot { margin-top: var(--space-xl); }
.slot__title { font-size: var(--text-lg); }
.block { display: grid; gap: var(--space-sm); }
.block__title { font-size: var(--text-lg); }

/* ---------- Calendar ---------- */
.cal { display: grid; gap: var(--space-sm); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.cal__head { display: flex; align-items: center; gap: var(--space-xs); }
.cal__title { flex: 1; font-size: var(--text-lg); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.cal__dow { color: var(--color-muted); font-size: var(--text-xs); text-align: center; }
.cal__dow abbr { text-decoration: none; }
.cal__day { display: grid; justify-items: center; align-content: start; gap: var(--space-2xs); min-height: 58px; padding-block: var(--space-2xs); border-radius: var(--radius-tile); color: var(--color-ink); text-decoration: none; }
@media (hover: hover) { .cal__day:hover { background: var(--color-paper); } }
.cal__day.is-past { color: var(--color-ink-2); }
.cal__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-variant-numeric: tabular-nums; }
.cal__day.is-today .cal__num { box-shadow: inset 0 0 0 2px var(--color-accent); }
.cal__day.is-selected .cal__num { background: var(--color-night); color: var(--color-on-night); box-shadow: none; }
.cal__bar { display: block; width: 70%; height: 4px; overflow: hidden; border-radius: var(--radius-pill); background: var(--color-paper-2); }
.cal__bar > span { --p: 0; display: block; height: 100%; border-radius: inherit; background: var(--color-accent); transform: translateX(calc((var(--p) - 1) * 100%)); }
.cal__mine { display: block; height: 12px; color: var(--color-accent); }
.cal__mine .icon { width: 12px; height: 12px; }
.cal__legend { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-md); color: var(--color-muted); font-size: var(--text-xs); }
.cal__legend span { display: inline-flex; align-items: center; gap: var(--space-2xs); }
.cal__legend .icon { width: 12px; height: 12px; color: var(--color-accent); }
.legend-bar { display: inline-block; width: 16px; height: 4px; border-radius: var(--radius-pill); background: var(--color-accent); }

/* ---------- Leaderboard ---------- */
.seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.seg__item { padding: var(--space-xs) var(--space-2xs); border-radius: var(--radius-pill); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; text-align: center; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.seg__item.is-active { background: var(--color-card); color: var(--color-ink); box-shadow: var(--shadow-card); }
@media (hover: hover) { .seg__item:not(.is-active):hover { color: var(--color-ink); } }
.seg__item:focus-visible { outline-offset: -2px; }
.podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: var(--space-xs); padding-top: var(--space-md); }
.podium__spot { display: grid; justify-items: center; gap: var(--space-2xs); min-width: 0; text-align: center; }
.podium__spot--1 { grid-column: 2; grid-row: 1; }
.podium__spot--2 { grid-column: 1; grid-row: 1; }
.podium__spot--3 { grid-column: 3; grid-row: 1; }
.podium__crown { height: 24px; color: var(--color-accent); }
.podium__crown .icon { width: 24px; height: 24px; fill: currentColor; }
.podium__name { max-width: 100%; overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.podium__pts { display: inline-flex; align-items: center; gap: var(--space-3xs); color: var(--color-ink-2); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.podium__pts .icon { width: 14px; height: 14px; }
.podium__block { display: grid; place-items: center; width: 100%; margin-top: var(--space-2xs); border-radius: var(--radius-tile) var(--radius-tile) 0 0; background: var(--color-peach); color: var(--color-peach-ink); font-size: var(--text-xl); font-weight: 600; }
.podium__spot--1 .podium__block { height: 104px; background: var(--color-accent-soft); color: var(--color-accent-ink); }
.podium__spot--2 .podium__block { height: 76px; }
.podium__spot--3 .podium__block { height: 56px; }
.ranks { display: grid; }
.rank { display: flex; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-xs); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rank:last-child { border-bottom: 0; }
.rank.is-me { border-radius: var(--radius-tile); border-bottom-color: transparent; background: var(--color-peach); }
.rank__no { width: 28px; color: var(--color-muted); font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; }
.rank.is-me .rank__no { color: var(--color-peach-ink); }
.rank__who { flex: 1; min-width: 0; display: grid; }
.rank__name { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rank__meta { color: var(--color-muted); font-size: var(--text-sm); }
.rank.is-me .rank__meta { color: var(--color-peach-ink); }
.rank__pts { display: inline-flex; align-items: center; gap: var(--space-2xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.rank__pts .icon { width: 16px; height: 16px; }

/* ---------- Profile ---------- */
.profile { display: grid; justify-items: center; gap: var(--space-xs); text-align: center; }
.profile .ring { padding: var(--space-xs); }
.profile__name { font-size: var(--text-2xl); }
.profile__meta { color: var(--color-muted); }
.levelcard { display: grid; gap: var(--space-xs); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.levelcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.levelcard__lv { font-size: var(--text-lg); font-weight: 600; }
.levelcard__xp { color: var(--color-muted); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.statgrid .stat { padding: var(--space-sm) var(--space-md); }
.statgrid .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
.statgrid .stat:nth-child(even) { padding-right: 0; }
.statgrid .stat:nth-child(n + 3) { border-top: var(--rule-hair) solid var(--color-rule); }
.badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xs); }
.badge { display: grid; justify-items: center; align-content: start; gap: var(--space-xs); padding: var(--space-sm) var(--space-2xs); text-align: center; }
@media (hover: hover) { button.badge__medal:hover { transform: translateY(-1px); } }
button.badge__medal:active { transform: translateY(1px); }
.badge__medal { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--color-paper-2); color: var(--color-muted); transition: transform var(--dur-micro) var(--ease-out); }
.badge__medal .icon { width: 26px; height: 26px; }
.badge.is-on .badge__medal, .badge__medal.is-on { background: var(--color-accent-soft); color: var(--color-accent-ink); box-shadow: inset 0 -4px 0 color-mix(in oklab, var(--color-accent-ink) 22%, transparent); }
.badge__name { color: var(--color-muted); font-size: var(--text-xs); line-height: 1.3; }
.badge__progress { color: var(--color-muted); font-size: var(--text-xs); font-variant-numeric: tabular-nums; }
.badge:not(.is-on) .badge__medal { background: transparent; box-shadow: inset 0 0 0 2px var(--color-paper-3); }
.badge.is-on .badge__name { color: var(--color-ink); font-weight: 500; }
.history { display: grid; }
.history__row { display: flex; align-items: center; gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.history__row:last-child { border-bottom: 0; }
.history__body { flex: 1; min-width: 0; display: grid; }
.history__title { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.history__when { color: var(--color-muted); font-size: var(--text-sm); }
.history__pts { color: var(--color-primary); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- Forms ---------- */
.form { display: grid; gap: var(--space-md); }
.panel { display: grid; gap: var(--space-md); padding: var(--space-lg) var(--space-md); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.panel__title { font-size: var(--text-lg); }
.panel__lead { margin-top: calc(var(--space-sm) * -1); color: var(--color-muted); font-size: var(--text-sm); }
.field { display: grid; gap: var(--space-2xs); min-width: 0; }
.field__label, .field > label { color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }
.field__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.input { width: 100%; min-height: var(--control-h); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--color-muted); border-radius: var(--radius-input); outline: 2px solid transparent; outline-offset: -3px; background: var(--color-card); color: var(--color-ink); font-size: var(--text-md); transition: background-color var(--dur-short) var(--ease-out); }
.input::placeholder { color: var(--color-muted); }
@media (hover: hover) { .input:hover { background: var(--color-paper); } }
.input:focus-visible { outline-color: var(--color-focus); outline-offset: -3px; }
.input[aria-invalid="true"] { border-color: var(--color-error); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
textarea.input { min-height: 6rem; resize: vertical; }
.field__help { display: flex; align-items: center; gap: var(--space-2xs); min-height: 1lh; color: var(--color-muted); font-size: var(--text-sm); }
.field__help:empty { display: none; }
.js [data-autosave-submit] { display: none; }
.row-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); color: inherit; text-decoration: none; transition: background-color var(--dur-short) var(--ease-out); }
.row-link .icon { color: var(--color-muted); }
@media (hover: hover) { .row-link:hover { background: var(--color-paper); } }
.row-link:active { transform: translateY(1px); }
.field__help .icon { width: 16px; height: 16px; }
.field__help.is-error { color: var(--color-error); }
.form__actions { display: grid; gap: var(--space-xs); }
.check { display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; accent-color: var(--color-primary); }
.check__text { display: grid; }
.check__hint { color: var(--color-muted); font-size: var(--text-sm); }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-xs); border: 0; margin: 0; padding: 0; min-width: 0; }
.choices legend { margin-bottom: var(--space-xs); padding: 0; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.choice input:checked + span { background: var(--color-night); color: var(--color-on-night); }
.choices--days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--space-2xs); }
.choices--days legend { grid-column: 1 / -1; }
.choices--days .choice span { display: grid; min-width: 0; padding: 0; }
.choice { border-radius: var(--radius-pill); }
.choice input:disabled + span { opacity: 0.55; cursor: not-allowed; }
@media (hover: hover) { .choice input:not(:checked) + span:hover { background: var(--color-paper-3); } }
.icon-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-xs); border: 0; margin: 0; padding: 0; min-width: 0; }
.icon-grid legend, .swatches legend, .avatar-grid legend { margin-bottom: var(--space-xs); padding: 0; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 500; }
.pick { position: relative; display: grid; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__face { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-tile); background: var(--color-paper-2); color: var(--color-ink-2); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.pick input:checked + .pick__face { background: var(--color-night); color: var(--color-on-night); }
.pick { border-radius: var(--radius-tile); }
@media (hover: hover) { .pick input:not(:checked) + .pick__face:hover { background: var(--color-paper-3); } }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); justify-items: start; border: 0; margin: 0; padding: 0; min-width: 0; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch__face { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tile-bg); color: var(--tile-fg); cursor: pointer; }
.swatch__face .icon { width: 18px; height: 18px; opacity: 0; }
.swatch input:checked + .swatch__face { box-shadow: inset 0 0 0 2px var(--tile-fg); }
.swatch input:checked + .swatch__face .icon { opacity: 1; }
.swatch { border-radius: 50%; }
.avatar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); border: 0; margin: 0; padding: 0; min-width: 0; }
.avatar-pick { position: relative; display: grid; justify-items: center; gap: var(--space-2xs); color: var(--color-ink-2); font-size: var(--text-xs); text-align: center; cursor: pointer; }
.avatar-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.avatar-pick .avatar { outline: 3px solid transparent; outline-offset: 2px; }
.avatar-pick input:checked ~ .avatar { outline-color: var(--color-accent); }
.avatar-pick input:checked ~ .avatar-pick__name { color: var(--color-ink); font-weight: 600; }
.avatar-pick { border-radius: var(--radius-tile); }
.choice:has(input:focus-visible), .pick:has(input:focus-visible), .swatch:has(input:focus-visible), .avatar-pick:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@supports not selector(:has(*)) {
  .choice input:focus-visible + span, .pick input:focus-visible + .pick__face, .swatch input:focus-visible + .swatch__face { outline: 2px solid var(--color-focus); outline-offset: 2px; }
  .avatar-pick input:focus-visible ~ .avatar { outline-color: var(--color-focus); }
}
.switch { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 44px; cursor: pointer; }
.switch input { appearance: none; position: relative; flex-shrink: 0; width: 46px; height: 28px; margin: 0; border-radius: var(--radius-pill); background: var(--color-paper-3); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--color-card); box-shadow: var(--shadow-card); transition: transform var(--dur-short) var(--ease-in-out); }
.switch input:checked { background: var(--color-primary); }
.switch input:checked::after { transform: translateX(18px); }
.switch input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.switch input:disabled { opacity: 0.55; cursor: not-allowed; }
.form-mode:has(#mode-sekali:checked) .only-rutin { display: none; }
.form-mode:has(#mode-rutin:checked) .only-sekali { display: none; }

/* ---------- Auth ---------- */
.auth { display: grid; gap: var(--space-lg); padding-top: var(--space-xl); }
.auth__head { display: grid; justify-items: center; gap: var(--space-xs); text-align: center; }
.auth__logo { width: 88px; height: 88px; }
.auth__title { font-size: var(--text-2xl); }
.auth__lead { color: var(--color-ink-2); }
.auth__switch { color: var(--color-ink-2); font-size: var(--text-sm); text-align: center; }

/* ---------- Lists for settings, admin and inbox ---------- */
.rows { display: grid; }
.row { display: flex; align-items: center; gap: var(--space-sm); padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.row:last-child { border-bottom: 0; }
.row__body { flex: 1; min-width: 0; display: grid; gap: var(--space-3xs); }
.row__title { overflow-wrap: break-word; font-weight: 500; }
.row__meta { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.row__actions { display: flex; align-items: center; gap: var(--space-2xs); }
.row.is-off .row__title, .row.is-off .tile { opacity: 0.55; }
.tag { display: inline-flex; align-items: center; padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink-2); font-size: var(--text-xs); font-weight: 500; }
.tag--admin { background: var(--color-peach); color: var(--color-peach-ink); }
.tabs { display: flex; gap: var(--space-2xs); overflow-x: auto; padding: var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.tabs a { flex: 1; padding: var(--space-xs) var(--space-sm); border-radius: var(--radius-pill); color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; text-align: center; text-decoration: none; white-space: nowrap; }
.tabs a[aria-current="page"] { background: var(--color-card); color: var(--color-ink); box-shadow: var(--shadow-card); }
.tabs a:focus-visible { outline-offset: -2px; }
.codebox { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-2); }
.codebox__code { font-size: var(--text-2xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.kv { display: grid; gap: var(--space-2xs); color: var(--color-ink-2); font-size: var(--text-sm); }
.kv code { padding: var(--space-3xs) var(--space-2xs); border-radius: var(--space-2xs); background: var(--color-paper-2); overflow-wrap: anywhere; }
.inbox { display: grid; gap: var(--space-xs); }
.inbox__item { display: flex; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--color-card); color: inherit; text-decoration: none; }
.inbox__item.is-unread { background: var(--color-peach); }
.inbox__item.is-unread .inbox__body, .inbox__item.is-unread .inbox__when { color: var(--color-peach-ink); }
.inbox__icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--color-paper-2); color: var(--color-primary); }
.inbox__item.is-unread .inbox__icon { background: var(--color-card); }
.inbox__text { flex: 1; min-width: 0; display: grid; gap: var(--space-3xs); }
.inbox__title { font-weight: 500; }
.inbox__body { color: var(--color-ink-2); font-size: var(--text-sm); }
.inbox__when { color: var(--color-muted); font-size: var(--text-xs); }
@media (hover: hover) { a.inbox__item:hover { background: var(--color-paper-2); } a.inbox__item.is-unread:hover { background: var(--color-peach); } }
.steps { display: grid; gap: var(--space-xs); padding-left: var(--space-lg); list-style: decimal; color: var(--color-ink-2); }

/* ---------- Reduced motion: every moving part lands at its end state ---------- */
@media (prefers-reduced-motion: reduce) {
  .sheet[open], .sheet--center[open], .sheet--center[open] .celebrate__art, .quest.is-fresh .qcard, .toast, .floater { animation: none; }
  .btn, .icon-btn, .fab, .xp__fill, .row-link, a.hud__chip, .switch input::after, .toast.is-leaving, .day__num, .tab__icon { transition: none; }
  .btn:active, .icon-btn:active, .fab:active, a.hud__chip:active, .row-link:active, button.badge__medal:active, button.badge__medal:hover, .tab:active .tab__icon, .day:active .day__num { transform: none; }
}
