
/* =========================================================
   LES AMIGOS — PRESTIGE 2026/2027
   Clean cinematic Champions-night interface
   ========================================================= */

:root{
  --p-bg:#030713;
  --p-bg2:#071329;
  --p-panel:rgba(9,20,43,.80);
  --p-panel-strong:rgba(10,24,52,.94);
  --p-line:rgba(159,194,255,.12);
  --p-line-strong:rgba(159,213,255,.21);
  --p-text:#f7f9ff;
  --p-muted:#8fa0bd;
  --p-blue:#7aa2ff;
  --p-cyan:#65e7ff;
  --p-violet:#a478ff;
  --p-gold:#f5d27c;
  --p-green:#6be5b1;
  --p-red:#ff7188;
  --p-radius:22px;
  --p-shadow:0 22px 70px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html{background:var(--p-bg);scroll-behavior:smooth}
body.prestige-v2{
  margin:0;
  min-height:100vh;
  color:var(--p-text);
  background:
    radial-gradient(circle at 12% -5%,rgba(110,84,255,.16),transparent 28%),
    radial-gradient(circle at 90% 10%,rgba(74,204,255,.11),transparent 25%),
    linear-gradient(180deg,#020611 0%,#061228 52%,#030814 100%)!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

body.prestige-v2::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-10;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:linear-gradient(to bottom,black,transparent 82%);
}

body.prestige-v2 a{text-decoration:none}
body.prestige-v2 button,
body.prestige-v2 input,
body.prestige-v2 textarea,
body.prestige-v2 select{font:inherit}

/* NAV */
body.prestige-v2 .public-topnav.final-topnav{
  position:sticky!important;
  top:10px!important;
  z-index:10000!important;
  width:min(1280px,calc(100% - 28px))!important;
  min-height:66px!important;
  margin:10px auto 0!important;
  padding:8px 10px!important;
  grid-template-columns:auto 1fr auto!important;
  gap:12px!important;
  border:1px solid rgba(156,202,255,.12)!important;
  border-radius:19px!important;
  background:rgba(3,11,27,.82)!important;
  backdrop-filter:blur(24px) saturate(1.28)!important;
  box-shadow:0 18px 55px rgba(0,0,0,.30)!important;
}
body.prestige-v2 .public-brand-mark{
  width:42px!important;height:42px!important;
  border-radius:13px!important;
  background:
    radial-gradient(circle at 28% 24%,rgba(255,255,255,.42),transparent 22%),
    linear-gradient(145deg,#9c77ff 0%,#6e8cff 48%,#63e7ff 100%)!important;
  box-shadow:0 10px 28px rgba(89,128,255,.24)!important;
}
body.prestige-v2 .public-brand strong{font-size:.82rem!important;letter-spacing:.11em!important}
body.prestige-v2 .public-brand small{font-size:.49rem!important;color:#7185a6!important;letter-spacing:.04em!important}
body.prestige-v2 .public-tab,
body.prestige-v2 .ss-more-btn{
  min-height:38px!important;
  padding:0 11px!important;
  border-radius:11px!important;
  font-size:.64rem!important;
  color:#9eacc4!important;
  transition:.18s ease!important;
}
body.prestige-v2 .public-tab:hover,
body.prestige-v2 .public-tab.active,
body.prestige-v2 .ss-more-btn:hover{
  color:#fff!important;
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(137,195,255,.11)!important;
  transform:none!important;
}
body.prestige-v2 .public-tab.active{
  box-shadow:inset 0 -2px 0 var(--p-cyan)!important;
}
body.prestige-v2 .public-cta-btn{
  border:0!important;
  border-radius:11px!important;
  min-height:40px!important;
  padding:0 15px!important;
  color:#06111f!important;
  font-weight:900!important;
  background:linear-gradient(135deg,#c6f6ff,#73e7ff 52%,#8ea8ff)!important;
  box-shadow:0 9px 25px rgba(86,207,255,.18)!important;
}
body.prestige-v2 .public-ghost-btn{
  min-height:40px!important;
  padding:0 13px!important;
  border-radius:11px!important;
  border:1px solid var(--p-line)!important;
  color:#b7c4d9!important;
  background:rgba(255,255,255,.025)!important;
}

/* HOME: hide old duplicate landing/auth marketing blocks only on home */
body.prestige-home .sig-page-ribbon,
body.prestige-home main.final-landing,
body.prestige-home .imperium-auth-header,
body.prestige-home #authChoiceScreen,
body.prestige-home #authFormScreen{
  display:none!important;
}

/* CINEMATIC HERO */
body.prestige-v2 .ss-home-hero{
  width:min(1280px,calc(100% - 28px))!important;
  min-height:530px!important;
  margin:18px auto 12px!important;
  padding:54px!important;
  grid-template-columns:1.08fr .92fr!important;
  border-radius:30px!important;
  border:1px solid rgba(154,205,255,.14)!important;
  background:
    radial-gradient(circle at 12% 20%,rgba(132,91,255,.20),transparent 29%),
    radial-gradient(circle at 82% 25%,rgba(82,218,255,.13),transparent 31%),
    linear-gradient(145deg,rgba(10,22,49,.96),rgba(5,15,34,.92))!important;
  box-shadow:0 34px 100px rgba(0,0,0,.34)!important;
}
body.prestige-v2 .ss-home-hero::after{
  content:"";
  position:absolute;
  inset:auto 6% 0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(118,225,255,.45),transparent);
}
body.prestige-v2 .ss-home-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  padding:7px 10px!important;
  border:1px solid rgba(132,200,255,.12)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.026)!important;
  color:#a9bad4!important;
  font-size:.63rem!important;
  letter-spacing:.15em!important;
}
body.prestige-v2 .ss-home-copy h1{
  margin:20px 0 16px!important;
  font-size:clamp(3rem,5.7vw,5.7rem)!important;
  line-height:.91!important;
  letter-spacing:-.065em!important;
  max-width:800px!important;
}
body.prestige-v2 .ss-home-copy h1 span{
  background:linear-gradient(90deg,#a9dfff,#fff 43%,#c3b3ff 85%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}
body.prestige-v2 .ss-home-copy p{
  max-width:650px!important;
  margin:0 0 27px!important;
  color:#9baac1!important;
  font-size:1rem!important;
  line-height:1.75!important;
}
body.prestige-v2 .ss-primary,
body.prestige-v2 .ss-secondary{
  min-height:48px!important;
  padding:0 18px!important;
  border-radius:13px!important;
  font-size:.74rem!important;
  font-weight:900!important;
}
body.prestige-v2 .ss-primary{
  color:#07121f!important;
  background:linear-gradient(135deg,#c9f8ff,#70e6ff 52%,#8ea6ff)!important;
  box-shadow:0 12px 28px rgba(74,207,255,.18)!important;
}
body.prestige-v2 .ss-secondary{
  border:1px solid var(--p-line)!important;
  color:#c6d2e4!important;
  background:rgba(255,255,255,.03)!important;
}

/* hero visual */
body.prestige-v2 .ss-orbital{
  width:min(390px,82vw)!important;
  aspect-ratio:1!important;
  border:1px solid rgba(127,211,255,.10)!important;
  background:
    radial-gradient(circle,rgba(91,128,255,.12),transparent 42%),
    rgba(255,255,255,.012)!important;
  box-shadow:inset 0 0 80px rgba(76,121,255,.05)!important;
}
body.prestige-v2 .ss-center-logo{
  width:110px!important;height:110px!important;
  font-size:2.3rem!important;
  border-radius:34px!important;
  background:
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.34),transparent 20%),
    linear-gradient(145deg,#9a74ff,#638aff 56%,#65e5ff)!important;
  box-shadow:0 22px 70px rgba(84,112,255,.34)!important;
}
body.prestige-v2 .ss-float-pill{
  border:1px solid rgba(141,199,255,.12)!important;
  border-radius:15px!important;
  background:rgba(7,18,39,.88)!important;
  backdrop-filter:blur(14px)!important;
  box-shadow:0 15px 40px rgba(0,0,0,.24)!important;
}

/* core rail */
body.prestige-v2 .ss-feature-rail{
  width:min(1280px,calc(100% - 28px))!important;
  margin:12px auto!important;
  grid-template-columns:repeat(5,1fr)!important;
  gap:9px!important;
}
body.prestige-v2 .ss-feature-rail a{
  min-height:108px!important;
  padding:17px!important;
  border:1px solid var(--p-line)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(10,24,52,.76),rgba(7,17,37,.74))!important;
  box-shadow:none!important;
  transition:transform .18s ease,border-color .18s ease,background .18s ease!important;
}
body.prestige-v2 .ss-feature-rail a:hover{
  transform:translateY(-3px)!important;
  border-color:rgba(119,221,255,.26)!important;
  background:linear-gradient(180deg,rgba(14,31,65,.92),rgba(8,20,42,.88))!important;
}
body.prestige-v2 .ss-feature-rail b{font-size:1.35rem!important}
body.prestige-v2 .ss-feature-rail strong{font-size:.78rem!important}
body.prestige-v2 .ss-feature-rail small{color:#7186a5!important;font-size:.59rem!important}

/* player of the day */
body.prestige-v2 .ss-player-day{
  width:min(1280px,calc(100% - 28px))!important;
  margin:12px auto!important;
  min-height:128px!important;
  padding:22px 25px!important;
  border-radius:20px!important;
  border:1px solid rgba(245,210,124,.14)!important;
  background:
    radial-gradient(circle at 5% 50%,rgba(245,210,124,.08),transparent 27%),
    linear-gradient(120deg,rgba(11,25,51,.90),rgba(7,17,36,.88))!important;
  box-shadow:none!important;
}
body.prestige-v2 .ss-player-day-crown{
  width:60px!important;height:60px!important;
  border-radius:18px!important;
  background:rgba(245,210,124,.08)!important;
  border:1px solid rgba(245,210,124,.14)!important;
}

/* PRESTIGE LIVE HOME BOARD */
.prestige-board{
  width:min(1280px,calc(100% - 28px));
  margin:12px auto 30px;
  display:grid;
  grid-template-columns:1.45fr .75fr;
  gap:12px;
}
.prestige-panel{
  position:relative;
  overflow:hidden;
  border:1px solid var(--p-line);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(10,24,52,.80),rgba(6,16,35,.86));
  box-shadow:var(--p-shadow);
}
.prestige-panel-head{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:18px 20px;
  border-bottom:1px solid rgba(145,195,255,.08);
}
.prestige-panel-head span{
  display:block;
  margin-bottom:3px;
  color:#7188a9;
  font-size:.54rem;
  font-weight:900;
  letter-spacing:.16em;
}
.prestige-panel-head h2{
  margin:0;
  font-size:1.05rem;
  letter-spacing:-.02em;
}
.prestige-panel-head a{
  color:#9fe9ff;
  font-size:.62rem;
  font-weight:900;
}
.prestige-match-list{padding:7px}
.prestige-match{
  display:grid;
  grid-template-columns:96px 1fr auto;
  align-items:center;
  gap:14px;
  min-height:88px;
  padding:12px 13px;
  border-radius:16px;
  border:1px solid transparent;
  transition:.18s ease;
}
.prestige-match+.prestige-match{border-top-color:rgba(145,195,255,.055)}
.prestige-match:hover{
  background:rgba(255,255,255,.022);
  border-color:rgba(143,205,255,.09);
}
.prestige-match-time strong{display:block;font-size:.74rem}
.prestige-match-time small{color:#7085a4;font-size:.55rem}
.prestige-versus{display:grid;gap:7px}
.prestige-team{
  display:flex;align-items:center;gap:9px;
  min-width:0;
  color:#dce5f3;
  font-size:.70rem;
  font-weight:800;
}
.prestige-team img{
  width:23px;height:23px;object-fit:contain;
}
.prestige-team span{
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.prestige-status{
  min-width:86px;
  text-align:center;
  padding:8px 10px;
  border-radius:999px;
  color:#9eb0cb;
  background:rgba(255,255,255,.03);
  border:1px solid var(--p-line);
  font-size:.55rem;
  font-weight:900;
}
.prestige-status.live{color:#ff9aaa;border-color:rgba(255,113,136,.18);background:rgba(255,113,136,.06)}
.prestige-status.done{color:#77e7b6;border-color:rgba(107,229,177,.15);background:rgba(107,229,177,.05)}
.prestige-empty{
  padding:34px 22px;
  color:#8092ae;
  text-align:center;
  font-size:.7rem;
}

.prestige-mini-list{padding:8px}
.prestige-rank{
  display:grid;
  grid-template-columns:35px 1fr auto;
  align-items:center;
  min-height:64px;
  gap:10px;
  padding:9px 10px;
  border-radius:14px;
}
.prestige-rank+.prestige-rank{border-top:1px solid rgba(145,195,255,.055)}
.prestige-rank-pos{
  width:30px;height:30px;
  display:grid;place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.035);
  color:#9db0cb;
  font-size:.62rem;
  font-weight:950;
}
.prestige-rank:first-child .prestige-rank-pos{
  color:#241c08;
  background:linear-gradient(135deg,#ffe6a0,#f5c96a);
}
.prestige-rank strong{font-size:.72rem}
.prestige-rank small{display:block;color:#6f83a1;font-size:.53rem;margin-top:2px}
.prestige-rank-points{font-size:.74rem;font-weight:950;color:#dbe8fa}

/* ALL CONTENT PAGES */
body.prestige-v2 .public-page,
body.prestige-v2 .page-shell,
body.prestige-v2 .pronos-shell,
body.prestige-v2 .live-shell,
body.prestige-v2 .social-hub,
body.prestige-v2 .profile-social-shell,
body.prestige-v2 main:not(.final-landing){
  width:min(1280px,calc(100% - 28px));
  margin-left:auto;
  margin-right:auto;
}

body.prestige-v2 .card,
body.prestige-v2 .public-card,
body.prestige-v2 .prono-card,
body.prestige-v2 .live-card,
body.prestige-v2 .community-match,
body.prestige-v2 .social-section,
body.prestige-v2 .profile-side-card,
body.prestige-v2 .social-composer,
body.prestige-v2 .calendar-card,
body.prestige-v2 .admin-panel{
  border-radius:20px!important;
  border:1px solid var(--p-line)!important;
  background:linear-gradient(180deg,rgba(10,24,52,.79),rgba(6,16,35,.86))!important;
  box-shadow:0 14px 45px rgba(0,0,0,.18)!important;
}
body.prestige-v2 input,
body.prestige-v2 textarea,
body.prestige-v2 select{
  border-radius:12px!important;
  border:1px solid rgba(143,191,255,.11)!important;
  background:rgba(2,9,23,.62)!important;
  color:#ecf3ff!important;
}
body.prestige-v2 input:focus,
body.prestige-v2 textarea:focus,
body.prestige-v2 select:focus{
  outline:none!important;
  border-color:rgba(101,231,255,.38)!important;
  box-shadow:0 0 0 3px rgba(101,231,255,.07)!important;
}

/* privacy banner */
body.prestige-v2 .privacy-pronos-banner{
  width:min(1280px,calc(100% - 28px))!important;
  margin:14px auto!important;
  border-radius:15px!important;
  border:1px solid rgba(101,231,255,.12)!important;
  background:rgba(8,22,46,.72)!important;
  color:#9fb2cd!important;
}

/* footers: keep only showstopper footer visually */
body.prestige-v2 .starlight-footer,
body.prestige-v2 .omni-footer{display:none!important}
body.prestige-v2 .ss-footer{
  width:min(1280px,calc(100% - 28px))!important;
  margin:28px auto 18px!important;
  border-radius:18px!important;
  border:1px solid var(--p-line)!important;
  background:rgba(5,15,33,.68)!important;
  backdrop-filter:blur(16px)!important;
}
body.prestige-v2 .global-disclaimer{
  width:min(1280px,calc(100% - 28px))!important;
  margin:0 auto 22px!important;
  color:#586c8c!important;
  font-size:.54rem!important;
}

/* AI FAB less intrusive */
body.prestige-v2 .signature-chat-fab{
  right:18px!important;
  bottom:18px!important;
  border-radius:16px!important;
  border:1px solid rgba(143,205,255,.12)!important;
  background:rgba(4,15,34,.90)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.35)!important;
}
body.prestige-v2 .ai-floating-btn{display:none!important}

/* Mobile */
@media(max-width:1100px){
  body.prestige-v2 .public-topnav.final-topnav{
    grid-template-columns:1fr auto!important;
  }
  body.prestige-v2 .public-topnav-tabs,
  body.prestige-v2 .public-topnav-actions{display:none!important}
  body.prestige-v2 .ss-home-hero{
    grid-template-columns:1fr!important;
    padding:38px!important;
  }
  body.prestige-v2 .ss-visual{min-height:320px!important}
  body.prestige-v2 .ss-feature-rail{grid-template-columns:repeat(3,1fr)!important}
  .prestige-board{grid-template-columns:1fr}
}
@media(max-width:700px){
  body.prestige-v2 .public-topnav.final-topnav{
    width:calc(100% - 16px)!important;
    top:7px!important;
    margin-top:7px!important;
    border-radius:16px!important;
  }
  body.prestige-v2 .public-brand small{display:none!important}
  body.prestige-v2 .ss-home-hero{
    width:calc(100% - 16px)!important;
    min-height:auto!important;
    margin-top:12px!important;
    padding:27px 20px 24px!important;
    border-radius:23px!important;
  }
  body.prestige-v2 .ss-home-copy h1{
    margin-top:16px!important;
    font-size:clamp(2.7rem,15vw,4.3rem)!important;
  }
  body.prestige-v2 .ss-home-copy p{
    font-size:.87rem!important;
    line-height:1.65!important;
  }
  body.prestige-v2 .ss-home-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
  }
  body.prestige-v2 .ss-primary,
  body.prestige-v2 .ss-secondary{width:100%!important}
  body.prestige-v2 .ss-visual{display:none!important}
  body.prestige-v2 .ss-feature-rail{
    width:calc(100% - 16px)!important;
    grid-template-columns:repeat(2,1fr)!important;
  }
  body.prestige-v2 .ss-feature-rail a{min-height:100px!important}
  body.prestige-v2 .ss-player-day{
    width:calc(100% - 16px)!important;
    padding:17px!important;
  }
  .prestige-board{
    width:calc(100% - 16px);
    margin-bottom:20px;
  }
  .prestige-match{
    grid-template-columns:72px 1fr;
  }
  .prestige-status{
    grid-column:2;
    justify-self:start;
    min-width:auto;
    padding:5px 8px;
  }
  body.prestige-v2 .signature-chat-fab-copy{display:none!important}
  body.prestige-v2 .signature-chat-fab{
    width:52px!important;height:52px!important;padding:0!important;
    border-radius:16px!important;
  }
}

.champions-api-panel{width:min(1180px,calc(100% - 28px));margin:18px auto!important;padding:22px!important}
.admin-panel-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.admin-kicker{font-size:.58rem;font-weight:950;letter-spacing:.16em;color:#78ddff}
.admin-panel-head h2{margin:5px 0 7px;font-size:1.25rem}
.admin-panel-head p{margin:0;color:#8295b2;font-size:.72rem;line-height:1.5;max-width:700px}
.api-state-pill{padding:8px 12px;border-radius:999px;border:1px solid var(--p-line);background:rgba(255,255,255,.03);font-size:.6rem;font-weight:900;color:#a9bad3;white-space:nowrap}
.api-state-pill[data-kind="ok"]{color:#79e7b8;border-color:rgba(107,229,177,.18);background:rgba(107,229,177,.06)}
.api-state-pill[data-kind="warn"]{color:#ff9aaa;border-color:rgba(255,113,136,.18);background:rgba(255,113,136,.06)}
.champions-api-form label{display:block;margin-bottom:8px;font-size:.64rem;font-weight:900;color:#b9c7da}
.champions-api-row{display:grid;grid-template-columns:1fr auto;gap:10px}
.champions-api-row input{min-height:46px;padding:0 14px}
.champions-api-row button{min-height:46px;padding:0 16px;border:0;border-radius:12px;font-weight:900;color:#06111f;background:linear-gradient(135deg,#c6f6ff,#73e7ff 52%,#8ea8ff);cursor:pointer}
.champions-api-meta{margin-top:9px;color:#7185a5;font-size:.61rem}
@media(max-width:700px){.admin-panel-head{display:block}.api-state-pill{display:inline-block;margin-top:12px}.champions-api-row{grid-template-columns:1fr}}

.ultimate-admin-panel{width:min(1180px,calc(100% - 28px));margin:18px auto!important;padding:22px!important}
.ultimate-backup-btn{min-height:42px;padding:0 14px;border:0;border-radius:12px;font-weight:900;color:#07111f;background:linear-gradient(135deg,#d7faff,#78e7ff 55%,#91a7ff);cursor:pointer}
.ultimate-admin-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:18px 0}
.ultimate-stat{padding:14px;border:1px solid var(--p-line);border-radius:14px;background:rgba(255,255,255,.025)}
.ultimate-stat span{display:block;color:#7185a5;font-size:.54rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.ultimate-stat strong{display:block;margin-top:6px;font-size:.88rem;color:#eef5ff}
.ultimate-admin-split{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ultimate-admin-split>div{border:1px solid var(--p-line);border-radius:16px;background:rgba(255,255,255,.018);padding:14px}
.ultimate-admin-split h3{margin:0 0 10px;font-size:.78rem}
.ultimate-list{display:grid;gap:7px}
.ultimate-list-row{display:flex;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:10px;background:rgba(255,255,255,.025)}
.ultimate-list-row strong{font-size:.61rem;max-width:66%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ultimate-list-row span{font-size:.54rem;color:#7286a5;text-align:right}
.ultimate-empty{padding:15px;text-align:center;color:#70829e;font-size:.6rem}
.ultimate-network{position:fixed;left:15px;bottom:14px;z-index:9999;padding:7px 10px;border-radius:999px;border:1px solid rgba(107,229,177,.14);background:rgba(3,12,28,.85);backdrop-filter:blur(12px);font-size:.54rem;font-weight:900;color:#72e7b7}
.ultimate-network[data-online="false"]{color:#ff93a5;border-color:rgba(255,113,136,.15)}
.ultimate-version{position:fixed;left:15px;bottom:48px;z-index:9998;color:#4e6384;font-size:.49rem;font-weight:800;pointer-events:none}
@media(max-width:900px){.ultimate-admin-grid{grid-template-columns:repeat(3,1fr)}.ultimate-admin-split{grid-template-columns:1fr}}
@media(max-width:600px){.ultimate-admin-grid{grid-template-columns:repeat(2,1fr)}.ultimate-version{display:none}.ultimate-network{left:10px;bottom:10px}}


/* Legacy AI hidden: replaced by global Amigos AI widget */
#signatureChatFab,
#signatureChatPanel,
.signature-chat-fab,
.signature-chat-panel,
.wc-ai-fab,
.wc-ai-panel{
  display:none!important;
}
