/* Menu feedback is independent of positioning transforms, camera controls and inventory dragging. */
:where(#ysj .btn,#ysj .mod,#ysj .world-filter,#menu .mbtns button,#ui button,.scr .btn,.game-button,.world-entry,.world-rename,.world-delete,.world-advanced summary) {
  transition:scale 155ms cubic-bezier(.18,.8,.24,1.22),background-color 130ms ease,color 130ms ease;
}
:where(#ysj .btn,#ysj .mod,#ysj .world-filter,#menu .mbtns button,#ui button,.scr .btn,.game-button,.world-entry,.world-rename,.world-delete,.world-advanced summary):active:not(:disabled) {
  scale:.975; transition-duration:55ms;
}
:where(button,summary,[role=button],input,select):focus-visible {
  outline:2px solid #ffe499; outline-offset:2px;
}
.yc-tap-mark {position:fixed;z-index:2147483646;width:14px;height:14px;pointer-events:none;
  border:2px solid #ffedc3;box-shadow:0 0 0 1px #24313299;box-sizing:border-box;border-radius:3px;
  animation:yc-tap-confirm 215ms cubic-bezier(.18,.7,.19,1) both}
@keyframes yc-tap-confirm {0%{opacity:.88;transform:translate(-50%,-50%) rotate(45deg) scale(.55)}100%{opacity:0;transform:translate(-50%,-50%) rotate(45deg) scale(1.8)}}
@media(max-width:680px) {
  #create-world .create-layout {grid-template-columns:minmax(0,1fr)}
  #create-world .world-preview-card {display:none}
}
@media(max-width:415px) {
  #create-world .world-options {grid-template-columns:minmax(0,1fr)}
}
@media(max-height:310px) and (min-width:440px) {
  #home .home-content {top:51%;display:flex;align-items:center;justify-content:center;gap:4%;width:90%}
  #home .title {width:38%;min-width:0}
  #home #title-art {max-width:100%}
  #home .main-menu {width:52%;margin:0;gap:5px}
  #home .menu-secondary {gap:5px}
  #home footer {bottom:3px;pointer-events:none}
}
.world-advanced {border-top:1px solid #788c79;padding-top:4px}
.world-advanced summary {cursor:pointer;padding:10px 2px;font-weight:bold}
.world-advanced summary small {font-weight:normal;opacity:.78;margin-inline-start:.6em}
.world-advanced-fields {display:grid;gap:10px;padding:6px 2px}
@media(prefers-reduced-motion:no-preference) {
  #ysj .content>:is(.home,.list,.about,.recs),#ysj .det .cov,.world-advanced[open] .world-advanced-fields {
    animation:yc-menu-reveal 210ms cubic-bezier(.2,.75,.24,1) both;
  }
  @keyframes yc-menu-reveal {from{opacity:.35;translate:0 5px}to{opacity:1;translate:0 0}}
}
@media(prefers-reduced-motion:reduce) {
  :where(#ysj .btn,#ysj .mod,#ysj .world-filter,#menu .mbtns button,#ui button,.scr .btn,.game-button,.world-entry,.world-rename,.world-delete,.world-advanced summary) {transition:none}
}
