@font-face {
  font-family: "Martel";
  src: url("./martel.ttf") format("truetype");
  font-weight: 400 800;
  font-style: normal;
}

:root {
  --bg-0: #07111d;
  --bg-1: #0d1b2d;
  --bg-2: #13263f;
  --bg-3: #183352;
  --panel: rgba(10, 18, 31, 0.82);
  --panel-strong: rgba(17, 29, 47, 0.94);
  --line: rgba(255, 216, 143, 0.18);
  --gold: #f2ca78;
  --gold-strong: #ffdf9b;
  --teal: #7fd4d0;
  --text: #f6efe2;
  --muted: #b9c7db;
  --danger: #ff8b87;
  --success: #86d39f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(95, 180, 190, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 195, 112, 0.16), transparent 26%),
    linear-gradient(180deg, #0b1626 0%, #07111d 32%, #08131f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.2;
  pointer-events: none;
}

a {
  color: var(--gold-strong);
  text-decoration: none;
}

a:hover {
  color: #fff4d2;
}

img {
  border: 0;
  max-width: 100%;
}

.page-shell {
  position: relative;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.hero h1,
.eyebrow,
.hero-card__label,
.panel__header h2,
.content-card__header h2,
.nav-group h3,
.button,
.content-card__links a {
  font-family: "Martel", Georgia, "Times New Roman", serif;
}

.hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(16, 28, 43, 0.92), rgba(17, 39, 60, 0.84)),
    url("./images/header/background-artwork.jpg") center top / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 223, 155, 0.22), transparent 24%),
    radial-gradient(circle at 85% 12%, rgba(127, 212, 208, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.08), rgba(5, 10, 18, 0.62));
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: stretch;
  padding: 36px;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--small {
  margin-bottom: 4px;
  font-size: 0.72rem;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  color: #fff6de;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.hero__lede {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero__actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero__cards {
  display: grid;
  gap: 14px;
}

.hero-card,
.panel,
.content-card,
.ticker-strip {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.hero-card {
  padding: 18px 18px 16px;
}

.hero-card--status {
  background:
    linear-gradient(135deg, rgba(242, 202, 120, 0.12), rgba(11, 21, 36, 0.84)),
    var(--panel);
}

.hero-card__label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-card__value {
  display: block;
  margin-bottom: 8px;
  color: #fff3d4;
  font-size: 1.35rem;
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero-card__monster {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
  padding: 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-family: "Trebuchet MS", Arial, sans-serif;
  letter-spacing: 0.02em;
}

.topbar__crumbs,
.topbar__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.layout-grid {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.sidebar,
.main-column {
  min-width: 0;
}

.panel {
  padding: 18px;
  margin-bottom: 18px;
}

.panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel__header h2,
.content-card__header h2 {
  margin: 0;
  color: #fff5dc;
  font-size: 1.12rem;
}

.account-panel__text,
.panel p,
.nav-group li,
.content-card__body,
.world-stats span {
  color: var(--muted);
}

.nav-group + .nav-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-group h3 {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-group li + li {
  margin-top: 7px;
}

.nav-panel__empty {
  margin: 0;
  font-style: italic;
}

.nav-group a {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.nav-group a:hover {
  transform: translateX(3px);
  background: rgba(242, 202, 120, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

.button--primary {
  color: #1a1307;
  border-color: rgba(255, 223, 155, 0.72);
  background: linear-gradient(180deg, #ffe0a0, #e5b868);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.button--full {
  width: 100%;
}

.ticker-strip {
  margin-bottom: 18px;
  padding: 18px 20px;
}

.news-ticker {
  display: grid;
  gap: 16px;
}

.news-ticker__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.news-ticker__header h3 {
  margin: 0;
  color: #fff3d4;
  font-size: 1.55rem;
  font-family: "Martel", Georgia, "Times New Roman", serif;
}

.news-ticker__list {
  display: grid;
  gap: 12px;
}

.news-ticker__item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.news-ticker__icon {
  display: flex;
  align-items: start;
  justify-content: center;
  padding-top: 2px;
}

.news-ticker__copy {
  min-width: 0;
}

.news-ticker__meta {
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.news-ticker__summary,
.news-ticker__details > *:first-child {
  margin-top: 0;
}

.news-ticker__summary,
.news-ticker__details {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
}

.news-ticker__details {
  margin-top: 8px;
  color: var(--muted);
}

.news-ticker__details p:last-child,
.news-ticker__details > *:last-child,
.news-ticker__admin > *:last-child {
  margin-bottom: 0;
}

.news-ticker__admin {
  margin-top: 10px;
}

.ticker-strip .Box {
  position: relative;
  margin: 0;
}

.ticker-strip .Corner-tl,
.ticker-strip .Corner-tr,
.ticker-strip .Corner-bl,
.ticker-strip .Corner-br,
.ticker-strip .Border_1,
.ticker-strip .BorderTitleText {
  display: none;
}

.ticker-strip .Border_2,
.ticker-strip .Border_3,
.ticker-strip .BoxContent {
  background: transparent !important;
}

.ticker-strip .BoxContent {
  padding: 0;
}

.ticker-strip .Row + .Row {
  margin-top: 10px;
}

.ticker-strip .Odd,
.ticker-strip .Even {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.ticker-strip .NewsTickerText {
  color: var(--text);
}

.ticker-strip .NewsTickerDate {
  display: block;
  margin-bottom: 6px;
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.ticker-strip .NewsTickerShortText,
.ticker-strip .NewsTickerFullText {
  color: var(--text);
}

.content-card {
  overflow: hidden;
  background: var(--panel-strong);
}

.content-card__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.84rem;
}

.content-card__links a {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.content-card__body {
  padding: 24px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.content-card__body > * + * {
  margin-top: 20px;
}

.content-card__body h1,
.content-card__body h2,
.content-card__body h3,
.content-card__body h4 {
  color: #fff2d2;
}

.content-card__body table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.02);
}

.content-card__body th,
.content-card__body td {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

.content-card__body th {
  color: #fff0cb;
  background: rgba(255, 255, 255, 0.05);
}

.featured-article,
.news-entry {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 20px;
  padding: 20px;
}

.featured-article__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

.featured-article__copy h3,
.news-entry__header h3 {
  margin: 0;
  color: #fff3d4;
  font-size: 1.5rem;
  font-family: "Martel", Georgia, "Times New Roman", serif;
}

.featured-article__text,
.news-entry__body {
  margin-top: 10px;
  color: var(--muted);
}

.featured-article__text > *:first-child,
.news-entry__body > *:first-child {
  margin-top: 0;
}

.featured-article__text > *:last-child,
.news-entry__body > *:last-child {
  margin-bottom: 0;
}

.featured-article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.featured-article__admin {
  color: var(--muted);
  font-size: 0.9rem;
}

.news-entry {
  padding: 18px 20px;
}

.news-entry__header,
.news-entry__headline {
  display: flex;
  align-items: start;
  gap: 14px;
}

.news-entry__header {
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.news-entry__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.news-entry__meta,
.news-entry__author {
  margin: 0 0 4px;
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.news-entry__author {
  color: var(--gold-strong);
}

.news-entry__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.news-entry__footer a {
  color: var(--gold-strong);
}

.content-card__body input[type="text"],
.content-card__body input[type="password"],
.content-card__body input[type="email"],
.content-card__body input[type="number"],
.content-card__body select,
.content-card__body textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(5, 10, 18, 0.5);
}

.content-card__body input[type="submit"],
.content-card__body button,
.content-card__body .btn {
  padding: 10px 15px;
  border: 1px solid rgba(255, 223, 155, 0.44);
  border-radius: 999px;
  color: #1a1307;
  background: linear-gradient(180deg, #ffe0a0, #e5b868);
  cursor: pointer;
}

.world-stats {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.world-stats li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.world-stats strong {
  color: #fff0cc;
}

.is-online {
  color: var(--success) !important;
}

.is-offline {
  color: var(--danger) !important;
}

.themeboxes .Themebox {
  position: relative;
  width: 100% !important;
  margin: 0 0 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background-color: rgba(9, 16, 27, 0.86);
  background-size: cover;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.themeboxes .ThemeboxButton,
.themeboxes .BigButtonOver,
.themeboxes .ButtonText,
.themeboxes .Bottom {
  max-width: 100%;
}

.themeboxes .Bottom {
  left: 0 !important;
  width: 100% !important;
}

.themeboxes {
  display: grid;
  gap: 18px;
}

.themebox-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(9, 16, 27, 0.86);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.themebox-card--accent {
  background:
    radial-gradient(circle at top right, rgba(242, 202, 120, 0.14), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(9, 16, 27, 0.9);
}

.themebox-card__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.themebox-card__header h3 {
  margin: 0;
  color: #fff3d4;
  font-size: 1.18rem;
  font-family: "Martel", Georgia, "Times New Roman", serif;
}

.themebox-card p:last-child {
  margin-bottom: 0;
}

.gallery-card {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.gallery-card img {
  display: block;
  width: 100%;
  min-height: 170px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-card__cta {
  display: block;
  padding: 12px 14px 14px;
  color: var(--gold-strong);
  font-family: "Martel", Georgia, "Times New Roman", serif;
}

.top-players {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-players__item + .top-players__item {
  margin-top: 10px;
}

.top-players__link {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.top-players__outfit {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.top-players__copy {
  min-width: 0;
}

.top-players__copy strong,
.top-players__copy small {
  display: block;
}

.top-players__copy strong {
  color: var(--text);
}

.top-players__copy small {
  color: var(--muted);
}

.top-players__meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--teal);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 18px 8px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer__theme form,
.site-footer__theme select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-footer__theme select {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.account-manage {
  display: grid;
  gap: 18px;
}

.account-manage__hero,
.account-notice,
.account-section {
  padding: 20px 22px;
}

.account-manage__hero-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.account-manage__hero-body {
  display: grid;
  gap: 16px;
}

.account-manage__welcome {
  color: var(--text);
  font-size: 1.08rem;
}

.account-manage__text {
  margin: 0;
}

.account-manage__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-manage__actions form,
.account-manage__logout {
  margin: 0;
}

.account-kv {
  display: grid;
  gap: 10px;
}

.account-kv__row {
  display: grid;
  grid-template-columns: minmax(160px, 240px) minmax(0, 1fr);
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.account-kv__label {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-kv__value {
  min-width: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.account-table th {
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.account-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-table tbody tr:last-child td {
  border-bottom: 0;
}

.theme-button-legacy {
  min-width: 0;
  border: 0;
  cursor: pointer;
}

.theme-button-legacy--danger {
  background: linear-gradient(135deg, rgba(185, 62, 62, 0.95), rgba(123, 30, 30, 0.95));
  border-color: rgba(255, 164, 164, 0.35);
  color: #fff4ef;
}

.theme-button-legacy--success {
  background: linear-gradient(135deg, rgba(34, 137, 82, 0.95), rgba(22, 90, 54, 0.95));
  border-color: rgba(151, 232, 187, 0.32);
  color: #effff5;
}

#account-manage {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 22px;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#account-manage #one,
#account-manage #two {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

#account-manage #one {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(9, 16, 27, 0.86);
  padding: 16px !important;
  align-self: start;
}

#account-manage #two {
  display: grid;
  gap: 18px;
}

#account-manage .vertical-menu {
  display: grid;
  gap: 8px;
}

#account-manage .vertical-menu a {
  padding: 11px 14px !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text) !important;
  text-decoration: none;
}

#account-manage .vertical-menu a:hover {
  background: rgba(242, 202, 120, 0.12) !important;
  color: var(--gold-soft) !important;
}

#account-manage h1,
#account-manage h2 {
  margin: 0;
  color: #fff3d4;
}

#account-manage h1 {
  font-size: 2rem;
}

#account-manage > #two > p,
#account-manage > #two > div,
#account-manage > #two > table,
#account-manage > #two > br,
#account-manage > #two > h2,
#account-manage > #two > a[name] + h2,
#account-manage .TableContainer,
#account-manage .SmallBox {
  max-width: 100%;
}

#account-manage > #two > table,
#account-manage > #two table {
  width: 100% !important;
}

#account-manage table {
  border-collapse: collapse;
}

#account-manage td,
#account-manage th {
  padding: 12px 14px;
  vertical-align: top;
}

#account-manage th {
  color: var(--gold-soft);
  text-align: left;
}

#account-manage tr[bgcolor],
#account-manage tr[style*="background-color"] {
  background: transparent !important;
}

#account-manage tr[bgcolor] td,
#account-manage tr[style*="background-color"] td,
#account-manage tr[bgcolor] th,
#account-manage tr[style*="background-color"] th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#account-manage .BigButton,
#account-manage .BigButton > div,
#account-manage .BigButtonOver,
#account-manage .BigButtonText {
  background: none !important;
  width: auto !important;
  height: auto !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  display: inline-flex !important;
}

#account-manage form {
  margin: 0;
}

#account-manage .BigButtonText {
  border: 0;
}

#GalleryBox,
#NetworksBox {
  background-image: none !important;
  padding: 18px !important;
}

#GalleryBox .Bottom,
#NetworksBox .Bottom {
  display: none !important;
}

#GalleryBox a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

#Themeboxes #GalleryBox #GalleryContent,
#GalleryContent {
  display: block;
  width: 100% !important;
  height: auto !important;
  min-height: 170px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
}

#NetworksBox #FacebookBlock,
#NetworksBox #FacebookLikeBox,
#NetworksBox #FacebookSendBox,
#NetworksBox #FacebookLikes {
  display: none !important;
}

#NetworksBox #TwitterBlock {
  display: flex !important;
  justify-content: center;
  margin: 0 !important;
}

#NetworksBox .twitter-follow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 202, 120, 0.32);
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-soft) !important;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .hero__inner,
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .sidebar--nav,
  .sidebar--meta {
    order: 2;
  }

  .main-column {
    order: 1;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 16px, 1440px);
    padding-top: 12px;
  }

  .hero__inner,
  .content-card__header,
  .content-card__body,
  .panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__inner {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.5rem;
  }

  .topbar,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .button,
  .hero__actions a {
    width: 100%;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .account-manage__hero-header {
    flex-direction: column;
    align-items: stretch;
  }

  #account-manage {
    grid-template-columns: 1fr;
  }

  .account-kv__row {
    grid-template-columns: 1fr;
  }
}
