.platform-header { justify-content: space-between; gap: 16px; }
.account-main { padding-top: 48px; }
.account-panel { width: 100%; max-width: 440px; margin: 12px auto; padding: 28px; background: #0e1218; border: 1px solid #242933; border-radius: 16px; }
.account-panel h1 { margin-bottom: 24px; }
.account-panel h2 { font-size: 18px; margin: 28px 0 20px; }
.account-panel label { display: grid; gap: 8px; font-size: 14px; color: #e8e9ee; }
.account-panel form { display: grid; gap: 20px; }
.account-panel input, .account-channel-select { font: inherit; color: #e8e9ee; background: #090c11; border: 1px solid #303541; border-radius: 10px; padding: 12px; width: 100%; min-height: 46px; }
.account-panel input:focus-visible, .account-channel-select:focus-visible, .account-button:focus-visible, .account-dropdown summary:focus-visible, .account-password button:focus-visible { outline: 2px solid #bba5ef; outline-offset: 3px; }
.account-password { display: flex; border: 1px solid #303541; border-radius: 10px; background: #090c11; }
.account-password input { border: 0; min-width: 0; background: transparent; }
.account-password button { border: 0; color: #b8aed0; font: inherit; background: transparent; padding: 8px 12px; cursor: pointer; }
.account-button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; font: inherit; font-size: 14px; color: #e8e9ee; background: #151921; border: 1px solid #303541; border-radius: 10px; padding: 11px 16px; min-height: 44px; cursor: pointer; }
.account-button:hover { border-color: #8d78c3; }
.account-primary { background: #8972c5; border-color: #8972c5; color: white; font-weight: 600; }
.account-button:disabled { opacity: .6; cursor: wait; }
.account-muted { color: #989fac; font-size: 14px; line-height: 1.65; }
.account-error { color: #ff96ad; font-size: 14px; line-height: 1.6; margin: 0; }
.account-success { color: #70d59e; font-size: 14px; }
.account-back { display: inline-block; color: #b6a3e6; font-size: 14px; text-decoration: none; margin-bottom: 24px; }
.account-dropdown { position: relative; font-family: Inter, system-ui, sans-serif; font-size: 14px; color: #e8e9ee; }
.account-dropdown summary { list-style: none; cursor: pointer; padding: 11px 14px; border: 1px solid #303541; background: #10141b; border-radius: 10px; max-width: 240px; overflow-wrap: anywhere; }
.account-dropdown summary::-webkit-details-marker { display: none; }
.account-dropdown summary::after { content: ' ▾'; color: #bba5ef; }
.account-dropdown nav { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10001; width: 232px; padding: 6px; background: #151921; border: 1px solid #303541; border-radius: 12px; box-shadow: 0 12px 40px #0008; }
.account-dropdown nav a, .account-dropdown nav button { display: block; width: 100%; padding: 12px; color: #e8e9ee; background: transparent; border: 0; font: inherit; text-align: left; border-radius: 7px; text-decoration: none; cursor: pointer; }
.account-dropdown nav a:hover, .account-dropdown nav button:hover { background: #282238; }
.account-dropdown nav a:focus-visible, .account-dropdown nav button:focus-visible { outline: 2px solid #bba5ef; }
.account-channel-controls { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-left: auto; }
.account-channel-controls label { font: 13px Inter, system-ui, sans-serif; color: #989fac; }
.account-channel-select { max-width: 330px; font-size: 14px; }
.account-single-channel { color: #e8e9ee; font-size: 15px; font-weight: 600; }
.account-channel-controls .account-feedback { flex-basis: 100%; margin: 0; font-size: 13px; color: #ff96ad; }
.account-nav-guard { padding: 24px; margin: 24px; color: #ffb6c5; background: #20131b; border: 1px solid #63374a; border-radius: 12px; }
body.account-shell #adminTwitchSessionCard { margin-top: 16px; }
body.account-shell #adminLoginForm, body.account-shell #adminLoginCard { display: none; }
body.account-shell #adminLogout, body.account-shell #adminTwitchLogout { display: none; }
@media(max-width: 600px) {
    .account-panel { padding: 22px 20px; margin-top: 0; }
    .account-main { padding-top: 28px; }
    .platform-header { flex-wrap: wrap; }
    .account-dropdown summary { max-width: 170px; }
    .account-channel-controls { width: 100%; margin: 0; gap: 10px; }
    .account-channel-select { max-width: 100%; }
    .account-channel-controls > label { flex: 1 1 100%; min-width: 0; display:grid; gap:6px; }
    .admin-topbar { flex-wrap: wrap !important; }
}
