:root { color-scheme: dark; --bg:#050814; --panel:rgba(11,18,34,.78); --panel2:rgba(18,29,52,.72); --line:rgba(255,255,255,.12); --text:#f7fbff; --muted:#9aa8b8; --gold:#f0bd42; --teal:#28d6c2; --lime:#d7f75b; --danger:#ff4f6d; }
        * { box-sizing:border-box; }
        body { margin:0; min-height:100vh; font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif; color:var(--text); background:radial-gradient(circle at 16% 0%, rgba(40,214,194,.24), transparent 30%), radial-gradient(circle at 90% 8%, rgba(240,189,66,.18), transparent 28%), linear-gradient(180deg,#07111f,#050814 58%,#03050b); }
        body::before { position:fixed; inset:0; z-index:-1; content:""; background:linear-gradient(90deg, transparent 0 94px, rgba(255,255,255,.025) 94px 95px), linear-gradient(0deg, transparent 0 94px, rgba(255,255,255,.018) 94px 95px); mask-image:linear-gradient(180deg, rgba(0,0,0,.9), transparent 84%); pointer-events:none; }
        a { color:var(--teal); text-decoration:none; font-weight:900; }
        .wrap { width:min(1160px, calc(100% - 28px)); margin:0 auto; padding:28px 0 54px; }
        .top { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:18px; }
        .brand { letter-spacing:.18em; text-transform:uppercase; font-weight:950; color:var(--gold); }
        .top-links { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
        .top-links a { min-height:38px; display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:999px; padding:0 13px; background:rgba(255,255,255,.055); }
        .hero { position:relative; display:grid; grid-template-columns:180px minmax(0,1fr); gap:26px; align-items:center; overflow:hidden; padding:28px; border:1px solid rgba(255,255,255,.16); border-radius:34px; background:radial-gradient(circle at 12% 0%, rgba(240,189,66,.22), transparent 38%), radial-gradient(circle at 90% 20%, rgba(40,214,194,.18), transparent 34%), linear-gradient(145deg, rgba(18,29,52,.92), rgba(5,8,20,.86)); box-shadow:0 34px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.09); isolation:isolate; }
        .hero::after { position:absolute; inset:auto -12% -42% 40%; height:280px; content:""; background:radial-gradient(circle, rgba(125,248,232,.22), transparent 62%); filter:blur(12px); pointer-events:none; }
        .avatar { position:relative; width:180px; height:180px; overflow:hidden; display:grid; place-items:center; border:1px solid rgba(240,189,66,.34); border-radius:42px; background:rgba(255,255,255,.07); box-shadow:0 0 0 1px rgba(255,255,255,.06), 0 26px 60px rgba(0,0,0,.36); }
        .avatar::after { position:absolute; inset:-45%; content:""; background:conic-gradient(from 140deg, transparent, rgba(240,189,66,.28), transparent, rgba(40,214,194,.24), transparent); animation:profileAura 8s linear infinite; pointer-events:none; }
        .avatar img { position:relative; z-index:1; width:100%; height:100%; object-fit:cover; display:block; }
        .premium-ring { box-shadow:0 0 0 3px rgba(240,189,66,.28), 0 0 42px rgba(240,189,66,.28); }
        .hero-kicker { display:inline-flex; gap:8px; align-items:center; min-height:30px; padding:4px 10px; border:1px solid rgba(125,248,232,.28); border-radius:999px; color:#7df8e8; background:rgba(40,214,194,.09); font-size:11px; font-weight:1000; letter-spacing:.14em; text-transform:uppercase; }
        h1 { margin:10px 0 0; font-size:clamp(38px, 8vw, 82px); line-height:.9; letter-spacing:-.05em; }
        .bio { color:#d8dee9; max-width:780px; line-height:1.7; }
        .muted { color:var(--muted); }
        .hero-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
        .hero-chip { display:inline-flex; align-items:center; gap:7px; min-height:34px; padding:4px 11px; border:1px solid rgba(255,255,255,.14); border-radius:999px; color:#fff7c2; background:rgba(255,255,255,.06); font-size:12px; font-weight:1000; }
        .hero-chip.premium { border-color:rgba(240,189,66,.5); color:#fff0ae; background:linear-gradient(135deg, rgba(240,189,66,.18), rgba(255,247,194,.06)); }
        .hero-chip.title { border-color:rgba(40,214,194,.48); color:#7df8e8; background:rgba(40,214,194,.10); }
        .hero-chip.level { border-color:rgba(125,248,232,.30); color:#d7f75b; background:rgba(40,214,194,.08); }
        .hero-chip.level.lvl-tier-rookie { border-color:rgba(154,168,184,.36); color:#d8e1ea; background:rgba(154,168,184,.08); }
        .hero-chip.level.lvl-tier-scout { border-color:rgba(125,248,232,.38); color:#7df8e8; }
        .hero-chip.level.lvl-tier-agent { border-color:rgba(84,182,255,.44); color:#9ed7ff; background:rgba(84,182,255,.10); }
        .hero-chip.level.lvl-tier-veteran { border-color:rgba(184,121,255,.44); color:#d9b8ff; background:rgba(184,121,255,.10); }
        .hero-chip.level.lvl-tier-elite { border-color:rgba(240,189,66,.56); color:#fff0ae; background:linear-gradient(135deg,rgba(240,189,66,.16),rgba(255,247,194,.05)); }
        .hero-chip.level.lvl-tier-legend, .hero-chip.level.lvl-tier-mythic { border-color:rgba(255,98,77,.56); color:#ffd0c9; background:linear-gradient(135deg,rgba(255,98,77,.16),rgba(240,189,66,.12)); box-shadow:0 0 18px rgba(255,98,77,.14); }
        .grid { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:14px; margin-top:18px; }
        .card, .panel, .rank-panel { border:1px solid var(--line); border-radius:24px; background:linear-gradient(145deg, rgba(255,255,255,.075), rgba(5,8,20,.52)); box-shadow:0 20px 58px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.06); }
        .card { padding:18px; }
        .card span { display:block; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.14em; font-weight:1000; }
        .card b { display:block; margin-top:8px; color:#fff7c2; font-size:32px; line-height:1; }
        .panel { margin-top:18px; padding:22px; }
        .panel h2 { margin:0 0 14px; font-size:24px; }
        .ranked-panels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:18px; }
        .rank-panel { position:relative; overflow:hidden; padding:20px; }
        .rank-panel::before { position:absolute; inset:-40% -25% auto auto; width:220px; height:220px; border-radius:50%; content:""; background:rgba(40,214,194,.13); filter:blur(8px); }
        .rank-head { position:relative; display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
        .league-badge { display:inline-flex; align-items:center; gap:8px; min-height:34px; padding:4px 10px; border:1px solid rgba(255,255,255,.18); border-radius:999px; background:rgba(255,255,255,.07); font-size:12px; font-weight:1000; text-transform:uppercase; }
        .league-badge span { width:16px; height:18px; border-radius:4px 4px 8px 8px; background:currentColor; clip-path:polygon(50% 0,100% 18%,88% 74%,50% 100%,12% 74%,0 18%); }
        .league-bronze { color:#ffd2aa; border-color:rgba(183,120,69,.55); background:rgba(183,120,69,.16); }
        .league-silver { color:#e8f0f7; border-color:rgba(201,211,223,.55); background:rgba(201,211,223,.14); }
        .league-gold { color:#fff0ae; border-color:rgba(240,189,66,.62); background:rgba(240,189,66,.14); }
        .league-platinum { color:#caf3ff; border-color:rgba(100,216,255,.58); background:rgba(100,216,255,.13); }
        .league-diamond { color:#e4fbff; border-color:rgba(156,232,255,.68); background:rgba(156,232,255,.13); }
        .league-master { color:#e6ddff; border-color:rgba(167,139,250,.62); background:rgba(167,139,250,.15); }
        .league-legend { color:#fff7c2; border-color:rgba(255,215,107,.75); background:linear-gradient(135deg,rgba(255,215,107,.22),rgba(255,247,194,.08)); animation:legendGlow 1.8s ease-in-out infinite alternate; }
        .rating-number { color:var(--gold); font-size:52px; font-weight:1000; line-height:1; letter-spacing:-.05em; }
        .rating-history, .history, .role-list { display:grid; gap:10px; }
        .history-row { display:flex; justify-content:space-between; gap:12px; border:1px solid var(--line); border-radius:17px; padding:12px; background:rgba(255,255,255,.04); }
        .rating-change { color:#d7f75b; font-weight:1000; }
        .rating-change.negative { color:#ff9aa8; }
        .achievements { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
        .badge { border:1px solid rgba(240,189,66,.18); border-radius:20px; padding:14px; background:linear-gradient(145deg, rgba(240,189,66,.10), rgba(255,255,255,.035)); }
        .badge .icon { font-size:26px; }
        .role-pill { display:flex; justify-content:space-between; gap:10px; border:1px solid rgba(125,248,232,.18); border-radius:16px; padding:12px; background:rgba(40,214,194,.06); }
        .xp-shell { position:relative; overflow:hidden; border-color:rgba(125,248,232,.24); background:radial-gradient(circle at 12% 0%, rgba(40,214,194,.18), transparent 36%), linear-gradient(145deg, rgba(255,255,255,.075), rgba(5,8,20,.58)); }
        .xp-head { display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap; align-items:flex-start; }
        .xp-level { color:#fff7c2; font-size:clamp(42px, 8vw, 74px); font-weight:1000; letter-spacing:-.06em; line-height:.9; }
        .xp-bar { height:14px; margin-top:16px; overflow:hidden; border:1px solid rgba(255,255,255,.10); border-radius:999px; background:rgba(255,255,255,.08); }
        .xp-bar span { display:block; height:100%; width:var(--xp-pct,0%); border-radius:999px; background:linear-gradient(90deg,#28d6c2,#d7f75b,#fff7c2); box-shadow:0 0 22px rgba(40,214,194,.26); }
        .unlock-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:10px; }
        .unlock-item { border:1px solid rgba(255,255,255,.12); border-radius:17px; padding:12px; background:rgba(255,255,255,.045); }
        .unlock-item span { display:block; color:var(--muted); font-size:11px; font-weight:1000; letter-spacing:.12em; text-transform:uppercase; }
        .unlock-item b { display:block; margin-top:5px; color:#fff7c2; }
        .rarity-common { --rarity:#9aa8b8; --rarity-bg:rgba(154,168,184,.12); }
        .rarity-rare { --rarity:#54b6ff; --rarity-bg:rgba(84,182,255,.14); }
        .rarity-epic { --rarity:#b879ff; --rarity-bg:rgba(184,121,255,.16); }
        .rarity-legendary { --rarity:#f0bd42; --rarity-bg:rgba(240,189,66,.18); }
        .rarity-mythic { --rarity:#ff624d; --rarity-bg:rgba(255,98,77,.18); }
        .rarity-chip { display:inline-flex; align-items:center; min-height:24px; padding:0 9px; border:1px solid color-mix(in srgb, var(--rarity) 58%, transparent); border-radius:999px; color:var(--rarity); background:var(--rarity-bg); font-size:11px; font-weight:1000; letter-spacing:.12em; text-transform:uppercase; }
        .rarity-legendary, .rarity-mythic { box-shadow:0 0 24px color-mix(in srgb, var(--rarity) 24%, transparent); }
        .rarity-mythic { background:linear-gradient(135deg, rgba(255,98,77,.16), rgba(240,189,66,.14), rgba(255,255,255,.04)); animation:mythicGlow 2.2s ease-in-out infinite alternate; }
        .showcase-shell { position:relative; overflow:hidden; border-color:rgba(240,189,66,.25); background:radial-gradient(circle at 100% 0%, rgba(240,189,66,.15), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.075), rgba(5,8,20,.58)); }
        .showcase-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
        .showcase-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
        .showcase-card { min-height:150px; display:grid; align-content:start; gap:8px; border:1px solid rgba(255,255,255,.12); border-radius:22px; padding:15px; background:var(--rarity-bg, rgba(255,255,255,.045)); }
        .showcase-card img { width:100%; max-height:118px; object-fit:cover; border-radius:16px; border:1px solid rgba(255,255,255,.12); background:rgba(0,0,0,.22); }
        .showcase-card small { color:var(--muted); font-weight:900; text-transform:uppercase; letter-spacing:.10em; }
        .showcase-card b { color:#fff7c2; font-size:20px; }
        .showcase-achievements { display:grid; gap:8px; }
        .showcase-achievement { border:1px solid rgba(125,248,232,.14); border-radius:15px; padding:10px; background:rgba(40,214,194,.06); }
        .showcase-achievement span { display:block; color:#7df8e8; font-weight:1000; }
        @keyframes profileAura { to { transform:rotate(360deg); } }
        @keyframes legendGlow { from { box-shadow:0 0 0 rgba(255,215,107,0); } to { box-shadow:0 0 24px rgba(255,215,107,.30); } }
        @keyframes mythicGlow { from { filter:saturate(1); box-shadow:0 0 16px rgba(255,98,77,.16); } to { filter:saturate(1.18); box-shadow:0 0 34px rgba(240,189,66,.25); } }
        @media (prefers-reduced-motion: reduce) { .avatar::after, .league-legend, .rarity-mythic { animation:none !important; } }
        @media (max-width:900px) { .hero { grid-template-columns:1fr; } .grid, .achievements, .ranked-panels { grid-template-columns:1fr; } .avatar { width:148px; height:148px; } .top { align-items:flex-start; flex-direction:column; } }
        .wt-public-profile .profile-section-nav { display:flex;flex-wrap:wrap;gap:10px;margin:24px 0; }
        .wt-public-profile .profile-section-nav a { padding:11px 18px;border:1px solid rgba(231,189,114,.3);border-radius:12px;color:#ead4a9;background:rgba(9,24,36,.9);text-decoration:none;font-weight:700;font-size:13px; }
        .wt-public-profile .profile-section-nav a:hover { border-color:#e7bd72;background:#203747; }
        .wt-public-profile section[id] { scroll-margin-top:24px; }
        .wt-public-profile button.hero-chip { cursor:pointer;font:inherit;font-size:13px;display:inline-flex;gap:8px;align-items:center;margin-top:12px; }
        .wt-public-profile .profile-copy-status { display:block;min-height:22px;margin-top:8px;color:#9edfc2;font-size:12px; }
        @media(max-width:600px){.wt-public-profile .profile-section-nav { flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px; }.wt-public-profile .profile-section-nav a { white-space:nowrap;flex-shrink:0; }.wt-public-profile .hero h1 { overflow-wrap:anywhere; }}
