/* Shared realm action buttons. Selection controls and admin actions retain their states. */
body .button,body .connect-download,body .connect-realmlist button,body [data-copy-realmlist],body .community-donate,body .auth-action,body.player-view .account-actions a:not([href='/admin']),body.player-view form button:not(.password-toggle):not([role='checkbox']),body.player-view .cards button,body.vote-view .vote-button,body.vote-view .vote-actions button,body.vote-view .vote-check,body .shop-product>button:not(.shop-details-link),body .shop-checkout,body .shop-quantity button,body .armory-search button,body .pagination button:not([aria-current]):not(.active),body #cookie-form button{border:1px solid #9c8256!important;border-radius:4px!important;background:repeating-linear-gradient(115deg,#ffffff03 0 1px,transparent 1px 5px),linear-gradient(#3c3426,#28251f)!important;color:#f0d9a7!important;box-shadow:inset 0 1px #fff2,inset 0 0 0 2px #12171d55,0 3px 8px #0003!important;font-family:'Segoe UI',sans-serif;font-weight:600;line-height:1.4;text-decoration:none;text-align:center;transition:border-color .18s,box-shadow .18s,filter .18s}
body .button:hover:not(:disabled),body .connect-download:hover:not(:disabled),body .connect-realmlist button:hover:not(:disabled),body [data-copy-realmlist]:hover:not(:disabled),body .community-donate:hover:not(:disabled),body .auth-action:hover:not(:disabled),body.player-view .account-actions a:not([href='/admin']):hover:not(:disabled),body.player-view form button:not(.password-toggle):not([role='checkbox']):hover:not(:disabled),body.player-view .cards button:hover:not(:disabled),body.vote-view .vote-button:hover:not(:disabled),body.vote-view .vote-actions button:hover:not(:disabled),body.vote-view .vote-check:hover:not(:disabled),body .shop-product>button:not(.shop-details-link):hover:not(:disabled),body .shop-checkout:hover:not(:disabled),body .shop-quantity button:hover:not(:disabled),body .armory-search button:hover:not(:disabled),body .pagination button:not([aria-current]):not(.active):hover:not(:disabled),body #cookie-form button:hover:not(:disabled){border-color:#dbb86f!important;background:repeating-linear-gradient(115deg,#ffffff04 0 1px,transparent 1px 5px),linear-gradient(#50422b,#332c20)!important;color:#fff0c9!important;box-shadow:inset 0 1px #fff2,0 0 13px #d5aa4b20!important}
body .button:focus-visible,body .connect-download:focus-visible,body .connect-realmlist button:focus-visible,body [data-copy-realmlist]:focus-visible,body .community-donate:focus-visible,body .auth-action:focus-visible,body.player-view .account-actions a:not([href='/admin']):focus-visible,body.player-view form button:not(.password-toggle):not([role='checkbox']):focus-visible,body.player-view .cards button:focus-visible,body.vote-view .vote-button:focus-visible,body.vote-view .vote-actions button:focus-visible,body.vote-view .vote-check:focus-visible,body .shop-product>button:not(.shop-details-link):focus-visible,body .shop-checkout:focus-visible,body .shop-quantity button:focus-visible,body .armory-search button:focus-visible,body .pagination button:not([aria-current]):not(.active):focus-visible,body #cookie-form button:focus-visible{outline:2px solid #a8d9ed;outline-offset:3px}
body .button:disabled,body .connect-download:disabled,body .connect-realmlist button:disabled,body [data-copy-realmlist]:disabled,body .community-donate:disabled,body .auth-action:disabled,body.player-view .account-actions a:not([href='/admin']):disabled,body.player-view form button:not(.password-toggle):not([role='checkbox']):disabled,body.player-view .cards button:disabled,body.vote-view .vote-button:disabled,body.vote-view .vote-actions button:disabled,body.vote-view .vote-check:disabled,body .shop-product>button:not(.shop-details-link):disabled,body .shop-checkout:disabled,body .shop-quantity button:disabled,body .armory-search button:disabled,body .pagination button:not([aria-current]):not(.active):disabled,body #cookie-form button:disabled{opacity:.45;cursor:not-allowed;filter:saturate(.45)}
.connect-download{padding:11px 18px;min-height:40px;box-sizing:border-box}.connect-realmlist button{padding:11px 18px}
@media(prefers-reduced-motion:reduce){body .button,body .connect-download,body .connect-realmlist button,body [data-copy-realmlist],body .community-donate,body .auth-action,body.player-view .account-actions a:not([href='/admin']),body.player-view form button:not(.password-toggle):not([role='checkbox']),body.player-view .cards button,body.vote-view .vote-button,body.vote-view .vote-actions button,body.vote-view .vote-check,body .shop-product>button:not(.shop-details-link),body .shop-checkout,body .shop-quantity button,body .armory-search button,body .pagination button:not([aria-current]):not(.active),body #cookie-form button{transition:none}}

body .pagination .pagination-direction{min-width:min(96px,100%);max-width:100%;box-sizing:border-box;text-align:center;justify-content:center;white-space:normal;overflow-wrap:anywhere;padding-inline:10px}

body .pagination .pagination-direction{min-height:32px;padding:6px 8px;font-size:11px}

/* Connection guide: secondary utility action beside the realmlist. */
body .connect-realmlist .connect-command-row{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:14px 0 4px}
body .connect-command-row code{margin:0;min-width:0;overflow-wrap:anywhere}
body .connect-realmlist button.connect-copy{flex:0 0 auto;min-height:30px;padding:5px 11px;font-size:11px;border-color:#71879c60!important;background:#192736!important;color:#b9cddd!important;box-shadow:none!important;text-transform:none;letter-spacing:0}
body .connect-realmlist button.connect-copy:hover:not(:disabled){background:#22364a!important;border-color:#99b2ca!important;color:#e0ecf5!important;box-shadow:none!important}
body .connect-guide>.connect-create-account{margin-top:24px;font-size:12px;padding:10px 20px}
.connect-realmlist>.hint:empty{display:none}
