/* latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/v9/fonts/BricolageGrotesque-400_800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/v9/fonts/BricolageGrotesque-400_800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/v9/fonts/Figtree-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/v9/fonts/Figtree-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/v9/fonts/Figtree-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/v9/fonts/Figtree-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/v9/fonts/Figtree-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/v9/fonts/Figtree-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/v9/fonts/Figtree-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/v9/fonts/Figtree-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/v9/fonts/Figtree-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/v9/fonts/Figtree-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/v9/fonts/PixelifySans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/v9/fonts/PixelifySans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/v9/fonts/PixelifySans-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Pixelify Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/v9/fonts/PixelifySans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/v9/fonts/Silkscreen-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/v9/fonts/Silkscreen-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Layout: una vetrina da gioco: fondo notte pulito, i personaggi e i mob renderizzati escono dalle cornici; viola solo come accento, oro solo per premium. */
:root {
  color-scheme: dark;
  --night: #0a0c16;
  --night-2: #0e1120;
  --panel: #141830;
  --panel-2: #1a1f3b;
  --line: rgba(196, 190, 255, .10);
  --line-2: rgba(196, 190, 255, .20);
  --ink: #f1f0ff;
  --muted: #a7a9cc;
  --dim: #6f7398;
  --amethyst: #a06bff;
  --amethyst-hi: #c8a8ff;
  --amethyst-lo: #5a2fb8;
  --gold: #ffc54d;
  --gold-lo: #b9781c;
  --frost: #7fd8ff;
  --leaf: #6ee39a;
  --danger: #ff6b7d;
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-pixel: "Silkscreen", ui-monospace, "Consolas", monospace;
  --r: 20px;
  --r-sm: 12px;
  --max: 1220px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amethyst-hi); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.px { font-family: var(--f-pixel); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font-family: var(--f-pixel); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--amethyst-hi); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--amethyst); box-shadow: 0 0 12px var(--amethyst); }
.eyebrow.gold { color: var(--gold); } .eyebrow.gold::before { background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.eyebrow.frost { color: var(--frost); } .eyebrow.frost::before { background: var(--frost); box-shadow: 0 0 12px var(--frost); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; line-height: .98; margin: 0; text-wrap: balance; font-stretch: 85%; }
h1 { font-size: clamp(44px, 7.4vw, 104px); }
h2 { font-size: clamp(34px, 4.6vw, 64px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.05; }
p { margin: 0; }
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); max-width: 60ch; }
.muted { color: var(--muted); }
.hl { color: var(--amethyst-hi); }
.gold-t { color: var(--gold); }

/* ---------- pulsanti ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; border: 0; cursor: pointer; font-weight: 700; font-size: 15px; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; white-space: nowrap; }
.btn-main { background: var(--amethyst); color: #fff; box-shadow: 0 4px 0 var(--amethyst-lo), 0 14px 30px -10px rgba(160, 107, 255, .7); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--amethyst-lo), 0 18px 34px -10px rgba(160, 107, 255, .8); }
.btn-main:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--amethyst-lo); }
.btn-gold { background: var(--gold); color: #2b1a00; box-shadow: 0 4px 0 var(--gold-lo), 0 14px 30px -12px rgba(255, 197, 77, .7); }
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--gold-lo); }
.btn-ghost { background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--amethyst-hi); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- barra anteprima ---------- */
.preview-bar { background: linear-gradient(90deg, #1c1340, #121735); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.preview-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-block: 8px; flex-wrap: wrap; }
.preview-bar b { color: var(--ink); }
.preview-bar a { color: var(--amethyst-hi); font-weight: 700; }

/* ---------- header + mega menu ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(10, 12, 22, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 46px; width: auto; filter: drop-shadow(0 4px 12px rgba(160, 107, 255, .45)); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.nav > a, .nav > button { background: none; border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .15s, background .15s; }
.nav > a:hover, .nav > button:hover, .nav > button[aria-expanded="true"], .nav > a.on { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.nav > button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.hdr-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.ip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); cursor: pointer; font-family: var(--f-pixel); font-size: 12px; color: var(--ink); transition: border-color .15s, background .15s; }
.ip:hover { border-color: var(--amethyst); background: rgba(160, 107, 255, .1); }
.ip .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--leaf); box-shadow: 0 0 10px var(--leaf); }
.ip .tag { background: var(--amethyst); color: #fff; padding: 3px 7px; border-radius: 6px; font-size: 10px; }
.me { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line-2); flex: none; }
.me { display: grid; place-items: center; }
.me img { width: 28px; height: 28px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--night-2); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); }
.mega .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; padding-block: 28px; height: auto; align-items: start; }
.mega-feature { position: relative; border-radius: var(--r); overflow: hidden; min-height: 210px; background: var(--panel); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.mega-feature > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mega-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 12, 22, .95), rgba(10, 12, 22, .1) 70%); z-index: 1; }
.mega-feature > * { position: relative; z-index: 2; }
.mega-feature .pop { position: absolute; right: 8px; bottom: 6px; height: 170px; width: auto; z-index: 2; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .6)); }
.mega h4 { margin: 0 0 10px; }
.mega-list { display: grid; gap: 4px; }
.mega-list a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; transition: background .15s; }
.mega-list a:hover { background: rgba(255, 255, 255, .05); }
.mega-list .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; overflow: hidden; }
.mega-list .ico img { width: 32px; height: 32px; }
.pix { image-rendering: pixelated; }
.mega-list b { display: block; font-size: 15px; }
.mega-list small { display: block; color: var(--dim); font-size: 13px; line-height: 1.35; }

/* ---------- viste ---------- */
.view { display: block; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--panel-2); border: 1px solid var(--line-2); padding: 12px 18px; border-radius: 12px; z-index: 80; font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6); max-width: calc(100% - 32px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: 56px 40px; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -200px; top: -260px; background: radial-gradient(closest-side, rgba(160, 107, 255, .28), rgba(160, 107, 255, 0)); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 24px; align-items: center; position: relative; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 .line { display: block; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, var(--amethyst-hi), var(--amethyst) 50%, var(--frost)); -webkit-background-clip: text; background-clip: text; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ip-big { display: inline-flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .15s, transform .15s; }
.ip-big:hover { border-color: var(--amethyst); transform: translateY(-2px); }
.ip-big .addr { font-family: var(--f-pixel); font-size: 16px; }
.ip-big .copy { background: var(--amethyst); color: #fff; padding: 9px 12px; border-radius: 10px; font-weight: 800; font-size: 13px; }
.status { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.chip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 8px var(--leaf); }
.stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 100%; }
.stage .arch { position: absolute; inset: 6% 9% 16% 9%; border-radius: 300px 300px 28px 28px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: inset 0 0 0 6px rgba(10, 12, 22, .5), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.stage .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.08); }
.stage .arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 22, 0) 40%, rgba(10, 12, 22, .9)); }
.plinth { position: absolute; left: 4%; right: 4%; bottom: 7%; height: 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(160, 107, 255, .55), rgba(160, 107, 255, 0)); filter: blur(2px); }
.char { position: absolute; bottom: 10%; height: auto; filter: drop-shadow(0 26px 24px rgba(0, 0, 0, .55)); will-change: transform; }
.char.c1 { width: 36%; left: 32%; z-index: 3; }
.glow { filter: drop-shadow(0 0 1.5px rgba(214, 190, 255, .95)) drop-shadow(0 0 22px rgba(160, 107, 255, .6)) drop-shadow(0 26px 24px rgba(0, 0, 0, .55)) !important; }
.char.c2 { width: 27%; left: 6%; bottom: 13%; z-index: 2; }
.char.c3 { width: 34%; right: 2%; bottom: 12%; z-index: 2; }
.shard { position: absolute; width: 26px; height: 46px; clip-path: polygon(50% 0, 100% 35%, 70% 100%, 30% 100%, 0 35%); background: linear-gradient(160deg, #e9dcff, var(--amethyst) 55%, var(--amethyst-lo)); box-shadow: 0 0 30px var(--amethyst); opacity: .9; z-index: 4; }
.shard.s1 { left: 4%; top: 18%; transform: rotate(-16deg); }
.shard.s2 { right: 6%; top: 10%; width: 18px; height: 32px; transform: rotate(14deg); }
.shard.s3 { left: 46%; top: 2%; width: 14px; height: 24px; }
.nameplate { position: absolute; z-index: 5; font-family: var(--f-pixel); font-size: 11px; background: rgba(10, 12, 22, .78); border: 1px solid var(--line-2); padding: 5px 9px; border-radius: 8px; white-space: nowrap; }
.nameplate i { font-style: normal; color: var(--amethyst-hi); }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--night-2); overflow: hidden; }
.ticker-track { display: flex; gap: 40px; width: max-content; padding-block: 14px; animation: tick 46s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; white-space: nowrap; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; background: var(--amethyst); transform: rotate(45deg); }
.ticker-track b { color: var(--ink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sezioni ---------- */
.sec { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head > div { display: grid; gap: 14px; max-width: 720px; }
.band { background: var(--night-2); border-block: 1px solid var(--line); }

/* mondi */
.worlds { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.world { position: relative; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; isolation: isolate; transition: transform .3s var(--ease), border-color .3s; }
.world:hover { transform: translateY(-6px); border-color: var(--line-2); }
.world .bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -2; }
.world .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.world:hover .bg img { transform: scale(1.05); }
.world::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(0deg, rgba(14, 17, 32, .98) 22%, rgba(14, 17, 32, .2) 70%, rgba(14, 17, 32, .05)); z-index: -1; }
.world .pop { position: absolute; z-index: 1; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .6)); transition: transform .4s var(--ease); pointer-events: none; }
.world:hover .pop { transform: translateY(-10px) rotate(-2deg); }
.world .meta { display: grid; gap: 10px; position: relative; z-index: 2; }
.world .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--ink); }
.tag.live { background: rgba(110, 227, 154, .14); color: var(--leaf); }
.tag.new { background: rgba(255, 197, 77, .14); color: var(--gold); }

/* boss */
.bosses { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.boss { position: relative; border-radius: var(--r); padding: 28px; min-height: 420px; overflow: hidden; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr; align-content: end; isolation: isolate; }
.boss.chaos { background: radial-gradient(120% 90% at 85% 20%, rgba(127, 216, 255, .22), transparent 60%), linear-gradient(160deg, #141a36, #0d1022); }
.boss.ice { background: radial-gradient(120% 90% at 85% 20%, rgba(160, 107, 255, .28), transparent 60%), linear-gradient(160deg, #181434, #0e0d22); }
.boss .render { position: absolute; right: -4%; top: 2%; height: 66%; max-width: 62%; object-fit: contain; object-position: right top; z-index: -1; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)); }
.boss > :not(.render) { position: relative; }
.boss h3 { text-shadow: 0 4px 24px rgba(10, 12, 22, .9); }
.boss .stats { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.stat { background: rgba(10, 12, 22, .7); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.stat b { display: block; font-family: var(--f-display); font-size: 24px; font-stretch: 85%; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--dim); }
.hp { height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 14px; max-width: 280px; }
.hp i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--danger), #ff9f6b); }
.expeditions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.exp { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; }
.exp img { height: 150px; width: auto; justify-self: center; margin-top: -40px; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .5)); }
.exp code { font-family: var(--f-pixel); font-size: 11px; background: rgba(255, 255, 255, .06); padding: 3px 7px; border-radius: 6px; color: var(--amethyst-hi); }

/* passi */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; position: relative; }
.step::before { counter-increment: s; content: counter(s); font-family: var(--f-display); font-weight: 800; font-size: 56px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amethyst); }
.step code { font-family: var(--f-pixel); font-size: 12px; color: var(--ink); background: rgba(160, 107, 255, .14); padding: 4px 8px; border-radius: 6px; }

/* podio */
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 14px; align-items: end; max-width: 900px; margin: 0 auto; }
.pod { display: grid; justify-items: center; }
.pod img { height: 260px; width: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); margin-bottom: -8px; position: relative; z-index: 1; }
.pod.first img { height: 320px; }
.pod .block { width: 100%; border-radius: 16px 16px 6px 6px; padding: 18px 14px; text-align: center; display: grid; gap: 4px; border: 1px solid var(--line-2); }
.pod.first .block { background: linear-gradient(180deg, rgba(255, 197, 77, .28), rgba(255, 197, 77, .06)); min-height: 170px; border-color: rgba(255, 197, 77, .4); }
.pod.second .block { background: linear-gradient(180deg, rgba(200, 210, 255, .2), rgba(200, 210, 255, .04)); min-height: 130px; }
.pod.third .block { background: linear-gradient(180deg, rgba(255, 150, 100, .2), rgba(255, 150, 100, .04)); min-height: 104px; }
.pod .pos { font-family: var(--f-pixel); font-size: 12px; color: var(--muted); }
.pod .who { font-weight: 800; font-size: 17px; }
.pod .val { font-family: var(--f-display); font-size: 26px; font-weight: 800; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.pod.first .val { color: var(--gold); }

/* novità */
.news { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.post { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: transform .3s var(--ease), border-color .3s; }
.post:hover { transform: translateY(-4px); border-color: var(--line-2); }
.post .img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel-2); position: relative; }
.post .img img { width: 100%; height: 100%; object-fit: cover; }
.post .img .pop { position: absolute; bottom: 0; right: 10px; height: 92%; width: auto; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)); }
.post .body { padding: 20px; display: grid; gap: 8px; align-content: start; }
.post time { font-family: var(--f-pixel); font-size: 11px; color: var(--dim); }
.post h3 { font-size: 22px; }
.news .post:first-child h3 { font-size: 28px; }

/* rank */
.ranks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rank { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 10px; align-content: start; position: relative; transition: transform .3s var(--ease), border-color .3s; }
.rank:hover { transform: translateY(-4px); }
.rank img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .5)); }
.rank .name { font-family: var(--f-display); font-weight: 800; font-size: 26px; font-stretch: 85%; letter-spacing: .02em; }
.rank .price { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rank .price small { font-size: 12px; color: var(--dim); font-weight: 600; }
.rank .rk-coins { font-size: 13px; color: var(--gold); font-weight: 700; }
.rank.vip .name { color: #67e3a4; } .rank.elite .name { color: #6fc9ff; } .rank.legend .name { color: #ffa45c; } .rank.emperor .name { color: var(--gold); }
.rank.emperor { border-color: rgba(255, 197, 77, .45); background: linear-gradient(180deg, rgba(255, 197, 77, .1), var(--panel) 50%); }
.rank.emperor::after { content: "Più completo"; position: absolute; top: 16px; right: 16px; font-family: var(--f-pixel); font-size: 10px; background: var(--gold); color: #2b1a00; padding: 4px 7px; border-radius: 6px; }

/* crew */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.mate { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 0 18px 18px; text-align: center; display: grid; justify-items: center; gap: 4px; margin-top: 60px; transition: transform .3s var(--ease); }
.mate:hover { transform: translateY(-4px); }
.mate img { height: 170px; width: auto; max-width: 100%; object-fit: contain; object-position: 50% 100%; margin: -80px auto 6px; display: block; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .5)); }
.mate { margin-top: 80px; }
.mate .who { font-weight: 800; font-size: 18px; }
.role { font-family: var(--f-pixel); font-size: 10px; padding: 4px 8px; border-radius: 6px; }
.role.owner { background: rgba(255, 197, 77, .16); color: var(--gold); }
.role.admin { background: rgba(255, 107, 125, .16); color: var(--danger); }
.role.dev { background: rgba(127, 216, 255, .16); color: var(--frost); }
.role.trainee { background: rgba(255, 255, 255, .08); color: var(--muted); }

/* call to action finale */
.cta-final { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(32px, 6vw, 72px); border: 1px solid var(--line-2); background: linear-gradient(120deg, #1e1446, #101634 60%); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 20px; isolation: isolate; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: url(/v9/a/city.webp) center / cover; opacity: .18; z-index: -1; }
.cta-final .chars { position: relative; height: 320px; }
.cta-final .chars img { position: absolute; bottom: -20px; height: 320px; width: auto; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .55)); }

/* footer */
.ftr { border-top: 1px solid var(--line); padding-block: 56px 32px; margin-top: 40px; background: var(--night-2); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.ftr h5 { margin: 0 0 12px; font-family: var(--f-pixel); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ftr li a { color: var(--muted); font-size: 15px; }
.ftr li a:hover { color: var(--ink); }
.ftr-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }

/* ---------- pagine interne ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: 56px 48px; border-bottom: 1px solid var(--line); isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 25%, rgba(10, 12, 22, .55) 65%, rgba(10, 12, 22, .2)), linear-gradient(0deg, var(--night), transparent 40%); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; align-items: end; }
.page-hero .copy { display: grid; gap: 18px; padding-bottom: 20px; }
.page-hero .render { justify-self: center; height: 420px; width: auto; filter: drop-shadow(0 26px 26px rgba(0, 0, 0, .6)); }
.crumbs { font-size: 13px; color: var(--dim); display: flex; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.path { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.path::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--amethyst) 0 10px, transparent 10px 18px); }
.path li { list-style: none; display: grid; justify-items: center; text-align: center; gap: 10px; padding: 0 10px; position: relative; }
.path .n { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); font-family: var(--f-display); font-weight: 800; font-size: 24px; }
.path ol { margin: 0; padding: 0; display: contents; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.feat .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(160, 107, 255, .14); }
.feat .ic svg { width: 24px; height: 24px; stroke: var(--amethyst-hi); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.islands { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.island { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.island .top { height: 150px; position: relative; overflow: hidden; }
.island .top img { width: 100%; height: 100%; object-fit: cover; }
.island .top h3 { position: absolute; left: 20px; bottom: 16px; font-size: 34px; text-shadow: 0 4px 20px rgba(0, 0, 0, .8); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.tier { background: var(--panel); padding: 16px; display: grid; gap: 4px; }
.tier .lv { font-family: var(--f-pixel); font-size: 10px; }
.tier.easy .lv { color: var(--leaf); } .tier.mid .lv { color: var(--gold); } .tier.hard .lv { color: var(--danger); }
.crates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.crate { border-radius: 16px; padding: 18px 14px; text-align: center; border: 1px solid var(--line); background: var(--panel); display: grid; gap: 6px; justify-items: center; }
.crate .box { width: 56px; height: 56px; border-radius: 10px; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .25), 0 10px 24px -8px var(--c); background: var(--c); position: relative; }
.crate .box::after { content: ""; position: absolute; left: 22px; top: 18px; width: 12px; height: 14px; background: rgba(0, 0, 0, .35); border-radius: 3px; }
.creatures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.creature { background: linear-gradient(180deg, rgba(255, 197, 77, .08), var(--panel) 55%); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 18px; display: grid; gap: 6px; }
.creature img { height: 180px; width: auto; justify-self: center; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .45)); }
.hearts { color: var(--danger); font-weight: 800; font-size: 14px; }
.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mat { border-radius: 16px; padding: 18px; background: var(--panel); border: 1px solid var(--line); display: grid; gap: 8px; }
.mat .ingot { width: 48px; height: 22px; border-radius: 4px; background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25), 0 8px 18px -8px var(--c1); transform: skewX(-12deg); }
.sky-band { background: radial-gradient(80% 120% at 50% 0%, rgba(255, 197, 77, .16), transparent 60%), var(--night-2); }
.portal-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }

/* store */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); }
.compare thead th { font-family: var(--f-display); font-weight: 800; font-size: 22px; font-stretch: 85%; }
.compare td.y { color: var(--leaf); font-weight: 800; }
.compare td.n { color: var(--dim); }
.compare tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.scroll-x { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); }
.coins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.coin { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.coin img { width: 120px; height: 120px; object-fit: contain; }
.extra { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* classifiche */
.lb-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.lb-tabs button { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 9px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 14px; color: var(--muted); }
.lb-tabs button[aria-selected="true"] { background: var(--amethyst); color: #fff; border-color: var(--amethyst); }
.lb { width: 100%; border-collapse: collapse; }
.lb td, .lb th { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.lb th { font-family: var(--f-pixel); font-size: 10px; font-weight: 400; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.lb td.r { text-align: right; font-weight: 800; }
.lb th.r { text-align: right; }
.lb .p { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.lb .p img { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; background: var(--panel-2); }
.lb .rk { font-family: var(--f-pixel); font-size: 12px; color: var(--dim); width: 48px; }
.lb tr.me td { background: rgba(160, 107, 255, .1); }
.lb-search { display: flex; gap: 10px; margin-bottom: 14px; }
.lb-search input { flex: 1; min-width: 0; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; color: var(--ink); font: inherit; }

/* impero */
.profile { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.id-card { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); border-radius: 24px; border: 1px solid var(--line-2); background: radial-gradient(90% 60% at 50% 20%, rgba(160, 107, 255, .3), transparent 70%), var(--panel); padding: 24px; display: grid; gap: 12px; justify-items: center; text-align: center; overflow: hidden; }
.id-card img.big { height: 340px; width: auto; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .6)); }
.id-card .nm { font-family: var(--f-display); font-weight: 800; font-size: 34px; font-stretch: 85%; }
.id-card .badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.kpi b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 32px; font-stretch: 85%; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi span { color: var(--dim); font-size: 13px; }
.slots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.slot { aspect-ratio: 1; border-radius: 12px; background: #1c2040; border: 1px solid var(--line-2); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .3); display: grid; place-items: center; position: relative; cursor: help; transition: transform .2s var(--ease), border-color .2s; }
.slot:hover, .slot:focus-visible { transform: translateY(-3px); border-color: var(--amethyst); }
.slot img { width: 70%; height: 70%; image-rendering: pixelated; filter: drop-shadow(0 0 6px rgba(160, 107, 255, .7)); }
.slot .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #120f26; border: 2px solid #2e1b66; color: var(--ink); padding: 8px 10px; border-radius: 6px; font-size: 13px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 5; text-align: left; }
.slot .tip b { color: #e8c5ff; display: block; } .slot .tip small { color: var(--dim); }
.slot:hover .tip, .slot:focus-visible .tip { opacity: 1; }
.trophies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trophy { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.medal { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #2b1a00; }
.medal.au { background: radial-gradient(circle at 35% 30%, #fff1b8, var(--gold) 55%, var(--gold-lo)); }
.medal.ag { background: radial-gradient(circle at 35% 30%, #fff, #c9cfe6 55%, #7c84a6); }
.medal.cu { background: radial-gradient(circle at 35% 30%, #ffd9c2, #e08a5a 55%, #8d4a28); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 16px; }
.panel h3 { font-size: 22px; }

/* staff */
.crew-big { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.member { position: relative; border-radius: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 0 20px 22px; display: grid; justify-items: center; text-align: center; gap: 6px; margin-top: 120px; }
.member img { height: 300px; width: auto; margin-top: -120px; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .55)); transition: transform .4s var(--ease); }
.member:hover img { transform: translateY(-8px); }
.member .no { position: absolute; top: 14px; left: 16px; font-family: var(--f-pixel); font-size: 11px; color: var(--dim); }
.member .who { font-family: var(--f-display); font-weight: 800; font-size: 28px; font-stretch: 85%; }

/* struttura */
.compare-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.navbox { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 14px; align-content: start; }
.navbox .row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { padding: 6px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 13px; font-weight: 600; }
.pill.dup { background: rgba(255, 107, 125, .14); color: var(--danger); text-decoration: line-through; }
.pill.new { background: rgba(110, 227, 154, .14); color: var(--leaf); }
.tree { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tree ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.tree code, .urls code { font-family: var(--f-pixel); font-size: 11px; color: var(--amethyst-hi); }
.urls { width: 100%; border-collapse: collapse; min-width: 560px; }
.urls td, .urls th { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.urls th { font-family: var(--f-pixel); font-size: 10px; font-weight: 400; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.urls .old { color: var(--danger); text-decoration: line-through; }
.fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fix { display: grid; grid-template-columns: 30px 1fr; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.fix .k { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.fix .k.bug { background: rgba(255, 107, 125, .16); color: var(--danger); }
.fix .k.dup { background: rgba(255, 197, 77, .16); color: var(--gold); }
.fix .k.ux { background: rgba(127, 216, 255, .16); color: var(--frost); }
.fix b { display: block; }
.fix p { color: var(--muted); font-size: 14px; }

/* ---------- pagina Staff: la versione attuale del sito, integrata così com'è ---------- */
.crewx { --nav-h: 0px; --nav-top: 0px; --bg: var(--night); --font-display: "Unbounded", "Bricolage Grotesque", system-ui, sans-serif; --font-mono: ui-monospace, "Consolas", monospace;
  --p-200: #e6c8ff; --p-300: #cf95ff; --p-400: #b457ff; --text: var(--ink); --text-2: var(--muted); --text-3: var(--dim); --surface: #120d22; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); --t: .25s; }
.crewx .crew-hero { padding-top: 0; min-height: max(720px, calc(100svh - 110px)); }
.crewx .crew-panel { top: calc(86px + env(safe-area-inset-top, 0px)); }
.crewx .crew-h1 { margin: 0; font-family: var(--f-pixel); font-size: 12px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--p-200); display: flex; align-items: center; gap: 10px; }
.crewx .crew-h1::before { content: "→"; color: var(--p-400); }
.crewx h2.crew-title { font-weight: 800; line-height: .95; letter-spacing: .01em; margin: 0; font-stretch: 100%; }
.crewx .crew-list h2 { font-family: var(--font-display); font-stretch: 100%; letter-spacing: -.01em; }
.crewx .crew-card { font: inherit; }
.skin3d.is-ready .skin3d-loader, .skin3d.is-fallback .skin3d-loader { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* =====================================================================
   /staff — "The Crazy Crew"
   Usa i token di theme/site.css. Gli effetti pesanti si spengono in modalità lite (mobile)
   e con prefers-reduced-motion.
   ===================================================================== */
.crewx { --mx: 50%; --my: 45%; --px: 0; --py: 0; position: relative; }

/* ---------- HERO ---------- */
.crew-hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(700px, 100svh); padding-top: calc(var(--nav-h) + var(--nav-top)); background: radial-gradient(ellipse 80% 70% at 50% 45%, #1a0b2e 0%, #0c0717 55%, var(--bg) 100%); }
.crew-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: 3; pointer-events: none; }

.core { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.core-aura { position: absolute; left: 50%; top: 47%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(190, 90, 255, 0.42), rgba(130, 40, 220, 0.18) 42%, rgba(80, 20, 150, 0.06) 65%, transparent 72%); animation: aura 7s ease-in-out infinite; }
@keyframes aura { 50% { transform: translate(-50%, -50%) scale(1.07); opacity: 0.8; } }
.core-ring { position: absolute; left: 50%; top: 47%; border-radius: 50%; transform: translate(-50%, -50%); }
.core-ring-a { width: min(600px, 88vw); aspect-ratio: 1; background: conic-gradient(from 0deg, transparent 0 18%, rgba(231, 166, 255, 0.9) 24%, transparent 30% 55%, rgba(180, 87, 255, 0.8) 62%, transparent 70% 100%); -webkit-mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%); mask: radial-gradient(closest-side, transparent 96%, #000 97%, #000 99%, transparent 100%); filter: drop-shadow(0 0 12px rgba(200, 120, 255, 0.9)); animation: spin 16s linear infinite; }
.core-ring-b { width: min(820px, 120vw); aspect-ratio: 1; border: 1px dashed rgba(210, 150, 255, 0.22); animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.core-pulse { position: absolute; left: 50%; top: 47%; width: 300px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(220, 160, 255, 0.5); transform: translate(-50%, -50%) scale(0.6); opacity: 0; animation: pulseOut 4.5s ease-out infinite; }
@keyframes pulseOut { 0% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.6); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.8); } }
.core-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.55; transform: translate(calc(var(--px) * -12px), calc(var(--py) * -12px)); }
.core-lines .energy { fill: none; stroke: url(#el); stroke-width: 1.4; stroke-dasharray: 140 1100; animation: flow 7s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -1240; } }
.core-fragments { position: absolute; inset: 0; }
.frag { position: absolute; transform: translate(calc(var(--px) * var(--z) * -60px), calc(var(--py) * var(--z) * -60px)); opacity: calc(0.35 + var(--z) * 0.45); filter: drop-shadow(0 0 14px rgba(190, 100, 255, 0.7)) blur(calc((1.2 - var(--z)) * 1.2px)); transition: transform 0.6s var(--ease); }
.frag svg { display: block; animation: fragFloat var(--d) ease-in-out infinite; animation-delay: inherit; transform: rotate(var(--r)); }
@keyframes fragFloat { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(calc(var(--r) + 14deg)) translateY(-18px); } }
.core-motes i { position: absolute; bottom: -10px; width: var(--s); height: var(--s); transform: rotate(45deg); border-radius: 1px; background: #f0c8ff; box-shadow: 0 0 10px #c46bff; opacity: 0; animation: mote var(--d) linear infinite; }
@keyframes mote { 10% { opacity: 0.8; } 85% { opacity: 0.6; } 100% { opacity: 0; transform: translateY(-105vh) rotate(225deg); } }
.core-cursor { position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(200, 120, 255, 0.16), transparent 60%); transition: background 0.2s; }
.core-glitch { position: absolute; inset: 0; opacity: 0; }

/* glitch della realtà (raro, 420 ms) */
.is-glitching .core { animation: realityGlitch 0.42s steps(2) 1; }
.is-glitching .core-glitch { opacity: 1; background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(180, 87, 255, 0.14) 22px 24px, transparent 24px 60px), linear-gradient(90deg, rgba(255, 60, 120, 0.08), rgba(60, 220, 255, 0.08)); mix-blend-mode: screen; animation: bands 0.42s steps(3) 1; }
.is-glitching .crew-bigname { animation: splitText 0.42s steps(2) 1; }
@keyframes realityGlitch { 0% { transform: translate(0); filter: none; } 25% { transform: translate(-6px, 2px) skewX(-2deg); filter: hue-rotate(40deg) saturate(1.4); } 50% { transform: translate(5px, -2px); filter: hue-rotate(-30deg); } 75% { transform: translate(-2px, 1px) skewX(1deg); } 100% { transform: none; filter: none; } }
@keyframes bands { 0% { clip-path: inset(10% 0 70% 0); } 33% { clip-path: inset(55% 0 20% 0); } 66% { clip-path: inset(30% 0 45% 0); } 100% { clip-path: inset(80% 0 5% 0); } }
@keyframes splitText { 0%, 100% { text-shadow: none; transform: translate(-50%, -50%); } 50% { text-shadow: -4px 0 rgba(255, 60, 140, 0.45), 4px 0 rgba(60, 220, 255, 0.45); transform: translate(calc(-50% + 3px), -50%); } }

/* nome gigante dietro al personaggio */
.crew-bigname { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: 0; pointer-events: none; white-space: nowrap; font-family: var(--font-display) !important; font-weight: 800; font-size: clamp(4.2rem, 17vw, 17rem); line-height: 1; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(214, 160, 255, 0.24); background: linear-gradient(180deg, rgba(200, 120, 255, 0.16), rgba(200, 120, 255, 0)); -webkit-background-clip: text; background-clip: text; translate: calc(var(--px) * 26px) calc(var(--py) * 14px); }

/* palco del personaggio 3D */
.crew-stage { position: absolute; left: 50%; bottom: 40px; z-index: 2; width: min(560px, 92vw); height: min(76svh, 740px); transform: translateX(-50%); transition: transform 0.7s var(--ease); }
.crew-base { position: absolute; left: 50%; bottom: 8%; width: 62%; height: 64px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 130, 255, 0.65), rgba(140, 50, 230, 0.25) 55%, transparent 75%); filter: blur(4px); z-index: -1; animation: basePulse 4.5s ease-in-out infinite; }
.crew-base::after { content: ""; position: absolute; inset: 22% 18%; border-radius: 50%; border: 1px solid rgba(240, 200, 255, 0.5); box-shadow: 0 0 24px rgba(200, 120, 255, 0.8); }
@keyframes basePulse { 50% { opacity: 0.7; transform: translateX(-50%) scale(1.06); } }
.skin3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.skin3d:active { cursor: grabbing; }
.skin3d canvas { width: 100% !important; height: 100% !important; display: block; filter: drop-shadow(0 30px 40px rgba(10, 0, 30, 0.8)) drop-shadow(0 0 30px rgba(190, 100, 255, 0.35)); opacity: 0; animation: materialize 1.2s var(--ease) 0.1s forwards; }
.skin3d.is-loading canvas { opacity: 0; animation: none; }
@keyframes materialize { from { opacity: 0; filter: blur(8px) brightness(2); } to { opacity: 1; filter: drop-shadow(0 30px 40px rgba(10, 0, 30, 0.8)) drop-shadow(0 0 30px rgba(190, 100, 255, 0.35)); } }
.skin3d-fallback { position: absolute; left: 50%; bottom: 14%; height: 72%; width: auto; transform: translateX(-50%); filter: drop-shadow(0 0 30px rgba(190, 100, 255, 0.45)); }
.skin3d-loader { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 2px solid rgba(220, 170, 255, 0.2); border-top-color: var(--p-300); animation: spin2 0.9s linear infinite; }
@keyframes spin2 { to { transform: rotate(360deg); } }

/* informazioni del Founder */
.crew-info { position: absolute; left: 0; right: 0; bottom: clamp(56px, 9vh, 110px); z-index: 4; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; pointer-events: none; }
.crew-info > * { pointer-events: auto; max-width: 380px; }
.crew-badge-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crew-title { font-family: var(--font-display) !important; font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: 0.95; letter-spacing: 0.01em; background: linear-gradient(180deg, #fff 20%, var(--p-200) 60%, var(--p-400)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(190, 100, 255, 0.45)); white-space: nowrap; }
.crew-role { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.34em; color: var(--p-200); }
.crew-role i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--p-400); box-shadow: 0 0 10px var(--p-400); display: inline-block; }
.crew-hint { position: absolute; left: 50%; bottom: 18px; z-index: 4; transform: translateX(-50%); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; }
.crew-id { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 8px; font-family: var(--font-mono) !important; font-weight: 700; font-size: 0.8rem; color: #fff; background: linear-gradient(135deg, rgba(200, 120, 255, 0.35), rgba(90, 20, 170, 0.35)); border: 1px solid rgba(230, 180, 255, 0.45); box-shadow: 0 0 18px rgba(180, 80, 255, 0.4); }
.crew-id.big { height: 34px; padding: 0 14px; font-size: 0.95rem; }
.role-pill { --rc: var(--p-400); display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; color: var(--rc); background: color-mix(in srgb, var(--rc) 13%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 42%, transparent); }
.role-pill.strong { height: 30px; padding: 0 14px; font-size: 0.72rem; box-shadow: 0 0 18px color-mix(in srgb, var(--rc) 35%, transparent); }

/* pannello profilo aperto: il personaggio si sposta ma resta protagonista */
.has-panel .crew-stage { transform: translateX(-78%); }
.has-panel .crew-info { opacity: 0.25; transition: opacity 0.4s; }
.crew-panel { position: fixed; z-index: 95; top: calc(var(--nav-h) + var(--nav-top) + 14px); right: 16px; bottom: 16px; width: min(420px, calc(100% - 32px)); overflow-y: auto; padding: 26px 24px; border-radius: 24px; background: linear-gradient(180deg, rgba(30, 16, 52, 0.94), rgba(14, 9, 26, 0.96)); border: 1px solid color-mix(in srgb, var(--rc) 45%, var(--line-2)); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.95), 0 0 60px -20px color-mix(in srgb, var(--rc) 60%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); display: flex; flex-direction: column; gap: 16px; }
.crew-panel-glow { position: absolute; inset: 0 0 auto 0; height: 180px; background: radial-gradient(ellipse 80% 100% at 50% 0%, color-mix(in srgb, var(--rc) 30%, transparent), transparent 70%); pointer-events: none; border-radius: 24px 24px 0 0; }
.crew-panel > * { position: relative; }
.crew-panel-close { position: absolute !important; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); display: grid; place-items: center; color: #fff; z-index: 2; }
.crew-panel-close:hover { background: rgba(255, 255, 255, 0.1); }
.crew-panel-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-right: 48px; }
.crew-panel-skin { display: grid; place-items: center; height: 220px; }
.crew-panel-skin .skin-front { height: 210px; width: auto; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--rc) 50%, transparent)); }
.crew-panel-name { font-family: var(--font-display) !important; font-size: clamp(1.8rem, 5vw, 2.4rem); line-height: 1; color: #fff; overflow-wrap: anywhere; }
.crew-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.crew-facts div { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); min-width: 0; }
.crew-facts dt { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.crew-facts dd { margin: 4px 0 0; font-weight: 750; color: #fff; overflow-wrap: anywhere; }
.crew-copy { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; font-weight: 750; color: #fff; cursor: pointer; }
.crew-copy:hover { color: var(--p-200); }
.crew-panel-desc { color: var(--text-2); line-height: 1.7; }
.crew-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.crew-scrim { display: none; }

/* ---------- LA CREW ---------- */
.crew-list { padding-top: clamp(40px, 6vw, 72px); }
.crew-group + .crew-group { margin-top: clamp(32px, 5vw, 48px); }
.crew-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.crew-group-head .line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.crew-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.crew-card { --rc: var(--p-400); --tx: 0; --ty: 0; position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px 20px; border-radius: 22px; border: 1px solid color-mix(in srgb, var(--rc) 22%, var(--line)); background: radial-gradient(260px circle at calc(50% + var(--tx) * 100%) calc(40% + var(--ty) * 100%), color-mix(in srgb, var(--rc) 22%, transparent), transparent 65%), var(--surface); color: var(--text); text-align: center; cursor: pointer; transform: perspective(800px) rotateY(calc(var(--tx) * 12deg)) rotateX(calc(var(--ty) * -12deg)); transition: transform 0.25s var(--ease), border-color var(--t), box-shadow var(--t); box-shadow: var(--shadow); }
.crew-card:hover, .crew-card:focus-visible { border-color: color-mix(in srgb, var(--rc) 60%, transparent); box-shadow: var(--shadow), 0 24px 50px -26px color-mix(in srgb, var(--rc) 80%, transparent); }
.crew-card-id { position: absolute; top: 12px; left: 12px; font-family: var(--font-mono) !important; font-size: 0.72rem; font-weight: 700; color: var(--text-3); }
.crew-card-stage { position: relative; height: 190px; width: 100%; display: grid; place-items: end center; }
.crew-card-skin { height: 176px; width: auto; position: relative; z-index: 1; image-rendering: pixelated; transition: transform 0.4s var(--ease), filter 0.3s; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.6)); }
.crew-card:hover .crew-card-skin { transform: translateY(-8px) scale(1.04); filter: drop-shadow(-3px 0 0 rgba(255, 60, 140, 0.35)) drop-shadow(3px 0 0 rgba(60, 220, 255, 0.35)) drop-shadow(0 18px 18px rgba(0, 0, 0, 0.6)); }
.crew-pedestal { position: absolute; bottom: -4px; left: 50%; width: 70%; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rc) 55%, transparent), transparent); }
.crew-card-name { font-family: var(--font-display) !important; font-size: 1.1rem; font-weight: 700; margin-top: 6px; }
.crew-card.is-open { opacity: 0.75; border-style: dashed; }
.crew-card.is-open:hover { opacity: 1; }
.crew-join { margin-top: clamp(40px, 6vw, 64px); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* sagoma di un personaggio (posti liberi o skin non disponibile) */
.skin-front { image-rendering: pixelated; }
.skin-silhouette { display: block; aspect-ratio: 1 / 2; height: 176px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc, #c985ff) 40%, #1a1030), #120b20); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 32'%3E%3Cpath d='M4 0h8v8H4zM4 8h8v12H4zM0 8h4v12H0zM12 8h4v12h-4zM4 20h4v12H4zM8 20h4v12H8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 32'%3E%3Cpath d='M4 0h8v8H4zM4 8h8v12H4zM0 8h4v12H0zM12 8h4v12h-4zM4 20h4v12H4zM8 20h4v12H8z'/%3E%3C/svg%3E") center / contain no-repeat; opacity: 0.8; }

/* ---------- tablet e mobile: layout impilato ed effetti ridotti ---------- */
@media (max-width: 900px) {
  .crew-hero { min-height: auto; display: flex; flex-direction: column; padding-bottom: 36px; }
  .crew-stage { position: relative; left: auto; bottom: auto; transform: none; margin: 8px auto 0; width: min(420px, 100%); height: min(58svh, 520px); }
  .crew-bigname { top: 30%; font-size: 24vw; }
  .crew-info { position: relative; bottom: auto; align-items: center; text-align: center; margin-top: -8px; }
  .crew-info > * { max-width: none; }
  .crew-badge-row { justify-content: center; }
  .crew-role { justify-content: center; letter-spacing: 0.26em; }
  .crew-title { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .crew-hint { position: relative; left: auto; bottom: auto; transform: none; text-align: center; margin-top: 16px; white-space: normal; }
  .core-aura, .core-ring, .core-pulse { top: 32%; }
  .has-panel .crew-stage { transform: none; }
  .crew-panel { top: auto; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: min(78svh, 640px); border-radius: 22px; }
  .crew-scrim { display: block; position: fixed; inset: 0; z-index: 94; border: 0; background: rgba(5, 3, 10, 0.55); backdrop-filter: blur(3px); }
  .crew-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 420px) { .crew-facts { grid-template-columns: 1fr; } .crew-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .crew-card-skin, .skin-silhouette { height: 140px; } .crew-card-stage { height: 150px; } }

/* modalità lite (mobile, dispositivi deboli): niente linee animate né glitch, meno movimento */
.is-lite .core-lines, .is-lite .core-cursor, .is-lite .core-ring-b { display: none; }
.is-lite .core-ring-a { animation-duration: 28s; }
.is-lite .frag svg { animation: none; }
.is-lite .crew-card { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .core *, .crew-base, .skin3d canvas { animation: none !important; }
  .skin3d canvas { opacity: 1; }
  .core-lines, .core-motes { display: none; }
  .crew-card { transform: none !important; }
}

/* tag e trofei nel pannello profilo (dal Founder Control Center) */
.crew-panel-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.crew-trophy { --r: #9aa3b5; display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: color-mix(in srgb, var(--r) 70%, #fff); border: 1px solid color-mix(in srgb, var(--r) 45%, transparent); background: color-mix(in srgb, var(--r) 12%, transparent); }
.crew-trophy.r-rare { --r: #4fa3ff; } .crew-trophy.r-epic { --r: #b457ff; } .crew-trophy.r-legendary { --r: #ffb020; } .crew-trophy.r-mythic { --r: #ff3fa4; }
/* SEO: il titolo della pagina è "Staff · The Crazy Crew"; il nome del Founder resta grande ma è un h2 */

/* ---------- pagine aggiunte: guide, community, legali, classifiche v2 ---------- */
.doc-hero { position: relative; overflow: hidden; padding-block: 48px 40px; border-bottom: 1px solid var(--line); isolation: isolate; background: radial-gradient(70% 120% at 85% 0%, rgba(160, 107, 255, .18), transparent 60%), var(--night); }
.doc-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.doc-hero .copy { display: grid; gap: 16px; max-width: 760px; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 80px); }
.doc-hero .art { height: 220px; width: auto; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)); }
.doc-hero .art.pix { height: 150px; filter: drop-shadow(0 0 30px rgba(160, 107, 255, .45)); }
.two-col { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.toc { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 4px; padding: 16px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.toc b { font-family: var(--f-pixel); font-size: 10px; font-weight: 400; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.toc a { padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.toc a:hover, .toc a.on { background: rgba(255, 255, 255, .05); color: var(--ink); }
.prose { max-width: 72ch; color: var(--muted); font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 28px; color: var(--ink); margin: 40px 0 12px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; color: var(--ink); margin: 26px 0 8px; }
.prose p + p, .prose ul, .prose ol { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong, .prose b { color: var(--ink); }
.prose a { color: var(--amethyst-hi); text-decoration: underline; text-underline-offset: 3px; }
.note { padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 197, 77, .35); background: rgba(255, 197, 77, .08); color: var(--ink); font-size: 14px; }

/* come iniziare */
.guide { display: grid; gap: 18px; counter-reset: g; }
.gstep { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.gstep::before { counter-increment: g; content: counter(g); width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 30px; background: linear-gradient(160deg, var(--amethyst), var(--amethyst-lo)); box-shadow: 0 4px 0 #3b1c80, 0 14px 30px -12px rgba(160, 107, 255, .8); }
.gstep h3 { margin-bottom: 10px; }
.gstep ol, .gstep ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.kbd { font-family: var(--f-pixel); font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(160, 107, 255, .16); color: var(--ink); white-space: nowrap; }
.cmds { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 14px; }
.cmd { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.cmd code { font-family: var(--f-pixel); font-size: 12px; color: var(--amethyst-hi); }
.cmd span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.acc { display: grid; gap: 10px; }
.acc details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.acc details[open] { border-color: var(--line-2); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 22px; color: var(--amethyst-hi); transition: transform .2s; flex: none; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .a { padding: 0 20px 18px; color: var(--muted); line-height: 1.7; }
.acc .a a { color: var(--amethyst-hi); text-decoration: underline; text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 40px; }
.faq-group h2 { font-size: 30px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.faq-group h2 img { width: 36px; height: 36px; }

/* regolamento */
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs button { border: 0; background: none; padding: 10px 16px; border-radius: 10px; cursor: pointer; font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.tabs button[aria-selected="true"] { background: var(--amethyst); color: #fff; }
.tabs .n { font-family: var(--f-pixel); font-size: 10px; background: rgba(255, 255, 255, .15); padding: 2px 6px; border-radius: 6px; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; counter-reset: r; }
.rule { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.rule::before { counter-increment: r; content: counter(r, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: 32px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amethyst); }
.rule h3 { font-size: 20px; margin-bottom: 6px; }
.rule p { color: var(--muted); font-size: 15px; line-height: 1.6; }

/* novità */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.blog .post:first-child { grid-column: 1 / -1; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto; }
.blog .post:first-child .img { aspect-ratio: auto; min-height: 320px; }
.blog .post:first-child .body { padding: 32px; align-content: center; }
.blog .post:first-child h3 { font-size: 38px; }
.chip-cat { justify-self: start; font-family: var(--f-pixel); font-size: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(160, 107, 255, .16); color: var(--amethyst-hi); }
.article-hero { position: relative; border-radius: 26px; overflow: hidden; min-height: 360px; display: grid; align-items: end; padding: 32px; isolation: isolate; border: 1px solid var(--line-2); }
.article-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 22, .95), rgba(10, 12, 22, .2) 70%); }
.article-hero .pop { position: absolute; right: 24px; bottom: 0; height: 88%; width: auto; z-index: -1; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)); }
.byline { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: 14px; }
.byline .av { width: 40px; height: 40px; border-radius: 10px; background: var(--panel-2); display: grid; place-items: center; }
.byline .av img { width: 28px; height: 28px; }

/* forum */
.forum-top { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.fsec { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.fsec + .fsec { margin-top: 16px; }
.fsec-head { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.fsec-head img { width: 40px; height: 40px; }
.fsec-head h3 { font-size: 22px; }
.fsec-head p { color: var(--dim); font-size: 14px; }
.fcat { display: grid; grid-template-columns: minmax(0, 1fr) 150px 220px; gap: 16px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background .15s; }
.fcat:last-child { border-bottom: 0; }
.fcat:hover { background: rgba(255, 255, 255, .025); }
.fcat b { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fcat .d { color: var(--muted); font-size: 14px; }
.fcat .c { color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.fcat .last { font-size: 13px; color: var(--muted); min-width: 0; }
.fcat .last b { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.lock { font-family: var(--f-pixel); font-size: 9px; padding: 3px 6px; border-radius: 5px; background: rgba(255, 255, 255, .08); color: var(--muted); }
.lock.staff { background: rgba(255, 107, 214, .14); color: #ff6bd6; }
.side { display: grid; gap: 16px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.side .panel h3 { font-size: 18px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-stats div { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.mini-stats b { display: block; font-family: var(--f-display); font-size: 26px; font-weight: 800; font-stretch: 85%; }
.mini-stats span { font-size: 12px; color: var(--dim); }
.who-row { display: flex; align-items: center; gap: 10px; }
.head { width: 34px; height: 34px; border-radius: 8px; image-rendering: pixelated; background: var(--panel-2); flex: none; }
.head.lg { width: 56px; height: 56px; border-radius: 12px; }

/* tag, ruoli e trofei */
.tagc { --t: #b457ff; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font-family: var(--f-pixel); font-size: 10px; letter-spacing: .04em; color: var(--t); background: color-mix(in srgb, var(--t) 15%, transparent); border: 1px solid color-mix(in srgb, var(--t) 40%, transparent); white-space: nowrap; }
.trow { display: flex; gap: 6px; flex-wrap: wrap; }
.tro { width: 34px; height: 34px; image-rendering: pixelated; position: relative; cursor: help; }
.tro-wrap { position: relative; display: inline-block; }
.tro-wrap .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #120f26; border: 1px solid var(--line-2); padding: 8px 10px; border-radius: 8px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.tro-wrap .tip b { display: block; color: var(--ink); font-size: 13px; }
.tro-wrap:hover .tip, .tro-wrap:focus-visible .tip { opacity: 1; }
.rar-comune { --rc: #9aa3b5; } .rar-raro { --rc: #4fa3ff; } .rar-epico { --rc: #b457ff; } .rar-leggendario { --rc: #ffb020; } .rar-mitico { --rc: #ff3fa4; }

/* trofei */
.rarities { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 26px; }
.rarity { border-radius: 14px; padding: 14px; border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); background: color-mix(in srgb, var(--rc) 10%, var(--panel)); display: grid; gap: 2px; }
.rarity b { color: var(--rc); font-family: var(--f-display); font-size: 22px; font-weight: 800; font-stretch: 85%; }
.rarity span { color: var(--muted); font-size: 13px; }
.trophies-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.tcard { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 18px; border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, var(--rc) 12%, transparent), transparent 60%), var(--panel); border: 1px solid color-mix(in srgb, var(--rc) 30%, var(--line)); transition: transform .25s var(--ease), border-color .25s; }
.tcard:hover { transform: translateY(-4px); border-color: var(--rc); }
.tcard img { width: 64px; height: 64px; image-rendering: pixelated; filter: drop-shadow(0 6px 14px color-mix(in srgb, var(--rc) 50%, transparent)); }
.tcard h3 { font-size: 20px; }
.tcard .r { font-family: var(--f-pixel); font-size: 10px; color: var(--rc); text-transform: uppercase; letter-spacing: .08em; }
.tcard p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 4px; }
.tcard .how { margin-top: 8px; font-size: 13px; color: var(--ink); background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 6px 9px; }
.tcard .who { margin-top: 8px; font-size: 12px; color: var(--dim); }

/* membri */
.mfilters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.mfilters input, .mfilters select { background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 14px; color: var(--ink); font: inherit; min-width: 0; }
.mfilters input { flex: 1 1 220px; }
.members { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.mcard { --rc: #b457ff; position: relative; border-radius: 22px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.mcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc) 60%, transparent); }
.mcard .banner { height: 86px; background: radial-gradient(80% 140% at 20% 0%, color-mix(in srgb, var(--rc) 55%, transparent), transparent 70%), linear-gradient(120deg, color-mix(in srgb, var(--rc) 25%, #141830), #141830); position: relative; }
.mcard .banner .no { position: absolute; top: 12px; right: 14px; font-family: var(--f-pixel); font-size: 10px; color: rgba(255, 255, 255, .7); }
.mcard .body { padding: 0 18px 18px; display: grid; gap: 10px; }
.mcard .top { display: flex; gap: 14px; align-items: end; margin-top: -34px; }
.mcard .avatar { width: 76px; height: 76px; border-radius: 18px; background: #1c2040; border: 3px solid var(--panel); image-rendering: pixelated; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6); flex: none; }
.mcard .nm { font-family: var(--f-display); font-weight: 800; font-size: 24px; font-stretch: 85%; line-height: 1.05; }
.mcard .at { color: var(--dim); font-size: 13px; }
.mcard .role-line { color: var(--rc); font-weight: 700; font-size: 14px; }
.mstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mstats div { background: rgba(255, 255, 255, .03); border-radius: 10px; padding: 8px 10px; }
.mstats b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 20px; font-stretch: 85%; font-variant-numeric: tabular-nums; }
.mstats span { font-size: 11px; color: var(--dim); }
.mcard .since { font-size: 12px; color: var(--dim); }

/* classifiche v2 */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 22px; }
.mode { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; text-align: left; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.mode:hover { transform: translateY(-2px); }
.mode img { width: 46px; height: 46px; }
.mode b { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 800; font-stretch: 85%; }
.mode small { color: var(--dim); font-size: 13px; }
.mode[aria-pressed="true"] { border-color: var(--amethyst); background: linear-gradient(120deg, rgba(160, 107, 255, .2), var(--panel)); box-shadow: 0 20px 40px -24px rgba(160, 107, 255, .8); }
.cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.cats button { border: 1px solid var(--line); background: rgba(255, 255, 255, .03); padding: 9px 14px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.cats button[aria-pressed="true"] { background: var(--ink); color: var(--night); border-color: var(--ink); }
.lb-stage { position: relative; border-radius: 26px; border: 1px solid var(--line-2); background: radial-gradient(60% 80% at 50% 100%, rgba(160, 107, 255, .25), transparent 70%), linear-gradient(180deg, #121633, #0d1022); padding: 30px 20px 0; overflow: hidden; margin-bottom: 18px; }
.lb-stage h2 { text-align: center; font-size: clamp(28px, 3.4vw, 44px); }
.lb-stage .sub { text-align: center; color: var(--muted); margin-top: 6px; }
.podium2 { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 14px; align-items: end; max-width: 860px; margin: 22px auto 0; }
.p2 { display: grid; justify-items: center; }
.p2 .crown { width: 40px; height: 40px; margin-bottom: -6px; filter: drop-shadow(0 0 14px rgba(255, 197, 77, .8)); }
.p2 img.r { height: 220px; width: auto; filter: drop-shadow(0 16px 16px rgba(0, 0, 0, .55)); margin-bottom: -6px; position: relative; z-index: 1; }
.p2.first img.r { height: 270px; }
.p2 .blk { width: 100%; border-radius: 18px 18px 0 0; padding: 18px 10px 22px; text-align: center; display: grid; gap: 2px; border: 1px solid var(--line-2); border-bottom: 0; }
.p2.first .blk { min-height: 170px; background: linear-gradient(180deg, rgba(255, 197, 77, .3), rgba(255, 197, 77, .04)); border-color: rgba(255, 197, 77, .45); }
.p2.second .blk { min-height: 130px; background: linear-gradient(180deg, rgba(200, 210, 255, .22), rgba(200, 210, 255, .03)); }
.p2.third .blk { min-height: 105px; background: linear-gradient(180deg, rgba(255, 150, 100, .22), rgba(255, 150, 100, .03)); }
.p2 .pos { font-family: var(--f-display); font-weight: 800; font-size: 34px; line-height: 1; }
.p2.first .pos { color: var(--gold); }
.p2 .nm { font-weight: 800; }
.p2 .v { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; }
.lb2 { width: 100%; border-collapse: collapse; }
.lb2 td, .lb2 th { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-variant-numeric: tabular-nums; }
.lb2 th { font-family: var(--f-pixel); font-size: 10px; font-weight: 400; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }
.lb2 .r { text-align: right; }
.lb2 .pl { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.lb2 .bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); overflow: hidden; min-width: 80px; }
.lb2 .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--amethyst), var(--frost)); border-radius: 3px; }
.lb2 .rk { font-family: var(--f-display); font-weight: 800; font-size: 20px; width: 56px; color: var(--dim); }
.lb2 tr.top1 .rk { color: var(--gold); } .lb2 tr.top2 .rk { color: #cfd6ff; } .lb2 tr.top3 .rk { color: #ff9f6b; }
.lb2 tbody tr { transition: background .15s; }
.lb2 tbody tr:hover { background: rgba(255, 255, 255, .025); }
.lb-empty { text-align: center; padding: 50px 20px 60px; display: grid; gap: 12px; justify-items: center; }
.lb-empty img { height: 200px; width: auto; }
.lb-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; color: var(--dim); font-size: 13px; }
.live { display: inline-flex; gap: 8px; align-items: center; font-family: var(--f-pixel); font-size: 10px; color: var(--leaf); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 10px var(--leaf); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* vota, sanzioni, skywars */
.vote-sites { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vsite { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.vsite .n { font-family: var(--f-display); font-weight: 800; font-size: 34px; color: transparent; -webkit-text-stroke: 1.5px var(--gold); }
.reward { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--r); border: 1px solid rgba(255, 197, 77, .4); background: linear-gradient(120deg, rgba(255, 197, 77, .12), var(--panel) 60%); }
.reward img { width: 64px; height: 64px; }
.streak { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.streak div { text-align: center; padding: 18px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.streak b { display: block; font-family: var(--f-display); font-size: 40px; font-weight: 800; font-stretch: 85%; color: var(--gold); }
.ban-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.ban-stats div { padding: 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.ban-stats b { display: block; font-family: var(--f-display); font-size: 44px; font-weight: 800; font-stretch: 85%; }
.empty-box { text-align: center; padding: 48px 20px; border-radius: var(--r); border: 1px dashed var(--line-2); display: grid; gap: 10px; justify-items: center; }
.empty-box img { width: 72px; height: 72px; }

/* carrello */
.cart-fab { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 65; }
.cart-fab .btn { box-shadow: 0 4px 0 var(--gold-lo), 0 20px 40px -10px rgba(0, 0, 0, .7); }
.cart-fab .count { background: #2b1a00; color: var(--gold); border-radius: 999px; padding: 1px 8px; font-size: 13px; }
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(5, 6, 12, .6); display: flex; justify-content: flex-end; }
.drawer-in { width: min(420px, 100%); height: 100%; background: var(--night-2); border-left: 1px solid var(--line); padding: calc(20px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) 20px; display: grid; grid-template-rows: auto 1fr auto; gap: 16px; }
.cart-items { overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.citem { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.citem img { width: 52px; height: 52px; object-fit: contain; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: none; cursor: pointer; }
.cart-sum { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.cart-sum .row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; }

@media (max-width: 1080px) {
  .forum-top, .two-col { grid-template-columns: minmax(0, 1fr); }
  .toc, .side { position: relative; top: 0; }
  .rarities { grid-template-columns: repeat(3, 1fr); }
  .fcat { grid-template-columns: minmax(0, 1fr) 120px; }
  .fcat .last { display: none; }
}
@media (max-width: 820px) {
  .doc-hero .wrap { grid-template-columns: 1fr; }
  .doc-hero .art { height: 160px; justify-self: start; }
  .rules, .vote-sites, .blog, .modes { grid-template-columns: 1fr; }
  .blog .post:first-child { grid-template-columns: 1fr; }
  .blog .post:first-child .img { min-height: 220px; }
  .blog .post:first-child h3 { font-size: 28px; }
  .gstep { grid-template-columns: 1fr; }
  .podium2 { gap: 6px; }
  .p2 img.r { height: 130px; } .p2.first img.r { height: 160px; }
  .p2 .pos { font-size: 24px; } .p2 .nm { font-size: 13px; overflow-wrap: anywhere; }
  .lb2 .bar { display: none; }
  .ban-stats, .streak { grid-template-columns: 1fr; }
  .rarities { grid-template-columns: 1fr 1fr; }
  .fcat { grid-template-columns: 1fr; }
  .fcat .c { display: none; }
  .vsite { grid-template-columns: 44px minmax(0, 1fr); }
  .vsite .btn { grid-column: 1 / -1; justify-content: center; }
}


/* store rinnovato */
.store-main, .store-side { min-width: 0; }
.store-hero { position: relative; overflow: hidden; padding-block: 44px 36px; border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 80% 10%, rgba(255, 197, 77, .16), transparent 60%), radial-gradient(50% 90% at 10% 0%, rgba(160, 107, 255, .18), transparent 60%), var(--night); }
.store-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; align-items: center; }
.store-hero .copy { display: grid; gap: 16px; }
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; max-width: 560px; }
.trust span { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.trust img { width: 24px; height: 24px; }
.buyer { position: relative; border-radius: 28px; padding: 26px 22px 22px; border: 1px solid rgba(255, 197, 77, .55); background: linear-gradient(180deg, rgba(255, 197, 77, .16), rgba(20, 24, 48, .95) 55%); display: grid; justify-items: center; text-align: center; gap: 4px; overflow: hidden; isolation: isolate; box-shadow: 0 40px 80px -40px rgba(255, 197, 77, .6); }
.buyer::before { content: ""; position: absolute; inset: -40% -20% auto; height: 120%; background: conic-gradient(from 0deg, transparent 0 20%, rgba(255, 220, 140, .25) 25%, transparent 32% 70%, rgba(255, 220, 140, .2) 76%, transparent 82%); animation: buyerRays 16s linear infinite; z-index: -1; }
@keyframes buyerRays { to { transform: rotate(360deg); } }
.buyer-glow { position: absolute; left: 50%; top: 52%; width: 70%; height: 30%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 197, 77, .55), transparent); z-index: -1; filter: blur(6px); }
.buyer-ex { position: absolute; top: 14px; left: 14px; font-family: var(--f-pixel); font-size: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(255, 255, 255, .1); color: var(--muted); }
.buyer-crown { width: 54px; height: 54px; filter: drop-shadow(0 0 16px rgba(255, 197, 77, .9)); }
.buyer-render { height: 250px; width: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .55)); margin-top: -6px; }
.buyer-info { display: grid; gap: 8px; justify-items: center; }
.buyer-name { font-family: var(--f-display); font-weight: 800; font-size: 40px; font-stretch: 85%; line-height: 1; background: linear-gradient(180deg, #fff6c8, var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.store-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.store-side { display: grid; gap: 16px; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.ranks2 { display: grid; gap: 12px; }
.rank2 { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); transition: transform .25s var(--ease), border-color .25s; }
.rank2:hover { transform: translateX(4px); }
.rank2 img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); }
.rank2 .name { font-family: var(--f-display); font-weight: 800; font-size: 30px; font-stretch: 85%; line-height: 1; }
.rank2 ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 14px; }
.rank2 li::before { content: "+ "; color: var(--leaf); font-weight: 800; }
.r2-buy { display: grid; gap: 8px; justify-items: end; }
.r2-buy .price { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.r2-buy .price small { font-size: 12px; color: var(--dim); }
.rank2.vip .name { color: #67e3a4; } .rank2.elite .name { color: #6fc9ff; } .rank2.legend .name { color: #ffa45c; } .rank2.emperor .name { color: var(--gold); }
.rank2.emperor { border-color: rgba(255, 197, 77, .45); background: linear-gradient(90deg, rgba(255, 197, 77, .12), var(--panel) 55%); }
.rank2 .best { position: absolute; top: -10px; right: 18px; font-family: var(--f-pixel); font-size: 10px; background: var(--gold); color: #2b1a00; padding: 4px 8px; border-radius: 6px; }
.kit-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kitmini { display: grid; gap: 4px; padding: 16px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--kc) 16%, transparent), var(--panel) 70%); border: 1px solid color-mix(in srgb, var(--kc) 35%, var(--line)); transition: transform .25s var(--ease); }
.kitmini:hover { transform: translateY(-4px); }
.kit-pair { display: flex; gap: 6px; margin-bottom: 6px; }
.kit-pair img { width: 44px; height: 44px; padding: 4px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.kitmini span.muted { font-size: 13px; }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 4px 0 #3b45b5; justify-content: center; }
.dc { border-radius: 22px; overflow: hidden; background: #1e1f24; border: 1px solid rgba(88, 101, 242, .45); box-shadow: 0 30px 60px -36px rgba(88, 101, 242, .8); }
.dc-banner { position: relative; height: 110px; }
.dc-banner > img:first-child { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.dc-logo { position: absolute; left: 16px; bottom: -22px; width: 84px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .7)); }
.dc-body { padding: 30px 18px 18px; display: grid; gap: 12px; }
.dc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dc-head b { font-size: 18px; }
.dc-count { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #b5bac1; }
.dc-count b { font-size: 13px; color: #f2f3f5; }
.dc-count i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.on { background: #23a55a; } .idle { background: #f0b232; }
.dc-ch { list-style: none; margin: 0; padding: 10px; display: grid; gap: 2px; background: #2b2d31; border-radius: 12px; font-size: 14px; color: #b5bac1; }
.dc-ch li { display: flex; gap: 8px; padding: 4px 6px; border-radius: 6px; }
.dc-ch li:first-child { background: rgba(78, 80, 88, .5); color: #f2f3f5; }
.dc-ch span { color: #80848e; width: 14px; text-align: center; }
.dc-body h4 { margin: 4px 0 0; font-size: 10px; }
.dc-people { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dc-people li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 4px 6px; border-radius: 8px; }
.dc-people li:hover { background: rgba(78, 80, 88, .4); }
.dc-av { position: relative; width: 32px; height: 32px; }
.dc-av img, .dc-av > span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #5865f2; font-weight: 800; object-fit: cover; }
.dc-av i { position: absolute; right: -1px; bottom: -1px; border: 2px solid #1e1f24; width: 12px; height: 12px; border-radius: 50%; }
.dc-nm { color: #f2f3f5; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-when { color: #80848e; font-size: 12px; }
.dc-new { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(88, 101, 242, .18); border: 1px solid rgba(88, 101, 242, .45); color: #f2f3f5; font-size: 13px; }
.dc-new b { display: block; font-size: 14px; }
.dc-new span span { color: #b5bac1; }
/* kit */
.kits { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.kit { --kc: var(--amethyst); display: grid; gap: 14px; align-content: start; padding: 20px; border-radius: 22px; background: linear-gradient(170deg, color-mix(in srgb, var(--kc) 14%, transparent), var(--panel) 45%); border: 1px solid color-mix(in srgb, var(--kc) 30%, var(--line)); transition: transform .25s var(--ease), border-color .25s; }
.kit:hover { transform: translateY(-4px); border-color: var(--kc); }
.kit-head { display: flex; gap: 14px; align-items: center; }
.kit-ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(0, 0, 0, .3); border: 1px solid color-mix(in srgb, var(--kc) 40%, transparent); box-shadow: 0 0 24px -6px var(--kc); flex: none; }
.kit-ic img { width: 40px; height: 40px; }
.kit h3 { font-size: 24px; margin-bottom: 6px; }
.kit-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; padding: 10px; border-radius: 14px; background: #171a33; border: 1px solid var(--line); }
.kslot { position: relative; aspect-ratio: 1; border-radius: 8px; background: #20244a; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); display: grid; place-items: center; cursor: help; }
.kslot:hover, .kslot:focus-visible { background: #2a2f5c; }
.kslot img { width: 72%; height: 72%; }
.kslot i { position: absolute; right: 4px; bottom: 2px; font-style: normal; font-family: var(--f-pixel); font-size: 10px; color: #fff; text-shadow: 1px 1px 0 #000; }
.kslot .tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #120f26; border: 2px solid #2e1b66; color: #e8c5ff; padding: 6px 8px; border-radius: 6px; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 5; }
.kslot:hover .tip, .kslot:focus-visible .tip { opacity: 1; }
.kit-cmd { justify-self: start; font-family: var(--f-pixel); font-size: 11px; color: var(--amethyst-hi); background: rgba(160, 107, 255, .12); padding: 5px 9px; border-radius: 6px; }
@media (max-width: 1080px) { .store-grid { grid-template-columns: minmax(0, 1fr); } .store-side { position: relative; top: 0; } .kit-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .store-hero .wrap { grid-template-columns: 1fr; } .trust { grid-template-columns: 1fr; } .rank2 { grid-template-columns: 64px minmax(0, 1fr); } .rank2 img { width: 64px; height: 64px; } .r2-buy { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: start; } .buyer-render { height: 200px; } .kits { grid-template-columns: 1fr; } }


/* ---------- guida: libro di Minecraft ---------- */
.bk-wrap { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 28px; align-items: start; }
.bk-chapters { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); display: grid; gap: 2px; padding: 12px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); max-height: calc(100vh - 130px); overflow-y: auto; }
.bk-chapters a { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.bk-chapters a:hover, .bk-chapters a.on { background: rgba(255, 255, 255, .06); color: var(--ink); }
.bk-chapters a.on { box-shadow: inset 3px 0 0 var(--amethyst); }
.bk-stage { display: grid; gap: 14px; min-width: 0; }
.bk { --paper: #f4e9c8; --paper-2: #e6d4a3; --ink-b: #3b2a15; padding: 14px; border-radius: 10px; background: #5a3a1b; box-shadow: inset 0 0 0 3px #3a240f, inset 0 0 0 6px #7a5228, 0 40px 80px -30px rgba(0, 0, 0, .8); perspective: 2200px; }
.bk-spread { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; transform-style: preserve-3d; }
.bk-spread.one { grid-template-columns: 1fr; min-height: 560px; }
.bk-spread::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 28px; transform: translateX(-50%); background: linear-gradient(90deg, rgba(60, 40, 15, 0), rgba(60, 40, 15, .28) 45%, rgba(60, 40, 15, .4) 50%, rgba(60, 40, 15, .28) 55%, rgba(60, 40, 15, 0)); pointer-events: none; z-index: 2; }
.bk-spread.one::after { display: none; }
.bk-page { position: relative; padding: 46px 40px 54px; color: var(--ink-b); font-family: "Pixelify Sans", var(--f-pixel), monospace; font-size: 18px; line-height: 1.55; background: radial-gradient(120% 90% at 50% 40%, var(--paper) 55%, var(--paper-2)), var(--paper); background-blend-mode: multiply; box-shadow: inset 0 0 40px rgba(120, 85, 30, .25); min-width: 0; overflow-wrap: anywhere; }
.bk-page::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(120, 90, 40, .05) 0 2px, transparent 2px 4px), repeating-linear-gradient(90deg, rgba(120, 90, 40, .04) 0 2px, transparent 2px 5px); pointer-events: none; }
.bk-page:first-child { border-radius: 4px 0 0 4px; }
.bk-page:last-child { border-radius: 0 4px 4px 0; }
.bk-spread.one .bk-page { border-radius: 4px; }
.bk-pn { position: absolute; top: 16px; right: 22px; font-size: 13px; color: #7a6238; }
.bk-h { display: flex; gap: 10px; align-items: center; font-family: "Pixelify Sans", var(--f-pixel), monospace; font-size: 26px; font-weight: 600; color: #4a1f8c; margin: 0 0 14px; line-height: 1.15; letter-spacing: 0; font-stretch: 100%; }
.bk-run { display: block; font-size: 13px; color: #8a7246; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
.bk-text h4 { font-size: 20px; font-weight: 600; color: #4a1f8c; margin: 14px 0 4px; }
.bk-text h4:first-child { margin-top: 0; }
.bk-text p { margin: 6px 0; }
.bk-text ul, .bk-text ol { margin: 6px 0; padding-left: 0; list-style: none; display: grid; gap: 4px; }
.bk-text ol { counter-reset: n; }
.bk-text ul li::before { content: "▪ "; color: #6b4b1f; }
.bk-text ol li::before { counter-increment: n; content: counter(n) ". "; color: #6b4b1f; }
.bk-text b { color: #1f140a; font-weight: 600; }
.bk-cmd, .bk-ip { color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; white-space: nowrap; }
.bk-cmd:hover, .bk-ip:hover { color: #7c2bd6; background: rgba(124, 43, 214, .08); }
.bk-link { color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }
.bk-back { position: absolute; left: 40px; bottom: 18px; font-size: 15px; color: #1d4ed8; text-decoration: underline; text-underline-offset: 3px; }
.bk-cover { display: grid; justify-items: center; text-align: center; gap: 12px; padding-top: 70px; }
.bk-title { font-family: "Pixelify Sans", var(--f-pixel), monospace; font-size: 40px; font-weight: 600; color: #4a1f8c; letter-spacing: .04em; }
.bk-sub { font-size: 18px; color: #6b4b1f; }
.bk-mode { font-size: 22px; font-weight: 600; letter-spacing: .12em; color: #2a1c0d; }
.bk-cover p { max-width: 30ch; font-size: 16px; }
.bk-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bk-index a { display: flex; align-items: baseline; gap: 8px; color: #1d4ed8; }
.bk-index a span { text-decoration: underline; text-underline-offset: 3px; }
.bk-index a i { flex: 1; border-bottom: 2px dotted rgba(80, 55, 20, .35); transform: translateY(-4px); }
.bk-index a b { color: #2a1c0d; font-weight: 600; }
.bk-index a:hover span { color: #7c2bd6; }
.bk-leaf { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 5; background: linear-gradient(90deg, #efe2bb, #f4e9c8 40%, #e2cf9c); box-shadow: 0 0 30px rgba(60, 40, 15, .35); transform-style: preserve-3d; backface-visibility: visible; }
.bk-leaf.fwd { left: 50%; transform-origin: left center; }
.bk-leaf.back { left: 0; transform-origin: right center; }
.bk-leaf.one { width: 100%; left: 0; transform-origin: left center; }
.bk-nav { display: flex; justify-content: center; align-items: center; gap: 22px; }
.bk-pos { font-family: var(--f-pixel); font-size: 12px; color: var(--muted); min-width: 110px; text-align: center; }
.bk-arrow { width: 58px; height: 40px; border: 0; cursor: pointer; background: #f4e9c8; border-radius: 6px; box-shadow: 0 4px 0 #b49a62; position: relative; transition: transform .15s; }
.bk-arrow::after { content: ""; position: absolute; inset: 10px 18px; background: #6b2fd6; clip-path: polygon(0 35%, 55% 35%, 55% 0, 100% 50%, 55% 100%, 55% 65%, 0 65%); }
.bk-arrow.prev::after { transform: scaleX(-1); }
.bk-arrow:hover:not(:disabled) { transform: translateY(-2px); }
.bk-arrow:active:not(:disabled) { transform: translateY(3px); box-shadow: 0 1px 0 #b49a62; }
.bk-arrow:disabled { opacity: .35; cursor: default; }
@media (max-width: 1080px) { .bk-wrap { grid-template-columns: minmax(0, 1fr); } .bk-chapters { position: relative; top: 0; max-height: none; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } }
@media (max-width: 520px) { .bk { padding: 8px; } .bk-page { padding: 42px 22px 50px; font-size: 16px; } .bk-back { left: 22px; } .bk-h { font-size: 22px; } .bk-chapters { grid-template-columns: 1fr 1fr; } }

/* ---------- menu mobile ---------- */
.sheet { position: fixed; inset: 0; z-index: 70; background: rgba(5, 6, 12, .6); display: flex; justify-content: flex-end; }
.sheet-in { width: min(420px, 100%); height: 100%; background: var(--night-2); border-left: 1px solid var(--line); padding: calc(18px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) 18px; overflow-y: auto; display: grid; gap: 18px; align-content: start; }
.sheet-in h5 { margin: 6px 0 0; font-family: var(--f-pixel); font-size: 11px; color: var(--dim); font-weight: 400; text-transform: uppercase; letter-spacing: .1em; }
.sheet-in a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); font-weight: 700; }
.sheet-close { justify-self: end; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: none; cursor: pointer; font-size: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-right .ip { display: none; }
  .worlds { grid-template-columns: 1fr 1fr; }
  .worlds .world:first-child { grid-column: 1 / -1; }
  .ranks, .grid-4, .creatures, .mats, .coins { grid-template-columns: 1fr 1fr; }
  .crew-big { grid-template-columns: 1fr 1fr; }
  .crates { grid-template-columns: repeat(3, 1fr); }
  .tree { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 1fr; }
  .id-card { position: relative; top: 0; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .hero .wrap, .page-hero .wrap, .cta-final { grid-template-columns: 1fr; }
  .stage { max-width: 520px; margin: 0 auto; width: 100%; }
  .bosses, .expeditions, .news, .steps, .islands, .grid-3, .extra, .compare-nav, .fixes, .portal-steps { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; gap: 14px; }
  .path::before { display: none; }
  .path li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; }
  .podium { gap: 8px; }
  .pod img { height: 150px; } .pod.first img { height: 190px; }
  .pod .val { font-size: 19px; }
  .page-hero .render { height: 280px; }
  .cta-final .chars { height: 220px; }
  .cta-final .chars img { height: 220px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: repeat(4, 1fr); }
  .trophies { grid-template-columns: 1fr; }
  .exp { grid-template-columns: 100px 1fr; }
  .exp img { height: 110px; margin-top: 0; }
  .boss .render { height: 52%; opacity: .9; }
}
@media (max-width: 520px) {
  .nameplate { display: none; }
  .worlds, .ranks, .crew, .grid-4, .creatures, .mats, .coins, .tree { grid-template-columns: 1fr; }
  .crew-big { grid-template-columns: 1fr 1fr; }
  .member img { height: 200px; margin-top: -80px; } .member { margin-top: 80px; padding: 0 12px 16px; } .member .who { font-size: 22px; }
  .crates { grid-template-columns: 1fr 1fr; }
  .ip-big .addr { font-size: 13px; }
  .hdr .wrap { gap: 10px; }
  .hdr-right .btn-gold { padding: 10px 14px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* ===== v7: allineamenti ===== */
.page-hero + .sec, .doc-hero + .sec { padding-top: clamp(40px, 5vw, 72px); }
.kits { grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); }
.mcard .top { position: relative; z-index: 1; }
.nav-partner { display: inline-flex; align-items: center; gap: 7px; color: #ffcf6b !important; }
.nav-partner img { width: 22px; height: 22px; filter: drop-shadow(0 0 8px rgba(255, 176, 32, .45)); }
@media (max-width: 820px) {
  .doc-hero { padding-block: 30px 30px; }
  .doc-hero .art { position: absolute; right: 12px; bottom: 0; height: 170px; opacity: .3; z-index: -1; }
  .doc-hero .art.pix { top: 20px; bottom: auto; right: 16px; height: 58px; opacity: 1; z-index: 0; }
  .doc-hero .crumbs { padding-right: 76px; }
  .doc-hero .hero-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .doc-hero .hero-cta .btn { justify-content: center; text-align: center; }
  .article-hero { min-height: 0; padding: 230px 20px 22px; }
  .article-hero .pop { height: 240px; right: auto; left: 50%; transform: translateX(-50%); top: 4px; bottom: auto; }
  .article-hero::before { background: linear-gradient(0deg, rgba(10, 12, 22, .97) 42%, rgba(10, 12, 22, .15) 78%); }
  .mfilters input { flex-basis: 100%; }
  .mfilters select { flex: 1 1 0; }
}

/* ===== loader (come sul sito live) ===== */
.intro { position: fixed; inset: 0; z-index: 300; background: radial-gradient(ellipse at center, #140a26 0%, #050309 70%); display: grid; place-items: center; overflow: hidden; cursor: pointer; }
.intro[hidden] { display: none; }
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-rays { position: absolute; left: 50%; top: 50%; width: 220vmax; height: 220vmax; translate: -50% -50%; background: repeating-conic-gradient(from 0deg, rgba(192, 132, 252, .16) 0deg 4deg, transparent 4deg 18deg); -webkit-mask: radial-gradient(circle, #000 0%, transparent 45%); mask: radial-gradient(circle, #000 0%, transparent 45%); opacity: 0; transform: scale(.4); transition: opacity 1s var(--ease), transform 1.4s var(--ease); animation: i-spin 18s linear infinite; }
.intro.s2 .intro-rays { opacity: .8; transform: scale(1); }
.intro.s3 .intro-rays { opacity: 1; transform: scale(1.25); background: repeating-conic-gradient(from 0deg, rgba(232, 121, 249, .3) 0deg 4deg, transparent 4deg 14deg); }
.intro-line { position: absolute; top: calc(50% + clamp(90px, 13vw, 150px)); font-family: var(--f-pixel); font-size: clamp(12px, 1.3vw, 15px); color: #d8b4fe; text-transform: uppercase; text-shadow: 0 0 20px rgba(192, 132, 252, .8); white-space: nowrap; opacity: 0; letter-spacing: .5em; transform: translateY(10px); transition: opacity 1s var(--ease), letter-spacing 1s var(--ease), transform 1s var(--ease), filter .6s; }
.intro.s1 .intro-line { opacity: 1; letter-spacing: .22em; transform: none; }
.intro.s3 .intro-line { opacity: 0; transform: translateY(-8px); filter: blur(6px); }
.intro-crystal { position: absolute; filter: drop-shadow(0 0 30px rgba(192, 132, 252, .95)) drop-shadow(0 0 80px rgba(232, 121, 249, .6)); transform: scale(0) rotate(-30deg); opacity: 0; transition: transform .9s cubic-bezier(.34, 1.56, .64, 1), opacity .9s; }
.intro-crystal svg { width: clamp(80px, 11vw, 130px); height: auto; animation: i-float 3s ease-in-out infinite; }
.intro.s2 .intro-crystal { transform: scale(1); opacity: 1; }
.intro.s3 .intro-crystal { transform: scale(1.15); transition-duration: .4s; }
.intro.s4 .intro-crystal { transform: scale(2.4); opacity: 0; filter: brightness(4); transition-duration: .5s; }
.intro-flash { position: absolute; inset: 0; background: radial-gradient(circle at center, #fff 0%, #f5d0fe 25%, rgba(192, 132, 252, .6) 50%, transparent 80%); opacity: 0; pointer-events: none; }
.intro.s4 .intro-flash { animation: i-flash .9s var(--ease) forwards; }
.intro-logo { position: relative; width: min(680px, 84vw); filter: drop-shadow(0 30px 80px rgba(168, 85, 247, .7)) blur(20px) brightness(3); opacity: 0; transform: scale(1.5); transition: transform .9s cubic-bezier(.16, 1, .3, 1), opacity .9s, filter .9s cubic-bezier(.16, 1, .3, 1); }
.intro-logo img { width: 100%; height: auto; animation: i-float 4s ease-in-out infinite; }
.intro.s4 .intro-logo { opacity: 1; transform: none; filter: drop-shadow(0 30px 80px rgba(168, 85, 247, .7)); }
.intro-tag { position: absolute; top: calc(50% + min(240px, 32vw)); display: flex; gap: clamp(10px, 2vw, 22px); font-family: var(--f-display); font-weight: 800; font-size: clamp(13px, 1.8vw, 20px); letter-spacing: .3em; color: #fff; text-shadow: 0 0 24px rgba(192, 132, 252, .9); white-space: nowrap; }
.intro-tag span { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.intro-tag span:nth-child(even) { color: #e879f9; }
.intro.s5 .intro-tag span { opacity: 1; transform: none; }
.intro-skip { position: absolute; right: 24px; bottom: 22px; font-family: var(--f-pixel); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; transition: color .3s, border-color .3s; }
.intro-skip:hover { color: var(--ink); border-color: var(--line-2); }
@keyframes i-spin { to { rotate: 360deg; } }
@keyframes i-float { 50% { transform: translateY(-10px); } }
@keyframes i-flash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* ===== forum ===== */
.ftool { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.fsearch { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; padding: 0 14px; height: 48px; }
.fsearch input { flex: 1; min-width: 0; background: none; border: 0; color: var(--ink); font: inherit; outline: none; }
.fsearch svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.ftabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.ftabs button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; font-size: 14px; padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.ftabs button.on { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.fcat { color: inherit; }
.fcat .ic { display: none; }
.fthreads { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.fthreads + .fthreads, .fthreads + .fsec, .fsec + .fthreads { margin-top: 16px; }
.fthreads > header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.fthreads > header h3 { font-size: 20px; }
.thr { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px 170px; gap: 14px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); transition: background .15s; color: inherit; }
.thr:last-child { border-bottom: 0; }
.thr:hover { background: rgba(255, 255, 255, .025); }
.thr .head { width: 44px; height: 44px; border-radius: 10px; }
.thr h4 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.thr .meta { color: var(--dim); font-size: 13px; margin-top: 3px; }
.thr .num { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; line-height: 1.5; }
.thr .num b { color: var(--ink); }
.thr .lastp { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; min-width: 0; }
.thr .lastp .head { width: 28px; height: 28px; border-radius: 7px; }
.thr.pin { background: linear-gradient(90deg, rgba(255, 207, 107, .06), transparent 40%); }
.pfx { --t: #b457ff; font-family: var(--f-pixel); font-size: 9px; letter-spacing: .06em; padding: 4px 7px; border-radius: 6px; color: var(--t); background: color-mix(in srgb, var(--t) 15%, transparent); border: 1px solid color-mix(in srgb, var(--t) 35%, transparent); text-transform: uppercase; }
.pin-ic { color: #ffcf6b; font-size: 12px; }
.fempty { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 48px 20px; }
.fempty img { width: 72px; height: 72px; image-rendering: pixelated; filter: drop-shadow(0 0 24px rgba(160, 107, 255, .4)); }
.fempty h3 { font-size: 22px; }
.fempty p { color: var(--muted); max-width: 42ch; }
.fsec-hero { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.fsec-hero > img { width: 64px; height: 64px; image-rendering: pixelated; }
.fsec-hero h1 { font-size: clamp(34px, 5vw, 60px); }
.rules-mini { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.rules-mini li { list-style: none; display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.rules-mini li::before { content: "▪"; color: var(--amethyst-hi); }
.mods { display: flex; gap: 8px; flex-wrap: wrap; }
.mods span { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px 6px 6px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.mods .head { width: 26px; height: 26px; border-radius: 6px; }

/* discussione */
.thread-head { display: grid; gap: 14px; margin-bottom: 22px; }
.thread-head h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; }
.thread-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; color: var(--dim); font-size: 14px; }
.thread-meta b { color: var(--ink); }
.thread-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tbtn { display: inline-flex; gap: 7px; align-items: center; height: 38px; padding: 0 13px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; transition: border-color .15s, background .15s; }
.tbtn:hover { border-color: var(--amethyst); background: var(--panel-2); }
.tbtn svg { width: 16px; height: 16px; }
.tbtn.on { border-color: var(--amethyst); color: var(--amethyst-hi); }
.post2 { display: grid; grid-template-columns: 230px minmax(0, 1fr); border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.post2 + .post2 { margin-top: 16px; }
.post-author { --rc: #ff6bd6; display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; padding: 22px 16px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 16%, transparent), transparent 55%), rgba(0, 0, 0, .15); border-right: 1px solid var(--line); }
.post-author .bust { height: 150px; width: auto; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .55)); }
.post-author .nm { font-family: var(--f-display); font-weight: 800; font-size: 22px; font-stretch: 85%; line-height: 1; }
.post-author .at { color: var(--dim); font-size: 12px; }
.post-author .role-line { color: var(--rc); font-weight: 800; font-size: 13px; }
.post-author .pstats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 100%; margin-top: 4px; }
.post-author .pstats div { background: rgba(255, 255, 255, .03); border: 1px solid var(--line); border-radius: 10px; padding: 7px 4px; }
.post-author .pstats b { display: block; font-size: 15px; }
.post-author .pstats span { font-size: 11px; color: var(--dim); }
.post-body { display: grid; grid-template-rows: auto 1fr auto; min-width: 0; }
.post-top { display: flex; justify-content: space-between; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.post-top a { color: var(--dim); }
.post-content { padding: 22px; font-size: 16px; line-height: 1.7; }
.post-content h3 { font-size: 22px; margin-bottom: 10px; }
.post-content p + p { margin-top: 12px; }
.post-content .note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 207, 107, .35); background: rgba(255, 207, 107, .07); font-size: 15px; }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--line); }
.reacts { display: flex; gap: 6px; flex-wrap: wrap; }
.reacts button { display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; transition: transform .15s, border-color .15s; }
.reacts button:hover { transform: translateY(-2px); border-color: var(--amethyst); }
.reacts button.on { border-color: var(--amethyst); background: rgba(160, 107, 255, .16); }
.reacts button i { font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-acts { display: flex; gap: 4px; }
.post-acts button { border: 0; background: none; color: var(--dim); font: inherit; font-size: 13px; font-weight: 700; padding: 7px 10px; border-radius: 8px; cursor: pointer; }
.post-acts button:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
.reply-gate { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; margin-top: 16px; padding: 20px 22px; border-radius: var(--r); border: 1px dashed var(--line-2); background: rgba(255, 255, 255, .02); }
.reply-gate img { width: 48px; height: 48px; image-rendering: pixelated; }

/* editor */
.composer { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field > span { font-weight: 800; font-size: 14px; }
.field small { color: var(--dim); font-size: 12px; }
.inp, .sel { width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; color: var(--ink); font: inherit; min-width: 0; transition: border-color .15s, box-shadow .15s; }
.inp:focus, .sel:focus, .ed textarea:focus { outline: none; border-color: var(--amethyst); box-shadow: 0 0 0 4px rgba(160, 107, 255, .16); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ed { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--panel); }
.ed-bar { display: flex; gap: 2px; flex-wrap: wrap; padding: 6px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.ed-bar button { width: 36px; height: 34px; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; font: 800 14px/1 var(--f-body); }
.ed-bar button:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.ed-bar .sep { width: 1px; background: var(--line); margin: 6px 4px; }
.ed-bar .sp { flex: 1; }
.ed-bar .mode { width: auto; padding: 0 12px; font-size: 13px; }
.ed-bar .mode.on { background: var(--panel-2); color: var(--ink); }
.ed textarea { display: block; width: 100%; min-height: 260px; resize: vertical; background: none; border: 0; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.6; padding: 16px; }
.ed-prev { min-height: 260px; padding: 16px; }
.ed-foot { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--dim); font-size: 12px; }
.toggle { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); cursor: pointer; }
.toggle input { width: 20px; height: 20px; accent-color: var(--amethyst); }
.toggle b { display: block; font-size: 14px; }
.toggle span { color: var(--dim); font-size: 13px; }
.poll { display: grid; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); }
.form-end { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }

/* accesso */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); max-width: 1080px; margin: 0 auto; }
.auth-art { position: relative; min-height: 560px; display: grid; align-content: end; gap: 10px; padding: 34px; isolation: isolate; overflow: hidden; }
.auth-art > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.auth-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10, 12, 22, .96) 18%, rgba(10, 12, 22, .2) 70%); }
.auth-art .chars { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); display: flex; align-items: end; }
.auth-art .chars img { height: 270px; width: auto; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .6)); margin: 0 -24px; }
.auth-art .chars img:nth-child(2) { height: 320px; position: relative; z-index: 1; }
.auth-art h2 { font-size: clamp(28px, 3vw, 40px); }
.perks { display: grid; gap: 8px; margin-top: 6px; }
.perks li { list-style: none; display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; }
.perks img { width: 22px; height: 22px; }
.auth-form { padding: 34px; display: grid; gap: 16px; align-content: start; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 800; padding: 11px; border-radius: 10px; cursor: pointer; }
.seg button.on { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-discord2 { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; height: 50px; border-radius: 14px; border: 0; background: #5865f2; color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 6px 0 #3c45a5; transition: transform .15s, box-shadow .15s; }
.btn-discord2:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #3c45a5; }
.btn-discord2 img { width: 22px; height: 22px; }
.or { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.or::before, .or::after { content: ""; height: 1px; background: var(--line); }
.pw { position: relative; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--dim); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 8px; }
.auth-form .small { font-size: 13px; color: var(--dim); text-align: center; }
.auth-form .small a { color: var(--amethyst-hi); font-weight: 700; }
.chk { display: flex; gap: 10px; align-items: start; font-size: 13px; color: var(--muted); }
.chk input { margin-top: 3px; accent-color: var(--amethyst); }

/* partner */
.pcard { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 176, 32, .4); background: linear-gradient(135deg, rgba(255, 176, 32, .1), transparent 50%), var(--panel); box-shadow: 0 40px 80px -40px rgba(255, 176, 32, .35); }
.pcard .pban { position: relative; min-height: 380px; }
.pcard .pban img.b { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard .pban::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, rgba(18, 20, 38, .9)); }
.pcard .pinfo { padding: 34px; display: grid; gap: 16px; align-content: center; }
.pcard .pid { display: flex; gap: 16px; align-items: center; }
.pcard .pid img { width: 84px; height: 84px; border-radius: 50%; border: 3px solid #ffb020; box-shadow: 0 0 0 6px rgba(255, 176, 32, .15); }
.pcard h2 { font-size: clamp(30px, 3.4vw, 44px); }
.pcard ul { display: grid; gap: 10px; }
.pcard li { list-style: none; display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; color: var(--muted); }
.pcard li img { width: 26px; height: 26px; }
.since-chip { justify-self: start; font-family: var(--f-pixel); font-size: 10px; letter-spacing: .08em; color: #ffcf6b; background: rgba(255, 176, 32, .12); border: 1px solid rgba(255, 176, 32, .4); padding: 6px 10px; border-radius: 8px; text-transform: uppercase; }
.pslots { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.pcard-ky { border-color: rgba(46, 197, 255, .45); background: linear-gradient(135deg, rgba(46, 197, 255, .1), transparent 50%), var(--panel); box-shadow: 0 40px 80px -40px rgba(46, 197, 255, .35); }
.pcard-ky .pid img { border-color: #2ec5ff; box-shadow: 0 0 0 6px rgba(46, 197, 255, .15); border-radius: 18px; }
.pslot { display: grid; place-items: center; gap: 8px; text-align: center; min-height: 150px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--dim); font-size: 14px; padding: 18px; }
.pslot img { width: 40px; height: 40px; opacity: .5; }

@media (max-width: 1080px) {
  .thr { grid-template-columns: 44px minmax(0, 1fr) 96px; }
  .thr .lastp { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { min-height: 380px; }
  .pcard { grid-template-columns: 1fr; }
  .pcard .pban { min-height: 240px; }
  .pcard .pban::after { background: linear-gradient(0deg, rgba(18, 20, 38, .9), transparent 50%); }
}
@media (max-width: 820px) {
  .post2 { grid-template-columns: 1fr; }
  .post-author { grid-template-columns: 64px minmax(0, 1fr); justify-items: start; text-align: left; border-right: 0; border-bottom: 1px solid var(--line); padding: 16px; gap: 4px 14px; }
  .post-author .bust { grid-row: span 4; height: 86px; }
  .post-author .pstats, .post-author .trow { grid-column: 2; }
  .post-author .pstats { grid-template-columns: repeat(4, auto); justify-content: start; }
  .reply-gate { grid-template-columns: 1fr; justify-items: start; }
  .row2 { grid-template-columns: 1fr; }
  .fsec-hero { grid-template-columns: 52px minmax(0, 1fr); }
  .fsec-hero img { width: 52px; height: 52px; }
  .fsec-hero .btn { grid-column: 1 / -1; justify-self: start; }
  .pslots { grid-template-columns: 1fr; }
  .auth-art { min-height: 330px; padding: 24px; }
  .auth-art .chars img { height: 190px; } .auth-art .chars img:nth-child(2) { height: 220px; }
  .auth-form { padding: 24px; }
}
@media (max-width: 520px) {
  .thr { grid-template-columns: 40px minmax(0, 1fr); padding: 14px 16px; }
  .thr .head { width: 40px; height: 40px; }
  .thr .num { display: none; }
  .fcat { grid-template-columns: minmax(0, 1fr) auto; }
  .fcat .last { display: none; }
}

.kit .tagc { white-space: normal; height: auto; min-height: 22px; padding: 4px 8px; line-height: 1.35; }
.kit-head > div { min-width: 0; }
@media (max-width: 820px) {
  .auth-art { padding-top: 250px; min-height: 0; }
  .auth-art .chars { top: 18px; }
  .auth-art .chars img { height: 180px; margin: 0 -18px; } .auth-art .chars img:nth-child(2) { height: 215px; }
}
/* ===== loader V9: il portale ===== */
.ld { --bs: clamp(30px, 6.2vmin, 58px); position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden; cursor: pointer; background: radial-gradient(70% 60% at 50% 55%, #1a0d33 0%, #0b0716 55%, #05040b 100%); }
.ld[hidden] { display: none; }
.ld-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.ld-glow { position: absolute; left: 50%; top: 52%; width: 70vmin; height: 70vmin; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, .45), transparent 65%); opacity: 0; transition: opacity 1.2s var(--ease); filter: blur(10px); }
.ld.lit .ld-glow { opacity: 1; animation: ld-pulse 2.4s ease-in-out infinite; }
.ld-stage { position: relative; display: grid; justify-items: center; gap: clamp(14px, 2.4vmin, 24px); transform-origin: 50% 46%; }
.ld-logo { width: min(520px, 78vw); margin-bottom: calc(var(--bs) * -.5); position: relative; z-index: 2; opacity: 0; transform: translateY(-30px) scale(1.25); filter: blur(14px) brightness(2.4); transition: opacity .8s var(--ease), transform .9s cubic-bezier(.16, 1, .3, 1), filter .9s var(--ease); }
.ld-logo img { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(168, 85, 247, .65)); }
.ld.ready .ld-logo { opacity: 1; transform: none; filter: none; }
.ld-portal { position: relative; width: calc(var(--bs) * 4); height: calc(var(--bs) * 5); }
.ld-b { position: absolute; left: calc(var(--x) * var(--bs)); top: calc(var(--y) * var(--bs)); width: var(--bs); height: var(--bs); background: url(/v9/a/blocks/crying_obsidian.png) 0 0 / 100% 100%; image-rendering: pixelated; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), inset 0 calc(var(--bs) * -.12) 0 rgba(0, 0, 0, .28); opacity: 0; transform: translateY(-60vh) rotate(-8deg); }
.ld.build .ld-b { animation: ld-drop .55s cubic-bezier(.3, 1.4, .5, 1) var(--d) forwards; }
.ld-fill { position: absolute; left: var(--bs); top: var(--bs); width: calc(var(--bs) * 2); height: calc(var(--bs) * 3); background: url(/v9/a/blocks/nether_portal.png) 0 0 / 100% 3200%; image-rendering: pixelated; opacity: 0; transform: scaleY(0); transform-origin: 50% 100%; transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .2, 1); filter: saturate(1.25) brightness(1.15); box-shadow: 0 0 40px 6px rgba(168, 85, 247, .55); animation: ld-swirl 1.6s steps(31) infinite; }
.ld.lit .ld-fill { opacity: .95; transform: none; }
.ld.lit .ld-b { filter: drop-shadow(0 0 10px rgba(192, 132, 252, .55)); }
.ld-tag { display: flex; gap: clamp(8px, 1.6vw, 18px); font-family: var(--f-display); font-weight: 800; font-size: clamp(12px, 1.6vw, 18px); letter-spacing: .3em; color: #fff; text-shadow: 0 0 22px rgba(192, 132, 252, .9); white-space: nowrap; }
.ld-tag > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); font-style: normal; }
.ld-tag i { color: #e879f9; }
.ld.ready .ld-tag > * { opacity: 1; transform: none; }
.ld.ready .ld-tag > :nth-child(2) { transition-delay: .06s; } .ld.ready .ld-tag > :nth-child(3) { transition-delay: .12s; } .ld.ready .ld-tag > :nth-child(4) { transition-delay: .18s; } .ld.ready .ld-tag > :nth-child(5) { transition-delay: .24s; }
.ld-load { width: min(360px, 78vw); display: grid; gap: 8px; transition: opacity .4s; }
.ld-row { display: flex; justify-content: space-between; font-family: var(--f-pixel); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #d8b4fe; }
.ld-row b { color: #fff; font-weight: 400; font-variant-numeric: tabular-nums; }
.ld-bar { height: 14px; padding: 3px; background: #0d0a18; border: 2px solid #3a2a5c; box-shadow: inset 0 0 0 2px #000, 0 0 0 2px #000; image-rendering: pixelated; }
.ld-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #c084fc 0 10px, #a855f7 10px 12px); box-shadow: 0 0 14px rgba(192, 132, 252, .8); }
.ld-tip { margin: 2px 0 0; font-size: 13px; color: #8f86b5; text-align: center; min-height: 1.4em; }
.ld.ready .ld-load { opacity: .0; }
.ld-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #f5d0fe, #a855f7 45%, #3b0764 80%); opacity: 0; pointer-events: none; }
.ld.enter .ld-stage { animation: ld-zoom 1s cubic-bezier(.7, 0, .84, 0) forwards; }
.ld.enter .ld-flash { animation: ld-flash 1.2s ease-out forwards; }
.ld.enter { animation: ld-out 1.25s ease forwards; pointer-events: none; }
.ld-skip { position: absolute; right: 22px; bottom: 20px; font-family: var(--f-pixel); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8f86b5; padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(196, 190, 255, .18); background: rgba(10, 8, 20, .5); cursor: pointer; }
.ld-skip:hover { color: #fff; border-color: rgba(196, 190, 255, .4); }
@keyframes ld-drop { 0% { opacity: 1; transform: translateY(-60vh) rotate(-8deg); } 70% { transform: translateY(4px) rotate(0); } 100% { opacity: 1; transform: none; } }
@keyframes ld-swirl { to { background-position: 0 100%; } }
@keyframes ld-pulse { 50% { opacity: .65; transform: scale(1.06); } }
@keyframes ld-zoom { 0% { transform: scale(1); } 100% { transform: scale(16); } }
@keyframes ld-flash { 0%, 35% { opacity: 0; } 70% { opacity: 1; } 100% { opacity: 1; } }
@keyframes ld-out { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }

/* ===== vetrina dei rank ===== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.rkshow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; perspective: 1200px; }
.store-main .rkshow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rk { --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 30%; position: relative; isolation: isolate; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px 18px 18px; border-radius: 24px; overflow: hidden; color: inherit;
  background: linear-gradient(180deg, color-mix(in srgb, var(--rk2) 55%, #0b0d1a), #0d1022 62%); border: 1px solid color-mix(in srgb, var(--rk) 35%, transparent);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, border-color .4s; box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--rk) 70%, transparent); }
.rk:hover { border-color: var(--rk); box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--rk) 85%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--rk) 30%, transparent); transition: transform .12s linear, box-shadow .4s, border-color .4s; }
.rk-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.rk-rays { position: absolute; left: 50%; top: 30%; width: 260%; aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--rk) 26%, transparent) 0deg 6deg, transparent 6deg 20deg); -webkit-mask: radial-gradient(circle, #000 0, transparent 38%); mask: radial-gradient(circle, #000 0, transparent 38%); animation: rk-spin 22s linear infinite; opacity: .7; }
.rk-aura { position: absolute; left: 50%; top: 30%; width: 90%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rk) 55%, transparent), transparent 66%); animation: rk-breathe 3.4s ease-in-out infinite; }
.rk-grid { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(0, 0, 0, .35)), repeating-linear-gradient(90deg, color-mix(in srgb, var(--rk) 10%, transparent) 0 1px, transparent 1px 22px), repeating-linear-gradient(0deg, color-mix(in srgb, var(--rk) 10%, transparent) 0 1px, transparent 1px 22px); -webkit-mask: linear-gradient(transparent, #000 70%); mask: linear-gradient(transparent, #000 70%); }
.rk-parts { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rk-parts i { position: absolute; left: var(--l); bottom: -10px; width: var(--sz); height: var(--sz); background: var(--rk); box-shadow: 0 0 10px var(--rk); opacity: 0; animation: rk-rise var(--dur) linear var(--dl) infinite; }
.rk-stage { position: relative; display: grid; place-items: center; width: 100%; height: 150px; margin-bottom: 4px; transform: translateZ(60px); }
.rk-crown { width: 132px; height: 132px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px color-mix(in srgb, var(--rk) 60%, transparent)); animation: rk-float 3.6s ease-in-out infinite; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.rk:hover .rk-crown { transform: scale(1.12) rotate(-4deg); }
.rk-ring { position: absolute; bottom: 4px; width: 120px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rk) 65%, transparent), transparent); filter: blur(2px); animation: rk-ringpulse 3.6s ease-in-out infinite; }
.rk-tier { font-family: var(--f-pixel); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--rk) 70%, #fff); transform: translateZ(30px); }
.rk-name { font-family: var(--f-display); font-weight: 800; font-stretch: 85%; font-size: clamp(36px, 3.4vw, 50px); line-height: .95; letter-spacing: -.01em; transform: translateZ(40px);
  background: linear-gradient(100deg, #fff 0%, var(--rk) 30%, #fff 50%, var(--rk) 70%, #fff 100%) 0 0 / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rk-shine 5s linear infinite; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--rk) 55%, transparent)); }
.rk-tag { color: var(--muted); font-size: 14px; min-height: 2.6em; transform: translateZ(20px); }
.rk-perks { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 6px; width: 100%; text-align: left; transform: translateZ(20px); }
.rk-perks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: center; font-size: 14px; color: var(--ink); padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .05); }
.rk-perks li::before { content: ""; width: 10px; height: 10px; background: var(--rk); box-shadow: 0 0 8px var(--rk); justify-self: center; }
.rk-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .07); transform: translateZ(30px); }
.rk-price { display: grid; text-align: left; line-height: 1.1; }
.rk-price b { font-family: var(--f-display); font-size: 26px; font-weight: 800; font-stretch: 85%; }
.rk-price small { color: var(--dim); font-size: 11px; }
.rk-go { font-weight: 800; color: var(--rk); font-size: 14px; }
.rk-cta { padding: 11px 16px; }
.rk-sheen { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 255, 255, .14), transparent 40%), linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 47%, transparent 58%) 200% 0 / 250% 100% no-repeat; opacity: 0; transition: opacity .4s; mix-blend-mode: screen; }
.rk:hover .rk-sheen { opacity: 1; animation: rk-sweep 1.1s ease forwards; }
.rk-emperor { border: 0; padding: 23px 19px 19px; }
.rk-emperor::before { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang), #ffc54d, #ff6a3d, #fff2c2, #a3361f, #ffc54d); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rk-border 4s linear infinite; }
.rk-best { position: absolute; top: 22px; right: -44px; rotate: 40deg; font-family: var(--f-pixel); font-size: 9px; letter-spacing: .1em; background: linear-gradient(90deg, #ffc54d, #ff8a3d); color: #2b1a00; padding: 5px 40px; text-transform: uppercase; z-index: 4; }
@keyframes rk-spin { to { rotate: 360deg; } }
@keyframes rk-breathe { 50% { transform: scale(1.12); opacity: .75; } }
@keyframes rk-float { 50% { transform: translateY(-9px) rotate(2deg); } }
@keyframes rk-ringpulse { 50% { transform: scale(.82); opacity: .6; } }
@keyframes rk-rise { 0% { transform: translateY(0) rotate(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-340px) rotate(180deg); opacity: 0; } }
@keyframes rk-shine { to { background-position: -250% 0; } }
@keyframes rk-sweep { from { background-position: 0 0, 200% 0; } to { background-position: 0 0, -120% 0; } }
@keyframes rk-border { to { --ang: 360deg; } }
@media (max-width: 1080px) { .rkshow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rkshow, .store-main .rkshow { grid-template-columns: 1fr; } .rk-stage { height: 120px; } .rk-crown { width: 108px; height: 108px; } }

/* ===== forum: icone come sul sito live ===== */
.fic { --c: #a06bff; display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 32%, transparent); box-shadow: 0 0 22px -8px var(--c); transition: transform .25s var(--ease), box-shadow .25s; }
.fic svg { width: 21px; height: 21px; }
.fic.lg { width: 64px; height: 64px; border-radius: 18px; } .fic.lg svg { width: 32px; height: 32px; }
.fic.sm { width: 30px; height: 30px; border-radius: 9px; } .fic.sm svg { width: 15px; height: 15px; }
.fcat { grid-template-columns: 42px minmax(0, 1fr) 150px 220px; }
.fcat:hover .fic { transform: rotate(-6deg) scale(1.08); box-shadow: 0 0 30px -6px var(--c); }
.fsec-head { border-left: 3px solid var(--sc, transparent); }
.fsec-head .fic { width: 46px; height: 46px; }
.fsec-hero .fic { width: 64px; height: 64px; }
@media (max-width: 1080px) { .fcat { grid-template-columns: 42px minmax(0, 1fr) 120px; } .fcat .last { display: none; } }
@media (max-width: 520px) { .fcat { grid-template-columns: 38px minmax(0, 1fr) auto; } .fic { width: 38px; height: 38px; } }

/* ===== motion design ===== */
.scroll-prog { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--amethyst), #e879f9, var(--gold)); box-shadow: 0 0 12px rgba(160, 107, 255, .8); pointer-events: none; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(160, 107, 255, .09), transparent 60%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s; }
main { position: relative; z-index: 1; }
.pt { position: fixed; inset: 0; z-index: 250; pointer-events: none; display: grid; grid-template-columns: repeat(6, 1fr); }
.pt i { background: linear-gradient(180deg, #2a1652, #120a26); transform: scaleY(0); transform-origin: 50% 0; }
.pt i:nth-child(even) { background: linear-gradient(180deg, #1c1340, #0b0716); }
.w-split { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; margin-bottom: -.06em; }
.w-split > span { display: inline-block; will-change: transform; }
.mag { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .scroll-prog, .cursor-glow, .pt { display: none; } }

/* ===== Sala dei rank ===== */
.rhall { --rk: #67e3a4; --rk2: #0f6b47; position: relative; isolation: isolate; border-radius: 32px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--rk) 30%, rgba(255, 255, 255, .06));
  background: radial-gradient(90% 70% at 30% 40%, color-mix(in srgb, var(--rk) 20%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--rk2) 45%, #0a0b16), #07080f 70%);
  box-shadow: 0 60px 120px -60px color-mix(in srgb, var(--rk) 60%, transparent), inset 0 1px 0 rgba(255, 255, 255, .06); }
.rhall::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask: radial-gradient(80% 80% at 35% 50%, #000, transparent 75%); mask: radial-gradient(80% 80% at 35% 50%, #000, transparent 75%); }
.rhall::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: .06; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.rh-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(0, 0, 0, .22); backdrop-filter: blur(8px); }
.rh-tab { --c: #fff; position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: none; border: 0; border-right: 1px solid rgba(255, 255, 255, .06); color: var(--muted); cursor: pointer; text-align: left; transition: background .3s, color .3s; font: inherit; }
.rh-tab:last-child { border-right: 0; }
.rh-tab img { width: 44px; height: 44px; object-fit: contain; filter: grayscale(.85) brightness(.75); transition: filter .4s, transform .4s var(--ease); }
.rh-tab b { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 85%; font-size: 21px; line-height: 1; color: var(--ink); letter-spacing: .01em; }
.rh-tab small { font-size: 12px; color: var(--dim); }
.rh-tab:hover { background: rgba(255, 255, 255, .03); }
.rh-tab:hover img { filter: grayscale(.3); }
.rh-tab[aria-selected="true"] { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--c) 14%, transparent)); color: var(--ink); }
.rh-tab[aria-selected="true"] img { filter: none; transform: scale(1.12) rotate(-6deg); }
.rh-tab[aria-selected="true"] b { color: var(--c); }
.rh-tab .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.rh-tab .bar i { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--c); box-shadow: 0 0 10px var(--c); }
.rh-main { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 560px; }
.rh-stage { position: relative; overflow: hidden; display: grid; place-items: center; perspective: 900px; }
.rh-word { position: absolute; left: 50%; top: 46%; translate: -50% -50%; font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: clamp(90px, 11vw, 168px); letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--rk) 35%, transparent); opacity: .7; user-select: none; pointer-events: none; }
.rh-beam { position: absolute; left: 50%; top: -10%; width: 70%; height: 95%; translate: -50% 0; background: conic-gradient(from 180deg at 50% 0%, transparent 155deg, color-mix(in srgb, var(--rk) 26%, transparent) 172deg, color-mix(in srgb, #fff 18%, var(--rk)) 180deg, color-mix(in srgb, var(--rk) 26%, transparent) 188deg, transparent 205deg); filter: blur(14px); opacity: .55; mix-blend-mode: screen; animation: rh-beam 6s ease-in-out infinite; }
.rh-floor { position: absolute; left: 50%; bottom: 13%; width: 78%; height: 17%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--rk) 40%, transparent), transparent); }
.rh-floor::before, .rh-floor::after { content: ""; position: absolute; inset: 14% 10%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--rk) 55%, transparent); animation: rh-ring 3.2s ease-out infinite; }
.rh-floor::after { animation-delay: 1.6s; }
.rh-embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rh-crownbox { position: relative; z-index: 3; display: grid; justify-items: center; transform-style: preserve-3d; margin-top: -40px; }
.rh-crown { width: clamp(190px, 21vw, 270px); height: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px color-mix(in srgb, var(--rk) 55%, transparent)); animation: rh-float 4.2s ease-in-out infinite; }
.rh-refl { position: absolute; top: 100%; width: clamp(190px, 21vw, 270px); transform: scaleY(-1); opacity: .16; filter: blur(2px); -webkit-mask: linear-gradient(to top, #000, transparent 55%); mask: linear-gradient(to top, #000, transparent 55%); animation: rh-float-r 4.2s ease-in-out infinite; }
.rh-orbit { position: absolute; inset: 0; pointer-events: none; }
.rh-orbit img { position: absolute; left: 0; top: 0; width: 64px; height: 64px; image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)) drop-shadow(0 0 12px color-mix(in srgb, var(--rk) 45%, transparent)); will-change: transform, opacity; }
.rh-hud { position: absolute; inset: 18px; pointer-events: none; }
.rh-hud i { position: absolute; width: 22px; height: 22px; border: 2px solid color-mix(in srgb, var(--rk) 70%, transparent); }
.rh-hud i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .rh-hud i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.rh-hud i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .rh-hud i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.rh-hud span { position: absolute; left: 30px; top: 2px; font-family: var(--f-pixel); font-size: 10px; letter-spacing: .14em; color: color-mix(in srgb, var(--rk) 80%, #fff); }
.rh-info { position: relative; z-index: 2; display: grid; align-content: center; gap: 16px; padding: 38px 40px 38px 10px; }
.rh-tier { font-family: var(--f-pixel); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--rk) 80%, #fff); display: flex; align-items: center; gap: 10px; }
.rh-tier::before { content: ""; width: 26px; height: 2px; background: var(--rk); box-shadow: 0 0 10px var(--rk); }
.rh-name { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: clamp(56px, 6.4vw, 96px); line-height: .86; letter-spacing: -.02em; margin: 0;
  background: linear-gradient(180deg, #fff 20%, color-mix(in srgb, var(--rk) 75%, #fff) 60%, var(--rk)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 30px color-mix(in srgb, var(--rk) 45%, transparent)); }
.rh-lead { color: var(--muted); font-size: 17px; max-width: 42ch; }
.rh-game { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 255, 255, .07); }
.rh-game .px { color: var(--dim); font-size: 10px; }
.mc-line { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 4px 10px; background: rgba(0, 0, 0, .45); font-family: "Pixelify Sans", var(--f-pixel); font-size: 17px; color: #fff; text-shadow: 2px 2px 0 #3f3f3f; flex-wrap: wrap; }
.mc-line img { height: 26px; width: auto; image-rendering: pixelated; }
.mc-line .nm { color: #fff; }
.mc-line .msg { color: #e6e6e6; }
.mc-tab { display: flex; align-items: center; gap: 8px; padding: 4px 8px; background: rgba(255, 255, 255, .08); font-family: "Pixelify Sans", var(--f-pixel); font-size: 15px; color: #fff; text-shadow: 1px 1px 0 #3f3f3f; }
.mc-tab img.tag { height: 20px; width: auto; image-rendering: pixelated; }
.mc-tab .hd { width: 18px; height: 18px; image-rendering: pixelated; }
.mc-tab .ping { margin-left: auto; display: flex; gap: 1px; align-items: end; } .mc-tab .ping i { width: 2px; background: #3fdd3f; }
.rh-perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rh-perks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); font-size: 14px; line-height: 1.3; }
.rh-perks li img { width: 26px; height: 26px; image-rendering: pixelated; }
.rh-kit { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 6px; background: #8b8b8b; border: 3px solid; border-color: #fff #555 #555 #fff; border-radius: 4px; max-width: 420px; }
.rh-kit span { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: #8b8b8b; border: 2px solid; border-color: #373737 #fff #fff #373737; }
.rh-kit img { width: 78%; height: 78%; image-rendering: pixelated; }
.rh-kit span:hover { background: #a7a7a7; }
.rh-kit .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: #100010f0; border: 2px solid #2a0a5e; color: #fff; padding: 4px 8px; font-family: "Pixelify Sans", var(--f-pixel); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .12s; z-index: 4; }
.rh-kit span:hover .tip { opacity: 1; }
.rh-kitlabel { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.rh-kitlabel b { color: var(--ink); }
.rh-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .07); flex-wrap: wrap; }
.rh-price { display: grid; line-height: 1; gap: 6px; }
.rh-price b { font-family: var(--f-display); font-weight: 800; font-stretch: 85%; font-size: 46px; }
.rh-price small { color: var(--dim); font-size: 12px; }
.rh-cta { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 16px; color: #0b0c14; background: linear-gradient(180deg, color-mix(in srgb, var(--rk) 70%, #fff), var(--rk)); box-shadow: 0 5px 0 color-mix(in srgb, var(--rk) 55%, #000), 0 18px 40px -12px color-mix(in srgb, var(--rk) 80%, transparent); transition: transform .15s, box-shadow .15s; }
.rh-cta:hover { transform: translateY(-2px); }
.rh-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--rk) 55%, #000); }
.rh-cmp { font-size: 13px; color: var(--muted); }
.rh-cmp a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@keyframes rh-beam { 50% { opacity: .8; transform: rotate(2deg); } }
@keyframes rh-ring { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
@keyframes rh-float { 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes rh-float-r { 50% { transform: scaleY(-1) translateY(-14px); } }
.store-main .rh-main { grid-template-columns: 1fr; }
.store-main .rh-stage { min-height: 380px; }
.store-main .rh-info { padding: 10px 28px 30px; }
@media (max-width: 1080px) { .rh-main { grid-template-columns: 1fr; } .rh-stage { min-height: 400px; } .rh-info { padding: 10px 28px 30px; } }
@media (max-width: 640px) {
  .rhall { border-radius: 22px; }
  .rh-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rh-tab { flex-direction: column; gap: 4px; padding: 10px 4px; text-align: center; }
  .rh-tab img { width: 34px; height: 34px; } .rh-tab b { font-size: 14px; } .rh-tab small { display: none; }
  .rh-stage { min-height: 320px; } .rh-orbit img { width: 40px; height: 40px; }
  .rh-info { padding: 6px 18px 22px; } .rh-perks { grid-template-columns: 1fr; } .rh-price b { font-size: 38px; }
  .rh-buy { flex-direction: column; align-items: stretch; } .rh-cta { justify-content: center; }
}
/* skin centrate */
.auth-art .chars { width: max-content; justify-content: center; }

/* ===== sezione Discord in home (rank Supporter + Kit Discord) ===== */
.dcband { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: center; padding: 34px 38px; border-radius: 28px; overflow: hidden; background: radial-gradient(70% 120% at 0% 50%, rgba(88, 101, 242, .35), transparent 60%), linear-gradient(120deg, #1b1f4d, #121530 60%); border: 1px solid rgba(114, 137, 218, .45); box-shadow: 0 40px 80px -40px rgba(88, 101, 242, .6); }
.dcb-pet { width: 230px; height: auto; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)); animation: dcb-float 3.6s ease-in-out infinite; }
.dcb-txt { display: grid; gap: 14px; }
.dcb-txt h2 { font-size: clamp(32px, 4vw, 54px); }
.dcb-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--muted); font-size: 16px; }
.dcb-steps b { color: var(--ink); }
.dcb-badge { position: absolute; top: 22px; right: 26px; width: 72px; height: 72px; filter: drop-shadow(0 0 22px rgba(201, 162, 255, .6)); }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 4px 0 #3c45a5, 0 14px 30px -10px rgba(88, 101, 242, .8); }
@keyframes dcb-float { 50% { transform: translateY(-9px) rotate(2deg); } }
@media (max-width: 820px) { .dcband { grid-template-columns: 1fr; padding: 26px 20px; justify-items: start; } .dcb-pet { width: 150px; } .dcb-badge { width: 52px; height: 52px; } }

/* ===== trofei del forum: emblemi a colori con luce e movimento ===== */
.tro, .tcard img, img[src*="/tro/"] { image-rendering: auto !important; }
.tcard { overflow: hidden; position: relative; grid-template-columns: 92px minmax(0, 1fr) !important; }
.tcard img { width: 92px !important; height: 92px !important; animation: tro-float 4.2s ease-in-out infinite; transition: transform .35s cubic-bezier(.2, .8, .2, 1), filter .35s; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px color-mix(in srgb, var(--rc) 55%, transparent)) !important; }
.tcard:hover img { transform: scale(1.14) rotate(-5deg); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)) drop-shadow(0 0 26px var(--rc)) !important; }
.tcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .12) 48%, transparent 60%) 200% 0 / 250% 100% no-repeat; }
.tcard:hover::after { animation: tro-sweep 1s ease forwards; }
.rar-leggendario.tcard img, .rar-mitico.tcard img { animation: tro-float 4.2s ease-in-out infinite, tro-pulse 2.4s ease-in-out infinite; }
.tro { width: 40px !important; height: 40px !important; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .5)); transition: transform .2s; }
.tro-wrap:hover .tro { transform: scale(1.25) rotate(-6deg); }
@keyframes tro-float { 50% { translate: 0 -6px; } }
@keyframes tro-pulse { 50% { filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .55)) drop-shadow(0 0 28px var(--rc)); } }
@keyframes tro-sweep { from { background-position: 200% 0; } to { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .tcard img, .rar-leggendario.tcard img, .rar-mitico.tcard img, .dcb-pet { animation: none; } }
