.game-hud-btn--chests{position:relative}.game-hud-btn__badge{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:linear-gradient(180deg,#ff6b8a,#d62850);color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center;border:2px solid rgba(255,255,255,.9);box-shadow:0 2px 8px rgba(0,0,0,.35);pointer-events:none}.trainer-chests-alert{position:fixed;top:clamp(72px,12vh,96px);left:50%;transform:translateX(-50%);z-index:110;display:flex;align-items:center;gap:12px;max-width:min(520px,calc(100vw - 24px));padding:12px 16px;border-radius:14px;border:2px solid rgba(255,215,120,.65);background:linear-gradient(145deg,rgba(28,18,52,.94),rgba(12,20,48,.92));color:#fff;box-shadow:0 12px 32px rgba(0,0,0,.35);font-size:14px;font-weight:700}.trainer-chests-alert__action{margin-left:auto;padding:8px 14px;border-radius:10px;border:none;background:linear-gradient(180deg,#ffd86a,#e8a020);color:#2a1848;font-weight:800;cursor:pointer;white-space:nowrap}.trainer-chests-alert__close{width:32px;height:32px;border-radius:50%;border:2px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;font-size:18px;line-height:1;cursor:pointer}.trainer-chests-panel.stack{gap:16px}.trainer-chests-muted{margin:0;color:var(--muted,rgba(255,255,255,.72));font-size:14px}.trainer-chests-error{margin:0;color:#ff8a9a;font-weight:700}.trainer-chests-reward{display:grid;grid-gap:4px;gap:4px;padding:12px 16px;border-radius:12px;background:linear-gradient(135deg,rgba(255,216,106,.22),rgba(120,80,255,.18));border:1px solid rgba(255,215,120,.45);text-align:center}.trainer-chests-reward strong{font-size:1.25rem;color:#ffe066}.trainer-chests-empty{text-align:center;padding:24px}.trainer-chests-list{list-style:none;margin:0;padding:0;display:grid;grid-gap:12px;gap:12px}.trainer-chests-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;grid-gap:14px;gap:14px;padding:12px 14px}.trainer-chests-item__art{width:96px;height:96px;display:grid;place-items:center}.trainer-chests-item__art img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 6px 12px rgba(0,0,0,.35))}.trainer-chests-sprite--anim{animation:trainer-chest-bounce .22s ease-in-out infinite alternate}@keyframes trainer-chest-bounce{0%{transform:translateY(0) scale(1)}to{transform:translateY(-4px) scale(1.04)}}.trainer-chests-item__copy{display:grid;grid-gap:4px;gap:4px}.trainer-chests-item__copy strong{font-size:1.05rem}.trainer-chests-coins{color:#ffe066;font-weight:800}.trainer-chests-open-btn{min-width:88px}@font-face{font-family:Fredoka;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(/_next/static/media/3e5302f118d6bde7-s.woff2) format("woff2");unicode-range:u+0307-0308,u+0590-05ff,u+200c-2010,u+20aa,u+25cc,u+fb1d-fb4f}@font-face{font-family:Fredoka;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(/_next/static/media/bb36247b0b027bd1-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Fredoka;font-style:normal;font-weight:600;font-stretch:100%;font-display:swap;src:url(/_next/static/media/bca7023bf625e650-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Fredoka;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(/_next/static/media/3e5302f118d6bde7-s.woff2) format("woff2");unicode-range:u+0307-0308,u+0590-05ff,u+200c-2010,u+20aa,u+25cc,u+fb1d-fb4f}@font-face{font-family:Fredoka;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(/_next/static/media/bb36247b0b027bd1-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Fredoka;font-style:normal;font-weight:700;font-stretch:100%;font-display:swap;src:url(/_next/static/media/bca7023bf625e650-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Fredoka Fallback;src:local("Arial");ascent-override:95.64%;descent-override:23.17%;line-gap-override:0.00%;size-adjust:101.84%}.__className_28e09d{font-family:Fredoka,Fredoka Fallback;font-style:normal}.__variable_28e09d{--font-display:"Fredoka","Fredoka Fallback"}@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/abfec168c8990f67-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/3131c862d4942660-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/e1694c6cb47c173f-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/abfec168c8990f67-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/3131c862d4942660-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/e1694c6cb47c173f-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/abfec168c8990f67-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/3131c862d4942660-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/6a9c36ea9dc9b36b-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/e1694c6cb47c173f-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/ee40bb094c99a29a-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Nunito Fallback;src:local("Arial");ascent-override:99.71%;descent-override:34.82%;line-gap-override:0.00%;size-adjust:101.39%}.__className_5e0020{font-family:Nunito,Nunito Fallback;font-style:normal}.__variable_5e0020{--font-ui:"Nunito","Nunito Fallback"}@font-face{font-family:Cinzel;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/7c9e800010130ba4-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Cinzel;font-style:normal;font-weight:700;font-display:swap;src:url(/_next/static/media/6b6afb722b10a02f-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Cinzel Fallback;src:local("Times New Roman");ascent-override:71.31%;descent-override:27.18%;line-gap-override:0.00%;size-adjust:136.86%}.__className_3809db{font-family:Cinzel,Cinzel Fallback;font-weight:700;font-style:normal}.__variable_3809db{--font-shop-title:"Cinzel","Cinzel Fallback"}:root{color-scheme:light;--bg:#f4f7ff;--card:#ffffff;--text:#1a1f36;--muted:#5c6789;--accent:#6c5ce7;--accent2:#00c9a7;--radius:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-ui),ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji"}html.game-boot-body,html.game-boot-body body{background:#060a18;color:#f4f7ff}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}main{max-width:1100px;margin:0 auto;padding:24px 20px 48px}.game-main{width:100%;max-width:none;min-height:100dvh;margin:0;padding:0}.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:rgba(244,247,255,.85);border-bottom:1px solid rgba(0,0,0,.06)}.site-header-inner{max-width:1100px;margin:0 auto;padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{font-weight:700;letter-spacing:-.02em}.nav{display:flex;flex-wrap:wrap;gap:10px 14px;font-size:14px}.card{background:var(--card);border-radius:var(--radius);padding:18px;box-shadow:0 10px 30px rgba(25,40,80,.08);border:1px solid rgba(0,0,0,.04)}.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));grid-gap:14px;gap:14px}.creature-card{display:flex;gap:12px;align-items:center;text-align:left;border:1px solid rgba(0,0,0,.06);border-radius:var(--radius);padding:10px 12px;background:#fff;cursor:pointer;box-shadow:0 6px 18px rgba(25,40,80,.06);transition:transform .15s ease,box-shadow .15s ease}.creature-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(25,40,80,.1)}.creature-card-body{display:flex;flex-direction:column;gap:4px}.creature-card-title{font-weight:600}.creature-card-meta{font-size:12px;color:var(--muted)}.creature-stats{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:8px 16px;gap:8px 16px;margin:0}.creature-stats-row{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-radius:10px;background:rgba(108,92,231,.06)}.creature-stats-row dt{margin:0;font-size:12px;color:var(--muted)}.creature-stats-row dd{margin:0;font-weight:600}.btn-primary,.btn-secondary{border:none;border-radius:12px;padding:10px 16px;font-weight:600;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--accent),#8b7cf8);color:#fff}.btn-secondary{background:rgba(0,0,0,.06);color:var(--text)}.btn-primary:disabled,.btn-secondary:disabled{opacity:.55;cursor:not-allowed}.game-back-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px 8px 12px;border:3px solid rgba(255,255,255,.58);border-radius:999px;background:radial-gradient(circle at 18% 28%,rgba(255,255,255,.4),transparent 46%),linear-gradient(180deg,rgba(255,255,255,.3),rgba(42,48,92,.62));font-family:var(--font-display),fantasy,system-ui;font-size:.78rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase;line-height:1.1;cursor:pointer;box-shadow:0 4px 0 rgba(24,28,64,.48),0 8px 20px rgba(20,24,48,.28),inset 0 1px 0 rgba(255,255,255,.32);transition:transform .15s cubic-bezier(.22,1,.36,1),filter .15s ease,box-shadow .15s ease,border-color .15s ease}.game-back-btn,a.game-back-btn:hover{color:#fff;text-decoration:none}.game-back-btn:hover{transform:translateY(-2px);filter:brightness(1.1);border-color:rgba(255,248,200,.82);box-shadow:0 6px 0 rgba(24,28,64,.4),0 12px 26px rgba(47,120,200,.28),inset 0 1px 0 rgba(255,255,255,.42)}.game-back-btn:active{transform:translateY(2px);box-shadow:0 2px 0 rgba(24,28,64,.5),0 4px 10px rgba(20,24,48,.22),inset 0 2px 5px rgba(0,0,0,.2)}.game-back-btn:disabled{opacity:.65;cursor:not-allowed;transform:none}.game-back-btn-chevron{font-size:1.25rem;line-height:1;color:#fff3a8;text-shadow:0 0 8px rgba(255,243,168,.75);transform:translateY(-1px)}.game-back-btn-label{white-space:nowrap}.pill{display:inline-block;padding:4px 10px;border-radius:999px;font-size:12px;background:rgba(0,201,167,.15);color:#0b6b5c}.stack{flex-direction:column;gap:12px}.row,.stack{display:flex}.row{flex-wrap:wrap;gap:10px;align-items:center}.prompt-box{white-space:pre-wrap;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.5;background:#0f1224;color:#e8ecff;padding:14px;border-radius:12px;max-height:320px;overflow:auto}.move-type-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:11px;border:2px solid rgba(255,255,255,.38);box-shadow:0 3px 0 rgba(20,24,48,.28),inset 0 1px 0 rgba(255,255,255,.35)}.move-type-icon img{object-fit:contain;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}.move-type-icon--fire{background:linear-gradient(165deg,#ff9a4d,#e63b1f 48%,#8f1b0f);border-color:rgba(255,210,120,.75)}.move-type-icon--water{background:linear-gradient(160deg,#6ec8ff,#2f7fd4 55%,#174f8f);border-color:rgba(180,230,255,.8)}.move-type-icon--earth{background:linear-gradient(160deg,#c49a6a,#7a5230 55%,#4a311f);border-color:rgba(220,190,150,.75)}.move-type-icon--air{background:linear-gradient(160deg,#e8f7ff,#8ec9ef 50%,#5f8eb8);border-color:rgba(255,255,255,.85)}.move-type-icon--lightning{background:linear-gradient(160deg,#ffe566,#f0c419 45%,#9a7a12);border-color:rgba(255,248,180,.9)}.move-type-icon--plant{background:linear-gradient(160deg,#8fe87a,#3f9f3d 55%,#245f24);border-color:rgba(190,255,170,.75)}.move-type-icon--neutral{background:linear-gradient(160deg,#eceff7,#c7cedd 55%,#9aa3b8);border-color:rgba(255,255,255,.7)}.move-type-icon--battle-slot{position:relative;z-index:2;width:100%;height:100%;min-height:58px;border:none;border-radius:0;box-shadow:none;background:transparent!important}.move-type-icon-img--battle-medallion{width:40px!important;height:40px!important;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(255,255,255,.25))}.type-medal-row{flex-wrap:wrap;gap:8px}.type-medal,.type-medal-row{display:inline-flex;align-items:center}.type-medal{justify-content:center;padding:5px 14px 4px;border-radius:999px;border:2px solid transparent;font-family:var(--font-display),fantasy,system-ui;font-size:.72rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.35);box-shadow:0 3px 0 rgba(20,24,48,.35),0 6px 14px var(--type-medal-glow,rgba(0,0,0,.2))}.type-medal--compact{padding:4px 10px 3px;font-size:.64rem}.type-medal--fire{--type-medal-glow:rgba(255,120,40,0.55);background:linear-gradient(135deg,#ff8f45,#c42a12 58%,#7a1808);border-color:rgba(255,220,140,.8);color:#fff8e8}.type-medal--water{--type-medal-glow:rgba(60,150,255,0.5);background:linear-gradient(135deg,#5eb8ff,#2a6fc8 55%,#123d72);border-color:rgba(190,235,255,.85);color:#eef8ff}.type-medal--earth{--type-medal-glow:rgba(140,90,50,0.5);background:linear-gradient(135deg,#c49a6a,#7a5230 55%,#3d2816);border-color:rgba(230,200,160,.75);color:#fff6e8}.type-medal--air{--type-medal-glow:rgba(120,190,255,0.45);background:linear-gradient(135deg,#f0f9ff,#7eb8e8 52%,#4a7aa8);border-color:rgba(255,255,255,.9);color:#1a3a58}.type-medal--lightning{--type-medal-glow:rgba(255,220,80,0.55);background:linear-gradient(135deg,#fff06a,#e8b818 50%,#8a6e08);border-color:rgba(255,248,200,.95);color:#3a3200}.type-medal--plant{--type-medal-glow:rgba(80,180,70,0.5);background:linear-gradient(135deg,#8fe87a,#3f9f3d 55%,#1f4f1f);border-color:rgba(200,255,180,.8);color:#f0ffe8}.type-medal--neutral{--type-medal-glow:rgba(160,170,195,0.45);background:linear-gradient(135deg,#f4f6fc,#b8c0d4 55%,#7a849c);border-color:rgba(255,255,255,.85);color:#2a3048}.creature-type-medals{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:2px}.battle-party-screen{flex:1 1;min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:16px;padding:8px 12px 16px;overflow:hidden}.battle-party-screen--empty,.battle-party-screen--loading{font-family:var(--font-display),fantasy,system-ui;font-weight:950;font-size:1.1rem;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.9);text-shadow:0 2px 8px rgba(0,0,0,.3)}.battle-party-hint{margin:0;font-weight:900;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:rgba(255,243,168,.95);text-shadow:0 2px 6px rgba(0,0,0,.28)}.battle-party-slots{display:flex;align-items:flex-end;justify-content:center;gap:clamp(10px,2.5vw,22px);width:100%;max-width:920px;flex-wrap:nowrap}.battle-party-slot{flex:1 1;max-width:200px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;padding:0;border:none;background:transparent;cursor:pointer;color:#fff;transition:transform .15s ease,filter .15s ease}.battle-party-slot:hover{transform:translateY(-6px);filter:brightness(1.08)}.battle-party-slot-frame{width:100%;aspect-ratio:1;max-height:min(28vh,200px);display:grid;place-items:center;border-radius:22px;background:radial-gradient(ellipse at 50% 78%,rgba(30,32,54,.35),transparent 42%),linear-gradient(180deg,rgba(255,255,255,.28),rgba(255,255,255,.1));border:3px solid rgba(255,255,255,.45);box-shadow:0 8px 0 rgba(30,32,54,.28),inset 0 0 0 2px rgba(255,255,255,.12)}.battle-party-slot-name{font-family:var(--font-display),fantasy,system-ui;font-size:clamp(.85rem,2vw,1.05rem);font-weight:950;text-transform:uppercase;line-height:1;text-align:center;text-shadow:0 2px 6px rgba(0,0,0,.35);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.battle-party-slot-meta{display:inline-flex;align-items:center;gap:4px;font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.82)}.creature-profile-block-head .creature-teach-btn{padding:6px 12px 5px;font-size:.65rem;border-radius:12px;border-width:2px;box-shadow:0 3px 0 rgba(28,32,72,.45)}.creature-profile-block-head .creature-teach-btn-icon{font-size:.85rem}.creature-profile-screen{position:relative;flex:1 1;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden;padding:0;color:#fff}.creature-profile-main{flex:1 1;min-height:0;display:grid;grid-template-columns:minmax(168px,32%) minmax(0,1fr);grid-gap:12px;gap:12px;align-items:stretch;overflow:hidden}.creature-profile-sprite{min-height:0;display:grid;place-items:center;align-self:center;border-radius:20px;background:radial-gradient(ellipse at 50% 76%,rgba(30,32,54,.28),transparent 38%),linear-gradient(180deg,rgba(255,255,255,.24),rgba(255,255,255,.08));border:3px solid rgba(255,255,255,.38);box-shadow:inset 0 0 0 2px rgba(30,32,54,.12)}.creature-profile-sprite .creature-stage-lg{width:min(200px,100%);height:min(200px,100%)}.creature-profile-panel{min-height:0;min-width:0;display:grid;grid-template-rows:auto auto minmax(0,auto) minmax(0,1fr);grid-gap:8px;gap:8px;overflow:hidden}.creature-profile-head h2{margin:2px 0 0;font-family:var(--font-display),fantasy,system-ui;font-size:clamp(1.5rem,3.2vw,2.35rem);line-height:.95;text-transform:uppercase}.creature-profile-kicker{display:inline-flex;font-size:.65rem;font-weight:950;letter-spacing:.12em;text-transform:uppercase;color:#fff3a8}.creature-profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;font-size:.78rem;font-weight:850;color:rgba(255,255,255,.88)}.creature-profile-block{min-width:0;padding:10px 12px;border-radius:16px;background:rgba(12,18,42,.38);border:2px solid rgba(255,255,255,.2);overflow:hidden}.creature-profile-block--moves{display:flex;flex-direction:column;gap:8px;min-height:0}.creature-profile-block-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.creature-profile-block h3,.creature-profile-block-head h3{margin:0;font-family:var(--font-display),fantasy,system-ui;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase}.creature-profile-moves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:6px;gap:6px}.creature-profile-move{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:12px;background:rgba(255,255,255,.12);border:2px solid rgba(255,255,255,.16);min-width:0}.creature-profile-move .move-type-icon{width:30px!important;height:30px!important;border-radius:8px}.creature-profile-move .move-type-icon img{width:18px!important;height:18px!important}.creature-profile-move-body{min-width:0;flex:1 1}.creature-profile-move-body strong{display:block;font-size:.78rem;font-weight:950;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creature-profile-move-meta,.creature-teach-option-meta{display:flex;align-items:center;gap:4px;font-size:.62rem;font-weight:850;color:rgba(255,255,255,.78);line-height:1.2}.creature-profile-move-body .creature-profile-move-meta{margin-top:1px}.creature-teach-option-meta{font-size:.6rem}.move-effect-help{display:inline-grid;place-items:center;flex-shrink:0;width:15px;height:15px;border-radius:999px;background:rgba(108,92,231,.2);color:#ebe8ff;font-size:.62rem;font-weight:900;cursor:help;line-height:1}.creature-profile-move .move-damage-class-icon{width:22px!important;height:22px!important}.creature-profile-stats-wrap{min-height:0;display:flex;flex-direction:column;gap:6px;overflow:hidden}.creature-profile-battle-panel{display:flex;flex-direction:column;gap:8px;min-width:0}.creature-luck-meter{display:grid;grid-gap:5px;gap:5px}.creature-luck-meter-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.creature-luck-meter-label{font-family:var(--font-display),fantasy,system-ui;font-size:.68rem;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:#fff3a8}.creature-luck-meter-value{font-size:.88rem;font-weight:950;color:#fff;text-shadow:0 1px 4px rgba(0,0,0,.35)}.creature-luck-meter-track{position:relative;height:12px;border-radius:999px;background:rgba(12,18,42,.55);border:2px solid rgba(255,255,255,.22);overflow:hidden;box-shadow:inset 0 2px 6px rgba(0,0,0,.28)}.creature-luck-meter-fill{position:absolute;left:0;top:0;bottom:0;border-radius:999px;background:linear-gradient(90deg,#ffd95a,#fff6b8 42%,#b8ecff);box-shadow:0 0 10px rgba(255,220,100,.55);transition:width .35s cubic-bezier(.22,1,.36,1)}.creature-luck-meter-shine{position:absolute;inset:2px 8px 2px 2px;border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.35),transparent 70%);pointer-events:none}.creature-profile-battle-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:5px;gap:5px}.creature-stat-chip{display:grid;grid-gap:2px;gap:2px;padding:5px 4px;border-radius:10px;text-align:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18)}.creature-stat-chip-label{font-size:.58rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.72)}.creature-stat-chip-value{font-size:.92rem;font-weight:950;line-height:1}.creature-profile-stat-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 10px;border:2px solid rgba(255,255,255,.2);border-radius:12px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-family:var(--font-display),fantasy,system-ui;font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.creature-profile-stat-toggle[aria-expanded=true]{background:rgba(255,248,196,.18);border-color:rgba(255,243,168,.55)}.creature-profile-racing-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:4px;gap:4px;margin-top:6px}.creature-teach-overlay{position:absolute;inset:0;z-index:12;display:flex;flex-direction:column;padding:12px 14px 14px;border-radius:18px;background:radial-gradient(circle at 50% 0,rgba(255,255,255,.12),transparent 32%),linear-gradient(155deg,rgba(30,32,74,.97),rgba(18,24,52,.98));border:3px solid rgba(255,255,255,.35);overflow:hidden}.creature-teach-overlay .creature-teach-sheet{margin-top:0;flex:1 1;min-height:0;display:flex;flex-direction:column;max-height:none;overflow:hidden;background:transparent;border:none;padding:0}.creature-teach-overlay .creature-teach-list{flex:1 1;min-height:0;overflow-y:auto;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.creature-teach-replace-cost{margin:0 0 .35rem;font-size:.82rem;font-weight:800;opacity:.9;text-align:center}.creature-teach-replace .move-replace-picker{margin-top:0}@media (max-width:760px){.creature-profile-main{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}.creature-profile-sprite{max-height:min(24vh,180px)}.creature-profile-sprite .creature-stage-lg{width:min(160px,70vw);height:min(160px,70vw)}.battle-party-slots{flex-wrap:wrap;justify-content:center}.battle-party-slot{flex-grow:0;flex-shrink:1;flex-basis:calc(50% - 12px);max-width:160px}}.creature-gender{display:inline-flex;align-items:center;justify-content:center;font-size:1.05em;font-weight:900;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.35)}.creature-gender--male{color:#5eb8ff}.creature-gender--female{color:#ff6b9d}.creature-stage{position:relative;display:grid;place-items:center;width:160px;height:160px;isolation:isolate}.creature-stage-sm{width:96px;height:96px}.creature-stage-md{width:160px;height:160px}.creature-stage-lg{width:240px;height:240px}.creature-display-scale{position:relative;z-index:2;display:grid;place-items:center;width:100%;height:100%;transform:scale(var(--creature-display-scale,1));transform-origin:50% 85%}.creature-sprite{position:relative;z-index:2;max-width:90%;max-height:90%;object-fit:contain;transform-origin:50% 85%;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;background:transparent}.creature-shadow{z-index:1;bottom:14%;width:58%;height:14%;background:rgba(0,0,0,.18);filter:blur(6px);animation:shadowPulse 2.4s ease-in-out infinite}.creature-glow,.creature-shadow{position:absolute;border-radius:999px}.creature-glow{z-index:0;width:86%;height:86%;background:radial-gradient(circle,rgba(139,220,255,.34),transparent 64%);animation:glowPulse 2.2s ease-in-out infinite}.creature-idle{animation:idleBob 2.4s ease-in-out infinite}.creature-breathe{animation:breathe 3.2s ease-in-out infinite,idleBob 2.4s ease-in-out infinite}.creature-hop{animation:hop .55s cubic-bezier(.2,.9,.2,1)}.creature-dash{animation:dashStretch .35s ease-out}.creature-cast{animation:castPulse .7s ease-in-out}.creature-hit-shake{animation:hitShake .35s linear}@keyframes idleBob{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}@keyframes breathe{0%,to{filter:brightness(1)}50%{filter:brightness(1.06)}}@keyframes shadowPulse{0%,to{opacity:.18}50%{opacity:.11}}@keyframes glowPulse{0%,to{transform:scale(.94);opacity:.55}50%{transform:scale(1.06);opacity:.9}}@keyframes hop{0%{transform:translateY(0)}35%{transform:translateY(-34px)}65%{transform:translateY(-14px)}to{transform:translateY(0)}}@keyframes dashStretch{0%{transform:translateX(0);filter:blur(0)}45%{transform:translateX(22px);filter:blur(1px)}to{transform:translateX(0);filter:blur(0)}}@keyframes castPulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.35)}}@keyframes hitShake{0%,to{transform:translateX(0)}20%{transform:translateX(-8px)}40%{transform:translateX(7px)}60%{transform:translateX(-5px)}80%{transform:translateX(4px)}}.fx-bubble{position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 30% 60%,rgba(120,220,255,.55) 0 10px,transparent 12px),radial-gradient(circle at 70% 40%,rgba(120,220,255,.45) 0 8px,transparent 10px);animation:bubbleRise .8s ease-out forwards}@keyframes bubbleRise{0%{transform:translateY(12px);opacity:0}40%{opacity:1}to{transform:translateY(-18px);opacity:0}}.evolution-overlay{position:fixed;inset:0;z-index:320;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 45%,rgba(255,255,255,.14),transparent 18%),radial-gradient(circle at 50% 50%,rgba(123,238,255,.28),transparent 34%),linear-gradient(180deg,rgba(23,24,76,.98),rgba(90,42,126,.98) 48%,rgba(25,82,118,.98));color:#fff;animation:evolutionBackdrop 5.6s ease-in-out forwards}.evolution-overlay--battle{position:absolute;z-index:40;background:#000;animation:none}.evolution-stars{position:absolute;inset:-12%;opacity:0;background:radial-gradient(circle at 16% 22%,#fff 0 2px,transparent 3px),radial-gradient(circle at 72% 18%,#fff 0 3px,transparent 4px),radial-gradient(circle at 86% 58%,#fff 0 2px,transparent 3px),radial-gradient(circle at 24% 76%,#fff 0 3px,transparent 4px),radial-gradient(circle at 52% 32%,rgba(255,245,169,.95) 0 2px,transparent 4px);animation:evolutionStars 5.6s linear forwards}.evolution-orb{position:absolute;width:min(82vmin,640px);aspect-ratio:1;border-radius:999px;background:radial-gradient(circle,rgba(255,255,255,1) 0 9%,rgba(255,255,255,.86) 18%,rgba(122,237,255,.28) 42%,transparent 68%);mix-blend-mode:screen;opacity:0;transform:scale(.1);animation:evolutionOrb 5.6s ease-in-out forwards}.evolution-stage{position:relative;width:min(74vmin,520px);aspect-ratio:1;display:grid;place-items:center;isolation:isolate}.evolution-stage:after,.evolution-stage:before{content:"";position:absolute;inset:12%;border-radius:999px;border:3px solid rgba(255,255,255,.5);opacity:0;animation:evolutionRing 1.2s ease-out infinite}.evolution-stage:after{animation-delay:.38s}.evolution-sprite{position:absolute;inset:0;display:grid;place-items:center;transform-origin:50% 82%}.evolution-sprite .creature-stage{width:min(64vmin,390px);height:min(64vmin,390px)}.evolution-sprite--before{animation:evolutionBefore 5.6s ease-in-out forwards}.evolution-sprite--after{opacity:0;animation:evolutionAfter 5.6s ease-in-out forwards}.evolution-sprite .creature-sprite{filter:drop-shadow(0 0 18px rgba(255,255,255,.4))}.evolution-copy{position:absolute;left:50%;bottom:clamp(26px,7vh,72px);width:min(92vw,720px);transform:translateX(-50%);display:grid;grid-gap:8px;gap:8px;text-align:center;text-shadow:0 3px 16px rgba(0,0,0,.45)}.evolution-copy span{font-family:var(--font-display),fantasy,system-ui;font-size:clamp(1.8rem,5vw,3.8rem);font-weight:900}.evolution-copy strong{font-size:clamp(1rem,2.5vw,1.45rem);letter-spacing:.04em;text-transform:uppercase}@keyframes evolutionBackdrop{0%,to{filter:saturate(1)}46%{filter:saturate(1.7) brightness(1.2)}58%{filter:saturate(.2) brightness(2.5)}}@keyframes evolutionStars{0%{opacity:0;transform:scale(.96) rotate(0deg)}18%{opacity:.55}48%{opacity:1;transform:scale(1.12) rotate(50deg)}68%{opacity:.95}to{opacity:.35;transform:scale(1.2) rotate(95deg)}}@keyframes evolutionOrb{0%{opacity:0;transform:scale(.1)}18%{opacity:.32;transform:scale(.5)}45%{opacity:.82;transform:scale(.92)}58%{opacity:1;transform:scale(1.18)}74%{opacity:.58;transform:scale(1.02)}to{opacity:0;transform:scale(1.55)}}@keyframes evolutionRing{0%{opacity:.55;transform:scale(.35) rotate(0deg)}to{opacity:0;transform:scale(1.22) rotate(120deg)}}@keyframes evolutionBefore{0%{opacity:1;transform:scale(1) rotate(-1deg);filter:brightness(1)}18%{transform:scale(1.03) rotate(1deg);filter:brightness(1.3)}42%{opacity:1;transform:scale(1.12,.9) rotate(-3deg);filter:brightness(3) saturate(0)}55%{opacity:1;transform:scale(.82,1.22) rotate(4deg);filter:brightness(10) saturate(0)}62%{opacity:0;transform:scale(1.25);filter:brightness(14)}to{opacity:0;transform:scale(1.25)}}@keyframes evolutionAfter{0%,46%{opacity:0;transform:scale(.76,1.25);filter:brightness(12) saturate(0)}58%{opacity:1;transform:scale(1.14,.88);filter:brightness(10) saturate(0)}72%{opacity:1;transform:scale(1.03);filter:brightness(2.2) saturate(1.4)}86%{transform:scale(1.1);filter:brightness(1.35) saturate(1.1)}to{opacity:1;transform:scale(1);filter:brightness(1) saturate(1)}}@keyframes evolutionTextSwap{0%,66%{opacity:1;transform:translateY(0)}78%,to{opacity:0;transform:translateY(-12px)}}@keyframes evolutionTextReveal{0%,70%{opacity:0;transform:translateY(14px)}86%,to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.evolution-copy span,.evolution-copy strong,.evolution-orb,.evolution-overlay,.evolution-sprite--after,.evolution-sprite--before,.evolution-stage:after,.evolution-stage:before,.evolution-stars{animation-duration:.01ms!important;animation-iteration-count:1!important}}