/* TaigaUHC — site vitrine */

@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* Fond et surfaces : vert très sombre */
  --bg: #0c110e;
  --surface: #131b16;
  --surface-2: #18221c;
  --line: rgba(233, 245, 236, 0.07);
  --line-2: rgba(233, 245, 236, 0.12);

  /* Texte : crème du logo */
  --text: #f3efe6;
  --muted: #9aa89f;
  --faint: #6c7a71;

  /* Vert forêt (bannière) */
  --green-300: #7fd19a;
  --green-400: #4fb072;
  --green-500: #2e8b55;
  --green-700: #0f4a2c;
  --green-900: #082416;

  /* Marron (badge UHC) */
  --brown-300: #c08a5a;
  --brown-500: #7a4a24;
  --brown-600: #5e3618;
  --brown-800: #2e1a0b;

  /* Jaune de la pomme, en touche */
  --gold: #f5c22b;

  --radius: 14px;
  --radius-lg: 18px;
  --container: 1120px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
strong { font-weight: 700; color: var(--text); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.ico--lg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------- Navigation */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 17, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand img { width: 34px; height: auto; }
.nav__links { display: flex; gap: 4px; margin-left: 14px; }
.nav__links a {
  padding: 8px 12px; border-radius: 10px; color: rgba(243, 239, 230, .86); font-weight: 500; font-size: 15.5px;
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav__links a[aria-current="page"] { color: var(--green-300); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Recherche de joueur */
.search {
  position: relative; display: flex; align-items: center;
  width: 260px; height: 40px; padding: 0 12px; gap: 9px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px;
  color: var(--muted); transition: border-color .2s, background .2s;
}
.search:focus-within { border-color: rgba(127, 209, 154, .45); background: var(--surface-2); }
.search input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  color: var(--text); font: inherit; font-size: 15px;
}
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search--block { width: 100%; margin-bottom: 6px; }

.btn--nav { height: 40px; padding: 0 14px; font-size: 15px; gap: 8px; }
.btn--nav.is-current { border-color: rgba(127, 209, 154, .45); color: var(--green-300); }

/* Menu Connexion */
.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  width: 250px; padding: 6px; border-radius: 14px;
  background: rgba(19, 27, 22, .98); border: 1px solid var(--line-2);
  box-shadow: 0 24px 50px -16px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(-6px); pointer-events: none; visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.dropdown.is-open .dropdown__menu { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.dropdown__menu a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; }
.dropdown__menu a:hover, .dropdown__menu a:focus-visible { background: rgba(255,255,255,.05); outline: none; }
.dropdown__menu strong { display: block; font-size: 15px; }
.dropdown__menu small { display: block; color: var(--muted); font-size: 13px; }
.dropdown__ico {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: rgba(46, 139, 85, .18); color: var(--green-300);
}
.dropdown__ico--staff { background: rgba(192, 138, 90, .18); color: var(--brown-300); }

.nav__compact, .icon-btn.nav__compact { display: none; }
.mobile-menu__sep { height: 1px; margin: 6px 8px; background: var(--line-2); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-2);
  color: var(--text);
  transition: background .2s, border-color .2s, transform .2s;
}
.icon-btn:hover { background: var(--surface-2); border-color: rgba(127, 209, 154, .35); }
.icon-btn:active { transform: scale(.96); }
.icon-btn--wide { width: 48px; }

.mobile-menu {
  max-width: 1180px; margin: 0 auto; width: calc(100% - 32px);
  padding: 8px; border-radius: var(--radius);
  background: rgba(19, 27, 22, .96); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
}
.mobile-menu a { display: block; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.mobile-menu a:hover { background: rgba(255,255,255,.05); }

/* ---------------------------------------------------------------- Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 12px; font-weight: 700; white-space: nowrap;
  transition: transform .2s, filter .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { padding: 15px 26px; font-size: 18px; }
.btn--sm { padding: 9px 14px; font-size: 14px; }
.btn--sm .ico { width: 16px; height: 16px; }

.btn--primary {
  color: #062012;
  background: linear-gradient(180deg, #6cc98d 0%, var(--green-500) 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 30px -10px rgba(79, 176, 114, .55);
}
.btn--primary:hover { filter: brightness(1.07); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 14px 38px -10px rgba(79, 176, 114, .7); }

.btn--ghost {
  color: var(--text); background: var(--surface); border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(127, 209, 154, .35); }

.btn--dark {
  padding: 13px 22px; font-size: 16px;
  color: var(--text); background: rgba(8, 20, 13, .78); border: 1px solid rgba(255,255,255,.08);
}
.btn--dark:hover { background: rgba(8, 20, 13, .92); }

/* ---------------------------------------------------------------- Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 0; isolation: isolate; }
.hero__dots {
  position: absolute; inset: 0 0 30% 0; z-index: -2;
  background-image: radial-gradient(rgba(233, 245, 236, .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
}
.hero__glow {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(46, 139, 85, .38) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(15, 74, 44, .32) 70%, rgba(15, 74, 44, .18) 100%);
}
.hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo { width: 96px; height: auto; filter: drop-shadow(0 10px 30px rgba(245, 194, 43, .18)); }
.hero__title {
  margin-top: 26px;
  font-size: clamp(40px, 6.6vw, 68px); line-height: 1.06; font-weight: 700; letter-spacing: -.025em;
  background: linear-gradient(0deg, #cfe9d7 0%, #f6f2e8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-wrap: balance;
}
.hero__cta { margin-top: 34px; }
.hero__sub {
  margin-top: 16px; color: var(--muted); font-weight: 500; font-size: 15px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
}
.hero__sub .sep { opacity: .5; }

.status { display: inline-flex; align-items: center; gap: 8px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.status[data-state="online"] .status__dot { background: #5ee08b; box-shadow: 0 0 0 4px rgba(94, 224, 139, .16); animation: pulse 2.2s infinite; }
.status[data-state="offline"] .status__dot { background: #d9776a; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(94, 224, 139, 0); } }

.hero__shot {
  position: relative; width: 100%; margin-top: 56px;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.015);
}
.hero__shot img { width: 100%; aspect-ratio: 1600 / 877; object-fit: cover; }

/* ---------------------------------------------------------------- Sections */
.section { padding: 96px 0 0; }
.section--tight { padding-top: 56px; }
.section__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.section__head h2, .row h2 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.section__head p, .row p { color: var(--muted); font-size: 15px; }
.section__action { margin-left: auto; }

.badge-ico {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--green-300);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  padding: 24px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(127, 209, 154, .25); transform: translateY(-2px); }
.card .ico { color: var(--green-300); }
.card h3 { margin-top: 18px; font-size: 19px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Modes */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 340px; border-radius: var(--radius-lg);
  border: 1px solid var(--line-2);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  transition: transform .3s, border-color .3s;
}
.mode:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); }
.mode::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px);
  background-size: 18px 18px;
}
.mode::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(6, 10, 8, .88) 100%);
}
.mode--lg { background: radial-gradient(120% 90% at 85% 0%, #1f6b43 0%, var(--green-700) 45%, var(--green-900) 100%); }
.mode--hxh { background: radial-gradient(120% 90% at 85% 0%, #9a6334 0%, var(--brown-500) 40%, var(--brown-800) 100%); }

.mode__art {
  position: absolute; right: -24px; top: -24px; z-index: -1;
  width: 230px; height: 230px; display: grid; place-items: center;
  color: rgba(255,255,255,.1);
}
.mode__art .ico { width: 190px; height: 190px; stroke-width: 1.2; }
.mode__meta { position: absolute; top: 22px; left: 22px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(8, 14, 10, .55); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
}
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ee08b; }
.mode__body h3 { font-size: 26px; font-weight: 700; letter-spacing: -.015em; }
.mode__body p { margin-top: 6px; color: rgba(243, 239, 230, .78); max-width: 46ch; }
.chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 5px 11px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
}

/* Rejoindre */
.row { display: flex; align-items: center; gap: 16px; }
.row__text { flex: 1; min-width: 0; }

/* Bandeau */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; gap: 24px;
  padding: 34px 36px; border-radius: var(--radius-lg);
  background: linear-gradient(115deg, var(--brown-500) 0%, var(--brown-600) 45%, #3a2210 100%);
  border: 1px solid rgba(255, 220, 180, .14);
  box-shadow: 0 30px 70px -30px rgba(122, 74, 36, .55);
}
.cta__deco {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(245, 194, 43, .16) 0%, transparent 60%),
    repeating-radial-gradient(circle at 92% 120%, transparent 0 46px, rgba(255,255,255,.05) 46px 47px);
}
.cta__logo { width: 72px; height: auto; flex: none; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.cta__text { flex: 1; min-width: 0; }
.cta__text h2 { font-size: 21px; font-weight: 700; line-height: 1.35; max-width: 34ch; color: #fff6ea; }
.cta__tags { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cta__tags li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: rgba(255, 246, 234, .82); }
.cta__tags .ico { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- Pied de page */
.footer {
  margin-top: 64px; padding: 44px 0 34px;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 26, 11, .55) 55%, rgba(94, 54, 24, .45) 100%);
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer__lead { display: flex; align-items: center; gap: 14px; }
.footer__lead img { width: 40px; height: auto; }
.footer__lead p { font-weight: 500; max-width: 30ch; }
.footer__ip { margin-top: 18px; color: var(--muted); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.footer__col h4 .ico { color: var(--green-300); }
.footer__col a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__legal { margin-top: 40px; }
.footer__legal p { color: var(--faint); font-size: 13.5px; }

/* ---------------------------------------------------------------- Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 11px 16px; border-radius: 12px; font-weight: 500; font-size: 15px;
  background: var(--surface-2); border: 1px solid rgba(127, 209, 154, .35);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.6);
  transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- Apparition au défilement */
.js .reveal { opacity: 0; filter: blur(8px); transform: translateY(14px); transition: opacity .7s ease, filter .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; filter: none; transform: none; transition: none; }
  .status[data-state="online"] .status__dot { animation: none; }
}

/* ---------------------------------------------------------------- Pages internes */
.page-hero { position: relative; isolation: isolate; padding: calc(var(--nav-h) + 56px) 0 40px; }
.page-hero .hero__dots { inset: 0; }
.page-hero .hero__glow { height: 420px; }
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--green-300);
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
}
.page-hero h1 {
  margin-top: 10px; font-size: clamp(34px, 5vw, 50px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em;
  background: linear-gradient(0deg, #cfe9d7 0%, #f6f2e8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero p { margin-top: 12px; color: var(--muted); font-size: 17px; max-width: 60ch; }

.panel {
  padding: 26px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
}
.panel + .panel { margin-top: 16px; }
.panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.panel__head h2 { font-size: 21px; font-weight: 700; }
.panel__head p { color: var(--muted); font-size: 14.5px; }

.prose { color: rgba(243, 239, 230, .86); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 12px; }
.prose ul, .prose ol { margin: 10px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--green-400); }
.prose code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em;
  padding: 2px 7px; border-radius: 7px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
}

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(245, 194, 43, .07); border: 1px solid rgba(245, 194, 43, .22); color: #f3e2b0;
}
.notice .ico { color: var(--gold); margin-top: 2px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.toc a { padding: 7px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--surface); border: 1px solid var(--line-2); color: var(--muted); }
.toc a:hover { color: var(--text); border-color: rgba(127, 209, 154, .35); }

.role-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 6px; }
.role {
  padding: 16px; border-radius: 12px; background: rgba(0,0,0,.18); border: 1px solid var(--line);
}
.role h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 16.5px; font-weight: 700; }
.role p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.tag { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tag--green { background: rgba(46, 139, 85, .2); color: var(--green-300); }
.tag--red { background: rgba(217, 119, 106, .18); color: #eba196; }
.tag--gold { background: rgba(245, 194, 43, .15); color: #f2d36e; }
.tag--purple { background: rgba(160, 110, 220, .18); color: #c9a6f2; }

.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line-2); }
.release { position: relative; }
.release + .release { margin-top: 16px; }
.release::before {
  content: ""; position: absolute; left: -24px; top: 30px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--green-400); box-shadow: 0 0 0 4px rgba(79, 176, 114, .18);
}
.release__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.release__meta strong { font-size: 20px; }

.empty { text-align: center; padding: 44px 20px; }
.empty .badge-ico { margin: 0 auto 14px; }
.empty h2 { font-size: 21px; }
.empty p { margin: 8px auto 0; color: var(--muted); max-width: 46ch; }

/* Connexion */
.auth { max-width: 520px; margin: 0 auto; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); margin-bottom: 16px; }
.tabs [role=tab] {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700;
}
.tabs [role=tab][aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: 0 0 0 1px var(--line-2) inset; }
.steps { list-style: none; padding: 0; margin: 14px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.steps li + li { margin-top: 12px; }
.steps li::before {
  content: counter(s); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px;
  background: rgba(46, 139, 85, .2); color: var(--green-300); font-weight: 700; font-size: 14px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* Profil */
.profile { padding-top: calc(var(--nav-h) + 28px); }
.profile-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
}
.profile-card__top {
  position: relative; display: flex; align-items: center; gap: 34px; padding: 30px 40px 26px;
  background: radial-gradient(80% 140% at 30% 0%, rgba(46, 139, 85, .28) 0%, transparent 70%);
}
.profile-card__top::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
  background-image: radial-gradient(rgba(233, 245, 236, .1) 1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent);
}
.skin { width: 150px; height: 230px; flex: none; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.skin img { height: 100%; width: 100%; object-fit: contain; object-position: bottom; image-rendering: pixelated; filter: drop-shadow(0 14px 20px rgba(0,0,0,.45)); }
.profile__name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.profile__name h1 { font-size: clamp(30px, 4.4vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.rank { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 8px; font-size: 14px; font-weight: 700; background: rgba(46, 139, 85, .22); color: var(--green-300); border: 1px solid rgba(127, 209, 154, .3); }
.uuid {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 0; border: 0; background: none;
  color: var(--faint); font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 13px;
}
.uuid:hover { color: var(--muted); }
.uuid .ico { width: 14px; height: 14px; }
.profile__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; background: rgba(0,0,0,.2); border: 1px solid var(--line-2);
}
a.chip-btn:hover { border-color: rgba(127, 209, 154, .35); }
.chip-btn .ico { width: 14px; height: 14px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 18px 12px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stat__label .ico { width: 14px; height: 14px; }
.stat__value { margin-top: 4px; font-size: 24px; font-weight: 700; }
.stat__value--empty { color: var(--faint); }
.profile-tabs { display: flex; justify-content: center; margin: 22px 0; }
.profile-tabs .tabs { margin: 0; }
.skeleton { display: inline-block; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.1), rgba(255,255,255,.05)); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1100px) {
  .nav__links, .nav__actions > .search, .nav__full { display: none; }
  .nav__compact, .icon-btn.nav__compact { display: inline-grid; }
  [data-search-toggle] { order: 1; }
  .nav__burger { order: 2; }
  .dropdown { order: 3; }
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .modes { grid-template-columns: 1fr; }
  .mode { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --nav-h: 66px; }
  .container { padding: 0 16px; }
  .nav__inner { padding: 0 16px; gap: 12px; }
  .nav__actions { gap: 8px; }
  .hero { padding-top: calc(var(--nav-h) + 44px); }
  .hero__logo { width: 78px; }
  .btn--lg { width: 100%; padding: 14px 18px; font-size: 16px; }
  .hero__cta { width: 100%; }
  .hero__shot { margin-top: 40px; }
  .section { padding-top: 72px; }
  .section__head { align-items: flex-start; }
  .section__action { display: none; }
  .row { flex-wrap: wrap; }
  .row .btn { width: 100%; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  .cta .btn { width: 100%; }
  .cta__logo { width: 56px; }
  .mode { padding: 22px; }
  .mode__body h3 { font-size: 23px; }
  .panel { padding: 20px; }
  .profile-card__top { flex-direction: column; text-align: center; gap: 18px; padding: 26px 20px 22px; }
  .profile__name, .profile__chips { justify-content: center; }
  .skin { width: 120px; height: 180px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .profile-tabs .tabs { width: 100%; overflow-x: auto; }
}
