/* Ethereal KalOnline - The Return theme stylesheet. */
:root {

  --ethereal-void:      #080a0b;
  --ethereal-black:     #080a0b;
  --ethereal-black-rgb: 8, 10, 11;
  --ethereal-dark:      #0d1012;
  --ethereal-dark-rgb:  13, 16, 18;
  --ethereal-abyss:     #0a0c0d;

  --ethereal-burg-deep: #17140f;
  --ethereal-burg:      #1d1a13;
  --ethereal-burg-mid:  #302713;
  --ethereal-red:       #a98542;
  --ethereal-red-rgb:   169, 133, 66;
  --ethereal-red-deep-rgb: 116, 87, 36;
  --ethereal-ember:     #c5a766;

  --ethereal-surface:   #111416;
  --ethereal-surface-rgb: 17, 20, 22;
  --ethereal-panel:     #111416;
  --ethereal-panel-rgb: 17, 20, 22;
  --ethereal-steel:     #222228;
  --ethereal-iron:      #2e2e35;
  --ethereal-mist:      #96958f;
  --ethereal-mist-rgb:  150, 149, 143;
  --ethereal-silver:    #dedbd2;
  --ethereal-silver-rgb: 222, 219, 210;
  --ethereal-white:     #ffffff;


  --ethereal-success:   #4fa963;
  --ethereal-success-rgb: 79, 169, 99;
  --ethereal-danger-soft: #a44c4c;
  --ethereal-info:      #9fb8ff;
  --ethereal-violet:    #c4a3ff;


  --glow-xs:  0 0 6px  rgba(var(--ethereal-red-rgb), 0.24);
  --glow-sm:  0 0 12px rgba(var(--ethereal-red-rgb), 0.3);
  --glow-md:  0 0 24px rgba(var(--ethereal-red-rgb), 0.24);
  --glow-lg:  0 0 48px rgba(var(--ethereal-red-rgb), 0.16);

  --title-font: 'Cinzel', serif;
  --chaos-font: 'Cinzel Decorative', serif;
  --body-font:  'Inter', sans-serif;


  --job-knight:  #8fb8ff;
  --job-mage:    #ff7c88;
  --job-archer:  #91e2ad;
  --job-thief:   #ffc16a;


  --ember-1: #5a0917;
  --ember-2: #7f0f22;
  --ember-3: #a8142d;
  --ember-4: #d3203e;
  --ember-5: #ff5a5f;
  --ember-ash: #d8d8de;
}


*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--ethereal-void);
  color: var(--ethereal-silver);
  font-family: var(--body-font);
  margin: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-title {
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}




@keyframes ember-rise {
  0%   { transform: translateY(0)   translateX(0)      scale(1);   opacity: 0.7; }
  50%  { transform: translateY(-55px) translateX(12px)  scale(0.7); opacity: 0.5; }
  100% { transform: translateY(-110px) translateX(-8px) scale(0.2); opacity: 0; }
}


@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}


@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}


@keyframes scan-down {
  0%   { transform: translateY(-100%); opacity: 0.08; }
  100% { transform: translateY(100vh); opacity: 0; }
}


@keyframes glitch-1 {
  0%,89%          { clip-path: inset(0 0 100% 0); transform: translate(0); }
  90%             { clip-path: inset(18% 0 62% 0); transform: translate(-4px, 2px); }
  91%             { clip-path: inset(72% 0 4%  0); transform: translate( 4px,-1px); }
  92%             { clip-path: inset(38% 0 42% 0); transform: translate(-2px, 3px); }
  93%             { clip-path: inset(55% 0 22% 0); transform: translate( 3px,-2px); }
  94%,100%        { clip-path: inset(0 0 100% 0); transform: translate(0); }
}


@keyframes glitch-2 {
  0%,91%          { clip-path: inset(0 0 100% 0); transform: translate(0); }
  92%             { clip-path: inset(45% 0 33% 0); transform: translate( 5px,-3px); }
  93%             { clip-path: inset(10% 0 76% 0); transform: translate(-3px, 2px); }
  94%             { clip-path: inset(65% 0 18% 0); transform: translate( 2px, 4px); }
  95%,100%        { clip-path: inset(0 0 100% 0); transform: translate(0); }
}


@keyframes border-glow {
  0%,100% { box-shadow: 0 0 8px rgba(var(--ethereal-red-rgb),0.16), inset 0 0 8px rgba(var(--ethereal-red-rgb),0.04); }
  50%     { box-shadow: 0 0 14px rgba(var(--ethereal-red-rgb),0.24), inset 0 0 10px rgba(var(--ethereal-red-rgb),0.08); }
}


@keyframes corner-pulse {
  0%,100% { opacity: 0.35; }
  50%     { opacity: 0.9; }
}


@keyframes shimmer-h {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}


@keyframes flicker {
  0%,100% { opacity: 1; }
  92%     { opacity: 1; }
  93%     { opacity: 0.92; }
  94%     { opacity: 1; }
  96%     { opacity: 0.95; }
  97%     { opacity: 1; }
}


@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


.glitch-title {
  position: relative;
  display: inline-block;
  animation: flicker 7s infinite;
}
.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: inherit;
  white-space: inherit;
}
.glitch-title::before {
  color: rgba(255, 100, 100, 0.75);
  animation: glitch-1 9s infinite;
}
.glitch-title::after {
  color: rgba(100, 180, 255, 0.55);
  animation: glitch-2 9s infinite;
  animation-delay: 0.05s;
}


.scan-overlay {
  display: none !important;
}


.Ethereal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in 0.3s ease-out;
}

.anim-fade-up {
  animation: fade-up 0.7s cubic-bezier(0.22,0.8,0.4,1) both;
}
.anim-fade-in {
  animation: fade-in 0.6s ease both;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }


.chaos-panel {
  position: relative;
  background: var(--ethereal-panel);
  border: none;
  animation: none;
  overflow: hidden;
  backdrop-filter: none;
}


.chaos-panel::before {
  content: none;
  position: absolute;
  top: 0; left: 0; right: 0;
  pointer-events: none;
}


.chaos-panel::after {
  content: none;
  position: absolute;
  top: 0; right: 0;
  pointer-events: none;
}


.chaos-panel-bl::before {
  content: none;
  position: absolute;
  bottom: 0; left: 0;
  pointer-events: none;
  z-index: 2;
}

.chaos-panel::before,
.chaos-panel::after {
  content: none !important;
}


.ethereal-panel {
  background: var(--ethereal-panel);
  border: none;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.ethereal-panel::before {
  content: none;
  position: absolute;
  pointer-events: none;
}


.btn-ethereal {
  position: relative;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: var(--title-font);
}


.btn-ethereal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.12) 50%, transparent 65%);
  background-size: 200% 100%;
  background-position: -200% center;
  transition: background-position 0s;
  pointer-events: none;
}
.btn-ethereal:hover::before {
  animation: shimmer-h 0.55s ease forwards;
}

.btn-primary-red {
  background: var(--ethereal-red);
  color: white;
  border: none;
  box-shadow: none;
}
.btn-primary-red:hover {
  filter: brightness(1.15);
  box-shadow: none;
  transform: translateY(-1px);
}

.btn-secondary-dark {
  background: var(--ethereal-panel);
  color: var(--ethereal-silver);
  border: none;
}
.btn-secondary-dark:hover {
  color: white;
  transform: translateY(-1px);
}


.text-metallic {
  background: linear-gradient(180deg, #ffffff 0%, #c8c8d4 40%, #888898 70%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.7));
}

.glow-red {
  text-shadow: 0 0 8px rgba(var(--ethereal-red-rgb),0.38);
}

.glow-red-box {
  box-shadow: var(--glow-md);
}


.status-online {
  color: #5dff90;
  text-shadow: 0 0 6px rgba(93,255,144,0.55);
}


.feature-icon-card-sm {
  padding: 0.4rem 0.25rem;
  transition: all 0.3s ease;
}
.feature-icon-wrap-sm {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ethereal-panel);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}
.feature-icon-card-sm:hover .feature-icon-wrap-sm {
  box-shadow: none;
  background: var(--ethereal-panel);
}

.feature-icon-card {
  padding: 0.75rem 0.5rem;
  transition: all 0.3s ease;
}
.feature-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--ethereal-panel);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
}
.feature-icon-card:hover .feature-icon-wrap {
  box-shadow: none;
  background: var(--ethereal-panel);
}


.news-tag {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-radius: 2px;
  margin-right: 0.4rem;
}
.news-tag-new { background: rgba(255,65,151,0.12); color: #ff8fc6; border: 1px solid rgba(255,111,174,0.58); }
.news-tag-update { background: rgba(65,142,255,0.11); color: #9bd0ff; border: 1px solid rgba(123,190,255,0.56); }
.news-tag-notice { background: rgba(54,211,172,0.1); color: #8fffe0; border: 1px solid rgba(107,245,203,0.52); }
.news-tag-event  { background: rgba(234,88,12,0.14);  color: #f97316; }
.news-tag-patch  { background: rgba(142,92,255,0.11); color: #c9a8ff; border: 1px solid rgba(190,147,255,0.56); }

.countdown-digit-box {
  background: rgba(8, 0, 6, 0.9);
  border: 1px solid rgba(var(--ethereal-red-rgb),0.3);
  box-shadow: none;
  padding: 0.5rem 1rem;
  min-width: 72px;
  text-align: center;
  position: relative;
}
.countdown-digit-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--ethereal-red-rgb),0.5), transparent);
}


.Ethereal-card {
  background: rgba(10,0,8,0.88);
  border: 1px solid rgba(var(--ethereal-red-rgb),0.12);
  overflow: hidden;
}

.Ethereal-panel {
  background: rgba(10,0,8,0.88);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 15px rgba(0,0,0,0.5), 0 10px 30px rgba(0,0,0,0.8);
  padding: 2rem;
  margin-bottom: 2rem;
}

.Ethereal-panel-title {
  font-family: var(--title-font);
  color: var(--ethereal-red);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  border-bottom: 1px solid rgba(var(--ethereal-red-rgb),0.22);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.Ethereal-table-container { overflow-x: auto; }

.Ethereal-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.Ethereal-table th {
  padding: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ethereal-red);
  opacity: 0.8;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.Ethereal-table td {
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ethereal-silver);
  border-bottom: 1px solid rgba(255,255,255,0.02);
}

.Ethereal-input {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.25s ease;
}
.Ethereal-input:focus {
  outline: none;
  border-color: var(--ethereal-red);
  box-shadow: var(--glow-sm);
}

.chaos-skeleton, .Ethereal-skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.02) 25%,
    rgba(139,0,34,0.08) 50%,
    rgba(255,255,255,0.02) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  border-radius: 2px;
}


.chaos-ctx-menu, .Ethereal-ctx-menu {
  position: fixed;
  z-index: 10000;
  background: var(--ethereal-black);
  border: 1px solid rgba(var(--ethereal-red-rgb),0.3);
  box-shadow: 0 10px 40px rgba(0,0,0,0.9);
  padding: 4px;
  min-width: 160px;
  backdrop-filter: blur(12px);
}
.chaos-ctx-item, .Ethereal-ctx-item {
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: var(--ethereal-silver);
  font-size: 10px;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.chaos-ctx-item:hover, .Ethereal-ctx-item:hover {
  background: rgba(var(--ethereal-red-rgb), 0.15);
  color: white;
  padding-left: 20px;
}
.chaos-ctx-item-danger:hover, .Ethereal-ctx-item-danger:hover {
  background: var(--ethereal-red);
}


::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-black, #080a0b); }
::-webkit-scrollbar-thumb { background: rgba(var(--ethereal-red-rgb), 0.45); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-light, #c5a766); }


#rankingRows tr {
  border-bottom: 1px solid rgba(255,255,255,0.02);
  transition: all 0.25s ease;
}
#rankingRows tr:hover {
  background: rgba(var(--ethereal-red-rgb), 0.06) !important;
}

.progress-block {
  width: 12px !important;
  height: 12px !important;
  background: #050505 !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  margin-right: 2px;
}
.progress-fill {
  background: linear-gradient(180deg, var(--gold-light, #c5a766) 0%, var(--gold-dark, #745724) 100%) !important;
  box-shadow: none;
}

.text-earth-400 {
  color: var(--ethereal-red) !important;
  font-weight: bold;
}


.job-knight { color: var(--job-knight) !important; text-shadow: 0 0 10px rgba(93,173,226,0.4); }
.job-mage   { color: var(--job-mage) !important;   text-shadow: 0 0 10px rgba(236,112,99,0.4); }
.job-archer { color: var(--job-archer) !important; text-shadow: 0 0 10px rgba(88,214,141,0.4); }
.job-thief  { color: var(--job-thief) !important;  text-shadow: 0 0 10px rgba(245,176,65,0.4); }


[style*="color:#3333FF"], [style*="color:#1e90ff"] { color: #5dade2 !important; }
[style*="color:#ff2b2b"]                           { color: #ec7063 !important; }
[style*="color:#006600"]                           { color: #58d68d !important; }
[style*="color:orange"]                            { color: #f5b041 !important; }


#mobileDrawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: rgba(5,0,8,0.98);
  border-left: 1px solid rgba(var(--ethereal-red-rgb),0.25);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 200;
  backdrop-filter: blur(20px);
}
#mobileDrawer.active { transform: translateX(0); }

#mobileOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 199;
}
#mobileOverlay.active { opacity: 1; pointer-events: auto; }


.inv-wrap {
  position: relative;
  width: 256px;
  height: 256px;
  background-image: url('/static/images/equip_bg.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  image-rendering: pixelated;
  z-index: 1;
}

.inv-slot {
  position: absolute;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.inv-slot:hover {
  z-index: 100;
}

.inv-slot img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.inv-slot .group > div:first-child {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.inventory-modal-shell,
.inventory-modal-panel {
  overflow: visible !important;
}

.inventory-item-tip {
  white-space: normal;
  line-height: 1.45;
}

.inv-slot-helmet   { top: 38px;  left: 76px; }
.inv-slot-weapon   { top: 45px;  left: 187px; }
.inv-slot-chest    { top: 80px;  left: 76px; }
.inv-slot-boots    { top: 80px;  left: 118px; }
.inv-slot-gloves   { top: 80px;  left: 34px; }
.inv-slot-shield   { top: 112px; left: 187px; }
.inv-slot-lower    { top: 122px; left: 76px; }
.inv-slot-ring     { top: 170px; left: 30px; }
.inv-slot-necklace { top: 170px; left: 72px; }
.inv-slot-trinket  { top: 170px; left: 114px; }
.inv-slot-amulet   { top: 170px; left: 158px; }


.text-ethereal-red { color: var(--ethereal-red) !important; }
.text-ethereal-silver { color: var(--ethereal-silver) !important; }
.text-ethereal-black { color: var(--ethereal-black) !important; }
.text-ethereal-red\/60 { color: rgba(var(--ethereal-red-rgb), 0.7) !important; }
.text-ethereal-red\/70 { color: rgba(var(--ethereal-red-rgb), 0.82) !important; }
.text-ethereal-silver\/40 { color: rgba(var(--ethereal-silver-rgb), 0.4) !important; }

.bg-ethereal-red { background-color: var(--ethereal-red) !important; }
.bg-ethereal-red\/5 { background-color: rgba(var(--ethereal-red-rgb), 0.05) !important; }
.bg-ethereal-red\/10 { background-color: rgba(var(--ethereal-red-rgb), 0.1) !important; }
.bg-ethereal-black { background-color: var(--ethereal-black) !important; }
.bg-ethereal-black\/40 { background-color: rgba(var(--ethereal-black-rgb), 0.4) !important; }
.bg-ethereal-black\/60 { background-color: rgba(var(--ethereal-black-rgb), 0.6) !important; }
.bg-ethereal-black\/80 { background-color: rgba(var(--ethereal-black-rgb), 0.8) !important; }
.bg-ethereal-black\/90 { background-color: rgba(var(--ethereal-black-rgb), 0.9) !important; }
.bg-ethereal-black\/95 { background-color: rgba(var(--ethereal-black-rgb), 0.95) !important; }
.bg-ethereal-burg\/5 { background-color: rgba(79, 19, 34, 0.16) !important; }

.border-ethereal-red { border-color: var(--ethereal-red) !important; }
.border-ethereal-red\/10 { border-color: rgba(var(--ethereal-red-rgb), 0.1) !important; }
.border-ethereal-red\/20 { border-color: rgba(var(--ethereal-red-rgb), 0.2) !important; }
.border-ethereal-red\/30 { border-color: rgba(var(--ethereal-red-rgb), 0.3) !important; }
.border-ethereal-red\/40 { border-color: rgba(var(--ethereal-red-rgb), 0.4) !important; }
.border-ethereal-red\/60 { border-color: rgba(var(--ethereal-red-rgb), 0.6) !important; }

.from-ethereal-black { --tw-gradient-from: var(--ethereal-black) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgba(var(--ethereal-black-rgb), 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.via-ethereal-black\/80 { --tw-gradient-via: rgba(var(--ethereal-black-rgb), 0.8) var(--tw-gradient-via-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to) !important; }
.to-ethereal-red { --tw-gradient-to: var(--ethereal-red) var(--tw-gradient-to-position) !important; }

.rank-podium-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(46, 16, 24, 0.95) 0%, rgba(16, 9, 13, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.rank-podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 48%);
  pointer-events: none;
}

.rank-podium-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 211, 216, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.rank-podium-card-media {
  background: linear-gradient(180deg, rgba(123, 167, 255, 0.18) 0%, rgba(33, 49, 88, 0.36) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.class-icon {
  width: calc(1.5rem + 4px);
  height: calc(1.5rem + 4px);
  object-fit: contain;
  border-radius: 999px;
  padding: 0.12rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(113, 25, 42, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.class-icon-sm {
  width: calc(1.15rem + 4px);
  height: calc(1.15rem + 4px);
}

.class-icon-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ranking-inspect-btn {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid rgba(197, 167, 102, 0.18);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(222, 219, 210, 0.52);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.ranking-inspect-btn svg {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
}

.ranking-inspect-btn:hover,
.ranking-inspect-btn:focus-visible {
  border-color: rgba(229, 194, 112, 0.46);
  background: rgba(169, 133, 66, 0.1);
  color: #ffe8b1;
  box-shadow: 0 0 14px rgba(197, 167, 102, 0.1);
}

.honor-rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.15rem;
  padding: 0.24rem 0.7rem 0.24rem 0.28rem;
  border: 1px solid rgba(197, 167, 102, 0.18);
  background:
    linear-gradient(180deg, rgba(169, 133, 66, 0.08), rgba(0, 0, 0, 0.2)),
    rgba(255, 255, 255, 0.02);
  color: rgba(245, 230, 194, 0.9);
  font-family: var(--title-font);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: help;
  white-space: nowrap;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.honor-rank-badge:hover,
.honor-rank-badge:focus-visible {
  border-color: rgba(229, 194, 112, 0.48);
  background:
    linear-gradient(180deg, rgba(169, 133, 66, 0.16), rgba(0, 0, 0, 0.26)),
    rgba(255, 255, 255, 0.03);
  color: #ffe8b1;
  box-shadow: 0 0 16px rgba(197, 167, 102, 0.1);
  outline: none;
}

.honor-rank-icon {
  width: 1.55rem;
  height: 1.55rem;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 4px 7px rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 8px rgba(229, 194, 112, 0.1));
}

.honor-rank-icon--empty {
  display: inline-block;
  border: 1px solid rgba(197, 167, 102, 0.14);
  background: rgba(255, 255, 255, 0.025);
}

#Ethereal-global-tooltip {
  border-color: rgba(197, 167, 102, 0.24) !important;
  background:
    linear-gradient(180deg, rgba(11, 13, 13, 0.98), rgba(3, 4, 5, 0.98)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.035),
    0 18px 38px rgba(0, 0, 0, 0.5) !important;
}

#Ethereal-global-tooltip .tooltip-title {
  width: 100%;
  margin-bottom: 0.65rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.2);
  color: #e5c675;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

#Ethereal-global-tooltip .tooltip-desc {
  width: 100%;
  color: rgba(245, 238, 224, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-transform: uppercase;
}

.animal-companion {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(241, 234, 220, 0.86);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.animal-companion-icon {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  image-rendering: auto;
}

.ranking-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  padding: 0.2rem 0.48rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--title-font);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.025);
}

.ranking-rank-badge-gold {
  border-color: rgba(197, 167, 102, 0.48);
  color: #f3d894;
  background: linear-gradient(180deg, rgba(197, 167, 102, 0.14), rgba(78, 56, 20, 0.12));
}

.ranking-rank-badge-silver {
  border-color: rgba(210, 218, 228, 0.32);
  color: #e4e9f0;
  background: linear-gradient(180deg, rgba(210, 218, 228, 0.12), rgba(63, 72, 84, 0.1));
}

.ranking-rank-badge-bronze {
  border-color: rgba(190, 126, 75, 0.34);
  color: #e5b17d;
  background: linear-gradient(180deg, rgba(190, 126, 75, 0.12), rgba(82, 42, 20, 0.1));
}

.ranking-name-top-gold {
  color: #f74f1c;
  text-shadow: 0 0 14px rgba(255, 17, 0, 0.18);
}

.ranking-name-top-silver {
  color: #e6d707;
  text-shadow: 0 0 14px rgba(235, 211, 0, 0.14);
}

.ranking-name-top-bronze {
  color: #009700;
  text-shadow: 0 0 14px rgba(190, 126, 75, 0.14);
}

.auth-link-register:hover {
  color: #f2c1c8 !important;
}

.home-hero-vignette {
  background:
    radial-gradient(circle at 72% 18%, rgba(118, 20, 43, 0.24), transparent 28%),
    radial-gradient(circle at 24% 78%, rgba(76, 11, 27, 0.22), transparent 32%);
}

.home-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 0.95rem 1.75rem;
  font-family: var(--title-font);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.28s ease, border-color 0.28s ease, color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}

.home-cta span {
  position: relative;
  z-index: 1;
}

.home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.14) 50%, transparent 80%);
  transform: translateX(-135%);
  transition: transform 0.7s ease;
}

.home-cta:hover::before {
  transform: translateX(135%);
}

.home-cta:hover {
  transform: translateY(-2px);
}

.home-cta-primary {
  color: #fff7f8;
  background: linear-gradient(135deg, #b31636 0%, #791126 100%);
  border-color: rgba(255, 201, 209, 0.16);
  box-shadow: 0 18px 32px rgba(69, 10, 25, 0.28);
}

.home-cta-primary:hover {
  color: #14070b;
  background: linear-gradient(135deg, #f2c1c8 0%, #e9d9b7 100%);
}

.home-cta-secondary {
  color: #f0edf1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(90, 22, 39, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.home-cta-secondary:hover {
  color: #f6d6ab;
  border-color: rgba(246, 214, 171, 0.38);
  background: linear-gradient(180deg, rgba(108, 37, 56, 0.44) 0%, rgba(52, 18, 30, 0.54) 100%);
}

.home-hero-aside {
  display: flex;
  justify-content: flex-end;
}

.home-stat-card {
  width: min(100%, 360px);
  padding: 1.35rem;
  background: linear-gradient(180deg, rgba(29, 12, 17, 0.84) 0%, rgba(11, 7, 10, 0.94) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.home-stat-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: radial-gradient(circle, #f2c1c8 0%, #a01535 100%);
  box-shadow: 0 0 14px rgba(242, 193, 200, 0.35);
}

.home-section-shell {
  background:
    linear-gradient(180deg, rgba(15, 7, 10, 0.88) 0%, rgba(6, 4, 5, 0.94) 100%);
}


:root {
  --gold-accent: #d4af37;
  --gold-glow: 0 0 10px rgba(212, 175, 55, 0.4);
  --gold-border: 1px solid rgba(212, 175, 55, 0.25);
}

.border-gold {
  border: var(--gold-border);
}
.border-gold-glow {
  border: var(--gold-border);
  box-shadow: var(--gold-glow);
}


.glass-panel {
  background: rgba(4, 4, 8, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), inset 0 0 10px rgba(212, 175, 55, 0.05);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 12px rgba(212, 175, 55, 0.1);
}


.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18, 16, 11, 0.94) 0%, rgba(11, 10, 8, 0.84) 100%);
  border: 1px solid rgba(181, 146, 77, 0.58);
  color: #f1e4c4;
  font-family: var(--title-font);
  letter-spacing: 0.22em;
  text-shadow: 0 0 4px rgba(212, 175, 55, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255, 233, 184, 0.05),
    inset 0 0 22px rgba(212, 175, 55, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.26);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-gold::before,
.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.btn-gold::before {
  inset: 4px;
  border: 1px solid rgba(181, 146, 77, 0.18);
}

.btn-gold::after {
  background:
    linear-gradient(90deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) left 8px top 8px / 12px 1px no-repeat,
    linear-gradient(180deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) left 8px top 8px / 1px 12px no-repeat,
    linear-gradient(90deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) right 8px top 8px / 12px 1px no-repeat,
    linear-gradient(180deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) right 8px top 8px / 1px 12px no-repeat,
    linear-gradient(90deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) left 8px bottom 8px / 12px 1px no-repeat,
    linear-gradient(180deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) left 8px bottom 8px / 1px 12px no-repeat,
    linear-gradient(90deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) right 8px bottom 8px / 12px 1px no-repeat,
    linear-gradient(180deg, rgba(181, 146, 77, 0.28), rgba(181, 146, 77, 0.28)) right 8px bottom 8px / 1px 12px no-repeat;
}

.btn-gold:hover {
  border-color: rgba(212, 175, 55, 0.78);
  color: #fff9ea;
  box-shadow:
    inset 0 0 0 1px rgba(255, 233, 184, 0.08),
    inset 0 0 28px rgba(212, 175, 55, 0.05),
    0 0 14px rgba(212, 175, 55, 0.1),
    0 12px 26px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.inner-page-shell {
  position: relative;
  min-height: calc(100dvh - 5rem);
  padding: 7.5rem 0 5rem;
  overflow: hidden;
}

.inner-page-shell::before,
.inner-page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.inner-page-shell::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(116, 145, 255, 0.14), transparent 24%),
    radial-gradient(circle at 78% 16%, rgba(212, 175, 55, 0.12), transparent 24%),
    radial-gradient(circle at 82% 82%, rgba(255, 176, 120, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(3, 5, 10, 0.92) 0%, rgba(4, 5, 9, 0.8) 18%, rgba(4, 5, 9, 0.7) 56%, rgba(3, 4, 8, 0.94) 100%);
}

.inner-page-shell::after {
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.06) 14%, rgba(212, 175, 55, 0.06) 86%, rgba(212, 175, 55, 0)),
    radial-gradient(circle at center, rgba(255, 229, 164, 0.05), transparent 42%);
  opacity: 0.9;
}

.inner-page-starfield,
.inner-page-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.inner-page-starfield {
  background-image:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.82) 0 1px, transparent 1.5px),
    radial-gradient(circle at 29% 66%, rgba(212, 175, 55, 0.78) 0 1px, transparent 1.7px),
    radial-gradient(circle at 48% 24%, rgba(171, 205, 255, 0.75) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 72% 34%, rgba(255, 225, 187, 0.7) 0 1px, transparent 1.6px),
    radial-gradient(circle at 87% 72%, rgba(214, 168, 255, 0.62) 0 1px, transparent 1.6px),
    radial-gradient(circle at 58% 84%, rgba(255, 255, 255, 0.6) 0 1px, transparent 1.5px),
    radial-gradient(circle at 7% 79%, rgba(255, 255, 255, 0.48) 0 1px, transparent 1.5px);
  opacity: 0.7;
  animation: home-stars-drift 26s ease-in-out infinite;
}

.inner-page-gridlines {
  background:
    linear-gradient(90deg, transparent 0%, transparent calc(50% - 1px), rgba(212, 175, 55, 0.06) 50%, transparent calc(50% + 1px), transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.05) 14%, rgba(212, 175, 55, 0.05) 14.3%, transparent 14.6%, transparent 100%);
  opacity: 0.45;
}

.inner-page-container {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.inner-page-container.is-wide {
  width: min(100%, 1280px);
}

.inner-page-container.is-narrow {
  width: min(100%, 920px);
}

.inner-page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 3rem;
  text-align: center;
}

.inner-page-kicker {
  font-family: var(--title-font);
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.82);
}

.inner-page-title {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(2.7rem, 5vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f4ebdc;
}

.inner-page-copy {
  max-width: 42rem;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(242, 236, 227, 0.68);
}

.inner-page-divider {
  position: relative;
  width: min(14rem, 32vw);
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0), rgba(212, 175, 55, 0.86), rgba(212, 175, 55, 0));
}

.inner-page-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(212, 175, 55, 0.65);
  background: rgba(5, 6, 10, 0.95);
  transform: translate(-50%, -50%) rotate(45deg);
}

.inner-page-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 9, 16, 0.9) 0%, rgba(5, 6, 10, 0.96) 100%),
    rgba(4, 4, 8, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38), inset 0 0 18px rgba(212, 175, 55, 0.04);
  backdrop-filter: blur(14px);
}

.inner-page-panel::before,
.inner-page-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.inner-page-panel::before {
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.inner-page-panel::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) left 14px top 14px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) left 14px top 14px / 1px 18px no-repeat,
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) right 14px top 14px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) right 14px top 14px / 1px 18px no-repeat,
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) left 14px bottom 14px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) left 14px bottom 14px / 1px 18px no-repeat,
    linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) right 14px bottom 14px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.16)) right 14px bottom 14px / 1px 18px no-repeat;
}

.inner-page-panel-body {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.inner-page-panel-body.is-lg {
  padding: 2.8rem;
}

.inner-page-caption {
  font-family: var(--title-font);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.75);
}

.inner-page-backlink {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--title-font);
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(242, 236, 227, 0.5);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.inner-page-backlink:hover {
  color: #fff5e3;
}

.inner-page-backlink-arrow {
  font-size: 0;
  color: rgba(212, 175, 55, 0.9);
  transition: transform 0.25s ease;
}

.inner-page-backlink-arrow::before {
  content: "\2190";
  font-size: 0.8rem;
}

.inner-page-backlink:hover .inner-page-backlink-arrow {
  transform: translateX(-3px);
}

.inner-page-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f4ebdc;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.inner-page-search:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.16);
}

.inner-page-search::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.inner-page-sidebar-note {
  position: fixed;
  top: 50%;
  font-size: 0.58rem;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.inner-page-sidebar-note.is-right {
  right: 1.8rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right;
}

.inner-page-sidebar-note.is-left {
  left: 1.8rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left;
}

@media (max-width: 1023px) {
  .inner-page-shell {
    padding: 6.5rem 0 4rem;
  }

  .inner-page-panel-body,
  .inner-page-panel-body.is-lg {
    padding: 1.4rem;
  }
}

@media (max-width: 767px) {
  .inner-page-container,
  .inner-page-container.is-wide,
  .inner-page-container.is-narrow {
    padding: 0 1rem;
  }

  .inner-page-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
    line-height: 0.98;
  }

  .inner-page-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.28em;
  }

  .inner-page-copy {
    font-size: 0.84rem;
    line-height: 1.7;
  }

  .inner-page-divider {
    width: min(11rem, 46vw);
  }
}



:root {
  --bg-black: #080a0b;
  --bg-dark: #0d1012;
  --bg-panel: #111416;
  --bg-panel-deep: #0a0c0d;
  --bg-panel-soft: #171a1b;
  --border-dark: #2b2d2c;
  --border-light: #45463f;
  --gold-dark: #745724;
  --gold: #a98542;
  --gold-light: #c5a766;
  --text-primary: #dedbd2;
  --text-secondary: #96958f;
  --text-muted: #666863;
  --online: #4fa963;
  --danger: #a44c4c;
  --panel-border-image: url("/static/assets/ethereal/ui/panel-frame.webp");
  --panel-corner-tl: url("/static/assets/ethereal/ui/panel-corner-tl.webp");
  --panel-corner-tr: url("/static/assets/ethereal/ui/panel-corner-tr.webp");
  --panel-corner-bl: url("/static/assets/ethereal/ui/panel-corner-bl.webp");
  --panel-corner-br: url("/static/assets/ethereal/ui/panel-corner-br.webp");
  --hero-image: url("/static/assets/ethereal/hero/hero-bg.webp");

  --ethereal-void: var(--bg-black);
  --ethereal-black: var(--bg-black);
  --ethereal-black-rgb: 8, 10, 11;
  --ethereal-dark: var(--bg-dark);
  --ethereal-dark-rgb: 13, 16, 18;
  --ethereal-surface: var(--bg-panel);
  --ethereal-surface-rgb: 17, 20, 22;
  --ethereal-panel: var(--bg-panel);
  --ethereal-panel-rgb: 17, 20, 22;
  --ethereal-red: var(--gold);
  --ethereal-red-rgb: 169, 133, 66;
  --ethereal-red-deep-rgb: 116, 87, 36;
  --ethereal-mist: var(--text-secondary);
  --ethereal-mist-rgb: 150, 149, 143;
  --ethereal-silver: var(--text-primary);
  --ethereal-silver-rgb: 222, 219, 210;
  --title-font: "Cinzel", serif;
  --body-font: "Inter", system-ui, sans-serif;
}

html {
  background: var(--bg-black);
}

body {
  background:
    radial-gradient(circle at 50% 0, rgba(69, 82, 94, 0.16), transparent 34rem),
    linear-gradient(180deg, #0c0f11 0%, var(--bg-black) 32rem, #050606 100%);
  color: var(--text-primary);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent, #000 12rem, #000 75%, transparent);
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 1px solid var(--gold-light);
  outline-offset: 3px;
}

.theme-top-glow,
.scan-overlay,
.inner-page-starfield,
.inner-page-gridlines,
.inner-page-sidebar-note,
.glitch-title::before,
.glitch-title::after {
  display: none !important;
}

.glitch-title {
  animation: none;
  color: var(--gold-light);
}

.ek-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background:
    linear-gradient(112deg, transparent 0 12%, rgba(255, 255, 255, 0.035) 12.08%, transparent 12.28% 24%, rgba(255, 255, 255, 0.026) 24.08%, transparent 24.24%),
    linear-gradient(180deg, rgba(9, 10, 10, 0.98), rgba(4, 5, 5, 0.98)),
    var(--bg-black);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(69, 70, 63, 0.55);
  box-shadow:
    inset 0 -1px 0 rgba(0, 0, 0, 0.92),
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 10px 22px rgba(0, 0, 0, 0.34);
  backdrop-filter: none;
}

.ek-site-header::before,
.ek-site-header::after {
  content: "";
  position: absolute;
  top: 0;
  width: 5.4rem;
  height: 100%;
  pointer-events: none;
  opacity: 0.72;
  background-image: url("/static/assets/ethereal/ui/nav-frame.webp");
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.ek-site-header::before {
  left: 0;
  background-position: left center;
}

.ek-site-header::after {
  right: 0;
  background-position: right center;
}

.ek-nav-shell {
  position: relative;
  width: min(100% - 1.5rem, 1840px);
  min-height: 92px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) auto auto;
  gap: clamp(0.8rem, 1.4vw, 1.8rem);
  align-items: center;
}

.ek-brand,
.ek-footer-brand {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  font-family: var(--title-font);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 0.95;
  color: #f1eadc;
}

.ek-brand::before,
.ek-footer-brand::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  opacity: 0.42;
  transform: translateY(-50%);
  background: url("/static/assets/ethereal/ui/ornament.webp") center / contain no-repeat;
}

.ek-brand span:first-child,
.ek-footer-brand span:first-child {
  font-size: 1.65rem;
}

.ek-brand span:nth-child(2),
.ek-footer-brand span:nth-child(2) {
  font-size: 1.2rem;
  letter-spacing: 0.22em;
}

.ek-brand {
  grid-column: 1;
  justify-self: start;
}

.ek-main-nav {
  position: relative;
  grid-column: 2;
  justify-self: center;
  align-self: stretch;
  display: flex;
  justify-content: center;
  gap: 0;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow:
    -1px 0 0 rgba(0, 0, 0, 0.5),
    1px 0 0 rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.ek-nav-item {
  position: relative;
  display: inline-flex;
}

.ek-main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 92px;
  padding: 0 clamp(0.65rem, 1.05vw, 1.55rem);
  font-family: var(--title-font);
  font-size: 0.86rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(222, 219, 210, 0.82);
  transition: color 180ms ease;
}

.ek-main-nav a + a,
.ek-main-nav a + .ek-nav-item,
.ek-main-nav .ek-nav-item + a,
.ek-main-nav .ek-nav-item + .ek-nav-item {
  border-left: 1px solid rgba(255, 255, 255, 0.035);
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.45);
}

.ek-main-nav a:hover,
.ek-main-nav a.is-active,
.ek-nav-item:hover > a {
  color: var(--gold-light);
}

.ek-main-nav a.is-active::after,
.ek-nav-item.is-active > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.75), 0 0 8px rgba(169, 133, 66, 0.5);
}

.ek-main-nav a.is-active::before,
.ek-nav-item.is-active > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.83rem;
  width: 4rem;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(197, 167, 102, 0.68), transparent);
}

.ek-nav-menu {
  position: absolute;
  top: calc(100% - 0.35rem);
  left: 50%;
  z-index: 80;
  width: 12rem;
  padding: 0.45rem;
  border: 1px solid rgba(69, 70, 63, 0.82);
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.98), rgba(5, 6, 7, 0.98)),
    rgba(8, 10, 11, 0.98);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 0.45rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ek-nav-item:hover .ek-nav-menu,
.ek-nav-item:focus-within .ek-nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.ek-main-nav .ek-nav-menu a {
  min-height: 2.35rem;
  width: 100%;
  justify-content: space-between;
  padding: 0.55rem 0.7rem;
  border-left: 0;
  color: rgba(222, 219, 210, 0.66);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  box-shadow: none;
}

.ek-main-nav .ek-nav-menu a::before,
.ek-main-nav .ek-nav-menu a::after {
  content: none;
}

.ek-main-nav .ek-nav-menu a:hover {
  background: rgba(169, 133, 66, 0.08);
  color: var(--gold-light);
}

.ek-nav-actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.8rem, 1.2vw, 1.4rem);
  min-width: 0;
  min-height: 92px;
  padding-left: clamp(0.7rem, 1vw, 1.2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.ek-nav-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.65rem, 0.9vw, 1rem);
  min-width: 0;
  transform: none;
}

.ek-discord-link,
.ek-vote-link {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 102, 0.34);
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.7), rgba(6, 7, 8, 0.88)),
    rgba(8, 10, 11, 0.84);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ek-discord-link img,
.ek-vote-link img {
  width: 1.85rem;
  height: 1.85rem;
  object-fit: contain;
  filter: saturate(0.55) sepia(0.12) brightness(0.92);
  transition: filter 180ms ease, transform 180ms ease;
}

.ek-discord-link:hover,
.ek-vote-link:hover {
  border-color: rgba(197, 167, 102, 0.7);
  background:
    linear-gradient(180deg, rgba(169, 133, 66, 0.12), rgba(6, 7, 8, 0.9)),
    rgba(8, 10, 11, 0.9);
  transform: translateY(-1px);
}

.ek-discord-link:hover img,
.ek-vote-link:hover img {
  filter: saturate(0.9) sepia(0.08) brightness(1.1);
  transform: scale(1.04);
}

.ek-account-link {
  position: relative;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.14rem;
  border: 0;
  background: transparent;
  color: #dcb75f;
  font-family: var(--title-font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(197, 167, 102, 0.14);
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.ek-account-link::before {
  content: "";
  position: absolute;
  inset: 0.2rem -0.42rem;
  border: 1px solid rgba(197, 167, 102, 0);
  background: linear-gradient(90deg, rgba(197, 167, 102, 0.08), transparent 34%, transparent 66%, rgba(197, 167, 102, 0.08));
  opacity: 0;
  transform: scaleX(0.82);
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ek-account-link::after {
  content: "";
  position: absolute;
  left: 0.02rem;
  right: 0.02rem;
  bottom: 0.24rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 213, 139, 0.86), transparent);
  opacity: 0.54;
  transform: scaleX(0.44);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ek-account-link:hover,
.ek-account-link:focus-visible {
  color: #fff1bf;
  filter: drop-shadow(0 0 9px rgba(197, 167, 102, 0.28));
  text-shadow: 0 0 14px rgba(244, 213, 139, 0.26);
  transform: translateY(-1px);
}

.ek-account-link:hover::before,
.ek-account-link:focus-visible::before {
  border-color: rgba(197, 167, 102, 0.28);
  opacity: 1;
  transform: scaleX(1);
}

.ek-account-link:hover::after,
.ek-account-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.ek-user-nav {
  min-width: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.46rem;
  justify-self: end;
}

.ek-user-nav--edge {
  position: relative;
  grid-column: 4;
  top: auto;
  right: auto;
  z-index: 4;
  transform: none;
  margin-left: 0;
  justify-self: end;
  min-height: 92px;
  padding-left: clamp(0.7rem, 1vw, 1.2rem);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.5);
}

.ek-welcome-link {
  min-width: 0;
  max-width: 18rem;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.48rem;
  padding: 0.3rem 0;
  color: var(--text-secondary);
  font-family: var(--title-font);
  line-height: 1.15;
  text-transform: uppercase;
}

.ek-welcome-link span {
  min-width: 0;
  max-width: 9rem;
  color: rgba(197, 167, 102, 0.72);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ek-welcome-link strong {
  flex: 0 0 auto;
  color: rgba(241, 234, 220, 0.86);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.ek-welcome-link:hover strong,
.ek-welcome-link:hover span {
  color: var(--gold-light);
}

.ek-signout-link {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 146, 146, 0.76);
  font-family: var(--title-font);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, opacity 180ms ease;
}

.ek-signout-link img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ek-signout-link:hover {
  transform: translateY(-1px);
}

.ek-signout-link:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.ek-user-separator {
  color: rgba(197, 167, 102, 0.34);
  font-family: var(--title-font);
  font-size: 0.72rem;
}

.ek-btn,
.btn-gold,
.btn-ethereal,
.Ethereal-iconbtn,
.Ethereal-mirror-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0.72rem 1.45rem;
  border: 1px solid rgba(197, 167, 102, 0.46);
  border-radius: 2px;
  background:
    url("/static/assets/ethereal/ui/button-gold.webp") center / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(169, 133, 66, 0.22), rgba(116, 87, 36, 0.12)),
    rgba(8, 10, 11, 0.82);
  color: #f4ead6;
  font-family: var(--title-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ek-btn:hover,
.btn-gold:hover,
.btn-ethereal:hover,
.Ethereal-iconbtn:hover,
.Ethereal-mirror-link:hover {
  border-color: rgba(197, 167, 102, 0.76);
  background-color: rgba(169, 133, 66, 0.14);
  transform: translateY(-1px);
}

.ek-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(197, 167, 102, 0.34);
  background: rgba(0, 0, 0, 0.34);
  color: var(--gold-light);
}

.ek-menu-button span {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.ek-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.ek-mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ek-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 200;
  width: min(330px, 88vw);
  height: 100dvh;
  padding: 1.25rem;
  background: linear-gradient(180deg, #0d1012, #070808);
  border-left: 1px solid rgba(197, 167, 102, 0.26);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.ek-mobile-drawer.active {
  transform: translateX(0);
}

.ek-mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ek-drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(197, 167, 102, 0.3);
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.24);
  font-family: var(--title-font);
  text-transform: uppercase;
}

.ek-mobile-nav {
  display: grid;
  gap: 0.2rem;
  padding-top: 1.1rem;
}

.ek-mobile-nav a {
  padding: 0.85rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--title-font);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.ek-mobile-nav a.is-danger {
  color: rgba(255, 146, 146, 0.82);
}

.ek-home {
  background: var(--bg-black);
}

.ek-hero {
  min-height: clamp(400px, 32vw, 455px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 167, 102, 0.38);
  box-shadow: inset 0 -1px 0 rgba(197, 167, 102, 0.2);
}

.ek-hero__media,
.ek-hero__shade {
  position: absolute;
  inset: 0;
}

.ek-hero__media {
  background:
    var(--hero-image) center 44% / cover no-repeat,
    radial-gradient(circle at 22% 18%, rgba(77, 88, 98, 0.48), transparent 24rem),
    linear-gradient(115deg, #10161b 0%, #20242a 42%, #101315 68%, #060707 100%);
  filter: saturate(0.9) contrast(1.08) brightness(1.08);
}

.ek-hero__shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0.16) 35%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(ellipse at center, rgba(197, 167, 102, 0.08), rgba(0, 0, 0, 0.74) 78%),
    linear-gradient(90deg, rgba(7, 10, 12, 0.62), rgba(27, 35, 43, 0.18), rgba(7, 10, 12, 0.64));
}

.ek-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, 860px);
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 0.45rem 0 1.35rem;
}

.ek-kicker {
  margin: 0 0 0.8rem;
  color: var(--gold-light);
  font-family: var(--title-font);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.ek-hero__title {
  margin: 0;
  display: grid;
  justify-items: center;
}

.ek-hero__logo {
  width: min(72vw, 580px);
  height: auto;
  display: block;
  margin: clamp(-2.25rem, -2.6vw, -1rem) 0 clamp(-4.75rem, -5vw, -2.75rem);
  pointer-events: none;
  filter:
    drop-shadow(0 10px 20px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 18px rgba(197, 167, 102, 0.22));
}

.ek-title-rule {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin-top: 0.9rem;
  color: var(--gold-light);
  font-family: var(--title-font);
  font-size: clamp(0.9rem, 1.5vw, 1.25rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.ek-title-rule span {
  width: clamp(3rem, 7vw, 5.6rem);
  height: 22px;
  background:
    url("/static/assets/ethereal/ui/divider.webp") center / contain no-repeat,
    linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ek-hero__tagline {
  margin: 0.35rem 0 0;
  color: #f0ede6;
  font-family: var(--title-font);
  font-size: clamp(0.92rem, 1.8vw, 1.22rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.ek-hero__actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.9rem;
}

.ek-btn {
  position: relative;
  z-index: 1;
  min-width: 170px;
}

.ek-btn--gold {
  background:
    url("/static/assets/ethereal/ui/button-gold.webp") center / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(210, 174, 92, 0.92), rgba(116, 82, 28, 0.92));
  border-color: rgba(229, 194, 112, 0.9);
  color: #fff2d5;
  box-shadow:
    inset 0 0 0 1px rgba(255, 244, 214, 0.14),
    0 0 18px rgba(197, 167, 102, 0.14);
}

.ek-btn--play {
  min-width: 236px;
  min-height: 62px;
  padding: 0.98rem 2.15rem 0.66rem;
  border: 0;
  background:
    url("/static/assets/ethereal/ui/play-now-button.webp") center / 100% 100% no-repeat;
  color: #fff0ca;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 9px rgba(85, 177, 255, 0.28),
    0 0 12px rgba(229, 194, 112, 0.18);
  box-shadow: none;
}

.ek-btn--play:hover {
  background-color: transparent;
  border-color: transparent;
  color: #ffffff;
  filter: brightness(1.12) saturate(1.08);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 12px rgba(92, 190, 255, 0.38),
    0 0 16px rgba(229, 194, 112, 0.24);
}

.ek-btn--dark {
  background:
    linear-gradient(180deg, rgba(11, 12, 12, 0.82), rgba(4, 5, 5, 0.9));
  border-color: rgba(197, 167, 102, 0.42);
  color: rgba(245, 238, 224, 0.9);
}

.ek-btn--download {
  min-width: 236px;
  min-height: 62px;
  padding: 0.82rem 2.15rem;
  border: 0;
  background:
    url("/static/assets/ethereal/ui/download-button.webp") center / 100% 100% no-repeat;
  color: #e8f8ff;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 10px rgba(62, 214, 226, 0.26);
  box-shadow: none;
}

.ek-btn--download:hover {
  background-color: transparent;
  border-color: transparent;
  color: #ffffff;
  filter: brightness(1.1) saturate(1.08);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 14px rgba(80, 230, 242, 0.36);
}

.ek-home__body {
  width: min(100% - 2rem, 1340px);
  margin: 1.15rem auto 0;
  padding-bottom: 1.65rem;
  position: relative;
  z-index: 4;
}

.ek-dashboard {
  display: grid;
  grid-template-columns: minmax(250px, 0.27fr) minmax(360px, 0.46fr) minmax(250px, 0.27fr);
  gap: 0.7rem;
  align-items: stretch;
}

.ek-side-stack {
  display: grid;
  gap: 0.65rem;
  grid-template-rows: auto auto;
  align-content: start;
  height: 100%;
}

.ek-panel--server,
.ek-panel--news,
.ek-side-stack > .ek-panel {
  height: 100%;
}

.ek-panel--server .ek-panel__body,
.ek-panel--news .ek-panel__body,
.ek-side-stack > .ek-panel .ek-panel__body {
  display: flex;
  min-height: calc(100% - 2.45rem);
  flex-direction: column;
}

.ek-panel--server .ek-panel-link,
.ek-panel--news .ek-panel-link,
.ek-side-stack > .ek-panel .ek-panel-link {
  margin-top: auto;
}

.ek-panel,
.inner-page-panel,
.chaos-panel,
.ethereal-panel,
.rank-podium-card,
.Ethereal-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(22, 25, 26, 0.95), rgba(8, 10, 11, 0.98)),
    var(--bg-panel);
  border: 1px solid rgba(119, 94, 43, 0.92);
  border-image-source: var(--panel-border-image);
  border-image-slice: 22;
  box-shadow:
    inset 0 0 0 1px rgba(255, 239, 190, 0.04),
    inset 0 16px 28px rgba(197, 167, 102, 0.018),
    0 16px 28px rgba(0, 0, 0, 0.32);
  border-radius: 2px;
  overflow: hidden;
}

.ek-panel {
  border-color: rgba(197, 167, 102, 0.42);
  border-image-source: none;
  box-shadow:
    inset 0 0 0 1px rgba(199, 156, 72, 0.1),
    inset 0 16px 28px rgba(197, 167, 102, 0.018),
    0 16px 28px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.ek-panel::before,
.inner-page-panel::before,
.chaos-panel::before,
.ethereal-panel::before,
.rank-podium-card::before,
.Ethereal-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 167, 102, 0.08);
  pointer-events: none;
  z-index: 1;
}

.ek-panel::before {
  inset: 0;
  border: 0;
  background:
    var(--panel-corner-bl) left 1px bottom -6px / 50px 50px no-repeat,
    var(--panel-corner-br) right 1px bottom -6px / 50px 50px no-repeat;
  opacity: 0.9;
  z-index: 2;
}

.ek-panel::after,
.inner-page-panel::after,
.chaos-panel::after,
.ethereal-panel::after,
.rank-podium-card::after,
.Ethereal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(197, 167, 102, 0.26), rgba(197, 167, 102, 0.26)) left 10px top 10px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(197, 167, 102, 0.26), rgba(197, 167, 102, 0.26)) left 10px top 10px / 1px 18px no-repeat,
    linear-gradient(90deg, rgba(197, 167, 102, 0.26), rgba(197, 167, 102, 0.26)) right 10px top 10px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(197, 167, 102, 0.26), rgba(197, 167, 102, 0.26)) right 10px top 10px / 1px 18px no-repeat,
    linear-gradient(90deg, rgba(197, 167, 102, 0.18), rgba(197, 167, 102, 0.18)) left 10px bottom 10px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(197, 167, 102, 0.18), rgba(197, 167, 102, 0.18)) left 10px bottom 10px / 1px 18px no-repeat,
    linear-gradient(90deg, rgba(197, 167, 102, 0.18), rgba(197, 167, 102, 0.18)) right 10px bottom 10px / 18px 1px no-repeat,
    linear-gradient(180deg, rgba(197, 167, 102, 0.18), rgba(197, 167, 102, 0.18)) right 10px bottom 10px / 1px 18px no-repeat;
  z-index: 2;
}

.ek-panel::after {
  display: none;
}

.ek-panel__title {
  position: relative;
  z-index: 6;
  margin: 0;
  padding: 0.86rem 1rem 0.42rem;
  background:
    var(--panel-corner-tl) left 1px top -6px / 44px 44px no-repeat,
    var(--panel-corner-tr) right 1px top -6px / 44px 44px no-repeat,
    repeating-linear-gradient(106deg, transparent 0 78px, rgba(199, 156, 72, 0.13) 79px, transparent 81px 156px),
    linear-gradient(180deg, rgba(16, 18, 19, 0.98), rgba(7, 8, 9, 0.96));
  border-bottom: 1px solid rgba(199, 156, 72, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(199, 156, 72, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.72);
  color: #efe8db;
  font-family: var(--title-font);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.ek-panel__body,
.inner-page-panel-body {
  position: relative;
  z-index: 6;
  padding: 0.82rem;
}

.ek-panel__body--tight {
  padding: 0.62rem;
}

.ek-stat-list {
  margin: 0;
  display: grid;
}

.ek-stat-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.55rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.12);
}

.ek-stat-list dt,
.ek-stat-list dd {
  margin: 0;
  font-size: 0.8rem;
}

.ek-stat-list dt {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--text-primary);
}

.ek-stat-list dd {
  min-width: 0;
  max-width: 52%;
  color: #f2eee6;
  text-align: right;
  overflow-wrap: anywhere;
}

.ek-realm-status {
  position: relative;
  display: grid;
  grid-template-columns: 4.35rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: center;
  min-height: 5.15rem;
  margin-bottom: 0.72rem;
  padding: 0.72rem;
  border: 1px solid rgba(197, 167, 102, 0.2);
  background:
    linear-gradient(135deg, rgba(229, 194, 112, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.18));
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.035),
    0 0 18px rgba(0, 0, 0, 0.22);
}

.ek-realm-status::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(197, 167, 102, 0.08);
  pointer-events: none;
}

.ek-realm-status::after {
  content: "";
  position: absolute;
  right: 0.82rem;
  top: 0.82rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: var(--text-muted);
  box-shadow: 0 0 12px rgba(150, 149, 143, 0.28);
}

.ek-realm-status[data-status="online"]::after {
  background: var(--online);
  box-shadow: 0 0 16px rgba(79, 169, 99, 0.58);
}

.ek-realm-status[data-status="offline"]::after {
  background: var(--danger);
  box-shadow: 0 0 16px rgba(164, 76, 76, 0.5);
}

.ek-realm-status__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.35rem;
  height: 4.35rem;
  border: 1px solid rgba(229, 194, 112, 0.42);
  background:
    radial-gradient(circle at 50% 34%, rgba(229, 194, 112, 0.18), rgba(169, 133, 66, 0.08) 58%, rgba(0, 0, 0, 0.36)),
    rgba(8, 10, 11, 0.76);
  overflow: hidden;
}

.ek-realm-status__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.98) contrast(1.04) brightness(0.9);
}

.ek-realm-status__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 0.22rem;
  align-content: center;
  justify-items: start;
}

.ek-realm-status__eyebrow {
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ek-realm-status__eyebrow {
  color: rgba(197, 167, 102, 0.8);
}

.ek-status-grid {
  margin: 0;
  display: grid;
  gap: 0;
}

.ek-status-grid > div {
  min-width: 0;
  min-height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.82rem;
  padding: 0.72rem 0.08rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.18)),
    rgba(255, 255, 255, 0.018);
}

.ek-status-grid > div:last-child {
  border-bottom: 0;
}

.ek-status-grid > .ek-castle-owner-row {
  position: relative;
  min-height: 8.4rem;
  margin-top: 0.72rem;
  padding: 0.92rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 167, 102, 0.26);
  background: rgba(5, 6, 7, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.04),
    0 12px 24px rgba(0, 0, 0, 0.24);
  overflow: hidden;
}

.ek-castle-owner-row::before,
.ek-castle-owner-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ek-castle-owner-row::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 5, 6, 0.9) 0%, rgba(4, 5, 6, 0.56) 38%, rgba(4, 5, 6, 0.24) 100%),
    linear-gradient(180deg, rgba(4, 5, 6, 0.04) 0%, rgba(4, 5, 6, 0.82) 100%);
}

.ek-castle-owner-row::after {
  z-index: 2;
  inset: 8px;
  border: 1px solid rgba(229, 194, 112, 0.12);
}

.ek-castle-owner-art {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ek-castle-owner-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(0.78);
}

.ek-status-grid > .ek-castle-owner-row dt,
.ek-status-grid > .ek-castle-owner-row dd {
  position: relative;
  z-index: 3;
}

.ek-status-grid > .ek-castle-owner-row dt {
  display: block;
  color: rgba(245, 230, 194, 0.86);
  text-align: center;
}

.ek-status-grid > .ek-castle-owner-row dd {
  max-width: 92%;
  color: #ffe5a8;
  font-family: var(--title-font);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.9),
    0 0 14px rgba(229, 194, 112, 0.24);
  text-transform: uppercase;
}

.ek-status-grid dt,
.ek-status-grid dd {
  min-width: 0;
  margin: 0;
}

.ek-status-grid dt {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.62rem;
  align-items: center;
  color: rgba(222, 219, 210, 0.72);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
}

.ek-status-grid dd {
  max-width: 52%;
  color: #f2eee6;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: right;
  overflow-wrap: anywhere;
}

.ek-mm-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid rgba(229, 194, 112, 0.42);
  background:
    radial-gradient(circle at 50% 35%, rgba(229, 194, 112, 0.16), rgba(169, 133, 66, 0.06) 60%, rgba(0, 0, 0, 0.34)),
    rgba(169, 133, 66, 0.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.035),
    0 0 12px rgba(197, 167, 102, 0.08);
}

.ek-mm-icon svg {
  width: 0.96rem;
  height: 0.96rem;
  color: #d6b35f;
  stroke: currentColor;
}

#homeUpcomingEvent {
  color: #d9b86b;
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ek-row-icon {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: #d6b35f;
  border: 1px solid rgba(214, 179, 95, 0.22);
  background: rgba(44, 34, 16, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 204, 0.025), 0 0 10px rgba(197, 167, 102, 0.08);
}

.ek-row-icon svg {
  width: 0.88rem;
  height: 0.88rem;
  stroke: currentColor;
}

.ek-status {
  color: var(--text-secondary);
  font-family: var(--title-font);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ek-status--online {
  color: var(--online);
}

.ek-status--offline {
  color: var(--danger);
}

.ek-stat-link {
  color: var(--gold-light);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ek-stat-link:hover {
  color: #f4ead6;
}

.ek-gateway-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.62rem;
  margin-top: 0.72rem;
}

.ek-gateway-actions .ek-panel-link {
  margin-top: 0;
}

.ek-panel-link {
  width: max-content;
  min-width: 128px;
  margin: 0.72rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(197, 167, 102, 0.42);
  color: #f1e6cc;
  font-family: var(--title-font);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(169, 133, 66, 0.08), rgba(0, 0, 0, 0.28));
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.ek-panel-link:hover {
  border-color: rgba(229, 194, 112, 0.76);
  color: #ffe7ab;
  background: rgba(169, 133, 66, 0.14);
}

.ek-gallery-link {
  position: relative;
  min-width: 0;
  margin-top: 1.05rem !important;
  margin-bottom: -0.12rem;
  padding: 0.08rem 0.1rem;
  border: 0;
  background: transparent;
  color: #dcb75f;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-shadow: 0 0 10px rgba(197, 167, 102, 0.14);
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.ek-gallery-link::before {
  content: "";
  position: absolute;
  inset: -0.2rem -0.34rem;
  border: 1px solid rgba(197, 167, 102, 0);
  background: linear-gradient(90deg, rgba(197, 167, 102, 0.08), transparent 34%, transparent 66%, rgba(197, 167, 102, 0.08));
  opacity: 0;
  transform: scaleX(0.82);
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ek-gallery-link::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  right: 0.1rem;
  bottom: -0.16rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 213, 139, 0.86), transparent);
  opacity: 0.54;
  transform: scaleX(0.44);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ek-gallery-link:hover,
.ek-gallery-link:focus-visible {
  color: #fff1bf;
  background: transparent;
  filter: drop-shadow(0 0 9px rgba(197, 167, 102, 0.28));
  text-shadow: 0 0 14px rgba(244, 213, 139, 0.26);
  transform: translateY(-1px);
}

.ek-gallery-link:hover::before,
.ek-gallery-link:focus-visible::before {
  border-color: rgba(197, 167, 102, 0.28);
  opacity: 1;
  transform: scaleX(1);
}

.ek-gallery-link:hover::after,
.ek-gallery-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.ek-news-list {
  display: grid;
}

.ek-news-item {
  position: relative;
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.66rem 0.55rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.12);
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ek-news-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(197, 167, 102, 0.14), transparent 34%),
    radial-gradient(circle at 12% 50%, rgba(229, 194, 112, 0.12), transparent 34%);
  opacity: 0;
  transform: translateX(-0.65rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ek-news-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  bottom: 0.48rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(244, 213, 139, 0.86), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ek-news-item:hover,
.ek-news-item:focus-visible {
  border-color: rgba(229, 194, 112, 0.34);
  background: rgba(169, 133, 66, 0.07);
  box-shadow: inset 0 0 0 1px rgba(197, 167, 102, 0.06), 0 0 18px rgba(197, 167, 102, 0.08);
  transform: translateX(0.18rem);
}

.ek-news-item:hover::before,
.ek-news-item:focus-visible::before,
.ek-news-item:hover::after,
.ek-news-item:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.ek-news-thumb {
  position: relative;
  z-index: 1;
  width: 5rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(197, 167, 102, 0.42);
  background: linear-gradient(135deg, #191d20, #090a0b);
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ek-news-item:hover .ek-news-thumb,
.ek-news-item:focus-visible .ek-news-thumb {
  border-color: rgba(244, 213, 139, 0.68);
  filter: brightness(1.08) saturate(1.08);
  box-shadow: 0 0 14px rgba(197, 167, 102, 0.16);
  transform: translateY(-1px) scale(1.015);
}

.ek-news-main {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.ek-news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.ek-news-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.32rem;
  border: 1px solid rgba(229, 194, 112, 0.45);
  color: #d9b86b;
  background: rgba(169, 133, 66, 0.08);
  font-family: var(--title-font);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.ek-news-item:hover .ek-news-tag,
.ek-news-item:focus-visible .ek-news-tag {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.ek-news-tag--new {
  border-color: rgba(255, 111, 174, 0.58);
  color: #ff8fc6;
  background: rgba(255, 65, 151, 0.12);
  box-shadow: 0 0 12px rgba(255, 65, 151, 0.12);
}

.ek-news-tag--notice {
  border-color: rgba(107, 245, 203, 0.52);
  color: #8fffe0;
  background: rgba(54, 211, 172, 0.1);
  box-shadow: 0 0 12px rgba(54, 211, 172, 0.1);
}

.ek-news-tag--update {
  border-color: rgba(123, 190, 255, 0.56);
  color: #9bd0ff;
  background: rgba(65, 142, 255, 0.11);
  box-shadow: 0 0 12px rgba(65, 142, 255, 0.1);
}

.ek-news-tag--patch {
  border-color: rgba(190, 147, 255, 0.56);
  color: #c9a8ff;
  background: rgba(142, 92, 255, 0.11);
  box-shadow: 0 0 12px rgba(142, 92, 255, 0.1);
}

.ek-news-title {
  position: relative;
  margin: 0;
  color: #f1eadc;
  font-family: var(--title-font);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.28;
  text-transform: uppercase;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.ek-news-item:hover .ek-news-title,
.ek-news-item:focus-visible .ek-news-title {
  color: #fff1bf;
  text-shadow: 0 0 12px rgba(244, 213, 139, 0.18);
}

.ek-news-copy {
  margin: 0.25rem 0 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 180ms ease;
}

.ek-news-item:hover .ek-news-copy,
.ek-news-item:focus-visible .ek-news-copy {
  color: rgba(245, 238, 224, 0.78);
}

.ek-news-date {
  position: relative;
  z-index: 1;
  color: var(--text-secondary);
  font-size: 0.72rem;
  white-space: nowrap;
  transition: color 180ms ease;
}

.ek-news-item:hover .ek-news-date,
.ek-news-item:focus-visible .ek-news-date {
  color: #dcb75f;
}

.ek-quick-links {
  display: grid;
}

.ek-panel--quick-links .ek-panel__body--tight {
  padding-bottom: 1.15rem;
}

.ek-quick-links a {
  display: grid;
  grid-template-columns: 1.35rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.28rem 0.42rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.12);
  color: var(--text-primary);
  font-size: 0.78rem;
  transition: background 180ms ease, color 180ms ease;
}

.ek-quick-links a:last-child {
  margin-bottom: 0.46rem;
}

.ek-quick-links a:hover {
  background: rgba(169, 133, 66, 0.1);
  color: #ffe7ab;
}

.ek-quick-links span,
.ek-quick-links i {
  font-style: normal;
  font-family: var(--title-font);
}

.ek-quick-links span {
  display: inline-grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  color: #d6b35f;
  border: 1px solid rgba(214, 179, 95, 0.2);
  background: rgba(44, 34, 16, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 204, 0.02), 0 0 10px rgba(197, 167, 102, 0.07);
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ek-quick-links svg {
  width: 0.88rem;
  height: 0.88rem;
  stroke: currentColor;
}

.ek-quick-links i {
  color: #d9b86b;
}

.ek-quick-links a:hover span {
  color: #f1d58d;
  border-color: rgba(241, 213, 141, 0.42);
  background: rgba(70, 50, 20, 0.26);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 204, 0.035), 0 0 14px rgba(197, 167, 102, 0.16);
}

.ek-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.32rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  border: 0;
}

.ek-screenshot-grid img,
.ek-home-video,
.ek-shot-placeholder {
  min-width: 0;
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  border: 1px solid rgba(197, 167, 102, 0.42);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.08), transparent 44%),
    linear-gradient(180deg, #1a1f22, #080909);
  transition: transform 180ms ease, filter 180ms ease;
}

.ek-home-video {
  position: relative;
  display: block;
  overflow: hidden;
}

.ek-home-video img {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  filter: brightness(0.78) saturate(1.08);
  transition: filter 180ms ease, transform 180ms ease;
}

.ek-home-video span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(197, 24, 46, 0.28), transparent 36%);
}

.ek-home-video span::before {
  content: "";
  width: 2.18rem;
  height: 2.18rem;
  border: 1px solid rgba(244, 213, 139, 0.78);
  background:
    linear-gradient(180deg, rgba(197, 24, 46, 0.92), rgba(101, 13, 24, 0.92));
  box-shadow: 0 0 16px rgba(197, 24, 46, 0.38);
}

.ek-home-video span::after {
  content: "";
  position: absolute;
  left: calc(50% - 0.22rem);
  top: calc(50% - 0.38rem);
  width: 0;
  height: 0;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  border-left: 0.62rem solid #fff0c8;
}

.ek-home-video:hover img {
  filter: brightness(0.98) saturate(1.18);
  transform: scale(1.035);
}

.ek-screenshot-grid img:first-child,
.ek-shot-placeholder:first-child {
  grid-column: auto;
  aspect-ratio: 16 / 9;
}

.ek-screenshot-grid img:hover {
  transform: scale(1.02);
  filter: brightness(1.08);
}

.ek-gallery-note {
  margin: 0.42rem 0 -0.22rem;
  color: var(--text-muted);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.ek-feature-panel {
  margin-top: 0.72rem;
}

.ek-feature-strip {
  position: relative;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.ek-feature-strip a {
  min-height: 6.25rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.56rem;
  padding: 0.68rem 0.5rem;
  border-right: 1px solid rgba(197, 167, 102, 0.14);
  color: rgba(245, 230, 194, 0.92);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.ek-feature-strip a:hover {
  color: #ffe7ab;
  background: rgba(169, 133, 66, 0.1);
}

.ek-feature-strip span {
  display: grid;
  place-items: center;
  width: 2.95rem;
  height: 2.95rem;
  color: #f0c66d;
  border: 1px solid rgba(229, 194, 112, 0.55);
  background:
    radial-gradient(circle at 50% 35%, rgba(229, 194, 112, 0.18), rgba(169, 133, 66, 0.07) 58%, rgba(0, 0, 0, 0.32)),
    rgba(169, 133, 66, 0.12);
  font-size: 0.78rem;
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.04),
    0 0 14px rgba(197, 167, 102, 0.12);
}

.ek-feature-strip img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(111, 188, 220, 0.2)) drop-shadow(0 0 9px rgba(229, 194, 112, 0.18));
  opacity: 0.98;
}

.ek-empty {
  padding: 1.3rem;
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.85rem;
}

.ek-site-footer {
  border-top: 1px solid rgba(197, 167, 102, 0.16);
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.98), #050606);
}

.ek-footer-shell {
  width: min(100% - 2rem, 1340px);
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 0.9rem 0;
}

.ek-footer-brand small {
  margin-top: 0.35rem;
  color: var(--gold-light);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
}

.ek-footer-brand {
  width: max-content;
  isolation: isolate;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.ek-footer-brand::after {
  content: "";
  position: absolute;
  left: -0.2rem;
  right: -0.2rem;
  bottom: -0.55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 167, 102, 0.62), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ek-footer-brand:hover {
  color: #fff7e8;
  filter: drop-shadow(0 0 10px rgba(197, 167, 102, 0.24));
  transform: translateY(-1px);
}

.ek-footer-brand:hover::before {
  opacity: 0.78;
}

.ek-footer-brand:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.ek-footer-brand:hover small {
  color: #f4ead6;
}

.ek-footer-legal {
  color: var(--text-secondary);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.7;
}

.ek-footer-legal p {
  margin: 0;
}

.ek-footer-credit {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.08rem;
  color: #dcb75f;
  font-family: var(--title-font);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(197, 167, 102, 0.14);
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.ek-footer-credit::before {
  content: "";
  position: absolute;
  inset: -0.2rem -0.34rem;
  border: 1px solid rgba(197, 167, 102, 0);
  background:
    linear-gradient(90deg, rgba(197, 167, 102, 0.08), transparent 34%, transparent 66%, rgba(197, 167, 102, 0.08));
  opacity: 0;
  transform: scaleX(0.82);
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.ek-footer-credit::after {
  content: "";
  position: absolute;
  left: 0.08rem;
  right: 0.08rem;
  bottom: -0.14rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 213, 139, 0.86), transparent);
  opacity: 0.54;
  transform: scaleX(0.44);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ek-footer-credit:hover,
.ek-footer-credit:focus-visible {
  color: #fff1bf;
  filter: drop-shadow(0 0 9px rgba(197, 167, 102, 0.28));
  text-shadow: 0 0 14px rgba(244, 213, 139, 0.26);
  transform: translateY(-1px);
}

.ek-footer-credit:hover::before,
.ek-footer-credit:focus-visible::before {
  border-color: rgba(197, 167, 102, 0.28);
  opacity: 1;
  transform: scaleX(1);
}

.ek-footer-credit:hover::after,
.ek-footer-credit:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.ek-footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ek-footer-social a:hover {
  color: var(--gold-light);
}

.ek-inner-main {
  background:
    radial-gradient(circle at 50% 0, rgba(69, 82, 94, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--bg-dark), var(--bg-black));
}

.inner-page-shell {
  position: relative;
  min-height: auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: transparent;
}

.inner-page-container {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.inner-page-container.is-wide {
  width: min(100% - 2rem, 1320px);
}

.inner-page-hero {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.inner-page-kicker,
.inner-page-caption {
  color: var(--gold-light) !important;
  font-family: var(--title-font);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.inner-page-title {
  color: #eee7dc !important;
  font-size: clamp(2rem, 5vw, 4.2rem) !important;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.82);
}

.inner-page-divider {
  width: min(360px, 70vw);
  height: 28px;
  margin: 1rem auto;
  background:
    url("/static/assets/ethereal/ui/divider.webp") center / contain no-repeat,
    linear-gradient(90deg, transparent, var(--gold), transparent);
}

.inner-page-copy {
  color: var(--text-secondary) !important;
  line-height: 1.75;
}

.inner-page-panel-body.is-lg,
.inner-page-panel-body {
  padding: clamp(1.25rem, 3vw, 2.4rem) !important;
}

.inner-page-backlink,
.footer-link {
  color: var(--text-secondary);
}

.inner-page-backlink:hover,
.footer-link:hover {
  color: var(--gold-light);
}

input,
select,
textarea,
.inner-page-search {
  border: 1px solid rgba(69, 70, 63, 0.9) !important;
  border-radius: 2px !important;
  background: rgba(5, 6, 7, 0.62) !important;
  color: var(--text-primary) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

input:focus,
select:focus,
textarea:focus,
.inner-page-search:focus {
  border-color: rgba(197, 167, 102, 0.75) !important;
}

.ek-inner-main {
  color: rgba(238, 234, 220, 0.86);
}

.ek-inner-main .inner-page-copy {
  color: rgba(238, 234, 220, 0.82) !important;
}

.ek-inner-main .inner-page-backlink,
.ek-inner-main .footer-link {
  color: rgba(238, 234, 220, 0.72);
}

.ek-inner-main .text-white\/20 {
  color: rgba(222, 219, 210, 0.48) !important;
}

.ek-inner-main .text-white\/25 {
  color: rgba(222, 219, 210, 0.56) !important;
}

.ek-inner-main .text-white\/30 {
  color: rgba(222, 219, 210, 0.64) !important;
}

.ek-inner-main .text-white\/40 {
  color: rgba(222, 219, 210, 0.74) !important;
}

.ek-inner-main .text-white\/45 {
  color: rgba(222, 219, 210, 0.78) !important;
}

.ek-inner-main .text-white\/50 {
  color: rgba(222, 219, 210, 0.82) !important;
}

.ek-inner-main .text-white\/60,
.ek-inner-main .text-white\/65,
.ek-inner-main .text-white\/70 {
  color: rgba(238, 234, 220, 0.86) !important;
}

.ek-inner-main input::placeholder,
.ek-inner-main textarea::placeholder,
.ek-inner-main .inner-page-search::placeholder {
  color: rgba(222, 219, 210, 0.45) !important;
}

.ranking-table {
  border-collapse: separate;
  border-spacing: 0;
}

.ranking-table thead th {
  padding: 0.9rem 1rem !important;
  background: rgba(5, 6, 7, 0.48);
  border-bottom: 1px solid rgba(197, 167, 102, 0.22) !important;
  color: var(--gold-light) !important;
  font-family: var(--title-font);
  font-size: 0.72rem;
}

.ranking-row {
  background: rgba(255, 255, 255, 0.012);
  transition: background 160ms ease;
}

.ranking-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.026);
}

.ranking-row:hover {
  background: rgba(169, 133, 66, 0.07);
}

.ranking-cell {
  padding: 0.82rem 1rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(222, 219, 210, 0.82);
}

.ranking-rank {
  color: var(--gold-light) !important;
  font-family: var(--title-font);
}

.news-tag,
.Ethereal-badge-online,
.Ethereal-badge-offline,
.Ethereal-badge-unknown {
  border-radius: 2px !important;
}

.Ethereal-badge-online {
  color: var(--online) !important;
}

.Ethereal-badge-offline {
  color: var(--danger) !important;
}

.Ethereal-preline {
  white-space: pre-line;
}

.download-page .inner-page-panel-body.is-lg {
  padding: clamp(1.1rem, 2.5vw, 2rem) !important;
}

.download-page .download-section-head h3 {
  line-height: 1.25;
}

.download-page .download-section-head > div:first-child {
  width: 2.25rem !important;
  height: 2.25rem !important;
  flex: 0 0 2.25rem;
}

.download-page #clientMirrors,
.download-page #manualMirrors {
  display: grid;
  gap: 0.85rem;
}

.download-page .Ethereal-mirror-link {
  width: 100%;
  min-height: 4.75rem;
  justify-content: flex-start;
  gap: 1rem;
  padding: 0.85rem 1rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 20, 22, 0.92), rgba(6, 8, 9, 0.94)),
    rgba(8, 10, 11, 0.82);
}

.download-page .Ethereal-mirror-link img {
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  object-fit: contain;
  border: 1px solid rgba(197, 167, 102, 0.22);
  background: rgba(0, 0, 0, 0.34);
  padding: 0.3rem;
}

.download-page .Ethereal-mirror-link span {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
  line-height: 1.35;
}

.download-page #additionalPrograms .Ethereal-card,
.download-page .Ethereal-program-card {
  min-height: 4rem;
  padding: 0.95rem 1rem !important;
}

.download-page #additionalPrograms svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.register-captcha-prompt {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.55rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(229, 194, 112, 0.32);
  background:
    linear-gradient(180deg, rgba(169, 133, 66, 0.12), rgba(5, 6, 7, 0.42)),
    rgba(8, 10, 11, 0.72);
}

.register-captcha-prompt span,
.register-captcha-prompt strong {
  color: #f4d28a;
  font-family: var(--title-font);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 0 10px rgba(229, 194, 112, 0.28);
}

.register-captcha-prompt span {
  min-width: 2.4rem;
  display: inline-grid;
  place-items: center;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(229, 194, 112, 0.42);
  background: rgba(0, 0, 0, 0.26);
}

.register-input {
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}

.register-page .inner-page-hero {
  margin-bottom: 1.7rem !important;
}

.register-page .inner-page-title {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem) !important;
}

.register-page-frame {
  max-width: 980px;
}

.register-card {
  overflow: visible;
  border-color: rgba(197, 167, 102, 0.34);
  background:
    radial-gradient(circle at 32% 0, rgba(197, 167, 102, 0.14), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(126, 33, 36, 0.14), transparent 20rem),
    linear-gradient(135deg, rgba(197, 167, 102, 0.055), transparent 35%),
    linear-gradient(180deg, rgba(17, 20, 21, 0.96), rgba(5, 6, 7, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.03),
    inset 0 0 38px rgba(0, 0, 0, 0.46),
    0 22px 42px rgba(0, 0, 0, 0.42);
}

.register-card .inner-page-panel-body {
  padding: clamp(1.25rem, 2.7vw, 1.85rem) !important;
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1.1rem, 2vw, 1.65rem);
  align-items: stretch;
}

.register-aside {
  position: relative;
  min-height: 100%;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  display: grid;
  align-content: start;
  gap: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(197, 167, 102, 0.18);
  background:
    linear-gradient(180deg, rgba(197, 167, 102, 0.08), rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 16%, rgba(197, 167, 102, 0.15), transparent 9rem),
    rgba(0, 0, 0, 0.18);
}

.register-aside::before,
.register-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.register-aside::before {
  background:
    linear-gradient(120deg, transparent 0 41%, rgba(197, 167, 102, 0.08) 41.2% 41.6%, transparent 41.8%),
    linear-gradient(300deg, transparent 0 61%, rgba(197, 167, 102, 0.06) 61.2% 61.6%, transparent 61.8%);
  opacity: 0.9;
}

.register-aside::after {
  inset: auto 1rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 167, 102, 0.46), transparent);
}

.register-aside__crest {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(197, 167, 102, 0.28);
  background:
    url("/static/assets/ethereal/icons/account.webp") center / 72% 72% no-repeat,
    radial-gradient(circle, rgba(197, 167, 102, 0.14), rgba(0, 0, 0, 0.3));
  box-shadow: inset 0 0 0 1px rgba(255, 241, 204, 0.035), 0 0 18px rgba(197, 167, 102, 0.12);
}

.register-aside__eyebrow {
  margin: 0;
  color: #d9b86b;
  font-family: var(--title-font);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.register-aside h2 {
  margin: 0;
  color: #f4ead6;
  font-family: var(--title-font);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
}

.register-aside p {
  margin: 0;
  color: rgba(222, 219, 210, 0.62);
  font-size: 0.78rem;
  line-height: 1.65;
}

.register-aside ul {
  display: grid;
  gap: 0.75rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.register-aside li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: rgba(241, 234, 220, 0.72);
  font-size: 0.72rem;
  line-height: 1.45;
}

.register-aside li span {
  display: inline-grid;
  place-items: center;
  height: 1.45rem;
  color: #e0bd68;
  border: 1px solid rgba(197, 167, 102, 0.22);
  background: rgba(0, 0, 0, 0.2);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.register-form {
  display: grid;
  gap: 1.05rem;
  min-width: 0;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.register-field {
  display: grid;
  gap: 0.55rem;
}

.register-field--wide {
  grid-column: 1 / -1;
}

.register-field label {
  color: rgba(238, 234, 220, 0.66);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.register-field:focus-within label {
  color: #d9b86b;
}

.register-field .register-input {
  min-height: 3.05rem;
  border: 1px solid rgba(96, 88, 62, 0.68) !important;
  background:
    linear-gradient(180deg, rgba(255, 241, 204, 0.026), rgba(255, 255, 255, 0.006)),
    rgba(4, 5, 5, 0.74) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.018),
    0 8px 18px rgba(0, 0, 0, 0.16);
  color: #f1eadc !important;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.register-field .register-input::placeholder {
  color: rgba(222, 219, 210, 0.32);
}

.register-field .register-input:focus {
  border-color: rgba(212, 175, 55, 0.68) !important;
  background:
    linear-gradient(180deg, rgba(197, 167, 102, 0.055), rgba(255, 255, 255, 0.008)),
    rgba(5, 6, 7, 0.86) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.035),
    0 0 0 2px rgba(197, 167, 102, 0.08);
}

.register-page .register-captcha-prompt {
  margin-bottom: 0;
}

.register-captcha-row {
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr);
  gap: 0.8rem;
  align-items: stretch;
}

.register-captcha-row .register-input {
  height: 100%;
}

.register-agreements {
  display: grid;
  gap: 0.72rem;
  margin-top: 0.1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(197, 167, 102, 0.2);
  background:
    linear-gradient(180deg, rgba(197, 167, 102, 0.04), transparent),
    rgba(0, 0, 0, 0.2);
}

.register-check {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  color: rgba(222, 219, 210, 0.58);
  cursor: pointer;
}

.register-check-box {
  position: relative;
  display: grid;
  place-items: center;
  margin-top: 0.05rem;
}

.register-check span {
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  line-height: 1.65;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.register-check:hover span {
  color: rgba(241, 234, 220, 0.84);
}

.register-submit {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.register-submit .btn-gold {
  min-width: 236px;
  min-height: 62px;
  padding: 0.98rem 2.15rem 0.66rem;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    url("/static/assets/ethereal/ui/play-now-button.webp") center / 100% 100% no-repeat !important;
  color: #fff0ca !important;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 9px rgba(85, 177, 255, 0.24),
    0 0 12px rgba(229, 194, 112, 0.18);
  box-shadow: none !important;
}

.register-submit .btn-gold::before,
.register-submit .btn-gold::after {
  display: none;
}

.register-submit .btn-gold:hover {
  background-color: transparent !important;
  border-color: transparent !important;
  filter: brightness(1.1) saturate(1.06);
  box-shadow: none !important;
}

.register-login {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  margin-top: 0.45rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(197, 167, 102, 0.12);
}

.register-login span {
  color: rgba(222, 219, 210, 0.5);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.register-login a {
  color: #d9b86b;
  font-family: var(--title-font);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.register-login a:hover {
  color: #f4ead6;
}

.login-page .inner-page-hero {
  margin-bottom: 1.55rem !important;
}

.login-page .inner-page-title {
  font-size: clamp(2.15rem, 4.9vw, 3.45rem) !important;
}

.login-page .inner-page-copy {
  max-width: 640px;
  margin-inline: auto;
  color: rgba(222, 219, 210, 0.66) !important;
}

.login-page-frame {
  max-width: 900px;
}

.login-card {
  overflow: visible;
  border-color: rgba(197, 167, 102, 0.34);
  background:
    radial-gradient(circle at 24% 0, rgba(197, 167, 102, 0.15), transparent 21rem),
    radial-gradient(circle at 86% 18%, rgba(61, 126, 150, 0.08), transparent 18rem),
    linear-gradient(135deg, rgba(197, 167, 102, 0.055), transparent 35%),
    linear-gradient(180deg, rgba(17, 20, 21, 0.96), rgba(5, 6, 7, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.03),
    inset 0 0 38px rgba(0, 0, 0, 0.46),
    0 22px 42px rgba(0, 0, 0, 0.42);
}

.login-card .inner-page-panel-body {
  padding: clamp(1.25rem, 2.7vw, 1.85rem) !important;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(1.1rem, 2.3vw, 1.65rem);
  align-items: stretch;
}

.login-aside {
  position: relative;
  min-height: 100%;
  padding: clamp(1.1rem, 2.5vw, 1.55rem);
  display: grid;
  align-content: start;
  gap: 0.9rem;
  overflow: hidden;
  border: 1px solid rgba(197, 167, 102, 0.18);
  background:
    linear-gradient(180deg, rgba(197, 167, 102, 0.08), rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 16%, rgba(197, 167, 102, 0.15), transparent 9rem),
    rgba(0, 0, 0, 0.18);
}

.login-aside::before,
.login-aside::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.login-aside::before {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 41%, rgba(197, 167, 102, 0.08) 41.2% 41.6%, transparent 41.8%),
    linear-gradient(300deg, transparent 0 61%, rgba(197, 167, 102, 0.06) 61.2% 61.6%, transparent 61.8%);
  opacity: 0.9;
}

.login-aside::after {
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 167, 102, 0.46), transparent);
}

.login-aside__crest {
  width: 4.35rem;
  height: 4.35rem;
  margin-bottom: 0.35rem;
  border: 1px solid rgba(197, 167, 102, 0.28);
  background:
    url("/static/assets/ethereal/icons/account.webp") center / 72% 72% no-repeat,
    radial-gradient(circle, rgba(197, 167, 102, 0.14), rgba(0, 0, 0, 0.3));
  box-shadow: inset 0 0 0 1px rgba(255, 241, 204, 0.035), 0 0 18px rgba(197, 167, 102, 0.12);
}

.login-aside__eyebrow {
  margin: 0;
  color: #d9b86b;
  font-family: var(--title-font);
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.login-aside h2 {
  margin: 0;
  color: #f4ead6;
  font-family: var(--title-font);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0.08em;
  line-height: 1.18;
  text-transform: uppercase;
}

.login-aside p {
  margin: 0;
  color: rgba(222, 219, 210, 0.62);
  font-size: 0.78rem;
  line-height: 1.65;
}

.login-aside ul {
  display: grid;
  gap: 0.75rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.login-aside li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: rgba(241, 234, 220, 0.72);
  font-size: 0.72rem;
  line-height: 1.45;
}

.login-aside li span {
  display: inline-grid;
  place-items: center;
  height: 1.45rem;
  color: #e0bd68;
  border: 1px solid rgba(197, 167, 102, 0.22);
  background: rgba(0, 0, 0, 0.2);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.login-form {
  display: grid;
  align-content: center;
  gap: 1.05rem;
  min-width: 0;
}

.login-fields {
  display: grid;
  gap: 1rem;
}

.login-submit {
  display: flex;
  justify-content: center;
  padding-top: 0.35rem;
}

.login-submit .btn-gold {
  min-width: 236px;
  min-height: 62px;
  padding: 0.98rem 2.15rem 0.66rem;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    url("/static/assets/ethereal/ui/play-now-button.webp") center / 100% 100% no-repeat !important;
  color: #fff0ca !important;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 9px rgba(85, 177, 255, 0.24),
    0 0 12px rgba(229, 194, 112, 0.18);
  box-shadow: none !important;
}

.login-submit .btn-gold::before,
.login-submit .btn-gold::after {
  display: none;
}

.login-submit .btn-gold:hover {
  background-color: transparent !important;
  border-color: transparent !important;
  filter: brightness(1.1) saturate(1.06);
  box-shadow: none !important;
}

.login-register {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  margin-top: 0.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(197, 167, 102, 0.12);
}

.login-register span {
  color: rgba(222, 219, 210, 0.5);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.login-register a {
  color: #d9b86b;
  font-family: var(--title-font);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.login-register a:hover {
  color: #f4ead6;
}

.login-alerts {
  margin-bottom: 1rem;
}

.login-alert {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(212, 175, 55, 0.34);
  background: rgba(212, 175, 55, 0.08);
  color: rgba(241, 234, 220, 0.84);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.login-alert span {
  color: #d9b86b;
  font-family: var(--title-font);
  font-weight: 700;
}

.login-help-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.05rem;
  margin-top: 0.25rem;
}

.login-help-links a {
  color: rgba(217, 184, 107, 0.84);
  font-family: var(--title-font);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.login-help-links a:hover {
  color: #f4ead6;
}

.news-page .inner-page-panel-body.is-lg {
  padding: clamp(1rem, 2.6vw, 2rem) !important;
}

.news-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.news-page-status {
  color: rgba(197, 167, 102, 0.7);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-item-wrapper,
.news-skeleton,
.news-empty {
  border: 1px solid rgba(197, 167, 102, 0.2);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.055), transparent 34%),
    linear-gradient(180deg, rgba(18, 21, 22, 0.84), rgba(6, 7, 8, 0.9)),
    rgba(8, 10, 11, 0.76);
}

.news-item-wrapper {
  position: relative;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.news-item-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 34%, rgba(229, 194, 112, 0.13), transparent 30%),
    linear-gradient(90deg, rgba(197, 167, 102, 0.12), transparent 40%);
  opacity: 0;
  transform: translateX(-0.75rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.news-item-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  bottom: 0.7rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(244, 213, 139, 0.9), transparent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.news-item-wrapper.expanded,
.news-item-wrapper:hover {
  border-color: rgba(197, 167, 102, 0.48);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.09), transparent 34%),
    linear-gradient(180deg, rgba(24, 27, 28, 0.9), rgba(6, 7, 8, 0.92)),
    rgba(8, 10, 11, 0.82);
  box-shadow: 0 0 28px rgba(197, 167, 102, 0.08), inset 0 0 0 1px rgba(244, 213, 139, 0.04);
  transform: translateY(-1px);
}

.news-item-wrapper.expanded::before,
.news-item-wrapper:hover::before,
.news-item-wrapper.expanded::after,
.news-item-wrapper:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.news-item-trigger {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(9rem, 13rem) minmax(0, 1fr) 2.2rem;
  gap: 1.15rem;
  align-items: center;
  padding: 0.82rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.news-item-thumb,
.news-item-mark {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(197, 167, 102, 0.34);
  background: rgba(0, 0, 0, 0.28);
}

.news-item-thumb {
  object-fit: cover;
  filter: brightness(0.86) saturate(1.06);
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.news-item-wrapper:hover .news-item-thumb,
.news-item-wrapper.expanded .news-item-thumb {
  border-color: rgba(244, 213, 139, 0.68);
  filter: brightness(1.04) saturate(1.12);
  box-shadow: 0 0 18px rgba(197, 167, 102, 0.16);
  transform: scale(1.015);
}

.news-item-mark {
  display: grid;
  place-items: center;
}

.news-item-mark span {
  color: rgba(197, 167, 102, 0.82);
  font-family: var(--title-font);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.news-item-main {
  min-width: 0;
  display: grid;
  gap: 0.38rem;
}

.news-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.news-item-meta time {
  color: rgba(222, 219, 210, 0.64);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(197, 167, 102, 0.18);
}

.news-item-title {
  color: #f1eadc;
  font-family: var(--title-font);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: 0.1em;
  line-height: 1.25;
  text-transform: uppercase;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.news-item-wrapper:hover .news-item-title,
.news-item-wrapper.expanded .news-item-title {
  color: #fff1bf;
  text-shadow: 0 0 14px rgba(244, 213, 139, 0.18);
}

.news-item-summary {
  color: rgba(222, 219, 210, 0.78);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}

.news-item-wrapper.expanded .news-item-summary {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.news-item-toggle {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 102, 0.24);
  background: rgba(169, 133, 66, 0.06);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.news-item-toggle::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 1px solid rgba(197, 167, 102, 0.82);
  border-bottom: 1px solid rgba(197, 167, 102, 0.82);
  transform: translateY(-0.12rem) rotate(45deg);
}

.news-item-wrapper.expanded .news-item-toggle {
  border-color: rgba(197, 167, 102, 0.58);
  background: rgba(169, 133, 66, 0.12);
  box-shadow: 0 0 14px rgba(197, 167, 102, 0.12);
  transform: rotate(180deg);
}

.news-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 260ms ease, opacity 220ms ease;
}

.news-content.expanded {
  max-height: none !important;
  opacity: 1 !important;
}

.news-content > div {
  position: relative;
  z-index: 1;
  margin: 0 1rem 1rem calc(13rem + 2rem);
  padding: 1rem 0 0 1rem;
  border-left: 1px solid rgba(197, 167, 102, 0.2);
}

.news-content p {
  margin: 0;
  color: rgba(238, 234, 220, 0.84);
  font-size: 0.9rem;
  line-height: 1.75;
  white-space: pre-line;
}

.news-content-image {
  width: min(100%, 620px);
  height: auto;
  margin: 1rem 0 0;
  border: 1px solid rgba(197, 167, 102, 0.38);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 18px rgba(197, 167, 102, 0.1);
}

.news-empty {
  padding: 2rem;
  color: rgba(222, 219, 210, 0.76);
  font-family: var(--title-font);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.news-skeleton {
  padding: 1.25rem;
  display: grid;
  gap: 0.8rem;
}

.news-skeleton.is-muted {
  opacity: 0.62;
}

.news-skeleton div {
  height: 0.8rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.025), rgba(197,167,102,0.08), rgba(255,255,255,0.025));
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

.news-skeleton div:first-child {
  width: 8rem;
}

.news-skeleton div:nth-child(2) {
  width: min(34rem, 80%);
  height: 1.5rem;
}

.news-skeleton div:nth-child(3) {
  width: min(44rem, 100%);
}

.news-pager {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.news-pager-inner,
.news-pager-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.news-pager-step,
.news-page-btn {
  min-width: 2.35rem;
  min-height: 2.35rem;
  border: 1px solid rgba(69, 70, 63, 0.72);
  background: rgba(5, 6, 7, 0.38);
  color: rgba(222, 219, 210, 0.72);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-pager-step {
  padding: 0 0.9rem;
}

.news-page-btn.is-active,
.news-pager-step:hover,
.news-page-btn:hover {
  border-color: rgba(197, 167, 102, 0.58);
  color: var(--gold-light);
  background: rgba(169, 133, 66, 0.08);
}

.news-pager-step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-stack {
  display: grid;
  gap: 1.25rem;
}

.gallery-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.12);
}

.gallery-section-head .inner-page-kicker {
  margin-bottom: 0.35rem;
  text-align: left;
}

.gallery-section-head h2 {
  color: rgba(238, 234, 220, 0.95);
  font-family: var(--title-font);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.gallery-grid,
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-video-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-media-card,
.gallery-empty {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 167, 102, 0.22);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(17, 21, 22, 0.96), rgba(5, 6, 7, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 18px 28px rgba(0, 0, 0, 0.22);
}

.gallery-media-card {
  padding: 0.45rem;
}

.gallery-media-card img,
.gallery-media-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.065);
  background: #050607;
}

.gallery-media-card img {
  object-fit: cover;
  opacity: 0.9;
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.gallery-media-card:hover img {
  opacity: 1;
  filter: brightness(1.08);
  transform: scale(1.015);
}

.gallery-media-card figcaption,
.gallery-video-title {
  padding: 0.72rem 0.35rem 0.25rem;
  color: rgba(238, 234, 220, 0.84);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gallery-card-corner::before,
.gallery-card-corner::after {
  content: "";
  position: absolute;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}

.gallery-card-corner::before {
  left: 0.42rem;
  top: 0.42rem;
  border-left: 1px solid rgba(197, 167, 102, 0.48);
  border-top: 1px solid rgba(197, 167, 102, 0.48);
}

.gallery-card-corner::after {
  right: 0.42rem;
  bottom: 0.42rem;
  border-right: 1px solid rgba(197, 167, 102, 0.34);
  border-bottom: 1px solid rgba(197, 167, 102, 0.34);
}

.gallery-empty {
  grid-column: 1 / -1;
  min-height: 10rem;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: rgba(222, 219, 210, 0.68);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.gallery-empty strong {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(238, 234, 220, 0.82);
  letter-spacing: 0.16em;
}

.rankings-page .inner-page-hero {
  margin-bottom: clamp(1.35rem, 3vw, 2.25rem);
}

.rankings-tabs {
  width: min(100%, 880px);
  margin: 0 auto clamp(1.4rem, 3vw, 2.25rem);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid rgba(69, 70, 63, 0.78);
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.82), rgba(6, 7, 8, 0.86)),
    rgba(8, 10, 11, 0.86);
}

.rankings-tabs a {
  min-height: 3rem;
  display: grid;
  place-items: center;
  padding: 0.65rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  color: rgba(222, 219, 210, 0.8);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.rankings-tabs a:last-child {
  border-right: 0;
}

.rankings-tabs a:hover,
.rankings-tabs a.is-active {
  background: rgba(169, 133, 66, 0.08);
  color: var(--gold-light);
}

.rankings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.2rem, 3vw, 2rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.rankings-count {
  color: rgba(197, 167, 102, 0.72) !important;
  font-family: var(--title-font);
  font-size: 0.7rem !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

.rankings-search {
  width: min(100%, 22rem);
  position: relative;
}

.rankings-search .inner-page-search {
  width: 100%;
  padding-left: 2.5rem !important;
}

.rankings-search svg {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  color: rgba(197, 167, 102, 0.48);
  transform: translateY(-50%);
  pointer-events: none;
}

.rankings-page {
  --ranking-line: rgba(197, 167, 102, 0.16);
  --ranking-line-strong: rgba(197, 167, 102, 0.34);
  --ranking-surface: rgba(7, 9, 10, 0.72);
}

.rankings-page .inner-page-container.is-wide {
  width: min(100% - 2rem, 1380px);
}

.rankings-page .inner-page-hero {
  position: relative;
  padding: clamp(1.2rem, 2.8vw, 2.1rem) 1rem 0;
}

.rankings-page .inner-page-kicker {
  padding: 0.28rem 0.78rem;
  border: 1px solid rgba(197, 167, 102, 0.22);
  background: rgba(8, 10, 11, 0.56);
}

.rankings-page .inner-page-title {
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(197, 167, 102, 0.08);
}

.rankings-tabs {
  width: min(100%, 940px);
  min-height: 3.35rem;
  padding: 0.28rem;
  gap: 0.22rem;
  border-color: rgba(197, 167, 102, 0.25);
  background:
    linear-gradient(180deg, rgba(21, 24, 24, 0.92), rgba(5, 6, 7, 0.94)),
    rgba(8, 10, 11, 0.9);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.035),
    0 16px 34px rgba(0, 0, 0, 0.24);
}

.rankings-tabs a {
  position: relative;
  min-height: 2.72rem;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.018);
  color: rgba(222, 219, 210, 0.68);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  z-index: 0;
}

.rankings-tabs a:hover {
  border-color: rgba(197, 167, 102, 0.18);
  background: rgba(169, 133, 66, 0.07);
  color: rgba(245, 230, 194, 0.92);
}

.rankings-tabs a.is-active {
  border-color: rgba(229, 194, 112, 0.42);
  background:
    linear-gradient(180deg, rgba(169, 133, 66, 0.18), rgba(83, 62, 27, 0.18)),
    rgba(255, 255, 255, 0.025);
  color: #ffe8b1;
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.04),
    0 0 18px rgba(197, 167, 102, 0.08);
  z-index: 1;
}

#rankTopBoard,
#animalTopClass {
  align-items: stretch;
}

.rankings-page .rank-podium-card {
  min-height: 21rem;
  padding: 0.85rem;
  border-color: rgba(197, 167, 102, 0.22);
  background:
    linear-gradient(180deg, rgba(20, 23, 23, 0.92), rgba(5, 6, 7, 0.96)),
    var(--ranking-surface);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.035),
    0 18px 30px rgba(0, 0, 0, 0.28);
}

.rankings-page .rank-podium-card::before {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(229, 194, 112, 0.18), transparent 34%),
    linear-gradient(90deg, transparent, rgba(197, 167, 102, 0.08), transparent);
}

.rankings-page .rank-podium-card > * {
  position: relative;
  z-index: 1;
}

.rankings-page .rank-podium-card:hover {
  border-color: rgba(229, 194, 112, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(255, 241, 204, 0.045),
    0 20px 36px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(197, 167, 102, 0.08);
}

.rankings-page .rank-podium-card-media {
  border-color: rgba(197, 167, 102, 0.18);
  background:
    radial-gradient(circle at 50% 30%, rgba(85, 158, 188, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(197, 167, 102, 0.08), rgba(0, 0, 0, 0.28)),
    rgba(255, 255, 255, 0.018);
}

.rankings-page .rank-podium-card-media img {
  filter:
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 13px rgba(197, 167, 102, 0.12));
}

.rankings-page .inner-page-panel:has(.ranking-table) {
  border-color: rgba(197, 167, 102, 0.26);
  background:
    linear-gradient(180deg, rgba(16, 19, 19, 0.94), rgba(5, 6, 7, 0.96)),
    var(--ranking-surface);
}

.rankings-toolbar {
  margin-bottom: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(197, 167, 102, 0.12);
  background: rgba(255, 255, 255, 0.018);
}

.rankings-count {
  display: inline-flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 0.9rem;
  border-left: 2px solid rgba(197, 167, 102, 0.5);
  color: rgba(245, 230, 194, 0.82) !important;
}

.rankings-search .inner-page-search {
  min-height: 2.75rem;
  border-color: rgba(197, 167, 102, 0.2);
  background: rgba(5, 6, 7, 0.66);
}

.rankings-table-wrap {
  border: 1px solid rgba(197, 167, 102, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(0, 0, 0, 0.16)),
    rgba(5, 6, 7, 0.4);
}

.ranking-table {
  min-width: 880px;
}

.ranking-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0.95rem 1rem !important;
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.98), rgba(7, 8, 9, 0.98));
  border-bottom-color: var(--ranking-line-strong) !important;
  color: rgba(229, 194, 112, 0.88) !important;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.ranking-row {
  background: rgba(255, 255, 255, 0.01);
}

.ranking-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.ranking-row:hover {
  background:
    linear-gradient(90deg, rgba(169, 133, 66, 0.12), rgba(169, 133, 66, 0.035) 34%, transparent);
}

.ranking-cell {
  padding: 0.95rem 1rem !important;
  border-bottom-color: rgba(197, 167, 102, 0.08);
  vertical-align: middle;
}

.ranking-rank-badge,
.ranking-rank {
  white-space: nowrap;
}

.ranking-rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  min-height: 2rem;
  padding: 0.3rem 0.58rem;
  border: 1px solid rgba(197, 167, 102, 0.25);
  background: rgba(0, 0, 0, 0.24);
  font-family: var(--title-font);
  letter-spacing: 0.08em;
}

.ranking-rank-badge-gold {
  color: #ffe29a;
  border-color: rgba(255, 220, 142, 0.48);
  box-shadow: 0 0 18px rgba(229, 194, 112, 0.1);
}

.ranking-rank-badge-silver {
  color: #dfe7f1;
  border-color: rgba(210, 226, 240, 0.34);
}

.ranking-rank-badge-bronze {
  color: #d7a070;
  border-color: rgba(215, 160, 112, 0.34);
}

.ranking-name {
  color: rgba(245, 238, 224, 0.92);
}

.ranking-name-top {
  text-shadow: 0 0 12px rgba(229, 194, 112, 0.12);
}

.ranking-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  border-radius: 2px !important;
  border-color: rgba(197, 167, 102, 0.16) !important;
  background: rgba(255, 255, 255, 0.025) !important;
}

.progress-block {
  border-radius: 0;
  background: rgba(255, 255, 255, 0.055) !important;
}

.rankings-back {
  margin-top: 2rem;
  text-align: center;
}

.donate-page .inner-page-panel-body.is-lg {
  padding-inline: clamp(1.1rem, 3vw, 2.4rem) !important;
}

.donate-history-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid rgba(197, 167, 102, 0.34);
  color: rgba(222, 219, 210, 0.82);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.donate-history-link:hover {
  border-color: rgba(197, 167, 102, 0.68);
  background: rgba(169, 133, 66, 0.08);
  color: var(--gold-light);
}

.donate-purchase-grid {
  max-width: 980px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.donate-purchase-card {
  min-height: 100%;
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border: 1px solid rgba(69, 70, 63, 0.72);
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.72), rgba(6, 7, 8, 0.82)),
    rgba(8, 10, 11, 0.72);
}

.donate-card-label,
.donate-field-label {
  display: block;
  color: var(--gold-light);
  font-family: var(--title-font);
  text-transform: uppercase;
}

.donate-card-label {
  margin-bottom: 1.35rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
}

.donate-field-label {
  margin-bottom: 0.7rem;
  color: rgba(197, 167, 102, 0.76);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.donate-select {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.7rem 0.9rem;
  font-family: var(--title-font);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donate-notice,
.donate-checkout-copy,
.donate-payment-message {
  color: rgba(222, 219, 210, 0.8);
  font-size: 0.82rem;
  line-height: 1.65;
}

.donate-checkout-copy {
  margin: 0 0 1rem;
  text-align: center;
}

.donate-notice,
.donate-payment-message {
  padding: 1rem;
  border: 1px solid rgba(197, 167, 102, 0.24);
  background: rgba(169, 133, 66, 0.06);
  text-align: center;
}

.donate-payment-message {
  max-width: 980px;
  margin: 2rem auto 0;
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.donate-payment-message.is-error {
  border-color: rgba(164, 76, 76, 0.42);
  background: rgba(164, 76, 76, 0.09);
  color: rgba(255, 220, 220, 0.86);
}

.donate-payment-message.is-success {
  border-color: rgba(79, 169, 99, 0.38);
  background: rgba(79, 169, 99, 0.08);
  color: rgba(218, 255, 226, 0.88);
}

.info-page .inner-page-hero {
  max-width: 960px;
  margin-inline: auto;
  margin-bottom: clamp(1.35rem, 3vw, 2.15rem);
}

.info-page.inner-page-shell {
  padding-top: clamp(2.25rem, 4.6vw, 4.25rem);
}

.info-page .inner-page-copy {
  max-width: 760px;
  margin-inline: auto;
  color: rgba(231, 225, 209, 0.76);
}

.info-page-quicklinks {
  width: min(100%, 920px);
  margin: 0 auto clamp(1.5rem, 3vw, 2.35rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(197, 167, 102, 0.42);
  background:
    linear-gradient(90deg, transparent, rgba(197, 167, 102, 0.09), transparent),
    linear-gradient(180deg, rgba(18, 21, 22, 0.82), rgba(6, 7, 8, 0.86)),
    rgba(8, 10, 11, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 18px 34px rgba(0, 0, 0, 0.32);
}

.info-page-quicklinks a {
  min-height: 3.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.72rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.065);
  color: rgba(230, 224, 209, 0.78);
  font-family: var(--title-font);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.info-page-quicklinks a span {
  width: 1.85rem;
  height: 1.85rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(214, 179, 95, 0.42);
  background:
    radial-gradient(circle, rgba(214, 179, 95, 0.14), transparent 70%),
    rgba(5, 6, 7, 0.46);
  box-shadow: 0 0 16px rgba(214, 179, 95, 0.08);
}

.info-page-quicklinks svg {
  width: 1rem;
  height: 1rem;
  color: rgba(224, 189, 104, 0.88);
}

.info-page-quicklinks a:last-child {
  border-right: 0;
}

.info-page-quicklinks a:hover {
  background: rgba(169, 133, 66, 0.11);
  color: var(--gold-light);
}

.info-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: clamp(1.15rem, 2.4vw, 1.7rem);
  align-items: start;
}

.info-page-side {
  display: grid;
  gap: clamp(1.15rem, 2.4vw, 1.7rem);
  position: sticky;
  top: 6.5rem;
}

.info-page .ek-panel {
  border: 1px solid rgba(197, 167, 102, 0.42);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.055), transparent 28%),
    linear-gradient(180deg, rgba(17, 20, 20, 0.94), rgba(5, 6, 7, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 16px 28px rgba(0, 0, 0, 0.32);
}

.info-page .ek-panel::before {
  opacity: 1;
}

.info-page .inner-page-panel-body.is-lg,
.info-page .inner-page-panel-body {
  padding: clamp(1.05rem, 2.2vw, 1.65rem) !important;
}

.info-section-head {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.16);
}

.info-section-head > span {
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 102, 0.34);
  background:
    radial-gradient(circle, rgba(214, 179, 95, 0.16), transparent 68%),
    rgba(169, 133, 66, 0.06);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(214, 179, 95, 0.08);
}

.info-section-head.is-small > span {
  width: 2.75rem;
  height: 2.75rem;
  flex-basis: 2.75rem;
}

.info-section-head svg {
  width: 1.2rem;
  height: 1.2rem;
  color: rgba(224, 189, 104, 0.9);
}

.info-section-head p {
  margin: 0 0 0.2rem;
  color: var(--gold-light);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.info-section-head h2 {
  display: block;
  margin: 0;
  color: rgba(246, 238, 218, 0.92);
  font-family: var(--title-font);
  font-size: 1.14rem;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.info-section-head.is-small h2 {
  font-size: 0.98rem;
}

.info-rule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.info-rule-card {
  min-height: 5.15rem;
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem;
  border: 1px solid rgba(105, 94, 67, 0.5);
  background:
    linear-gradient(135deg, rgba(214, 179, 95, 0.09), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(5, 6, 7, 0.42);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.info-rule-card:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 179, 95, 0.56);
  background:
    linear-gradient(135deg, rgba(214, 179, 95, 0.13), transparent 42%),
    rgba(8, 10, 11, 0.58);
}

.info-rule-card span {
  min-height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 179, 95, 0.3);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(224, 189, 104, 0.9);
  font-family: var(--title-font);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.info-rule-card p {
  margin: 0;
  color: rgba(238, 234, 220, 0.82);
  font-size: 0.82rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.info-schedule-list,
.info-faq-list {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.info-schedule-list li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.72rem 0.78rem;
  border: 1px solid rgba(105, 94, 67, 0.36);
  background: rgba(0, 0, 0, 0.18);
}

.info-schedule-list li:last-child {
  border-bottom: 1px solid rgba(105, 94, 67, 0.36);
}

.info-schedule-list span {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid rgba(197, 167, 102, 0.7);
  transform: rotate(45deg);
}

.info-schedule-list p {
  margin: 0;
  color: rgba(238, 234, 220, 0.84);
  font-size: 0.8rem;
  line-height: 1.4;
}

.info-faq-item {
  border: 1px solid rgba(105, 94, 67, 0.44);
  background: rgba(5, 6, 7, 0.42);
}

.info-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 0.95rem;
  color: rgba(241, 234, 220, 0.88);
  font-family: var(--title-font);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.info-faq-item summary::-webkit-details-marker {
  display: none;
}

.info-faq-item summary::after {
  content: "+";
  color: rgba(224, 189, 104, 0.86);
  font-size: 1rem;
  line-height: 1;
}

.info-faq-item[open] summary::after {
  content: "-";
}

.info-faq-item div {
  padding: 0 0.95rem 0.9rem;
  color: rgba(238, 234, 220, 0.82);
  font-size: 0.82rem;
  line-height: 1.6;
}

.info-skeleton {
  min-height: 3.2rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.025), rgba(197,167,102,0.08), rgba(255,255,255,0.025));
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}

.info-skeleton.is-tall {
  min-height: 4.2rem;
}

.vote-page {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 4rem);
}

.ek-inner-main:has(.vote-page) {
  display: flex;
  flex-direction: column;
}

.ek-inner-main:has(.vote-page) .vote-page {
  flex: 1 1 auto;
}

.ek-inner-main:has(.droplist-page) {
  display: flex;
  flex-direction: column;
}

.ek-inner-main:has(.droplist-page) .droplist-page {
  flex: 1 1 auto;
}

.vote-page .inner-page-container.is-wide {
  width: min(100% - 2rem, 1120px);
}

.vote-hero {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.vote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
}

.vote-card,
.vote-side {
  border: 1px solid rgba(197, 167, 102, 0.2);
  background:
    linear-gradient(180deg, rgba(16, 19, 20, 0.96), rgba(6, 8, 9, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 34px rgba(0, 0, 0, 0.26);
}

.vote-card {
  padding: clamp(1.15rem, 2.6vw, 1.75rem);
}

.vote-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.14);
}

.vote-card-head > span,
.vote-reward-card > span {
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 3.1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 102, 0.3);
  background: rgba(197, 167, 102, 0.08);
}

.vote-card-head svg {
  width: 1.25rem;
  height: 1.25rem;
  color: rgba(224, 189, 104, 0.94);
}

.vote-card-head p,
.vote-reward-card p {
  margin: 0 0 0.22rem;
  color: rgba(197, 167, 102, 0.82);
  font-family: var(--title-font);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.vote-card-head h2,
.vote-reward-card h2 {
  margin: 0;
  color: rgba(246, 238, 218, 0.94);
  font-family: var(--title-font);
  font-size: 1.18rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vote-alert {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.85rem;
  border: 1px solid rgba(197, 167, 102, 0.18);
  background: rgba(5, 6, 7, 0.44);
}

.vote-alert span {
  min-height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.vote-alert p {
  margin: 0;
  color: rgba(241, 234, 220, 0.88);
  font-size: 0.82rem;
  line-height: 1.55;
}

.vote-alert.is-error {
  border-color: rgba(164, 76, 76, 0.34);
}

.vote-alert.is-error span {
  color: #ff9c9c;
}

.vote-alert.is-success {
  border-color: rgba(79, 169, 99, 0.34);
}

.vote-alert.is-success span {
  color: var(--online);
}

.vote-form {
  display: grid;
  gap: 0.9rem;
}

.vote-form label {
  color: rgba(197, 167, 102, 0.72);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vote-form input {
  min-height: 3.2rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(2, 3, 4, 0.78);
  color: #f1eadc;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.vote-form input:focus {
  border-color: rgba(197, 167, 102, 0.72);
  box-shadow: 0 0 0 1px rgba(197, 167, 102, 0.18);
}

.vote-submit {
  min-height: 3.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.45rem;
  border: 1px solid rgba(197, 167, 102, 0.48);
  background:
    linear-gradient(180deg, rgba(43, 39, 29, 0.98), rgba(13, 15, 15, 0.98));
  color: #fff2d2;
  font-family: var(--title-font);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.vote-submit:hover {
  border-color: rgba(197, 167, 102, 0.78);
  background:
    linear-gradient(180deg, rgba(55, 47, 31, 0.98), rgba(16, 18, 18, 0.98));
}

.vote-submit:active {
  transform: translateY(1px);
}

.vote-submit svg,
.vote-register-link svg {
  width: 1rem;
  height: 1rem;
}

.vote-side {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 1.35rem);
}

.vote-reward-card {
  display: grid;
  grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 167, 102, 0.14);
}

.vote-reward-card img {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}

.vote-reward-card small {
  display: block;
  margin-top: 0.35rem;
  color: rgba(238, 234, 220, 0.56);
  font-size: 0.78rem;
  line-height: 1.5;
}

.vote-steps {
  display: grid;
  gap: 0.65rem;
}

.vote-steps div {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(5, 6, 7, 0.36);
}

.vote-steps span {
  color: rgba(197, 167, 102, 0.82);
  font-family: var(--title-font);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.vote-steps p {
  margin: 0;
  color: rgba(238, 234, 220, 0.74);
  font-size: 0.82rem;
  line-height: 1.45;
}

.vote-register-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 1px solid rgba(197, 167, 102, 0.22);
  color: rgba(197, 167, 102, 0.9);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.vote-register-link:hover {
  border-color: rgba(197, 167, 102, 0.56);
  background: rgba(197, 167, 102, 0.08);
  color: #fff2d2;
}


.userpanel-shell {
  min-height: auto;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background:
    radial-gradient(circle at 18% 0, rgba(197, 167, 102, 0.08), transparent 30rem),
    radial-gradient(circle at 82% 10%, rgba(112, 126, 126, 0.08), transparent 26rem),
    #070909;
}

.userpanel-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 9rem, #000 82%, transparent);
}

.userpanel-shell > .container,
.userpanel-shell > div {
  position: relative;
  z-index: 1;
}

.userpanel-shell h2 {
  letter-spacing: 0.12em !important;
}

.userpanel-shell h3,
.userpanel-shell h4,
.userpanel-shell h5,
.userpanel-shell .chaos-panel div[class*="tracking-"] {
  letter-spacing: 0.16em !important;
}

.userpanel-shell p {
  color: rgba(238, 234, 220, 0.58);
  letter-spacing: 0 !important;
  line-height: 1.65;
}

.userpanel-nav {
  margin-top: clamp(2rem, 4vw, 3rem) !important;
  padding: clamp(0.9rem, 2vw, 1.25rem) !important;
  border: 1px solid rgba(197, 167, 102, 0.22) !important;
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.95), rgba(8, 10, 11, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 34px rgba(0, 0, 0, 0.28);
}

.userpanel-nav.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 1rem !important;
}

.userpanel-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.85rem, 1.8vw, 1.05rem);
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    linear-gradient(180deg, rgba(12, 15, 16, 0.96), rgba(6, 8, 9, 0.98));
}

.userpanel-session-user {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
  font-family: var(--title-font);
  text-transform: uppercase;
}

.userpanel-session-user span {
  color: rgba(197, 167, 102, 0.82);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
}

.userpanel-session-user strong {
  min-width: 0;
  overflow: hidden;
  color: rgba(241, 234, 220, 0.9);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userpanel-session-user:hover span,
.userpanel-session-user:hover strong {
  color: var(--gold-light);
}

.userpanel-session-logout {
  flex: 0 0 auto;
  min-height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(164, 76, 76, 0.42);
  color: rgba(255, 146, 146, 0.78);
  font-family: var(--title-font);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.userpanel-session-logout:hover {
  border-color: rgba(164, 76, 76, 0.78);
  background: rgba(164, 76, 76, 0.09);
  color: #ffb1b1;
}

.userpanel-account-tools {
  padding: clamp(0.75rem, 1.6vw, 1rem);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(3, 5, 6, 0.42);
}

.userpanel-nav-heading {
  margin-bottom: 0.85rem !important;
}

.userpanel-nav-heading span {
  width: 1.7rem !important;
  height: 1px !important;
  background: rgba(197, 167, 102, 0.58) !important;
}

.userpanel-nav h4 {
  color: var(--gold-light) !important;
  letter-spacing: 0.18em !important;
}

.userpanel-tool-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem !important;
}

.userpanel-nav a {
  min-height: 2.3rem;
  border-radius: 2px !important;
  border-color: rgba(255, 255, 255, 0.09) !important;
  background: rgba(11, 14, 15, 0.88) !important;
  color: rgba(238, 234, 220, 0.72) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.userpanel-nav a.userpanel-tool-link {
  position: relative;
  min-height: 3.25rem;
  justify-content: center;
  padding: 0.75rem 0.85rem !important;
  overflow: hidden;
  text-align: center;
  letter-spacing: 0.1em !important;
}

.userpanel-nav a.userpanel-tool-link::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 2px;
  background: rgba(197, 167, 102, 0);
  transition: background 180ms ease;
}

.userpanel-nav a.userpanel-tool-link svg {
  flex: 0 0 auto;
  color: rgba(197, 167, 102, 0.82);
}

.userpanel-nav a:hover,
.userpanel-nav a[class*="border-ethereal-red/40"],
.userpanel-nav a[class*="border-ethereal-red/60"],
.userpanel-nav a.text-white,
.userpanel-nav a.is-active {
  border-color: rgba(197, 167, 102, 0.62) !important;
  background: rgba(197, 167, 102, 0.12) !important;
  color: #f1eadc !important;
}

.userpanel-nav a.userpanel-tool-link:hover::after,
.userpanel-nav a.userpanel-tool-link.is-active::after {
  background: rgba(197, 167, 102, 0.9);
}

.userpanel-admin-nav {
  position: relative;
  padding-top: 1rem !important;
}

.userpanel-admin-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.userpanel-admin-head span {
  display: block;
  margin-bottom: 0.22rem;
  color: rgba(197, 167, 102, 0.62);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.userpanel-admin-head h4 {
  margin: 0;
  color: #f1eadc !important;
  font-size: 0.95rem;
  letter-spacing: 0.18em !important;
}

.userpanel-admin-head p {
  margin: 0;
  color: rgba(222, 219, 210, 0.42);
  font-family: var(--title-font);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.userpanel-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.userpanel-admin-group {
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid rgba(69, 70, 63, 0.58);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008)),
    rgba(5, 6, 7, 0.28);
}

.userpanel-admin-group h5 {
  margin: 0 0 0.65rem;
  color: #d9b86b;
  font-family: var(--title-font);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.userpanel-admin-group > div {
  display: grid;
  gap: 0.45rem;
}

.userpanel-nav a.userpanel-admin-link {
  min-height: 3.45rem;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  grid-template-areas:
    "code label"
    "code desc";
  column-gap: 0.62rem;
  align-items: center;
  padding: 0.52rem 0.62rem !important;
  border-color: rgba(69, 70, 63, 0.78) !important;
  background: rgba(5, 6, 7, 0.42) !important;
}

.userpanel-admin-link span {
  grid-area: code;
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 102, 0.26);
  color: rgba(197, 167, 102, 0.78);
  font-family: var(--title-font);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.userpanel-admin-link strong {
  grid-area: label;
  min-width: 0;
  overflow: hidden;
  color: rgba(241, 234, 220, 0.82);
  font-family: var(--title-font);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.userpanel-admin-link small {
  grid-area: desc;
  min-width: 0;
  overflow: hidden;
  color: rgba(222, 219, 210, 0.38);
  font-size: 0.68rem;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.userpanel-nav a.userpanel-admin-link:hover,
.userpanel-nav a.userpanel-admin-link.is-active {
  border-color: rgba(197, 167, 102, 0.58) !important;
  background:
    linear-gradient(180deg, rgba(169, 133, 66, 0.12), rgba(5, 6, 7, 0.34)) !important;
}

.userpanel-nav a.userpanel-admin-link.is-active span {
  border-color: rgba(197, 167, 102, 0.62);
  background: rgba(169, 133, 66, 0.12);
  color: #f3d894;
}

.userpanel-nav a.userpanel-admin-link:hover strong,
.userpanel-nav a.userpanel-admin-link.is-active strong {
  color: #f1eadc;
}

.settings-collapse {
  display: block;
}

.settings-collapse-label {
  position: relative;
  min-height: 4.2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(197, 167, 102, 0.22);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(17, 20, 21, 0.9), rgba(5, 6, 7, 0.94));
  color: rgba(222, 219, 210, 0.7);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.settings-collapse-label::-webkit-details-marker {
  display: none;
}

.settings-collapse-label span {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 167, 102, 0.24);
  color: rgba(197, 167, 102, 0.74);
  font-family: var(--title-font);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.settings-collapse-label strong {
  min-width: 0;
  color: rgba(238, 234, 220, 0.9);
  font-family: var(--title-font);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  line-height: 1.25;
  text-transform: uppercase;
}

.settings-collapse-label small {
  grid-column: 2;
  margin-top: -0.8rem;
  color: rgba(222, 219, 210, 0.36);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.settings-collapse-label i {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.settings-collapse-label i::before {
  content: "+";
  color: rgba(197, 167, 102, 0.86);
  font-family: var(--title-font);
  font-size: 1rem;
  line-height: 1;
}

.settings-collapse[open] > .settings-collapse-label {
  border-color: rgba(197, 167, 102, 0.42);
  color: var(--gold-light);
  background:
    linear-gradient(135deg, rgba(197, 167, 102, 0.13), transparent 45%),
    linear-gradient(180deg, rgba(18, 21, 22, 0.96), rgba(5, 6, 7, 0.98));
}

.settings-collapse[open] > .settings-collapse-label i::before {
  content: "-";
}

.settings-collapse > .chaos-panel {
  animation: settings-collapse-in 180ms ease both;
}

@keyframes settings-collapse-in {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.userpanel-card {
  color: inherit;
  transform: none !important;
}

.userpanel-card > div {
  min-height: 9.8rem;
  border: 1px solid rgba(197, 167, 102, 0.18);
  background:
    linear-gradient(180deg, rgba(15, 18, 19, 0.98), rgba(6, 8, 9, 0.99)) !important;
}

.userpanel-card img {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.userpanel-card:hover {
  border-color: rgba(197, 167, 102, 0.5);
  background:
    linear-gradient(180deg, rgba(24, 27, 28, 0.96), rgba(9, 11, 12, 0.99)),
    var(--bg-panel);
}

.userpanel-action-layout {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.userpanel-shell .chaos-panel {
  border-color: rgba(197, 167, 102, 0.18);
}

.userpanel-shell .chaos-panel > div[class*="bg-ethereal-black"] {
  border: 1px solid rgba(197, 167, 102, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 18, 19, 0.98), rgba(6, 8, 9, 0.99)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 14px 30px rgba(0, 0, 0, 0.24);
}

.userpanel-shell label {
  color: rgba(197, 167, 102, 0.66) !important;
  font-family: var(--title-font);
  letter-spacing: 0.12em !important;
}

.userpanel-shell input:not([type="hidden"]):not([type="checkbox"]),
.userpanel-shell select,
.userpanel-shell textarea {
  min-height: 2.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 2px;
  background: rgba(2, 3, 4, 0.82) !important;
  color: #f1eadc !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.018);
}

.userpanel-shell input:not([type="hidden"]):not([type="checkbox"]):focus,
.userpanel-shell select:focus,
.userpanel-shell textarea:focus {
  border-color: rgba(197, 167, 102, 0.7) !important;
  outline: none !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.028),
    0 0 0 1px rgba(197, 167, 102, 0.16);
}

.userpanel-shell select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(197, 167, 102, 0.78) 50%),
    linear-gradient(135deg, rgba(197, 167, 102, 0.78) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.userpanel-shell table {
  border-collapse: separate;
  border-spacing: 0;
}

.userpanel-shell table tr {
  transition: background 160ms ease;
}

.userpanel-shell table tr:hover {
  background: rgba(197, 167, 102, 0.045);
}

.userpanel-shell table td:first-child {
  color: rgba(197, 167, 102, 0.6) !important;
}

.userpanel-shell table td:last-child {
  color: rgba(241, 234, 220, 0.9) !important;
  word-break: break-word;
}

.userpanel-shell .bg-ethereal-red\/10,
.userpanel-shell .bg-white\/5.border-l-2,
.userpanel-shell .theme-success-panel {
  border: 1px solid rgba(197, 167, 102, 0.24) !important;
  border-left-width: 2px !important;
  background:
    linear-gradient(180deg, rgba(17, 20, 21, 0.86), rgba(5, 6, 7, 0.9)) !important;
}

.userpanel-shell button,
.userpanel-shell a {
  text-underline-offset: 0.25rem;
}

.chaos-panel > .bg-white\/\[0\.02\],
.chaos-panel > .bg-black\/40,
.chaos-panel > .bg-ethereal-black\/40,
.Ethereal-card,
.Ethereal-panel,
.theme-panel-surface {
  background:
    linear-gradient(180deg, rgba(18, 21, 22, 0.88), rgba(7, 8, 9, 0.9)) !important;
  border-color: rgba(69, 70, 63, 0.72) !important;
}

.theme-accent-glow,
.theme-accent-glow:hover,
.theme-accent-panel-glow,
.theme-accent-soft-glow,
.theme-logo-glow,
.theme-logo-glow-soft,
.theme-page-glow {
  box-shadow: none !important;
  text-shadow: none !important;
}

button[class*="bg-ethereal-red"],
a[class*="bg-ethereal-red"],
input[type="submit"],
button[type="submit"] {
  border: 1px solid rgba(197, 167, 102, 0.55) !important;
  border-radius: 2px !important;
  background:
    url("/static/assets/ethereal/ui/button-gold.webp") center / 100% 100% no-repeat,
    linear-gradient(180deg, rgba(169, 133, 66, 0.7), rgba(80, 59, 25, 0.86)) !important;
  color: #f4ead6 !important;
  font-family: var(--title-font);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025) !important;
  text-transform: uppercase;
}

button[class*="bg-ethereal-red"]:hover,
a[class*="bg-ethereal-red"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  border-color: rgba(197, 167, 102, 0.82) !important;
  filter: brightness(1.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035) !important;
}

.userpanel-shell button[type="submit"],
.userpanel-shell button[type="button"],
.userpanel-shell button[id]:not(#tabInv):not(#tabStorage),
.userpanel-shell a.userpanel-session-logout,
.userpanel-shell a.userpanel-tool-link,
.userpanel-shell a[href="/logout"],
.userpanel-shell button > div {
  min-height: 2.85rem;
  border: 1px solid rgba(197, 167, 102, 0.28) !important;
  border-radius: 2px !important;
  background:
    linear-gradient(180deg, rgba(28, 31, 31, 0.98), rgba(10, 12, 13, 0.98)) !important;
  color: rgba(244, 238, 224, 0.92) !important;
  font-family: var(--title-font);
  font-size: 0.72rem !important;
  font-weight: 400;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 8px 18px rgba(0, 0, 0, 0.18) !important;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.userpanel-shell button[type="submit"]:hover,
.userpanel-shell button[type="button"]:hover,
.userpanel-shell button[id]:not(#tabInv):not(#tabStorage):hover,
.userpanel-shell a.userpanel-session-logout:hover,
.userpanel-shell a.userpanel-tool-link:hover,
.userpanel-shell a[href="/logout"]:hover,
.userpanel-shell button:hover > div {
  border-color: rgba(197, 167, 102, 0.68) !important;
  background:
    linear-gradient(180deg, rgba(43, 39, 29, 0.98), rgba(15, 16, 15, 0.98)) !important;
  color: #fff6df !important;
  filter: none;
}

.userpanel-shell button[type="submit"]:active,
.userpanel-shell button[type="button"]:active,
.userpanel-shell button[id]:not(#tabInv):not(#tabStorage):active,
.userpanel-shell a.userpanel-tool-link:active {
  transform: translateY(1px);
}

.userpanel-shell a.userpanel-tool-link.is-active {
  border-color: rgba(197, 167, 102, 0.78) !important;
  background:
    linear-gradient(180deg, rgba(51, 44, 30, 0.98), rgba(17, 18, 17, 0.98)) !important;
  color: #fff2d2 !important;
}

.userpanel-shell button.chaos-panel,
.userpanel-shell button.chaos-panel > div {
  padding: 0.9rem 1.1rem !important;
}

.vote-page button.vote-submit {
  min-height: 3.15rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.45rem;
  border: 1px solid rgba(197, 167, 102, 0.34) !important;
  border-radius: 2px !important;
  background:
    linear-gradient(180deg, rgba(24, 27, 27, 0.98), rgba(8, 10, 11, 0.98)) !important;
  color: rgba(246, 238, 218, 0.94) !important;
  font-family: var(--title-font);
  font-size: 0.76rem !important;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 20px rgba(0, 0, 0, 0.2) !important;
  filter: none !important;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.vote-page button.vote-submit::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: rgba(197, 167, 102, 0.48);
}

.vote-page button.vote-submit::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: rgba(197, 167, 102, 0.48);
}

.vote-page button.vote-submit:hover {
  border-color: rgba(197, 167, 102, 0.72) !important;
  background:
    linear-gradient(180deg, rgba(34, 32, 25, 0.98), rgba(11, 13, 13, 0.98)) !important;
  color: #fff3d4 !important;
  filter: none !important;
}

.vote-page button.vote-submit:active {
  transform: translateY(1px);
}

.vote-page button.vote-submit svg {
  width: 1rem;
  height: 1rem;
  color: rgba(197, 167, 102, 0.95);
}

.Ethereal-table-container {
  border: 1px solid rgba(69, 70, 63, 0.78);
  background: rgba(5, 6, 7, 0.38);
}

.Ethereal-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.Ethereal-table th,
.Ethereal-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055) !important;
}

.Ethereal-table th {
  background: rgba(5, 6, 7, 0.48) !important;
  color: var(--gold-light) !important;
  font-family: var(--title-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.Ethereal-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.018);
}

.theme-success-panel,
.theme-success-chip {
  border: 1px solid rgba(79, 169, 99, 0.34) !important;
  background: rgba(79, 169, 99, 0.08) !important;
  color: var(--online) !important;
}

.theme-success-text,
.theme-status-text-online {
  color: var(--online) !important;
}

.theme-error-text,
.theme-status-text-offline {
  color: var(--danger) !important;
}

.theme-status-dot-online,
.theme-status-ping-online {
  background: var(--online) !important;
}

.theme-status-dot-offline,
.theme-status-ping-offline {
  background: var(--danger) !important;
}

.inventory-modal-shell,
.inventory-item-tip,
#ek-global-tip {
  border-color: rgba(197, 167, 102, 0.34) !important;
  background:
    linear-gradient(180deg, rgba(15, 18, 19, 0.98), rgba(5, 6, 7, 0.98)) !important;
  color: var(--text-primary) !important;
}

@media (max-width: 1540px) {
  .ek-nav-shell {
    width: min(100% - 1rem, 1500px);
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr) auto auto;
    gap: 0.75rem;
  }

  .ek-brand span:first-child {
    font-size: 1.45rem;
  }

  .ek-brand span:nth-child(2) {
    font-size: 1.02rem;
  }

  .ek-main-nav a {
    padding-inline: clamp(0.55rem, 0.75vw, 1rem);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
  }

  .ek-discord-link,
  .ek-vote-link {
    width: 2.65rem;
    height: 2.65rem;
    flex-basis: 2.65rem;
  }

  .ek-discord-link img,
  .ek-vote-link img {
    width: 1.55rem;
    height: 1.55rem;
  }

  .ek-welcome-link {
    max-width: 11.5rem;
  }

  .ek-welcome-link span {
    max-width: 6.4rem;
  }

  .ek-welcome-link span,
  .ek-welcome-link strong {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .ek-signout-link {
    width: 1.75rem;
    height: 1.75rem;
  }

  .ek-signout-link img {
    width: 1.15rem;
    height: 1.15rem;
  }
}

@media (max-width: 1180px) {
  .ek-nav-shell {
    grid-template-columns: auto auto;
    min-height: 76px;
  }

  .ek-main-nav,
  .ek-nav-actions,
  .ek-user-nav--edge {
    display: none;
  }

  .ek-menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .ek-site-header::before,
  .ek-site-header::after {
    width: 3.5rem;
    opacity: 0.18;
  }

  .ek-dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .ek-panel--news {
    grid-column: 1 / -1;
    order: 3;
  }

  .ek-side-stack {
    order: 2;
  }

  .ek-feature-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .userpanel-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .userpanel-admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-page-layout {
    grid-template-columns: 1fr;
  }

  .info-page-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .vote-layout {
    grid-template-columns: 1fr;
  }

  .register-layout {
    grid-template-columns: 1fr;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .register-aside {
    min-height: 0;
  }

  .login-aside {
    min-height: 0;
  }

  .register-aside ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .login-aside ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ek-nav-shell {
    min-height: 68px;
    width: min(100% - 1rem, 100%);
  }

  .ek-site-header::before,
  .ek-site-header::after,
  .ek-brand::before {
    display: none;
  }

  .ek-brand span:first-child {
    font-size: 1.05rem;
  }

  .ek-brand span:nth-child(2) {
    font-size: 0.8rem;
  }

  .ek-hero {
    min-height: clamp(520px, 136vw, 650px);
  }

  .ek-hero__title span {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
    letter-spacing: 0.08em;
  }

  .ek-hero__logo {
    width: min(92vw, 560px);
    margin: clamp(-1.5rem, -5vw, -0.75rem) 0 clamp(-4rem, -11vw, -2.2rem);
  }

  .ek-title-rule {
    gap: 0.6rem;
    letter-spacing: 0.24em;
  }

  .ek-title-rule span {
    width: 3.2rem;
  }

  .ek-hero__tagline {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .ek-hero__actions,
  .ek-btn {
    width: 100%;
  }

  .ek-home__body {
    width: min(100% - 1rem, 100%);
    margin-top: 0.9rem;
  }

  .ek-dashboard {
    display: flex;
    flex-direction: column;
  }

  .ek-panel--server {
    order: 1;
  }

  .ek-side-stack {
    display: contents;
  }

  .ek-side-stack .ek-panel:first-child {
    order: 2;
  }

  .ek-panel--news {
    order: 3;
  }

  .ek-side-stack .ek-panel:nth-child(2) {
    order: 4;
  }

  .ek-feature-panel {
    order: 5;
  }

  .ek-news-item {
    grid-template-columns: 4.6rem minmax(0, 1fr);
  }

  .ek-news-date {
    grid-column: 2;
    justify-self: start;
  }

  .ek-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ek-feature-strip a {
    min-height: 5.5rem;
  }

  .ek-footer-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ek-footer-brand {
    align-items: center;
  }

  .ek-footer-social {
    justify-content: center;
    flex-wrap: wrap;
  }

  .inner-page-shell {
    padding: 2rem 0;
  }

  .inner-page-panel-body.is-lg,
  .inner-page-panel-body {
    padding: 1rem !important;
  }

  .rankings-page .inner-page-container.is-wide {
    width: min(100% - 1rem, 100%);
  }

  .rankings-page .inner-page-hero {
    padding-inline: 0.25rem;
  }

  .rankings-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.18rem;
  }

  .rankings-tabs a {
    min-height: 2.55rem;
    padding-inline: 0.45rem;
    font-size: 0.62rem;
    letter-spacing: 0.09em;
  }

  .rankings-toolbar {
    display: grid;
    gap: 0.75rem;
    padding: 0.72rem;
  }

  .rankings-count {
    min-height: 2.25rem;
    padding-inline: 0.72rem;
    font-size: 0.62rem !important;
  }

  .rankings-search {
    width: 100%;
  }

  .rankings-page .rank-podium-card {
    min-height: 17rem;
  }

  .ranking-table {
    min-width: 760px;
  }

  .info-page .inner-page-container.is-wide {
    width: min(100% - 3rem, 1320px);
    padding-inline: 0;
  }

  .info-page .inner-page-title {
    font-size: clamp(2.15rem, 10vw, 2.75rem) !important;
    letter-spacing: 0.08em;
    line-height: 1.02;
  }

  .info-page .inner-page-title .glitch-title {
    display: block;
    margin-top: 0.22rem;
  }

  .info-page .inner-page-divider {
    width: min(16rem, 68vw);
  }

  .info-page .inner-page-copy,
  .info-page-quicklinks,
  .info-page-layout,
  .info-page .ek-panel,
  .info-rule-grid,
  .info-rule-card,
  .info-rule-card p {
    max-width: 100%;
    min-width: 0;
  }

  .info-page-quicklinks {
    grid-template-columns: 1fr;
  }

  .info-page-quicklinks a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .info-page-quicklinks a:last-child {
    border-bottom: 0;
  }

  .info-page-layout,
  .info-rule-grid {
    grid-template-columns: 1fr;
  }

  .info-page-side {
    grid-template-columns: 1fr;
  }

  .vote-page .inner-page-container.is-wide {
    width: min(100% - 1rem, 100%);
  }

  .vote-card,
  .vote-side {
    padding: 1rem;
  }

  .vote-card-head,
  .vote-reward-card {
    align-items: start;
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .vote-card-head > span,
  .vote-reward-card > span {
    width: 2.75rem;
    height: 2.75rem;
    flex-basis: 2.75rem;
  }

  .vote-card-head h2,
  .vote-reward-card h2 {
    font-size: 0.98rem;
  }

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

  .register-aside {
    padding: 1rem;
  }

  .register-aside ul,
  .login-aside ul,
  .register-captcha-row {
    grid-template-columns: 1fr;
  }

  .login-aside {
    padding: 1rem;
  }

  .login-card .inner-page-panel-body {
    padding: 1rem !important;
  }

  .login-page .inner-page-container {
    width: min(100% - 2rem, 1120px);
  }

  .login-page .inner-page-title {
    font-size: clamp(2rem, 11vw, 2.85rem) !important;
    letter-spacing: 0.08em;
    line-height: 1.02;
  }

  .login-page .inner-page-title span {
    display: block;
    margin-top: 0.18rem;
  }

  .login-page .inner-page-copy,
  .login-aside li,
  .login-aside p {
    overflow-wrap: anywhere;
  }

  .login-page .inner-page-copy {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  .login-aside li {
    grid-template-columns: 1.75rem minmax(0, 1fr);
    gap: 0.6rem;
    font-size: 0.68rem;
  }

  .login-aside li span {
    height: 1.35rem;
    font-size: 0.58rem;
  }

  .login-submit .btn-gold {
    width: min(100%, 280px);
  }

  .register-captcha-prompt {
    width: 100%;
    justify-content: center;
  }

  .register-card .inner-page-panel-body {
    padding: 1rem !important;
  }

  .donate-purchase-grid {
    grid-template-columns: 1fr;
  }

  .news-page-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid,
  .gallery-video-grid {
    grid-template-columns: 1fr;
  }

  .news-item-trigger {
    grid-template-columns: 3.6rem minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
  }

  .news-item-thumb,
  .news-item-mark {
    width: 3.6rem;
  }

  .news-item-toggle {
    grid-column: 1 / -1;
    width: 100%;
    height: 2rem;
  }

  .news-content > div {
    margin: 0 1rem 1rem;
    padding-left: 0.85rem;
  }

  .rankings-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rankings-tabs a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  }

  .rankings-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .rankings-search {
    width: 100%;
  }

  .info-rule-card {
    min-height: auto;
    grid-template-columns: 1.85rem minmax(0, 1fr);
    gap: 0.68rem;
    padding: 0.76rem;
  }

  .info-rule-card span {
    min-height: 2rem;
    font-size: 0.7rem;
  }

  .info-rule-card p {
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1.52;
  }

  .userpanel-session-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .userpanel-session-logout {
    width: 100%;
  }

  .userpanel-tool-grid {
    grid-template-columns: 1fr;
  }

  .userpanel-nav a.userpanel-tool-link {
    justify-content: flex-start;
    text-align: left;
  }

  .userpanel-action-layout {
    gap: 2rem !important;
  }

  .userpanel-card > div {
    min-height: auto;
    align-items: flex-start;
    gap: 1rem !important;
    padding: 1rem !important;
  }

  .userpanel-admin-head {
    align-items: start;
    flex-direction: column;
  }

  .userpanel-admin-grid {
    grid-template-columns: 1fr;
  }

  .ranking-table {
    min-width: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
