:root {
  --bg-main: #081a26;
  --bg-panel: #0d1f2d;
  --bg-sidebar: #07141d;
  --yellow: #f5d73d;
  --yellow-strong: #f9dc4e;
  --text: #edf5ff;
  --text-soft: rgba(227, 236, 248, 0.74);
  --line: rgba(255, 255, 255, 0.08);
  --panel-soft: rgba(16, 30, 41, 0.76);
  --input-bg: rgba(255,255,255,0.04);
  --green: #53d98c;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg-main);
  color: var(--text);
  font-family: 'Inter', sans-serif;
}

body {
  min-height: 100vh;
  position: relative;
}

.download-log-popup {
  position: fixed;
  left: 18px;
  top: 18px;
  width: min(340px, calc(100vw - 32px));
  background: rgba(10, 12, 15, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
  color: var(--text);
  z-index: 1000;
  overflow: hidden;
}

.hidden {
  display: none !important;
}

.download-log-popup.hidden {
  display: none;
}

.download-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.02);
}

.download-log-close {
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.download-log-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-log-file {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
  word-break: break-word;
  line-height: 1.4;
}

.download-log-status {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.4;
}

body.login-view .sidebar,
body.login-view .topbar,
body.register-view .sidebar,
body.register-view .topbar {
  display: none;
}

body.login-view .content,
body.register-view .content {
  padding: 0;
}

body.login-view .page-shell,
body.register-view .page-shell {
  padding-top: 0;
}

body.login-view .page,
body.register-view .page {
  min-height: 100vh;
}

#register-page .login-button,
#register-page .login-submit,
#register-page .register-button {
  display: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.app-shell {
  display: flex;
  min-height: 100vh;
  background: var(--bg-main);
}

.sidebar {
  width: 250px;
  min-height: 100vh;
  background: rgba(5, 18, 28, 0.96);
  border-right: 1px solid var(--line);
  padding: 18px 16px 22px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 18px;
  margin-bottom: 18px;
}

.brand-mark,
.topbar-mark,
.footer-mark {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.26), rgba(227, 181, 12, 0.86));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 18px rgba(245, 215, 61, 0.24);
}

.brand-skull img,
.topbar-skull img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.brand-main,
.brand-sub,
.topbar-word,
.hero-copy h1,
.md {
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
}

.brand-main {
  font-size: 2.2rem;
  color: var(--yellow);
  margin-right: 4px;
}

.brand-sub {
  font-size: 1.15rem;
  color: #ffffff;
}

.nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-item:hover {
  transform: translateX(2px);
  background: rgba(255,255,255,0.02);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(245, 215, 61, 0.15), rgba(245, 215, 61, 0.04));
  box-shadow: inset 0 0 0 1px rgba(245, 215, 61, 0.3);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text);
}

.discord-icon {
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.discord-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-label {
  font-size: 1.05rem;
  font-weight: 600;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-4px);
}

.footer-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.26), rgba(227, 181, 12, 0.86));
}

.footer-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-size: 1rem;
  font-weight: 800;
}

.footer-tag,
.footer-version {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.76rem;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(83, 217, 140, 0.95);
}

.content {
  flex: 1;
  min-height: 100vh;
  padding: 14px 26px 28px 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--line);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-mark {
  width: 34px;
  height: 34px;
}

.topbar-word {
  font-size: 1.8rem;
  letter-spacing: -0.06em;
  display: inline-flex;
  gap: 0.2em;
  align-items: baseline;
}

.topbar-word .md {
  color: var(--yellow);
}

.topbar-word .client {
  color: #ffffff;
}

.topbar-meta {
  margin-left: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.account-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(15, 27, 37, 0.88);
}

.account-bar.hidden {
  display: none;
}

.account-name {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
}

.logout-button {
  border: none;
  border-radius: 999px;
  background: rgba(245, 215, 61, 0.14);
  color: var(--text);
  padding: 7px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.login-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  background: rgba(16, 26, 36, 0.9);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.login-button:hover {
  transform: none;
  box-shadow: none;
}

.login-button-icon {
  font-size: 1rem;
}

.user-settings-button,
.admin-button {
  border: 1px solid rgba(245, 215, 61, 0.32);
  border-radius: 999px;
  background: rgba(245, 215, 61, 0.12);
  color: var(--text);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-button.hidden {
  display: none;
}

.login-shell {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 110px);
  padding: 32px 0;
}

.login-home-brand {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: rgba(7, 18, 28, 0.9);
  border-radius: 12px;
  padding: 8px 12px 8px 10px;
  cursor: pointer;
  color: inherit;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

.login-home-mark {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.22), rgba(227, 181, 12, 0.9));
  overflow: hidden;
}

.login-home-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-home-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1;
  font-size: 1.15rem;
}

.login-home-word .md {
  color: var(--yellow);
}

.login-home-word .client {
  color: #ffffff;
}

.login-card {
  width: min(460px, 92vw);
  background: rgba(11, 20, 28, 0.58);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 28px 24px 22px;
  box-shadow: none;
}

.login-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.login-brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.22), rgba(227, 181, 12, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.login-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: 'Inter', sans-serif;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 0.9;
}

.login-brand-word .md {
  color: var(--yellow);
}

.login-brand-word .client {
  color: #ffffff;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

.field span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.field input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  color: #ffffff;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.field input::placeholder {
  color: rgba(255,255,255,0.62);
}

.field input:focus {
  border-color: rgba(245, 215, 61, 0.5);
  box-shadow: 0 0 0 2px rgba(245, 215, 61, 0.08);
}

.register-button,
.login-submit,
.register-submit {
  margin-top: 8px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 12px 16px;
  cursor: pointer;
}

.register-button,
.register-submit {
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.95), rgba(227, 181, 12, 0.9));
  color: #121212;
}

.login-submit {
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.22), rgba(245, 215, 61, 0.12));
  color: #fff;
}

.back-login-button {
  align-self: flex-end;
  margin-top: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(12, 20, 28, 0.7);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  padding: 8px 12px;
  cursor: pointer;
}

.auth-message {
  min-height: 20px;
  margin-top: 2px;
  font-size: 0.8rem;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.auth-message.loading::after {
  content: '...';
  display: inline-block;
  width: 18px;
  letter-spacing: 2px;
  animation: authDots 1.2s infinite ease-in-out;
}

@keyframes authDots {
  0% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
  100% { opacity: 0.2; transform: translateY(0); }
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(16, 26, 36, 0.8);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.online-pill {
  color: #f1f8ff;
}

.version-pill {
  font-weight: 700;
}

.page-shell {
  position: relative;
  display: block;
  padding-top: 20px;
}

.page {
  display: none;
  min-height: calc(100vh - 90px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.page.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: pageIn 0.28s ease;
}

@keyframes pageIn {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.settings-panel-shell,
.admin-panel-shell {
  background: rgba(10, 22, 29, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 18px;
  min-height: calc(100vh - 120px);
}

.settings-header,
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.settings-brand,
.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.settings-brand-mark,
.admin-brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.22), rgba(227, 181, 12, 0.86));
  overflow: hidden;
}

.settings-brand-mark img,
.admin-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.settings-brand-word,
.admin-brand-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.08em;
  font-family: 'Baloo 2', cursive;
  font-weight: 800;
  letter-spacing: -0.06em;
  font-size: clamp(1.8rem, 2vw, 2.4rem);
}

.settings-brand-word .md,
.admin-brand-word .md {
  color: var(--yellow);
}

.settings-brand-word .client,
.admin-brand-word .client {
  color: #ffffff;
}

.settings-form-card {
  margin-top: 20px;
  background: rgba(7, 18, 28, 0.82);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 24px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.settings-form-card h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 2.4rem);
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.settings-submit,
.confirm-button {
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.95), rgba(227, 181, 12, 0.9));
  color: #111;
  font-weight: 800;
  padding: 12px 18px;
  cursor: pointer;
}

.confirmation-panel {
  margin-top: 20px;
  padding: 18px;
  border-radius: 12px;
  background: rgba(245, 215, 61, 0.09);
  border: 1px solid rgba(245, 215, 61, 0.28);
  color: var(--text);
}

.confirmation-panel.hidden {
  display: none;
}

.confirmation-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--yellow);
}

.admin-content {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 20px;
  padding-top: 20px;
}

.admin-sidebar {
  background: rgba(7, 18, 28, 0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px 12px;
}

.admin-sidebar-header {
  padding: 0 8px 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}

.admin-account-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-account-item {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  color: var(--text);
  text-align: left;
  padding: 11px 12px;
  font-weight: 600;
  cursor: pointer;
}

.admin-account-item.active {
  background: rgba(245, 215, 61, 0.12);
  border-color: rgba(245, 215, 61, 0.3);
}

.admin-details {
  background: rgba(7, 18, 28, 0.8);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 20px;
  min-height: 300px;
}

.admin-empty-state,
.admin-empty-list {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

.admin-create-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.admin-action-button,
.admin-remove-account,
.admin-create-form button {
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.95), rgba(227, 181, 12, 0.9));
  color: #111;
  font-weight: 800;
  padding: 11px 14px;
  cursor: pointer;
}

.admin-create-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.admin-create-form input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  color: #fff;
  padding: 11px 12px;
  font: inherit;
}

.admin-create-form input::placeholder {
  color: rgba(255,255,255,0.62);
}

.admin-form-message {
  min-height: 20px;
  font-size: 0.8rem;
}

.admin-account-detail-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-detail-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.admin-detail-header {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 800;
  color: var(--yellow);
}

.admin-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 10px;
  color: rgba(255,255,255,0.85);
  align-items: center;
}

.admin-detail-row span {
  color: rgba(255,255,255,0.66);
}

.admin-role-select {
  min-width: 120px;
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 10px;
}

.admin-detail-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.admin-remove-account {
  background: rgba(255,92,92,0.14);
  color: #ffd8d8;
  border: 1px solid rgba(255,92,92,0.35);
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 360px;
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  background: rgba(10, 22, 29, 0.18);
  box-shadow: none;
}

.hero-copy {
  flex: 1;
}

.eyebrow {
  color: var(--yellow);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}

.md-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  line-height: 0.8;
}

.md-logo-skull {
  width: clamp(72px, 9vw, 150px);
  height: clamp(72px, 9vw, 150px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 215, 61, 0.18), rgba(245, 215, 61, 0.02));
}

.md-logo-skull img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.md-logo-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-family: 'Baloo 2', cursive;
  letter-spacing: -0.09em;
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 5.6rem);
  line-height: 0.8;
}

.md-logo-word .md {
  color: var(--yellow);
}

.md-logo-word .client {
  color: #ffffff;
}

.hero-copy p {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.tagline {
  margin-top: 18px;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.2;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.04em;
}

.tagline .md {
  color: var(--yellow);
}

.tagline .client {
  color: #ffffff;
}

.install-panel {
  width: min(340px, 42vw);
  min-height: 220px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 18px;
  box-shadow: none;
  padding: 24px 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.install-label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.install-version {
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  font-weight: 800;
  color: var(--yellow);
}

#install-btn {
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(247, 214, 69, 0.28), rgba(245, 215, 61, 0.18));
  color: #fffdf9;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px 20px;
  min-width: 180px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 18px rgba(245, 215, 61, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#install-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 0 22px rgba(245, 215, 61, 0.2);
  filter: brightness(1.08);
}

#install-btn:active {
  transform: translateY(0) scale(0.99);
}


.maintenance-panel {
  display: grid;
  place-items: center;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(13, 22, 32, 0.76);
  color: var(--text);
  text-align: center;
}

.maintenance-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--yellow);
  letter-spacing: -0.05em;
}

@media (max-width: 900px) {
  .app-shell {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
  }

  .content {
    padding: 14px 16px 24px;
  }

  .hero-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .install-panel {
    width: 100%;
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .topbar {
    flex-wrap: wrap;
  }

  .topbar-meta {
    margin-left: 0;
  }

  .brand-main {
    font-size: 1.8rem;
  }

  .hero-copy h1 {
    font-size: 2.7rem;
  }
}

