/* Shared interaction motion across all portal pages. */
:root { --ui-motion-ease:cubic-bezier(.22,1,.36,1); }
@keyframes ui-enter { from { opacity:.85; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes ui-dialog-enter { from { opacity:0; transform:translateY(12px) scale(.975); } to { opacity:1; transform:none; } }
@keyframes ui-backdrop-enter { from { opacity:0; } to { opacity:1; } }
@keyframes ui-heart-pop { 0% { transform:scale(.7); } 55% { transform:scale(1.22); } 100% { transform:scale(1); } }
@keyframes ui-icon-enter { from { transform:translateX(-3px) scale(.9); } to { transform:none; } }
@keyframes ui-lab-float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
.account-content,.support-workspace,.community-composer-area,.community-search-result,.laboratory-page { animation:ui-enter 300ms var(--ui-motion-ease) both; }
.community-post,.account-row-list article,.account-profile-field,.ai-plan { animation:ui-enter 300ms var(--ui-motion-ease) both; }
.community-post:nth-child(2),.account-row-list article:nth-child(2),.account-profile-field:nth-child(2) { animation-delay:35ms; }
.community-post:nth-child(3),.account-row-list article:nth-child(3),.account-profile-field:nth-child(3) { animation-delay:70ms; }
.community-post:nth-child(n+4),.account-row-list article:nth-child(n+4) { animation-delay:100ms; }
.account-user-image,.community-draft-file,.community-preview-body>img { animation:ui-enter 220ms var(--ui-motion-ease) both; }
html.motion-transitioning :is(.account-content,.support-workspace,.community-composer-area,.community-search-result,.laboratory-page,.community-post,.account-row-list article,.account-profile-field,.ai-plan,.account-user-image) { animation:none; }
.button,.icon-button,.community-social-actions button,.community-compose-shortcuts button,.community-upload-label,.community-feed-sort a,.primary-nav a,.account-sidebar a,.text-link { position:relative; isolation:isolate; transition:color 160ms ease,background 160ms ease,border-color 180ms ease,box-shadow 200ms ease,transform 200ms var(--ui-motion-ease); }
.button,.icon-button,.community-social-actions button,.community-compose-shortcuts button,.community-feed-sort a,.primary-nav a,.account-sidebar nav a { overflow:hidden; }
.button:hover:not(:disabled),.icon-button:hover:not(:disabled) { transform:translateY(-2px); }
.button:active:not(:disabled),.icon-button:active:not(:disabled),.community-social-actions button:active:not(:disabled) { transform:scale(.96); }
.community-post { transition:background 180ms ease; }
.community-social-actions button:hover>.account-icon,.community-compose-shortcuts button:hover>.account-icon,.account-sidebar a:hover>.account-icon { transform:scale(1.08); }
.account-icon { transition:transform 200ms var(--ui-motion-ease),color 160ms ease; }
.community-social-actions .is-liked svg { animation:ui-heart-pop 360ms var(--ui-motion-ease); }
.account-sidebar nav a.is-active>.account-icon { animation:ui-icon-enter 250ms var(--ui-motion-ease); }
.community-feed-sort a::after { transition:width 200ms var(--ui-motion-ease),opacity 180ms ease; }
.community-preview-dialog[open],.ai-customer-dialog[open] { animation:ui-dialog-enter 250ms var(--ui-motion-ease) both; }
.community-preview-dialog::backdrop,.ai-customer-dialog::backdrop,.modal-overlay { animation:ui-backdrop-enter 180ms ease both; }
.modal-dialog { animation:ui-dialog-enter 260ms var(--ui-motion-ease) both; }
.notice-bar:not([hidden]),#account-profile-status:not(:empty),.redemption-feedback:not(:empty) { animation:ui-enter 220ms var(--ui-motion-ease) both; }
.laboratory-orbit { animation:ui-lab-float 4s ease-in-out infinite; }
.site-forms :is(input,textarea,select) { transition:border-color 180ms ease,box-shadow 180ms ease,background 180ms ease; }
.account-row-list article { transition:background 180ms ease; }
.account-row-list article:hover { background:#f5f8fc; }
.community-image { transition:box-shadow 200ms ease,border-color 180ms ease; }
.community-image:hover { border-color:#b4cdea; box-shadow:0 6px 20px #1877f20a; }
.community-file,.plugin-file-row,.account-quick-links a { transition:background 180ms ease,border-color 180ms ease; }
.motion-paused :is(.account-content,.support-workspace,.community-composer-area,.community-post,.account-row-list article,.account-profile-field,.account-user-image,.laboratory-orbit) { animation:none!important; }
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  .button:hover,.icon-button:hover,.community-social-actions button:active,.laboratory-orbit { transform:none!important; }
}
