:root {
  --ink: #17213b;
  --muted: #6c7488;
  --cream: #fffaf0;
  --paper: #ffffff;
  --yellow: #ffcb47;
  --coral: #ff6b6b;
  --purple: #5b4bdb;
  --blue: #3e7bfa;
  --green: #31b87a;
  --line: #e9e5dc;
  --shadow: 0 18px 50px rgba(40, 35, 75, 0.12);
}

* { box-sizing: border-box; }
html { background: var(--cream); color: var(--ink); }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.button { border: 0; border-radius: 12px; padding: 11px 18px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 0 #e8ac20; }
.button-primary:hover { box-shadow: 0 10px 0 #e8ac20; }
.button-ghost { border: 1px solid rgba(23, 33, 59, .15); background: rgba(255,255,255,.65); }
.button-secondary { background: var(--ink); color: white; }
.button-danger { background: #fff0f0; color: #b53838; }
.button-large { padding: 16px 24px; border-radius: 15px; }
.button:disabled { opacity: .55; cursor: wait; }
.pwa-install-floating { position: fixed; right: 18px; bottom: 18px; z-index: 100; gap: 8px; background: var(--purple); color: white; box-shadow: 0 9px 0 #392c9d, 0 14px 28px rgba(23,33,59,.2); }
.pwa-install-floating span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 7px; background: rgba(255,255,255,.18); }
.pwa-network-status { position: fixed; inset: 0 0 auto; z-index: 200; padding: 9px 16px; text-align: center; background: #7d351c; color: white; font-size: 13px; font-weight: 850; box-shadow: 0 4px 14px rgba(23,33,59,.18); }
.is-offline { padding-top: 36px; }

.landing { min-height: 100vh; overflow: hidden; background: radial-gradient(circle at 70% 22%, #ffe89d 0, transparent 26%), linear-gradient(145deg, #fffaf0, #fff4cf); }
.landing-nav { height: 86px; max-width: 1220px; margin: auto; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; }
.landing-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; letter-spacing: -.03em; }
.landing-logo > span, .nav-brand > span, .topbar-brand { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--purple); color: white; font-weight: 950; transform: rotate(-5deg); box-shadow: 0 5px 0 #392c9d; }
.landing-actions { display: flex; align-items: center; gap: 12px; }
.language-switch button { border: 0; background: transparent; color: inherit; font-weight: 900; padding: 9px; }
.hero { min-height: 650px; max-width: 1220px; margin: auto; padding: 70px 28px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.eyebrow { color: var(--purple); font-size: 13px; font-weight: 950; letter-spacing: .16em; margin-bottom: 14px; }
.hero h1 { font-size: clamp(60px, 7vw, 104px); line-height: .9; letter-spacing: -.07em; margin: 0 0 28px; }
.hero h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 580px; font-size: 19px; line-height: 1.65; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.hero-actions > span { font-weight: 800; color: var(--muted); }
.hero-cards { position: relative; height: 480px; }
.floating-card { position: absolute; width: 250px; height: 350px; border: 10px solid white; border-radius: 28px; padding: 16px; box-shadow: 0 35px 70px rgba(44, 35, 75, .22); overflow: hidden; }
.floating-card span { font-size: 13px; font-weight: 900; }
.floating-card img { width: 100%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 13px rgba(0,0,0,.18)); }
.card-1 { background: #ffe072; left: 36%; top: 8%; z-index: 3; transform: rotate(7deg); }
.card-2 { background: #ff927f; left: 5%; top: 17%; z-index: 2; transform: rotate(-14deg); }
.card-3 { background: #83d9ff; left: 58%; top: 22%; z-index: 1; transform: rotate(18deg); }
.spark { position: absolute; color: var(--purple); font-size: 45px; }
.spark-one { left: 5%; top: 0; }.spark-two { right: 1%; bottom: 8%; }
.feature-strip { background: var(--ink); color: white; display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px max(28px, calc((100vw - 1164px)/2)); gap: 30px; }
.feature-strip div { display: flex; align-items: center; gap: 13px; }
.feature-strip strong { font-size: 30px; color: var(--yellow); }.feature-strip span { color: #c8cbda; }

.auth-page { min-height: 100vh; display: grid; place-items: center; background: #f8f4e9; position: relative; overflow: hidden; padding: 100px 20px 40px; }
.auth-header { position: absolute; inset: 24px 34px auto; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.auth-panel { position: relative; z-index: 1; width: min(100%, 490px); padding: 44px; border-radius: 28px; background: rgba(255,255,255,.93); border: 1px solid white; box-shadow: var(--shadow); }
.auth-panel h1 { font-size: 42px; letter-spacing: -.04em; margin: 0 0 8px; }.auth-panel > p { color: var(--muted); line-height: 1.55; }
.auth-form { display: grid; gap: 17px; margin-top: 28px; }
.auth-form label, .stack-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 850; }
input, select { width: 100%; border: 1px solid #dcd9d0; background: #fff; border-radius: 12px; padding: 13px 14px; color: var(--ink); outline: none; }
input:focus, select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(91,75,219,.12); }
.form-message { background: #fff0e8; color: #9b3d24 !important; padding: 11px 13px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.auth-switch { text-align: center; font-size: 14px; margin: 24px 0 0; }.auth-switch a { color: var(--purple); font-weight: 850; }
.password-hint { font-size: 12px; margin: 12px 0 0; }.auth-success { text-align: center; }.mail-icon { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 24px; margin: 0 auto 20px; background: var(--yellow); font-size: 32px; transform: rotate(-6deg); }
.resend-box { margin-top:18px; font-size:13px; color:var(--muted); }.resend-box summary { cursor:pointer; text-align:center; font-weight:800; }.resend-box form { display:flex; gap:8px; margin-top:12px; }.resend-box .button { padding:10px 13px; }.resend-box p { font-size:12px; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(2px); }.auth-orb-one { width: 360px; height: 360px; background: #ffe18c; top: -100px; right: -80px; }.auth-orb-two { width: 300px; height: 300px; background: #c8c2ff; bottom: -120px; left: -70px; }

.app-shell { min-height: 100vh; background: #f6f3ec; display: grid; grid-template-columns: 240px minmax(0,1fr); }
.side-nav { position: sticky; top: 0; height: 100vh; padding: 27px 18px; background: var(--ink); color: white; display: flex; flex-direction: column; z-index: 10; }
.nav-brand { display: flex; align-items: center; gap: 12px; padding: 0 8px 30px; }.nav-brand > span { width: 36px; height: 36px; border-radius: 11px; font-size: 13px; }.nav-brand strong { font-size: 15px; }
.nav-items { display: grid; gap: 4px; }.nav-items a, .nav-logout { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 10px; color: #c9ccda; font-size: 14px; font-weight: 750; }.nav-items a:hover,.nav-items a.active { background: rgba(255,255,255,.1); color: white; }.nav-items span, .nav-logout span { width: 20px; text-align: center; color: var(--yellow); }
.side-nav form { margin-top: auto; }.nav-logout { border: 0; background: none; width: 100%; }
.app-main { min-width: 0; }.topbar { height: 72px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; padding: 0 32px; position: sticky; top: 0; z-index: 8; }.topbar-brand { display: none; }.wallet { display: flex; align-items: center; gap: 18px; font-size: 13px; }.wallet span { font-weight: 850; }.wallet span:first-child { color: #996b00; }.wallet span:nth-child(2) { color: var(--purple); }.wallet strong { padding-left: 18px; border-left: 1px solid var(--line); }
.page-content { padding: 34px; max-width: 1500px; margin: auto; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }.page-header h1 { font-size: 40px; letter-spacing: -.045em; margin: 0; }.page-header p { margin: 6px 0 0; color: var(--muted); }
.surface { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 30px rgba(42,36,68,.05); }
.notice { padding:14px 18px; border-radius:14px; margin:18px auto 24px; max-width:1400px; font-weight:800; }.notice.success { background:#e5f8ee; color:#187248; border:1px solid #bcebd1; }.notice.error { background:#fff0e8; color:#9b3d24; border:1px solid #ffd0bd; }
.dashboard-grid { display:grid; grid-template-columns:1.4fr 1.2fr .7fr .7fr; gap:16px; }.progress-hero,.booster-widget { min-height:210px; padding:26px; position:relative; display:flex; align-items:center; gap:26px; overflow:hidden; }.progress-hero strong,.booster-widget strong { display:block; font-size:46px; letter-spacing:-.05em; }.progress-hero strong small,.booster-widget strong small { font-size:20px; color:var(--muted); }.progress-hero p,.quick-card p { color:var(--muted); margin:2px 0; }.section-kicker { font-size:11px; letter-spacing:.13em; color:var(--purple); font-weight:950; }.progress-ring { --progress:0deg; width:110px; height:110px; flex:0 0 auto; border-radius:50%; display:grid; place-items:center; background:conic-gradient(var(--purple) var(--progress),#ece8f8 0); position:relative; }.progress-ring::before { content:""; position:absolute; inset:10px; border-radius:50%; background:white; }.progress-ring span { position:relative; font-weight:950; }.text-link { position:absolute; right:24px; bottom:20px; font-size:13px; font-weight:850; color:var(--purple); }.booster-widget { background:linear-gradient(140deg,#252f51,#17213b); color:white; }.booster-widget p,.booster-widget span:not(.section-kicker) { color:#cdd2e2; font-size:13px; }.booster-widget .button { position:absolute; right:22px; bottom:20px; }.mini-pack { width:92px; height:130px; border:5px solid white; border-radius:14px; background:linear-gradient(145deg,var(--yellow),var(--coral)); display:grid; place-content:center; text-align:center; font-weight:950; transform:rotate(-6deg); box-shadow:0 12px 20px rgba(0,0,0,.25); }.mini-pack span { font-size:10px!important; color:var(--ink)!important; }.quick-card { padding:25px; display:flex; flex-direction:column; justify-content:center; }.quick-card>span { width:40px; height:40px; display:grid; place-items:center; border-radius:13px; background:#f0edff; color:var(--purple); font-size:20px; }.quick-card strong { font-size:32px; display:block; margin-top:14px; }.section-block { margin-top:36px; }.section-heading { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }.section-heading h2 { margin:0; font-size:23px; letter-spacing:-.03em; }.section-heading a { color:var(--purple); font-size:13px; font-weight:850; }.compact-grid { grid-template-columns:repeat(4,minmax(0,210px)); }.empty-state { padding:45px; text-align:center; }.empty-state>span { font-size:35px; color:var(--purple); }.empty-state h3 { margin-bottom:5px; }.empty-state p { color:var(--muted); }.achievement-list { display:grid; gap:9px; }.achievement-row { display:grid; grid-template-columns:40px 1fr auto; align-items:center; padding:13px 18px; }.achievement-row>span { color:#e0a100; font-size:22px; }.achievement-row time { color:var(--muted); font-size:12px; }
.opening-reveal { padding:30px; margin-bottom:28px; background:linear-gradient(145deg,#fff,#fff8dd); }.opening-reveal h2 { margin:6px 0 22px; }.reveal-grid { grid-template-columns:repeat(4,minmax(0,200px)); justify-content:center; }.reveal-card { animation:reveal .55s both cubic-bezier(.2,.8,.2,1); } @keyframes reveal { from { opacity:0; transform:translateY(30px) rotateY(35deg); } to { opacity:1; transform:none; } }
.free-booster { padding:30px; display:grid; grid-template-columns:170px 1fr auto; gap:30px; align-items:center; background:linear-gradient(120deg,#fff,#fff8df); }.large-pack,.product-pack { border:7px solid white; border-radius:18px; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--ink); box-shadow:0 15px 30px rgba(35,28,65,.18); transform:rotate(-4deg); }.large-pack { width:145px; height:200px; }.large-pack strong,.product-pack strong { font-size:38px; }.large-pack span,.product-pack span { font-size:11px; font-weight:950; letter-spacing:.15em; }.large-pack small,.product-pack small { margin-top:22px; font-weight:850; }.pack-standard .large-pack,.pack-standard .product-pack,.large-pack.pack-standard,.product-pack.pack-standard { background:linear-gradient(145deg,#ffe36d,#ff8073); }.pack-super .product-pack,.product-pack.pack-super { background:linear-gradient(145deg,#85efe4,#6e82ff); }.pack-ultra .product-pack,.product-pack.pack-ultra { background:linear-gradient(145deg,#e2a3ff,#ff6daf); }.free-booster-copy h2 { font-size:42px; margin:4px 0; }.free-booster-copy p { color:var(--muted); max-width:550px; }.booster-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }.booster-product { padding:25px; text-align:center; }.product-pack { width:105px; height:145px; margin:0 auto 20px; border-width:5px; }.product-pack strong { font-size:27px; }.product-pack small { margin-top:14px; font-size:9px; }.booster-product p { color:var(--muted); }.shop-grid { display:grid; gap:20px; }.shop-product { display:grid; grid-template-columns:250px 1fr; align-items:center; padding:35px; overflow:hidden; }.shop-product .product-pack.big { width:180px; height:250px; }.shop-product .product-pack.big strong { font-size:48px; }.shop-copy h2 { font-size:30px; margin:0; }.shop-copy p { color:var(--muted); }.odds { display:flex; flex-wrap:wrap; gap:7px; margin:20px 0; }.odds span { padding:6px 9px; border-radius:8px; background:#f1eff5; font-size:11px; font-weight:850; }.coin-balance { background:white; border:1px solid var(--line); border-radius:13px; padding:12px 16px; font-weight:950; color:#9a6b00; }.coin-balance small { color:var(--muted); font-weight:700; }.fine-print { text-align:center; color:var(--muted); font-size:12px; margin-top:22px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 17px; }
.card-link { display: block; transition: transform .18s ease; }.card-link:hover { transform: translateY(-5px) rotate(.5deg); }.owned-card-wrap { position:relative; }.lock-badge { position:absolute; left:11px; bottom:11px; z-index:4; width:24px; height:24px; border-radius:8px; display:grid; place-items:center; color:#fff; background:rgba(23,33,59,.84); font-size:9px; }
.pokemon-card { position: relative; aspect-ratio: .72; border: 7px solid white; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 9px 22px rgba(30,25,60,.13); }
.pokemon-card::before { content:""; position:absolute; width:140px; height:140px; background:rgba(255,255,255,.28); border-radius:50%; top:25%; left:50%; transform:translate(-50%,-50%); }.card-top,.card-bottom { position: relative; z-index: 2; display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:900; }.rarity-dot { color: currentColor; }.pokemon-art { flex:1; display:grid; place-items:center; position:relative; z-index:1; min-height:0; }.pokemon-art img { width:100%; height:100%; object-fit:contain; filter:drop-shadow(0 10px 8px rgba(0,0,0,.17)); }.card-bottom strong { font-size:15px; }.level-pill,.rarity-label { background:rgba(255,255,255,.65); padding:4px 7px; border-radius:8px; font-size:10px; text-transform:uppercase; }.unknown-mark { font-size:70px; font-weight:950; color:rgba(23,33,59,.25); }.concealed { filter:saturate(.35); }
.rarity-common { background:#dce4e7; color:#3b4b52; }.rarity-uncommon { background:#b8e8c8; color:#17683a; }.rarity-rare { background:#a9dbff; color:#13598e; }.rarity-epic { background:#d5bdff; color:#5b2e9b; }.rarity-legendary { background:linear-gradient(145deg,#ffe47a,#ff987c); color:#813c14; }

@media (max-width: 900px) {
  .pwa-install-floating { bottom: 88px; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; }.hero-cards { height: 420px; }.feature-strip { grid-template-columns: 1fr 1fr; }
  .app-shell { grid-template-columns: 1fr; }.side-nav { position: fixed; inset: auto 0 0; height: 70px; padding: 7px; flex-direction: row; overflow-x: auto; }.nav-brand,.side-nav form,.nav-items a:nth-child(n+6) { display:none; }.nav-items { display:flex; width:100%; justify-content:space-around; }.nav-items a { flex-direction:column; gap:2px; padding:7px; font-size:10px; }.topbar { padding:0 16px; justify-content:space-between; }.topbar-brand { display:grid; }.wallet span:nth-child(2),.wallet strong { display:none; }.page-content { padding:24px 16px 100px; }
  .dashboard-grid { grid-template-columns:1fr 1fr; }.progress-hero,.booster-widget { grid-column:span 2; }.free-booster { grid-template-columns:130px 1fr; }.free-booster form { grid-column:span 2; }.booster-grid { grid-template-columns:1fr; }.shop-product { grid-template-columns:180px 1fr; }.reveal-grid { grid-template-columns:repeat(2,minmax(0,180px)); }
}
@media (max-width: 620px) {
  .landing-nav { padding:0 16px; }.landing-logo { font-size:0; }.landing-logo>span { font-size:13px; }.landing-actions .button-ghost { display:none; }.hero { padding:35px 18px; }.hero h1 { font-size:54px; }.hero-cards { transform:scale(.72); transform-origin:left top; width:130%; height:350px; }.feature-strip { grid-template-columns:1fr; }.auth-panel { padding:30px 22px; }.auth-header { inset:18px 18px auto; }.card-grid { grid-template-columns:repeat(2,1fr); gap:10px; }.page-header h1 { font-size:32px; }
  .dashboard-grid { grid-template-columns:1fr 1fr; }.progress-hero,.booster-widget { grid-column:span 2; flex-wrap:wrap; }.progress-ring { width:85px; height:85px; }.booster-widget .button { position:static; width:100%; }.compact-grid { grid-template-columns:repeat(2,1fr); }.free-booster { grid-template-columns:1fr; text-align:center; }.large-pack { margin:auto; }.free-booster form { grid-column:auto; }.shop-product { grid-template-columns:1fr; text-align:center; padding:25px; }.shop-product .product-pack.big { width:140px; height:195px; }.odds { justify-content:center; }
}

.xp-balance { padding:11px 15px; background:#eeeaff; color:var(--purple); border-radius:12px; font-weight:950; }
.filter-bar { display:grid; grid-template-columns:minmax(200px,1fr) 230px auto; gap:10px; padding:12px; margin-bottom:25px; }
.collection-grid { grid-template-columns:repeat(auto-fill,minmax(165px,1fr)); }
.quick-convert { margin-top:35px; padding:24px; display:grid; grid-template-columns:1fr minmax(320px,.8fr); align-items:center; gap:30px; }
.quick-convert h2 { margin:0 0 4px; }.quick-convert p { color:var(--muted); margin:0; }
.inline-form { display:flex; gap:9px; }.inline-form select { flex:1; }
.detail-hero { display:grid; grid-template-columns:310px 1fr; gap:50px; align-items:center; padding:20px 30px 42px; }
.detail-card { max-width:300px; }.detail-info h1 { font-size:58px; letter-spacing:-.06em; margin:0 0 22px; }
.detail-level strong { font-size:27px; }.detail-level small { display:block; color:var(--muted); margin-top:7px; }
.xp-track,.dex-progress { height:10px; background:#dedbe7; border-radius:99px; overflow:hidden; }
.xp-track { width:min(500px,100%); margin-top:10px; }.xp-track span,.dex-progress span { height:100%; display:block; border-radius:inherit; background:linear-gradient(90deg,var(--purple),#9b77ff); }
.detail-meta { display:flex; gap:40px; margin:26px 0; }.detail-meta span { display:grid; gap:3px; color:var(--muted); font-size:12px; }.detail-meta strong { color:var(--ink); font-size:15px; }
.detail-columns { display:grid; grid-template-columns:1fr 1fr; gap:18px; }.action-panel { padding:27px; }.action-panel h2 { margin:0 0 6px; }.action-panel>p { color:var(--muted); line-height:1.5; }
.stack-form { display:grid; gap:12px; margin-top:20px; }.xp-form { padding-top:20px; border-top:1px solid var(--line); }.muted-box { background:#f4f2ed; border-radius:12px; padding:15px; font-size:13px; }
.evolution-target { display:grid; grid-template-columns:80px 1fr auto; align-items:center; gap:13px; margin-top:20px; padding:13px; border:1px solid var(--line); border-radius:15px; }.evolution-target img { width:80px; height:80px; object-fit:contain; background:#f5f2ff; border-radius:12px; }.evolution-target div { display:grid; }.evolution-target span { color:var(--muted); font-size:12px; margin-top:3px; }
.final-form { text-align:center; padding:35px 20px; }.final-form>span { font-size:40px; color:#e0a100; }.final-form strong { display:block; font-size:20px; }.final-form p { color:var(--muted); }
.timeline { padding:10px 22px; }.timeline>div { display:grid; grid-template-columns:25px 1fr auto; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); }.timeline>div:last-child { border:0; }.timeline span { color:var(--purple); }.timeline strong { text-transform:capitalize; }.timeline time { color:var(--muted); font-size:12px; }
.dex-progress { width:240px; }.dex-entry { position:relative; }.copy-count { position:absolute; right:9px; top:9px; z-index:3; padding:4px 7px; border-radius:8px; background:rgba(23,33,59,.85); color:white; font-size:11px; font-weight:950; }.dex-grid { grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); }

@media (max-width: 900px) {
  .detail-hero { grid-template-columns:250px 1fr; gap:25px; padding:10px 0 35px; }
  .detail-columns { grid-template-columns:1fr; }.quick-convert { grid-template-columns:1fr; }
}
@media (max-width: 620px) {
  .filter-bar { grid-template-columns:1fr; }.detail-hero { grid-template-columns:1fr; }.detail-card { max-width:240px; margin:auto; }
  .detail-info h1 { font-size:45px; }.detail-meta { flex-direction:column; gap:12px; }.inline-form { flex-direction:column; }.quick-convert { padding:20px; }.dex-progress { width:140px; }
}

.trade-create { padding:28px; display:grid; grid-template-columns:.7fr 1.3fr; gap:30px; }.trade-create h2 { margin:0; }.trade-create p { color:var(--muted); }
.trade-form { display:grid; grid-template-columns:1fr 1fr; gap:13px; }.trade-form label { display:grid; gap:6px; font-size:12px; font-weight:850; }.trade-form label:first-child { grid-column:span 2; }.trade-form button { grid-column:span 2; }
.trade-list { display:grid; gap:10px; }.trade-row { display:grid; grid-template-columns:180px 1fr 240px; align-items:center; gap:20px; padding:18px 22px; }.trade-people { display:grid; }.trade-people span { font-size:11px; color:var(--muted); }.trade-people a { font-weight:900; color:var(--purple); }.trade-swap { display:grid; grid-template-columns:1fr 35px 1fr; align-items:center; gap:10px; }.trade-swap div { display:grid; }.trade-swap small { color:var(--muted); font-size:9px; letter-spacing:.1em; }.trade-swap strong { font-size:14px; }.trade-swap span { font-size:11px; color:var(--muted); }.trade-swap b { color:var(--purple); text-align:center; }.trade-status { display:grid; justify-items:end; gap:6px; }.trade-status>span { text-transform:uppercase; font-size:10px; font-weight:950; color:var(--muted); }.trade-status form { display:flex; gap:6px; }.trade-status .button { padding:8px 11px; font-size:11px; }.status-accepted { border-left:4px solid var(--green); }.status-pending { border-left:4px solid var(--yellow); }
.leaderboard-table { overflow:hidden; }.rank-head,.rank-row { display:grid; grid-template-columns:55px minmax(160px,1.4fr) 110px 110px 110px 130px; align-items:center; padding:14px 22px; gap:10px; }.rank-head { background:var(--ink); color:#cdd1df; font-size:10px; text-transform:uppercase; letter-spacing:.1em; font-weight:900; }.rank-row { border-bottom:1px solid var(--line); }.rank-row:last-child { border:0; }.rank-row.is-current { background:#fff7d9; }.rank-row a { font-weight:900; }.rank-row a small { color:var(--purple); margin-left:5px; }.rank-number { color:var(--purple); font-weight:950; font-size:18px; }.rank-row strong { text-align:right; }
.achievements-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }.achievement-card { padding:24px; display:grid; grid-template-columns:65px 1fr; gap:17px; align-items:center; }.achievement-card.locked { filter:grayscale(.8); opacity:.58; }.trophy { width:60px; height:60px; display:grid; place-items:center; border-radius:20px; background:#fff1b8; color:#d49700; font-size:28px; }.achievement-card h2 { margin:0; font-size:18px; }.achievement-card p { margin:4px 0 9px; color:var(--muted); }.achievement-card span { color:#a87300; font-size:12px; font-weight:900; }.achievement-card time { color:var(--muted); font-size:11px; margin-left:13px; }
.profile-grid { display:grid; grid-template-columns:330px 1fr; gap:18px; }.trainer-card { text-align:center; padding:35px; }.trainer-avatar { width:100px; height:100px; margin:0 auto 17px; display:grid; place-items:center; border-radius:34px; background:linear-gradient(145deg,var(--purple),#9b79ff); color:white; font-size:32px; font-weight:950; transform:rotate(-4deg); box-shadow:0 10px 0 #3f33aa; }.trainer-card h2 { margin:10px 0 2px; }.trainer-card p { color:var(--muted); }.trainer-card>span { display:block; color:var(--green); font-size:12px; font-weight:850; }.trainer-card>small { display:block; color:var(--muted); margin-top:18px; }.profile-progress { padding:32px; }.profile-progress h2 { margin-top:0; }.profile-progress>div { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }.profile-progress span { padding:22px; border-radius:16px; background:#f5f2ff; font-size:14px; color:var(--muted); }.profile-progress strong { font-size:35px; color:var(--ink); margin-right:3px; }.profile-progress small { display:block; }.profile-progress p { color:var(--muted); margin-top:25px; }.rules-card { padding:28px; margin-top:18px; }.rules-card h2 { margin-top:0; }.rules-card li { margin:9px 0; color:var(--muted); }.public-profile { padding:45px; text-align:center; }.public-stats { display:grid; grid-template-columns:repeat(5,1fr); gap:12px; margin:35px 0; }.public-stats span { padding:20px; border-radius:15px; background:#f5f2ff; }.public-stats strong { display:block; font-size:30px; }.public-stats small,.public-profile>p { color:var(--muted); }

@media (max-width: 900px) {
  .trade-create { grid-template-columns:1fr; }.trade-row { grid-template-columns:130px 1fr; }.trade-status { grid-column:span 2; justify-items:start; }
  .leaderboard-table { overflow-x:auto; }.rank-head,.rank-row { min-width:720px; }.profile-grid { grid-template-columns:1fr; }.public-stats { grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 620px) {
  .trade-form { grid-template-columns:1fr; }.trade-form label:first-child,.trade-form button { grid-column:auto; }.trade-row { grid-template-columns:1fr; }.trade-status { grid-column:auto; }.trade-swap { order:3; }.achievements-grid { grid-template-columns:1fr; }.profile-progress>div,.public-stats { grid-template-columns:1fr 1fr; }.public-profile { padding:28px 18px; }
}
