
#site-function .panel-body{
  display:block !important;
}
#site-function .api-status-wrap{
  width:100% !important;
  max-width:100% !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:6px !important;
  flex-wrap:nowrap !important;
}
#site-function .api-status-wrap > .api-status-card{
  min-width:98% !important;
  width:98% !important;
  max-width:98% !important;
  flex:0 0 98% !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}

#features {
  margin-top: 10px !important;
}
#features .panel-header {
  margin-bottom: 6px !important;
}
#site-function {
  margin-bottom: 10px !important;
}
#downloads {
  margin-top: 10px !important;
}
#downloads .panel-header {
  margin-bottom: 6px !important;
}
/* Panel header badge style */
.panel-badge {
  display: inline-block;
  background: #ffe082;
  color: #181818 !important;
  font-size: 16px !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 4px 18px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  letter-spacing: .12em;
  margin: 0;
}
#back-to-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  background: linear-gradient(90deg, #23281f 60%, #181e1a 100%);
  color: #e2c96c;
  border: 2px solid #e2c96c;
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0.5;
  transition: opacity 0.2s, background 0.2s;
}
#back-to-top:hover {
  opacity: 1;
  background: #2e3327;
}
/* Root color variables for theme */
:root {
  --muted: #bfae6a;
  /* Add other theme variables as needed */
}
.header-inner {
  flex-wrap: nowrap !important;
  min-width: 0 !important;
}

.header-links {
  min-width: 0 !important;
  flex-wrap: nowrap !important;
}

.site-title, .fixed-header .site-title {
  flex-shrink: 0 !important;
  min-width: 0 !important;
}
header a, nav a {
  font-size: 12px !important;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

header nav a {
  font-size: 12px !important;
  display: inline-flex;
  align-items: center;
}

/* BREAK header out of container */
header {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding: 12px 30px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.user-table {
  width: 98%;
  margin: 32px auto 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(180deg, #23281f 80%, #181e1a 100%);
  box-shadow: 0 6px 32px rgba(0,0,0,0.28), 0 1.5px 0 #e2c96c;
  border-radius: 18px;
  overflow: hidden;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 15px;
}
.user-table th, .user-table td {
  padding: 16px 18px;
  text-align: left;
}
.user-table th {
  background: linear-gradient(90deg, #23281f 60%, #181e1a 100%);
  color: #e2c96c;
  font-size: 1.08em;
  font-weight: 900;
  letter-spacing: 0.12em;
  border-bottom: 2.5px solid #e2c96c;
  text-shadow: 0 2px 8px #181e1a;
}
.user-table tr {
  transition: background 0.18s;
}
.user-table tr:nth-child(even) {
  background: rgba(191,174,106,0.04);
}
.user-table tr:hover {
  background: linear-gradient(90deg, #2e3327 60%, #23281f 100%);
}
.user-table td {
  color: #fff;
  border-bottom: 1px solid #353a2a;
}
.user-table td:last-child {
  white-space: nowrap;
}
.user-table a {
  color: #e2c96c;
  text-decoration: none;
  font-weight: 700;
  margin: 0 4px;
  transition: color 0.16s;
}
.user-table a:hover {
  color: #ffd700;
  text-decoration: underline;
}
.user-table .verified {
  color: #4caf50;
  font-weight: bold;
  letter-spacing: 0.04em;
}
.user-table .not-verified {
  color: #e57373;
  font-weight: bold;
  letter-spacing: 0.04em;
}
body {
  margin: 0;
  font-family: 'Consolas', 'Courier New', monospace;
  color: var(--text);
  background:
    linear-gradient(180deg, #23281f 0%, #181e1a 100%);
  min-height: 100vh;
  line-height: 1.5;
}

#auth-status-banner {
  display: none;
  position: fixed;
  left: 50%;
  top: 92px;
  transform: translateX(-50%);
  width: 40%;
  min-width: 280px;
  max-width: 680px;
  padding: 14px 18px;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  z-index: 10001;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  border: 1px solid #e2c96c;
}

.fixed-header {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-shadow: 0 2px 12px var(--shadow);
  background: linear-gradient(90deg, #23281f 60%, #181e1a 100%);
  border-bottom: 3px solid #e2c96c;
  position: relative;
  z-index: 1000;
}

.header-inner {
  width: 100% !important;
  max-width: 1400px;
  margin: 0 auto;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  padding: 12px 30px !important;
  box-sizing: border-box !important;
  height: 60px;
}

.home-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 30px;
  box-sizing: border-box;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-links {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  white-space: nowrap !important;
  height: auto !important;
}

.home-header-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
  margin-left: auto;
  min-width: 0;
}

.header-btn {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 11px !important;
  white-space: nowrap !important;
  padding: 3px 10px !important;
  border-radius: 5px !important;
  min-height: 24px !important;
  font-family: 'Consolas', 'Courier New', monospace;
  font-weight: 700;
  color: #181e1a;
  background: linear-gradient(180deg, #e2c96c 0%, #bfae6a 100%);
  border: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  margin: 0;
  outline: none;
  cursor: pointer;
}

.header-btn:hover, .header-btn:focus {
  background: linear-gradient(180deg, #ffd700 0%, #e2c96c 100%);
  color: #181e1a;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px var(--shadow);
}

.site-title {
  display: flex;
  align-items: center;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px var(--shadow);
  user-select: none;
}

.home-site-title {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
  gap: 10px;
}

.ember-logo {
  display: inline-block;
  height: 28px;
  width: 28px;
  margin-right: 8px;
  vertical-align: middle;
}

.home-ember-logo {
  vertical-align: middle;
  margin-right: 10px;
  height: 52px;
  width: auto;
  border-radius: 10px;
}

.home-avatar-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.home-avatar-frame {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #e2c96c;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
  background: #181e1a;
  flex: 0 0 38px;
}

.home-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.home-welcome-pill {
  margin-left: 16px;
  display: inline-block;
  padding: 4px 16px;
  background: linear-gradient(90deg,#e2c96c,#bfae6a);
  color: #181e1a;
  font-size: 13px;
  font-weight: 700;
  border-radius: 16px;
  vertical-align: middle;
}

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}
.hero-divider {
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--danger) 100%);
  margin-bottom: 24px;
  border: none;
  box-shadow: 0 2px 12px var(--shadow);
}
.topline-title {
  display: inline-block;
  color: var(--accent);
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 0 24px;
  line-height: 18px;
  vertical-align: middle;
}
html {
  scroll-behavior: smooth;
}

.topline {
  height: 18px;
  background: linear-gradient(90deg, #23281f, #3a3f2a 35%, #23281f);
  border-bottom: 2px solid #bfae6a;
  box-shadow: 0 2px 8px var(--shadow);
}

.hero {
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent);
  border-top: 6px solid var(--accent);
  width: 80%;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  /* background-image removed to allow dynamic hero image from inline style */
  /* background-position, background-repeat, background-size removed for same reason */
  box-shadow: 0 10px 32px var(--shadow);
}
.hero.hero-fixed-805 {
  width: 805px;
  max-width: 805px;
  margin-left: auto;
  margin-right: auto;
  border: none;
}

.feature-server-wrap {
  margin: 3px 0 18px;
  justify-content: center;
}

.feature-server-card {
  width: 90%;
  max-width: 90%;
  min-width: 0;
  flex: 0 1 90%;
}

.feature-server-top {
  align-items: flex-start;
}

.feature-server-identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.feature-server-marker {
  overflow: hidden;
}

.feature-server-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.feature-server-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 2px;
}

.feature-server-meta-item {
  font-size: 12px;
  color: #d4d0b1;
  letter-spacing: .04em;
}

.feature-server-meta-value {
  color: #f1edcf;
}

.feature-server-status {
  margin-top: 2px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
@media (max-width: 860px) {
  .hero.hero-fixed-805:not(.hero-rebuilt) {
    width: 90% !important;
    max-width: 90% !important;
  }
}
@media (max-width: 640px) {
  .feature-server-meta {
    grid-template-columns: 1fr !important;
  }
}

.hero::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.025) 0,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 18px
  );
  opacity: 0.35;
}

.hero::after {
  background: radial-gradient(circle at 78% 22%, rgba(254,215,0,0.18), transparent 20%);
}


.hero.hero-rebuilt {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: stretch;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto;
  right: auto;
  border-radius: 0;
  overflow: hidden;
}

.hero.hero-fixed-805.hero-rebuilt {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  border: none;
}

.hero-rebuilt-bg,
.hero-rebuilt-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-rebuilt-bg {
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-rebuilt-overlay {
  z-index: 1;
}

.hero.hero-rebuilt .hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 32px), 1280px);
  min-height: inherit;
  display: flex;
  align-items: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  gap: 28px;
  align-items: center;
  box-sizing: border-box;
}

.hero-copy {
  min-width: 0;
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  font-family: sans-serif;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Consolas', 'Courier New', monospace;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 14px var(--shadow);
  font-family: 'Consolas', 'Courier New', monospace;
}

.headline-accent {
  color: var(--danger);
  display: block;
  font-size: 0.48em;
  margin-top: 10px;
  letter-spacing: 0.26em;
  font-family: 'Consolas', 'Courier New', monospace;
}

.hero p {
  max-width: none;
  margin: 0 0 22px;
  color: #d7d7d7;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 11px 18px;
  border: 2px solid var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: 'Consolas', 'Courier New', monospace;
}

.button {
  color: #181e1a;
  background: linear-gradient(180deg, #e2c96c 0%, #bfae6a 100%);
  box-shadow: 0 2px 8px var(--shadow);
}

.button-ghost {
  color: var(--accent);
  background: linear-gradient(180deg, #23281f, #181e1a);
  border-color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
}

.button:hover,
.button-ghost:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.status-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(76,76,76,.92), rgba(39,39,39,.95));
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 16px 34px rgba(0,0,0,0.25);
}

.status-card h2 {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .18em;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stat {
  border: 1px solid #1a1a1a;
  background: rgba(20,20,20,.25);
  padding: 14px;
}

.stat strong {
  display: block;
  font-size: 26px;
  color: #fff;
  margin-bottom: 4px;
}

.stat span {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .13em;
}


.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: flex-end;
}

.nav a {
  display: block;
  padding: 14px 18px;
  border-right: 1px solid rgba(255,255,255,0.04);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #efefef;
  font-weight: 700;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border-radius: 6px;
  margin: 0 0 0 2px;
}

.nav a:hover {
  background: rgba(254,215,0,0.13);
  color: var(--accent);
  box-shadow: 0 2px 8px var(--shadow);
}


.content {
  display: grid;
  grid-template-columns: minmax(0, var(--left-card-width, 1.6fr)) minmax(0, var(--right-card-width, .9fr));
  gap: 24px;
  padding: 26px 0 42px;
  width: var(--main-content-width, 90%);
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: none;
  box-shadow: none;
  overflow: hidden;
  border-radius: 14px;
  border-image: none;
  border-image-slice: 1;
}
/* Base panel header */
.panel-header {
  padding: 14px 18px;
  background: none;
  border: none;
  border-radius: 14px 14px 0 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 20px;
  color: #181818;
  text-transform: none;
  letter-spacing: normal;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  z-index: 2;
  position: relative;
}

/* ✅ Correct way to remove borders when class is applied */
.panel-header.panel-header-noborder {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background-clip: padding-box !important;
}

/* Optional: if something still overrides it */
.panel-header-noborder {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.panel-body {
  padding: 10px 10px 20px 10px !important;
}

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

.news-item {
  border: 2px solid #e2c96c;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.14);
  padding: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(191,174,106,0.35);
  background-clip: padding-box;
}

.news-meta {
  color: var(--muted, #bfae6a);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.news-item h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}

.news-item p {
  margin: 0;
  font-size: 16px;
  color: #d0d0d0;
}

.news-title-strong {
  color: #e2c96c !important;
}

.news-body-copy {
  font-size: 16px;
  line-height: 1.6;
}

.feature-list,
.download-list {
  display: grid;
  gap: 12px;
}

.feature,
.download {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,0.04);
}

.feature strong,
.download strong {
  color: var(--accent-soft);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.feature span,
.download span {
  color: #c9c9c9;
  font-size: 12px;
}

.download {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 14px;
}

.download-text {
  display: grid;
  gap: 5px;
}

.tag {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(254,215,0,.08);
  border: 1px solid rgba(254,215,0,.2);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.quote-box {
  color: var(--text);
  background-color: #4d4d4d;
  border: 1px solid #121212;
  margin-top: 16px;
  padding: 14px;
  font-size: 12px;
  line-height: 1.55;
}

.footer {
  padding: 0 0 40px;
  color: #9b9b9b;
  font-size: 12px;
}

.footer-inner {
  padding: 18px 20px;
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, #23281f, #181e1a);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.home-footer-privacy-wrap {
  margin-left: 14px;
}

.home-footer-link {
  color: #ffd700;
  text-decoration: underline;
  font-size: 12px;
}

.home-footer-link-mr-lg {
  margin-right: 18px;
}

.home-footer-link-mr-md {
  margin-right: 14px;
}

.auth-modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.55);
}

.auth-modal-card {
  background: #23281f;
  border: 2px solid #e2c96c;
  border-radius: 14px;
  box-shadow: 0 8px 32px #000a;
  padding: 38px 32px 28px;
  max-width: 520px;
  width: 99vw;
  margin: 80px auto 0;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.auth-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #ffd700;
  font-size: 22px;
  cursor: pointer;
}

.auth-modal-title {
  color: #e2c96c;
  font-size: 1.3em;
  margin-bottom: 18px;
}

.auth-form-field {
  margin-bottom: 16px;
  max-width: 100%;
  overflow: hidden;
}

.auth-form-field-tight {
  margin-bottom: 20px;
}

.auth-form-label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #e2c96c;
  font-weight: 600;
}

.auth-form-input {
  width: 100%;
  padding: 13px 12px;
  margin-bottom: 0;
  border-radius: 7px;
  border: 1px solid #bfae6a;
  background: #181e1a;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

.auth-form-password-wrap {
  position: relative;
  margin-bottom: 24px;
}

.auth-form-input-password {
  padding: 13px 48px 13px 12px;
}

.auth-toggle-password {
  position: absolute;
  right: 10px;
  top: 38px;
  transform: translateY(0);
  background: none;
  border: none;
  color: #ffd700;
  font-size: 18px;
  cursor: pointer;
}

.auth-submit-btn {
  width: 100%;
  padding: 10px 0;
  background: linear-gradient(180deg,#e2c96c,#bfae6a);
  color: #181e1a;
  font-weight: 700;
  border: none;
  border-radius: 7px;
  cursor: pointer;
}

.auth-recaptcha-wrap {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(226,201,108,0.45);
  border-radius: 10px;
  background: linear-gradient(180deg,rgba(20,25,21,0.88),rgba(14,18,15,0.88));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.auth-form-link-wrap {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
}

.auth-form-link {
  color: #ffd700;
  text-decoration: underline;
  font-size: 12px;
}

.tickets-topbar {
  width: 100%;
  background: linear-gradient(90deg, #23281f 60%, #181e1a 100%);
  color: #e2c96c;
  font-size: 1.08em;
  font-weight: 900;
  letter-spacing: 0.12em;
  border-bottom: 2.5px solid #e2c96c;
  text-shadow: 0 2px 8px #181e1a;
  margin-bottom: 20px;
  gap: 18px;
  box-sizing: border-box;
}

.tickets-welcome-pill {
  display: inline-block;
  padding: 4px 18px;
  background: linear-gradient(90deg,#e2c96c,#bfae6a);
  color: #181e1a;
  font-size: 14px;
  font-weight: 700;
  border-radius: 16px;
  vertical-align: middle;
  white-space: nowrap;
}

.tickets-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.tickets-topbar-link {
  padding: 7px 18px;
  background: transparent;
  color: #e2c96c;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #e2c96c;
  border-radius: 18px;
  box-shadow: 0 2px 8px #000a;
  text-decoration: none;
}

.tickets-topbar-link-primary {
  padding: 7px 22px;
  background: linear-gradient(180deg,#e2c96c,#bfae6a);
  color: #181e1a;
  border: none;
}

.tickets-dashboard-shell {
  width: 95%;
  max-width: 95%;
  margin: 32px auto;
  background: #23281f;
  border: 2px solid #e2c96c;
  border-radius: 14px;
  box-shadow: 0 8px 32px #000a;
  padding: 26px;
  color: #fff;
}

.tickets-header-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tickets-page-title {
  color: #e2c96c;
  margin: 0 0 8px 0;
}

.tickets-page-subtitle {
  color: #bfae6a;
  margin: 0;
  max-width: 780px;
}

.tickets-new-support-btn {
  padding: 10px 18px;
  background: linear-gradient(180deg,#e2c96c,#bfae6a);
  color: #181e1a;
  font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(226,201,108,.25);
}

.tickets-flash {
  margin: 0 0 18px 0;
  padding: 14px 16px;
  border-radius: 10px;
  color: #fff;
}

.tickets-flash-error {
  border: 1px solid #e57373;
  background: rgba(183,28,28,.18);
}

.tickets-flash-success {
  border: 1px solid #e2c96c;
  background: rgba(226,201,108,.08);
}

.tickets-filter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: end;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(226,201,108,.35);
  border-radius: 12px;
  background: rgba(0,0,0,.18);
}

.tickets-filter-label {
  display: block;
  color: #bfae6a;
  font-size: 12px;
  margin-bottom: 6px;
}

.tickets-filter-select {
  min-width: 170px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #bfae6a;
  background: #181e1a;
  color: #fff;
}

.tickets-filter-apply {
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg,#e2c96c,#bfae6a);
  color: #181e1a;
  font-weight: 800;
  cursor: pointer;
}

.tickets-filter-reset {
  padding: 10px 16px;
  border: 1px solid #bfae6a;
  border-radius: 10px;
  color: #e2c96c;
  text-decoration: none;
}

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

.tickets-table {
  width: 100%;
  border: 3px solid #e2c96c;
  margin-top: 0;
}

.tickets-subject-title {
  color: #fff;
}

.tickets-subject-meta {
  color: #93a08f;
  font-size: 12px;
}

.tickets-pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  color: #111;
  font-weight: 800;
}

.ticket-status-open { background: #4caf50; }
.ticket-status-in-progress { background: #ffd54f; }
.ticket-status-resolved { background: #81c784; }
.ticket-status-closed { background: #b0bec5; }

.ticket-priority-low { background: #aed581; }
.ticket-priority-normal { background: #fff176; }
.ticket-priority-high { background: #ffb74d; }
.ticket-priority-urgent { background: #ef5350; }

.tickets-open-btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg,#e2c96c,#bfae6a);
  color: #181e1a;
  font-weight: 700;
  text-decoration: none;
}

.tickets-empty-state {
  padding: 24px;
  border: 1px dashed rgba(226,201,108,.45);
  border-radius: 14px;
  background: #181e1a;
  color: #fff;
}

.tickets-empty-accent {
  color: #e2c96c;
}

@media (max-width: 920px) {
  .hero-inner,
  .content {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding: 34px 24px 28px;
  }

}

@media (max-width: 640px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--max));
  }

  .nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nav a {
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .download {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}


/* Ensure Community News cards visibly keep rounded corners */
.news-item > :first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.news-item > :last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* === Quick Downloads Panel Modern Card Styles === */
.quick-download-list {
  display: grid;
  gap: 16px;
}

.quick-download-item {
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #23281f 80%, #181e1a 100%);
  border: 2px solid #e2c96c;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22), 0 1.5px 0 #e2c96c;
  overflow: hidden;
  min-height: 90px;
  padding: 0;
}

.quick-download-left {
  flex: 1 1 0%;
  padding: 18px 18px 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.quick-download-title {
  color: #e2c96c;
  font-size: 1.08em;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.quick-download-desc {
  color: #d0d0d0;
  font-size: 13px;
  margin-bottom: 10px;
  display: block;
  line-height: 1.5;
}

.quick-download-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 8px;
}

.quick-download-meta {
  color: #bfae6a;
  font-size: 12px;
  font-family: 'Consolas', 'Courier New', monospace;
  margin-right: 8px;
}

.quick-download-link {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(180deg, #e2c96c 0%, #bfae6a 100%);
  color: #181e1a;
  font-weight: 700;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 2px 8px var(--shadow);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.quick-download-link:hover {
  background: linear-gradient(180deg, #ffd700 0%, #e2c96c 100%);
  color: #181e1a;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px var(--shadow);
}

.quick-download-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px 0 0;
}

.quick-download-thumb {
  width: 90px;
  height: 70px;
  border-radius: 8px;
  border: 1px solid #bfae6a;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.2);
  overflow: hidden;
}

.panel-rounded {
  border-radius: 14px;
  overflow: hidden;
}

.home-aside {
  display: grid;
  gap: 24px;
  font-size: 12px;
}

.quick-download-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.quick-download-thumb-empty {
  color: #93a08f;
  font-size: 11px;
}

@media (max-width: 760px) {
  .quick-download-item {
    flex-direction: column;
    align-items: stretch;
  }
  .quick-download-right {
    padding: 0 0 18px 0;
    justify-content: flex-start;
  }
}

.community-news,
.servers,
.quick-downloads,
.community-news-section,
.servers-section,
.downloads-section {
  border-radius: 12px !important;
  overflow: visible; /* FIX: was breaking inner headers */
  border: 1px solid rgba(255,255,255,0.1);
}

.section-inner {
  border-radius: 12px;
  overflow: hidden;
}

.card-header,
.news-card-header,
.download-card-header {
  position: relative;
  z-index: 2;
}


.community-news,
.servers,
.quick-downloads,
.community-news-section,
.servers-section,
.downloads-section {
  border-radius: 12px;
  overflow: visible;
  position: relative;
}

.community-news::before,
.servers::before,
.quick-downloads::before,
.community-news-section::before,
.servers-section::before,
.downloads-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
}

.news-item,
.server-card,
.download-card,
.news-card,
.quick-download-card {
  border-radius: 12px;
  overflow: hidden;
}

    .download-card p {
      font-size: 16px;
      color: #d0d0d0;
    }
.news-item .card-body,
.server-card .card-body,
.download-card .card-body,
.news-card .card-body,
.quick-download-card .card-body {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.community-news .news-item,
.quick-downloads .download-card,
.servers .server-card,
.community-news-section .news-item,
.downloads-section .download-card,
.servers-section .server-card {
  position: relative;
  z-index: 1;
}


.news-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:18px;
  align-items:stretch;
}
.news-copy{
  min-width:0;
}
.news-title{
  color:#e2c96c;
}
.news-image-box{
  width:180px;
  min-width:180px;
  height:130px;
  border:1px solid #bfae6a;
  border-radius:10px;
  background:rgba(0,0,0,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  color:#bfae6a;
  font-size:13px;
  text-align:center;
}
.news-image-box img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}
@media (max-width: 760px){
  .news-item{
    grid-template-columns:1fr;
  }
  .news-image-box{
    width:100%;
    min-width:0;
  }
}

.access-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  gap: 16px;
  text-align: center;
}

.access-logo {
  width: min(110px, 26vw);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

.access-card {
  width: min(92vw, 760px);
  text-align: center;
  background: linear-gradient(180deg, #23281f 0%, #181e1a 100%);
  border: 2px solid #e57373;
  border-radius: 14px;
  box-shadow: 0 8px 32px #000a;
  padding: 34px 28px;
}

.access-title {
  margin: 0 0 12px;
  color: #e57373;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.access-message {
  margin: 0;
  color: #e57373;
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .hero.hero-rebuilt .hero-inner {
    width: min(calc(100% - 18px), 100%);
  }
}


/* Theme-controlled content panel widths */
.main-shell,
.main-content,
.page-shell,
.content-shell,
.container {
  max-width: var(--main-content-width, 100%);
}

.two-column,
.content-panels,
.cards-grid,
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--left-card-width, 50%)) minmax(0, var(--right-card-width, 50%));
  gap: 18px;
}

@media (max-width: 900px) {
  .two-column,
  .content-panels,
  .cards-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr;
    width: min(94%, 100%);
  }
}
