:root {
  --bg: #05070d;
  --bg-soft: #090d17;
  --surface: rgba(13, 18, 31, 0.82);
  --surface-strong: #0e1422;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f6f7fb;
  --muted: #929bb0;
  --blue: #176bff;
  --blue-bright: #3f8cff;
  --gold: #e2b84c;
  --gold-bright: #ffd978;
  --success: #52d69b;
  --danger: #ff6c7a;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 60% -10%, rgba(23, 107, 255, 0.12), transparent 34%),
    radial-gradient(circle at 10% 30%, rgba(226, 184, 76, 0.06), transparent 28%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noise { position: fixed; inset: 0; pointer-events: none; opacity: .17; z-index: -1; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); }
.orb { position: fixed; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: -2; opacity: .18; }
.orb-blue { background: var(--blue); right: -180px; top: 18%; }
.orb-gold { background: var(--gold); left: -260px; bottom: 8%; opacity: .08; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky; top: 16px; z-index: 50;
  width: min(1240px, calc(100% - 32px)); margin: 16px auto 0;
  height: 74px; min-height: 74px; max-height: 74px; padding: 0 18px 0 14px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
  background: rgba(5,7,13,.72); backdrop-filter: blur(18px); box-shadow: 0 12px 42px rgba(0,0,0,.22);
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 17px; font-weight: 900; letter-spacing: .18em; }
.brand img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(63,140,255,.22)); }
.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a { color: var(--muted); padding: 12px 15px; border-radius: 11px; font-size: 14px; font-weight: 700; transition: .2s ease; }
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.main-nav .nav-download { color: #080b11; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); padding-inline: 19px; box-shadow: 0 8px 25px rgba(226,184,76,.18); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--text); transition: .2s; }

.hero { min-height: 760px; padding: 102px 0 80px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--gold-bright); font-size: 12px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero h1, .section-heading h2, .download-copy h2 { margin: 0; font-size: clamp(48px, 6.2vw, 84px); line-height: .98; letter-spacing: -.055em; }
em { color: var(--blue-bright); font-style: normal; text-shadow: 0 0 38px rgba(23,107,255,.22); }
.gold-accent { color: var(--gold-bright); text-shadow: 0 0 22px rgba(226,184,76,.2), 0 0 56px rgba(226,184,76,.18); }
.hero-text { max-width: 660px; margin: 28px 0 34px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 52px; padding: 0 22px; border: 1px solid transparent; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-weight: 850; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #05070c; background: linear-gradient(135deg, var(--gold-bright), var(--gold)); box-shadow: 0 10px 32px rgba(226,184,76,.17); }
.button-primary:hover { box-shadow: 0 14px 38px rgba(226,184,76,.25); }
.button-ghost { color: var(--text); background: rgba(255,255,255,.035); border-color: var(--line); }
.button-ghost:hover { border-color: rgba(63,140,255,.42); background: rgba(23,107,255,.08); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 23px; margin-top: 28px; color: #788298; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.hero-trust span::before { content: "✓"; color: var(--success); margin-right: 7px; }
.hero-visual { min-height: 570px; position: relative; display: grid; place-items: center; }
.hero-logo-ring { width: min(430px, 80vw); aspect-ratio: 1; position: relative; display: grid; place-items: center; }
.hero-logo-ring::before { content: ""; position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle, rgba(23,107,255,.16), rgba(5,7,13,.16) 58%, transparent 70%); filter: blur(2px); }
.hero-logo-ring img { width: 69%; z-index: 2; filter: drop-shadow(0 0 30px rgba(255,255,255,.11)) drop-shadow(0 0 72px rgba(23,107,255,.22)); animation: logo-float 5s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(63,140,255,.24); }
.ring::before, .ring::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 18px var(--gold); }
.ring-one { animation: spin 18s linear infinite; }
.ring-one::before { left: 10%; top: 22%; }
.ring-one::after { right: 9%; bottom: 25%; background: var(--blue-bright); box-shadow: 0 0 18px var(--blue); }
.ring-two { inset: 9%; border-style: dashed; border-color: rgba(226,184,76,.18); animation: spin-reverse 24s linear infinite; }
.ring-two::before { left: 46%; top: -4px; }
.ring-two::after { left: 19%; bottom: 10%; }
.floating-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(12,17,29,.84); backdrop-filter: blur(13px); box-shadow: var(--shadow); }
.floating-card small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.floating-card strong { display: block; margin-top: 3px; font-size: 14px; }
.float-one { left: -4%; top: 25%; animation: card-float 4.8s ease-in-out infinite; }
.float-two { right: -2%; bottom: 19%; animation: card-float 5.4s ease-in-out infinite reverse; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px rgba(82,214,155,.1), 0 0 18px rgba(82,214,155,.6); }
.mini-icon { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--gold-bright); background: rgba(226,184,76,.1); }

.ticker { overflow: hidden; border-block: 1px solid rgba(255,255,255,.07); background: rgba(10,14,24,.7); transform: rotate(-1.2deg) scale(1.02); }
.ticker-track { width: max-content; padding: 17px 0; display: flex; align-items: center; gap: 28px; animation: ticker 30s linear infinite; }
.ticker span { font-size: 12px; font-weight: 900; letter-spacing: .22em; color: #7f899f; }
.ticker i { color: var(--gold); font-style: normal; }

.client-section, .skin-section, .features-section { padding: 150px 0 30px; }
.section-heading { max-width: 790px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h2 { font-size: clamp(40px, 5vw, 67px); }
.section-heading > p:last-child { color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 650px; }
.section-heading.centered > p:last-child { margin-inline: auto; }
.client-showcase { padding: 1px; border-radius: 28px; background: linear-gradient(135deg, rgba(63,140,255,.6), rgba(255,255,255,.05) 42%, rgba(226,184,76,.35)); box-shadow: var(--shadow); }
.window-frame { overflow: hidden; min-height: 610px; border-radius: 27px; background: #080b13; }
.window-topbar { height: 48px; padding: 0 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.07); color: #717b90; font-size: 10px; font-weight: 850; letter-spacing: .15em; }
.window-version { text-align: right; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #313846; }.window-dots i:first-child { background: var(--gold); }.window-dots i:last-child { background: var(--blue); }
.window-body { display: grid; grid-template-columns: 190px 1fr; min-height: 560px; }
.window-sidebar { padding: 28px 18px; border-right: 1px solid rgba(255,255,255,.06); background: #070a11; display: flex; flex-direction: column; gap: 8px; }
.window-sidebar img { width: 64px; margin: 0 auto 30px; filter: drop-shadow(0 0 18px rgba(63,140,255,.18)); }
.window-sidebar button { width: 100%; padding: 13px 14px; text-align: left; border: 0; border-radius: 10px; color: #697287; background: transparent; font-size: 12px; font-weight: 750; }
.window-sidebar button.active { color: var(--text); background: linear-gradient(90deg, rgba(23,107,255,.18), rgba(23,107,255,.03)); border-left: 2px solid var(--blue-bright); }
.window-content { padding: 34px; background: radial-gradient(circle at 80% 10%, rgba(23,107,255,.08), transparent 35%), #0a0e17; }
.dashboard-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.dashboard-top small, .game-panel small, .metric-panel small, .news-panel small { color: #778196; font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.dashboard-top h3 { margin: 6px 0 0; font-size: 30px; letter-spacing: -.03em; }
.online-pill { color: var(--success); padding: 8px 12px; border-radius: 999px; background: rgba(82,214,155,.08); font-size: 11px; font-weight: 800; }
.dashboard-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 16px; }
.dashboard-grid article { border: 1px solid rgba(255,255,255,.075); border-radius: 17px; background: rgba(255,255,255,.025); }
.game-panel { min-height: 280px; grid-row: span 2; padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.game-panel::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -70px; top: -70px; background: rgba(23,107,255,.14); filter: blur(34px); }
.game-art { position: absolute; inset: 18px 18px auto auto; width: 128px; height: 128px; display: grid; place-items: center; border: 1px solid rgba(63,140,255,.25); border-radius: 24px; transform: rotate(8deg); background: linear-gradient(145deg, #101a31, #070b13); box-shadow: 0 22px 45px rgba(0,0,0,.35); }
.game-art span { font-size: 72px; font-weight: 950; font-style: italic; color: #fff; text-shadow: 6px 6px 0 rgba(23,107,255,.35); }
.game-panel h4 { font-size: 25px; margin: 8px 0 4px; }.game-panel p { color: var(--muted); margin: 0 0 18px; }
.game-panel button { z-index: 1; border: 0; border-radius: 9px; padding: 11px 22px; color: #04060a; background: var(--gold-bright); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.metric-panel { min-height: 132px; padding: 20px; display: flex; flex-direction: column; }
.metric-panel strong { font-size: 44px; line-height: 1; margin: 15px 0 7px; }.metric-panel span { color: var(--success); font-size: 11px; }
.news-panel { grid-column: 1 / -1; min-height: 148px; padding: 24px; background: linear-gradient(115deg, rgba(23,107,255,.1), rgba(226,184,76,.04)) !important; }
.news-panel h4 { margin: 9px 0 7px; font-size: 20px; }.news-panel p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.6; }

.search-wrap { max-width: 900px; margin: 0 auto 38px; }
.skin-search { height: 76px; padding: 8px 24px; display: flex; align-items: center; gap: 14px; border: 1px solid rgba(63,140,255,.2); border-radius: 18px; background: rgba(12,17,29,.86); box-shadow: 0 18px 60px rgba(0,0,0,.3), 0 0 0 5px rgba(23,107,255,.035); }
.skin-search > svg { width: 24px; flex: 0 0 auto; fill: none; stroke: #71809b; stroke-width: 1.8; stroke-linecap: round; }
.skin-search input { min-width: 0; flex: 1; height: 100%; color: var(--text); border: 0; outline: 0; background: transparent; font-size: 17px; }
.skin-search input::placeholder { color: #5e687d; }
.quick-search { margin-top: 15px; display: flex; justify-content: center; gap: 9px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.quick-search button { border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; color: #b9c0d0; background: rgba(255,255,255,.03); cursor: pointer; }
.search-status { min-height: 22px; text-align: center; color: var(--muted); font-size: 13px; }.search-status.error { color: var(--danger); }.search-status.success { color: var(--success); }
.profile-result { display: grid; grid-template-columns: 390px 1fr; gap: 22px; animation: result-in .45s ease both; }
.profile-preview-card, .profile-info-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11,16,27,.86); box-shadow: var(--shadow); }
.profile-preview-card { min-height: 625px; display: grid; place-items: center; background: radial-gradient(circle at 50% 30%, rgba(23,107,255,.13), transparent 48%), linear-gradient(180deg,#0f1728,#090d16); }
.card-glow { position: absolute; width: 220px; height: 220px; top: 20%; border-radius: 50%; background: rgba(23,107,255,.2); filter: blur(65px); }
.profile-badge { position: absolute; top: 18px; left: 18px; display: flex; align-items: center; gap: 7px; color: #7f899d; font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.profile-badge span { padding: 6px 8px; border-radius: 6px; color: #dbe8ff; background: rgba(23,107,255,.18); }
.profile-badge i { width: 5px; height: 5px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
#skin-canvas { width: 246px; height: 492px; z-index: 2; image-rendering: pixelated; filter: drop-shadow(0 22px 24px rgba(0,0,0,.5)); transition: transform .35s ease; }
#skin-canvas.flipped { transform: scaleX(-1); }
.preview-floor { position: absolute; width: 230px; height: 50px; bottom: 39px; border-radius: 50%; border: 1px solid rgba(63,140,255,.18); background: radial-gradient(ellipse, rgba(23,107,255,.16), transparent 65%); transform: perspective(150px) rotateX(62deg); }
.icon-button { position: absolute; right: 18px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: #aab3c6; background: rgba(255,255,255,.04); cursor: pointer; z-index: 3; }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.profile-info-card { padding: 31px; }
.profile-title-row { display: flex; align-items: center; gap: 16px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.07); }
.profile-head-wrap { width: 70px; height: 70px; padding: 5px; border-radius: 16px; background: linear-gradient(135deg, rgba(63,140,255,.65), rgba(226,184,76,.38)); }
.profile-head-wrap img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; image-rendering: pixelated; background: #0b0e16; }
.profile-title-row p { margin: 0 0 5px; color: var(--gold); font-size: 9px; font-weight: 900; letter-spacing: .17em; }.profile-title-row h3 { margin: 0; font-size: 31px; letter-spacing: -.03em; }
.views-pill { margin-left: auto; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #98a1b4; font-size: 11px; white-space: nowrap; }
.profile-data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.data-block { min-height: 88px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.07); border-radius: 13px; background: rgba(255,255,255,.025); }
.data-block.wide { grid-column: 1 / -1; }
.data-block > span { display: block; margin-bottom: 12px; color: #687287; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.data-block > div { display: flex; gap: 10px; align-items: center; }.data-block code { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; color: #cad1e0; font-size: 13px; }
.data-block strong { font-size: 15px; }.status-good { color: var(--success); }
.copy-button { border: 0; padding: 6px 8px; border-radius: 7px; color: var(--blue-bright); background: rgba(23,107,255,.09); font-size: 9px; font-weight: 900; cursor: pointer; }
.history-panel { border: 1px solid rgba(255,255,255,.07); border-radius: 14px; padding: 18px; background: rgba(255,255,255,.02); }
.panel-title { display: flex; justify-content: space-between; align-items: center; }.panel-title h4 { margin: 0; font-size: 15px; }.panel-title span { color: var(--muted); font-size: 10px; }
.name-history { margin: 18px 0 0; padding: 0; list-style: none; max-height: 183px; overflow: auto; }
.name-history li { position: relative; display: flex; justify-content: space-between; gap: 14px; padding: 12px 5px 12px 23px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.name-history li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 7px; height: 7px; border: 2px solid var(--blue-bright); border-radius: 50%; background: var(--surface-strong); }
.name-history li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 25px; width: 1px; height: 24px; background: rgba(63,140,255,.24); }
.name-history time { color: #697389; font-size: 11px; }.name-history .current-name { color: var(--gold-bright); }.name-history-empty { color: var(--muted); }
.profile-actions { display: flex; gap: 11px; margin-top: 21px; flex-wrap: wrap; }.profile-actions .button { flex: 1; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-card { min-height: 310px; padding: 27px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: linear-gradient(145deg, rgba(17,23,38,.86), rgba(8,12,21,.86)); transition: transform .25s, border-color .25s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(63,140,255,.35); }
.feature-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -70px; bottom: -70px; border-radius: 50%; background: rgba(23,107,255,.08); filter: blur(20px); }
.feature-number { color: #343d50; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.feature-icon { width: 56px; height: 56px; margin: 48px 0 25px; display: grid; place-items: center; border: 1px solid rgba(226,184,76,.24); border-radius: 15px; color: var(--gold-bright); background: rgba(226,184,76,.06); font-size: 24px; box-shadow: 0 0 30px rgba(226,184,76,.06); }
.feature-card h3 { margin: 0 0 12px; font-size: 21px; }.feature-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }

.download-section { padding: 150px 0 90px; }
.download-card { min-height: 410px; padding: 55px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr .7fr; gap: 45px; align-items: center; border: 1px solid rgba(63,140,255,.18); border-radius: 28px; background: radial-gradient(circle at 82% 50%, rgba(23,107,255,.18), transparent 32%), linear-gradient(135deg,#111829,#080c14 68%); box-shadow: var(--shadow); }
.download-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,.03) 45.1%, transparent 56%); }
.download-copy h2 { font-size: clamp(42px,5vw,66px); }.download-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); line-height: 1.7; }
.download-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }.download-meta span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; color: #8490a6; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.download-action { display: flex; flex-direction: column; align-items: center; text-align: center; }.download-action img { width: 160px; margin-bottom: 8px; filter: drop-shadow(0 0 25px rgba(63,140,255,.19)); }.button-large { width: 100%; min-height: 62px; }
.download-action small { max-width: 300px; margin-top: 13px; color: #687287; line-height: 1.5; }

.site-footer { padding: 30px 0 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-top: 1px solid rgba(255,255,255,.06); }
.footer-brand { display: flex; align-items: center; gap: 13px; }.footer-brand img { width: 50px; }.footer-brand strong { display: block; letter-spacing: .17em; }.footer-brand span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 18px; }.footer-links a, .footer-links button { padding: 0; border: 0; color: #8b95aa; background: transparent; font-size: 12px; cursor: pointer; }.footer-links a:hover, .footer-links button:hover { color: var(--text); }
.footer-disclaimer, .copyright { grid-column: 1 / -1; margin: 0; color: #596276; font-size: 10px; }.copyright { color: #454d5e; }

.cookie-layer { position: fixed; inset: 0; z-index: 100; padding: 20px; display: grid; place-items: center; background: rgba(2,4,8,.78); backdrop-filter: blur(10px); }
.cookie-dialog { position: relative; width: min(780px,100%); max-height: calc(100vh - 40px); overflow: auto; padding: 32px; display: grid; grid-template-columns: 135px 1fr; gap: 28px; border: 1px solid rgba(63,140,255,.2); border-radius: 24px; background: linear-gradient(145deg,#111827,#090d16); box-shadow: 0 35px 110px rgba(0,0,0,.65); }
.cookie-close { position: absolute; right: 15px; top: 12px; width: 36px; height: 36px; border: 0; border-radius: 9px; color: #798398; background: rgba(255,255,255,.04); font-size: 23px; cursor: pointer; }
.cookie-logo { display: grid; place-items: start center; padding-top: 35px; }.cookie-logo img { width: 120px; filter: drop-shadow(0 0 25px rgba(63,140,255,.16)); }
.cookie-content h2 { margin: 0 0 14px; font-size: 30px; letter-spacing: -.03em; }.cookie-content > p:not(.eyebrow):not(.cookie-legal) { color: var(--muted); line-height: 1.7; }
.cookie-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }.cookie-actions .button { min-height: 48px; flex: 1; white-space: nowrap; }
.cookie-legal { margin: 15px 0 0; color: #667086; font-size: 11px; line-height: 1.5; }.cookie-legal a { color: var(--blue-bright); }
.cookie-options { margin-top: 20px; display: grid; gap: 10px; }
.cookie-option { position: relative; display: flex; align-items: center; gap: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }.cookie-option span { flex: 1; }.cookie-option strong, .cookie-option small { display: block; }.cookie-option small { margin-top: 4px; color: var(--muted); line-height: 1.4; }.cookie-option input { position: absolute; opacity: 0; }.cookie-option i { width: 42px; height: 23px; position: relative; flex: 0 0 auto; border-radius: 999px; background: #333b4d; transition: .2s; }.cookie-option i::after { content: ""; position: absolute; width: 17px; height: 17px; top: 3px; left: 3px; border-radius: 50%; background: #fff; transition: .2s; }.cookie-option input:checked + i { background: var(--blue); }.cookie-option input:checked + i::after { transform: translateX(19px); }.cookie-option.locked { opacity: .72; cursor: default; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%,25px); opacity: 0; pointer-events: none; padding: 12px 17px; border: 1px solid var(--line); border-radius: 11px; color: var(--text); background: rgba(13,18,31,.94); box-shadow: 0 15px 45px rgba(0,0,0,.45); transition: .25s ease; font-size: 13px; }.toast.show { transform: translate(-50%,0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }.reveal.visible { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes spin-reverse { to { transform: rotate(-360deg); } }
@keyframes logo-float { 50% { transform: translateY(-11px) rotate(-1.5deg); } } @keyframes card-float { 50% { transform: translateY(-9px); } }
@keyframes ticker { to { transform: translateX(-50%); } } @keyframes result-in { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 75px; text-align: center; }.hero-copy .eyebrow, .hero-actions, .hero-trust { justify-content: center; }.hero-text { margin-inline: auto; }.hero-visual { min-height: 460px; }.float-one { left: 4%; }.float-two { right: 4%; }
  .profile-result { grid-template-columns: 340px 1fr; }.feature-grid { grid-template-columns: 1fr 1fr; }.feature-card:last-child { grid-column: 1 / -1; }
  .download-card { grid-template-columns: 1fr; text-align: center; }.download-copy .eyebrow, .download-meta { justify-content: center; }.download-copy > p:not(.eyebrow) { margin-inline: auto; }.download-action { max-width: 430px; margin-inline: auto; }
}
@media (max-width: 780px) {
  .section-shell { width: min(100% - 28px, 1180px); }.site-header { top: 10px; width: calc(100% - 20px); margin-top: 10px; }
  .menu-toggle { display: block; }.main-nav { position: fixed; inset: 84px 10px auto; padding: 12px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: rgba(7,10,17,.97); box-shadow: var(--shadow); }.main-nav.open { display: flex; }.main-nav a { text-align: center; }
  .hero { min-height: auto; padding: 78px 0 40px; gap: 25px; }.hero h1 { font-size: clamp(44px,13vw,68px); }.hero-text { font-size: 16px; }.hero-visual { min-height: 390px; }.floating-card { transform: scale(.88); }.float-one { left: -3%; top: 18%; }.float-two { right: -5%; bottom: 14%; }
  .client-section, .skin-section, .features-section { padding-top: 105px; }.window-frame { min-height: 500px; }.window-body { grid-template-columns: 1fr; }.window-sidebar { display: none; }.window-content { padding: 22px; }.dashboard-grid { grid-template-columns: 1fr 1fr; }.game-panel { grid-column: 1 / -1; min-height: 260px; }.news-panel { min-height: auto; }
  .profile-result { grid-template-columns: 1fr; }.profile-preview-card { min-height: 560px; }.profile-info-card { padding: 22px; }.feature-grid { grid-template-columns: 1fr; }.feature-card:last-child { grid-column: auto; }.download-card { padding: 35px 22px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }.footer-brand, .footer-links { justify-content: center; }
  .cookie-dialog { grid-template-columns: 1fr; padding: 27px 20px; }.cookie-logo { display: none; }
}
@media (max-width: 520px) {
  .brand span { font-size: 14px; }.brand img { width: 42px; height: 42px; }.site-header { height: 64px; min-height: 64px; max-height: 64px; }
  .hero h1 { font-size: 43px; }.hero-actions .button { width: 100%; }.hero-visual { min-height: 330px; }.hero-logo-ring { width: 310px; }.floating-card { display: none; }
  .window-content { padding: 16px; }.dashboard-top h3 { font-size: 23px; }.online-pill { display: none; }.dashboard-grid { grid-template-columns: 1fr; }.metric-panel { min-height: 110px; }.game-art { width: 98px; height: 98px; }.game-art span { font-size: 52px; }
  .skin-search { height: 62px; padding: 8px 16px; flex-wrap: nowrap; }.skin-search > svg { display: block; }.skin-search input { width: auto; height: 100%; padding-inline: 4px; flex-basis: auto; }
  .profile-preview-card { min-height: 520px; }#skin-canvas { width: 220px; height: 440px; }.profile-title-row { align-items: flex-start; flex-wrap: wrap; }.views-pill { margin-left: 0; }.profile-data-grid { grid-template-columns: 1fr; }.data-block.wide { grid-column: auto; }.profile-actions .button { flex-basis: 100%; }
  .download-card { padding: 30px 18px; }.cookie-content h2 { font-size: 25px; }.cookie-actions .button { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }

/* Gronify v4: fixed pill navigation, cleaner search and brighter profile viewer */
.site-header {
  border-radius: 999px;
  padding-right: 12px;
}
.main-nav {
  min-width: 0;
}
.header-search-shell {
  position: relative;
  width: min(330px, 31vw);
  margin-inline: 4px;
}
.header-search {
  height: 46px;
  padding: 5px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(63,140,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-search:focus-within {
  border-color: rgba(63,140,255,.55);
  background: rgba(23,107,255,.075);
  box-shadow: 0 0 0 4px rgba(23,107,255,.075);
}
.header-search > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: #748096;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.header-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}
.header-search input::placeholder { color: #7e899d; opacity: 1; }
.search-popover {
  position: absolute;
  z-index: 80;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  max-height: min(430px, calc(100vh - 115px));
  overflow: auto;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(8,12,21,.97);
  box-shadow: 0 25px 75px rgba(0,0,0,.52);
  backdrop-filter: blur(20px);
}
.account-results {
  max-width: 900px;
  margin: 18px auto 0;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(9,13,23,.82);
  box-shadow: 0 20px 65px rgba(0,0,0,.28);
}
.account-result-list { display: grid; gap: 7px; }
.account-result {
  min-width: 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.account-result:hover,
.account-result:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(63,140,255,.27);
  background: rgba(23,107,255,.08);
  outline: 0;
}
.account-result-head {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(63,140,255,.65), rgba(226,184,76,.35));
}
.account-result-head img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  image-rendering: pixelated;
  background: #070a11;
}
.account-result-copy {
  min-width: 0;
  flex: 1;
}
.account-result-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.account-result-copy small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 10px;
}
.search-message {
  padding: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}
.search-message.loading::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-right: 8px;
  display: inline-block;
  vertical-align: -2px;
  border: 2px solid rgba(255,255,255,.15);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.search-message.error { color: var(--danger); }
.search-consent-card {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  background: rgba(226,184,76,.055);
}
.search-consent-card > div { min-width: 0; flex: 1; }
.search-consent-card strong,
.search-consent-card span { display: block; }
.search-consent-card strong { font-size: 13px; }
.search-consent-card span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.search-consent-card button {
  flex: 0 0 auto;
  padding: 9px 11px;
  border: 1px solid rgba(226,184,76,.25);
  border-radius: 9px;
  color: var(--gold-bright);
  background: rgba(226,184,76,.08);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.release-button[disabled] {
  cursor: not-allowed;
  opacity: .76;
  filter: saturate(.7);
  transform: none;
}
.release-button[disabled]:hover { transform: none; box-shadow: 0 10px 32px rgba(226,184,76,.17); }
.release-button span { line-height: 1.25; }
.release-button strong { display: block; }
.release-card .download-meta span:nth-child(2) {
  color: var(--gold-bright);
  border-color: rgba(226,184,76,.25);
  background: rgba(226,184,76,.055);
}

.profile-page-main { min-height: calc(100vh - 160px); }
.profile-page { padding: 75px 0 105px; }
.profile-breadcrumb {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #667086;
  font-size: 12px;
  font-weight: 750;
}
.profile-breadcrumb a { color: var(--blue-bright); }
.profile-breadcrumb strong { color: #a7b0c2; }
.profile-loading,
.profile-error {
  min-height: 450px;
  padding: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 30%, rgba(23,107,255,.1), transparent 45%), rgba(10,14,24,.76);
  box-shadow: var(--shadow);
}
.profile-loading strong { display: block; font-size: 22px; }
.profile-loading p { margin: 8px 0 0; color: var(--muted); }
.loading-cube {
  width: 55px;
  height: 55px;
  display: block;
  border: 1px solid rgba(63,140,255,.5);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(23,107,255,.22), rgba(226,184,76,.08));
  box-shadow: 0 0 35px rgba(23,107,255,.18);
  animation: profile-cube 1.7s ease-in-out infinite;
}
.profile-error {
  flex-direction: column;
  text-align: center;
}
.profile-error h1 { margin: 0; font-size: clamp(38px, 6vw, 72px); letter-spacing: -.05em; }
.profile-error > p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.7; }
.profile-result-page { grid-template-columns: minmax(350px, .78fr) minmax(480px, 1.22fr); align-items: stretch; }
.profile-viewer-card { min-height: 690px; cursor: grab; }
.profile-viewer-card:active { cursor: grabbing; }
.viewer-stage {
  position: absolute;
  inset: 60px 0 62px;
  z-index: 2;
  min-height: 520px;
  background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.09), rgba(63,140,255,.055) 35%, transparent 67%);
}
#skin-viewer {
  width: 100%;
  height: 100%;
  display: block;
  outline: 0;
  touch-action: none;
  filter: brightness(1.08) drop-shadow(0 25px 28px rgba(0,0,0,.34));
}
.profile-viewer-card .preview-floor { bottom: 45px; }
.viewer-help {
  position: absolute;
  z-index: 4;
  left: 18px;
  right: 70px;
  bottom: 18px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  pointer-events: none;
}
.viewer-help span {
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 999px;
  color: #788399;
  background: rgba(5,7,13,.58);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(7px);
}
.profile-title-row h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 43px);
  letter-spacing: -.04em;
}
.profile-result-page .profile-info-card { padding: 36px; }
.profile-result-page .history-panel { min-height: 260px; }
.profile-result-page .panel-title h2 { margin: 0; font-size: 16px; }
.profile-result-page .name-history { max-height: 270px; }
.profile-note { margin: 17px 2px 0; color: #626c80; font-size: 11px; line-height: 1.55; }

@keyframes profile-cube {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(8deg); }
}

@media (max-width: 1120px) {
  .header-search-shell { width: min(280px, 29vw); }
  .main-nav a { padding-inline: 10px; }
  .profile-result-page { grid-template-columns: 360px 1fr; }
}

@media (max-width: 900px) {
  .site-header { border-radius: 999px; }
  .header-search-shell { width: 100%; margin: 4px 0; }
  .header-search { width: 100%; }
  .search-popover { position: static; max-height: 360px; margin-top: 8px; }
  .profile-result-page { grid-template-columns: 1fr; }
  .profile-viewer-card { min-height: 650px; }
}

@media (max-width: 780px) {
  .site-header { border-radius: 999px; }
  .main-nav { max-height: calc(100vh - 100px); overflow: auto; }
  .main-nav .header-search-shell { order: -1; }
  .main-nav .nav-download { text-align: center; }
  .profile-page { padding-top: 50px; }
  .profile-breadcrumb { padding-inline: 4px; }
  .profile-loading,
  .profile-error { min-height: 380px; padding: 30px 20px; }
  .profile-result-page .profile-info-card { padding: 24px; }
}

@media (max-width: 520px) {
  .site-header { padding-left: 10px; padding-right: 10px; }
  .account-result-copy small { max-width: 205px; }
  .account-results { padding: 6px; border-radius: 16px; }
  .account-result { padding: 9px; }
  .profile-page { width: min(100% - 20px, 1180px); }
  .profile-viewer-card { min-height: 575px; }
  .viewer-stage { inset: 55px 0 72px; min-height: 440px; }
  .viewer-help { right: 18px; bottom: 66px; justify-content: center; }
  .profile-viewer-card .icon-button { left: 50%; right: auto; transform: translateX(-50%); }
  .profile-title-row h1 { font-size: 30px; }
  .profile-result-page .profile-info-card { padding: 20px; }
  .search-consent-card { align-items: stretch; flex-direction: column; }
}
.clipboard-helper {
  position: fixed;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}


/* Gronify v5: profile page overhaul inspired by premium gaming profile layouts */

.header-search button { display: none !important; }
.header-search { padding-right: 14px; }
.header-search-shell .search-popover { width: 100%; }

.profile-showcase { display: grid; gap: 26px; }
.profile-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(7,10,18,.88), rgba(6,8,14,.94));
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
  isolation: isolate;
}
.profile-hero-backdrop,
.profile-hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.profile-hero-backdrop {
  background:
    radial-gradient(circle at 50% 38%, rgba(113, 37, 202, .32), transparent 22%),
    linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,.35) 40%, rgba(0,0,0,.72)),
    url('../img/profile-backdrop-reference.png') center/cover no-repeat;
  transform: scale(1.03);
  filter: blur(2px) saturate(1.05) brightness(.5);
}
.profile-hero-overlay {
  background:
    linear-gradient(180deg, rgba(8,10,17,.25), rgba(8,10,17,.92) 78%),
    radial-gradient(circle at 52% 30%, rgba(92, 34, 178, .42), transparent 15%),
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 30%, rgba(0,0,0,.45));
}
.profile-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(310px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 500px;
  padding: 24px 26px 18px;
}
.profile-viewer-card-v5,
.profile-identity-card {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.profile-viewer-card-v5 {
  min-height: 440px;
}
.profile-viewer-card-v5 .viewer-stage {
  inset: 10px 0 60px;
  min-height: 390px;
  background: radial-gradient(circle at 50% 34%, rgba(255,255,255,.13), rgba(255,255,255,.03) 25%, transparent 62%);
}
.profile-viewer-card-v5 #skin-viewer {
  filter: brightness(1.2) saturate(1.08) drop-shadow(0 24px 32px rgba(0,0,0,.38));
}
.profile-viewer-card-v5 .preview-floor {
  width: 68%;
  height: 44px;
  left: 16%;
  bottom: 42px;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(110,59,168,.22) 35%, rgba(0,0,0,0) 74%);
  filter: blur(10px);
}
.profile-viewer-card-v5 .icon-button {
  top: auto;
  bottom: 124px;
  left: 28px;
  right: auto;
  background: rgba(10,12,18,.65);
}
.profile-viewer-card-v5 .viewer-help {
  left: 24px;
  right: 24px;
  bottom: 16px;
}
.profile-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(8, 10, 16, .5);
  color: #d6dbea;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.profile-chip-accent {
  color: #fff2b8;
  border-color: rgba(226,184,76,.28);
  background: linear-gradient(135deg, rgba(226,184,76,.2), rgba(23,107,255,.12));
}
.profile-title-row-v5 {
  display: block;
  padding: 0;
  border: 0;
}
.profile-title-row-v5 h1 {
  margin: 0;
  font-size: clamp(42px, 5.7vw, 84px);
  line-height: .98;
  letter-spacing: -.05em;
}
.profile-uuid-line {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.88);
}
.profile-uuid-line > span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9aa3b5;
}
.profile-uuid-line code {
  font-size: clamp(13px, 2vw, 20px);
  color: #edf2fe;
  background: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.copy-button.icon-only {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.copy-button.icon-only svg {
  width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7;
}
.profile-stat-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.profile-stat-chip {
  padding: 12px 18px;
  background: rgba(9,11,17,.56);
}
.profile-actions-v5 {
  margin-top: 28px;
}
.profile-note-v5 {
  max-width: 630px;
  margin-top: 16px;
  color: #b4bdcf;
  font-size: 13px;
}
.profile-bottom-grid {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(440px, 1.15fr);
  gap: 26px;
}
.profile-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(13,17,28,.94), rgba(10,13,22,.9)),
    radial-gradient(circle at 80% 20%, rgba(226,184,76,.05), transparent 25%);
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  padding: 26px;
}
.panel-title-v5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.panel-title-v5 h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -.03em;
}
.panel-title-v5 span {
  color: #95a0b6;
  font-size: 13px;
}
.profile-skin-grid {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.profile-head-panel {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
}
.profile-head-wrap-v5 {
  width: 100px;
  height: 100px;
  padding: 6px;
  border-radius: 22px;
}
.profile-head-panel strong { font-size: 17px; }
.profile-head-panel small { color: var(--muted); }
.profile-flat-skin-panel {
  min-height: 240px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.07);
  background: radial-gradient(circle at 50% 16%, rgba(63,140,255,.12), transparent 30%), rgba(255,255,255,.02);
}
.profile-flat-skin-panel img {
  width: min(100%, 265px);
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 20px 26px rgba(0,0,0,.28));
}
.name-history-v5 {
  max-height: none;
  display: grid;
  gap: 14px;
  margin-top: 10px;
}
.name-history-v5 li {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}
.name-history-v5 li::before,
.name-history-v5 li::after { display: none !important; }
.name-history-rank {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--blue-bright);
  background: rgba(23,107,255,.09);
  font-size: 20px;
  font-weight: 800;
}
.name-history-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.name-history-body strong {
  font-size: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.name-history-body small {
  color: #7c879a;
  font-size: 12px;
}
.name-history-v5 time {
  font-size: 13px;
  color: #d8deea;
  text-align: right;
}
.profile-history-card .name-history-v5 .current-name { color: #ffffff; }

@media (max-width: 1020px) {
  .profile-hero-grid,
  .profile-bottom-grid,
  .profile-skin-grid {
    grid-template-columns: 1fr;
  }
  .profile-viewer-card-v5 { min-height: 500px; }
}
@media (max-width: 720px) {
  .profile-hero-grid { padding: 18px 18px 16px; }
  .profile-viewer-card-v5 { min-height: 430px; }
  .profile-viewer-card-v5 .viewer-stage { min-height: 350px; }
  .profile-title-row-v5 h1 { font-size: clamp(38px, 14vw, 56px); }
  .profile-uuid-line code { font-size: 12px; }
  .profile-panel { padding: 20px; }
  .name-history-v5 li { grid-template-columns: 40px 1fr; }
  .name-history-v5 time { grid-column: 2; text-align: left; }
}


/* Gronify v6 overrides */

.profile-breadcrumb { display: none !important; }
.profile-hero-card-v6 {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.profile-hero-card-v6 .profile-hero-backdrop {
  background:
    radial-gradient(circle at 58% 26%, rgba(102, 48, 176, .26), transparent 16%),
    radial-gradient(circle at 24% 30%, rgba(23,107,255,.11), transparent 30%),
    linear-gradient(180deg, rgba(8,10,16,.22), rgba(8,10,16,.74) 70%, rgba(8,10,16,.0));
  filter: none !important;
  transform: none !important;
}
.profile-hero-card-v6 .profile-hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44) 65%, transparent),
    linear-gradient(90deg, rgba(0,0,0,.1), transparent 20%, transparent 80%, rgba(0,0,0,.08));
}
.profile-hero-grid-v6 {
  min-height: 420px;
  padding: 6px 8px 24px;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  gap: 8px 18px;
}
.profile-viewer-card-v6,
.profile-identity-card-v6,
.profile-viewer-card-v6::before,
.profile-identity-card-v6::before {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.profile-viewer-card-v6 { min-height: 420px; }
.profile-viewer-card-v6 .viewer-stage {
  inset: 0 0 54px;
  min-height: 365px;
  background: radial-gradient(circle at 44% 34%, rgba(255,255,255,.08), rgba(63,140,255,.04) 30%, transparent 62%);
}
.profile-viewer-card-v6 #skin-viewer {
  filter: brightness(1.24) saturate(1.1) drop-shadow(0 22px 32px rgba(0,0,0,.28));
}
.profile-viewer-card-v6 .preview-floor {
  width: 66%;
  height: 38px;
  left: 14%;
  bottom: 46px;
  border: 0;
  background: radial-gradient(ellipse, rgba(66,112,255,.14), rgba(66,112,255,.02) 48%, transparent 75%);
  filter: blur(8px);
}
.profile-viewer-card-v6 .viewer-help {
  left: 20px;
  right: 20px;
  bottom: 8px;
}
.profile-viewer-card-v6 .icon-button { display: none !important; }
.profile-title-row-v6 {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
}
.profile-title-row-v6 h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 80px);
  line-height: .95;
  letter-spacing: -.05em;
}
.profile-uuid-line-v6 {
  margin-top: 18px;
  gap: 10px;
}
.profile-uuid-line-v6 > span,
.profile-uuid-line-v6 code {
  color: #8a94aa !important;
}
.profile-uuid-line-v6 code {
  font-size: clamp(13px, 1.7vw, 20px);
}
.profile-stat-row-v6 {
  margin-top: 20px;
}
.profile-edition-chip {
  display: none !important;
}
.profile-actions-v6 {
  margin-top: 24px;
}
.profile-bottom-grid {
  align-items: start;
}
.profile-skin-card-v6 {
  padding: 22px;
}
.profile-flat-skin-panel-v6 {
  min-height: 260px;
  margin-bottom: 18px;
}
.skin-head-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 12px;
}
.skin-head-item {
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  color: var(--text);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.skin-head-item:hover,
.skin-head-item:focus-visible,
.skin-head-item.active {
  transform: translateY(-2px);
  border-color: rgba(63,140,255,.35);
  background: rgba(23,107,255,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  outline: 0;
}
.skin-head-item img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  image-rendering: pixelated;
  background: #0b0f17;
}
.skin-head-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: #aeb7c9;
}
@media (max-width: 1020px) {
  .profile-hero-grid-v6,
  .profile-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .profile-hero-grid-v6 { padding: 0 0 18px; }
  .profile-viewer-card-v6 { min-height: 390px; }
  .profile-viewer-card-v6 .viewer-stage { min-height: 330px; }
  .skin-head-grid { grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); }
}


/* Gronify v7 branding + skin viewer fixes */

.no-drag,
.site-logo,
.site-logo img {
  user-select: none;
  -webkit-user-drag: none;
}
.brand {
  gap: 0;
  min-width: 0;
}
.brand img {
  width: clamp(150px, 18vw, 220px) !important;
  height: auto !important;
  max-height: 44px;
  filter: drop-shadow(0 0 16px rgba(255,255,255,.08));
  pointer-events: none;
}
.footer-brand {
  gap: 16px;
}
.footer-brand img {
  width: 150px !important;
  height: auto;
  pointer-events: none;
}
.footer-brand strong { display: none !important; }
.hero-logo-ring img {
  width: min(78%, 430px);
  height: auto;
}
.window-sidebar img {
  width: 120px;
  height: auto;
}
.download-action img {
  width: 220px;
  height: auto;
}
@media (max-width: 820px) {
  .brand img { width: 140px !important; max-height: 36px; }
  .footer-brand img { width: 130px !important; }
}

/* Remove color filter / container look from profile skin viewer */
.profile-viewer-card-v6,
.profile-viewer-card-v6::before,
.profile-viewer-card-v6::after,
.profile-viewer-card-v6 .viewer-stage,
.profile-viewer-card-v6 .viewer-stage::before,
.profile-viewer-card-v6 .viewer-stage::after {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.profile-viewer-card-v6 #skin-viewer {
  filter: none !important;
}
.profile-viewer-card-v6 .preview-floor {
  opacity: .55;
}
.profile-flat-skin-panel-v6 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
  padding: 0 !important;
}
.profile-flat-skin-panel-v6 img {
  width: min(100%, 280px);
}
.profile-skin-card-v6 {
  background: linear-gradient(180deg, rgba(13,17,28,.86), rgba(10,13,22,.82));
}


/* Gronify v8 refinements */

.header-g-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 12px rgba(63,140,255,.22));
}
.brand img.header-g-logo {
  width: 48px !important;
  height: 48px !important;
  max-height: 48px !important;
}
.client-g-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 30px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 0 18px rgba(63,140,255,.18));
}
.main-nav .nav-download {
  border-radius: 999px !important;
  padding-inline: 21px;
}
.header-search,
.skin-search {
  position: relative;
}
.search-shortcut {
  flex: 0 0 auto;
  min-width: 46px;
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  color: #929cb0;
  background: rgba(255,255,255,.035);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.search-shortcut-main {
  min-width: 58px;
  margin-right: 6px;
}
.hero-copy > h1 {
  margin-top: 0;
}
.hero-copy .gold-accent {
  color: var(--gold-bright) !important;
  text-shadow: 0 0 22px rgba(226,184,76,.24), 0 0 68px rgba(226,184,76,.2) !important;
}
.neural-visual {
  min-height: 570px;
}
.neural-shell {
  position: relative;
  width: min(540px, 88vw);
  aspect-ratio: 1.08;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 42% 58% 48% 52% / 54% 42% 58% 46%;
  background:
    radial-gradient(circle at 50% 50%, rgba(226,184,76,.1), transparent 18%),
    radial-gradient(circle at 52% 48%, rgba(23,107,255,.16), rgba(5,7,13,.25) 46%, rgba(5,7,13,.05) 72%);
  box-shadow: inset 0 0 80px rgba(23,107,255,.09), 0 35px 100px rgba(0,0,0,.34);
  animation: neural-shape 10s ease-in-out infinite alternate;
}
#neural-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.neural-core {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,217,120,.25);
  border-radius: 28px;
  background: rgba(5,7,13,.64);
  box-shadow: 0 0 0 12px rgba(226,184,76,.025), 0 0 52px rgba(226,184,76,.18), 0 0 85px rgba(23,107,255,.18);
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.neural-core .header-g-logo {
  width: 64px;
  height: 64px;
}
.neural-caption {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  min-width: 250px;
  padding: 12px 17px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  text-align: center;
  background: rgba(5,7,13,.58);
  backdrop-filter: blur(12px);
  pointer-events: none;
}
.neural-caption span,
.neural-caption strong { display: block; }
.neural-caption span {
  color: var(--gold-bright);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .2em;
}
.neural-caption strong {
  margin-top: 5px;
  color: #9aa4b9;
  font-size: 10px;
  letter-spacing: .12em;
}
@keyframes neural-shape {
  0% { border-radius: 42% 58% 48% 52% / 54% 42% 58% 46%; transform: rotate(-1deg) scale(.99); }
  100% { border-radius: 56% 44% 59% 41% / 43% 57% 44% 56%; transform: rotate(1deg) scale(1.015); }
}

.profile-skin-card-v8 {
  min-height: 0;
}
.skin-history-intro {
  margin: -6px 0 20px;
  color: #7f899d;
  font-size: 12px;
  line-height: 1.6;
}
.skin-head-grid {
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
}
.skin-head-item {
  min-height: 106px;
}
.skin-head-item img {
  width: 62px;
  height: 62px;
}
.profile-api-strip {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: rgba(10,14,24,.62);
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
.profile-api-title {
  display: block;
  margin-bottom: 12px;
  color: #7f899d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.profile-api-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.profile-api-badges span {
  padding: 9px 12px;
  border: 1px solid rgba(63,140,255,.16);
  border-radius: 999px;
  color: #a8b1c4;
  background: rgba(23,107,255,.045);
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 780px) {
  .brand img.header-g-logo { width: 42px !important; height: 42px !important; }
  .search-shortcut { display: none; }
  .neural-shell { width: min(460px, 94vw); }
  .neural-caption { bottom: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .neural-shell { animation: none !important; }
}

.window-sidebar img.client-g-logo { width: 64px !important; height: 64px !important; margin: 0 auto 30px !important; }


/* Gronify v9: unboxed profile, head-only skins, linked APIs, clean network logo */

/* Upper profile content is deliberately free-floating: no card, border, backdrop or rounded container. */
.profile-hero-free {
  display: grid;
  grid-template-columns: minmax(310px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 26px;
  min-height: 470px;
  padding: 0 8px 20px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.profile-viewer-free,
.profile-identity-free {
  position: relative;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible;
}
.profile-viewer-free {
  min-height: 440px;
  cursor: grab;
}
.profile-viewer-free:active { cursor: grabbing; }
.profile-viewer-free .viewer-stage {
  position: absolute;
  inset: 0 0 54px;
  min-height: 385px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.profile-viewer-free #skin-viewer {
  width: 100%;
  height: 100%;
  display: block;
  outline: 0;
  filter: none !important;
  background: transparent !important;
  touch-action: none;
}
.profile-viewer-free .viewer-help {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}
.profile-identity-free {
  padding: 0;
}

/* UUID copy control: just the white glyph, no box, border or background. */
.copy-button.icon-only.uuid-copy-icon {
  width: 24px;
  height: 24px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: .92;
}
.copy-button.icon-only.uuid-copy-icon:hover,
.copy-button.icon-only.uuid-copy-icon:focus-visible {
  color: #fff !important;
  background: transparent !important;
  opacity: 1;
  transform: none;
  outline: 2px solid transparent;
}
.copy-button.icon-only.uuid-copy-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

/* Skin history contains heads only. */
.profile-skin-card-v9 .panel-title { margin-bottom: 18px; }
.skin-head-grid-only {
  grid-template-columns: repeat(auto-fill, minmax(72px, 72px));
  gap: 12px;
}
.skin-head-item.skin-head-only {
  width: 72px;
  min-height: 72px;
  height: 72px;
  padding: 5px;
  display: grid;
  place-items: center;
  border-radius: 15px;
}
.skin-head-item.skin-head-only img {
  width: 60px;
  height: 60px;
  border-radius: 11px;
  image-rendering: pixelated;
  -webkit-user-drag: none;
  user-select: none;
}

/* API names are genuine external links. */
.profile-api-badges a {
  padding: 9px 12px;
  border: 1px solid rgba(63,140,255,.16);
  border-radius: 999px;
  color: #a8b1c4;
  background: rgba(23,107,255,.045);
  font-size: 11px;
  font-weight: 700;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.profile-api-badges a:hover,
.profile-api-badges a:focus-visible {
  color: #fff;
  border-color: rgba(255,217,120,.4);
  background: rgba(226,184,76,.08);
  transform: translateY(-1px);
  outline: 0;
}
.profile-api-badges span { display: none; }

/* Neural area: no enclosing outline and no framed logo box. */
.neural-shell {
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.neural-core {
  width: min(270px, 52%);
  height: auto;
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.neural-core .neural-wordmark {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255,255,255,.08)) drop-shadow(0 0 55px rgba(23,107,255,.16));
  -webkit-user-drag: none;
  user-select: none;
}
.neural-caption {
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
}

@media (max-width: 900px) {
  .profile-hero-free {
    grid-template-columns: 1fr;
  }
  .profile-viewer-free { min-height: 480px; }
}
@media (max-width: 560px) {
  .profile-hero-free { padding-inline: 0; }
  .profile-viewer-free { min-height: 410px; }
  .profile-viewer-free .viewer-stage { min-height: 350px; }
  .skin-head-grid-only { grid-template-columns: repeat(auto-fill, minmax(64px, 64px)); }
  .skin-head-item.skin-head-only { width: 64px; height: 64px; min-height: 64px; }
  .skin-head-item.skin-head-only img { width: 54px; height: 54px; }
}


/* Gronify v10: direct Mojang profile endpoint, compact download and walking control */
#download-skin {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 11px;
  gap: 9px;
  font-size: 12px;
}
#download-skin svg {
  width: 17px;
  height: 17px;
}
.profile-viewer-free .viewer-stage,
.profile-viewer-free #skin-viewer {
  overscroll-behavior: contain;
}
.viewer-play-button {
  position: absolute;
  z-index: 8;
  right: 12px;
  bottom: 2px;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,11,18,.74);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.viewer-play-button:hover,
.viewer-play-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,217,120,.42);
  background: rgba(226,184,76,.1);
  outline: 0;
}
.viewer-play-button svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.viewer-play-button .viewer-pause-icon { display: none; }
.viewer-play-button[aria-pressed="true"] .viewer-play-icon { display: none; }
.viewer-play-button[aria-pressed="true"] .viewer-pause-icon { display: block; }
.profile-viewer-free .viewer-help { right: 128px; }
@media (max-width: 560px) {
  .viewer-play-button {
    right: 8px;
    bottom: 0;
    padding-inline: 12px;
  }
  .profile-viewer-free .viewer-help { right: 112px; }
}


/* Gronify v11: compact download pill, sneak control and profile title */

.profile-stat-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.skin-download-pill {
  min-height: 0 !important;
  padding: 12px 18px !important;
  border: 1px solid rgba(226,184,76,.32) !important;
  color: #080b11 !important;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold)) !important;
  box-shadow: 0 8px 24px rgba(226,184,76,.15) !important;
  cursor: pointer;
  font-size: 12px !important;
  line-height: 1 !important;
}
.skin-download-pill:hover,
.skin-download-pill:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 11px 28px rgba(226,184,76,.22) !important;
  outline: 0;
}
.skin-download-pill svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#download-skin.skin-download-pill {
  min-height: 0;
  border-radius: 999px;
}
.viewer-animation-controls {
  position: absolute;
  z-index: 8;
  right: 12px;
  bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.viewer-control-button {
  position: static !important;
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,11,18,.74);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.viewer-control-button:hover,
.viewer-control-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255,217,120,.42);
  background: rgba(226,184,76,.1);
  outline: 0;
}
.viewer-control-button[aria-pressed="true"] {
  border-color: rgba(255,217,120,.52);
  color: #090b10;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}
.viewer-control-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.viewer-play-button .viewer-play-icon,
.viewer-play-button .viewer-pause-icon {
  fill: currentColor;
  stroke: none;
}
.profile-viewer-free .viewer-help { right: 245px; }
@media (max-width: 620px) {
  .viewer-animation-controls {
    right: 8px;
    bottom: 0;
    gap: 6px;
  }
  .viewer-control-button {
    padding-inline: 11px;
  }
  .profile-viewer-free .viewer-help {
    right: 8px;
    bottom: 48px;
  }
}


/* Gronify v12: layer toggle, persistent sneak, click-to-hit and cleaner search */
.viewer-sneak-button .sneak-up-icon { display: none; }
.viewer-sneak-button[aria-pressed="true"] .sneak-down-icon { display: none; }
.viewer-sneak-button[aria-pressed="true"] .sneak-up-icon { display: block; }
.viewer-layer-button svg { fill: none; }

.copy-button.icon-only.uuid-copy-icon .copy-check-glyph { display: none; }
.copy-button.icon-only.uuid-copy-icon.copied { color: #55d990 !important; }
.copy-button.icon-only.uuid-copy-icon.copied .copy-glyph { display: none; }
.copy-button.icon-only.uuid-copy-icon.copied .copy-check-glyph { display: block; }
.copy-button.icon-only.uuid-copy-icon .copy-check-glyph {
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Search results no longer draw a frame around each profile. */
.account-results {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.account-result {
  border: 0 !important;
  box-shadow: none !important;
}
.account-result:hover,
.account-result:focus-visible {
  border: 0 !important;
}
.account-result-head {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/* Keep the click target obvious without the old drag instruction. */
.profile-viewer-free #skin-viewer { cursor: pointer; }
.profile-viewer-free:active { cursor: pointer; }
.profile-viewer-free .viewer-help { right: 365px; }

@media (max-width: 760px) {
  .viewer-animation-controls { flex-wrap: wrap; justify-content: flex-end; max-width: 310px; }
  .profile-viewer-free .viewer-help { right: 8px; bottom: 92px; }
}


/* Gronify v13: white active controls, compact icon buttons */
.skin-download-pill {
  color: #f7f8fc !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(8,11,18,.74) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.24) !important;
}
.skin-download-pill:hover,
.skin-download-pill:focus-visible {
  color: #fff !important;
  border-color: rgba(255,255,255,.36) !important;
  background: rgba(255,255,255,.09) !important;
  box-shadow: 0 11px 28px rgba(0,0,0,.26) !important;
}
.skin-download-pill:active,
.viewer-control-button:active,
.viewer-control-button[aria-pressed="true"] {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(255,255,255,.12) !important;
}
.viewer-control-button:hover,
.viewer-control-button:focus-visible {
  border-color: rgba(255,255,255,.38) !important;
  background: rgba(255,255,255,.09) !important;
}
.viewer-icon-control {
  width: 40px;
  min-width: 40px;
  padding: 0 !important;
  gap: 0 !important;
}
.viewer-icon-control svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 620px) {
  .viewer-icon-control {
    width: 38px;
    min-width: 38px;
    padding: 0 !important;
  }
}


/* Gronify v14: stable white control states and one-line live preview */
.viewer-help { display: none !important; }
.viewer-animation-controls {
  max-width: none !important;
  flex-wrap: nowrap !important;
  white-space: nowrap;
}
.viewer-live-label {
  min-height: 38px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: #cdd4e1;
  background: rgba(8,11,18,.48);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.viewer-live-label i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #55d990;
  box-shadow: 0 0 12px rgba(85,217,144,.75);
}

/* Default: dark. Hover and active state: solid white, never gold. */
.viewer-control-button,
.skin-download-pill {
  color: #f7f8fc !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(8,11,18,.78) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.24) !important;
}
.viewer-control-button:hover,
.viewer-control-button:focus-visible,
.viewer-control-button:active,
.viewer-control-button[aria-pressed="true"],
.skin-download-pill:hover,
.skin-download-pill:focus-visible,
.skin-download-pill:active,
.skin-download-pill.is-clicked {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(255,255,255,.14) !important;
  outline: 0;
}

/* Outer Layer starts dark while visible and turns white only when the layer is OFF. */
.viewer-layer-button:not([aria-pressed="true"]),
.viewer-layer-button:not([aria-pressed="true"]):hover,
.viewer-layer-button:not([aria-pressed="true"]):focus-visible,
.viewer-layer-button:not([aria-pressed="true"]):active {
  color: #f7f8fc !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(8,11,18,.78) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.24) !important;
}
.viewer-layer-button[aria-pressed="true"] {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
}

.viewer-icon-control {
  width: 40px !important;
  min-width: 40px !important;
  padding: 0 !important;
}
.viewer-sneak-button .sneak-up-icon { display: none; }
.viewer-sneak-button[aria-pressed="true"] .sneak-down-icon { display: none; }
.viewer-sneak-button[aria-pressed="true"] .sneak-up-icon { display: block; }

@media (max-width: 690px) {
  .viewer-animation-controls {
    left: 8px;
    right: 8px;
    justify-content: flex-end;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .viewer-animation-controls::-webkit-scrollbar { display: none; }
  .viewer-live-label { padding-inline: 10px; }
}


/* Gronify v15: immediate white hover states and clean profile controls */
.viewer-live-label { display: none !important; }
.viewer-animation-controls {
  justify-content: flex-end !important;
}

/* Dark by default; white immediately on hover/focus. */
html body .viewer-control-button,
html body #download-skin.skin-download-pill {
  color: #f7f8fc !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(8,11,18,.82) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.24) !important;
  transition: transform .14s ease !important;
}
html body .viewer-control-button:hover,
html body .viewer-control-button:focus-visible,
html body #download-skin.skin-download-pill:hover,
html body #download-skin.skin-download-pill:focus-visible {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(255,255,255,.16) !important;
  outline: 0 !important;
}

/* Persistent active states for walking and sneaking. */
html body .viewer-play-button[aria-pressed="true"],
html body .viewer-sneak-button[aria-pressed="true"],
html body #download-skin.skin-download-pill.is-clicked {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
}

/* Outer layer ON = dark. Hover = white. Layer OFF = white until switched on again. */
html body .viewer-layer-button[aria-pressed="false"] {
  color: #f7f8fc !important;
  border-color: rgba(255,255,255,.14) !important;
  background: rgba(8,11,18,.82) !important;
}
html body .viewer-layer-button[aria-pressed="false"]:hover,
html body .viewer-layer-button[aria-pressed="false"]:focus-visible,
html body .viewer-layer-button[aria-pressed="true"] {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
}


/* Gronify v17: editor launcher and simultaneous sneak + walk */
.viewer-editor-button {
  text-decoration: none;
}
.viewer-editor-button svg {
  width: 18px;
  height: 18px;
}
html body .viewer-editor-button:hover,
html body .viewer-editor-button:focus-visible {
  color: #070910 !important;
  border-color: #fff !important;
  background: #fff !important;
  box-shadow: 0 10px 30px rgba(255,255,255,.16) !important;
  outline: 0 !important;
}


/* Launcher preview: always show the complete screenshot without cropping or empty dashboard space. */
.launcher-preview-frame {
  min-height: 0;
}
.launcher-preview-body {
  display: block;
  min-height: 0;
}
.launcher-preview-content {
  padding: 18px;
  line-height: 0;
  background: linear-gradient(180deg, rgba(7, 10, 17, 0.98), rgba(10, 14, 23, 0.98));
}
.launcher-preview-figure {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background: #080c14;
  box-shadow: 0 26px 80px rgba(0,0,0,.35);
}
.launcher-preview-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 720px) {
  .launcher-preview-content { padding: 10px; }
  .launcher-preview-figure { border-radius: 14px; }
}
