/* A2 SL1 (2026-10-25) Slither Rush: T15 entry button, T17 controls choice, T18 close button, T19 room background, T20 one scroll */
/* T15: world entry button is bright and readable; before the rules box is ticked it stays readable and a hint shows */
.ww-confirm [data-world-enter]{position:sticky;bottom:0;z-index:2;margin-top:14px;padding:15px 14px;border:1px solid #b9ffd6!important;border-radius:12px;
  background:linear-gradient(180deg,#8ff0b9,#46c98a)!important;color:#04251a!important;font:800 16px/1.2 Arimo,system-ui,sans-serif!important;
  letter-spacing:.01em;text-shadow:none!important;opacity:1!important;box-shadow:0 -16px 18px -4px #172821,0 8px 24px #46c98a33!important;cursor:pointer}
.ww-confirm [data-world-enter]:hover{filter:brightness(1.06)}
.ww-confirm [data-world-enter]:focus-visible{outline:3px solid #f1c98a;outline-offset:2px}
.ww-confirm [data-world-enter][data-sl-pending]{background:linear-gradient(180deg,#3f6e55,#2f5a44)!important;color:#f3fff8!important;border-color:#8ff0b9!important}
.sl-entry-hint{display:flex;align-items:center;gap:8px;margin:8px 0 0 30px;color:#f1c98a;font:600 13px/1.4 Arimo,system-ui,sans-serif}
.sl-entry-hint::before{content:'\2191';font-weight:800}
.sl-entry-hint[hidden]{display:none!important}
/* T17: «Мышь / Клавиатура» in the window's own style (neutral), the chosen one is gold like the headings */
.sl-entry-rules fieldset:not(.sl-skins) label{background:#ffffff08!important;border:1px solid #ffffff26!important;color:#efe9ee!important;transition:border-color .15s,background-color .15s}
.sl-entry-rules fieldset:not(.sl-skins) label:hover{border-color:#ffffff52!important}
.sl-entry-rules fieldset:not(.sl-skins) label:has(input:checked){border-color:#f0c56a!important;background:#f0c56a1c!important;color:#fff!important}
.sl-entry-rules fieldset:not(.sl-skins) input{accent-color:#f0c56a!important}
/* T20: one scroll (the window), the rules block grows with its content */
.sl-entry-rules{max-height:none!important;overflow:visible!important}
/* T18: close button of the room window: a clear cross */
.so-overlay [data-so-close]{font:700 18px/1 Arimo,system-ui,sans-serif!important;min-width:40px;min-height:40px}
/* T19: soft moving worms behind the room window (only while no match is drawn; off with reduced motion) */
.so-overlay:not(.has-snapshot){overflow:hidden}
.so-overlay:not(.has-snapshot)::before{content:'';position:absolute;left:0;top:0;width:calc(100% + 720px);height:calc(100% + 480px);
  background:url(/assets/a2/snakes-bg.svg?v=a2-9902eae8) 0 0/720px 480px repeat;opacity:.13;pointer-events:none;z-index:0;
  animation:a2-snakes 80s linear infinite;will-change:transform}
.so-overlay:not(.has-snapshot)>canvas{visibility:hidden}
@keyframes a2-snakes{to{transform:translate3d(-720px,-480px,0)}}
@media (prefers-reduced-motion:reduce){.so-overlay:not(.has-snapshot)::before{animation:none}}
@media (max-width:640px){.so-overlay:not(.has-snapshot)::before{opacity:.1}}
