
:root{
 --gold:#c99751;--gold2:#f1d49b;--line:#68451e;--panel:#1a0f09e8;--panel2:#24140bdc;
 --black:#070503;--text:#ebddc8;--muted:#bba181;--red:#8e140d;--green:#55d47b;--wrap:1480px
}
*{box-sizing:border-box}html{background:#080604}body{margin:0;color:var(--text);font-family:Arial,Helvetica,sans-serif;background:
linear-gradient(rgba(10,6,3,.14),rgba(10,6,3,.14)),
url('/assets/images/background.jpg') center top/cover fixed no-repeat #0b0704;min-height:100vh}
a{text-decoration:none;color:inherit}.wrap{max-width:var(--wrap);margin:auto;padding:0 18px}
.top{position:sticky;top:0;z-index:50;background:rgba(18,10,6,.92);border-bottom:1px solid #7b4e1c;backdrop-filter:none}
.nav{min-height:84px;display:flex;align-items:center;gap:20px}.logo{width:250px;flex:0 0 250px}.logo img{width:100%;height:62px;object-fit:contain;object-position:left}
.nav nav{display:flex;justify-content:center;gap:3px;flex:1}.nav nav a{padding:12px 10px;color:#ddc7a8;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}.nav nav a:hover{color:#fff2d0;background:rgba(202,151,74,.08)}
.nav-actions{display:flex;gap:8px}.nav-btn,.play{min-height:42px;padding:0 15px;border:1px solid #66411d;display:inline-flex;align-items:center;border-radius:4px;text-transform:uppercase;font-size:10px;font-weight:800;background:#140c08}.play{background:linear-gradient(#8f1c11,#5b0e08);border-color:#b04d24}.mobile{display:none;margin-left:auto;background:#1b100a;border:1px solid #68451e;color:#e9c987;border-radius:4px;width:42px;height:42px}
.page{max-width:1480px;margin:auto;padding:8px 18px 28px}
.hero-layout{display:grid;grid-template-columns:275px minmax(0,1fr) 260px;gap:10px;align-items:start;padding-top:405px}
.leftcol,.rightcol{display:grid;gap:10px}
.panel{border:1px solid #775022;background:linear-gradient(180deg,rgba(31,18,10,.96),rgba(18,10,6,.96));box-shadow:0 6px 22px rgba(0,0,0,.25)}
.panel-title{padding:13px 14px;border-bottom:1px solid #63421f;color:#f1d5a4;font-family:Georgia,serif;font-size:16px;text-transform:uppercase;letter-spacing:.5px}
.login-panel{padding:12px}.login-panel input{width:100%;height:47px;margin-bottom:9px;border:1px solid #6c481f;background:#1b100a;color:#f6e3c6;padding:0 12px;font-size:14px}.login-panel button{width:100%;height:46px;background:linear-gradient(#982010,#651008);border:1px solid #b35d2a;color:#fff0d4;font-weight:800;text-transform:uppercase}.login-help{display:flex;justify-content:space-between;font-size:10px;color:#d8b787;margin:0 0 10px}.captcha{height:72px;margin:10px 0 14px;border:1px solid #76542c;border-radius:8px;background:#353535;display:flex;align-items:center;gap:12px;padding:0 14px;color:white;font-size:11px}.captcha-box{width:40px;height:40px;border-radius:6px;background:#eee1c9}
.conquerors{padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.champ{border:1px solid #865722;border-radius:8px;background:#130b07;text-align:center;padding:7px}.champ img{width:100%;height:105px;object-fit:cover;border-radius:5px}.medal{width:38px;height:38px;margin:-19px auto 3px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#b58337,#61401d);border:2px solid #d6ae69;font-weight:bold}.champ strong{font-size:11px}.champ small{display:block;color:#a98968;margin-top:4px;font-size:9px}
.center{display:grid;gap:10px}.hero-center{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;text-shadow:0 2px 8px #000}.kicker{color:#e7b65e;font-weight:800;letter-spacing:1.4px;font-size:10px}.hero-center h1{font:700 68px/.9 Georgia,serif;margin:10px 0 0;color:#f7e5c5}.hero-center h1 span{color:#d83b22}.tagline{font:14px Georgia,serif;color:#e7ba6b;letter-spacing:4px;margin-top:7px}.hero-center p{max-width:580px;font-size:12px;line-height:1.65}.hero-actions{display:flex;gap:12px;margin-top:14px}.hero-actions a{min-width:170px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid #7e4d1d;background:#160d08;font-weight:800;font-size:11px;text-transform:uppercase}.hero-actions .primary{background:linear-gradient(#971f11,#650f08);border-color:#bb5424}
.promos{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.promo{border:1px solid #865721;background:#26150c;overflow:hidden}.promo img{width:100%;height:155px;object-fit:cover}.promo-body{padding:13px}.promo h3{margin:0;color:#f2d8a9;font-family:Georgia,serif;font-size:17px}.promo p{font-size:10px;line-height:1.5;color:#ceb596}.promo a{display:inline-block;padding:8px 18px;border:1px solid #7b5223;background:#1a0f09;font-size:9px;font-weight:800;text-transform:uppercase}
.news-tabs{display:flex;gap:6px;padding:10px;border:1px solid #70491f;background:#1a0f09}.news-tabs a{padding:10px 14px;border:1px solid #65421d;background:#180e08;font-size:9px;font-weight:800;text-transform:uppercase}
.news{border:1px solid #71491e;background:rgba(18,10,6,.95);padding:12px}.news-cat{display:flex;gap:7px;margin-bottom:10px}.news-cat span{padding:8px 12px;border:1px solid #6d471e;background:#23130a;font-size:9px;font-weight:800}.news-item{display:grid;grid-template-columns:76px 1fr auto;gap:12px;align-items:center;padding:9px;border-top:1px solid #543718}.news-item img{width:76px;height:50px;object-fit:cover}.news-item strong{color:#edc36f;font-size:12px}.news-item p{margin:5px 0 0;color:#b69d7c;font-size:9px}.news-item time{color:#b79771;font-size:9px}
.status{padding:12px}.online{text-align:center;color:var(--green);font:700 22px Georgia,serif;margin:6px 0 14px}.status-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:11px 3px;border-top:1px solid #513619;font-size:10px}.status-row span{color:#bda483}.status-row strong{font-size:13px}.status-btn{display:block;margin-top:12px;border:1px solid #765022;text-align:center;padding:11px;font-size:9px;font-weight:800;text-transform:uppercase}
.social a{display:flex;justify-content:space-between;padding:11px 12px;border-top:1px solid #543719;font-size:10px}.guild-table{width:100%;border-collapse:collapse}.guild-table th,.guild-table td{padding:8px;border-top:1px solid #503518;text-align:left;font-size:9px}.guild-table th{color:#9d805f;text-transform:uppercase;font-size:8px}
.feature-strip{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid #6d471e;background:rgba(18,10,6,.96);margin-top:10px}.feature{padding:18px;border-right:1px solid #543719;display:flex;gap:12px;align-items:center}.feature:last-child{border:0}.feature i{font-style:normal;font-size:26px;color:#d6a24f}.feature strong{display:block;color:#efc979;font-family:Georgia,serif}.feature small{display:block;color:#9f8768;margin-top:4px;font-size:9px}
footer{background:rgba(12,7,4,.98);border-top:1px solid #6a431b}.footer-grid{display:grid;grid-template-columns:260px repeat(3,1fr);gap:28px;padding:30px 18px}.footer-logo{width:240px}.footer-grid h4{font-family:Georgia,serif;color:#e1bc77;margin:0 0 10px}.footer-grid a{display:block;color:#9d8568;font-size:9px;margin:6px 0}.copy{text-align:center;padding:11px;border-top:1px solid #432c14;color:#6d5a47;font-size:8px}
@media(max-width:1150px){.nav nav{display:none;position:absolute;left:10px;right:10px;top:84px;flex-direction:column;background:#160d08;border:1px solid #6d471e}.nav nav.open{display:flex}.nav-actions{display:none}.mobile{display:block}.hero-layout{grid-template-columns:1fr;padding-top:300px}.leftcol,.rightcol{grid-template-columns:1fr 1fr}.center{grid-row:1}.promos{grid-template-columns:1fr 1fr 1fr}.feature-strip{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:700px){body{background-position:center top}.hero-layout{padding-top:235px}.leftcol,.rightcol,.promos,.feature-strip,.footer-grid{grid-template-columns:1fr}.hero-center h1{font-size:48px}.hero-actions{flex-direction:column;width:100%}.hero-actions a{width:100%}.news-item{grid-template-columns:60px 1fr}.news-item time{grid-column:2}.logo{width:205px;flex-basis:205px}}

/* =========================================================
   HALL OF CONQUERORS — PROFESSIONAL UPGRADE
   ========================================================= */
.leftcol .panel:nth-child(2){
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 10%,rgba(193,127,38,.13),transparent 36%),
    linear-gradient(180deg,rgba(30,17,9,.98),rgba(13,8,5,.985));
}
.leftcol .panel:nth-child(2):before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border:1px solid rgba(244,192,94,.08);
  box-shadow:inset 0 0 35px rgba(216,145,44,.025);
}
.conquerors{
  padding:17px 13px 12px !important;
  gap:9px !important;
  align-items:end;
}
.champ{
  position:relative;
  min-height:210px;
  padding:31px 7px 10px !important;
  border:1px solid rgba(203,137,44,.72) !important;
  border-radius:10px !important;
  background:
    linear-gradient(180deg,rgba(38,21,10,.98),rgba(13,8,5,.98)) !important;
  box-shadow:
    inset 0 0 20px rgba(221,151,52,.04),
    0 8px 17px rgba(0,0,0,.24);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.champ:hover{
  transform:translateY(-4px);
  border-color:#e0a74d !important;
  box-shadow:
    inset 0 0 25px rgba(221,151,52,.08),
    0 12px 24px rgba(0,0,0,.35);
}
.champ:nth-child(1){
  min-height:228px;
  border-color:#e2ae56 !important;
  background:
    radial-gradient(circle at 50% 22%,rgba(218,156,62,.12),transparent 45%),
    linear-gradient(180deg,#2a180b,#0d0805) !important;
}
.champ img{
  width:100% !important;
  height:112px !important;
  object-fit:cover !important;
  object-position:center top !important;
  border-radius:7px !important;
  border:1px solid rgba(230,167,77,.24);
  background:#090604;
}
.champ .medal{
  position:absolute;
  z-index:3;
  left:50%;
  top:-17px;
  transform:translateX(-50%);
  width:48px !important;
  height:48px !important;
  margin:0 !important;
  border:2px solid #efc16d !important;
  box-shadow:0 5px 14px rgba(0,0,0,.45),inset 0 0 12px rgba(255,255,255,.06);
  font-family:Georgia,serif;
  font-size:18px;
  color:#fff1cf;
}
.champ:nth-child(2) .medal{
  background:linear-gradient(#918b81,#4e4b48) !important;
  border-color:#c8c2b8 !important;
}
.champ:nth-child(3) .medal{
  background:linear-gradient(#a96838,#5a311b) !important;
  border-color:#d78b51 !important;
}
.champ strong{
  display:block;
  margin-top:8px;
  min-height:28px;
  color:#f5e4c5;
  font-family:Georgia,serif;
  font-size:12px !important;
  line-height:1.15;
  word-break:break-word;
}
.champ small{
  display:block !important;
  margin-top:7px !important;
  padding-top:7px;
  border-top:1px solid rgba(204,137,44,.16);
  color:#d6a95e !important;
  font-size:8px !important;
}
.hall-rank-label{
  display:block;
  color:#8d7252;
  font-size:7px;
  text-transform:uppercase;
  letter-spacing:.7px;
  margin:5px 0 0;
}
.hall-empty{
  color:#80694e;
  font-size:8px;
}

/* Inner content pages */
.content-hero{
  padding:48px 0 24px;
  text-align:center;
}
.content-hero h1{
  margin:0;
  color:#f1d6a4;
  font:34px Georgia,serif;
  text-transform:uppercase;
}
.content-hero p{
  max-width:700px;
  margin:9px auto 0;
  color:#a98d6a;
  font-size:10px;
  line-height:1.6;
}
.content-shell{
  max-width:1120px;
  margin:0 auto 35px;
}
.content-card{
  border:1px solid #70491f;
  background:linear-gradient(180deg,rgba(27,15,8,.97),rgba(12,7,4,.98));
  margin-bottom:10px;
  padding:17px;
}
.content-card h2{
  margin:0 0 8px;
  color:#edc779;
  font:20px Georgia,serif;
}
.content-card p{
  margin:0;
  color:#bba181;
  font-size:10px;
  line-height:1.75;
}
.content-meta{
  margin-top:10px;
  color:#856d50;
  font-size:8px;
  text-transform:uppercase;
}

/* ==========================================================
   UNIQUE PROMO CARDS + REAL HALL OF CONQUERORS
   ========================================================== */
.promos .promo{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(218,150,52,.78);
  background:linear-gradient(180deg,#27150b,#140b07);
  box-shadow:0 10px 28px rgba(0,0,0,.30);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.promos .promo:hover{
  transform:translateY(-5px);
  border-color:#efb45c;
  box-shadow:0 17px 36px rgba(0,0,0,.42);
}
.promos .promo img{
  height:178px;
  object-fit:cover;
  object-position:center;
  border-bottom:1px solid rgba(215,147,50,.34);
}
.promos .promo:after{
  content:"";
  pointer-events:none;
  position:absolute;
  inset:0;
  box-shadow:inset 0 0 28px rgba(225,154,54,.035);
}
.promos .promo-body{
  position:relative;
  min-height:132px;
  background:
    radial-gradient(circle at 20% 0%,rgba(196,125,41,.10),transparent 40%),
    linear-gradient(180deg,rgba(47,25,12,.97),rgba(29,15,8,.99));
}
.promos .promo h3{
  font-size:20px;
  color:#f3d49c;
  text-shadow:0 1px 2px #000;
}
.promos .promo p{
  color:#d5b993;
  min-height:31px;
}
.promos .promo a{
  border-color:#925f25;
  color:#f2d19a;
  background:linear-gradient(#25150b,#130b07);
}
.hall-class{
  display:block;
  margin-top:5px;
  color:#e5bd77;
  font-size:8px;
  font-weight:900;
  letter-spacing:.9px;
  text-transform:uppercase;
}
.changelog-cover{
  min-height:250px;
  display:flex;
  flex-direction:column;
  justify-content:end;
  padding-bottom:34px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.14),rgba(10,6,3,.75)),
    url('/assets/images/changelog-hero.webp') center/cover no-repeat;
  border:1px solid rgba(203,137,44,.25);
  margin-top:22px;
}
.changelog-cover h1,
.changelog-cover p{
  text-shadow:0 3px 9px #000;
}

/* ==========================================================
   HALL OF CONQUERORS — PREMIUM PODIUM V2
   ========================================================== */
.hall-podium{
  display:grid !important;
  grid-template-columns:1fr 1.16fr 1fr !important;
  gap:8px !important;
  align-items:end !important;
  padding:28px 10px 15px !important;
}
.hall-podium .podium-place{
  min-width:0;
  min-height:178px !important;
  padding:12px 7px 11px !important;
  border-radius:10px !important;
  position:relative;
  text-align:center;
  background:
    radial-gradient(circle at 50% 0%,rgba(197,132,42,.14),transparent 42%),
    linear-gradient(180deg,#24140a 0%,#100906 100%) !important;
  border:1px solid #785020 !important;
  box-shadow:inset 0 0 20px rgba(255,188,81,.025),0 8px 18px rgba(0,0,0,.3);
}
.hall-podium .podium-1{
  min-height:207px !important;
  padding-top:15px !important;
  border-color:#d79b3c !important;
  background:
    radial-gradient(circle at 50% 0%,rgba(236,171,65,.23),transparent 45%),
    linear-gradient(180deg,#34200d,#120a06) !important;
  box-shadow:inset 0 0 25px rgba(255,191,74,.06),0 10px 24px rgba(0,0,0,.42);
}
.hall-podium .podium-medal{
  position:absolute;
  top:-22px;
  left:50%;
  transform:translateX(-50%);
  z-index:5;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font:bold 17px Georgia,serif;
  color:#fff3d1;
  border:2px solid #c38b3d;
  background:linear-gradient(145deg,#a66b25,#573313);
  box-shadow:0 5px 13px #000;
}
.hall-podium .podium-1 .podium-medal{
  width:50px;
  height:50px;
  top:-27px;
  font-size:20px;
  color:#fff4c8;
  border-color:#f1c46c;
  background:linear-gradient(145deg,#d79a37,#7a4717);
}
.hall-podium .podium-2 .podium-medal{
  border-color:#d5d0c5;
  background:linear-gradient(145deg,#aaa69d,#57534e);
}
.hall-podium .podium-3 .podium-medal{
  border-color:#d88d56;
  background:linear-gradient(145deg,#ad673b,#63341e);
}
.podium-portrait{
  position:relative;
  width:100%;
  height:92px;
  overflow:hidden;
  border-radius:7px;
  border:1px solid rgba(211,147,54,.34);
  background:#090604;
}
.podium-1 .podium-portrait{height:112px}
.podium-portrait img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center top !important;
  border:0 !important;
  border-radius:0 !important;
}
.podium-place-tag{
  position:absolute;
  left:5px;
  bottom:5px;
  padding:2px 5px;
  border:1px solid rgba(232,174,79,.5);
  background:rgba(8,5,3,.84);
  color:#eec779;
  font-size:7px;
  font-weight:900;
}
.podium-name{
  display:block !important;
  min-height:0 !important;
  margin:9px 0 0 !important;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#f7e4bd !important;
  font:700 11px Georgia,serif !important;
}
.podium-1 .podium-name{
  color:#ffd982 !important;
  font-size:13px !important;
}
.podium-class{
  display:block;
  margin-top:4px;
  color:#b58b53;
  font-size:7px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.7px;
}
.podium-level{
  display:inline-block;
  margin-top:7px;
  padding:3px 7px;
  border:1px solid rgba(197,132,42,.25);
  border-radius:12px;
  color:#e6bd77;
  background:rgba(0,0,0,.24);
  font-size:7px;
  font-weight:900;
}
.podium-empty{
  opacity:.72;
}
.podium-empty .podium-name{
  white-space:normal;
  font-size:9px !important;
}
@media(max-width:1100px){
  .hall-podium{gap:6px !important;padding-left:7px !important;padding-right:7px !important}
  .podium-portrait{height:82px}
  .podium-1 .podium-portrait{height:98px}
}

/* FINAL CENTERED HALL + LANGUAGE SELECTOR */
.hall-panel{text-align:center}
.hall-panel .panel-title{text-align:center}
.hall-podium{
  width:100% !important;
  display:grid !important;
  grid-template-columns:repeat(3,78px) !important;
  justify-content:center !important;
  justify-items:center !important;
  align-items:end !important;
  column-gap:8px !important;
  padding:30px 8px 16px !important;
}
.hall-podium .podium-place{
  width:78px !important;
  max-width:78px !important;
  margin:0 !important;
}
.hall-podium .podium-1{width:86px !important;max-width:86px !important}
.hall-full-btn{
  width:calc(100% - 24px) !important;
  margin:0 12px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.lang-switcher{display:flex;gap:4px;padding:3px;border:1px solid #65411c;border-radius:5px;background:#130b07}
.lang-switcher a{width:34px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;color:#9e8568;font-size:8px;font-weight:900}
.lang-switcher a.active{background:linear-gradient(#7b4d1b,#3a210e);color:#ffe2a7}
@media(max-width:1150px){.lang-switcher{margin-left:auto}}
@media(max-width:700px){.hall-podium{grid-template-columns:repeat(3,72px)!important}.hall-podium .podium-place{width:72px!important;max-width:72px!important}.hall-podium .podium-1{width:78px!important;max-width:78px!important}}

/* ==========================================================
   PERFORMANCE OPTIMIZATION + HALL OF CONQUERORS FIX
   ========================================================== */

/* Performance: avoid expensive fixed background repainting */
body{
  background-attachment:scroll !important;
  background-position:center top !important;
}

/* Reduce costly GPU effects while scrolling */
.top,
.server-status,
.real-stats,
.dashboard-card,
.panel,
.promos .promo{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Keep shadows lighter to reduce repaint cost */
.panel,
.dashboard-card,
.promos .promo,
.server-status{
  box-shadow:0 4px 12px rgba(0,0,0,.22) !important;
}

/* Prevent layout jank */
img{
  content-visibility:auto;
}

/* ==========================================================
   HALL OF CONQUERORS — FIXED 3 CARD PODIUM
   ========================================================== */
.hall-panel{
  overflow:hidden !important;
  text-align:center !important;
}

.hall-panel .panel-title{
  text-align:center !important;
  padding-left:8px !important;
  padding-right:8px !important;
}

.hall-podium{
  display:grid !important;
  grid-template-columns:repeat(3, 1fr) !important;
  gap:10px !important;
  align-items:end !important;
  justify-items:stretch !important;
  width:100% !important;
  padding:28px 10px 16px !important;
  margin:0 !important;
}

.hall-podium .podium-place{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:30px 6px 12px !important;
  min-height:255px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  position:relative !important;
  overflow:visible !important;
  border-radius:10px !important;
}

/* #1 slightly emphasized, but not oversized */
.hall-podium .podium-1{
  min-height:270px !important;
  transform:translateY(-8px);
}

/* medals centered exactly */
.hall-podium .podium-medal{
  position:absolute !important;
  top:-21px !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  margin:0 !important;
  z-index:5 !important;
}

.hall-podium .podium-1 .podium-medal{
  top:-25px !important;
}

/* portrait sizing */
.podium-portrait{
  width:100% !important;
  height:118px !important;
  margin:0 auto !important;
  overflow:hidden !important;
  border-radius:7px !important;
}

.podium-1 .podium-portrait{
  height:128px !important;
}

.podium-portrait img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center top !important;
  display:block !important;
}

/* remove duplicate visual badges from the source image */
.podium-place-tag{
  position:absolute !important;
  left:6px !important;
  bottom:6px !important;
  font-size:7px !important;
}

/* clean text layout */
.podium-name{
  width:100% !important;
  margin-top:9px !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  font-size:11px !important;
  line-height:1.2 !important;
}

.podium-1 .podium-name{
  font-size:12px !important;
}

.podium-class{
  display:block !important;
  margin-top:5px !important;
  font-size:7px !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  width:100% !important;
}

.podium-level{
  margin-top:auto !important;
  padding-top:8px !important;
  font-size:8px !important;
}

/* if DB is offline, keep card clean instead of huge text blocks */
.podium-empty .podium-name{
  white-space:normal !important;
  font-size:9px !important;
  line-height:1.2 !important;
  min-height:22px !important;
}

.podium-empty .podium-class{
  white-space:normal !important;
  font-size:6.5px !important;
  line-height:1.2 !important;
  min-height:18px !important;
}

/* ranking button centered */
.hall-full-btn{
  width:calc(100% - 20px) !important;
  margin:0 10px 14px !important;
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Responsive hall */
@media(max-width:1150px){
  .hall-podium{
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:8px !important;
  }
  .hall-podium .podium-place{
    min-height:235px !important;
  }
  .podium-portrait{
    height:105px !important;
  }
}

@media(max-width:700px){
  .hall-podium{
    grid-template-columns:1fr !important;
    max-width:230px !important;
    margin:0 auto !important;
  }
  .hall-podium .podium-place,
  .hall-podium .podium-1{
    width:100% !important;
    min-height:220px !important;
    transform:none !important;
  }
  .podium-portrait,
  .podium-1 .podium-portrait{
    height:145px !important;
  }
}

/* ==========================================================
   FINAL LOGO + HALL OF CONQUERORS REDESIGN
   ========================================================== */

/* Clean professional logo */
.logo{
  width:250px !important;
  flex:0 0 250px !important;
  overflow:visible !important;
}
.logo img{
  width:235px !important;
  height:58px !important;
  object-fit:contain !important;
  object-position:left center !important;
  display:block !important;
}
.footer-logo{
  width:220px !important;
  height:auto !important;
  object-fit:contain !important;
}

/* Hall panel */
.hall-panel{
  overflow:hidden !important;
  background:
    radial-gradient(circle at 50% 0%,rgba(207,142,44,.10),transparent 42%),
    linear-gradient(180deg,rgba(31,17,9,.98),rgba(13,8,5,.99)) !important;
}
.hall-panel .panel-title{
  text-align:left !important;
  padding:14px 16px !important;
  letter-spacing:.35px;
}
.hall-list{
  display:grid;
  gap:8px;
  padding:12px;
}
.hall-row{
  min-height:76px;
  display:grid;
  grid-template-columns:42px 58px minmax(0,1fr) 22px;
  gap:9px;
  align-items:center;
  padding:8px;
  border:1px solid rgba(182,119,39,.45);
  border-radius:8px;
  background:
    linear-gradient(90deg,rgba(49,27,12,.92),rgba(17,10,6,.98));
  box-shadow:inset 0 0 18px rgba(240,171,66,.025);
}
.hall-row-1{
  min-height:84px;
  border-color:#d79b3c;
  background:
    radial-gradient(circle at 15% 50%,rgba(225,158,53,.14),transparent 34%),
    linear-gradient(90deg,#38210e,#140b07);
}
.hall-rank-badge{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font:700 17px Georgia,serif;
  color:#fff0ca;
  border:2px solid #c1893d;
  background:linear-gradient(145deg,#986227,#4a2a12);
  box-shadow:0 3px 9px rgba(0,0,0,.4);
}
.hall-row-1 .hall-rank-badge{
  width:42px;
  height:42px;
  border-color:#efc36c;
  background:linear-gradient(145deg,#d39535,#7b4817);
}
.hall-row-2 .hall-rank-badge{
  border-color:#cfc9bd;
  background:linear-gradient(145deg,#9d9991,#56524d);
}
.hall-row-3 .hall-rank-badge{
  border-color:#d88a54;
  background:linear-gradient(145deg,#a86139,#5d321e);
}
.hall-avatar{
  width:58px;
  height:58px;
  border-radius:7px;
  overflow:hidden;
  border:1px solid rgba(220,151,51,.35);
  background:#090604;
}
.hall-row-1 .hall-avatar{
  width:64px;
  height:64px;
}
.hall-avatar img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
.hall-info{
  min-width:0;
  text-align:left;
}
.hall-info strong{
  display:block;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  color:#f4dfb8;
  font:700 12px Georgia,serif;
}
.hall-row-1 .hall-info strong{
  color:#ffd780;
  font-size:13px;
}
.hall-info span{
  display:block;
  margin-top:3px;
  color:#b78f5b;
  font-size:7px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.5px;
}
.hall-info small{
  display:block;
  margin-top:4px;
  color:#d0b17d;
  font-size:8px;
}
.hall-crown{
  color:#d69a3e;
  font-size:16px;
  text-align:center;
}
.hall-full-btn{
  width:calc(100% - 24px) !important;
  margin:0 12px 14px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:44px !important;
}

/* Scroll performance */
html{scroll-behavior:auto !important}
body{
  background-attachment:scroll !important;
}
.top{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
.panel,.promo,.server-status,.real-stats{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Avoid layout repaint from oversized shadows */
.panel,.promo,.server-status{
  box-shadow:0 3px 10px rgba(0,0,0,.20) !important;
}

@media(max-width:1150px){
  .logo{width:220px !important;flex-basis:220px !important}
  .logo img{width:205px !important}
}
@media(max-width:700px){
  .hall-row{
    grid-template-columns:38px 52px minmax(0,1fr) 18px;
  }
  .hall-avatar,.hall-row-1 .hall-avatar{
    width:52px;
    height:52px;
  }
}

/* ==========================================================
   USER-UPLOADED IMAGE PACK — FINAL PRESENTATION
   ========================================================== */
.promos .promo img{
  width:100% !important;
  height:190px !important;
  object-fit:cover !important;
  object-position:center !important;
  display:block !important;
}
.news-item img{
  width:90px !important;
  height:58px !important;
  object-fit:cover !important;
  object-position:center !important;
  border:1px solid rgba(210,145,48,.28);
}
.event-grid-pro{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.event-card-pro{
  overflow:hidden;
  border:1px solid #70491f;
  background:linear-gradient(180deg,rgba(29,16,8,.98),rgba(13,8,5,.99));
  box-shadow:0 5px 16px rgba(0,0,0,.24);
}
.event-card-pro img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:center;
  display:block;
  border-bottom:1px solid rgba(208,142,45,.24);
}
.event-card-pro div{
  padding:16px;
}
.event-card-pro h2{
  margin:0 0 8px;
  color:#efca83;
  font:20px Georgia,serif;
}
.event-card-pro p{
  margin:0;
  color:#b89e7c;
  font-size:10px;
  line-height:1.7;
}
@media(max-width:760px){
  .event-grid-pro{grid-template-columns:1fr}
}


/* ==========================================================
   BACKGROUND RESTORE + CLEAR NEWS IMAGES
   Keeps the original background visible and avoids the dark veil.
   Uses a separate fixed layer instead of background-attachment:fixed
   on body, which is smoother while scrolling.
   ========================================================== */
html{
  background:#090604 !important;
}
body{
  position:relative;
  isolation:isolate;
  background:#090604 !important;
}
body::before{
  content:"";
  position:fixed;
  z-index:-2;
  inset:0;
  width:100%;
  height:100%;
  background-image:url('/assets/images/background.jpg');
  background-repeat:no-repeat;
  background-position:center top;
  background-size:cover;
  opacity:1;
  pointer-events:none;
  transform:translateZ(0);
  will-change:transform;
}
body::after{
  content:"";
  position:fixed;
  z-index:-1;
  inset:0;
  pointer-events:none;
  background:linear-gradient(
    90deg,
    rgba(6,4,2,.10) 0%,
    rgba(6,4,2,.02) 18%,
    rgba(6,4,2,.02) 82%,
    rgba(6,4,2,.10) 100%
  );
}

/* Homepage news panel: lighter/translucent so the original artwork remains visible. */
.news{
  background:rgba(16,9,5,.82) !important;
}
.news-tabs{
  background:rgba(20,11,6,.86) !important;
}

/* Bigger, cleaner thumbnails. */
.news-item{
  grid-template-columns:112px minmax(0,1fr) auto !important;
  min-height:92px;
  padding:10px 12px !important;
}
.news-item img{
  width:112px !important;
  height:72px !important;
  object-fit:cover !important;
  object-position:center !important;
  border:1px solid #8a5a25 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.32);
  background:#0b0704;
}
.news-item strong{
  font-size:13px !important;
}
.news-item p{
  font-size:9.5px !important;
  line-height:1.5;
}
@media(max-width:700px){
  body::before{
    background-position:center top;
  }
  .news-item{
    grid-template-columns:88px minmax(0,1fr) !important;
  }
  .news-item img{
    width:88px !important;
    height:60px !important;
  }
  .news-item time{
    grid-column:2 !important;
  }
}

/* ==========================================================
   ORYON2 NEW TRANSPARENT LOGO
   ========================================================== */
.logo{
  width:300px !important;
  flex:0 0 300px !important;
  display:flex !important;
  align-items:center !important;
  overflow:visible !important;
}
.logo img{
  width:285px !important;
  height:auto !important;
  max-height:72px !important;
  object-fit:contain !important;
  object-position:left center !important;
  display:block !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.footer-logo{
  width:270px !important;
  height:auto !important;
  object-fit:contain !important;
  background:transparent !important;
  border:0 !important;
}
@media(max-width:1150px){
  .logo{
    width:245px !important;
    flex-basis:245px !important;
  }
  .logo img{
    width:230px !important;
    max-height:64px !important;
  }
}
@media(max-width:700px){
  .logo{
    width:205px !important;
    flex-basis:205px !important;
  }
  .logo img{
    width:195px !important;
    max-height:56px !important;
  }
}


/* =========================================================
   DevClouden / Oryon2 Premium Server Status
   Green when online / red when offline
   ========================================================= */
.server-state-wrap{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:10px 0 18px;
}

.server-state{
    position:relative;
    isolation:isolate;
    min-width:190px;
    height:48px;
    padding:0 24px 0 18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    overflow:hidden;
    border-radius:10px;
    border:1px solid rgba(255,255,255,.13);
    font-family:Georgia,"Times New Roman",serif;
    font-size:20px;
    font-weight:800;
    letter-spacing:1.8px;
    text-transform:uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.10),
        inset 0 -1px 0 rgba(0,0,0,.30),
        0 8px 22px rgba(0,0,0,.35);
    transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.server-state::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-2;
    background:
        linear-gradient(135deg,rgba(255,255,255,.10),transparent 30%),
        linear-gradient(180deg,rgba(255,255,255,.045),rgba(0,0,0,.15));
}

.server-state::after{
    content:"";
    position:absolute;
    top:-70%;
    left:-35%;
    width:38%;
    height:240%;
    z-index:-1;
    transform:rotate(24deg);
    background:linear-gradient(90deg,transparent,rgba(255,255,255,.20),transparent);
    animation:serverStatusShine 4.4s ease-in-out infinite;
}

.server-state:hover{
    transform:translateY(-1px);
    filter:brightness(1.06);
}

.server-state-icon{
    width:21px;
    height:21px;
    display:grid;
    place-items:center;
    border-radius:50%;
    position:relative;
    flex:0 0 auto;
}

.server-state-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    display:block;
    position:relative;
    z-index:2;
}

.server-state-pulse{
    position:absolute;
    left:23px;
    top:50%;
    width:22px;
    height:22px;
    margin-top:-11px;
    border-radius:50%;
    opacity:.35;
    animation:serverStatusPulse 1.9s ease-out infinite;
    pointer-events:none;
}

.server-state-text{
    position:relative;
    z-index:2;
    line-height:1;
    text-shadow:0 2px 8px rgba(0,0,0,.45);
}

/* ONLINE */
.server-state.is-online{
    color:#f4fff7;
    border-color:rgba(66,231,122,.58);
    background:
        radial-gradient(circle at 18% 50%,rgba(82,255,143,.20),transparent 28%),
        linear-gradient(180deg,#176a39 0%,#0c4b29 52%,#08371e 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.14),
        inset 0 -1px 0 rgba(0,0,0,.28),
        0 0 0 1px rgba(43,219,105,.07),
        0 8px 24px rgba(0,0,0,.38),
        0 0 22px rgba(39,213,101,.18);
}

.server-state.is-online .server-state-icon{
    background:rgba(56,255,126,.12);
    box-shadow:inset 0 0 0 1px rgba(126,255,171,.16);
}

.server-state.is-online .server-state-dot{
    background:#53ef89;
    box-shadow:0 0 7px #48ed80,0 0 15px rgba(72,237,128,.70);
}

.server-state.is-online .server-state-pulse{
    background:#47e77b;
}

/* OFFLINE */
.server-state.is-offline{
    color:#fff5f3;
    border-color:rgba(255,83,68,.58);
    background:
        radial-gradient(circle at 18% 50%,rgba(255,84,70,.20),transparent 28%),
        linear-gradient(180deg,#77271f 0%,#541914 52%,#3c100d 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 -1px 0 rgba(0,0,0,.30),
        0 0 0 1px rgba(255,71,56,.07),
        0 8px 24px rgba(0,0,0,.38),
        0 0 22px rgba(225,55,43,.16);
}

.server-state.is-offline .server-state-icon{
    background:rgba(255,83,67,.12);
    box-shadow:inset 0 0 0 1px rgba(255,143,134,.15);
}

.server-state.is-offline .server-state-dot{
    background:#ff5b4f;
    box-shadow:0 0 7px #ff4e42,0 0 15px rgba(255,78,66,.65);
}

.server-state.is-offline .server-state-pulse{
    background:#ff5548;
}

/* Keeps animation subtle and premium */
@keyframes serverStatusPulse{
    0%{transform:scale(.55);opacity:.44}
    72%{transform:scale(1.65);opacity:0}
    100%{transform:scale(1.65);opacity:0}
}

@keyframes serverStatusShine{
    0%,55%{left:-45%;opacity:0}
    65%{opacity:.65}
    82%{left:125%;opacity:0}
    100%{left:125%;opacity:0}
}

@media (prefers-reduced-motion:reduce){
    .server-state::after,
    .server-state-pulse{
        animation:none;
    }
}

@media (max-width:480px){
    .server-state{
        min-width:170px;
        height:44px;
        font-size:18px;
        padding:0 20px 0 16px;
    }
}


/* =========================================================
   Oryon2 Premium CAPTCHA / Human Verification
   ========================================================= */
.auth-panel{
    max-width:650px;
    margin:auto;
}
.auth-panel-register{
    max-width:760px;
}
.auth-message{
    margin-bottom:14px;
    padding:11px 13px;
    border:1px solid rgba(210,150,70,.30);
    border-radius:6px;
    background:rgba(75,36,13,.30);
    color:#ead1aa;
}
.captcha-box{
    margin:7px 0 15px;
    padding:14px;
    border:1px solid rgba(156,101,42,.55);
    border-radius:8px;
    background:
        linear-gradient(180deg,rgba(38,19,10,.94),rgba(19,10,6,.94)),
        radial-gradient(circle at 15% 0,rgba(211,152,76,.08),transparent 35%);
    box-shadow:
        inset 0 1px 0 rgba(255,228,181,.04),
        0 8px 20px rgba(0,0,0,.18);
}
.captcha-head{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    color:#e7c892;
}
.captcha-head strong{
    display:block;
    font-family:Georgia,"Times New Roman",serif;
    font-size:15px;
    letter-spacing:.8px;
    text-transform:uppercase;
}
.captcha-head small{
    display:block;
    margin-top:2px;
    font-size:11px;
    color:#b89a72;
}
.captcha-shield{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:50%;
    border:1px solid rgba(214,165,93,.45);
    background:radial-gradient(circle,#6d451e 0,#2d180b 70%);
    color:#f2d29a;
    box-shadow:0 0 14px rgba(207,144,64,.12);
    font-size:13px;
}
.captcha-image-row{
    display:flex;
    align-items:stretch;
    gap:9px;
    margin-bottom:10px;
}
.captcha-image{
    display:block;
    width:220px;
    max-width:calc(100% - 52px);
    height:70px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid rgba(150,94,37,.45);
    background:#170d08;
    user-select:none;
}
.captcha-refresh{
    width:44px !important;
    min-width:44px !important;
    padding:0 !important;
    margin:0 !important;
    display:grid !important;
    place-items:center;
    border-radius:8px !important;
    border:1px solid rgba(198,139,67,.55) !important;
    background:linear-gradient(180deg,#4c2a11,#2a160b) !important;
    color:#f0ce95 !important;
    font-size:26px !important;
    line-height:1 !important;
    cursor:pointer;
    transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.captcha-refresh:hover{
    transform:rotate(18deg);
    filter:brightness(1.12);
    box-shadow:0 0 16px rgba(218,155,76,.15);
}
.login-panel input.captcha-input{
    text-transform:uppercase;
    letter-spacing:4px;
    text-align:center;
    font-weight:700;
    font-family:Georgia,"Times New Roman",serif;
    color:#f3d7a4;
}
.captcha-honeypot{
    position:absolute !important;
    left:-10000px !important;
    top:auto !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}
@media(max-width:520px){
    .captcha-image{
        height:64px;
    }
    .captcha-box{
        padding:12px;
    }
}


/* =========================================================
   Oryon2 Premium Cookie Consent
   ========================================================= */
.cookie-banner[hidden],
.cookie-modal[hidden]{display:none!important}

.cookie-banner{
    position:fixed;
    left:20px;
    right:20px;
    bottom:18px;
    z-index:9998;
}
.cookie-banner-inner{
    max-width:1180px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:18px 20px;
    border:1px solid rgba(183,119,48,.65);
    border-radius:10px;
    background:
        radial-gradient(circle at 12% 0,rgba(218,155,76,.10),transparent 35%),
        linear-gradient(180deg,rgba(34,17,9,.98),rgba(16,8,5,.98));
    box-shadow:0 18px 50px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,230,188,.04);
    backdrop-filter:blur(12px);
}
.cookie-copy{min-width:0}
.cookie-title{
    color:#f0cf98;
    font-family:Georgia,"Times New Roman",serif;
    font-size:18px;
    font-weight:700;
    letter-spacing:.5px;
}
.cookie-copy p,
.cookie-modal-card p{
    margin:6px 0 8px;
    color:#c8ad88;
    font-size:13px;
    line-height:1.55;
}
.cookie-link,
.cookie-inline-link{
    color:#e1b974;
    text-decoration:none;
}
.cookie-inline-link{
    border:0;
    padding:0;
    background:none;
    cursor:pointer;
    font:inherit;
}
.cookie-actions,
.cookie-modal-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.cookie-btn{
    min-height:40px;
    padding:0 15px;
    border-radius:6px;
    border:1px solid rgba(190,127,54,.55);
    font-weight:700;
    cursor:pointer;
    transition:transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.cookie-btn:hover{transform:translateY(-1px);filter:brightness(1.08)}
.cookie-btn-primary{
    color:#1a0d06;
    background:linear-gradient(180deg,#e1bb79,#b47a32);
    box-shadow:0 6px 18px rgba(185,120,48,.20);
}
.cookie-btn-secondary{
    color:#e9cca0;
    background:linear-gradient(180deg,#40220f,#281309);
}
.cookie-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:center;
    padding:18px;
}
.cookie-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(5px);
}
.cookie-modal-card{
    position:relative;
    width:min(620px,100%);
    max-height:90vh;
    overflow:auto;
    border:1px solid rgba(187,123,51,.70);
    border-radius:12px;
    background:linear-gradient(180deg,#241108,#120906);
    box-shadow:0 25px 70px rgba(0,0,0,.65);
    padding:20px;
}
.cookie-modal-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:16px;
    margin-bottom:10px;
}
.cookie-close{
    width:36px;
    height:36px;
    border-radius:50%;
    border:1px solid rgba(183,119,48,.45);
    background:#2b160b;
    color:#eccb96;
    font-size:24px;
    cursor:pointer;
}
.cookie-option{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:16px 0;
    border-top:1px solid rgba(132,80,32,.35);
}
.cookie-option strong{
    display:block;
    color:#e4c493;
    margin-bottom:4px;
}
.cookie-option span{
    color:#a98e6c;
    font-size:12px;
    line-height:1.45;
}
.cookie-switch{
    position:relative;
    width:50px;
    height:27px;
    flex:0 0 auto;
}
.cookie-switch input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.cookie-switch > span{
    position:absolute;
    inset:0;
    border-radius:999px;
    border:1px solid #70431e;
    background:#241209;
    cursor:pointer;
    transition:.2s ease;
}
.cookie-switch > span::after{
    content:"";
    position:absolute;
    width:19px;
    height:19px;
    left:3px;
    top:3px;
    border-radius:50%;
    background:#89623a;
    transition:.2s ease;
}
.cookie-switch input:checked + span{
    background:#5a3b16;
    border-color:#c28b41;
}
.cookie-switch input:checked + span::after{
    transform:translateX(23px);
    background:#efc77e;
}
.cookie-switch.is-locked{opacity:.72}
.cookie-switch.is-locked > span{cursor:not-allowed}
.cookie-modal-actions{
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid rgba(132,80,32,.35);
}
.cookie-modal-open{overflow:hidden}
.footer-cookie-settings{
    background:none;
    border:0;
    padding:0;
    color:inherit;
    cursor:pointer;
    font:inherit;
    opacity:.82;
}
.footer-cookie-settings:hover{opacity:1;color:#e0b76f}
.cookie-policy-text p{line-height:1.7}

@media(max-width:760px){
    .cookie-banner{left:10px;right:10px;bottom:10px}
    .cookie-banner-inner{
        flex-direction:column;
        align-items:stretch;
        gap:14px;
    }
    .cookie-actions{justify-content:stretch}
    .cookie-actions .cookie-btn{flex:1 1 140px}
}


/* =========================================================
   Oryon2 Secure Local CAPTCHA v2
   ========================================================= */
.captcha-v2{
    position:relative;
    overflow:hidden;
}
.captcha-v2::before{
    content:"";
    position:absolute;
    inset:-80% auto auto -20%;
    width:180px;
    height:180px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(214,165,93,.08),transparent 70%);
    pointer-events:none;
}
.captcha-local-badge{
    margin-left:auto;
    padding:4px 7px;
    border-radius:999px;
    border:1px solid rgba(214,165,93,.35);
    color:#d6b579;
    background:rgba(83,47,19,.38);
    font-size:9px;
    font-weight:800;
    letter-spacing:1px;
}
.captcha-note{
    margin-top:8px;
    color:#8f7758;
    font-size:10px;
    text-align:center;
    letter-spacing:.2px;
}
.login-panel .captcha-v2 .captcha-image{
    width:250px;
    max-width:calc(100% - 54px);
    height:76px;
}
.login-panel .captcha-v2 .captcha-input{
    height:46px;
    background:linear-gradient(180deg,#f4ead9,#e7dbc8);
    border-color:#a76a31;
    color:#231208;
    box-shadow:inset 0 1px 4px rgba(0,0,0,.12);
}
.login-panel .captcha-v2 .captcha-input::placeholder{
    color:#7d6549;
}


/* =========================================================
   Oryon2 Clickable "I'm not a robot" + Local CAPTCHA
   ========================================================= */
.human-check-card{
    margin:10px 0 14px;
    border:1px solid rgba(164,105,43,.62);
    border-radius:9px;
    background:
        radial-gradient(circle at 8% 0,rgba(224,159,72,.07),transparent 35%),
        linear-gradient(180deg,#2a160c,#160b06);
    box-shadow:inset 0 1px 0 rgba(255,229,191,.035),0 8px 24px rgba(0,0,0,.22);
    overflow:hidden;
}
.human-check-label{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:76px;
    padding:0 16px;
    cursor:pointer;
    user-select:none;
}
.human-check-label input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
.human-check-box{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:grid;
    place-items:center;
    border-radius:7px;
    border:2px solid #93602b;
    background:linear-gradient(180deg,#1b0e08,#0f0805);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
    transition:.18s ease;
}
.human-check-tick{
    opacity:0;
    transform:scale(.55);
    color:#fff8e9;
    font-size:22px;
    font-weight:900;
    transition:.18s ease;
}
.human-check-label input:focus-visible + .human-check-box{
    outline:2px solid #e2b36a;
    outline-offset:3px;
}
.human-check-label input:checked + .human-check-box{
    border-color:#4bd47c;
    background:linear-gradient(180deg,#23944e,#126831);
    box-shadow:0 0 18px rgba(53,218,111,.24),inset 0 1px 0 rgba(255,255,255,.15);
}
.human-check-label input:checked + .human-check-box .human-check-tick{
    opacity:1;
    transform:scale(1);
}
.human-check-copy{
    min-width:0;
    flex:1;
}
.human-check-copy strong{
    display:block;
    color:#f2e3cb;
    font-size:15px;
    font-weight:800;
}
.human-check-copy small{
    display:block;
    margin-top:3px;
    color:#a78a65;
    font-size:10px;
    letter-spacing:.5px;
}
.human-check-brand{
    color:#c3985d;
    font-family:Georgia,"Times New Roman",serif;
    font-weight:700;
    font-size:11px;
    letter-spacing:1px;
}
.captcha-stage{
    animation:captchaReveal .22s ease-out;
}
.captcha-stage[hidden]{
    display:none!important;
}
@keyframes captchaReveal{
    from{opacity:0;transform:translateY(-5px)}
    to{opacity:1;transform:translateY(0)}
}


/* =========================================================
   Oryon2 v4 - REAL NATIVE CHECKBOX FIX
   This intentionally overrides all old custom-checkbox rules.
   ========================================================= */
.native-human-check{
    overflow:visible !important;
}

.native-human-check-label{
    position:relative !important;
    display:flex !important;
    align-items:center !important;
    min-height:76px !important;
    padding:0 16px !important;
    cursor:pointer !important;
    pointer-events:auto !important;
    user-select:none !important;
    z-index:5 !important;
}

.login-panel .native-human-checkbox,
.native-human-checkbox{
    /* Force the browser's real checkbox control. */
    appearance:auto !important;
    -webkit-appearance:checkbox !important;
    position:static !important;
    display:inline-block !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;

    width:28px !important;
    min-width:28px !important;
    max-width:28px !important;
    height:28px !important;
    min-height:28px !important;
    max-height:28px !important;

    margin:0 14px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:4px !important;
    background:transparent !important;
    box-shadow:none !important;

    cursor:pointer !important;
    accent-color:#28a85a !important;
    transform:none !important;
    z-index:10 !important;
}

.native-human-check-label:hover{
    filter:brightness(1.05);
}

.native-human-checkbox:focus-visible{
    outline:2px solid #e4ba75 !important;
    outline-offset:4px !important;
}

/* Hide the old fake visual checkbox if any cached markup/CSS remains. */
.native-human-check .human-check-box,
.native-human-check .human-check-tick{
    display:none !important;
}

.native-human-checkbox:checked ~ .human-check-copy strong{
    color:#77e79d !important;
}

.native-human-checkbox:checked ~ .human-check-brand{
    color:#61d88a !important;
}



/* =========================================================
   Oryon2 v5 - CAPTCHA ALWAYS VISIBLE / SIZE FIX
   ========================================================= */
.login-panel .captcha-stage,
.login-panel .captcha-stage.captcha-always-visible{
    display:block !important;
    width:100% !important;
    height:auto !important;
    margin:12px 0 16px !important;
    opacity:1 !important;
    visibility:visible !important;
}

.login-panel .captcha-box.captcha-v2{
    display:block !important;
    box-sizing:border-box !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:16px !important;
    overflow:visible !important;
    border-radius:10px !important;
}

.login-panel .captcha-image-row{
    display:flex !important;
    align-items:stretch !important;
    gap:10px !important;
    width:100% !important;
    height:auto !important;
    margin:12px 0 !important;
}

.login-panel img.captcha-image{
    display:block !important;
    width:min(250px, calc(100% - 56px)) !important;
    max-width:calc(100% - 56px) !important;
    height:76px !important;
    min-height:76px !important;
    object-fit:fill !important;
    border-radius:8px !important;
}

.login-panel .captcha-refresh{
    width:46px !important;
    min-width:46px !important;
    max-width:46px !important;
    height:76px !important;
    min-height:76px !important;
}

.login-panel input.captcha-input{
    display:block !important;
    position:static !important;
    width:100% !important;
    height:48px !important;
    margin:0 !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    text-transform:uppercase !important;
    letter-spacing:5px !important;
    text-align:center !important;
    font-size:17px !important;
}

.captcha-always-visible .captcha-head::after{
    content:'REQUIRED';
    margin-left:auto;
    padding:4px 7px;
    border:1px solid rgba(222,160,76,.35);
    border-radius:999px;
    color:#d7b376;
    font-size:9px;
    font-weight:800;
    letter-spacing:1px;
}

@media(max-width:520px){
    .login-panel img.captcha-image,
    .login-panel .captcha-refresh{
        height:68px !important;
        min-height:68px !important;
    }
}


/* =========================================================
   Oryon2 v6 - Homepage USER PANEL CAPTCHA fix
   ========================================================= */
.leftcol .login-panel .home-captcha-stage{
    display:block !important;
    width:100% !important;
    margin:10px 0 14px !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-box.captcha-v2{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    padding:11px !important;
    margin:0 !important;
    display:block !important;
    overflow:visible !important;
    box-sizing:border-box !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-head{
    gap:7px !important;
    margin-bottom:8px !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-head strong{
    font-size:11px !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-head small{
    font-size:9px !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-shield{
    width:28px !important;
    height:28px !important;
    flex-basis:28px !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-image-row{
    width:100% !important;
    display:flex !important;
    gap:7px !important;
    margin:8px 0 !important;
}

.leftcol .login-panel .home-captcha-stage img.captcha-image{
    display:block !important;
    width:calc(100% - 43px) !important;
    max-width:calc(100% - 43px) !important;
    height:62px !important;
    min-height:62px !important;
    object-fit:fill !important;
    border-radius:6px !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-refresh{
    width:36px !important;
    min-width:36px !important;
    max-width:36px !important;
    height:62px !important;
    min-height:62px !important;
    padding:0 !important;
}

.leftcol .login-panel .home-captcha-stage input.captcha-input{
    width:100% !important;
    height:43px !important;
    margin:0 !important;
    display:block !important;
    position:static !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    font-size:13px !important;
    letter-spacing:3px !important;
    text-align:center !important;
}

.leftcol .login-panel .home-captcha-stage .captcha-note{
    font-size:8px !important;
    margin-top:6px !important;
}

/* Old fake M2 captcha must never show anymore. */
.leftcol .login-panel .captcha:not(.captcha-v2){
    display:none !important;
}


/* =========================================================
   Oryon2 v7 - Show CAPTCHA only after LOGIN click
   ========================================================= */
.captcha-click-stage[hidden]{
    display:none !important;
}

.captcha-click-stage:not([hidden]){
    display:block !important;
    animation:oryonCaptchaReveal .28s ease-out;
}

@keyframes oryonCaptchaReveal{
    from{
        opacity:0;
        transform:translateY(-8px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}


/* =========================================================
   Oryon2 v9 - Server-side two-step CAPTCHA
   ========================================================= */
.pending-login-ok{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 12px;
    padding:11px 12px;
    border:1px solid rgba(55,198,107,.42);
    border-radius:8px;
    background:linear-gradient(180deg,rgba(24,86,47,.36),rgba(12,48,27,.30));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.pending-login-icon{
    width:30px;
    height:30px;
    flex:0 0 30px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#239f54;
    color:white;
    font-size:18px;
    font-weight:900;
    box-shadow:0 0 14px rgba(45,210,102,.22);
}
.pending-login-ok strong{
    display:block;
    color:#83eda8;
    font-size:12px;
}
.pending-login-ok small{
    display:block;
    margin-top:2px;
    color:#b5a081;
    font-size:9px;
}
.captcha-confirm-form .captcha-stage{
    display:block !important;
}
