:root {
  --background: #1b1b1d;
  --panel: #1b1b1d;
  --accent: #9b6cff;
  --text: #c8c8ca;
  --blue: #2878bb;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  min-height: 620px;
}

.register-panel {
  position: absolute;
  left: 50%;
  top: 13.35vh;
  transform: translateX(-50%);
  width: 660px;
  height: 570px;
  background: rgba(27, 27, 29, 0.95);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  padding: 0 49px;
}

.panel-header {
  width: 100%;
  margin: 0;
  padding-top: 58px;
  text-align: center;
}

.panel-header h1 {
  width: 100%;
  margin: 0 0 9px;
  text-align: center;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  text-shadow: 0 0 1px rgba(155, 108, 255, 0.42);
}

.panel-header p {
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
}

.panel-header a {
  color: #d3d3d5;
  text-decoration: none;
}
.panel-header a.blue { color: var(--blue); }

form {
  width: 562px;
  margin-top: 47px;
}

input {
  display: block;
  width: 100%;
  height: 70px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: rgba(29, 29, 31, 0.31);
  color: #d4d4d5;
  font: 14px Arial, Helvetica, sans-serif;
  text-align: center;
  box-shadow: none;
}

input + input { margin-top: 1px; }
input::placeholder { color: #bfc0c3; opacity: 1; }
input:focus { background: rgba(31, 31, 33, 0.55); }

button {
  display: block;
  width: 562px;
  height: 34px;
  margin-top: 24px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: #202326;
  color: #ad8aff;
  font: 14px Arial, Helvetica, sans-serif;
  cursor: pointer;
}
button:hover, button:focus-visible { background: #24272a; }
button:active { background: #1c1f21; }

@media (max-width: 720px) {
  body { overflow: auto; }
  .page { min-height: 700px; }
  .register-panel {
    top: 50px;
    width: calc(100% - 32px);
    height: 570px;
    padding: 0 24px;
  }
  .panel-header { width: 100%; margin: 0; text-align: center; }
  form, button { width: 100%; }
}

/* Login page */
.login-panel {
  position: absolute;
  left: 50%;
  top: 22.85vh;
  transform: translateX(-50%);
  width: 644px;
  height: 486px;
  padding: 0;
  background: rgba(27, 27, 29, 0.95);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.login-header {
  width: 100%;
  padding-top: 48px;
  text-align: center;
}

.login-header h1 {
  margin: 0;
  color: var(--accent);
  font-size: 27px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 8px;
  text-indent: 8px;
  text-align: center;
}

.login-header .site-name {
  margin: 13px 0 0;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  text-align: center;
}

.account-links {
  margin-top: 4px;
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  text-align: center;
}

.account-links a {
  color: var(--accent);
  text-decoration: none;
}

.account-links a:hover,
.account-links a:focus-visible {
  text-decoration: underline;
}

.login-form {
  width: 644px;
  margin: 41px 0 0;
}

.login-form input {
  height: 80px;
  padding: 0 24px;
  background: rgba(29, 29, 31, 0.24);
  color: #d4d4d5;
}

.login-form input + input {
  margin-top: 0;
}

.login-form button {
  width: 644px;
  height: 37px;
  margin-top: 0;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 5px;
  text-indent: 5px;
}

@media (max-width: 720px) {
  .login-panel {
    top: 50px;
    width: calc(100% - 32px);
    height: 486px;
  }

  .login-form,
  .login-form button {
    width: 100%;
  }
}

/* Dashboard */
body.dashboard-body { overflow: auto; }
.dashboard-page {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  padding: 54px 42px;
}
.dashboard-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 26px;
  background: rgba(27, 27, 29, 0.95);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  border-bottom: 1px solid rgba(155, 108, 255, 0.28);
}
.dashboard-brand {
  color: var(--accent);
  font-size: 20px;
  letter-spacing: 6px;
  text-indent: 6px;
  font-weight: 400;
}
.dashboard-user {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a9a9ad;
}
.avatar-small, .profile-avatar {
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: #202024;
  overflow: hidden;
}
.avatar-small { width: 34px; height: 34px; border-radius: 50%; }
.avatar-small img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.dashboard-card {
  background: rgba(27, 27, 29, 0.96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255,255,255,0.025);
  padding: 26px;
}
.dashboard-card h2 {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.profile-card { min-height: 356px; }
.profile-layout { display: grid; grid-template-columns: 120px 1fr; gap: 24px; }
.profile-avatar { width: 112px; height: 112px; border-radius: 50%; font-size: 34px; }
.profile-fields label, .shout-compose label {
  display: block;
  margin-bottom: 7px;
  color: #8e8e94;
  font-size: 12px;
}
.profile-fields input, .profile-fields textarea, .shout-compose textarea {
  width: 100%;
  height: 42px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #29292e;
  background: #1e1e22;
  color: #d8d8dc;
  text-align: left;
}
.profile-fields textarea, .shout-compose textarea { height: 78px; resize: vertical; }
.profile-actions { display: flex; gap: 10px; }
.profile-actions button, .download-button, .shout-compose button {
  width: auto;
  min-width: 132px;
  height: 36px;
  margin: 0;
  padding: 0 18px;
  color: var(--accent);
}
.file-label {
  display: block;
  width: 112px;
  margin-top: 10px;
  padding: 7px 5px;
  border: 1px solid #33333a;
  color: #9e9ea4;
  font-size: 11px;
  text-align: center;
  cursor: pointer;
}
.file-label input { display: none; }
.download-card { min-height: 356px; display: flex; flex-direction: column; }
.download-hero {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid #29292e;
  background: #1e1e22;
  padding: 32px;
}
.download-icon { color: var(--accent); font-size: 52px; line-height: 1; }
.download-hero h3 { margin: 17px 0 8px; color: #d1d1d5; font-size: 20px; font-weight: 400; }
.download-hero p { margin: 0 0 22px; max-width: 360px; color: #85858c; line-height: 1.6; }
.download-meta { margin-top: 12px; color: #66666c; font-size: 11px; }
.shoutbox-card { grid-column: 1 / -1; }
.shoutbox {
  height: 260px;
  overflow-y: auto;
  padding: 4px 10px 4px 0;
}
.shout-message {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid #27272c;
}
.shout-avatar { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #34343a; display: grid; place-items: center; color: var(--accent); }
.shout-name { color: #cfcfd3; font-size: 13px; }
.shout-text { margin-top: 5px; color: #8e8e95; line-height: 1.45; word-break: break-word; }
.shout-time { color: #5f5f66; font-size: 11px; }
.shout-compose { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; margin-top: 18px; }
.shout-compose textarea { margin: 0; height: 52px; }
.shout-compose button { height: 52px; }
.status-note { min-height: 18px; margin-top: 9px; color: var(--accent); font-size: 12px; }
@media (max-width: 800px) {
  .dashboard-page { padding: 24px 16px; }
  .dashboard-topbar { padding: 0 18px; }
  .dashboard-brand { font-size: 15px; letter-spacing: 4px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .shoutbox-card { grid-column: auto; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-avatar, .file-label { margin-left: auto; margin-right: auto; }
  .shout-compose { grid-template-columns: 1fr; }
  .shout-compose button { width: 100%; }
}

/* PHP application */
body.app-page { overflow: auto; min-height: 100vh; }
.auth-wrap { position: relative; z-index: 1; min-height: 100vh; }
.form-error { position: relative; z-index: 2; margin: 14px auto -26px; max-width: 560px; color: #e6a0ad; text-align: center; font-size: 13px; }
.login-panel .form-error { margin-bottom: -34px; }
.topbar { position: sticky; top: 0; z-index: 20; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 5vw; background: rgba(24,24,27,.92); border-bottom: 1px solid rgba(155,108,255,.25); backdrop-filter: blur(12px); }
.topbar .brand { color: #eee; font-size: 15px; letter-spacing: 4px; text-decoration: none; }
.topbar .brand span { color: var(--accent); }
.topbar nav { display: flex; align-items: center; gap: 24px; }
.topbar nav a { position: relative; color: #bfc0c5; text-decoration: none; font-size: 13px; }
.topbar nav a:hover { color: var(--accent); }
.count { position: absolute; top: -9px; right: -13px; min-width: 17px; height: 17px; border-radius: 10px; padding: 0 5px; background: var(--accent); color: #171719; font-size: 10px; line-height: 17px; text-align: center; font-weight: 700; }
.flash { position: fixed; z-index: 50; top: 78px; left: 50%; transform: translateX(-50%); width: min(520px,calc(100% - 32px)); padding: 12px 18px; border: 1px solid var(--accent); background: #202025; box-shadow: 0 8px 30px rgba(0,0,0,.45); text-align: center; }
.flash.error { border-color: #b75f71; color: #efb0bb; }
.dashboard-shell,.wide-shell,.narrow-shell { position: relative; z-index: 1; width: min(1180px,calc(100% - 40px)); margin: 46px auto 80px; }
.narrow-shell { width: min(780px,calc(100% - 40px)); }
.welcome-card,.app-card { background: rgba(27,27,29,.95); border: 1px solid rgba(155,108,255,.16); box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.welcome-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 38px; margin-bottom: 22px; }
.welcome-card h1,.app-card h1,.app-card h2 { margin: 0; color: #e6e6e8; font-weight: 400; }
.welcome-card h1 { font-size: 28px; }
.welcome-card p,.app-card p { color: #9899a1; line-height: 1.6; }
.eyebrow { margin: 0 0 8px!important; color: var(--accent)!important; font-size: 11px; letter-spacing: 3px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 22px; }
.app-card { padding: 30px; }
.app-card h2 { font-size: 19px; }
.button-link { display: inline-flex; min-width: 130px; height: 38px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--accent); background: #222329; color: #bca5ff; text-decoration: none; }
.button-link.secondary { margin-top: 14px; }
.role-badge { display: inline-flex; vertical-align: middle; align-items: center; height: 18px; padding: 0 7px; margin-left: 7px; border-radius: 2px; font-size: 9px; letter-spacing: 1px; font-weight: 700; }
.role-badge.admin { border: 1px solid var(--accent); color: #c6b1ff; background: rgba(155,108,255,.13); }
.role-badge.user { border: 1px solid #55575f; color: #9b9ca2; }
.shout-card { padding-bottom: 22px; }
.shout-list { max-height: 440px; overflow-y: auto; margin-top: 20px; border-top: 1px solid #292a30; }
.shout-message { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; padding: 17px 5px; border-bottom: 1px solid #292a30; }
.shout-avatar { width: 38px; height: 38px; display: grid; place-items: center; background: #25252b; border: 1px solid rgba(155,108,255,.45); color: var(--accent); }
.shout-name { color: #e1e1e3; margin-bottom: 5px; }
.shout-text { color: #a8a9ae; line-height: 1.5; overflow-wrap: anywhere; }
.shout-message time { color: #6f7078; font-size: 11px; }
.shout-form { display: grid; grid-template-columns: 1fr 110px; gap: 10px; width: 100%; margin-top: 18px; }
.shout-form input,.stack-form input,.stack-form textarea { width: 100%; height: 42px; padding: 0 14px; background: #202025; border: 1px solid #303139; color: #ddd; text-align: left; }
.shout-form button { width: 110px; height: 42px; margin: 0; }
.stack-form { width: 100%; margin: 28px 0 0; }
.stack-form label { display: block; margin-bottom: 18px; color: #aaaab0; }
.stack-form label input,.stack-form label textarea { display: block; margin-top: 8px; }
.stack-form textarea { min-height: 140px; padding: 13px 14px; resize: vertical; font: inherit; }
.stack-form button { width: 100%; }
.section-heading { display: flex; justify-content: space-between; align-items: center; }
.empty { padding: 24px 0; color: #777983!important; }
.inbox-list { margin-top: 25px; }
.inbox-item { position: relative; padding: 22px; margin-bottom: 12px; border: 1px solid #303139; background: #202025; }
.inbox-item.unread { border-left: 3px solid var(--accent); }
.inbox-meta { display: flex; justify-content: space-between; gap: 20px; }
.inbox-meta strong { color: #e2e2e4; }
.inbox-meta span { color: #777982; font-size: 11px; }
.invite-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding: 12px; background: #18181b; border: 1px dashed rgba(155,108,255,.55); }
.invite-code code { color: #c8b7ff; font-size: 14px; letter-spacing: 1px; }
.invite-code span { margin-left: auto; color: #777982; font-size: 11px; }
.copy-code,.small-button { width: auto; height: 30px; margin: 0; padding: 0 12px; font-size: 11px; letter-spacing: 1px; }
.inbox-item form { width: auto; margin: 14px 0 0; }
.user-table-wrap { overflow-x: auto; margin-top: 28px; }
.user-table { width: 100%; border-collapse: collapse; }
.user-table th,.user-table td { padding: 15px; border-bottom: 1px solid #303139; text-align: left; }
.user-table th { color: var(--accent); font-size: 11px; letter-spacing: 1px; font-weight: 400; }
.user-table td small { display: block; margin-top: 4px; color: #777982; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-actions form { width: auto; margin: 0; }
.small-button.danger { border-color: #a55568; color: #d88a9c; }
@media(max-width:800px){.topbar{align-items:flex-start;flex-direction:column;padding:16px 20px}.topbar nav{gap:14px;flex-wrap:wrap}.dashboard-grid{grid-template-columns:1fr}.welcome-card{align-items:flex-start;flex-direction:column}.inbox-meta{flex-direction:column;gap:6px}.shout-form{grid-template-columns:1fr}.shout-form button{width:100%}}

/* Restored classic dashboard with modal inbox */
.classic-dashboard { width: min(1120px, 100%); margin: 0 auto; }
.classic-dashboard .dashboard-topbar { position: relative; }
.dashboard-brand { text-decoration: none; }
.dashboard-tabs { display: flex; align-items: center; gap: 22px; margin-left: auto; margin-right: 25px; }
.dashboard-tabs a { color: #85858c; text-decoration: none; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.dashboard-tabs a:hover,.dashboard-tabs a.active { color: var(--accent); }
.inbox-icon-button { position: relative; width: 36px; height: 36px; margin: 0; padding: 8px; border: 1px solid #34343b; border-radius: 50%; background: #202024; color: var(--accent); }
.inbox-icon-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.inbox-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 10px; background: var(--accent); color: #171719; font: 700 10px/17px Arial,sans-serif; }
.dashboard-profile-form,.dashboard-shout-form { width: 100%; margin-top: 0; }
.dashboard-download { display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 132px; height: 36px; padding: 0 18px; border: 1px solid var(--accent); background: #202326; color: var(--accent); text-decoration: none; }
.modal-backdrop[hidden] { display: none; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(8,8,10,.72); backdrop-filter: blur(5px); }
.inbox-modal-window { width: min(760px,100%); max-height: min(720px,88vh); display: flex; flex-direction: column; background: #1b1b1f; border: 1px solid rgba(155,108,255,.32); box-shadow: 0 24px 80px rgba(0,0,0,.65); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid #2b2b31; }
.modal-header h2 { margin: 4px 0 0; color: #e1e1e4; font-size: 20px; font-weight: 400; letter-spacing: 2px; }
.modal-eyebrow { color: var(--accent); font-size: 10px; letter-spacing: 3px; }
.modal-close { width: 38px; height: 38px; margin: 0; border: 1px solid #35353d; color: #aaaab1; font-size: 25px; line-height: 1; }
.modal-inbox-list { overflow-y: auto; padding: 20px 24px 24px; }
.modal-inbox-list .inbox-item { margin-bottom: 12px; }
.modal-inbox-list .inbox-item form { width: auto; margin: 14px 0 0; }
body.modal-open { overflow: hidden; }
@media(max-width:800px){.dashboard-tabs{order:3;width:100%;margin:10px 0 0;justify-content:center}.classic-dashboard .dashboard-topbar{flex-wrap:wrap;padding-top:16px;padding-bottom:16px}.dashboard-user{margin-left:auto}.modal-backdrop{padding:10px}.inbox-modal-window{max-height:94vh}.modal-inbox-list{padding:14px}.inbox-meta{flex-direction:column;gap:6px}}

/* Pixel-matched classic dashboard layout */
.dashboard-page {
  padding: 26px 42px 0;
}
.classic-dashboard {
  width: min(1120px, 100%);
  margin: 0 auto;
}
.classic-dashboard .dashboard-topbar {
  min-height: 74px;
  padding: 0 26px;
}
.dashboard-user {
  gap: 14px;
}
.dashboard-username {
  color: #a9a9ad;
  text-decoration: none;
}
.dashboard-username:hover { color: #cfcfd3; }
.admin-tab {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(155,108,255,.38);
  color: var(--accent);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.admin-tab:hover { background: rgba(155,108,255,.08); }
.inbox-icon-button {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-color: #34343a;
  background: transparent;
}
.inbox-icon-button:hover { background: #202024; }
.dashboard-grid {
  grid-template-columns: minmax(0, 760px) minmax(280px, 342px);
  gap: 18px;
  margin-top: 18px;
}
.dashboard-card {
  padding: 26px;
}
.profile-card,
.download-card {
  min-height: 434px;
  height: 434px;
}
.profile-layout {
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
}
.profile-avatar-column { width: 112px; }
.profile-avatar {
  width: 112px;
  height: 112px;
}
.profile-fields {
  padding-top: 48px;
}
.profile-fields input {
  height: 42px;
}
.profile-fields textarea {
  height: 78px;
}
.download-hero {
  min-height: 339px;
  padding: 32px 24px;
}
.download-hero p {
  max-width: 240px;
}
.shoutbox-card {
  min-height: 390px;
}
.shoutbox {
  height: 260px;
}
.role-badge {
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .dashboard-page { padding: 24px 16px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .profile-card,.download-card { height: auto; min-height: 356px; }
  .profile-fields { padding-top: 0; }
  .download-card { grid-column: auto; }
}
@media (max-width: 620px) {
  .dashboard-brand { font-size: 15px; letter-spacing: 4px; }
  .dashboard-user { gap: 8px; }
  .admin-tab { padding: 0 7px; }
  .dashboard-username { display: none; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-avatar-column { margin: 0 auto; }
}

/* Admin page uses the exact dashboard visual system */
.admin-tab.active { background: rgba(155,108,255,.10); }
.admin-dashboard-card {
  margin-top: 18px;
  min-height: 540px;
  padding: 26px;
}
.admin-dashboard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #29292e;
}
.admin-dashboard-heading h2 { margin-bottom: 8px; }
.admin-dashboard-heading p {
  max-width: 650px;
  margin: 0;
  color: #85858c;
  line-height: 1.55;
}
.admin-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #34343a;
  color: #9d9da4;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 1.4px;
}
.admin-return:hover { border-color: var(--accent); color: var(--accent); }
.admin-member-list { margin-top: 4px; }
.admin-member-row {
  display: grid;
  grid-template-columns: 42px minmax(220px,1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 16px 4px;
  border-bottom: 1px solid #29292e;
}
.admin-member-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #34343a;
  border-radius: 50%;
  color: var(--accent);
  background: #202024;
}
.admin-member-name { color: #cfcfd3; font-size: 13px; }
.admin-member-handle { margin-top: 6px; color: #68686f; font-size: 11px; }
.admin-member-row .admin-actions { justify-content: flex-end; }
.admin-member-row .admin-actions button { white-space: nowrap; }
@media (max-width: 760px) {
  .admin-dashboard-heading { flex-direction: column; }
  .admin-member-row { grid-template-columns: 42px 1fr; }
  .admin-member-row .admin-actions { grid-column: 1 / -1; justify-content: flex-start; padding-left: 56px; }
}
@media (max-width: 520px) {
  .admin-member-row .admin-actions { padding-left: 0; }
  .admin-member-row .admin-actions form,
  .admin-member-row .admin-actions button { width: 100%; }
}

.download-button.disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.admin-release-section {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid #29292e;
  background: #1d1d21;
}
.admin-release-copy h2 { margin: 0 0 7px; }
.admin-release-copy p { margin: 0 0 20px; color: #85858c; line-height: 1.55; }
.admin-release-form {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items: end;
}
.admin-release-form label { display: grid; gap: 7px; color: #8d8d94; font-size: 11px; }
.admin-release-form input,
.admin-release-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #303036;
  background: #202024;
  color: #d4d4d8;
  padding: 11px 12px;
  font: inherit;
  outline: none;
}
.admin-release-form input:focus,
.admin-release-form textarea:focus { border-color: var(--accent); }
.admin-release-wide { grid-column: 1 / -1; }
.admin-release-file input { padding: 8px; }
.admin-upload-button { height: 39px; }
.current-release {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 12px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #2b2b30;
}
.current-release span { grid-row: 1 / 3; color: var(--accent); font-size: 9px; letter-spacing: 1.5px; }
.current-release strong { color: #d0d0d4; font-size: 12px; font-weight: 500; }
.current-release small { color: #707077; font-size: 10px; }
@media (max-width: 760px) {
  .admin-release-form { grid-template-columns: 1fr; }
  .admin-release-wide { grid-column: auto; }
}

/* Shoutbox profile pictures */
.shout-avatar {
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 50%;
}
.shout-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
