/* Account actions and status language shared by the directory and player pages. */
.site-header .steam-account .steam-auth-button { min-width:44px; min-height:44px; flex-shrink:0; }
.site-header .rh-account-coins { border-radius:50%; }
.site-header .rh-account-coins .steam-auth-image { aspect-ratio:1; object-fit:contain; }
.site-header .rh-account-coins:focus-visible { outline:2px solid #ff754e; outline-offset:3px; }
.site-header .rh-account-coins[aria-current=page] { filter:drop-shadow(0 0 6px #e34b2566); }

.rh-coin-badge.is-cooldown { color:#ffb2b7; background:#310f17ed; border-color:#b74654; }
.rh-coin-badge.is-cooldown .rh-coin-badge-dot { background:#ff6978; }
.rh-vote-button.is-cooldown,
.rh-card-vote-button.is-cooldown,
.rr-button.is-cooldown { background:#421721; color:#ffbdc2; border:1px solid #b24453; opacity:1; }
.rh-vote-button.is-cooldown:hover,
.rh-card-vote-button.is-cooldown:hover,
.rr-button.is-cooldown:hover { background:#5a1e2b; border-color:#f17280; color:#fff; }
.rr-vote .is-cooldown { color:#ffbdc2; }
.rh-vote-state.is-recorded { color:#ffb2b7; background:#36121c; border-color:#a63e4d; }
.rh-vote-state.is-recorded::before { background:#ff6978; }
.rh-vote-timer { border-color:#80333f; background:#1d1118; }
.rh-vote-timer .rh-vote-clock strong,
.rh-vote-timer > p { color:#ffb2b7; }
[data-vote-form] [data-vote-submit]:disabled { background:#421721; border-color:#b24453; color:#ffbdc2; opacity:1; }
.rh-card-vote-button { min-height:38px; text-decoration:none; text-align:center; }

/* A stable status section on every owned card; updates are visible without opening it. */
.rh-card-plugin { display:flex; flex-direction:column; gap:10px; margin:16px 0 0; padding:15px; min-height:150px; border:1px solid #34424a; border-radius:7px; background:#101b21; }
.rh-card-plugin__heading { display:flex; align-items:center; gap:8px; min-height:22px; }
.rh-card-plugin__heading strong { font-size:14px; line-height:1.4; color:#edf2f5; }
.rh-card-plugin__dot { flex:0 0 7px; width:7px; height:7px; border-radius:50%; background:#94a7b2; }
.rh-card-plugin p { margin:0; color:#a9bdc8; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.rh-card-plugin__button { display:flex; align-items:center; justify-content:center; min-height:44px; padding:9px 12px; margin-top:auto; border:1px solid #465b66; border-radius:5px; background:#15242c; color:#eaf0f4; font-size:12px; font-weight:750; line-height:1.4; text-decoration:none; }
.rh-card-plugin__button:hover { background:#21343f; border-color:#718a96; }
.rh-card-plugin__button:focus-visible { outline:2px solid #ff8b6a; outline-offset:3px; }
.rh-card-plugin.is-current .rh-card-plugin__dot { background:#59d4a6; }
.rh-card-plugin.is-current .rh-card-plugin__heading strong { color:#92e6c3; }
.rh-card-plugin.is-update { background:linear-gradient(120deg,#37141a,#22151a); border-color:#b34950; border-left:3px solid #ff6170; }
.rh-card-plugin.is-update .rh-card-plugin__heading strong { color:#ffb4bc; }
.rh-card-plugin.is-update .rh-card-plugin__dot { background:#ff6978; }
.rh-card-plugin.is-update .rh-card-plugin__button { background:#bd3547; color:#fff; border-color:#dc5061; }
.rh-card-plugin.is-update .rh-card-plugin__button:hover { background:#d23d51; }
.rh-card-plugin.is-update p { color:#e0b8bd; }
.rh-card-plugin.is-setup,.rh-card-plugin.is-disabled,.rh-card-plugin.is-unknown { border-left:3px solid #d8964e; }
.rh-card-plugin.is-setup .rh-card-plugin__dot,.rh-card-plugin.is-disabled .rh-card-plugin__dot,.rh-card-plugin.is-unknown .rh-card-plugin__dot { background:#efb779; }
.rh-home-server-card.rh-plugin-update-card { border-color:#9d424d; }
.rh-home-server-card.rh-plugin-update-card:hover { border-color:#eb6978; }
.rh-manage-overview-page .rh-card-voting { margin-top:16px; }

/* Voting & coins contains pool controls; installation lives in Server connection. */
.rh-prize-spins .rh-reward-control__spins { border-top:0; }
.rh-prize-spins .rh-reward-control__footer { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:10px; padding:16px 20px; }
.rh-prize-spins .rh-reward-control__button { min-height:44px; text-decoration:none; }
.rh-prize-spins__notice { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 20px; border-top:1px solid #2d3b43; }
.rh-prize-spins__notice p { margin:0; color:#b1c0c9; font-size:13px; line-height:1.6; }
.rh-prize-spins__notice a { flex-shrink:0; }
.rh-prize-spins > .rh-reward-control__hint,.rh-prize-spins > .rh-reward-control__warning { margin:0; padding:14px 20px; }
#plugin-update { scroll-margin-top:100px; }

@media(max-width:600px) {
 .site-header .steam-account { gap:7px; max-width:100%; }
 .site-header .steam-user { max-width:100px; min-width:0; }
 .site-header .steam-account .steam-auth-image { height:40px; }
 .rh-card-vote-button { min-height:44px; }
 .rh-prize-spins__notice { align-items:stretch; flex-direction:column; }
 .rh-prize-spins .rh-reward-control__footer { flex-direction:column; }
}
@media(max-width:360px) { .site-header .steam-user { max-width:76px; } .site-header .steam-account { gap:5px; } }
