:root {
  --scs-bg: #091427;
  --scs-bg-soft: #0f2038;
  --scs-panel: #0f1f35;
  --scs-panel-2: #132743;
  --scs-panel-grad-a: rgba(17, 34, 58, 0.98);
  --scs-panel-grad-b: rgba(14, 29, 49, 0.98);
  --scs-border: #1f3a62;
  --scs-text: #dcecff;
  --scs-muted: #8fb0d6;
  --scs-accent: #1f8cf0;
}

html[data-bs-theme="light"] {
  --scs-bg: #eef3f9;
  --scs-bg-soft: #f8fafd;
  --scs-panel: #ffffff;
  --scs-panel-2: #f3f7fc;
  --scs-panel-grad-a: rgba(255, 255, 255, 0.98);
  --scs-panel-grad-b: rgba(245, 250, 255, 0.98);
  --scs-border: #d7e2f0;
  --scs-text: #122742;
  --scs-muted: #58708f;
  --scs-accent: #1f73cf;
}

body {
  color: var(--scs-text);
  background:
    radial-gradient(circle at 15% -10%, rgba(33, 92, 173, 0.35), transparent 45%),
    radial-gradient(circle at 95% 5%, rgba(24, 65, 130, 0.25), transparent 36%),
    linear-gradient(180deg, #081321 0%, #0a1628 100%);
}

.navbar-vertical {
  border-right: 1px solid #1b3557;
  background: linear-gradient(180deg, #11233d, #0c1c31);
}

.navbar-vertical .nav-link-title,
.navbar-vertical .navbar-brand {
  color: #d7e9ff !important;
}

.navbar-vertical .nav-link {
  border-radius: 6px;
  margin: 2px 0;
}

.navbar-vertical .nav-item.active .nav-link,
.navbar-vertical .nav-link:hover {
  background: rgba(31, 140, 240, 0.12);
}

.page-wrapper {
  background: transparent;
}

.page-body {
  background: transparent;
}

.page-header,
.navbar:not(.navbar-vertical) {
  border-bottom: 1px solid #1a3557;
  background: linear-gradient(180deg, #102038, #0f1e34);
}

.navbar:not(.navbar-vertical) .navbar-brand {
  color: #d7e9ff;
  font-weight: 700;
}

.alert {
  border-radius: 10px;
  border-width: 1px;
}

.dropdown-menu {
  border: 1px solid #1f3d62;
  background: #11233d;
}

.dropdown-item,
.dropdown-menu .btn {
  color: #dcecff;
}

.card {
  border: 1px solid var(--scs-border);
  border-radius: 8px;
  color: var(--scs-text);
  background: linear-gradient(180deg, var(--scs-panel-grad-a) 0%, var(--scs-panel-grad-b) 100%);
  box-shadow: 0 10px 20px rgba(2, 10, 20, 0.22);
}

.card-header {
  border-bottom: 1px solid #1a3658;
  background: rgba(19, 39, 67, 0.55);
}

.table {
  color: var(--scs-text);
}

.table thead th {
  border-bottom-color: #1f3e63 !important;
  color: #9ab9db;
}

.table tbody td {
  border-top-color: #1a3555 !important;
}

html[data-bs-theme="dark"] .badge.bg-blue-lt,
html[data-bs-theme="dark"] .badge.bg-azure-lt,
html[data-bs-theme="dark"] .badge.bg-yellow-lt,
html[data-bs-theme="dark"] .badge.bg-green-lt,
html[data-bs-theme="dark"] .badge.bg-red-lt {
  border: 1px solid #2a4f78;
  color: #a9c8e9 !important;
  background: rgba(14, 34, 56, 0.85) !important;
}

.text-secondary,
.form-text,
.subheader {
  color: var(--scs-muted) !important;
}

.form-control,
.form-select,
.form-check-input {
  color: var(--scs-text);
  background: #0f1f35;
  border-color: #294a72;
}

.form-control::placeholder {
  color: #6f91b7;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-danger,
.btn-outline-info {
  border-color: #2b4f78;
  color: #b6d2f2;
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-success:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover,
.btn-outline-info:hover {
  color: #f3f9ff;
  background: rgba(31, 140, 240, 0.2);
}

.btn-primary {
  border-color: #1f8cf0;
  background: linear-gradient(180deg, #2a9cff, #1578d1);
}

.btn {
  border-radius: 4px;
  min-height: 34px;
  padding: 0.34rem 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.btn-sm {
  min-height: 30px;
  padding: 0.24rem 0.56rem;
  font-size: 0.84rem;
  line-height: 1.1;
}

.btn-lg {
  min-height: 40px;
  padding: 0.46rem 0.92rem;
  line-height: 1.2;
}

.discord-preview {
  background: #313338;
  color: #f2f3f5;
  border-radius: 10px;
  padding: 12px;
  min-height: 120px;
}

.discord-message {
  white-space: pre-wrap;
  margin-bottom: 10px;
  color: #dbdee1;
}

.discord-embed {
  background: #2b2d31;
  border-left: 4px solid #5865f2;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
}

.discord-embed-author {
  font-size: 12px;
  color: #b5bac1;
  margin-bottom: 4px;
}

.discord-embed-title {
  font-weight: 700;
  color: #f2f3f5;
  margin-bottom: 6px;
}

.discord-embed-description {
  white-space: pre-wrap;
  margin-bottom: 6px;
  color: #dbdee1;
}

.discord-embed-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.discord-embed-field.inline {
  width: 48%;
}

.discord-embed-field {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
  padding: 6px;
}

.discord-embed-field-name {
  font-size: 12px;
  font-weight: 700;
  color: #f2f3f5;
}

.discord-embed-field-value {
  font-size: 12px;
  color: #cfd3d8;
  white-space: pre-wrap;
}

.discord-embed-footer {
  margin-top: 8px;
  font-size: 11px;
  color: #b5bac1;
}

.discord-error {
  background: #4f2227;
  border: 1px solid #7e2d37;
  border-radius: 6px;
  padding: 8px;
  color: #ffb3bc;
}

code {
  color: #9ec4ef;
  background: rgba(9, 24, 42, 0.55);
}

.scs-dark-panel {
  border: 1px solid #1f3a62;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--scs-panel-grad-a) 0%, var(--scs-panel-grad-b) 100%);
  color: #dcecff;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(2, 10, 20, 0.24);
}

.scs-panel-head {
  border-bottom: 1px solid #1a3658;
  background: rgba(19, 39, 67, 0.55);
  padding: 14px 16px;
}

.scs-panel-head h3 {
  color: #f2f8ff;
  font-weight: 700;
}

.scs-panel-body {
  padding: 14px 16px 16px;
}

.scs-dark-panel .form-label,
.scs-dark-panel .small,
.scs-dark-panel .text-secondary {
  color: #8fb0d6 !important;
}

.scs-dark-panel .form-control,
.scs-dark-panel .form-select {
  color: #dcecff;
  background: #0f1f35;
  border-color: #284a73;
}

.scs-dark-panel .form-control::placeholder {
  color: #6f91b7;
}

.scs-stat-box {
  border: 1px solid #214364;
  border-radius: 8px;
  background: rgba(18, 33, 54, 0.72);
  padding: 12px;
}

.scs-table-dark {
  margin: 0;
  color: #dcecff;
  width: 100%;
  table-layout: fixed;
}

.scs-table-compact {
  table-layout: auto;
}

.scs-table-dark thead th {
  border-bottom-color: #1f3e63 !important;
  background: rgba(29, 47, 71, 0.55);
  color: #9ab9db;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.scs-table-dark tbody td {
  border-top-color: #1a3555 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scs-table-grid td:nth-child(2) {
  white-space: normal;
}

.scs-actions-cell {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.scs-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid #264f79;
  border-radius: 6px;
  padding: 2px 8px;
  background: rgba(17, 35, 57, 0.8);
  color: #9fbee2;
  font-size: 12px;
}

.scs-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #2b4f78;
  border-radius: 6px;
  padding: 1px 8px;
  background: rgba(8, 22, 38, 0.65);
  color: #9ec4ef;
  font-size: 13px;
  letter-spacing: 0.1px;
}

.scs-status {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 1px 8px;
  font-size: 12px;
  font-weight: 600;
}

.scs-status.is-online {
  border-color: #1f8f58;
  color: #8bf9b2;
  background: rgba(13, 73, 43, 0.45);
}

.scs-status.is-offline {
  border-color: #b44856;
  color: #ffb2be;
  background: rgba(75, 20, 30, 0.45);
}

.scs-btn-soft {
  border-radius: 4px;
}

.scs-actions-cell .btn {
  min-width: 80px;
  justify-content: center;
  text-align: center;
}

.scs-action-btn {
  min-width: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.scs-action-btn-wide {
  min-width: 116px;
}

.scs-actions-row {
  display: flex;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 2px;
}

.scs-actions-row .scs-action-btn {
  min-width: 72px;
}

.scs-actions-row .scs-action-btn-wide {
  min-width: 108px;
}

.scs-actions-row > form,
.scs-actions-row > a {
  flex: 0 0 auto;
}

.scs-instance-map-form {
  flex-wrap: nowrap;
  align-items: center;
}

.scs-instance-map-form > * {
  flex: 0 0 auto;
}

.scs-map-collapse {
  max-width: 360px;
}

.scs-instance-map-form .scs-inline-select {
  min-width: 124px;
  max-width: 180px;
}

.scs-instance-map-form .scs-action-btn-wide {
  min-width: 110px;
}

.scs-game-tabs {
  border-bottom-color: #224365;
}

.scs-game-tabs .nav-link {
  color: #9fc0e5;
  border-color: transparent;
  border-radius: 4px 4px 0 0;
  padding: 0.4rem 0.72rem;
}

.scs-game-tabs .nav-link:hover {
  border-color: #2d5279;
  background: rgba(31, 140, 240, 0.12);
}

.scs-game-tabs .nav-link.active {
  color: #d8ecff;
  border-color: #4b79ab;
  background: rgba(31, 140, 240, 0.18);
}

.scs-form-submit {
  min-height: 40px;
}

.scs-users-create-form .form-control,
.scs-users-create-form .form-select {
  min-height: 34px;
}

.scs-user-table {
  table-layout: auto;
}

.scs-user-table tbody td:last-child {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.scs-user-edit-form {
  flex-wrap: nowrap !important;
  min-width: 0;
}

.scs-user-input-name {
  min-width: 136px;
  max-width: 176px;
}

.scs-user-input-role {
  min-width: 126px;
  max-width: 144px;
}

.scs-user-input-pass {
  min-width: 140px;
  max-width: 196px;
}

.scs-user-active-check {
  min-width: 22px;
}

.scs-dropdown-btn {
  min-height: 32px;
  border-radius: 6px;
  font-weight: 600;
}

.scs-inline-select {
  min-width: 150px;
}

.scs-inline-input {
  min-width: 180px;
}

.scs-progress {
  background: rgba(16, 34, 57, 0.85);
  border: 1px solid #234463;
  height: 10px;
}

.scs-game-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.scs-game-logo-sm {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.scs-account-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid #2a4d75;
  object-fit: cover;
  background: #0d1f36;
}

.scs-log-box {
  border: 1px solid #234667;
  border-radius: 6px;
  background: rgba(8, 19, 34, 0.85);
  max-height: 68vh;
  overflow: auto;
}

.scs-log-pre {
  margin: 0;
  padding: 12px;
  color: #bcd5ef;
  background: transparent;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.scs-editor-textarea {
  min-height: 58vh;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre;
}

html[data-bs-theme="light"] body {
  background:
    radial-gradient(circle at 15% -10%, rgba(120, 174, 255, 0.35), transparent 45%),
    radial-gradient(circle at 95% 5%, rgba(126, 170, 230, 0.2), transparent 36%),
    linear-gradient(180deg, #eff3f9 0%, #e8edf5 100%);
}

html[data-bs-theme="light"] .navbar-vertical {
  border-right-color: #c9d8eb;
  background: linear-gradient(180deg, #f6f9ff, #edf3fb);
}

html[data-bs-theme="light"] .navbar-vertical .nav-link-title,
html[data-bs-theme="light"] .navbar-vertical .navbar-brand {
  color: #173458 !important;
}

html[data-bs-theme="light"] .navbar-vertical .nav-item.active .nav-link,
html[data-bs-theme="light"] .navbar-vertical .nav-link:hover {
  background: rgba(31, 140, 240, 0.1);
}

html[data-bs-theme="light"] .page-header,
html[data-bs-theme="light"] .navbar:not(.navbar-vertical) {
  border-bottom-color: #d5e2f1;
  background: linear-gradient(180deg, #f4f8fe, #eef4fc);
}

html[data-bs-theme="light"] .navbar:not(.navbar-vertical) .navbar-brand {
  color: #173458;
}

html[data-bs-theme="light"] .card {
  border-color: #d5e2f1;
  color: #1c3557;
  background: linear-gradient(180deg, var(--scs-panel-grad-a) 0%, var(--scs-panel-grad-b) 100%);
  box-shadow: 0 10px 20px rgba(31, 61, 99, 0.08);
}

html[data-bs-theme="light"] .card-header {
  border-bottom-color: #d5e3f2;
  background: rgba(225, 236, 249, 0.55);
}

html[data-bs-theme="light"] .table thead th {
  border-bottom-color: #d7e4f3 !important;
  color: #4f6786;
}

html[data-bs-theme="light"] .table tbody td {
  border-top-color: #e0eaf6 !important;
}

html[data-bs-theme="light"] .text-secondary,
html[data-bs-theme="light"] .form-text,
html[data-bs-theme="light"] .subheader {
  color: #5f7795 !important;
}

html[data-bs-theme="light"] .form-control,
html[data-bs-theme="light"] .form-select,
html[data-bs-theme="light"] .form-check-input {
  color: #1a3456;
  background: #fbfdff;
  border-color: #c8d9ec;
}

html[data-bs-theme="light"] .form-control::placeholder {
  color: #86a0be;
}

html[data-bs-theme="light"] .btn-outline-primary,
html[data-bs-theme="light"] .btn-outline-secondary,
html[data-bs-theme="light"] .btn-outline-success,
html[data-bs-theme="light"] .btn-outline-warning,
html[data-bs-theme="light"] .btn-outline-danger,
html[data-bs-theme="light"] .btn-outline-info {
  border-color: #aac5e5;
  color: #315980;
}

html[data-bs-theme="light"] .btn-outline-primary:hover,
html[data-bs-theme="light"] .btn-outline-secondary:hover,
html[data-bs-theme="light"] .btn-outline-success:hover,
html[data-bs-theme="light"] .btn-outline-warning:hover,
html[data-bs-theme="light"] .btn-outline-danger:hover,
html[data-bs-theme="light"] .btn-outline-info:hover {
  color: #143154;
  background: rgba(31, 140, 240, 0.12);
}

html[data-bs-theme="light"] .dropdown-menu {
  border-color: #c9daed;
  background: #f8fbff;
}

html[data-bs-theme="light"] .dropdown-item,
html[data-bs-theme="light"] .dropdown-menu .btn {
  color: #1e3c61;
}

html[data-bs-theme="light"] .scs-dark-panel {
  border-color: #d2e1f1;
  color: #1d385c;
  background: linear-gradient(180deg, var(--scs-panel-grad-a) 0%, var(--scs-panel-grad-b) 100%);
  box-shadow: 0 10px 20px rgba(31, 61, 99, 0.12);
}

html[data-bs-theme="light"] .scs-panel-head {
  border-bottom-color: #d8e5f3;
  background: rgba(225, 236, 249, 0.55);
}

html[data-bs-theme="light"] .scs-panel-head h3 {
  color: #1f3d62;
}

html[data-bs-theme="light"] .scs-dark-panel .form-label,
html[data-bs-theme="light"] .scs-dark-panel .small,
html[data-bs-theme="light"] .scs-dark-panel .text-secondary {
  color: #5f7896 !important;
}

html[data-bs-theme="light"] .scs-dark-panel .form-control,
html[data-bs-theme="light"] .scs-dark-panel .form-select {
  color: #1a3558;
  background: #fbfdff;
  border-color: #c8d9ec;
}

html[data-bs-theme="light"] .scs-stat-box {
  border-color: #d5e2f2;
  background: rgba(247, 251, 255, 0.9);
}

html[data-bs-theme="light"] .scs-table-dark {
  color: #1f3a5e;
}

html[data-bs-theme="light"] .scs-table-dark thead th {
  border-bottom-color: #d8e5f3 !important;
  background: rgba(226, 236, 248, 0.55);
  color: #56708f;
}

html[data-bs-theme="light"] .scs-table-dark tbody td {
  border-top-color: #dfe9f5 !important;
}

html[data-bs-theme="light"] .scs-tag {
  border-color: #a9c6e6;
  background: rgba(241, 247, 255, 0.9);
  color: #3b628a;
}

html[data-bs-theme="light"] .scs-pill {
  border-color: #aec9e8;
  background: rgba(243, 248, 255, 0.95);
  color: #335b83;
}

html[data-bs-theme="light"] .scs-progress {
  background: rgba(233, 241, 250, 0.8);
  border-color: #c7d9eb;
}

html[data-bs-theme="light"] .scs-log-box {
  border-color: #c9daeb;
  background: rgba(247, 251, 255, 0.95);
}

html[data-bs-theme="light"] .scs-log-pre {
  color: #1f3c60;
}

html[data-bs-theme="light"] .scs-editor-textarea {
  color: #1f3c60;
}

html[data-bs-theme="light"] .changelog-card {
  border-color: #d2e1f1;
}

html[data-bs-theme="light"] .changelog-webhook-item {
  border-color: #b8cde6;
  background: rgba(246, 250, 255, 0.96);
  color: #1f3c61;
}

html[data-bs-theme="light"] .changelog-webhook-item.is-active {
  border-color: #97b8dd;
  background: rgba(232, 241, 252, 0.96);
}

html[data-bs-theme="light"] .changelog-fieldset {
  border-color: #c6d8ec;
}

html[data-bs-theme="light"] .changelog-fieldset legend {
  color: #617d9c;
}

html[data-bs-theme="light"] .changelog-section-nav {
  border-bottom-color: #c8d9ec;
}

html[data-bs-theme="light"] .changelog-section-nav .nav-link {
  color: #4b6c8f;
}

html[data-bs-theme="light"] .changelog-section-nav .nav-link:hover {
  border-color: #aac5e5;
  background: rgba(31, 140, 240, 0.12);
}

html[data-bs-theme="light"] .changelog-section-nav .nav-link.active,
html[data-bs-theme="light"] .changelog-section-tab.is-active,
html[data-bs-theme="light"] .changelog-preview-tab.is-active {
  border-color: #98b9dd;
  background: rgba(31, 140, 240, 0.14);
  color: #1f3e63;
}

html[data-bs-theme="light"] .changelog-list-box {
  border-color: #c6d8ec;
  background: rgba(247, 251, 255, 0.98);
}

html[data-bs-theme="light"] .changelog-section-row {
  border-color: #ccddf0;
  background: rgba(245, 250, 255, 0.95);
}

@media (max-width: 768px) {
  .scs-panel-head,
  .scs-panel-body {
    padding: 12px;
  }

  .scs-inline-select,
  .scs-inline-input {
    min-width: 100%;
  }
}

@media (max-width: 1400px) {
  .scs-user-edit-form {
    flex-wrap: wrap !important;
  }
}

.changelog-card {
  border-color: #214162;
}

.changelog-main-layout .card {
  min-height: 580px;
}

.changelog-webhook-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 260px;
  overflow: auto;
}

.changelog-webhook-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #284f78;
  border-radius: 4px;
  background: rgba(15, 29, 47, 0.78);
  color: #dcecff;
  padding: 8px 10px;
}

.changelog-webhook-item.is-active {
  border-color: #3f6b98;
  background: rgba(24, 43, 65, 0.92);
}

.changelog-webhook-actions .btn {
  width: 100%;
}

.changelog-fieldset {
  border: 1px solid #2b4a6b;
  border-radius: 5px;
  padding: 8px;
  margin: 0;
}

.changelog-fieldset legend {
  width: auto;
  margin: 0;
  padding: 0 4px;
  font-size: 12px;
  color: #a7c3e3;
}

.changelog-section-nav {
  border-bottom-color: #224365;
}

.changelog-section-nav .nav-link {
  border-radius: 6px 6px 0 0;
  border-color: transparent;
  color: #9fc0e5;
  padding: 0.34rem 0.66rem;
  font-size: 0.84rem;
  line-height: 1.1;
  min-height: 30px;
}

.changelog-section-nav .nav-link:hover {
  border-color: #2d5279;
  background: rgba(31, 140, 240, 0.12);
}

.changelog-section-tab {
  min-width: 82px;
}

.changelog-section-tab.is-active,
.changelog-section-nav .nav-link.active,
.changelog-preview-tab.is-active {
  background: rgba(31, 140, 240, 0.2);
  border-color: #4b79ab;
  color: #d8ecff;
}

.changelog-list-box {
  border: 1px solid #284a6f;
  border-radius: 5px;
  background: rgba(11, 24, 38, 0.65);
  min-height: 260px;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
}

.changelog-section-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.changelog-section-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a4a69;
  border-radius: 4px;
  background: rgba(20, 35, 54, 0.7);
  padding: 6px;
}

.changelog-section-value {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 13px;
}

.changelog-section-row-actions {
  display: flex;
  gap: 4px;
}

.changelog-footer-controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr auto;
  gap: 8px;
  align-items: end;
}

.changelog-action-buttons {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-items: end;
}

.changelog-preview-box {
  min-height: 490px;
  max-height: 540px;
}

@media (max-width: 1200px) {
  .changelog-main-layout .card {
    min-height: auto;
  }
  .changelog-footer-controls {
    grid-template-columns: 1fr;
  }

  .changelog-preview-box {
    min-height: 300px;
    max-height: 420px;
  }
}

.changelog-shell .nav-tabs.card-header-tabs {
  border-bottom-color: #224365;
}

.changelog-shell .nav-tabs.card-header-tabs .nav-link {
  color: #9fc0e5;
  border-color: transparent;
}

.changelog-shell .nav-tabs.card-header-tabs .nav-link.active {
  color: #d8ecff;
  border-color: #4b79ab;
  background: rgba(31, 140, 240, 0.18);
}

.changelog-main-layout .card-body,
.changelog-server-layout .card-body {
  padding: 0.9rem;
}

.changelog-main-layout .changelog-editor-card .card-body {
  min-height: 640px;
}

.changelog-main-layout .changelog-card .card-body {
  height: 100%;
}

.changelog-rendered-wrap {
  display: block;
}

#changelog-preview-embed-wrap {
  min-height: 520px;
  max-height: 620px;
  overflow: auto;
}

#changelog-preview-embed-wrap .discord-embed-fields {
  grid-template-columns: 1fr;
}

.changelog-server-layout .changelog-webhook-list {
  max-height: 480px;
}

.changelog-server-layout .scs-action-btn {
  min-width: 110px;
}

html[data-bs-theme="light"] .changelog-shell .nav-tabs.card-header-tabs {
  border-bottom-color: #c8d9ec;
}

html[data-bs-theme="light"] .changelog-shell .nav-tabs.card-header-tabs .nav-link {
  color: #4b6c8f;
}

html[data-bs-theme="light"] .changelog-shell .nav-tabs.card-header-tabs .nav-link.active {
  color: #1f3e63;
  border-color: #98b9dd;
  background: rgba(31, 140, 240, 0.14);
}

html[data-bs-theme="light"] .scs-game-tabs {
  border-bottom-color: #c8d9ec;
}

html[data-bs-theme="light"] .scs-game-tabs .nav-link {
  color: #4b6c8f;
}

html[data-bs-theme="light"] .scs-game-tabs .nav-link:hover {
  border-color: #aac5e5;
  background: rgba(31, 140, 240, 0.12);
}

html[data-bs-theme="light"] .scs-game-tabs .nav-link.active {
  color: #1f3e63;
  border-color: #98b9dd;
  background: rgba(31, 140, 240, 0.14);
}
