/* ═══════════════════════════════════════════════
   RAZER LEAKS — tema blu
   ═══════════════════════════════════════════════ */

:root {
  --orange:        #1a6fff;
  --orange-2:      #5ea8ff;
  --orange-deep:   #0050e0;
  --orange-glow:   rgba(26, 111, 255, .4);
  --yellow:        #90c6ff;

  --bg:            #000000;
  --panel:         rgba(5, 12, 22, .62);
  --panel-2:       rgba(7, 16, 28, .72);
  --card:          rgba(6, 14, 26, .78);
  --line:          rgba(59, 130, 246, .14);
  --line-2:        rgba(255, 255, 255, .06);
  --line-strong:   rgba(59, 130, 246, .34);

  --text:          #e8f1fb;
  --muted:         #8aa8c8;
  --dim:           #5a7a9a;

  --green:         #3ecf7a;
  --red:           #ef4b5b;
  --blue:          #5865f2;
  --gold:          #f5c542;
  --pink:          #f47fff;

  --radius:        14px;
  --radius-lg:     18px;
  --nav-h:         78px;
  --font:          'Orbitron', 'Inter', system-ui, sans-serif;
  --font-head:     'Orbitron', system-ui, sans-serif;
  --mono:          ui-monospace, 'Cascadia Code', Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; cursor: none !important; }
html, body { min-height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.25px;
}

/* ─── CUSTOM CURSOR ─── */
body { cursor: none !important; }
*, *::before, *::after { cursor: inherit !important; }

#cursor-core {
  position: fixed; left: 0; top: 0; z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, filter .1s;
  will-change: left, top, filter;
  filter:
    drop-shadow(0 0 4px rgba(59,130,246,.9))
    drop-shadow(0 0 12px rgba(59,130,246,.55))
    drop-shadow(0 0 24px rgba(96,165,250,.3));
}
body.cursor-hover #cursor-core {
  filter:
    drop-shadow(0 0 6px rgba(255,255,255,.85))
    drop-shadow(0 0 16px rgba(59,130,246,1))
    drop-shadow(0 0 32px rgba(96,165,250,.6));
  transform: scale(1.12);
}

::selection { background: var(--orange); color: #f0f8ff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(59,130,246,.3); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(59,130,246,.55); background-clip: content-box; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
code, .mono { font-family: var(--mono); }

/* ─── SFONDO ─── */

/* bg animations removed — handled by bg.js canvas */

.bg-layer {
  position: fixed; inset: 0; z-index: -2;
  background: #000000;
}
.bg-layer::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(15,30,80,.18), transparent 70%);
}
#bg-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; width: 100vw; height: 100vh; }

/* ─── UTILITY ──────────────────────────────── */

.brand-text {
  background: linear-gradient(100deg, #fff 8%, var(--orange-2) 45%, var(--orange) 78%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-weight: 600; font-size: .88rem; letter-spacing: .1px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255,255,255,.09); border-color: rgba(100,160,255,.28); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-2) 0%, var(--orange) 45%, var(--orange-deep) 100%);
  border-color: transparent; color: #f0f8ff; font-weight: 700;
  box-shadow: 0 8px 26px -10px var(--orange-glow);
}
.btn-primary:hover { background: linear-gradient(135deg, #93c5fd, var(--orange-2)); box-shadow: 0 12px 32px -8px var(--orange-glow); }
.btn-light { background: linear-gradient(135deg, #bfdbfe, var(--orange-2)); color: #0f172a; border-color: transparent; font-weight: 700; }
.btn-light:hover { background: linear-gradient(135deg, #dbeafe, #93c5fd); }
.btn-ghost  { background: transparent; }
.btn-danger { color: var(--red); border-color: rgba(239,75,91,.3); background: rgba(239,75,91,.08); }
.btn-danger:hover { background: rgba(239,75,91,.16); border-color: rgba(239,75,91,.45); }
.btn-paypal { color: #f5a623; border-color: rgba(245,166,35,.35); background: rgba(245,166,35,.09); font-weight: 600; }
.btn-paypal:hover { background: rgba(245,166,35,.18); border-color: rgba(245,166,35,.55); }
.btn-block  { width: 100%; }
.btn-sm     { padding: 8px 13px; font-size: .84rem; border-radius: 10px; }
.btn-discord-sm { background: var(--blue); color: #fff; border-color: transparent; }
.btn-discord-sm:hover { background: #4954e0; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 999px;
  font-size: .68rem; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
  border: 1px solid var(--line); white-space: nowrap;
}
.chip-free    { color: var(--green); border-color: rgba(62,207,122,.32); background: rgba(62,207,122,.12); }
.chip-paid    { color: var(--orange-2); border-color: rgba(96,165,250,.4); background: rgba(96,165,250,.14); }
.chip-vip     { color: #fff; border-color: transparent; background: linear-gradient(135deg, #ff5a4f, #e0283a); box-shadow: 0 4px 14px -4px rgba(239,40,58,.7); }
.chip-booster { color: var(--pink); border-color: rgba(244,127,255,.32); background: rgba(244,127,255,.12); }
.chip-owner   { color: var(--orange-2); border-color: var(--line-strong); background: rgba(59,130,246,.14); }
.chip-red     { color: var(--red); border-color: rgba(239,75,91,.3); background: rgba(239,75,91,.1); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
.field .hint { font-size: .73rem; color: var(--dim); line-height: 1.55; font-weight: 400; }

.input, .select, .textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09); border-radius: 10px;
  transition: border-color .16s, box-shadow .16s, background .16s; outline: none; font-weight: 400;
}
.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(59,130,246,.5); background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1);
}
.textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.select option { background: #060e1a; }

.alert {
  padding: 12px 14px; border-radius: 11px; font-size: .85rem; line-height: 1.55;
  border: 1px solid rgba(239,75,91,.3); background: rgba(239,75,91,.1); color: #ffb3bb;
  margin-bottom: 20px; text-align: left;
}
.alert.ok { border-color: rgba(62,207,122,.3); background: rgba(62,207,122,.1); color: #a9f0c6; }
.alert.warn { border-color: rgba(245,197,66,.3); background: rgba(245,197,66,.1); color: #f7e2a5; }

.sb-title {
  font-size: .68rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); padding: 18px 10px 10px; font-weight: 800;
}

/* ─── LOGIN (split layout) ──────────────────── */

.login-body { overflow: hidden; }

.login-page {
  position: relative; z-index: 2;
  min-height: 100vh;
  display: flex; align-items: stretch;
}

/* ── Left panel ── */
.login-left {
  flex: 1 1 52%;
  padding: 60px 64px 60px 80px;
  display: flex; flex-direction: column; justify-content: center; gap: 32px;
  background: linear-gradient(135deg, rgba(10,20,50,.45) 0%, rgba(4,8,20,.3) 100%);
  border-right: 1px solid rgba(41,121,255,.1);
}

.login-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 1.05rem; font-weight: 800; letter-spacing: 2px; color: var(--text);
}
.login-brand img {
  width: 34px; height: 34px; border-radius: 9px; object-fit: cover;
}

.login-hero {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.22; color: var(--muted);
  margin: 0;
}
.login-hero strong {
  font-weight: 900; color: #ffffff; display: block;
  font-family: var(--font-head); letter-spacing: 1px;
}

.login-tagline {
  font-size: .93rem; color: var(--dim); line-height: 1.7; max-width: 380px;
  margin: -8px 0 0;
}

.login-steps {
  display: flex; flex-direction: column; gap: 18px;
}
.ls-step {
  display: flex; align-items: flex-start; gap: 16px;
}
.ls-num {
  flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(41,121,255,.15);
  border: 1px solid rgba(41,121,255,.35);
  display: grid; place-items: center;
  font-size: .82rem; font-weight: 800; color: rgba(41,121,255,.9);
  font-family: var(--font-head);
}
.ls-text { display: flex; flex-direction: column; gap: 2px; padding-top: 6px; }
.ls-title { font-size: .9rem; font-weight: 600; color: var(--muted); }
.ls-desc  { font-size: .78rem; color: var(--dim); }

.login-badges {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: -4px;
}
.login-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 20px;
  background: rgba(41,121,255,.1); border: 1px solid rgba(41,121,255,.25);
  font-size: .75rem; font-weight: 600; color: rgba(41,121,255,.85);
}

/* ── Right panel ── */
.login-right {
  flex: 0 0 420px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 44px;
}

/* ── Login card — nuovo design ── */
.login-card {
  width: 100%; max-width: 350px;
  background: rgba(2,5,14,.97);
  border-radius: 18px; overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,.06),
              0 40px 80px -20px rgba(0,0,0,.96),
              0 0 60px -20px rgba(41,121,255,.12);
  animation: riseIn .55s cubic-bezier(.2,.8,.25,1) both;
  padding: 0;
}
@keyframes riseIn { from { opacity: 0; transform: translateY(22px) scale(.96); } }

/* Linea accent luminosa in cima */
.login-card::before {
  content: '';
  display: block; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(41,121,255,.7) 25%,
    rgba(140,200,255,1) 50%,
    rgba(41,121,255,.7) 75%,
    transparent 100%);
  box-shadow: 0 0 22px 4px rgba(41,121,255,.45);
}

/* padding interno tramite margini laterali */
.lc-header,
.lc-verify,
#alert-box,
.btn-discord,
.login-foot { margin-left: 26px; margin-right: 26px; }

/* Header brand */
.lc-header {
  display: flex; align-items: center; gap: 13px;
  padding: 22px 0 18px;
  margin-bottom: 18px;
}
.lc-logo-box {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px; overflow: hidden;
  background: rgba(41,121,255,.1);
  border: 1px solid rgba(41,121,255,.22);
  display: grid; place-items: center;
}
.lc-logo-box img { width: 30px; height: 30px; object-fit: contain; }
.lc-brand-col { display: flex; flex-direction: column; gap: 2px; }
.lc-brand-name {
  font-family: var(--font-head);
  font-size: .88rem; font-weight: 900;
  letter-spacing: 2.5px; color: #fff;
}
.lc-brand-tag {
  font-size: .68rem; color: var(--dim);
  letter-spacing: .8px; text-transform: uppercase;
}

/* Verifica con angoli decorativi */
.lc-verify {
  position: relative;
  padding: 14px 12px 12px;
  margin-bottom: 16px;
  background: rgba(255,255,255,.02);
  border-radius: 10px;
}
/* Turnstile mode */
.lc-verify.ts-mode {
  background: none; padding: 0 0 10px; border-radius: 0; margin-bottom: 8px;
}
#turnstile-slot {
  align-items: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  overflow: hidden;
  min-height: 65px;
  justify-content: center;
}
#turnstile-slot iframe { max-width: 100% !important; width: 100% !important; border-radius: 0; }
.lc-corner {
  position: absolute; width: 12px; height: 12px;
  border-color: rgba(41,121,255,.55); border-style: solid;
}
.lc-corner.tl { top: 0; left: 0;  border-width: 1.5px 0 0 1.5px; border-radius: 4px 0 0 0; }
.lc-corner.tr { top: 0; right: 0; border-width: 1.5px 1.5px 0 0; border-radius: 0 4px 0 0; }
.lc-corner.bl { bottom: 0; left: 0;  border-width: 0 0 1.5px 1.5px; border-radius: 0 0 0 4px; }
.lc-corner.br { bottom: 0; right: 0; border-width: 0 1.5px 1.5px 0; border-radius: 0 0 4px 0; }

/* Discord button */
.btn-discord {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: calc(100% - 52px); padding: 13px 20px;
  background: #5865f2; border: none; border-radius: 11px;
  color: #fff; font-size: .94rem; font-weight: 700;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 24px -8px rgba(88,101,242,.7);
  transition: transform .14s, box-shadow .14s, background .14s;
  margin-bottom: 18px;
}
.btn-discord:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px -8px rgba(88,101,242,.85);
  background: #4f5de4;
}
.btn-discord:disabled {
  background: rgba(88,101,242,.2); color: rgba(255,255,255,.3); box-shadow: none;
}
.btn-discord::after {
  content: '';
  position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  animation: bdsShimmer 3.5s ease-in-out infinite;
}
.btn-discord:disabled::after { display: none; }
@keyframes bdsShimmer {
  0%, 55% { left: -120%; }
  85%, 100% { left: 180%; }
}

/* responsive */
@media (max-width: 900px) {
  .login-page { flex-direction: column; min-height: 100vh; }
  .login-left { padding: 48px 32px 32px; flex: none; border-right: none; border-bottom: 1px solid rgba(41,121,255,.1); }
  .login-right { flex: none; width: 100%; padding: 32px 24px 48px; }
  .login-card { max-width: 100%; }
  .login-hero { font-size: 1.9rem; }
}

.human-box { border: 1px solid rgba(255,255,255,.07); border-radius: 12px; background: rgba(0,0,0,.25); padding: 14px; text-align: left; margin-bottom: 4px; }
.human-row { display: flex; align-items: center; gap: 13px; }
.human-check {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px;
  border: 2px solid rgba(255,255,255,.22); display: grid; place-items: center; transition: .25s ease;
}
.human-box.done .human-check { border-color: var(--green); background: rgba(62,207,122,.18); }
.human-box.busy .human-check { border-color: var(--orange); border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.human-check svg { opacity: 0; transform: scale(.5); transition: .25s ease; }
.human-box.done .human-check svg { opacity: 1; transform: scale(1); }
.human-label { font-size: .88rem; font-weight: 600; }
.human-sub { font-size: .73rem; color: var(--dim); margin-top: 2px; }
.human-slider { margin-top: 12px; }
.human-track {
  position: relative; height: 42px; border-radius: 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  overflow: hidden; user-select: none;
}
.human-fill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, rgba(41,121,255,.3), rgba(70,155,255,.15)); }
.human-hint { position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; color: var(--muted); letter-spacing: .3px; pointer-events: none; }
.human-knob {
  position: absolute; top: 3px; left: 3px; width: 48px; height: 34px;
  border-radius: 9px; background: linear-gradient(135deg, rgb(41,121,255), rgb(30,90,230));
  display: grid; place-items: center; cursor: grab; color: #fff;
  box-shadow: 0 4px 14px -4px rgba(41,121,255,.6);
}
.human-knob:active { cursor: grabbing; }

.login-foot { padding-bottom: 22px; font-size: .73rem; color: var(--dim); line-height: 1.7; text-align: center; }

/* ═══════════ HOME ═══════════ */

/* barra in alto */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: grid; grid-template-columns: 1fr minmax(0, 580px) 1fr; align-items: center; gap: 18px;
  padding: 0 34px;
  background: transparent !important;
  backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.nav:not(.nav-scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}
.nav-brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 900; font-size: 1rem; letter-spacing: 2px; text-transform: uppercase; }
.nav-brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 18px -4px var(--orange-glow); animation: logoPulse 3.5s ease-in-out infinite; }
@keyframes logoPulse { 0%,100% { box-shadow: 0 0 18px -4px var(--orange-glow); } 50% { box-shadow: 0 0 28px 0px rgba(59,130,246,.55); } }

.nav-search {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 0 16px; height: 42px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(4,12,30,.72), rgba(10,30,80,.55));
  border: 1px solid rgba(59,130,246,.2); color: var(--muted);
  transition: .16s;
}
.nav-search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.nav-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; font-size: .9rem; color: var(--text); }
.nav-search input::placeholder { color: rgba(232,241,251,.6); }

.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

/* ─── LANGUAGE SELECTOR ─── */
.lang-sel {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px;
  border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: .16s;
}
.lang-btn:hover { border-color: var(--orange); color: var(--text); }
.lang-btn img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; }
.lang-btn .lang-code { font-size: .78rem; font-weight: 700; letter-spacing: .4px; }
.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 100;
  background: linear-gradient(170deg, rgba(6,14,28,.98), rgba(3,8,18,.99));
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 24px 60px -18px #000; padding: 6px; min-width: 160px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.lang-sel.open .lang-dropdown { opacity: 1; visibility: visible; transform: none; }
.lang-option {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 11px;
  border-radius: 9px; font-size: .88rem; font-weight: 500; color: var(--muted);
  cursor: pointer; transition: .12s; text-align: left;
}
.lang-option:hover { background: rgba(59,130,246,.1); color: var(--text); }
.lang-option.active { color: var(--orange-2); font-weight: 700; background: rgba(59,130,246,.08); }
.lang-option img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; flex: 0 0 22px; }

.balance-pill {
  display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: rgba(0,0,0,.45); border: 1px solid var(--line); color: var(--orange-2); font-size: .88rem;
}
.btn-upload { height: 40px; border-radius: 999px; background: rgba(0,0,0,.55); border-color: rgba(59,130,246,.2); }
.btn-upload:hover { border-color: var(--orange); }

.profile { position: relative; }
.profile-btn {
  display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px 0 4px; border-radius: 999px;
  background: rgba(0,0,0,.55); border: 1px solid rgba(59,130,246,.2); font-weight: 700; font-size: .9rem;
  transition: .16s;
}
.profile-btn:hover, .profile.open .profile-btn { border-color: var(--orange); }
.profile-btn img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(59,130,246,.5); }
.profile-btn span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-btn svg { color: var(--dim); transition: .2s; }
.profile.open .profile-btn svg { transform: rotate(180deg); }

.profile-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 260px; padding: 8px;
  background: linear-gradient(170deg, rgba(6,16,34,.98), rgba(3,8,18,.99));
  border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px -20px #000;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s ease;
}
.profile.open .profile-menu { opacity: 1; visibility: visible; transform: none; }
.pm-head { display: flex; align-items: center; gap: 11px; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.pm-head img { width: 40px; height: 40px; border-radius: 50%; }
.pm-head .nm { font-weight: 700; }
.pm-head .rk { font-size: .74rem; color: var(--orange-2); font-weight: 600; }
.pm-item {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--muted); text-align: left; transition: .14s;
}
.pm-item:hover { background: rgba(59,130,246,.1); color: var(--text); }
.pm-item.danger:hover { background: rgba(239,75,91,.1); color: var(--red); }
.pm-sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* pagina */
.page { max-width: 1400px; margin: 0 auto; padding: 36px 34px 80px; }

.hero {
  position: relative; padding: 36px 0 32px;
  animation: heroIn .7s cubic-bezier(.2,.8,.25,1) both;
}
.hero > * { position: relative; z-index: 1; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } }

/* titolo */
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; line-height: 1;
  letter-spacing: 3px; text-transform: uppercase; color: #fff;
  text-shadow: 0 0 50px rgba(59,130,246,.85), 0 0 100px rgba(59,130,246,.35);
  animation: heroIn .6s .06s both;
  margin-bottom: 20px;
}

/* riga ciclante */
.hero-cycle-wrap {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  font-weight: 400; color: rgba(180,210,255,.65);
  animation: heroIn .6s .14s both;
}
.hero-cycle-pre { white-space: nowrap; }
.hero-cycle-box {
  display: inline-flex; align-items: center;
  background: rgba(41,121,255,.22);
  border: 1px solid rgba(41,121,255,.55);
  border-radius: 8px;
  padding: 5px 16px;
}
.hero-cycle-word {
  font-weight: 700; font-size: inherit;
  color: #ffffff; letter-spacing: .3px;
  animation: wordFadeIn .32s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes wordFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-cycle-word.out {
  animation: wordFadeOut .22s ease both;
}
@keyframes wordFadeOut {
  to { opacity: 0; transform: translateY(-6px); }
}

/* tags */
.hero-tags {
  display: flex; gap: 7px; flex-wrap: wrap; margin-top: 18px;
  animation: heroIn .6s .22s both;
}
.hero-tags span {
  padding: 4px 13px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  border: 1px solid rgba(59,130,246,.25); color: rgba(99,160,255,.7);
  background: rgba(59,130,246,.06);
}

/* numeri */
.statbar { display: grid; grid-template-columns: 1fr 340px; gap: 14px; margin-bottom: 40px; animation: heroIn .7s .25s cubic-bezier(.2,.8,.25,1) both; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg);
  background: rgba(4,8,18,.75); backdrop-filter: blur(20px); overflow: hidden;
}
.stat { display: flex; align-items: center; gap: 14px; padding: 18px 20px; position: relative; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.05); }
.stat-ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center; position: relative;
  color: rgba(140,170,210,.85); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
}
.stat.live .stat-ico  { color: var(--green); background: rgba(62,207,122,.08); border-color: rgba(62,207,122,.2); }
.stat.live .stat-ico::after {
  content: ''; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green); animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .3; } }
.stat.gold .stat-ico  { color: #f5c542; background: rgba(245,197,66,.07); border-color: rgba(245,197,66,.18); }
.stat.blue .stat-ico  { color: rgba(130,150,255,.9); background: rgba(88,101,242,.08); border-color: rgba(88,101,242,.2); }
.stat .l { font-size: .62rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); }
.stat .v { font-size: 1.5rem; font-weight: 800; margin-top: 3px; letter-spacing: -.6px; color: var(--text); font-variant-numeric: tabular-nums; }

.vip-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg);
  background: rgba(4,8,18,.75); backdrop-filter: blur(20px); position: relative; overflow: hidden;
}
.vip-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(41,121,255,.12) 0%, transparent 55%);
  pointer-events: none;
}
.vip-ico {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(41,121,255,.15); border: 1px solid rgba(41,121,255,.3); color: var(--orange-2);
}
.vip-txt { flex: 1; min-width: 0; }
.vip-txt b { display: block; font-size: .95rem; font-weight: 700; color: var(--text); }
.vip-txt span { display: block; font-size: .76rem; color: var(--dim); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* colonne: categorie + risultati */
.browse { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; scroll-margin-top: calc(var(--nav-h) + 16px); }

.side { position: sticky; top: calc(var(--nav-h) + 16px); }
.side-search {
  position: relative; display: flex; align-items: center; gap: 11px; height: 52px; padding: 0 8px 0 16px;
  border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
  background: linear-gradient(160deg, rgba(8,16,34,.82), rgba(4,10,22,.88)); backdrop-filter: blur(16px);
  color: var(--muted); transition: border-color .18s;
}
.side-search:focus-within { border-color: rgba(59,130,246,.4); box-shadow: 0 0 0 3px rgba(59,130,246,.08); }
.side-search input { flex: 1; min-width: 0; background: none; border: none; outline: none; font-size: .96rem; color: var(--text); }
.sort-btn { padding: 9px 10px; border-left: 1px solid var(--line); color: var(--muted); border-radius: 0 10px 10px 0; }
.sort-btn:hover { color: var(--orange-2); }
.sort-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; width: 190px; padding: 6px;
  background: rgba(4,12,26,.98); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: 0 24px 50px -18px #000; display: none;
}
.side-search.sorting .sort-menu { display: block; }
.sort-menu button { display: block; width: 100%; text-align: left; padding: 9px 11px; border-radius: 8px; font-size: .86rem; color: var(--muted); }
.sort-menu button:hover { background: rgba(59,130,246,.1); color: var(--text); }
.sort-menu button.on { color: var(--orange-2); font-weight: 700; }

.side-title { font-size: .72rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px 4px; }
.cat-list {
  display: flex; flex-direction: column; gap: 2px; padding: 6px;
  border: 1px solid rgba(255,255,255,.07); border-radius: 16px;
  background: linear-gradient(160deg, rgba(8,16,34,.82), rgba(4,10,22,.88)); backdrop-filter: blur(16px);
}
.cat {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--muted); text-align: left; transition: .16s ease;
}
.cat .ico { opacity: .6; flex: 0 0 auto; transition: opacity .16s; }
.cat .n {
  margin-left: auto; min-width: 28px; text-align: center; font-size: .7rem; font-weight: 600;
  padding: 2px 7px; border-radius: 6px; background: rgba(255,255,255,.05); color: var(--dim);
}
.cat:hover { background: rgba(59,130,246,.08); color: var(--text); }
.cat:hover .ico { opacity: .9; }
.cat.active { color: #c8e0ff; background: linear-gradient(90deg, rgba(59,130,246,.18), rgba(59,130,246,.05)); font-weight: 600; }
.cat.active .ico { opacity: 1; color: var(--orange-2); }
.cat.active .n { background: rgba(59,130,246,.25); color: var(--orange-2); }
.cat.active::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--orange); box-shadow: 0 0 10px var(--orange-glow);
}

.results { min-width: 0; }
.toolbar { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; min-height: 54px; }
.found { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.found svg { color: var(--orange-2); }
.found b { color: var(--text); font-size: 1rem; }
.perpage { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); }
.seg { display: flex; padding: 4px; gap: 2px; border: 1px solid var(--line); border-radius: 12px; background: rgba(4,10,22,.7); }
.seg button { padding: 6px 12px; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.seg button.on { background: var(--orange); color: #f0f8ff; }
.seg button:not(.on):hover { color: var(--text); }

.pager {
  margin-left: auto; display: flex; align-items: center; gap: 4px; padding: 6px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(4,10,22,.7);
}
.pager:empty { display: none; }
.pager span { min-width: 64px; text-align: center; font-size: .85rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pager button { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--orange-2); }
.pager button:hover:not(:disabled) { background: rgba(59,130,246,.12); }
.pager button:disabled { color: var(--dim); opacity: .45; cursor: default; }
.pager-bottom { display: flex; justify-content: center; margin-top: 26px; }
.pager-bottom .pager { margin-left: 0; }

/* griglia risorse */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }

/* stagger card entrance */
.card:nth-child(1)  { animation-delay: .02s; }
.card:nth-child(2)  { animation-delay: .05s; }
.card:nth-child(3)  { animation-delay: .08s; }
.card:nth-child(4)  { animation-delay: .11s; }
.card:nth-child(5)  { animation-delay: .14s; }
.card:nth-child(6)  { animation-delay: .17s; }
.card:nth-child(7)  { animation-delay: .20s; }
.card:nth-child(8)  { animation-delay: .23s; }
.card:nth-child(9)  { animation-delay: .26s; }
.card:nth-child(n+10){ animation-delay: .29s; }

.card {
  position: relative; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(255,255,255,.07); border-radius: 16px;
  background: linear-gradient(160deg, rgba(10,18,36,.92) 0%, rgba(5,11,22,.96) 100%);
  backdrop-filter: blur(12px);
  display: flex; flex-direction: column;
  transition: transform .22s cubic-bezier(.2,.8,.25,1), border-color .22s, box-shadow .22s;
  animation: cardIn .42s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59,130,246,.4);
  box-shadow: 0 24px 48px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(59,130,246,.12) inset, 0 0 28px -8px var(--orange-glow);
}
.card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(59,130,246,.08) 0%, transparent 55%);
  opacity: 0; transition: opacity .22s;
}
.card:hover::before { opacity: 1; }

/* ── risorse PREMIUM (a pagamento, pinnate in alto) ── */
@keyframes premium-glow {
  0%   { box-shadow: 0 0 0 2px #3b82f6, 0 0 22px rgba(59,130,246,.55); border-color: #3b82f6 !important; }
  40%  { box-shadow: 0 0 0 2px #93c5fd, 0 0 28px rgba(147,197,253,.45); border-color: #93c5fd !important; }
  70%  { box-shadow: 0 0 0 2px #fff,    0 0 34px rgba(255,255,255,.38); border-color: #ffffff !important; }
  100% { box-shadow: 0 0 0 2px #3b82f6, 0 0 22px rgba(59,130,246,.55); border-color: #3b82f6 !important; }
}
.card--paid {
  border-width: 2px !important;
  animation: cardIn .42s cubic-bezier(.2,.8,.25,1) both,
             premium-glow 2.8s ease-in-out infinite !important;
}
.card--paid .card-img .badges > * {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4) !important;
  box-shadow: 0 2px 10px rgba(255,255,255,.12) !important;
  backdrop-filter: blur(8px);
  text-shadow: none !important;
}

.card-img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #060e20, #040a16); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card-img .ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(59,130,246,.3); }
.card-img .badges { position: absolute; top: 11px; right: 11px; display: flex; gap: 6px; }
.card-img .badges.left { right: auto; left: 11px; }
.card-img .lock {
  position: absolute; bottom: 10px; right: 10px;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); color: var(--orange-2);
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 9px; }
.card-cat { font-size: .65rem; letter-spacing: 1.8px; text-transform: uppercase; color: var(--orange-2); font-weight: 700; opacity: .85; }
.card-title { font-size: 1rem; font-weight: 700; line-height: 1.35; letter-spacing: -.1px; color: #ddeeff; }
.card-desc {
  font-size: .83rem; color: var(--muted); line-height: 1.58; font-weight: 400;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta {
  display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06); font-size: .75rem; color: var(--dim); font-weight: 400;
}
.card-meta span { display: inline-flex; align-items: center; gap: 4px; }
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }

.empty {
  grid-column: 1/-1; text-align: center; padding: 70px 20px;
  border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted);
  background: rgba(4,10,22,.5);
}
.empty svg { color: rgba(59,130,246,.35); margin-bottom: 14px; }
.empty h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--text); }
.empty p { font-size: .88rem; }

/* ═══════════ AREA ACCOUNT ═══════════ */

.acc { display: flex; min-height: 100vh; }
.acc-side {
  position: fixed; top: 0; left: 0; bottom: 0; width: 290px; z-index: 60;
  display: flex; flex-direction: column; padding: 26px 16px 0;
  background: linear-gradient(180deg, rgba(4,12,28,.9), rgba(2,6,16,.94));
  border-right: 1px solid var(--line); backdrop-filter: blur(18px);
  transition: transform .28s cubic-bezier(.2,.8,.25,1);
}
.acc-user { display: flex; align-items: center; gap: 13px; padding: 0 12px 26px; }
.acc-user img { width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(59,130,246,.55), 0 0 22px -4px var(--orange-glow); }
.acc-user .nm { font-weight: 800; font-size: 1.05rem; }
.acc-user .rk { font-size: .78rem; color: var(--orange-2); font-weight: 600; }

.acc-nav { flex: 1; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.acc-link {
  display: flex; align-items: center; gap: 13px; padding: 13px 18px; border-radius: 12px;
  font-size: .98rem; font-weight: 500; color: var(--muted); transition: .15s; width: 100%; text-align: left;
}
.acc-link:hover { background: rgba(59,130,246,.08); color: var(--text); }
.acc-link.active {
  background: linear-gradient(135deg, var(--orange-2), var(--orange) 55%, var(--orange-deep));
  color: #f0f8ff; font-weight: 700; box-shadow: 0 10px 28px -10px var(--orange-glow);
}
.acc-back {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 12px -16px 0; padding: 26px 0; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .95rem; transition: .15s;
}
.acc-back:hover { color: var(--orange-2); }

.acc-main { flex: 1; margin-left: 290px; padding: 40px 42px 80px; min-width: 0; }
.acc-burger { display: none; padding: 9px; border-radius: 10px; color: var(--muted); margin-bottom: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.4); }

.acc-head { margin-bottom: 26px; }
.acc-head h1 { font-size: 2rem; font-weight: 800; letter-spacing: -.3px; }
.acc-head p { color: var(--muted); margin-top: 6px; font-size: .92rem; }
.acc-sub { font-size: .74rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 34px 0 14px; }

.panel {
  border: 1px solid rgba(255,255,255,.07); border-radius: 18px; padding: 24px 28px; margin-bottom: 20px;
  background: linear-gradient(160deg, rgba(8,18,38,.82), rgba(4,10,22,.88));
  backdrop-filter: blur(16px);
}
.panel.flush { padding: 0 0 8px; overflow: hidden; }
.panel.flush .tbl th:first-child, .panel.flush .tbl td:first-child { padding-left: 24px; }
.panel.flush .tbl th:last-child,  .panel.flush .tbl td:last-child  { padding-right: 24px; }

.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ph-ico {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center;
  color: var(--orange-2); background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.2);
}
.ph-txt b { display: block; font-size: 1.08rem; }
.ph-txt span { display: block; font-size: .78rem; color: var(--dim); margin-top: 1px; }
.ph-right { margin-left: auto; }

.profile-card { display: flex; align-items: center; gap: 34px; padding: 30px 32px; }
.big-avatar {
  width: 124px; height: 124px; flex: 0 0 124px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px rgba(2,6,16,.9), 0 0 0 6px rgba(59,130,246,.55), 0 0 40px -6px var(--orange-glow);
}
.pc-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.lbl { font-size: .7rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); margin-bottom: 7px; }
.val { display: flex; align-items: center; gap: 9px; font-size: 1.12rem; font-weight: 600; }
.val .ico { color: var(--orange-2); }
.id-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 9px;
  background: rgba(0,0,0,.45); border: 1px solid var(--line); font-size: .86rem; letter-spacing: .3px;
}
.copy { padding: 4px; border-radius: 6px; color: var(--dim); display: grid; place-items: center; }
.copy:hover { color: var(--orange-2); background: rgba(59,130,246,.12); }

.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-stats > div { padding: 14px 16px; border-radius: 13px; background: rgba(0,0,0,.28); border: 1px solid var(--line-2); }
.mini-stats .v { font-size: 1.35rem; font-weight: 800; }
.mini-stats .l { font-size: .74rem; color: var(--dim); margin-top: 2px; }

.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.perk {
  display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-radius: 12px;
  background: rgba(0,0,0,.3); border: 1px solid var(--line-2); font-size: .9rem; color: var(--dim);
}
.perk .ico { color: var(--dim); flex: 0 0 auto; }
.perk.on { color: var(--text); }
.perk.on .ico { color: var(--green); }

.big-money { font-size: 2.6rem; font-weight: 800; color: var(--orange-2); margin: -4px 0 10px; letter-spacing: -.5px; }

.tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tab { padding: 12px 16px; font-size: .92rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--orange-2); border-color: var(--orange); }

/* ─── MODALI ───────────────────────────────── */

.modal-bg {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2,4,14,.78); backdrop-filter: blur(8px);
  display: none; place-items: center; padding: 24px;
  animation: fadeIn .18s ease;
}
.modal-bg.open { display: grid; }
@keyframes fadeIn { from { opacity: 0; } }
#modal-assign { z-index: 210; }
#modal-assign .modal { max-width: 660px; }
#modal-assign .tbl td { white-space: nowrap; }

.modal {
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: linear-gradient(160deg, rgba(7,16,34,.99), rgba(3,8,18,1));
  border: 1px solid rgba(255,255,255,.08); border-radius: 20px;
  box-shadow: 0 48px 100px -28px rgba(0,0,0,.97), 0 0 0 1px rgba(59,130,246,.05) inset;
  animation: riseIn .28s cubic-bezier(.2,.8,.25,1) both;
}
.modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,.07);
  position: sticky; top: 0; background: rgba(5,12,28,.97); backdrop-filter: blur(12px); z-index: 2;
  border-radius: 20px 20px 0 0;
}
.modal-head h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: .3px; }
.modal-head .x { margin-left: auto; padding: 8px; border-radius: 9px; color: var(--dim); }
.modal-head .x:hover { color: var(--text); background: rgba(255,255,255,.07); }
.modal-body { padding: 22px 24px; }
.modal-foot { padding: 16px 24px 22px; display: flex; gap: 10px; justify-content: flex-end; border-top: 1px solid var(--line); flex-wrap: wrap; }

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

/* ─── MODALE DOWNLOAD ──────────────────────── */
#modal-download .modal.modal-dl {
  max-width: 440px;
  background: #060606 !important;
  border-width: 2px !important;
  animation: premium-glow 2.8s ease-in-out infinite !important;
}
#modal-download .modal-head { border-bottom: 1px solid rgba(255,255,255,.06); }
#modal-download .modal-head svg { color: #fff; }
#modal-download .modal-head h3 { color: #fff; }

.dl-subtitle {
  color: rgba(255,255,255,.38); font-size: .82rem; margin: 0 0 14px;
  text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.dl-section-label {
  font-size: .63rem; font-weight: 700; letter-spacing: 2px;
  color: rgba(255,255,255,.25); text-transform: uppercase;
  padding: 0 0 10px;
}

.dl-options { display: flex; flex-direction: column; gap: 8px; }

/* base button */
#modal-download .dl-opt {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 14px; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.1) !important;
  background: rgba(255,255,255,.03) !important;
  text-align: left; width: 100%; color: #fff !important;
  transition: background .15s, border-color .15s, transform .12s, box-shadow .15s;
  text-decoration: none;
}
#modal-download .dl-opt:hover { transform: translateY(-1px); }
#modal-download .dl-opt:disabled { opacity: .45; pointer-events: none; }

.dl-opt-ico-wrap {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.dl-opt-icon { font-size: 1.3rem; flex-shrink: 0; width: 36px; text-align: center; }
.dl-opt-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dl-opt-text strong { font-size: .95rem; font-weight: 700; color: #fff; }
.dl-opt-text small { font-size: .78rem; color: rgba(255,255,255,.45); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dl-opt-badge {
  flex-shrink: 0; padding: 4px 11px; border-radius: 20px;
  font-size: .7rem; font-weight: 700; letter-spacing: .5px;
}

.dl-opt-arrow {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: rgba(255,255,255,.5); line-height: 1;
}

/* — Linkvertise: bianco — */
#modal-download .dl-opt--lv {
  border-color: rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.03) !important;
}
#modal-download .dl-opt--lv:hover {
  border-color: rgba(255,255,255,.45) !important;
  background: rgba(255,255,255,.07) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.dl-ico-lv { background: rgba(255,255,255,.1); color: #fff; }
.dl-badge-free { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25); }

/* — VIP: blu, azzera glow dorato da app.js — */
#modal-download .dl-opt--vip {
  border-color: rgba(59,130,246,.45) !important;
  background: rgba(59,130,246,.08) !important;
  box-shadow: none !important;
  color: #fff !important;
}
#modal-download .dl-opt--vip:hover {
  border-color: rgba(59,130,246,.7) !important;
  background: rgba(59,130,246,.14) !important;
  box-shadow: 0 0 0 1px rgba(59,130,246,.15) !important;
}
#modal-download .dl-opt--vip .dl-opt-text strong { color: #fff !important; }
#modal-download .dl-opt--vip .dl-opt-text small { color: rgba(255,255,255,.5) !important; }
.dl-ico-vip { background: rgba(59,130,246,.2); color: #60a5fa; }
.dl-badge-vip { background: rgba(59,130,246,.2); color: #93c5fd; border: 1px solid rgba(59,130,246,.4); }

/* — PayPal: teal — */
#modal-download .dl-opt--pay {
  border-color: rgba(0,169,157,.35) !important;
  background: rgba(0,169,157,.05) !important;
}
#modal-download .dl-opt--pay:hover {
  border-color: rgba(0,169,157,.6) !important;
  background: rgba(0,169,157,.1) !important;
  box-shadow: 0 0 0 1px rgba(0,169,157,.1);
}
.dl-ico-pp { background: rgba(0,169,157,.15); color: #00c4b8; }
.dl-badge-pay { background: rgba(0,169,157,.15); color: #4dd0c9; border: 1px solid rgba(0,169,157,.35); }

/* — Direct (staff/VIP bypass): bianco — */
#modal-download .dl-opt--direct {
  border-color: rgba(255,255,255,.25) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: none !important;
}
#modal-download .dl-opt--direct:hover {
  border-color: rgba(255,255,255,.5) !important;
  background: rgba(255,255,255,.08) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) !important;
}
.dl-ico-direct { background: rgba(255,255,255,.1); color: #fff; }

.dl-opt--primary { border-color: rgba(68,214,44,.35); }
.dl-opt--primary:hover { border-color: rgba(68,214,44,.6); background: rgba(68,214,44,.08); }

.price-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.price-opt { padding: 13px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.28); cursor: pointer; transition: .16s; text-align: left; }
.price-opt:hover { border-color: rgba(96,165,250,.3); }
.price-opt.on { border-color: var(--orange); background: rgba(59,130,246,.1); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.price-opt .t { font-weight: 700; font-size: .9rem; }
.price-opt .d { font-size: .74rem; color: var(--dim); margin-top: 3px; }

.drop { border: 1px dashed var(--line); border-radius: 12px; padding: 20px; text-align: center; color: var(--muted); cursor: pointer; transition: .16s; background: rgba(0,0,0,.2); }
.drop:hover { border-color: var(--orange); color: var(--text); background: rgba(59,130,246,.05); }
.drop img { max-height: 150px; border-radius: 9px; margin-bottom: 10px; display: block; margin-inline: auto; }

.detail-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 13px; border: 1px solid var(--line); margin-bottom: 18px; }
.detail-desc { color: var(--muted); line-height: 1.7; font-size: .92rem; white-space: pre-wrap; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.meta-box { padding: 10px 14px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0,0,0,.25); }
.meta-box .l { font-size: .66rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); }
.meta-box .v { font-weight: 700; font-size: .9rem; margin-top: 3px; }

/* tabelle */
.tbl { width: 100%; border-collapse: collapse; font-size: .86rem; }
.tbl th {
  text-align: left; padding: 10px 12px; color: var(--dim);
  font-size: .68rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 800;
  border-bottom: 1px solid var(--line);
}
.tbl td { padding: 11px 12px; border-bottom: 1px solid rgba(255,255,255,.04); vertical-align: middle; }
.tbl tr:hover td { background: rgba(59,130,246,.03); }
.tbl .u { display: flex; align-items: center; gap: 9px; }
.tbl .u img { width: 30px; height: 30px; border-radius: 50%; }
.tbl .id, .id { font-family: var(--mono); font-size: .76rem; color: var(--dim); }

/* ═══════════ DASHBOARD STAFF ═══════════ */
.dash { display: flex; flex-direction: column; gap: 22px; }
.dash-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.dash-tile {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(8,20,42,.62), rgba(4,10,22,.72)); position: relative; overflow: hidden;
}
.dash-tile::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--orange); opacity: .8; }
.dash-tile.ok::after   { background: var(--green); }
.dash-tile.gold::after { background: var(--gold); }
.dash-tile.red::after  { background: var(--red); }
.dash-tile.blue::after { background: var(--blue); }
.dash-tile .l { font-size: .66rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--dim); font-weight: 800; }
.dash-tile .v { font-size: 1.6rem; font-weight: 800; margin-top: 4px; letter-spacing: -.4px; }
.dash-tile .s { font-size: .74rem; color: var(--dim); margin-top: 2px; }
.dash-tile.ok  .v { color: var(--green); }
.dash-tile.red .v { color: var(--red); }

.dash-sec { border: 1px solid var(--line); border-radius: 18px; background: rgba(4,10,22,.72); backdrop-filter: blur(12px); overflow: hidden; }
.dash-sec > h4 {
  padding: 14px 18px; font-size: .72rem; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 800;
  color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(59,130,246,.04);
}
.dash-sec .tbl th:first-child, .dash-sec .tbl td:first-child { padding-left: 18px; }
.dash-sec .tbl th:last-child,  .dash-sec .tbl td:last-child  { padding-right: 18px; }
.dash-sec .tbl td { padding: 9px 12px; }
.dash-sec .tbl .r { width: 34px; color: var(--dim); font-variant-numeric: tabular-nums; }
.dash-empty { padding: 20px 16px; color: var(--dim); font-size: .84rem; text-align: center; }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.chart { display: flex; align-items: flex-end; gap: 5px; height: 140px; padding: 16px 18px; }
.chart .bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 6px; }
.chart .bar i { display: block; border-radius: 5px 5px 2px 2px; min-height: 3px; background: linear-gradient(180deg, var(--yellow), var(--orange-deep)); transition: filter .15s; }
.chart .bar:hover i { filter: brightness(1.3); }
.chart .bar span { font-size: .62rem; color: var(--dim); text-align: center; line-height: 1.15; }
.chart-note { padding: 0 18px 14px; font-size: .76rem; color: var(--dim); }

/* Approvazioni badge */
.approval-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--red); color: #fff; font-size: .65rem; font-weight: 800; margin-left: 6px;
}

/* toast */
#toasts { position: fixed; bottom: 22px; right: 22px; z-index: 500; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 260px; max-width: 380px; padding: 13px 16px; border-radius: 12px;
  background: rgba(6,14,30,.98); border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.9); font-size: .86rem; line-height: 1.5; font-weight: 400;
  display: flex; gap: 10px; align-items: flex-start;
  animation: toastIn .28s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(28px); } }
.toast.ok  { border-color: rgba(62,207,122,.35); }
.toast.err { border-color: rgba(239,75,91,.35); }
.toast .b { width: 3px; align-self: stretch; border-radius: 3px; background: var(--orange); flex: 0 0 3px; }
.toast.ok .b  { background: var(--green); }
.toast.err .b { background: var(--red); }

.skeleton {
  border-radius: var(--radius-lg); height: 280px;
  background: linear-gradient(100deg, rgba(59,130,246,.04) 30%, rgba(59,130,246,.09) 50%, rgba(59,130,246,.04) 70%);
  background-size: 200% 100%; animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.overlay-mask { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 55; display: none; }
.overlay-mask.on { display: block; }

/* ─── SCHERMATA "DISATTIVA VPN/PROXY" ─────── */

html.vpn-locked, html.vpn-locked body { overflow: hidden; }

.vpn-block {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: 24px; overflow-y: auto;
  background:
    radial-gradient(900px 600px at 50% 40%, rgba(220,30,30,.28), transparent 65%),
    rgba(2,4,14,.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: fadeIn .25s ease;
}
.vpn-inner { max-width: 760px; text-align: center; animation: riseIn .45s cubic-bezier(.2,.8,.25,1) both; }

.vpn-icon {
  width: 108px; height: 108px; margin: 0 auto 26px; border-radius: 50%;
  display: grid; place-items: center; color: #ff4d4d;
  background: radial-gradient(circle, rgba(255,60,60,.22), rgba(255,60,60,.05) 70%);
  border: 2px solid rgba(255,77,77,.55);
  animation: vpnPulse 1.8s ease-in-out infinite;
}
@keyframes vpnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,60,60,.45), 0 0 40px -6px rgba(255,60,60,.6); }
  50%      { box-shadow: 0 0 0 18px rgba(255,60,60,0), 0 0 60px -2px rgba(255,60,60,.8); }
}

.vpn-title {
  font-size: clamp(2.6rem, 9vw, 6.2rem); font-weight: 900; font-style: italic; line-height: .95;
  letter-spacing: -1.5px; transform: skewX(-6deg);
  background: linear-gradient(95deg, #ffd1a3 0%, #ff6a2a 35%, #ff2e2e 70%, #ff8a3d 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 6px 30px rgba(255,40,40,.55));
  animation: vpnShake 4s ease-in-out infinite;
}
@keyframes vpnShake {
  0%, 92%, 100% { transform: skewX(-6deg) translateX(0); }
  94% { transform: skewX(-6deg) translateX(-6px); }
  96% { transform: skewX(-6deg) translateX(6px); }
  98% { transform: skewX(-6deg) translateX(-3px); }
}

.vpn-sub { color: #f2d9d0; font-size: 1.08rem; line-height: 1.65; margin: 24px auto 0; max-width: 560px; }
.vpn-sub b { color: #fff; }
.vpn-flags { margin-top: 18px; display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: .82rem; color: var(--muted); min-height: 26px; }
.vpn-retry { margin-top: 26px; padding: 14px 26px; font-size: 1rem; }
.vpn-status { margin-top: 16px; font-size: .86rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 22px; }
.vpn-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); animation: blink 1.2s ease-in-out infinite; }
.vpn-dot.busy { background: var(--yellow); }
.vpn-dot.ok { background: var(--green); animation: none; box-shadow: 0 0 10px var(--green); }
.vpn-dot.bad { background: var(--red); animation: none; }
.vpn-help { margin-top: 30px; font-size: .78rem; color: var(--dim); }

.vpn-block.cleared .vpn-icon { color: var(--green); border-color: rgba(62,207,122,.6); animation: none; box-shadow: 0 0 50px -6px rgba(62,207,122,.7); }

/* ─── RESPONSIVE ───────────────────────────── */

@media (max-width: 1180px) {
  .statbar { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .perks, .mini-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav { grid-template-columns: auto 1fr auto; padding: 0 16px; gap: 12px; }
  .nav-brand span, .balance-pill, .profile-btn span { display: none; }
  .page { padding: 20px 16px 60px; }
  .hero { padding: 30px 0 24px; }
  .browse { grid-template-columns: 1fr; gap: 18px; }
  .side { position: static; }
  .side-title { display: none; }
  .cat-list { flex-direction: row; overflow-x: auto; padding: 6px; }
  .cat { flex: 0 0 auto; }
  .cat.active::before { display: none; }
  .dash-cols { grid-template-columns: 1fr; }

  .acc-side { transform: translateX(-100%); }
  .acc-side.open { transform: none; }
  .acc-main { margin-left: 0; padding: 18px 16px 60px; }
  .acc-burger { display: grid; place-items: center; }
  .profile-card { flex-direction: column; align-items: flex-start; gap: 22px; padding: 24px 20px; }
  .panel { padding: 20px; }
}

@media (max-width: 640px) {
  .nav-search { display: none; }
  .nav { grid-template-columns: auto 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px; }
  .stat .v { font-size: 1.15rem; }
  .toolbar { gap: 10px; }
  .pager { margin-left: 0; }
  .row-2, .price-opts, .pc-grid, .perks, .mini-stats { grid-template-columns: 1fr; }
  .vip-txt span { white-space: normal; }
  #toasts { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }

/* ─── DETAIL MODAL (patch.js) ──────────────────── */

@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 0   rgba(99,160,255,.0),
      0 0 22px -4px rgba(99,160,255,.55),
      inset 0 0 12px -4px rgba(99,160,255,.08);
  }
  50% {
    box-shadow:
      0 0 0 4px  rgba(99,160,255,.10),
      0 0 36px -2px rgba(147,197,253,.7),
      inset 0 0 18px -4px rgba(99,160,255,.14);
  }
}

@keyframes borderFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.btn-cart-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 13px;
  font-weight: 700; font-size: .95rem; letter-spacing: .15px;
  color: #e8f1fb; white-space: nowrap; width: 100%;
  justify-content: center; position: relative;
  background: linear-gradient(135deg, rgba(30,80,200,.55) 0%, rgba(59,130,246,.45) 50%, rgba(99,160,255,.55) 100%);
  border: 1.5px solid transparent;
  background-clip: padding-box;
  animation: glowPulse 2.6s ease-in-out infinite;
  transition: transform .18s ease, opacity .18s;
}
.btn-cart-main::before {
  content: '';
  position: absolute; inset: -1.5px;
  border-radius: 14px; z-index: -1;
  background: linear-gradient(90deg,
    rgba(59,130,246,1) 0%,
    rgba(147,197,253,1) 30%,
    rgba(255,255,255,.85) 50%,
    rgba(147,197,253,1) 70%,
    rgba(59,130,246,1) 100%
  );
  background-size: 200% 100%;
  animation: borderFlow 2.8s linear infinite;
}
.btn-cart-main:hover { transform: translateY(-2px); opacity: .92; }
.btn-cart-main:active { transform: translateY(0); }
.btn-cart-main.in-cart {
  background: linear-gradient(135deg, rgba(20,55,140,.55), rgba(40,90,180,.45));
  animation: glowPulse 3.2s ease-in-out infinite;
}
.btn-cart-main.in-cart::before {
  background: linear-gradient(90deg,
    rgba(62,207,122,1) 0%,
    rgba(147,253,200,1) 40%,
    rgba(62,207,122,1) 100%
  );
  background-size: 200% 100%;
}

.btn-dl-main {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 13px; width: 100%;
  justify-content: center; font-weight: 700; font-size: .95rem;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  border: none; color: #f0f8ff;
  box-shadow: 0 8px 28px -8px rgba(59,130,246,.5);
  transition: transform .18s, box-shadow .18s;
}
.btn-dl-main:hover { transform: translateY(-2px); box-shadow: 0 12px 36px -6px rgba(59,130,246,.65); }

.btn-locked {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 13px; width: 100%;
  justify-content: center; font-weight: 600; font-size: .95rem;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--muted); cursor: not-allowed; opacity: .6;
}

/* detail modal layout */
.detail-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px 16px; border-bottom: 1px solid var(--line); }
.detail-head h3 { font-size: 1.12rem; font-weight: 700; }

.detail-layout {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: 0; flex: 1; overflow: hidden;
}

.detail-left {
  padding: 26px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}

.detail-img-wrap {
  aspect-ratio: 16/10; border-radius: 12px; overflow: hidden;
  background: rgba(59,130,246,.06); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.detail-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-img-ph { display: flex; align-items: center; justify-content: center; height: 100%; opacity: .3; }

.detail-right {
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
  overflow-y: auto;
}

.detail-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.detail-cat {
  font-size: .78rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  color: var(--orange-2); background: rgba(59,130,246,.1); border-radius: 7px;
  padding: 4px 10px; border: 1px solid rgba(59,130,246,.18);
}
.detail-desc {
  font-size: .93rem; line-height: 1.68; color: var(--muted);
  flex: 1; min-height: 0;
}

.detail-info-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: rgba(59,130,246,.04); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px;
}
.detail-info-item { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.detail-info-item .lbl { font-size: .72rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--dim); }
.detail-info-item .val { font-size: .92rem; font-weight: 600; color: var(--text); }

.detail-actions { display: flex; flex-direction: column; gap: 10px; }

/* ─── COMMENTI ─── */
.detail-comments { border-top: 1px solid var(--line); padding-top: 16px; }
.detail-comments h4 { font-size: .88rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }

.comment-list { display: flex; flex-direction: column; gap: 10px; max-height: 240px; overflow-y: auto; }
.comment-item {
  display: flex; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: rgba(59,130,246,.04); border: 1px solid var(--line);
  position: relative;
}
.comment-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: 0 0 32px; background: rgba(59,130,246,.15); display: flex; align-items: center; justify-content: center; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-body-wrap { flex: 1; min-width: 0; }
.comment-author { font-size: .8rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.comment-time { font-size: .72rem; color: var(--dim); font-weight: 400; }
.comment-text { font-size: .88rem; color: var(--muted); margin-top: 3px; line-height: 1.55; }
.comment-del { position: absolute; top: 8px; right: 8px; opacity: 0; transition: .15s; color: var(--red); background: rgba(239,75,91,.1); border-radius: 6px; padding: 4px 6px; }
.comment-item:hover .comment-del { opacity: 1; }

.comment-form { display: flex; gap: 8px; margin-top: 12px; align-items: flex-end; }
.comment-input {
  flex: 1; resize: none; padding: 10px 13px; border-radius: 10px;
  background: rgba(59,130,246,.05); border: 1px solid var(--line);
  color: var(--text); font-size: .88rem; line-height: 1.5;
  min-height: 42px; max-height: 110px; transition: border-color .18s;
}
.comment-input:focus { outline: none; border-color: rgba(59,130,246,.4); }
.comment-send { padding: 10px 14px; border-radius: 10px; flex: 0 0 auto; background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.25); color: var(--orange-2); transition: .18s; }
.comment-send:hover { background: rgba(59,130,246,.22); }

.detail-loading { display: flex; align-items: center; justify-content: center; height: 300px; }
.spin {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(59,130,246,.15);
  border-top-color: var(--orange-2);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── CARRELLO (patch.js) ──────────────────────── */

.cart-nav-wrap { position: relative; }
.cart-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 11px; position: relative;
  color: var(--text); background: rgba(59,130,246,.08);
  border: 1px solid var(--line); transition: .18s;
}
.cart-nav-btn:hover { background: rgba(59,130,246,.16); border-color: rgba(59,130,246,.3); }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--orange); color: #fff;
  border-radius: 99px; font-size: .68rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}

.cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99997; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(400px, 94vw); z-index: 99998;
  background: rgba(5,12,22,.97); border-left: 1px solid var(--line);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  display: flex; flex-direction: column;
  animation: slideInRight .25s cubic-bezier(.2,.8,.25,1) both;
}
@keyframes slideInRight { from { transform: translateX(100%); } }

.cart-head {
  display: flex; align-items: center; gap: 10px;
  padding: 20px 22px; border-bottom: 1px solid var(--line);
  color: var(--orange-2);
}
.cart-head h3 { flex: 1; font-size: 1rem; font-weight: 700; color: var(--text); }
.cart-head-count { color: var(--muted); font-weight: 400; }
.cart-head .x { margin-left: auto; color: var(--muted); transition: color .15s; }
.cart-head .x:hover { color: var(--text); }

.cart-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 40px 20px; color: var(--muted); text-align: center; font-size: .9rem; }

.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(59,130,246,.05); border: 1px solid var(--line);
}
.cart-item-img { width: 48px; height: 48px; border-radius: 9px; overflow: hidden; flex: 0 0 48px; background: rgba(59,130,246,.1); display: flex; align-items: center; justify-content: center; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-cat { font-size: .74rem; color: var(--dim); margin-top: 2px; }
.cart-item-price { font-size: .9rem; font-weight: 700; color: var(--orange-2); flex: 0 0 auto; }
.cart-item-rm { color: var(--muted); border-radius: 6px; padding: 4px 6px; transition: .15s; }
.cart-item-rm:hover { color: var(--red); background: rgba(239,75,91,.1); }

.cart-foot { padding: 14px 22px 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cart-total { display: flex; justify-content: space-between; font-size: .9rem; align-items: center; }
.cart-total span { color: var(--muted); }
.cart-total strong { font-size: 1.08rem; color: var(--text); }
.btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 12px; font-weight: 700; font-size: .95rem;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  border: none; color: #f0f8ff; width: 100%;
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.55);
  transition: transform .18s, box-shadow .18s;
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -6px rgba(59,130,246,.7); }
.btn-checkout:disabled { opacity: .55; transform: none; }

/* ─── CHIP ACCESSO ──────────────────────────────── */
.chip { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }
.chip-free    { background: rgba(62,207,122,.12); color: #3ecf7a; border: 1px solid rgba(62,207,122,.25); }
.chip-paid    { background: rgba(59,130,246,.12); color: #93c5fd; border: 1px solid rgba(59,130,246,.28); }
.chip-vip     { background: rgba(245,197,66,.12); color: #f5c542; border: 1px solid rgba(245,197,66,.28); }
.chip-booster { background: rgba(244,127,255,.1); color: #f47fff; border: 1px solid rgba(244,127,255,.24); }

/* ─── RESPONSIVE modal detail ──────────────────── */
@media (max-width: 740px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-left { border-right: none; border-bottom: 1px solid var(--line); padding: 18px; }
  .detail-right { padding: 18px; }
  .detail-info-row { grid-template-columns: repeat(3, 1fr); }
}
}

/* ─── NAV COMPATTA SULLO SCROLL (pill centrata) ─── */

.nav {
  transition:
    height .32s ease, background .32s ease, backdrop-filter .32s ease,
    padding .32s ease, border-radius .32s ease,
    box-shadow .32s ease, border .32s ease,
    top .32s ease, width .32s ease, left .32s ease, margin .32s ease;
}

/* quando scrolled: pill flottante centrata */
.nav-scrolled {
  position: fixed !important;
  top: 12px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(calc(100vw - 48px), 980px) !important;
  height: 54px !important;
  border-radius: 14px !important;
  background: rgba(4, 8, 20, .88) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-top: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 16px 48px -12px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.04) inset !important;
  padding: 0 18px !important;
}
@keyframes navDropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-scrolled.nav-enter {
  animation: navDropIn .38s cubic-bezier(.2,.8,.25,1) both !important;
}

/* placeholder che occupa lo spazio del nav quando diventa fixed */
.nav-placeholder {
  display: none;
  height: var(--nav-h);
}
.nav-placeholder.active { display: block; }

/* ─── PARTNER BAR ───────────────────────────────── */

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

#partner-bar {
  position: relative; z-index: 90;
  background: rgba(3,8,20,.75);
  border-bottom: 1px solid rgba(59,130,246,.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  animation: pbSlideIn .35s ease both;
  overflow: hidden;
}

.pb-inner {
  display: flex; align-items: center; max-width: 1400px;
  margin: 0 auto; padding: 9px 28px; gap: 16px;
  transition: opacity .28s ease, transform .28s ease;
}
.pb-inner.pb-exit { opacity: 0; transform: translateX(-12px); }

.pb-link {
  display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0;
  color: inherit; text-decoration: none;
}
.pb-link:hover .pb-name { color: var(--orange-2); }
.pb-link:hover .pb-arrow { transform: translateX(4px); opacity: 1; }

.pb-logo {
  height: 30px; width: auto; max-width: 120px;
  object-fit: contain; flex: 0 0 auto;
  border-radius: 6px; filter: brightness(.92);
}

.pb-text { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pb-tag {
  font-size: .65rem; font-weight: 800; letter-spacing: 1px;
  color: var(--orange-2); background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.22); border-radius: 5px;
  padding: 2px 7px; white-space: nowrap; flex: 0 0 auto;
}
.pb-name {
  font-size: .88rem; font-weight: 700; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  transition: color .18s;
}
.pb-desc {
  font-size: .78rem; color: var(--muted); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0;
}
.pb-arrow {
  color: var(--orange-2); flex: 0 0 auto;
  transform: translateX(0); transition: transform .18s; opacity: .6;
}

.pb-dots {
  display: flex; align-items: center; gap: 6px;
  padding: 0 28px 0 0; flex: 0 0 auto;
}
.pb-dots button {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(99,160,255,.25); border: none;
  transition: background .2s, transform .2s; cursor: pointer;
}
.pb-dots button.active { background: var(--orange-2); transform: scale(1.35); }
.pb-dots button:hover  { background: rgba(99,160,255,.55); }

/* ─── PARTNER ADMIN PANEL ───────────────────────── */

.partner-admin-panel { margin-top: 26px; }
.partner-admin-panel .panel-head {
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px;
  flex-wrap: wrap;
}
.partner-admin-panel .panel-head h3 { font-size: 1.02rem; font-weight: 700; }
.partner-count-badge { color: var(--muted); font-size: .82rem; font-weight: 400; }

.partner-admin-item {
  display: flex; align-items: center; gap: 13px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(59,130,246,.04); border: 1px solid var(--line);
  margin-bottom: 8px;
}
.pai-logo { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 9px; overflow: hidden; background: rgba(59,130,246,.08); display: flex; align-items: center; justify-content: center; }
.pai-logo img { width: 100%; height: 100%; object-fit: contain; }
.pai-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pai-info strong { font-size: .9rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pai-sub  { font-size: .76rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pai-url  { font-size: .72rem; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pai-status { font-size: .73rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.pai-status.active   { color: var(--green); background: rgba(62,207,122,.1); border: 1px solid rgba(62,207,122,.2); }
.pai-status.inactive { color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pai-actions { display: flex; gap: 6px; flex: 0 0 auto; }

.partner-admin-form {
  background: rgba(59,130,246,.04); border: 1px solid var(--line);
  border-radius: 13px; padding: 18px; margin-bottom: 14px;
}
.partner-admin-form h4 { font-size: .92rem; font-weight: 700; margin-bottom: 14px; }
.btn-add-partner { width: 100%; justify-content: center; }

@media (max-width: 640px) {
  .pb-inner { padding: 8px 16px; gap: 10px; }
  .pb-desc  { display: none; }
  .pb-dots  { padding: 0 12px 0 0; }
}

/* ═══════════════════════════════════════════
   RESOURCE DETAIL MODAL — rd-* design
   ═══════════════════════════════════════════ */

/* ═══ Detail modal ═══ */
#modal-detail .modal {
  display: flex !important;
  flex-direction: row !important;
  max-width: 1180px !important;
  width: 96vw !important;
  height: 72vh !important;
  max-height: 72vh !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  background: #000 !important;
  box-shadow: 0 0 0 1px rgba(26,111,255,.07), 0 60px 120px -30px rgba(0,0,0,.95) !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* LEFT — gallery */
.fv-left {
  flex: 0 0 58%;
  min-width: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.fv-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  position: relative;
}
.fv-stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.fv-stage iframe {
  width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  display: block;
}
.fv-stage-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: rgba(255,255,255,.12); width: 100%; height: 100%;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.fv-thumbs {
  flex: 0 0 72px;
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto;
  background: #000;
  border-top: 1px solid rgba(255,255,255,.07);
  align-items: center;
}
.fv-thumbs::-webkit-scrollbar { height: 3px; }
.fv-thumbs::-webkit-scrollbar-thumb { background: rgba(26,111,255,.35); border-radius: 3px; }
.fv-thumb {
  flex: 0 0 72px; height: 48px; border-radius: 7px; padding: 0;
  overflow: hidden; cursor: pointer; border: 2px solid rgba(255,255,255,.1);
  transition: border-color .14s, box-shadow .14s; position: relative;
  background: #000;
}
.fv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fv-thumb.on { border-color: #6366f1; box-shadow: 0 0 0 1px rgba(99,102,241,.45); }
.fv-thumb:hover:not(.on) { border-color: rgba(255,255,255,.2); }
.fv-thumb-yt {
  position: absolute; bottom: 3px; right: 3px; font-size: 8px;
  background: rgba(0,0,0,.75); color: #fff; border-radius: 3px; padding: 1px 4px;
  pointer-events: none; line-height: 1.4;
}
#_fvd-slide { position: absolute; inset: 0; padding: 18px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fv-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  background: rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.9); width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 22px; line-height: 1; padding: 0;
  transition: background .15s, border-color .15s;
  -webkit-user-select: none; user-select: none;
}
.fv-nav:hover { background: rgba(26,111,255,.7); border-color: rgba(26,111,255,.5); }
.fv-prev { left: 8px; }
.fv-next { right: 8px; }

/* RIGHT — info panel */
.fv-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #000;
}
.fv-right-inner {
  flex: 1;
  overflow-y: auto;
  padding: 22px 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.fv-right-inner::-webkit-scrollbar { width: 4px; }
.fv-right-inner::-webkit-scrollbar-thumb { background: rgba(26,111,255,.25); border-radius: 4px; }
.fv-accent {
  position: absolute; top: 0; right: 0; bottom: 0; width: 3px;
  background: linear-gradient(to bottom, var(--orange), var(--orange-deep));
  border-radius: 0 18px 18px 0;
}
.fv-close {
  position: absolute; top: 12px; right: 12px; z-index: 20;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75); cursor: pointer; transition: .15s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.fv-close:hover { background: rgba(220,50,50,.25); color: #f87171; border-color: rgba(239,68,68,.35); }

/* rd-* chips, title, meta, desc — still used inside .fv-right-inner */
.rd-chips { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rd-chip {
  font-size: .69rem; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; border-radius: 6px;
  padding: 3px 9px; border: 1px solid transparent; display: inline-block;
}
.rd-chip-cat  { background: rgba(59,130,246,.1);  border-color: rgba(59,130,246,.22);  color: #7eb3f8; }
.rd-chip-free { background: rgba(16,185,129,.1);  border-color: rgba(16,185,129,.25);  color: #34d399; }
.rd-chip-paid { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.25);  color: #fbbf24; }
.rd-chip-vip  { background: rgba(139,92,246,.1);  border-color: rgba(139,92,246,.25);  color: #a78bfa; }
.rd-chip-bst  { background: rgba(236,72,153,.1);  border-color: rgba(236,72,153,.25);  color: #f472b6; }
.rd-chip-owned{ background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.2);   color: #34d399; }
.rd-title {
  font-size: 1.22rem; font-weight: 800; line-height: 1.2;
  letter-spacing: .2px; color: #fff; margin: 0;
  text-transform: uppercase;
}
.rd-desc {
  font-size: .84rem; line-height: 1.65; color: rgba(255,255,255,.5);
  white-space: pre-wrap; max-height: 110px; overflow-y: auto;
}
.rd-desc::-webkit-scrollbar { width: 3px; }
.rd-desc::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 3px; }

/* author row */
.fv-author-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-top: 1px solid rgba(255,255,255,.06);
}
.fv-author-av {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(59,130,246,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: #7eb3f8;
  flex-shrink: 0; overflow: hidden;
}
.fv-author-av img { width: 100%; height: 100%; object-fit: cover; }
.fv-author-av--anon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.fv-author-av--anon svg { width: 22px; height: 22px; color: #7eb3f8; opacity: .7; }
.fv-author-info { flex: 1; min-width: 0; }
.fv-author-name { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.75); }
.fv-author-date { font-size: .76rem; color: rgba(255,255,255,.28); margin-top: 1px; }
.fv-dl-count {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; color: rgba(255,255,255,.3);
  flex-shrink: 0;
}

/* action buttons */
.rd-actions { display: flex; flex-direction: column; gap: 8px; }
.rd-btn-primary {
  width: 100%; padding: 12px 20px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  border-radius: 11px; font-size: .92rem; font-weight: 700;
  color: #fff; letter-spacing: .1px; cursor: pointer;
  transition: .18s; box-shadow: 0 4px 18px rgba(26,111,255,.3); border: none;
}
.rd-btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(26,111,255,.45); }
.rd-btn-primary:disabled { opacity: .35; cursor: not-allowed; }
.rd-btn-primary.active { background: linear-gradient(135deg, #003cb5, #1a6fff); }
.fv-btns-sec { display: flex; gap: 8px; }
.fv-btn-sec {
  flex: 1; padding: 10px 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 10px; font-size: .86rem; font-weight: 600; cursor: pointer; transition: .15s;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.55);
}
.fv-btn-sec:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.rd-actions-sec { display: flex; gap: 8px; margin-top: 4px; }
.rd-btn-edit, .rd-btn-del {
  flex: 1; padding: 9px 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 10px; font-size: .84rem; font-weight: 600; cursor: pointer; transition: .15s;
}
.rd-btn-edit { border: 1px solid rgba(249,115,22,.32); background: rgba(249,115,22,.07); color: #fb923c; }
.rd-btn-edit:hover { background: rgba(249,115,22,.13); }
.rd-btn-del  { border: 1px solid rgba(239,68,68,.28);  background: rgba(239,68,68,.06);  color: #f87171; }
.rd-btn-del:hover  { background: rgba(239,68,68,.12); }
.rd-divider { height: 1px; background: rgba(255,255,255,.06); }

/* Save + Report */
.rd-sec-row { display: flex; gap: 8px; }
.rd-btn-sec {
  flex: 1; padding: 10px 14px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 10px; font-size: .86rem; font-weight: 600; cursor: pointer; transition: .15s;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.55);
}
.rd-btn-sec:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.rd-btn-sec.active { background: rgba(26,111,255,.12); border-color: rgba(26,111,255,.3); color: #60a5fa; }

/* Reactions */
.rd-reactions {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.rd-reactions-hd {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .72rem; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; color: rgba(255,255,255,.3);
}
.rd-react-total { color: rgba(255,255,255,.22); font-weight: 500; }
.rd-react-btns { display: flex; gap: 7px; flex-wrap: wrap; }
.rd-react-btn {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); cursor: pointer; transition: .15s;
  font-family: inherit;
}
.rd-react-btn:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.rd-react-btn.active { background: rgba(26,111,255,.14); border-color: rgba(26,111,255,.35); }
.rd-react-emoji { font-size: 1.05rem; line-height: 1; }
.rd-react-cnt { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.55); min-width: 8px; }

/* Reazioni sulle card della griglia */
._card-react {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.55);
}
._card-react > span { display: inline-flex; align-items: center; gap: 4px; }
._card-react-emoji { font-size: .85rem; line-height: 1; }

/* mobile: single column */
@media (max-width: 700px) {
  #modal-detail .modal { flex-direction: column !important; height: 92vh !important; max-height: 92vh !important; width: 100% !important; border-radius: 16px !important; }
  .fv-left { flex: 0 0 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.06); }
  .fv-accent { display: none; }
  .fv-close { top: 10px; right: 10px; }
}

/* ── download toast notifications ── */
#_dl-toasts {
  position: fixed; bottom: 80px; right: 20px; z-index: 99970;
  display: flex; flex-direction: column-reverse; gap: 8px;
  pointer-events: none; max-width: 300px;
}
._dl-toast {
  display: flex; align-items: center; gap: 10px;
  background: rgba(8,14,30,.97);
  border: 1px solid rgba(59,130,246,.22);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
  backdrop-filter: blur(16px);
  pointer-events: auto;
  animation: _dl-in .3s cubic-bezier(.2,.8,.25,1);
  cursor: default;
}
@keyframes _dl-in { from { opacity: 0; transform: translateX(24px); } }
._dl-toast.out { animation: _dl-out .25s ease forwards; }
@keyframes _dl-out { to { opacity: 0; transform: translateX(24px); } }
._dl-t-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.2);
  display: flex; align-items: center; justify-content: center; color: #4ade80;
}
._dl-t-text { font-size: .78rem; color: rgba(255,255,255,.55); line-height: 1.4; }
._dl-t-text strong { color: rgba(255,255,255,.85); font-weight: 700; }
._dl-t-res { color: rgba(255,255,255,.4); }

/* ─── STAT LIVE PANEL (dropdown hover su statbar) ─── */

.nav-stat-panel {
  position: fixed; z-index: 9990;
  min-width: 230px; max-width: 290px;
  background: rgba(3,8,20,.97);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 14px;
  box-shadow: 0 28px 64px -12px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04) inset;
  backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%);
  overflow: hidden;
  opacity: 0; transform: translateY(-6px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  pointer-events: none;
}
.nav-stat-panel.open {
  opacity: 1; transform: translateY(0);
  visibility: visible;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
  pointer-events: auto;
}

.nsp-head {
  padding: 11px 14px 9px;
  font-size: .58rem; font-weight: 800; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--dim);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nsp-body { max-height: 310px; overflow-y: auto; padding: 4px 0; }
.nsp-body::-webkit-scrollbar { width: 4px; }
.nsp-body::-webkit-scrollbar-thumb { background: rgba(59,130,246,.25); border-radius: 4px; }
.nsp-sect {
  padding: 9px 14px 4px;
  font-size: .56rem; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--dim);
}
.nsp-sect + .nsp-sect, .nsp-row + .nsp-sect { border-top: 1px solid rgba(255,255,255,.05); margin-top: 4px; padding-top: 11px; }
.nsp-row {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 14px; transition: background .12s;
}
.nsp-row:hover { background: rgba(59,130,246,.07); }
.nsp-av {
  width: 28px; height: 28px; flex: 0 0 28px;
  border-radius: 50%; object-fit: cover;
  background: rgba(41,121,255,.15);
}
.nsp-name {
  font-size: .84rem; font-weight: 500; color: var(--muted);
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nsp-badge {
  font-size: .56rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  padding: 2px 7px; border-radius: 5px; flex: 0 0 auto;
  color: var(--orange-2); background: rgba(59,130,246,.14); border: 1px solid rgba(59,130,246,.28);
}
.nsp-badge.owner   { color: #f5c542; background: rgba(245,197,66,.1);  border-color: rgba(245,197,66,.3); }
.nsp-badge.coowner { color: #e879f9; background: rgba(232,121,249,.1); border-color: rgba(232,121,249,.28); }
.nsp-badge.admin   { color: #f87171; background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.28); }
.nsp-dl-info { flex: 1; min-width: 0; }
.nsp-dl-title { font-size: .84rem; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nsp-dl-meta  { font-size: .72rem; color: var(--dim); margin-top: 1px; }
.nsp-empty    { padding: 14px; font-size: .83rem; color: var(--dim); text-align: center; }

/* stat cells get a subtle hover highlight when panel is active */
.stat { position: relative; transition: background .16s; }
.stat.nsp-active { background: rgba(59,130,246,.06); }

/* rd-* comments */
.rd-comments { display: flex; flex-direction: column; gap: 12px; }
.rd-comm-hd {
  font-size: .75rem; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  display: flex; align-items: center; gap: 8px;
}
.rd-comm-count {
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.2);
  border-radius: 20px; padding: 1px 8px; color: #7eb3f8; font-size: .72rem; font-weight: 700;
}
.rd-comm-list { display: flex; flex-direction: column; gap: 8px; }
.rd-comm-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 11px 13px; position: relative;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05); border-radius: 10px;
}
.rd-comm-av {
  width: 30px; height: 30px; border-radius: 50%;
  overflow: hidden; flex: 0 0 30px; background: rgba(59,130,246,.14);
}
.rd-comm-av img { width: 100%; height: 100%; object-fit: cover; }
.rd-comm-body { flex: 1; min-width: 0; }
.rd-comm-name { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.7); }
.rd-comm-time { font-size: .72rem; color: rgba(255,255,255,.26); margin-left: 7px; }
.rd-comm-text { font-size: .86rem; color: rgba(255,255,255,.5); margin-top: 4px; line-height: 1.5; }
.rd-comm-del {
  position: absolute; top: 8px; right: 8px;
  opacity: 0; transition: .15s; cursor: pointer;
  background: rgba(239,68,68,.1); border-radius: 6px;
  padding: 3px 8px; font-size: .75rem; color: #f87171; border: none;
}
.rd-comm-item:hover .rd-comm-del { opacity: 1; }
.rd-comm-empty { font-size: .86rem; color: rgba(255,255,255,.22); font-style: italic; }
.rd-comm-form { display: flex; flex-direction: column; gap: 8px; }
.rd-comm-inp {
  width: 100%; padding: 10px 14px; box-sizing: border-box;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; color: rgba(255,255,255,.8);
  font-size: .875rem; line-height: 1.5; resize: vertical; min-height: 66px;
  transition: border-color .15s;
}
.rd-comm-inp:focus { outline: none; border-color: rgba(59,130,246,.38); }
.rd-comm-inp::placeholder { color: rgba(255,255,255,.18); }
.rd-comm-send {
  align-self: flex-end; padding: 9px 20px;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.28);
  border-radius: 9px; color: #7eb3f8; font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: .15s;
}
.rd-comm-send:hover { background: rgba(59,130,246,.22); }

@media (max-width: 640px) {
  .rd-hero-img { max-height: 240px; }
  .rd-body { padding: 16px 18px 24px; }
  .rd-title { font-size: 1.28rem; }
}

/* chips (compat) */
.chip { font-size: .73rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 3px 9px; border-radius: 6px; }
.chip-free    { background: rgba(62,207,122,.12); border: 1px solid rgba(62,207,122,.28); color: #3ecf7a; }
.chip-paid    { background: rgba(245,197,66,.1);  border: 1px solid rgba(245,197,66,.25);  color: #f5c542; }
.chip-vip     { background: rgba(244,127,255,.1); border: 1px solid rgba(244,127,255,.22); color: var(--pink); }
.chip-booster { background: rgba(88,101,242,.12); border: 1px solid rgba(88,101,242,.28); color: #8891f7; }
.chip-owned   { background: rgba(62,207,122,.1);  border: 1px solid rgba(62,207,122,.22);  color: #3ecf7a; }

/* ═══════════════════════════════════════════
   STAFF UPLOAD FAB + MODAL
   ═══════════════════════════════════════════ */
.staff-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 1100;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px -8px rgba(59,130,246,.6);
  transition: transform .18s, box-shadow .18s;
}
.staff-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 14px 38px -8px rgba(59,130,246,.75); }
.staff-fab:active { transform: scale(.96); }

.staff-upload-bg {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(2,4,14,.82); backdrop-filter: blur(10px);
  display: none; place-items: center; padding: 24px;
  animation: fadeIn .18s ease;
}
.staff-upload-bg.open { display: grid; }
.staff-upload-modal {
  width: 100%; max-width: 640px; max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(4,12,26,.99), rgba(2,7,18,.99));
  border: 1px solid rgba(59,130,246,.22);
  border-radius: 20px;
  box-shadow: 0 60px 120px -40px #000;
  animation: riseIn .28s cubic-bezier(.2,.8,.25,1) both;
}
.suf-head {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(4,12,28,.96);
  backdrop-filter: blur(10px); z-index: 2; border-radius: 20px 20px 0 0;
}
.suf-head h3 { font-size: 1.05rem; font-weight: 700; flex: 1; }
.suf-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.suf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .suf-row { grid-template-columns: 1fr; } }
.suf-label { display: flex; flex-direction: column; gap: 6px; font-size: .87rem; font-weight: 600; color: var(--muted); }
.suf-label span { font-size: .8rem; color: var(--dim); font-weight: 400; }
.suf-input {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: rgba(59,130,246,.05); border: 1px solid var(--line);
  color: var(--text); font-size: .9rem; transition: border-color .18s;
}
.suf-input:focus { outline: none; border-color: rgba(59,130,246,.4); }
.suf-textarea { min-height: 80px; resize: vertical; }
.suf-select { cursor: pointer; }
.suf-access-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.suf-access-btn {
  padding: 8px 16px; border-radius: 9px; font-size: .84rem; font-weight: 600;
  background: rgba(59,130,246,.06); border: 1px solid var(--line-2);
  color: var(--muted); cursor: pointer; transition: .15s;
}
.suf-access-btn.active {
  background: rgba(59,130,246,.16); border-color: rgba(59,130,246,.36);
  color: var(--orange-2);
}
.suf-price-row { display: none; }
.suf-price-row.visible { display: grid; }
.suf-foot {
  padding: 18px 24px 24px; border-top: 1px solid var(--line);
  display: flex; gap: 10px; justify-content: flex-end;
}


/* ── Foto multiple + video YouTube (editor e galleria) ── */
.mx { display: flex; flex-direction: column; gap: 8px; }
.mx-drop { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); font-size: .86rem; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.mx-drop:hover, .mx-drop.over, .mx-drop:focus-visible { background: rgba(59,130,246,.08); border-color: var(--orange); outline: none; }
.mx-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.mx-thumbs:empty { display: none; }
.mx-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-2); }
.mx-thumb:first-child { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.mx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-num { position: absolute; left: 5px; bottom: 5px; padding: 1px 7px; border-radius: 999px; background: rgba(2,5,8,.82); color: #fff; font-size: 11px; font-weight: 700; }
.mx-del { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(2,5,8,.82); color: #fff; font-size: 11px; cursor: pointer; line-height: 22px; padding: 0; }
.mx-del:hover { background: var(--red); }
.mx-status { font-size: 12.5px; color: var(--muted); min-height: 0; }
.mx-status:empty { display: none; }
.mx-vlabel { margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--text); }
.mx-vlabel small { color: var(--dim); font-weight: 400; }
.mx-vprev { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--green); }
.mx-vprev:empty { display: none; }
.mx-vprev img { width: 96px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.mx-vprev .mx-bad { color: var(--red); }

.mx-detail { margin-bottom: 14px; display: flex; flex-direction: column; gap: 10px; }
.mx-gallery { position: relative; }
.mx-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.mx-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mx-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mx-nav { position: absolute; top: calc(50% - 36px); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(2,5,8,.7); color: #fff; font-size: 22px; line-height: 34px; cursor: pointer; z-index: 2; padding: 0; }
.mx-nav:hover { background: var(--orange); }
.mx-prev { left: 8px; }
.mx-next { right: 8px; }
.mx-strip { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px; }
.mx-mini { position: relative; flex: 0 0 auto; width: 76px; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--panel-2); cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.mx-mini.on, .mx-mini:hover { opacity: 1; border-color: var(--orange); }
.mx-mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-mini span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 18px; text-shadow: 0 1px 4px #000; }
.mx-edit-media { align-self: flex-start; font-size: 13px; }
@media (max-width: 520px) { .mx-nav { top: calc(50% - 30px); width: 30px; height: 30px; line-height: 28px; font-size: 18px; } }

/* ═══════════════════════════════════════════════════════
   RESTYLE v2 — Hero, Statbar, Cards, Browse
   ═══════════════════════════════════════════════════════ */

/* ─── HERO: dramatic upgrade ─── */
.hero {
  padding: 64px 0 52px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: -100px; left: -5%;
  width: 110%; height: 620px;
  background:
    radial-gradient(ellipse 65% 55% at 30% 55%, rgba(29,78,216,.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 60% 40%, rgba(59,130,246,.09) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
}

/* ── Eyebrow badge ── */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(29,78,216,.22), rgba(59,130,246,.11));
  border: 1px solid rgba(59,130,246,.38);
  font-size: .71rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase;
  color: rgba(147,197,253,.9); margin-bottom: 22px;
  animation: heroIn .45s .02s both;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: #60a5fa;
  box-shadow: 0 0 8px #60a5fa, 0 0 18px rgba(96,165,250,.5);
  animation: blink 2.5s ease-in-out infinite;
}

/* ── Title: bigger, gradient, no text-shadow (gradient text + filter) ── */
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
  background: linear-gradient(128deg, #ffffff 0%, #dbeafe 32%, #93c5fd 58%, #60a5fa 78%, #3b82f6 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 56px rgba(59,130,246,.5));
  letter-spacing: 8px; margin-bottom: 28px;
  line-height: 1.02;
}

/* ── Subtitle ── */
.hero-sub {
  font-size: clamp(.86rem, 1.35vw, 1rem);
  color: rgba(138,168,200,.78); max-width: 500px; line-height: 1.72;
  font-weight: 400; margin-top: 14px;
  animation: heroIn .6s .28s both;
}

/* ── Tags ── */
.hero-tags { margin-top: 22px; gap: 8px; }
.hero-tags span {
  padding: 6px 16px; font-size: .68rem; letter-spacing: 1.5px;
  background: rgba(59,130,246,.07); border-color: rgba(59,130,246,.22);
  color: rgba(120,168,240,.75); font-weight: 700;
  transition: background .2s, border-color .2s, color .18s, transform .15s;
}
.hero-tags span:hover {
  background: rgba(59,130,246,.15); border-color: rgba(59,130,246,.48);
  color: #bfdbfe; transform: translateY(-2px);
}

/* ── Hero actions ── */
.hero-actions {
  display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap;
  animation: heroIn .6s .38s both;
}
.hero-cta {
  padding: 13px 30px; font-size: .92rem; font-weight: 700; border-radius: 12px;
  letter-spacing: .3px; box-shadow: 0 8px 32px -10px rgba(59,130,246,.6);
}
.hero-cta:hover { box-shadow: 0 12px 40px -8px rgba(59,130,246,.75); }
.hero-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-size: .88rem; font-weight: 600;
  color: var(--muted); border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  transition: background .18s, border-color .18s, color .18s;
}
.hero-cta-ghost:hover {
  background: rgba(255,255,255,.08); border-color: rgba(88,101,242,.45);
  color: var(--text);
}

/* ─── STATBAR ─── */
.statbar { margin-bottom: 46px; }

.stats {
  background: rgba(2,5,18,.9);
  border: 1px solid rgba(59,130,246,.14);
  border-radius: 18px;
  backdrop-filter: blur(28px);
  position: relative; overflow: visible;
}
.stats::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59,130,246,.45) 25%,
    rgba(147,197,253,.65) 50%,
    rgba(59,130,246,.45) 75%,
    transparent 100%);
  border-radius: 999px;
}

.stat { padding: 22px 24px; gap: 15px; }
.stat .v { font-size: 1.85rem; font-weight: 900; letter-spacing: -.7px; }
.stat .l { font-size: .59rem; letter-spacing: 2.2px; }
.stat-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; }

.vip-card {
  background: rgba(2,5,18,.9);
  border: 1px solid rgba(59,130,246,.15);
  border-radius: 18px;
  backdrop-filter: blur(28px);
  position: relative;
}
.vip-card::before {
  content: '';
  position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59,130,246,.45) 25%,
    rgba(147,197,253,.65) 50%,
    rgba(59,130,246,.45) 75%,
    transparent 100%);
  border-radius: 999px; z-index: 1;
}

/* ─── BROWSE: sidebar + grid ─── */
.browse { gap: 26px; }

.side-search {
  background: rgba(2,6,20,.92); border-color: rgba(59,130,246,.16);
  border-radius: 14px;
}
.cat-list {
  background: rgba(2,6,20,.92); border-color: rgba(59,130,246,.1);
  border-radius: 16px; gap: 2px; padding: 8px;
}
.cat { border-radius: 10px; padding: 11px 13px; }
.cat.active {
  background: linear-gradient(90deg, rgba(59,130,246,.2), rgba(59,130,246,.05));
}
.cat.active::before {
  background: linear-gradient(135deg, #93c5fd, #3b82f6);
  box-shadow: 0 0 12px rgba(59,130,246,.55);
  width: 3px; height: 20px;
}

/* ─── TOOLBAR ─── */
.toolbar {
  background: rgba(4, 10, 28, 0.92) !important;
  border: 1px solid rgba(26, 111, 255, 0.22) !important;
  border-radius: 16px !important;
  padding: 12px 22px !important;
  backdrop-filter: blur(24px) !important;
  margin-bottom: 22px !important;
  box-shadow: 0 0 0 1px rgba(26,111,255,.06) inset, 0 8px 32px -12px rgba(0,0,0,.7) !important;
  position: relative !important;
}
.toolbar::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,111,255,.5) 35%, rgba(94,168,255,.7) 50%, rgba(26,111,255,.5) 65%, transparent);
  border-radius: 999px;
}
.found { color: rgba(255,255,255,.55) !important; font-size: .88rem !important; }
.found b { color: #fff !important; font-weight: 900 !important; font-size: 1.05rem !important; }
.found svg { color: var(--orange-2) !important; }
.perpage { font-size: .65rem !important; letter-spacing: 2px !important; color: rgba(255,255,255,.3) !important; }
.seg { background: rgba(2,6,20,.9) !important; border-color: rgba(26,111,255,.18) !important; border-radius: 10px !important; padding: 3px !important; }
.seg button { font-size: .78rem !important; font-weight: 800 !important; letter-spacing: .5px !important; padding: 5px 11px !important; color: rgba(255,255,255,.35) !important; }
.seg button.on {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)) !important;
  color: #fff !important;
  box-shadow: 0 3px 12px -4px rgba(26,111,255,.6) !important;
}
.seg button:not(.on):hover { color: rgba(255,255,255,.8) !important; }
.pager {
  background: rgba(4,10,28,.9) !important;
  border-color: rgba(26,111,255,.18) !important;
  border-radius: 12px !important;
}

/* ─── CARDS ─── */
.grid { gap: 18px; }

.card {
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(6,14,34,.97) 0%, rgba(3,8,20,.99) 100%);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 16px -6px rgba(0,0,0,.7);
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,.48);
  box-shadow:
    0 24px 52px -18px rgba(0,0,0,.92),
    0 0 0 1px rgba(59,130,246,.14) inset,
    0 0 34px -10px rgba(59,130,246,.48);
}

/* shine line on top of card on hover */
.card::after {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(59,130,246,.5) 30%,
    rgba(147,197,253,.7) 50%, rgba(59,130,246,.5) 70%, transparent 100%);
  border-radius: 999px;
  opacity: 0; transition: opacity .28s;
}
.card:hover::after { opacity: 1; }

.card-img { border-radius: 18px 18px 0 0; }
.card-body { padding: 16px 18px 20px; gap: 10px; }
.card-title { font-size: 1.02rem; font-weight: 800; color: #ddeeff; }
.card-cat { font-size: .63rem; letter-spacing: 1.8px; opacity: 1; }
.card-desc { font-size: .82rem; }

/* ─── EMPTY STATE ─── */
.empty {
  border-color: rgba(59,130,246,.12);
  background: rgba(2,6,20,.6);
}

/* ─── HIDE Discord CTA if user is logged in ─── */
body.logged-in #hero-discord-cta { display: none; }

/* ═══════════════════════════════════════════════════════
   RESTYLE v3 — Nav brand, hero enhancements, divider,
   statbar numbers, card gradient border, sidebar tags
   ═══════════════════════════════════════════════════════ */

/* ─── NAV BRAND: più grande e luminoso ─── */
.nav-brand span {
  font-size: 1.1rem;
  letter-spacing: 3px;
  background: linear-gradient(120deg, #ffffff 0%, #bfdbfe 45%, #93c5fd 80%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(59,130,246,.55));
}
.nav-brand img {
  width: 38px; height: 38px; border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(59,130,246,.4), 0 0 22px -4px rgba(59,130,246,.7);
}

/* ─── HERO: più spazio, glow più ampio ─── */
.hero { padding: 72px 0 56px; }
.hero::after {
  background:
    radial-gradient(ellipse 80% 60% at 25% 55%, rgba(29,78,216,.25) 0%, transparent 62%),
    radial-gradient(ellipse 50% 40% at 70% 30%, rgba(59,130,246,.10) 0%, transparent 70%);
}

/* ── Eyebrow: testo un po' più grande ── */
.hero-eyebrow {
  font-size: .74rem; letter-spacing: 1.5px; padding: 8px 18px;
}

/* ── Titolo: gradient più bianco/vivido ── */
.hero-title {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  background: linear-gradient(118deg, #ffffff 0%, #e0f0ff 28%, #93c5fd 55%, #60a5fa 78%, #2563eb 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 70px rgba(59,130,246,.55));
  letter-spacing: 10px;
  margin-bottom: 30px;
}

/* ── Cycle box: bordo più luminoso ── */
.hero-cycle-box {
  background: rgba(41,121,255,.28);
  border: 1px solid rgba(96,165,250,.65);
  box-shadow: 0 0 18px -6px rgba(59,130,246,.4);
  border-radius: 9px; padding: 6px 18px;
}
.hero-cycle-word { color: #e8f4ff; font-weight: 800; }

/* ── Sottotitolo: leggermente più largo ── */
.hero-sub { max-width: 560px; font-size: clamp(.9rem, 1.4vw, 1.02rem); margin-top: 16px; }

/* ── Hero divider decorativo ── */
.hero-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 42px 0 0; opacity: .5;
  animation: heroIn .6s .45s both;
}
.hero-divider::before,
.hero-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,.5));
}
.hero-divider::after { background: linear-gradient(270deg, transparent, rgba(59,130,246,.5)); }
.hero-divider span {
  font-size: .58rem; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(59,130,246,.7); font-weight: 800; white-space: nowrap;
}

/* ─── STATBAR: numeri grandi, layout premium ─── */
.statbar { margin-top: 40px; }

.stats { border-radius: 20px; }
.stat { padding: 24px 26px; }
.stat .v {
  font-size: 2.1rem; font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 60%, #93c5fd 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .l {
  font-size: .58rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(138,168,200,.6); font-weight: 700;
}
.stat-ico {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 13px;
}
/* primo stat: accent verde online */
.stat.live .stat-ico {
  background: rgba(62,207,122,.12); border-color: rgba(62,207,122,.28);
  box-shadow: 0 0 18px -6px rgba(62,207,122,.4);
}
/* stat generico: accent blu */
.stat .stat-ico {
  background: rgba(59,130,246,.1); border-color: rgba(59,130,246,.22);
}

/* ─── CARDS: gradient border al hover ─── */
.card {
  transition: transform .26s cubic-bezier(.2,.8,.25,1), box-shadow .26s, border-color .26s;
}

/* badge categoria colorata in cima a sinistra */
.card-cat {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 6px; font-size: .61rem; letter-spacing: 1.4px;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.22);
  color: rgba(147,197,253,.85); font-weight: 700; width: fit-content;
}

/* meta row più compatta e leggibile */
.card-meta { font-size: .73rem; gap: 8px; padding-top: 10px; }

/* ─── SIDE: search bar più premium ─── */
.side-search {
  height: 52px; border-radius: 15px;
  background: rgba(3,7,20,.95); border-color: rgba(59,130,246,.18);
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.6);
}
.side-search:focus-within {
  border-color: rgba(59,130,246,.45);
  box-shadow: 0 0 0 3px rgba(59,130,246,.1), 0 4px 24px -8px rgba(0,0,0,.6);
}

/* ── Categorie: active più bold, numero badge ── */
.cat.active { font-weight: 700; color: #c8e0ff; }
.cat .n {
  background: rgba(59,130,246,.15); color: rgba(147,197,253,.75);
  border: 1px solid rgba(59,130,246,.18); border-radius: 7px;
  font-size: .69rem; font-weight: 700; padding: 2px 8px;
}
.cat.active .n {
  background: rgba(59,130,246,.28); color: var(--orange-2);
  border-color: rgba(59,130,246,.38);
}

/* ─── TOOLBAR: chips perpage più visibili ─── */
.toolbar { padding: 12px 20px; border-radius: 16px; }
.seg button.on {
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 4px 14px -6px rgba(59,130,246,.6);
  color: #f0f8ff;
}
.found b { color: #c8e0ff; font-size: 1.05rem; }

/* ─── EMPTY STATE: più friendly ─── */
.empty { border-radius: 20px; padding: 80px 20px; }

/* ─── BOTTOM PAGER: center elegante ─── */
.pager-bottom .pager { border-radius: 16px; }

/* ─── VIP CARD: accent gradient più visibile ─── */
.vip-card {
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(4,10,30,.94) 0%, rgba(2,6,18,.97) 100%);
}
.vip-card::before {
  background: linear-gradient(105deg, rgba(59,130,246,.18) 0%, rgba(29,78,216,.08) 50%, transparent 75%);
}
.vip-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(59,130,246,.18); border-color: rgba(59,130,246,.38);
  box-shadow: 0 0 20px -6px rgba(59,130,246,.45);
}
.vip-txt b { font-size: 1rem; font-weight: 800; }

/* ─── MODAL: header accent line ─── */
.modal {
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(4,10,28,.99) 0%, rgba(2,6,16,.99) 100%);
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.98), 0 0 0 1px rgba(255,255,255,.06);
}
.modal::before {
  content: '';
  display: block; height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(59,130,246,.5) 25%, rgba(147,197,253,.7) 50%, rgba(59,130,246,.5) 75%, transparent 95%);
  border-radius: 22px 22px 0 0;
  position: absolute; top: 0; left: 0; right: 0;
}
.modal-head { padding: 22px 24px 18px; }
.modal-head h3 { font-size: 1.05rem; font-weight: 800; }

/* ─── CHIP free/vip: più visibili ─── */
.chip-free { box-shadow: 0 2px 12px -4px rgba(62,207,122,.3); }
.chip-vip  { box-shadow: 0 4px 18px -6px rgba(239,40,58,.55); }

/* ═══════════════════════════════════════════════════════
   RESTYLE v4 — Spacing fix + animations
   ═══════════════════════════════════════════════════════ */

/* ── Tighten spacing: hero meno padding bottom, statbar senza gap top ── */
.hero         { padding: 24px 0 28px !important; }
.hero-actions { margin-top: 26px !important; }
.statbar      { margin-top: 4px !important; margin-bottom: 36px !important; }

/* ══════════════════════════════
   HERO TITLE — shimmer animato
══════════════════════════════ */
.hero-title {
  background: linear-gradient(118deg,
    #fff 0%, #e8f4ff 15%,
    #93c5fd 28%, #60a5fa 38%,
    #fff 50%,
    #93c5fd 62%, #60a5fa 72%,
    #fff 85%, #dbeafe 100%) !important;
  background-size: 250% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 60px rgba(59,130,246,.55)) !important;
  animation: heroIn .6s .06s both, titleShimmer 6s 1s linear infinite !important;
}
@keyframes titleShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 250% center; }
}

/* ══════════════════════════════
   EYEBROW — pulse sottile
══════════════════════════════ */
.hero-eyebrow {
  animation: heroIn .45s .02s both, eyebrowPulse 3.5s 1.2s ease-in-out infinite !important;
}
@keyframes eyebrowPulse {
  0%, 100% { border-color: rgba(59,130,246,.38);  box-shadow: none; }
  50%       { border-color: rgba(96,165,250,.7);   box-shadow: 0 0 18px -6px rgba(59,130,246,.4); }
}

/* ══════════════════════════════
   TAGS — hover glow + cursor
══════════════════════════════ */
.hero-tags span { cursor: default; }
.hero-tags span:hover {
  box-shadow: 0 0 16px -4px rgba(59,130,246,.55) !important;
  background: rgba(59,130,246,.18) !important;
  border-color: rgba(96,165,250,.6) !important;
  color: #dbeafe !important;
}

/* ══════════════════════════════
   STATBAR — accent line pulse
══════════════════════════════ */
@keyframes accentPulse {
  0%, 100% { opacity: .55; }
  50%       { opacity: 1; filter: brightness(1.4); }
}
.stats::before     { animation: accentPulse 2.8s ease-in-out infinite; }
.vip-card::before  { animation: accentPulse 2.8s 1.4s ease-in-out infinite; }

/* numeri con glow leggero quando appaiono */
@keyframes numIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stat .v { animation: numIn .5s cubic-bezier(.2,.8,.25,1) both; }

/* statbar: hover glow sul singolo stat */
.stat { transition: background .2s; }
.stat:hover { background: rgba(59,130,246,.05); }

/* ══════════════════════════════
   CARDS — shimmer sweep al hover
══════════════════════════════ */
@keyframes cardShimmerSweep {
  from { background-position: 200% center; }
  to   { background-position: -100% center; }
}
.card::before {
  background: linear-gradient(
    105deg,
    transparent 0%, transparent 30%,
    rgba(255,255,255,.07) 50%,
    transparent 70%, transparent 100%
  ) !important;
  background-size: 350% 100% !important;
  background-position: 200% center !important;
  opacity: 1 !important;
  transition: none !important;
}
.card:hover::before {
  animation: cardShimmerSweep .65s cubic-bezier(.4,0,.2,1) forwards !important;
}

/* card image: overlay gradient più profondo */
.card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(3,8,20,.85) 100%);
  pointer-events: none;
}

/* ══════════════════════════════
   CATEGORIE — hover glow, active glow
══════════════════════════════ */
.cat { transition: background .16s, box-shadow .16s, color .16s; }
.cat:hover {
  background: rgba(59,130,246,.1) !important;
  box-shadow: inset 2px 0 10px -4px rgba(59,130,246,.35);
}
.cat.active {
  box-shadow: inset 0 0 20px -10px rgba(59,130,246,.4),
              0 0 16px -8px rgba(59,130,246,.3) !important;
}

/* ══════════════════════════════
   NAV BRAND — logo pulse più drammatico
══════════════════════════════ */
@keyframes logoPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(59,130,246,.45),
                0 0 20px -5px rgba(59,130,246,.6);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(147,197,253,.75),
                0 0 34px 2px rgba(59,130,246,.75);
  }
}
.nav-brand img { animation: logoPulse 3s ease-in-out infinite !important; }

/* ══════════════════════════════
   VIP CARD — subtle shimmer
══════════════════════════════ */
@keyframes vipShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.vip-card {
  background-image: linear-gradient(
    105deg,
    transparent 30%,
    rgba(59,130,246,.06) 50%,
    transparent 70%
  ) !important;
  background-size: 300% 100% !important;
  animation: vipShimmer 6s linear infinite !important;
  background-color: rgba(2,5,18,.9) !important;
}

/* ══════════════════════════════
   CHIP — glow vivido
══════════════════════════════ */
.chip-free { box-shadow: 0 0 14px -5px rgba(62,207,122,.45), inset 0 0 8px -4px rgba(62,207,122,.2); }
.chip-vip  { box-shadow: 0 0 18px -6px rgba(239,40,58,.65), inset 0 0 8px -4px rgba(239,40,58,.2); }
.chip-paid { box-shadow: 0 0 14px -5px rgba(59,130,246,.4); }

/* ══════════════════════════════
   SCROLL: fade-in sulle sezioni
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.browse {
  animation: fadeUp .7s .35s cubic-bezier(.2,.8,.25,1) both;
}

/* ══════════════════════════════
   PAGER — hover più vivido
══════════════════════════════ */
.pager button:hover:not(:disabled) {
  background: rgba(59,130,246,.18) !important;
  box-shadow: 0 0 10px -4px rgba(59,130,246,.4);
}

/* ═══════════════════════════════════════════════════════
   RESTYLE v5 — Performance + Fix luce storta + Glow
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   PERFORMANCE: rimuovi backdrop-filter dai
   elementi che lo usano ogni frame
══════════════════════════════════════════ */
.stats,
.vip-card,
.side-search,
.cat-list,
.panel,
.card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* sfondo solido per compensare */
.stats     { background: rgba(3,8,24,.96) !important; }
.vip-card  { background: rgba(3,8,24,.96) !important; }
.side-search { background: rgba(3,8,24,.97) !important; }
.cat-list  { background: rgba(3,7,22,.97) !important; }
.card      { background: linear-gradient(155deg, rgba(6,14,34,.98) 0%, rgba(3,8,20,1) 100%) !important; }

/* will-change solo sugli elementi animati */
.card, .hero-title, .nav-brand img { will-change: transform; }

/* ══════════════════════════════════════════
   FIX LUCE STORTA: rimuovi hero::after asimmetrico
   e filter: drop-shadow sul titolo
══════════════════════════════════════════ */
.hero::after { display: none !important; }

.hero-title {
  filter: none !important;
  /* shimmer dritto a 90deg — nessuna luce diagonale */
  background: linear-gradient(90deg,
    #fff 0%, #e8f4ff 15%,
    #60a5fa 30%, #93c5fd 45%,
    #fff 55%,
    #93c5fd 68%, #60a5fa 80%,
    #e8f4ff 90%, #fff 100%
  ) !important;
  background-size: 280% auto !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: titleShimmer 5s linear infinite !important;
}
@keyframes titleShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 280% center; }
}

/* rimuovi anche il card-img overlay che crea ombre strane */
.card-img::after { display: none !important; }

/* ══════════════════════════════════════════
   ZERO DELAY su tutte le animazioni hero
══════════════════════════════════════════ */
.hero-eyebrow,
.hero-title,
.hero-cycle-wrap,
.hero-sub,
.hero-tags,
.hero-actions,
.statbar,
.browse {
  animation-delay: 0s !important;
}

/* ══════════════════════════════════════════
   GLOW migliorato — solo box-shadow (GPU cheap)
══════════════════════════════════════════ */

/* stat box glow al hover */
.stat:hover {
  background: rgba(59,130,246,.07) !important;
  box-shadow: inset 0 0 30px -15px rgba(59,130,246,.3) !important;
}

/* statbar outer glow */
.stats {
  box-shadow:
    0 0 0 1px rgba(59,130,246,.14),
    0 8px 40px -16px rgba(59,130,246,.4),
    0 0 60px -30px rgba(29,78,216,.5) !important;
  border: 1px solid rgba(59,130,246,.16) !important;
}
/* animazione pulsante sulla statbar intera */
@keyframes statbarGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(59,130,246,.14), 0 8px 40px -16px rgba(59,130,246,.35), 0 0 60px -30px rgba(29,78,216,.4); }
  50%       { box-shadow: 0 0 0 1px rgba(96,165,250,.28), 0 8px 50px -12px rgba(59,130,246,.55), 0 0 80px -20px rgba(29,78,216,.65); }
}
.stats { animation: statbarGlow 3s ease-in-out infinite !important; }

/* VIP card glow */
.vip-card {
  box-shadow:
    0 0 0 1px rgba(59,130,246,.16),
    0 8px 40px -16px rgba(59,130,246,.3) !important;
  animation: none !important;
  background: rgba(3,8,24,.96) !important;
  background-image: none !important;
}

/* Cards: glow più forte al hover */
.card:hover {
  box-shadow:
    0 20px 50px -18px rgba(0,0,0,.95),
    0 0 0 1px rgba(59,130,246,.5),
    0 0 40px -12px rgba(59,130,246,.55) !important;
}

/* Nav brand: glow sul nome testo */
.nav-brand span {
  text-shadow: none;
  filter: drop-shadow(0 0 8px rgba(59,130,246,.5));
}

/* Search nav: glow al focus */
.nav-search:focus-within {
  box-shadow: 0 0 0 2px rgba(59,130,246,.3), 0 0 20px -8px rgba(59,130,246,.4) !important;
}

/* Eyebrow: glow continuo sul dot */
.hero-eyebrow-dot {
  box-shadow: 0 0 10px 2px rgba(96,165,250,.7), 0 0 20px 4px rgba(59,130,246,.4) !important;
}

/* tags: glow vivido al hover */
.hero-tags span:hover {
  box-shadow: 0 0 20px -5px rgba(59,130,246,.65), 0 0 40px -15px rgba(59,130,246,.35) !important;
}

/* categoria active: glow sul bordo sinistro */
.cat.active::before {
  box-shadow: 0 0 16px 4px rgba(59,130,246,.6) !important;
}

/* ══════════════════════════════════════════
   NUOVE ANIMAZIONI: swap fluidi
══════════════════════════════════════════ */

/* hero-cycle-box: flash al cambio parola */
.hero-cycle-box {
  transition: box-shadow .2s !important;
}
@keyframes cycleFlash {
  0%   { box-shadow: none; }
  50%  { box-shadow: 0 0 20px -4px rgba(59,130,246,.7), 0 0 40px -10px rgba(59,130,246,.35); }
  100% { box-shadow: none; }
}

/* Card: transizione border più rapida */
.card { transition: transform .2s cubic-bezier(.2,.8,.25,1), box-shadow .2s, border-color .2s !important; }

/* Stats numeri: scale up breve al count-up */
@keyframes numPop {
  0%   { transform: scale(.85); opacity: 0; }
  70%  { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); }
}
.stat .v { animation: numPop .45s cubic-bezier(.2,.8,.25,1) both !important; }

/* Profile btn glow al hover */
.profile-btn:hover {
  box-shadow: 0 0 20px -8px rgba(59,130,246,.5) !important;
}

/* Side search: transizione smooth */
.side-search {
  transition: border-color .18s, box-shadow .18s !important;
  box-shadow: 0 4px 20px -8px rgba(0,0,0,.7) !important;
}

/* Btn primary: glow animato */
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 8px 28px -10px rgba(59,130,246,.55); }
  50%       { box-shadow: 0 8px 36px -8px  rgba(96,165,250,.75); }
}
.btn-primary { animation: btnGlow 2.5s ease-in-out infinite !important; }
.btn-primary:hover { animation: none !important; box-shadow: 0 10px 40px -8px rgba(96,165,250,.8) !important; }

/* ══════════════════════════════════════════
   SWAP ANIMAZIONE: hero-cycle-word più drammatico
══════════════════════════════════════════ */
@keyframes wordFadeIn {
  from { opacity: 0; transform: translateY(10px) scale(.94); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    filter: blur(0);   }
}
@keyframes wordFadeOut {
  to { opacity: 0; transform: translateY(-8px) scale(.96); filter: blur(2px); }
}

/* ═══════════════════════════════════════════════════════
   RESTYLE v6 — More Animations
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   HERO EYEBROW — float continuo
══════════════════════════════════════════ */
@keyframes eyebrowFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-4px); }
}
.hero-eyebrow { animation: eyebrowFloat 3.5s ease-in-out infinite !important; }

/* ══════════════════════════════════════════
   HERO TITLE — wave di lettere via JS
   (animazione via CSS classe)
══════════════════════════════════════════ */
@keyframes letterPop {
  0%   { transform: translateY(0) scale(1); }
  50%  { transform: translateY(-6px) scale(1.08); filter: brightness(1.4); }
  100% { transform: translateY(0) scale(1); }
}
.hero-title-letter { display: inline-block; animation: letterPop 2.8s ease-in-out infinite; }

/* ══════════════════════════════════════════
   HERO TAGS — entrata a cascata + bounce continuo
══════════════════════════════════════════ */
@keyframes tagBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-3px) scale(1.04); }
}
.hero-tags span:nth-child(1) { animation: tagBounce 2.4s ease-in-out 0.0s infinite !important; }
.hero-tags span:nth-child(2) { animation: tagBounce 2.4s ease-in-out 0.2s infinite !important; }
.hero-tags span:nth-child(3) { animation: tagBounce 2.4s ease-in-out 0.4s infinite !important; }
.hero-tags span:nth-child(4) { animation: tagBounce 2.4s ease-in-out 0.6s infinite !important; }
.hero-tags span:nth-child(5) { animation: tagBounce 2.4s ease-in-out 0.8s infinite !important; }
.hero-tags span:nth-child(6) { animation: tagBounce 2.4s ease-in-out 1.0s infinite !important; }

/* ══════════════════════════════════════════
   CTA BUTTON — pulse + arrow bounce
══════════════════════════════════════════ */
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 28px -10px rgba(59,130,246,.55), 0 0 0 0 rgba(59,130,246,.4); }
  50%       { transform: scale(1.03); box-shadow: 0 12px 36px -8px rgba(96,165,250,.75), 0 0 0 8px rgba(59,130,246,.0); }
}
.hero-cta, .hero-cta-ghost { animation: ctaPulse 2.5s ease-in-out infinite !important; }
.hero-cta:hover, .hero-cta-ghost:hover { animation: none !important; transform: scale(1.05) !important; }

/* ══════════════════════════════════════════
   CYCLE BOX — glow al cambio + idle breathe
══════════════════════════════════════════ */
@keyframes cycleBreath {
  0%, 100% { box-shadow: 0 0 12px -4px rgba(59,130,246,.4), inset 0 0 12px -6px rgba(59,130,246,.2); }
  50%       { box-shadow: 0 0 28px -4px rgba(96,165,250,.65), inset 0 0 20px -6px rgba(59,130,246,.35); }
}
.hero-cycle-box { animation: cycleBreath 3s ease-in-out infinite !important; }

/* ══════════════════════════════════════════
   STATBAR STATS — ogni numero fluttuante
══════════════════════════════════════════ */
@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-3px); }
}
.stat:nth-child(1) { animation: statFloat 3.2s ease-in-out 0.0s infinite; }
.stat:nth-child(2) { animation: statFloat 3.2s ease-in-out 0.5s infinite; }
.stat:nth-child(3) { animation: statFloat 3.2s ease-in-out 1.0s infinite; }
.stat:nth-child(4) { animation: statFloat 3.2s ease-in-out 1.5s infinite; }

/* ══════════════════════════════════════════
   NAV BRAND — gentle bob
══════════════════════════════════════════ */
@keyframes brandBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-2px) rotate(-1deg); }
  66%       { transform: translateY(1px) rotate(1deg); }
}
.nav-brand img { animation: brandBob 4s ease-in-out infinite !important; }

/* ══════════════════════════════════════════
   CARD ENTRАТА — stagger fadeSlideUp
══════════════════════════════════════════ */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.card {
  animation: cardIn .4s cubic-bezier(.2,.8,.25,1) both !important;
}
.card:nth-child(1)  { animation-delay: .00s !important; }
.card:nth-child(2)  { animation-delay: .05s !important; }
.card:nth-child(3)  { animation-delay: .10s !important; }
.card:nth-child(4)  { animation-delay: .15s !important; }
.card:nth-child(5)  { animation-delay: .20s !important; }
.card:nth-child(6)  { animation-delay: .25s !important; }
.card:nth-child(7)  { animation-delay: .30s !important; }
.card:nth-child(8)  { animation-delay: .35s !important; }
.card:nth-child(9)  { animation-delay: .40s !important; }
.card:nth-child(10) { animation-delay: .45s !important; }
.card:nth-child(11) { animation-delay: .50s !important; }
.card:nth-child(12) { animation-delay: .55s !important; }

/* ══════════════════════════════════════════
   CARD HOVER — float up + glow intenso
══════════════════════════════════════════ */
.card:hover {
  transform: translateY(-6px) scale(1.015) !important;
  animation: none !important;
}

/* ══════════════════════════════════════════
   VIP CARD — shimmer sweep orizzontale
══════════════════════════════════════════ */
@keyframes vipSweep {
  0%   { background-position: -200% center; }
  100% { background-position: 300% center; }
}
.vip-card {
  position: relative;
  overflow: hidden;
}
.vip-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(96,165,250,.08) 40%, rgba(147,197,253,.15) 50%, rgba(96,165,250,.08) 60%, transparent 100%);
  background-size: 300% auto;
  animation: vipSweep 4s linear infinite;
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════
   CATEGORY ITEMS — slide in da sinistra
══════════════════════════════════════════ */
@keyframes catSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.cat { animation: catSlideIn .3s ease both; }
.cat:nth-child(1) { animation-delay: .00s; }
.cat:nth-child(2) { animation-delay: .04s; }
.cat:nth-child(3) { animation-delay: .08s; }
.cat:nth-child(4) { animation-delay: .12s; }
.cat:nth-child(5) { animation-delay: .16s; }
.cat:nth-child(6) { animation-delay: .20s; }
.cat:nth-child(7) { animation-delay: .24s; }
.cat:nth-child(8) { animation-delay: .28s; }

/* ══════════════════════════════════════════
   MODAL — scale + fade in più drammatico
══════════════════════════════════════════ */
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}
.modal-box { animation: modalIn .22s cubic-bezier(.2,.8,.25,1) both !important; }

/* ══════════════════════════════════════════
   HERO SUBTITLE — glow on text idle
══════════════════════════════════════════ */
@keyframes subGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; opacity: .78; }
  50%       { text-shadow: 0 0 20px rgba(147,197,253,.2); opacity: .92; }
}
.hero-sub { animation: subGlow 4s ease-in-out infinite !important; }

/* ══════════════════════════════════════════
   HERO CYCLE WORD — swap più drammatico
══════════════════════════════════════════ */
@keyframes wordIn {
  from { opacity: 0; transform: translateY(12px) scale(.9); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0)    scale(1);  filter: blur(0);   }
}
@keyframes wordOut {
  from { opacity: 1; transform: translateY(0)    scale(1);  filter: blur(0);   }
  to   { opacity: 0; transform: translateY(-10px) scale(.9); filter: blur(3px); }
}
#hero-word.animating-in  { animation: wordIn  .32s cubic-bezier(.2,.8,.25,1) both; }
#hero-word.animating-out { animation: wordOut .20s ease-in both; }

/* ══════════════════════════════════════════
   SCROLLBAR — glow blu
══════════════════════════════════════════ */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2979ff, #1e40af) !important;
  box-shadow: 0 0 8px rgba(41,121,255,.5) !important;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #60a5fa, #3b82f6) !important;
  box-shadow: 0 0 14px rgba(96,165,250,.7) !important;
}

/* ═══════════════════════════════════════════════════════
   RESTYLE v7 — Card Borders + Dashboard + Nav Fix + Ticket
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   CARD BORDER GLOW — per tipo di accesso
══════════════════════════════════════════ */

/* animazione comune: border glow che ruota */
@keyframes borderRotate {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* GRATUITA — bordo bianco glow */
@keyframes freeGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.25), 0 0 12px -4px rgba(255,255,255,.3); }
  50%       { box-shadow: 0 0 0 1.5px rgba(255,255,255,.55), 0 0 24px -4px rgba(255,255,255,.5); }
}
.card--free {
  border-color: rgba(255,255,255,.18) !important;
  animation: cardIn .4s cubic-bezier(.2,.8,.25,1) both, freeGlow 3s ease-in-out infinite !important;
}

/* A PAGAMENTO — bordo azzurro glow */
@keyframes paidGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(59,130,246,.35), 0 0 14px -4px rgba(59,130,246,.4); }
  50%       { box-shadow: 0 0 0 1.5px rgba(96,165,250,.7), 0 0 28px -4px rgba(59,130,246,.6); }
}
.card--paid {
  border-color: rgba(96,165,250,.4) !important;
  animation: cardIn .4s cubic-bezier(.2,.8,.25,1) both, paidGlow 2.5s ease-in-out infinite !important;
}

/* VIP — bordo oro glow */
@keyframes vipGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(234,179,8,.35), 0 0 14px -4px rgba(234,179,8,.4); }
  50%       { box-shadow: 0 0 0 1.5px rgba(253,224,71,.7), 0 0 28px -4px rgba(234,179,8,.65); }
}
.card--vip {
  border-color: rgba(234,179,8,.45) !important;
  animation: cardIn .4s cubic-bezier(.2,.8,.25,1) both, vipGlow 2.5s ease-in-out infinite !important;
}

/* BOOSTER — bordo rosa glow */
@keyframes boosterGlow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(236,72,153,.35), 0 0 14px -4px rgba(236,72,153,.4); }
  50%       { box-shadow: 0 0 0 1.5px rgba(249,168,212,.7), 0 0 28px -4px rgba(236,72,153,.6); }
}
.card--booster {
  border-color: rgba(236,72,153,.4) !important;
  animation: cardIn .4s cubic-bezier(.2,.8,.25,1) both, boosterGlow 2.5s ease-in-out infinite !important;
}

/* hover: amplia il glow */
.card--paid:hover    { border-color: rgba(96,165,250,.75) !important; }
.card--vip:hover     { border-color: rgba(253,224,71,.75) !important; }
.card--booster:hover { border-color: rgba(249,168,212,.75) !important; }
.card--free:hover    { border-color: rgba(255,255,255,.5) !important; }

/* chip colori coerenti */
.chip-vip, .badge-vip       { background: rgba(234,179,8,.15) !important; color: #fde047 !important; border-color: rgba(234,179,8,.35) !important; }
.chip-booster, .badge-booster { background: rgba(236,72,153,.13) !important; color: #f9a8d4 !important; border-color: rgba(236,72,153,.3) !important; }

/* ══════════════════════════════════════════
   NAV SCROLL — apertura/chiusura senza scintilla
══════════════════════════════════════════ */
@keyframes navSlideDown {
  from { transform: translateY(-120%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
@keyframes navSlideUp {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-120%); opacity: 0; }
}

.nav-scrolled {
  animation: navSlideDown .35s cubic-bezier(.2,.8,.25,1) both !important;
  /* rimuovi effetti scintilla */
  filter: none !important;
}
/* disabilita qualsiasi pseudo-element spark che possa esistere */
.nav-scrolled::before,
.nav-scrolled::after {
  display: none !important;
}

/* ══════════════════════════════════════════
   DASHBOARD — restyle completo
══════════════════════════════════════════ */

/* Wrapper account */
.acc-wrap, .account-wrap, .dash-wrap {
  background: transparent !important;
  min-height: 100vh;
}

/* Sidebar */
.acc-side, .account-sidebar, .dash-side {
  background: rgba(3,8,24,.97) !important;
  border-right: 1px solid rgba(59,130,246,.12) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 4px 0 30px -10px rgba(0,0,0,.8) !important;
}

/* Avatar nel sidebar */
.acc-side .avatar, .acc-side img[class*="avatar"],
.dash-side .avatar {
  border: 2px solid rgba(59,130,246,.4) !important;
  box-shadow: 0 0 20px -6px rgba(59,130,246,.5) !important;
  border-radius: 50% !important;
}

/* Nav link sidebar */
.acc-nav a, .acc-nav-item, .dash-nav a {
  border-radius: 10px !important;
  transition: background .15s, color .15s, box-shadow .15s !important;
  color: rgba(255,255,255,.55) !important;
}
.acc-nav a:hover, .dash-nav a:hover,
.acc-nav a.active, .dash-nav a.active {
  background: rgba(59,130,246,.1) !important;
  color: #93c5fd !important;
  box-shadow: inset 2px 0 0 #3b82f6 !important;
}
.acc-nav a.active { color: #60a5fa !important; font-weight: 600 !important; }

/* Contenuto principale */
.acc-content, .dash-content {
  background: transparent !important;
}

/* Card sezioni */
.acc-card, .dash-card, .acc-section,
.profile-card, .plan-card {
  background: rgba(6,14,34,.97) !important;
  border: 1px solid rgba(59,130,246,.12) !important;
  border-radius: 18px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 4px 30px -10px rgba(0,0,0,.8) !important;
}

/* Titolo "My Profile" */
.acc-content h1, .acc-content h2,
.dash-content h1 {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  letter-spacing: -.02em !important;
  background: linear-gradient(90deg, #fff 0%, #93c5fd 60%, #60a5fa 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Labels info (DISCORD USERNAME, EMAIL ecc.) */
.acc-label, .field-label, .info-label {
  font-size: .68rem !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: rgba(59,130,246,.6) !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}

/* Progress bar download */
.dl-bar, .progress-bar, .bar-fill, [class*="bar-fill"] {
  background: linear-gradient(90deg, #3b82f6, #60a5fa) !important;
  border-radius: 99px !important;
  box-shadow: 0 0 10px -3px rgba(59,130,246,.6) !important;
}
.dl-bar-wrap, .progress-wrap, [class*="bar-wrap"] {
  background: rgba(59,130,246,.1) !important;
  border-radius: 99px !important;
}

/* Badge ruoli */
.role-badge, .acc-role, [class*="role-badge"] {
  border-radius: 8px !important;
  font-size: .72rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
}

/* Btn Become VIP */
.btn-vip, [class*="vip-btn"], .become-vip-btn,
a[href*="vip"], button[class*="vip"] {
  background: linear-gradient(90deg, #ca8a04, #eab308) !important;
  color: #000 !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 20px -6px rgba(234,179,8,.5) !important;
  border: none !important;
  transition: box-shadow .2s, transform .15s !important;
}
.btn-vip:hover, [class*="vip-btn"]:hover {
  box-shadow: 0 6px 28px -4px rgba(234,179,8,.7) !important;
  transform: translateY(-1px) !important;
}

/* Banner profilo — più alto e con overlay gradiente */
.acc-banner, .profile-banner, [class*="banner"] {
  height: 160px !important;
  border-radius: 16px 16px 0 0 !important;
  overflow: hidden !important;
  position: relative !important;
}
.acc-banner::after, .profile-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3,8,24,.85) 0%, transparent 50%);
  pointer-events: none;
}

/* Toggle "Effetti animati" */
.toggle-wrap, .switch-wrap, [class*="toggle"] {
  accent-color: #3b82f6 !important;
}

/* ══════════════════════════════════════════
   TICKET MODAL — design dark glass
══════════════════════════════════════════ */
#ticket-modal-bg {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,5,.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: _tmFade .2s ease both;
}
@keyframes _tmFade { from { opacity: 0; } }
.ticket-modal {
  width: min(720px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #060e22;
  border: 1px solid rgba(59,130,246,.2);
  border-radius: 20px;
  box-shadow: 0 24px 80px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(59,130,246,.1);
  animation: modalIn .22s cubic-bezier(.2,.8,.25,1) both;
  overflow: hidden;
}
.ticket-modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid rgba(59,130,246,.1);
  flex-shrink: 0;
}
.ticket-modal-head h3 { flex: 1; margin: 0; font-size: 1rem; font-weight: 700; color: #f1f5f9; }
.ticket-modal-close {
  background: none; border: none; cursor: pointer; padding: 6px; border-radius: 8px;
  color: rgba(255,255,255,.3); transition: .15s; line-height: 0;
}
.ticket-modal-close:hover { background: rgba(255,255,255,.07); color: #f1f5f9; }
.ticket-modal-body {
  flex: 1; overflow-y: auto; padding: 0;
}
.ticket-modal-body::-webkit-scrollbar { width: 4px; }
.ticket-modal-body::-webkit-scrollbar-thumb { background: rgba(59,130,246,.3); border-radius: 4px; }

/* Ticket list */
.ticket-list { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.ticket-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06); border-radius: 12px;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.ticket-item:hover { background: rgba(59,130,246,.07); border-color: rgba(59,130,246,.25); }
.ticket-item-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.ticket-status-open     .ticket-item-dot,
.t-status-open          { background: #4ade80 !important; box-shadow: 0 0 8px rgba(74,222,128,.5); }
.ticket-status-closed   .ticket-item-dot,
.t-status-closed        { background: rgba(255,255,255,.2) !important; }
.ticket-status-pending  .ticket-item-dot,
.t-status-pending       { background: #fbbf24 !important; box-shadow: 0 0 8px rgba(251,191,36,.5); }

.ticket-item-info { flex: 1; min-width: 0; }
.ticket-item-subject { font-size: .88rem; font-weight: 600; color: #f1f5f9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-item-meta { font-size: .72rem; color: rgba(255,255,255,.3); margin-top: 3px; display: flex; gap: 8px; }
.ticket-item-status { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 6px; flex-shrink: 0; }
.t-st-open    { background: rgba(74,222,128,.12); color: #4ade80; }
.t-st-closed  { background: rgba(255,255,255,.06); color: rgba(255,255,255,.35); }
.t-st-pending { background: rgba(251,191,36,.12); color: #fbbf24; }

/* Staff priority badge */
.t-prio-urgent { background: rgba(248,113,113,.15); color: #f87171; border: 1px solid rgba(248,113,113,.25); border-radius: 6px; padding: 2px 8px; font-size: .68rem; font-weight: 700; }
.t-prio-high   { background: rgba(251,191,36,.12); color: #fbbf24; border: 1px solid rgba(251,191,36,.2); border-radius: 6px; padding: 2px 8px; font-size: .68rem; font-weight: 700; }

/* Ticket detail view */
.ticket-detail { display: flex; flex-direction: column; height: 100%; }
.ticket-detail-header { padding: 16px 20px 12px; border-bottom: 1px solid rgba(59,130,246,.08); flex-shrink: 0; }
.ticket-detail-header .t-back { background: none; border: none; color: rgba(255,255,255,.4); cursor: pointer; font-size: .82rem; margin-bottom: 8px; padding: 0; display: flex; align-items: center; gap: 6px; }
.ticket-detail-header .t-back:hover { color: #93c5fd; }
.ticket-detail-msgs { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.ticket-msg { display: flex; gap: 10px; }
.ticket-msg-avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; background: rgba(59,130,246,.15); overflow: hidden; }
.ticket-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ticket-msg-bubble { flex: 1; min-width: 0; }
.ticket-msg-meta { font-size: .7rem; color: rgba(255,255,255,.3); margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.ticket-msg-meta strong { color: #93c5fd; font-size: .78rem; }
.ticket-msg-staff .ticket-msg-meta strong { color: #fbbf24; }
.ticket-msg-staff-badge { background: rgba(234,179,8,.12); color: #fbbf24; font-size: .65rem; font-weight: 700; padding: 1px 6px; border-radius: 5px; border: 1px solid rgba(234,179,8,.2); }
.ticket-msg-body { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; font-size: .84rem; color: #e2e8f0; line-height: 1.6; }
.ticket-msg-staff .ticket-msg-body { background: rgba(234,179,8,.04); border-color: rgba(234,179,8,.12); }

/* Reply box */
.ticket-reply { padding: 14px 20px 18px; border-top: 1px solid rgba(59,130,246,.1); flex-shrink: 0; }
.ticket-reply textarea {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 10px 14px; color: #e2e8f0; font-size: .84rem;
  resize: none; font-family: inherit; min-height: 72px; box-sizing: border-box;
  transition: border-color .15s;
}
.ticket-reply textarea:focus { outline: none; border-color: rgba(59,130,246,.4); }
.ticket-reply-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 10px; flex-wrap: wrap; }
.ticket-reply-actions .t-status-btns { display: flex; gap: 6px; }
.t-btn { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); border-radius: 8px; padding: 6px 14px; font-size: .78rem; font-weight: 600; cursor: pointer; transition: .15s; }
.t-btn:hover { background: rgba(255,255,255,.1); color: #f1f5f9; }
.t-btn-primary { background: #3b82f6; border-color: transparent; color: #fff; }
.t-btn-primary:hover { background: #60a5fa; }
.t-btn-close { background: rgba(248,113,113,.1); border-color: rgba(248,113,113,.2); color: #f87171; }
.t-btn-close:hover { background: rgba(248,113,113,.2); }
.t-btn-reopen { background: rgba(74,222,128,.08); border-color: rgba(74,222,128,.2); color: #4ade80; }

/* New ticket form */
.ticket-new-form { padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; }
.ticket-new-form label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; color: rgba(255,255,255,.55); font-weight: 600; }
.ticket-new-form input, .ticket-new-form textarea, .ticket-new-form select {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 10px 14px; color: #e2e8f0; font-size: .84rem;
  font-family: inherit; width: 100%; box-sizing: border-box; transition: border-color .15s;
}
.ticket-new-form input:focus, .ticket-new-form textarea:focus, .ticket-new-form select:focus {
  outline: none; border-color: rgba(59,130,246,.4);
}
.ticket-new-form textarea { min-height: 120px; resize: vertical; }

/* Staff view: tabella ticket */
.ticket-staff-tabs { display: flex; gap: 4px; padding: 12px 16px 0; }
.ticket-staff-tab {
  padding: 6px 14px; border-radius: 8px; font-size: .78rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; color: rgba(255,255,255,.45); transition: .15s;
}
.ticket-staff-tab:hover { background: rgba(255,255,255,.06); color: #f1f5f9; }
.ticket-staff-tab.active { background: rgba(59,130,246,.12); color: #60a5fa; border-color: rgba(59,130,246,.25); }

/* Badge contatore ticket */
.ticket-count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; background: #3b82f6; color: #fff;
  border-radius: 9px; font-size: .65rem; font-weight: 800; padding: 0 5px;
  margin-left: 6px;
}

/* ═══════════════════════════════════════════════════════
   RESTYLE v8 — PERFORMANCE + BORDI CARD + FIX
   ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   KILL tutte le animazioni non-GPU (box-shadow, background-position, text-shadow, filter)
   Solo transform + opacity sono composited
══════════════════════════════════════════ */

/* Rimuove animazioni laggy aggiunte nei blocchi precedenti */
.stats          { animation: statbarGlow 0s none !important; }
.stat           { animation: none !important; }
.hero-eyebrow   { animation: eyebrowFloat 3.5s ease-in-out infinite !important; will-change: transform; }
.hero-tags span { animation: tagBounce 2.4s ease-in-out infinite !important; will-change: transform; }
.hero-cta, .hero-cta-ghost { animation: none !important; }
.hero-cycle-box { animation: none !important; }
.hero-sub       { animation: none !important; text-shadow: none !important; }
.nav-brand img  { animation: none !important; }
.vip-card::before { animation: none !important; }
.btn-primary    { animation: none !important; }
.hero-title-letter { animation: none !important; }
/* Il shimmer titolo è l'unico su background-position: lo manteniamo ma
   riduciamo la frequenza */
.hero-title {
  animation: titleShimmer 6s linear infinite !important;
  will-change: background-position;
}

/* ══════════════════════════════════════════
   BORDO ROTANTE CARD — keyframe GPU
   (il JS inietta il div .card-border-ring con spinner interno)
══════════════════════════════════════════ */
@keyframes _cardBorderSpin {
  0%   { transform: translate(-50%,-50%) rotate(0deg); }
  100% { transform: translate(-50%,-50%) rotate(360deg); }
}

/* Assicura che le card abbiano position:relative per il bordo */
.card { position: relative !important; overflow: hidden !important; }

/* ══════════════════════════════════════════
   CARD hover — solo transform (GPU)
══════════════════════════════════════════ */
.card {
  transition: transform .2s cubic-bezier(.2,.8,.25,1), border-color .2s !important;
  /* Rimuovi box-shadow animate */
  animation: cardIn .35s cubic-bezier(.2,.8,.25,1) both !important;
}
/* Reset dei glow animate per tipo accesso — solo bordo statico */
.card--free    { border-color: rgba(255,255,255,.12) !important; }
.card--paid    { border-color: rgba(96,165,250,.2) !important; }
.card--vip     { border-color: rgba(251,191,36,.25) !important; }
.card--booster { border-color: rgba(244,127,255,.2) !important; }

/* Hover card — solo GPU */
.card:hover {
  transform: translateY(-5px) scale(1.012) !important;
  box-shadow: 0 16px 40px -14px rgba(0,0,0,.9) !important;
  animation: none !important;
}

/* ══════════════════════════════════════════
   STATBAR — glow statico, non animato
══════════════════════════════════════════ */
.stats {
  box-shadow: 0 0 0 1px rgba(59,130,246,.14), 0 8px 40px -16px rgba(59,130,246,.35) !important;
  animation: none !important;
}

/* ══════════════════════════════════════════
   NAV SCROLLED — slide GPU
══════════════════════════════════════════ */
@keyframes navSlideDown {
  from { transform: translateY(-110%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.nav-scrolled {
  animation: navSlideDown .3s cubic-bezier(.2,.8,.25,1) both !important;
  filter: none !important;
  will-change: transform;
}
.nav-scrolled::before,
.nav-scrolled::after { display: none !important; }

/* ══════════════════════════════════════════
   HERO — solo animazioni GPU
══════════════════════════════════════════ */
@keyframes eyebrowFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
@keyframes tagBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-4px) scale(1.05); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* Word swap GPU */
@keyframes wordIn {
  from { opacity: 0; transform: translateY(10px) scale(.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wordOut {
  to { opacity: 0; transform: translateY(-8px) scale(.94); }
}
#hero-word.animating-in  { animation: wordIn  .28s cubic-bezier(.2,.8,.25,1) both; }
#hero-word.animating-out { animation: wordOut .18s ease-in both; }

/* numPop GPU */
@keyframes numPop {
  0%   { opacity: 0; transform: scale(.8); }
  70%  { opacity: 1; transform: scale(1.05); }
  100% { transform: scale(1); }
}
.stat .v { animation: numPop .4s cubic-bezier(.2,.8,.25,1) both !important; }

/* Modal GPU */
@keyframes modalIn {
  from { opacity: 0; transform: scale(.93) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-box { animation: modalIn .2s cubic-bezier(.2,.8,.25,1) both !important; }

/* ══════════════════════════════════════════
   DASHBOARD / ACCOUNT — override minimi
   (non tocco -webkit-text-fill-color per non rompere testi)
══════════════════════════════════════════ */
.acc-side, .account-sidebar {
  background: rgba(3,8,24,.97) !important;
  border-right: 1px solid rgba(59,130,246,.1) !important;
  backdrop-filter: none !important;
}
.acc-nav a:hover {
  background: rgba(59,130,246,.08) !important;
  color: #93c5fd !important;
}
.acc-nav a.active, .acc-nav a[aria-current] {
  background: rgba(59,130,246,.12) !important;
  color: #60a5fa !important;
  font-weight: 600 !important;
  box-shadow: inset 2px 0 0 #3b82f6 !important;
}

/* ══════════════════════════════════════════
   CHIP glow statici (no animation)
══════════════════════════════════════════ */
.chip-vip  { box-shadow: 0 0 14px -4px rgba(251,191,36,.45) !important; }
.chip-paid { box-shadow: 0 0 10px -4px rgba(96,165,250,.35) !important; }
.chip-free { box-shadow: 0 0 10px -4px rgba(62,207,122,.3) !important; }
.chip-booster { box-shadow: 0 0 10px -4px rgba(244,127,255,.35) !important; }

/* ══════════════════════════════════════════
   TICKET FAB — stile coerente col cart FAB
══════════════════════════════════════════ */
#_ticket-fab {
  will-change: transform;
}

/* ══════════════════════════════════════════
   GLOBAL: will-change e contain per performance
══════════════════════════════════════════ */
.browse    { contain: layout; }
.hero      { contain: layout paint; }
.card      { contain: layout paint; will-change: transform; }

/* ═══════════════════════════════════════════════════════
   RESTYLE v9 — Profile Dropdown Premium
   ═══════════════════════════════════════════════════════ */

.profile-menu {
  width: 280px !important;
  padding: 6px !important;
  background: rgba(4, 10, 28, 0.98) !important;
  border: 1px solid rgba(59,130,246,.2) !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 0 1px rgba(59,130,246,.08),
    0 24px 60px -12px rgba(0,0,0,.95),
    0 0 40px -20px rgba(59,130,246,.3) !important;
  backdrop-filter: none !important;
  transform: translateY(-8px) scale(.97) !important;
  transition: opacity .2s cubic-bezier(.2,.8,.25,1),
              transform .2s cubic-bezier(.2,.8,.25,1),
              visibility .2s !important;
}
.profile.open .profile-menu {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Header con avatar e nome */
.pm-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 14px 12px 14px !important;
  margin-bottom: 4px !important;
  border-bottom: 1px solid rgba(59,130,246,.1) !important;
  position: relative !important;
}
/* Sfondo accentuato dietro l'header */
.pm-head::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, rgba(59,130,246,.08) 0%, transparent 60%);
  pointer-events: none;
}
.pm-head img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(59,130,246,.4) !important;
  box-shadow: 0 0 16px -4px rgba(59,130,246,.5) !important;
  flex-shrink: 0 !important;
}
.pm-head .nm {
  font-weight: 700 !important;
  font-size: .95rem !important;
  color: #f1f5f9 !important;
  letter-spacing: -.01em !important;
}
.pm-head .rk {
  font-size: .7rem !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #60a5fa !important;
  margin-top: 2px !important;
}

/* Item menu */
.pm-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: .87rem !important;
  font-weight: 500 !important;
  color: rgba(200,220,255,.65) !important;
  transition: background .12s, color .12s, transform .12s !important;
}
.pm-item:hover {
  background: rgba(59,130,246,.1) !important;
  color: #e2e8f0 !important;
  transform: translateX(3px) !important;
}
.pm-item svg, .pm-item .ico {
  opacity: .55;
  flex-shrink: 0;
  transition: opacity .12s;
}
.pm-item:hover svg, .pm-item:hover .ico { opacity: 1; }

/* Item pericoloso (Esci) */
.pm-item.danger { color: rgba(248,113,113,.6) !important; }
.pm-item.danger:hover {
  background: rgba(248,113,113,.1) !important;
  color: #f87171 !important;
  transform: translateX(3px) !important;
}

/* Separatore */
.pm-sep {
  height: 1px !important;
  background: rgba(59,130,246,.1) !important;
  margin: 5px 8px !important;
}

/* Rank badge colorato per Owner/Staff */
.pm-head .rk[class*="owner"],
.pm-head .rk:contains("Owner"),
.pm-head .rk {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* ══════════════════════════════════════════
   Profile button navbar — restyle premium
══════════════════════════════════════════ */
.profile-btn {
  background: rgba(4,10,28,.9) !important;
  border: 1px solid rgba(59,130,246,.25) !important;
  border-radius: 999px !important;
  padding: 0 14px 0 5px !important;
  gap: 10px !important;
  height: 44px !important;
  font-weight: 600 !important;
  font-size: .88rem !important;
  color: #e2e8f0 !important;
  transition: border-color .15s, box-shadow .15s, background .15s !important;
}
.profile-btn:hover,
.profile.open .profile-btn {
  border-color: rgba(96,165,250,.55) !important;
  background: rgba(10,20,50,.95) !important;
  box-shadow: 0 0 20px -8px rgba(59,130,246,.4) !important;
}
.profile-btn img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(59,130,246,.45) !important;
  box-shadow: 0 0 12px -3px rgba(59,130,246,.45) !important;
}
.profile-btn svg {
  transition: transform .2s cubic-bezier(.2,.8,.25,1) !important;
  color: rgba(147,197,253,.6) !important;
}
.profile.open .profile-btn svg {
  transform: rotate(180deg) !important;
  color: #60a5fa !important;
}

/* Rank colors nel dropdown */
.pm-head .rk {
  color: #60a5fa !important;
}
/* Owner e coowner */
.pm-head[data-rank="owner"] .rk,
body[data-rank="owner"] .pm-head .rk  { color: #fb923c !important; }
body[data-rank="coowner"] .pm-head .rk { color: #fb923c !important; }
body[data-rank="admin"] .pm-head .rk   { color: #f87171 !important; }
body[data-rank="staff"] .pm-head .rk   { color: #60a5fa !important; }
body[data-rank="member"] .pm-head .rk  { color: rgba(200,220,255,.5) !important; }

/* ═══════════════════════════════════════════════════════
   RESTYLE v10 — 0 DELAY + Fix card flash
   ═══════════════════════════════════════════════════════ */

/* Kill delay su elementi chiave */
.card, .cat, .stat, .hero > *,
.hero-eyebrow, .hero-title, .hero-cycle-wrap,
.hero-sub, .hero-tags, .hero-tags span,
.hero-actions, .statbar, .browse,
.hero-cycle-box, .hero-cta, .hero-cta-ghost,
.nav-brand, .nav-brand img,
._card-border-ring, ._card-border-spin {
  animation-delay: 0s !important;
}

/* Card: nessuno stagger, animazione brevissima così non spariscono */
.card,
.card:nth-child(1),  .card:nth-child(2),  .card:nth-child(3),
.card:nth-child(4),  .card:nth-child(5),  .card:nth-child(6),
.card:nth-child(7),  .card:nth-child(8),  .card:nth-child(9),
.card:nth-child(10), .card:nth-child(11), .card:nth-child(12) {
  animation: cardIn .18s ease both !important;
  animation-delay: 0s !important;
}

/* Hero items — già 0 delay ma per sicurezza */
.hero-eyebrow,
.hero-title,
.hero-cycle-wrap,
.hero-sub,
.hero-tags,
.hero-tags span,
.hero-actions,
.statbar,
.browse { animation-delay: 0s !important; }

/* Tag bounce senza delay */
.hero-tags span:nth-child(n) { animation-delay: 0s !important; }

/* numPop senza delay */
.stat .v { animation-delay: 0s !important; }

/* Stat float senza delay */
.stat:nth-child(n) { animation-delay: 0s !important; }

/* Categorie senza delay */
.cat:nth-child(n) { animation-delay: 0s !important; }

/* cardIn più breve così il re-render non si vede */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════
   RESTYLE v11 — Nav buttons + Nav restyle
   ═══════════════════════════════════════════════════════ */

/* ── Icon buttons nella nav ── */
._nav-icon-btn,
#_nav-cart-btn,
#_nav-ticket-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: rgba(255,255,255,.82) !important;
  cursor: pointer !important;
  transition: color .14s, transform .12s !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
}
#_nav-cart-btn:hover,
#_nav-ticket-btn:hover {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: none !important;
}
#_nav-cart-btn:active,
#_nav-ticket-btn:active {
  transform: scale(.92) !important;
  background: transparent !important;
}

/* Badge counter sul cart */
._nav-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  background: #3b82f6;
  color: #fff;
  border-radius: 9px;
  font-size: .62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg, #030818);
  pointer-events: none;
}

/* ── Nav generale — più pulita ── */
.nav {
  border-bottom: 1px solid rgba(59,130,246,.1) !important;
}

/* Nav-right: gap ridotto per non affollare */
.nav-right { gap: 8px !important; }

/* Balance pill — più leggera */
.balance-pill {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 10px !important;
  font-size: .83rem !important;
  padding: 0 12px !important;
  height: 38px !important;
  color: rgba(200,220,255,.7) !important;
}

/* Search bar — piccola */
.nav-search {
  border-radius: 10px !important;
  border-color: rgba(255,255,255,.08) !important;
  background: rgba(255,255,255,.03) !important;
  height: 32px !important;
  padding: 0 12px !important;
  font-size: .82rem !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.nav-search input { font-size: .82rem !important; }
.nav-search:focus-within {
  border-color: rgba(59,130,246,.4) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.1) !important;
}

/* Bottone Carica (upload) */
.btn-upload, button[class*="upload"] {
  border-radius: 11px !important;
}

/* Su mobile: nascondi ticket btn (spazio limitato) */
@media (max-width: 640px) {
  #_nav-ticket-btn { display: none; }
}

/* ═══════════════════════════════════════════════════════
   RESTYLE v12 — Navbar completa + rimuovi FAB
   ═══════════════════════════════════════════════════════ */

/* ── Nascondi tutti i FAB ── */
#cart-fab,
#_ticket-fab {
  display: none !important;
}

/* ══════════════════════════════════════════
   NAV — glassmorphism premium, no backdrop-filter (perf)
══════════════════════════════════════════ */
.nav {
  height: 62px !important;
  padding: 0 28px !important;
  gap: 14px !important;
  background: rgba(3,7,20,.92) !important;
  border-bottom: 1px solid rgba(59,130,246,.12) !important;
  box-shadow: 0 1px 0 0 rgba(59,130,246,.06), 0 4px 24px -8px rgba(0,0,0,.7) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.nav:not(.nav-scrolled) {
  background: rgba(3,7,20,.92) !important;
  border-bottom: 1px solid rgba(59,130,246,.12) !important;
  box-shadow: 0 1px 0 0 rgba(59,130,246,.06), 0 4px 24px -8px rgba(0,0,0,.7) !important;
}

/* ── Brand logo ── */
.nav-brand {
  gap: 10px !important;
  font-size: .95rem !important;
  letter-spacing: 2.5px !important;
}
.nav-brand img {
  width: 34px !important;
  height: 34px !important;
  border-radius: 9px !important;
  box-shadow: 0 0 16px -4px rgba(59,130,246,.55) !important;
  animation: none !important;
}
.nav-brand span {
  background: linear-gradient(90deg, #fff 0%, #93c5fd 60%, #60a5fa 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  font-weight: 900 !important;
}

/* ── Search ── */
.nav-search {
  height: 40px !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  padding: 0 14px !important;
  gap: 8px !important;
  transition: border-color .15s, background .15s !important;
}
.nav-search:focus-within {
  border-color: rgba(59,130,246,.45) !important;
  background: rgba(59,130,246,.05) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.1) !important;
}
.nav-search svg { opacity: .4; flex-shrink: 0; }
.nav-search input { font-size: .87rem !important; }
.nav-search input::placeholder { color: rgba(200,220,255,.35) !important; }

/* ── Nav right gap ── */
.nav-right { gap: 7px !important; }

/* ── Language selector ── */
.lang-btn, .lang-sel button {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 10px !important;
  height: 38px !important;
  padding: 0 10px !important;
  font-size: .83rem !important;
  color: rgba(200,220,255,.65) !important;
  transition: border-color .14s, background .14s !important;
}
.lang-btn:hover { background: rgba(255,255,255,.07) !important; border-color: rgba(255,255,255,.15) !important; }

/* ── Balance pill ── */
.balance-pill {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 10px !important;
  height: 38px !important;
  padding: 0 12px !important;
  font-size: .83rem !important;
  font-weight: 600 !important;
  color: rgba(200,220,255,.7) !important;
  letter-spacing: .01em !important;
}

/* ── Upload button ── */
.nav-right > a[href*="upload"],
.nav-right > button:not(._nav-icon-btn):not(.profile-btn) {
  height: 38px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
  background: rgba(59,130,246,.12) !important;
  border: 1px solid rgba(59,130,246,.28) !important;
  color: #93c5fd !important;
  transition: background .14s, border-color .14s, transform .14s !important;
}
.nav-right > a[href*="upload"]:hover,
.nav-right > button:not(._nav-icon-btn):not(.profile-btn):hover {
  background: rgba(59,130,246,.22) !important;
  border-color: rgba(96,165,250,.5) !important;
  transform: translateY(-1px) !important;
}

/* ── Nav icon buttons (Cart + Ticket) ── */
._nav-icon-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  color: rgba(255,255,255,.82) !important;
  box-shadow: none !important;
}

/* ── Profile button ── */
.profile-btn {
  height: 40px !important;
}

/* ── Nav scrolled — stessa identica nav (no cambiamento) ── */
.nav-scrolled {
  background: rgba(3,7,20,.97) !important;
  border-bottom: 1px solid rgba(59,130,246,.15) !important;
  box-shadow: 0 4px 30px -8px rgba(0,0,0,.9) !important;
  animation: navSlideDown .28s cubic-bezier(.2,.8,.25,1) both !important;
}

/* ══════════════════════════════════════════════════════════
   RESTYLE v13 — Navbar Destruction-style + Carica animato
══════════════════════════════════════════════════════════ */

/* ── Keyframes bordo pulsante ── */
@keyframes _uploadGlow {
  0%,100% { box-shadow: 0 0 0 1px rgba(59,130,246,.55), 0 0 12px rgba(59,130,246,.18); }
  50%      { box-shadow: 0 0 0 1.5px rgba(96,165,250,.95), 0 0 22px rgba(59,130,246,.38); }
}
@keyframes _uploadBorderSpin {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── Carica risorsa: bordo blu animato (spinning conic) ── */
.btn-upload {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  padding: 0 18px !important;
  height: 36px !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: .83rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  z-index: 0 !important;
  transition: color .14s !important;
}
.btn-upload::before {
  content: '' !important;
  position: absolute !important;
  top: 50% !important; left: 50% !important;
  width: 200% !important; height: 200% !important;
  transform: translate(-50%,-50%) rotate(0deg) !important;
  background: conic-gradient(from 0deg, transparent 0deg, #3b82f6 60deg, #60a5fa 80deg, #3b82f6 100deg, transparent 160deg) !important;
  animation: _uploadBorderSpin 2s linear infinite !important;
  z-index: -2 !important;
  border-radius: 0 !important;
}
.btn-upload::after {
  content: '' !important;
  position: absolute !important;
  inset: 1.5px !important;
  background: rgba(3,7,20,.96) !important;
  border-radius: 7px !important;
  z-index: -1 !important;
}
.btn-upload:hover { color: #93c5fd !important; }

/* ── Nav balance pill: più minimale ── */
.balance-pill {
  background: transparent !important;
  border: none !important;
  color: rgba(255,255,255,.55) !important;
  font-size: .82rem !important;
  padding: 0 6px !important;
  letter-spacing: .02em !important;
}

/* ── Language btn più pulito ── */
.lang-btn, .lang-sel button {
  background: transparent !important;
  border: none !important;
  color: rgba(255,255,255,.65) !important;
}
.lang-btn:hover { background: transparent !important; color: #fff !important; }

/* ── Nav general: niente gap eccessivo ── */
.nav-right { gap: 4px !important; align-items: center !important; }

/* ══════════════════════════════════════════════════════════
   RESTYLE v14 — Rimuovi saldo, fix upload border
══════════════════════════════════════════════════════════ */

/* ── Nascondi saldo nella navbar ── */
.balance-pill { display: none !important; }

/* ── Reset btn-upload: niente pseudo-element CSS, gestito da JS ── */
.btn-upload::before,
.btn-upload::after { display: none !important; content: none !important; }
.btn-upload {
  position: relative !important;
  overflow: hidden !important;
  background: transparent !important;
  border: none !important;
  padding: 0 18px !important;
  height: 36px !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-size: .83rem !important;
  font-weight: 600 !important;
  z-index: 0 !important;
}

/* ══════════════════════════════════════════════════════════
   RESTYLE v15 — Lingua vicino brand, spacing, tutto bianco
══════════════════════════════════════════════════════════ */

/* Nav: più respiro tra gli elementi */
.nav { gap: 18px !important; }
.nav-right { gap: 14px !important; align-items: center !important; }

/* Lingua accanto al brand */
.lang-sel,
.lang-btn,
.lang-sel button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: .84rem !important;
  font-weight: 600 !important;
  padding: 0 4px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  opacity: .9 !important;
}
.lang-sel button:hover,
.lang-btn:hover { opacity: 1 !important; color: #fff !important; }

/* Carica — testo bianco acceso */
.btn-upload { color: #fff !important; opacity: .92 !important; }
.btn-upload:hover { opacity: 1 !important; }

/* Cart + Ticket: bianco acceso */
#_nav-cart-btn,
#_nav-ticket-btn { color: #fff !important; opacity: .88 !important; }
#_nav-cart-btn:hover,
#_nav-ticket-btn:hover { opacity: 1 !important; }

/* Profile btn: testo/icona bianca */
.profile-btn { color: #fff !important; opacity: .9 !important; }
.profile-btn:hover { opacity: 1 !important; }

/* ══════════════════════════════════════════════════════════
   RESTYLE v16 — Dropdown Discord-style
══════════════════════════════════════════════════════════ */

/* Contenitore menu */
.profile-menu {
  background: rgba(8,12,26,.97) !important;
  border: 1px solid rgba(59,130,246,.14) !important;
  border-radius: 14px !important;
  padding: 6px 6px 6px !important;
  min-width: 230px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.7) !important;
}

/* ── Head Discord ── */
._pm-dc-head { padding: 4px 4px 0; }

._pm-av-wrap {
  position: relative;
  width: 64px; height: 64px;
  margin: 0 auto 10px;
}
._pm-av {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(59,130,246,.35);
  display: block;
}
._pm-av-status {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #6b7280;
  border: 2px solid rgba(8,12,26,.97);
}

._pm-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 4px;
}
._pm-display-name {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
}
._pm-rk-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
._rk-owner   { background: rgba(249,115,22,.15); color: #fb923c; }
._rk-coowner { background: rgba(249,115,22,.15); color: #fb923c; }
._rk-admin   { background: rgba(239,68,68,.15);  color: #f87171; }
._rk-staff   { background: rgba(59,130,246,.15); color: #60a5fa; }
._rk-member  { background: rgba(255,255,255,.07); color: rgba(255,255,255,.5); }

._pm-discord-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .75rem;
  margin-bottom: 4px;
}
._pm-status-dot-txt { color: #6b7280; }
._pm-dc-handle { color: rgba(255,255,255,.4); }
._pm-dc-id {
  text-align: center;
  font-size: .7rem;
  color: rgba(255,255,255,.22);
  font-family: monospace;
  margin-bottom: 6px;
}

._pm-dc-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: 8px 0;
}

/* Toggle effetti animati */
._pm-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  border-radius: 8px;
  cursor: pointer;
}
._pm-toggle-label {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
}
._pm-toggle {
  width: 36px; height: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  position: relative;
  cursor: pointer;
  transition: background .18s;
  flex-shrink: 0;
}
._pm-toggle.on { background: #3b82f6; }
._pm-toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s;
}
._pm-toggle.on ._pm-toggle-knob { transform: translateX(16px); }

/* Quick grid */
._pm-quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 2px;
}
._pm-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.65);
  font-size: .75rem;
  text-decoration: none;
  transition: background .14s, color .14s;
}
._pm-quick-btn:hover {
  background: rgba(59,130,246,.1);
  color: #93c5fd;
  border-color: rgba(59,130,246,.25);
}
._pm-quick-btn svg { opacity: .7; }
._pm-quick-btn:hover svg { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   RESTYLE v17 — Navbar fix + Hero "CREA IL TUO SERVER"
══════════════════════════════════════════════════════════ */

/* ── Navbar: singola riga, no wrap ── */
.nav {
  flex-wrap: nowrap !important;
  height: 58px !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}
.nav-search { flex: 1 1 auto !important; min-width: 0 !important; }

/* ── Lingua: minimal, a destra senza sfondo ── */
.lang-sel, .lang-btn {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* ── Hero: nascondi titolo originale, padding ridotto ── */
.hero-title, .hero h1, .hero h2 { display: none !important; }
.hero { padding: 28px 0 20px !important; }

/* ── Hero custom ── */
._hero-custom { margin-bottom: 10px; }

._hero-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
._hero-create {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1.1;
}
._hero-bullet { color: rgba(255,255,255,.3); font-size: 1.4rem; }
._hero-word {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #60a5fa;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 8px;
  padding: 2px 14px;
  transition: opacity .16s;
}

._hero-cerca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
._hero-cerca-lbl {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  text-transform: uppercase;
}
._hero-scroll-wrap {
  overflow: hidden;
  flex: 1;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #fff 8%, #fff 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #fff 8%, #fff 92%, transparent 100%);
}
._hero-scroll-inner {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: _heroScroll 18s linear infinite;
}
@keyframes _heroScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
._hs-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
  white-space: nowrap;
  text-transform: uppercase;
  background: rgba(255,255,255,.04);
}

/* ══════════════════════════════════════════════════════════
   UPLOAD WIZARD 3-STEP
══════════════════════════════════════════════════════════ */
#_wiz-modal { position:fixed;inset:0;z-index:9999; }
._wiz-bg { position:fixed;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:16px; }
._wiz-box { background:rgb(8,12,26);border:1px solid rgba(59,130,246,.18);border-radius:16px;width:100%;max-width:680px;max-height:92vh;overflow-y:auto;padding:32px 34px 28px;box-shadow:0 30px 80px rgba(0,0,0,.85); }

/* Steps header */
._wiz-steps { display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:28px; }
._wiz-step { display:flex;flex-direction:column;align-items:center;gap:5px; }
._wiz-snum { width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.3);display:flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:700; }
._wiz-step.active ._wiz-snum { background:#3b82f6;border-color:#3b82f6;color:#fff; }
._wiz-step.done ._wiz-snum { background:rgba(59,130,246,.15);border-color:rgba(59,130,246,.35);color:#60a5fa; }
._wiz-step span { font-size:.6rem;letter-spacing:1.5px;text-transform:uppercase;color:rgba(255,255,255,.25); }
._wiz-step.active span { color:#93c5fd; }
._wiz-sline { width:48px;height:1px;background:rgba(255,255,255,.09);flex-shrink:0;margin:0 8px;margin-top:-18px; }

/* Content */
._wiz-h { font-size:1.2rem;font-weight:700;color:#fff;margin:0 0 3px; }
._wiz-sub { font-size:.83rem;color:rgba(255,255,255,.38);margin:0 0 22px; }
._wiz-field { margin-bottom:14px; }
._wiz-lbl { display:block;font-size:.66rem;font-weight:700;letter-spacing:1.5px;color:rgba(255,255,255,.38);text-transform:uppercase;margin-bottom:5px; }
._wiz-req { color:#f87171; }
._wiz-opt { color:rgba(255,255,255,.22);font-weight:400;letter-spacing:0;text-transform:none; }
._wiz-inp { width:100%;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:9px 13px;color:#fff;font-size:.86rem;outline:none;box-sizing:border-box;transition:border-color .14s; }
._wiz-inp:focus { border-color:rgba(59,130,246,.5);background:rgba(59,130,246,.04); }
._wiz-ta { min-height:80px;resize:vertical; }
._wiz-sel { appearance:none;cursor:pointer;color:#e2e8f0 !important; }
._wiz-sel option { background:#0d1526;color:#e2e8f0; }
._wiz-hint { font-size:.7rem;color:rgba(255,255,255,.22);margin:4px 0 0; }

/* Tabs */
._wiz-tabs { display:flex;gap:5px;margin-bottom:7px; }
._wiz-tab { padding:5px 13px;border-radius:6px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.04);color:rgba(255,255,255,.5);font-size:.78rem;cursor:pointer;transition:all .13s; }
._wiz-tab.active { background:rgba(59,130,246,.12);border-color:rgba(59,130,246,.28);color:#93c5fd; }

/* Access grid */
._wiz-acc-grid { display:grid;grid-template-columns:1fr 1fr;gap:7px; }
._wiz-acc { display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:9px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.03);color:rgba(255,255,255,.65);cursor:pointer;text-align:left;transition:all .13s; }
._wiz-acc strong { font-size:.82rem;display:block; }
._wiz-acc small { font-size:.7rem;color:rgba(255,255,255,.3); }
._wiz-acc.on { background:rgba(59,130,246,.12);border-color:rgba(59,130,246,.38);color:#93c5fd; }
._wiz-acc.on small { color:rgba(147,197,253,.45); }

/* File upload */
._wiz-file-btn { padding:7px 13px;border-radius:7px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.11);color:rgba(255,255,255,.65);cursor:pointer;font-size:.81rem; }
._wiz-fst { font-size:.76rem;color:rgba(255,255,255,.35);margin-top:5px;display:block; }

/* Preview step 3 */
._wiz-preview { background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:14px;margin-bottom:14px; }
._wiz-prev-badge { font-size:.6rem;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;color:#4ade80;margin-bottom:8px; }
._wiz-prev-title { font-size:1rem;font-weight:700;color:#fff;margin-bottom:2px; }
._wiz-prev-cat { font-size:.76rem;color:rgba(255,255,255,.32);margin-bottom:7px; }
._wiz-prev-desc { font-size:.8rem;color:rgba(255,255,255,.45);margin-bottom:8px;line-height:1.5; }
._wiz-prev-meta { display:flex;gap:10px;flex-wrap:wrap; }
._wiz-prev-meta span { font-size:.73rem;color:rgba(255,255,255,.38); }

/* Anon toggle */
._wiz-anon-row { display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid rgba(255,255,255,.07);margin-top:4px; }
._wiz-anon-t { font-size:.84rem;font-weight:600;color:rgba(255,255,255,.7); }
._wiz-anon-s { font-size:.73rem;color:rgba(255,255,255,.28); }
._wiz-tog { width:38px;height:21px;border-radius:11px;background:rgba(255,255,255,.11);position:relative;cursor:pointer;transition:background .17s;flex-shrink:0; }
._wiz-tog.on { background:#3b82f6; }
._wiz-tog-k { position:absolute;top:3px;left:3px;width:15px;height:15px;border-radius:50%;background:#fff;transition:transform .17s; }
._wiz-tog.on ._wiz-tog-k { transform:translateX(17px); }

/* Moderation note */
._wiz-mod-note { display:flex;align-items:flex-start;gap:7px;background:rgba(251,191,36,.06);border:1px solid rgba(251,191,36,.18);border-radius:8px;padding:9px 13px;font-size:.77rem;color:rgba(251,191,36,.65);margin-top:10px;line-height:1.5; }

/* Error */
#_wiz-err { color:#f87171;font-size:.82rem;margin-top:8px;padding:9px 13px;background:rgba(248,113,113,.07);border-radius:8px;border:1px solid rgba(248,113,113,.18); }

/* Nav */
._wiz-nav { display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.07); }
._wiz-back { padding:8px 17px;border-radius:8px;background:transparent;border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.5);font-size:.84rem;cursor:pointer;transition:all .13s; }
._wiz-back:hover { border-color:rgba(255,255,255,.22);color:#fff; }
._wiz-next { padding:8px 22px;border-radius:8px;background:#3b82f6;border:none;color:#fff;font-size:.84rem;font-weight:600;cursor:pointer;transition:background .13s; }
._wiz-next:hover { background:#2563eb; }
._wiz-next:disabled { opacity:.55;cursor:not-allowed; }

/* ══════════════════════════════════════════════════════════
   RESTYLE v18 — Hero cleanup + bordo card più spesso
══════════════════════════════════════════════════════════ */

/* Nascondi TUTTO il contenuto originale dell'hero di app.js */
.hero-sub, .hero-tags, .hero-desc, .hero-cycle-wrap, .hero-cycle-box,
.hero-eyebrow, .hero-actions, .hero-cta, .hero-cta-ghost,
#hero-word, .hero-sub *, .hero-cycle-box * { display: none !important; }

/* Parole animate — riquadro blu, NO corsivo */
._hero-word {
  display: inline-block;
  background: rgba(59,130,246,.18) !important;
  border: 1px solid rgba(59,130,246,.35) !important;
  border-radius: 7px !important;
  padding: 2px 10px !important;
  color: #93c5fd !important;
  font-style: normal !important;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem) !important;
  font-weight: 800 !important;
  vertical-align: middle;
}

/* Sottotitolo hero */
._hero-desc-custom {
  margin: 10px 0 0 !important;
  font-size: clamp(.82rem, 1.3vw, .95rem) !important;
  color: rgba(255,255,255,.55) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  max-width: 520px !important;
  font-style: normal !important;
}
._hero-desc-custom strong { color: rgba(255,255,255,.85) !important; font-weight: 600 !important; }

/* Separatore centrale tra le due parti */
._hero-divider {
  color: rgba(255,255,255,.2);
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 300;
}
._hero-cerca-lbl {
  font-size: clamp(1rem, 2vw, 1.5rem) !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,.55) !important;
  letter-spacing: .04em !important;
}
._hero-sep { color: rgba(255,255,255,.25); }

/* Animazioni word */
._hero-word.animating-in  { animation: wordIn  .28s cubic-bezier(.2,.8,.25,1) both; }
._hero-word.animating-out { animation: wordOut .18s ease-in both; }

/* Wizard — sfondo nero pieno */
._wiz-bg { background: rgba(0,0,0,.92) !important; backdrop-filter: blur(8px) !important; }

/* Wizard — image drop zone */
._wiz-imgdrop {
  display:flex; align-items:center; gap:12px; padding:16px 18px;
  border:1.5px dashed rgba(59,130,246,.3); border-radius:10px;
  background:rgba(59,130,246,.04); color:rgba(255,255,255,.4);
  cursor:pointer; font-size:.84rem; transition:border-color .15s, background .15s;
  margin-bottom:10px;
}
._wiz-imgdrop:hover, ._wiz-imgdrop.over {
  border-color:rgba(59,130,246,.65); background:rgba(59,130,246,.09); color:rgba(255,255,255,.75);
}
._wiz-imgdrop svg { flex-shrink:0; opacity:.6; }

/* Wizard — thumbnails griglia */
._wiz-imgthumbs {
  display:flex; flex-wrap:wrap; gap:8px; margin-bottom:6px;
}
._wiz-ithumb {
  position:relative; width:80px; height:80px; border-radius:8px; overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
}
._wiz-ithumb img { width:100%; height:100%; object-fit:cover; display:block; }
._wiz-icover {
  position:absolute; bottom:0; left:0; right:0;
  background:rgba(59,130,246,.75); color:#fff; font-size:.6rem; font-weight:700;
  text-align:center; padding:2px 0; letter-spacing:.5px;
}
._wiz-idel {
  position:absolute; top:3px; right:3px; width:18px; height:18px;
  border-radius:4px; background:rgba(0,0,0,.65); color:#fff; border:none;
  font-size:.65rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .12s;
}
._wiz-ithumb:hover ._wiz-idel { opacity:1; }

/* Wizard — status caricamento immagini */
._wiz-imgst { font-size:.78rem; color:rgba(255,255,255,.45); min-height:16px; margin-bottom:6px; }

/* Forza nascosto tutti i pm-item/pm-sep/pm-head originali quando il menu è open */
.profile.open .profile-menu > .pm-head,
.profile.open .profile-menu > .pm-item,
.profile.open .profile-menu > .pm-sep { display: none !important; }

/* ── Animazioni OFF (_no-anim) ── */
body._no-anim *,
body._no-anim *::before,
body._no-anim *::after {
  animation: none !important;
  transition: none !important;
}
body._no-anim ._upload-border-ring,
body._no-anim [class*="-ring"] { display: none !important; }
body._no-anim #bg-canvas { opacity: .15 !important; }
body._no-anim ._hero-word,
body._no-anim ._hero-word2 { opacity: 1 !important; }

/* ══════════════════════════════════════════════════════════
   DROPDOWN v2 — layout esatto come screenshot
══════════════════════════════════════════════════════════ */

._pm2-head { padding: 2px 2px 0; }

/* User row: avatar a sinistra, info a destra */
._pm2-user-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 10px 6px;
}
._pm2-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(59,130,246,.25);
}
._pm2-user-info { flex: 1; min-width: 0; }

._pm2-name-line {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 3px;
}
._pm2-name {
  font-size: .9rem; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
._pm2-badge {
  font-size: .6rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .4px;
  white-space: nowrap; flex-shrink: 0;
}
._rk2-owner, ._rk2-coowner { background: rgba(59,130,246,.2); color: #60a5fa; }
._rk2-admin  { background: rgba(239,68,68,.2);  color: #f87171; }
._rk2-staff  { background: rgba(59,130,246,.2); color: #60a5fa; }
._rk2-member { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); }

._pm2-handle-line { font-size: .72rem; margin-bottom: 3px; }
._pm2-offline { color: #6b7280; }
._pm2-handle  { color: rgba(255,255,255,.3); }

._pm2-id-line { display: flex; align-items: center; gap: 4px; }
._pm2-id {
  font-size: .65rem; color: rgba(255,255,255,.22);
  font-family: monospace; letter-spacing: .1px;
}
._pm2-copy {
  all: unset; cursor: pointer;
  color: rgba(255,255,255,.2); display: flex; align-items: center;
  padding: 2px; border-radius: 3px; transition: color .13s;
}
._pm2-copy:hover { color: rgba(255,255,255,.5); }

/* Refresh row */
._pm2-refresh-row { padding: 2px 10px 6px; }
._pm2-refresh {
  all: unset; cursor: pointer;
  color: rgba(255,255,255,.18); display: flex; align-items: center;
  padding: 2px; transition: color .13s, transform .3s;
}
._pm2-refresh:hover { color: rgba(255,255,255,.45); }
._pm2-refresh:active { transform: rotate(180deg); }

/* Separatore */
._pm2-sep { height: 1px; background: rgba(255,255,255,.07); margin: 3px 0; }

/* Righe generiche (Lingua, Effetti, VIP, Esci) */
._pm2-row {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px; border-radius: 8px;
  cursor: pointer; transition: background .12s;
}
._pm2-row:hover { background: rgba(255,255,255,.05); }
._pm2-row-ico {
  display: flex; align-items: center;
  color: rgba(255,255,255,.38); flex-shrink: 0;
}
._pm2-row-label {
  flex: 1; font-size: .82rem; color: rgba(255,255,255,.68);
}
._pm2-row-right {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,.3); font-size: .72rem;
}
._pm2-lang-flag { font-size: .95rem; }
._pm2-lang-code { font-size: .7rem; font-weight: 600; color: rgba(255,255,255,.45); }

/* Toggle effetti */
._pm2-toggle-wrap { margin-left: auto; }
._pm2-tog {
  width: 38px; height: 22px; border-radius: 11px;
  background: rgba(255,255,255,.14);
  position: relative; cursor: pointer;
  transition: background .18s; flex-shrink: 0;
}
._pm2-tog.on { background: #3b82f6; }
._pm2-tog-k {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3);
  transition: transform .18s;
}
._pm2-tog.on ._pm2-tog-k { transform: translateX(16px); }

/* Grid Dashboard + Carica */
._pm2-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px; padding: 4px 2px;
}
._pm2-qbtn {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none; cursor: pointer;
  transition: background .14s, border-color .14s;
}
._pm2-qbtn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.13); }
._pm2-qbtn-ico {
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 7px; margin-bottom: 4px;
}
._pm2-qbtn-dash ._pm2-qbtn-ico   { background: rgba(59,130,246,.15); color: #60a5fa; }
._pm2-qbtn-carica ._pm2-qbtn-ico { background: rgba(59,130,246,.15); color: #60a5fa; }
._pm2-qbtn-label { font-size: .8rem; font-weight: 700; color: #fff; text-align: center; }
._pm2-qbtn-sub   { font-size: .65rem; color: rgba(255,255,255,.3); text-align: center; }

/* Diventa VIP */
._pm2-ico-gold { color: #60a5fa !important; }
._pm2-vip-price {
  font-size: .7rem; font-weight: 700;
  background: rgba(59,130,246,.18); color: #60a5fa;
  padding: 3px 8px; border-radius: 20px; white-space: nowrap;
}

/* Esci */
._pm2-row-esci ._pm2-row-ico   { color: rgba(248,113,113,.45); }
._pm2-row-esci ._pm2-row-label { color: rgba(248,113,113,.6); }
._pm2-row-esci:hover { background: rgba(248,113,113,.07) !important; }
._pm2-row-esci:hover ._pm2-row-label { color: #f87171; }
._pm2-row-esci:hover ._pm2-row-ico   { color: #f87171; }

/* ══════════════════════════════════════════════════════════
   LANGUAGE DROPDOWN — restyle premium
══════════════════════════════════════════════════════════ */
.lang-dropdown {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + 10px) !important;
  z-index: 9999 !important;
  min-width: 170px !important;
  background: rgba(8,12,26,.97) !important;
  border: 1px solid rgba(59,130,246,.18) !important;
  border-radius: 14px !important;
  padding: 6px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset !important;
  backdrop-filter: blur(16px) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) scale(.97) !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s !important;
}
.lang-sel.open .lang-dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
}

.lang-option {
  all: unset !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 9px 11px !important;
  border-radius: 9px !important;
  font-size: .84rem !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.6) !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: background .12s, color .12s !important;
  position: relative !important;
}
.lang-option:hover {
  background: rgba(59,130,246,.1) !important;
  color: #fff !important;
}
.lang-option.active {
  color: #60a5fa !important;
  font-weight: 700 !important;
  background: rgba(59,130,246,.08) !important;
}
.lang-option.active::after {
  content: '';
  position: absolute;
  right: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 6px rgba(96,165,250,.6);
}
.lang-option img {
  width: 22px !important;
  height: 16px !important;
  border-radius: 3px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.4) !important;
}

/* ══════════════════════════════════════════════════════════
   BACKGROUND NERO — tutti i pannelli blu-scuro → #000
══════════════════════════════════════════════════════════ */

/* Stats bar */
.stats,
.vip-card {
  background: rgba(0,0,0,.92) !important;
  backdrop-filter: blur(20px) !important;
}

/* Categorie sidebar + ricerca laterale */
.cat-list,
.side-search {
  background: rgba(0,0,0,.9) !important;
}

/* Sort menu */
.sort-menu {
  background: rgba(0,0,0,.97) !important;
}

/* Segmento pagine e pager */
.seg,
.pager {
  background: rgba(0,0,0,.8) !important;
}

/* Modali */
.modal {
  background: rgba(0,0,0,.99) !important;
}
.modal-head {
  background: rgba(0,0,0,.97) !important;
}

/* Profile dropdown */
.profile-menu {
  background: rgba(0,0,0,.97) !important;
}

/* Card risorse */
.card {
  background: rgba(0,0,0,.92) !important;
}

/* Panel account */
.panel {
  background: rgba(0,0,0,.9) !important;
}

/* Sidebar account */
.acc-side {
  background: rgba(0,0,0,.97) !important;
}

/* Toast */
.toast {
  background: rgba(0,0,0,.98) !important;
}

/* Dropdown lingua */
.lang-dropdown {
  background: rgba(0,0,0,.97) !important;
}

/* Dashboard tiles e sezioni */
.dash-tile {
  background: rgba(0,0,0,.85) !important;
}
.dash-sec {
  background: rgba(0,0,0,.85) !important;
}

/* Detail info row */
.detail-info-row {
  background: rgba(0,0,0,.6) !important;
}

/* Wizard step modal (carica risorsa) */
#modal-upload .modal,
#modal-publish .modal {
  background: rgba(0,0,0,.99) !important;
}

/* Wizard card interna */
._wiz-box {
  background: rgba(0,0,0,.97) !important;
}

/* Barra risultati / filtri / paginazione */
.fil-bar,
.res-hd,
.res-bar,
.filtro,
.fil {
  background: rgba(0,0,0,.92) !important;
}

/* Empty state */
.empty {
  background: rgba(0,0,0,.6) !important;
}

/* ══════════════════════════════════════
   COMMENTI — sezione nel modal dettaglio
══════════════════════════════════════ */
._fv-cmt-wrap {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
._fv-cmt-hd {
  display: flex; align-items: center; gap: 8px;
}
._fv-cmt-title {
  font-size: .72rem; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: rgba(255,255,255,.35);
}
._fv-cmt-count {
  font-size: .72rem; font-weight: 700;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.4);
  border-radius: 20px; padding: 1px 8px;
}

/* input row */
._fv-cmt-input-row {
  display: flex; gap: 10px; align-items: flex-start;
}
._fv-cmt-av-sm {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: rgba(59,130,246,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #7eb3f8; overflow: hidden;
}
._fv-cmt-av-sm img { width: 100%; height: 100%; object-fit: cover; }
._fv-cmt-input-wrap {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
}
._fv-cmt-ta {
  width: 100%; padding: 10px 13px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px; color: rgba(255,255,255,.8);
  font-size: .85rem; font-family: inherit; resize: none;
  transition: border-color .15s; box-sizing: border-box; line-height: 1.5;
}
._fv-cmt-ta:focus { outline: none; border-color: rgba(59,130,246,.4); }
._fv-cmt-ta::placeholder { color: rgba(255,255,255,.22); }
._fv-cmt-send {
  align-self: flex-end; padding: 7px 16px;
  background: #3b82f6; color: #fff; border: none;
  border-radius: 8px; font-size: .82rem; font-weight: 700;
  cursor: pointer; transition: background .15s, opacity .15s;
}
._fv-cmt-send:hover:not(:disabled) { background: #2563eb; }
._fv-cmt-send:disabled { opacity: .35; cursor: default; }
._fv-cmt-login {
  padding: 10px 14px;
  background: rgba(255,255,255,.03);
  border: 1px dashed rgba(255,255,255,.09);
  border-radius: 10px; font-size: .83rem;
  color: rgba(255,255,255,.3); text-align: center;
}

/* lista commenti */
._fv-cmt-list {
  display: flex; flex-direction: column; gap: 12px;
}
._fv-cmt-empty {
  font-size: .82rem; color: rgba(255,255,255,.25); text-align: center; padding: 8px 0;
}
._fv-cmt {
  display: flex; gap: 10px; align-items: flex-start;
}
._fv-cmt-av {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: rgba(59,130,246,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: #7eb3f8; overflow: hidden;
}
._fv-cmt-av img { width: 100%; height: 100%; object-fit: cover; }
._fv-cmt-body { flex: 1; min-width: 0; }
._fv-cmt-meta {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
._fv-cmt-user {
  font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.75);
}
._fv-cmt-date {
  font-size: .73rem; color: rgba(255,255,255,.25);
}
._fv-cmt-del {
  margin-left: auto; background: none; border: none;
  color: rgba(255,255,255,.2); cursor: pointer;
  font-size: .7rem; padding: 2px 5px; border-radius: 4px;
  transition: color .12s, background .12s;
}
._fv-cmt-del:hover { color: #f87171; background: rgba(239,68,68,.1); }
._fv-cmt-text {
  font-size: .84rem; color: rgba(255,255,255,.55);
  line-height: 1.55; margin: 0; word-break: break-word; white-space: pre-wrap;
}

/* ══════════════════════════════════════════════════
   RESTYLE DESTRUCTION-LEAKS STYLE
══════════════════════════════════════════════════ */

/* Orbitron su tutto il sito */
*, *::before, *::after {
  font-family: 'Orbitron', 'Inter', system-ui, sans-serif !important;
}
code, pre, .mono { font-family: ui-monospace, Consolas, monospace !important; }

@keyframes spin { to { transform: rotate(360deg); } }

/* — Modal dettaglio: background sempre nero — */
#modal-detail .modal,
#modal-detail .fv-left,
#modal-detail .fv-right,
#modal-detail .fv-stage,
#modal-detail .fv-right-inner,
#modal-detail ._fvd-ri {
  background: #000 !important;
  background-color: #000 !important;
}

/* ── Stat icons: solo icona, niente sfondo né bordo ── */
.stat-ico,
.stats .stat-ico,
.statbar .stat-ico {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 30px !important; height: 30px !important;
  flex: 0 0 30px !important;
  border-radius: 0 !important;
  color: rgba(255,255,255,.45) !important;
}
.stat.live .stat-ico,
.stats .stat.live .stat-ico  { color: var(--green) !important; background: none !important; border: none !important; }
.stat.gold .stat-ico,
.stats .stat.gold .stat-ico  { color: #f5c542 !important; background: none !important; border: none !important; }
.stat.blue .stat-ico,
.stats .stat.blue .stat-ico  { color: #818cf8 !important; background: none !important; border: none !important; }

.stat-ico::after, .stats .stat-ico::after { display: none !important; }

/* ── Toolbar risultati — nero originale ── */
.toolbar {
  background: rgba(0,0,0,.92) !important;
  border: 1px solid rgba(255,255,255,.06) !important;
  box-shadow: none !important;
}
.toolbar::before { display: none !important; }
.found {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: .82rem !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,.5) !important;
}
.found b { color: #fff !important; font-size: .92rem !important; font-weight: 800 !important; }
.found svg { color: var(--orange-2) !important; flex-shrink: 0 !important; }

.perpage {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-left: 6px !important;
  font-size: .65rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,.28) !important;
}
.seg {
  display: flex !important;
  padding: 3px !important;
  gap: 2px !important;
  border: 1px solid rgba(26,111,255,.2) !important;
  background: rgba(2,6,20,.9) !important;
  border-radius: 9px !important;
}
.seg button {
  padding: 4px 11px !important;
  border-radius: 6px !important;
  font-size: .74rem !important;
  font-weight: 800 !important;
  color: rgba(255,255,255,.3) !important;
  background: transparent !important;
  letter-spacing: .5px !important;
  transition: color .12s, background .12s !important;
}
.seg button.on {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep)) !important;
  color: #fff !important;
  box-shadow: 0 2px 10px -3px rgba(26,111,255,.55) !important;
}
.seg button:not(.on):hover { color: rgba(255,255,255,.8) !important; background: rgba(255,255,255,.06) !important; }

/* Pager */
.pager {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-left: auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.pager button {
  width: 30px !important; height: 30px !important;
  border-radius: 7px !important;
  background: rgba(26,111,255,.08) !important;
  border: 1px solid rgba(26,111,255,.15) !important;
  color: rgba(255,255,255,.45) !important;
  transition: background .12s, color .12s !important;
}
.pager button:hover:not(:disabled) {
  background: rgba(26,111,255,.22) !important;
  color: #93c5fd !important;
  border-color: rgba(26,111,255,.4) !important;
}
.pager button:disabled { opacity: .2 !important; }
.pager span {
  font-size: .78rem !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,.55) !important;
  min-width: 52px !important;
  text-align: center !important;
}


/* ── Login page — card centrata, tema nero ── */
.login-page {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 100vh !important;
  padding: 24px !important;
}
.login-left { display: none !important; }
.login-right {
  width: 100% !important;
  max-width: 440px !important;
}
.login-card {
  background: rgba(8, 8, 8, 0.96) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 0 60px -20px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.04) inset !important;
  position: relative !important;
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15) 30%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.15) 70%, transparent);
  border-radius: 999px;
}
.lc-header {
  border-bottom: 1px solid rgba(255,255,255,0.07) !important;
  padding-bottom: 16px !important;
}
.lc-intro {
  text-align: center;
  padding: 16px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.lc-intro-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 7px;
}
.lc-intro-sub {
  font-size: .78rem;
  line-height: 1.6;
  color: rgba(255,255,255,.35);
  margin: 0;
}

/* ── Navbar — trasparente (no sfondo) ── */
.nav,
.nav:not(.nav-scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
}
/* Navbar scrolled — sfondo nero */
.nav.nav-scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  box-shadow: 0 4px 24px -8px rgba(0,0,0,.8) !important;
}

/* ── Pin badge risorse in evidenza ── */
._pin-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 20;
  background: rgba(96, 165, 250, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 6px;
  padding: 3px 7px 3px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 700;
  color: rgba(96, 165, 250, .95);
  letter-spacing: .4px;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
._pin-badge::after {
  content: 'In evidenza';
}
.card--pinned {
  position: relative;
}



/* ═══════════════════════════════════════════════
   PERFORMANCE — max fps, zero delay
═══════════════════════════════════════════════ */

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

/* GPU layer SOLO su elementi che scalano/traslano all'hover */
.card { will-change: transform; }
.modal-box, ._fv-modal { will-change: transform, opacity; }

/* Azzera tutti gli stagger delay */
.card:nth-child(n), .cat:nth-child(n), .stat:nth-child(n),
.hero-tags span:nth-child(n) { animation-delay: 0s !important; }

/* Animazioni di entrata veloci */
.card        { animation-duration: .18s !important; }
.cat         { animation-duration: .12s !important; }
.stat .v     { animation-duration: .15s !important; }
.modal-box   { animation-duration: .1s  !important; }
.nav-bar     { animation-duration: .12s !important; }

/* Transizioni hover rapide */
.card    { transition: transform .1s cubic-bezier(.2,.8,.25,1), box-shadow .1s, border-color .1s !important; }
.btn     { transition: background .08s, border-color .08s, transform .08s, box-shadow .08s !important; }
.cat     { transition: background .08s, box-shadow .08s, color .08s !important; }
.dl-opt  { transition: background .08s, border-color .08s !important; }
.t-row   { transition: background .08s !important; }
.lang-dropdown { transition: opacity .1s, transform .1s, visibility .1s !important; }
input, select, textarea { transition-duration: .08s !important; }

/* ═══════════════════════════════════════════════
   SPONSOR BANNERS
   ═══════════════════════════════════════════════ */

.sponsors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 70px;
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .sponsors { grid-template-columns: 1fr; }
}

.sp-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s, box-shadow .15s;
  animation: heroIn .7s .3s cubic-bezier(.2,.8,.25,1) both;
}

.sp-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .35);
}

.sp-banner img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  display: block;
}

.sp-placeholder {
  padding: 0;
  border: none;
}

.sp-placeholder:hover {
  border-color: rgba(29, 106, 255, .6);
  box-shadow: 0 8px 32px rgba(29, 106, 255, .18);
}

.sp-placeholder img {
  width: 100%;
  height: 70px;
  object-fit: fill;
  display: block;
  pointer-events: none;
  user-select: none;
}
