@view-transition { navigation:auto; }
::view-transition { pointer-events:none; }
::view-transition-old(root) { animation:page-out .16s ease-in both; }
::view-transition-new(root) { animation:page-in .34s cubic-bezier(.22,.8,.24,1) both; }
@keyframes page-out { to { opacity:0;transform:translateY(-5px); } }
@keyframes page-in { from { opacity:0;transform:translateY(12px); }to { opacity:1;transform:none; } }
.animated-segment { position:relative;isolation:isolate; }
.animated-segment > .motion-thumb { position:absolute;left:0;top:0;z-index:0;pointer-events:none;background:var(--cream);border-radius:7px;box-shadow:0 1px 4px #0002; }
.animated-segment > button { position:relative;z-index:1;transition:color .18s; }
.animated-segment.animated-segment > button[aria-pressed=true],
.animated-segment.animated-segment > button[aria-selected=true],
.animated-segment.animated-segment > button[aria-checked=true],
.animated-segment.animated-segment > button.active { background:transparent;border-color:transparent;color:#1b1c1e; }
.animated-segment.catalog-categories > .motion-thumb,
.animated-segment.catalog-brands > .motion-thumb,
.animated-segment.profile-tabs > .motion-thumb { background:var(--accent-soft);border:1px solid #fa604b30;border-radius:10px;box-shadow:none; }
.animated-segment.dashboard-nav > .motion-thumb { background:#fa604b16;border:1px solid #fa604b30;border-radius:9px;box-shadow:none; }
.animated-segment.dashboard-nav.animated-segment > button.active { color:#ffa08e; }
.animated-segment.catalog-categories > button.active,
.animated-segment.catalog-brands > button.active,
.animated-segment.profile-tabs > button[aria-selected=true] { color:var(--accent); }
.animated-segment > .motion-thumb[hidden] { display:none; }
.period-switch > .period-switch-thumb { display:none; }
@media (prefers-reduced-motion:reduce) {
 ::view-transition-old(root),::view-transition-new(root) { animation:none; }
 .animated-segment > button { transition:none; }
}
