.app-shell.pokemon-page{--pagination-height:56px;padding-top:0}.app-shell .pagination-row{padding-top:.45rem;padding-bottom:.45rem}.app-shell .pagination-row button{border-radius:12px;padding:.4rem .85rem}.app-shell .pagination-row>button{color:#fff;background:#2563a9}.app-shell .pagination-row>button:not(:disabled):hover{background:#1d4f86}.app-shell .pagination-row>button:disabled{color:#52657a;background:#dbe7f3}:root[data-theme=dark] .app-shell .pagination-row>button:disabled{color:#8ea3b5;background:#1e3040}.pagination-jump{align-items:center;gap:6px;display:flex}.pagination-jump input{border:1px solid var(--border);background:var(--page-strong);width:60px;height:38px;min-height:38px;color:var(--text);font:inherit;text-align:center;appearance:textfield;border-radius:10px;padding:0 .45rem;font-size:.82rem}.pagination-jump input::-webkit-inner-spin-button{appearance:none;margin:0}.pagination-jump input::-webkit-outer-spin-button{appearance:none;margin:0}.pagination-jump input:focus-visible{border-color:var(--accent);outline:3px solid var(--accent-soft)}.app-shell .pagination-row .pagination-jump button{color:#fff;background:#2563a9;border:1px solid #0000;flex:none;padding:.4rem .65rem;font-size:.82rem}.app-shell .pagination-row .pagination-jump button:not(:disabled):hover{background:#1d4f86}.app-shell .pagination-row .pagination-jump button:disabled{color:#52657a;opacity:1;background:#dbe7f3}:root[data-theme=dark] .app-shell .pagination-row .pagination-jump button:disabled{color:#8ea3b5;background:#1e3040}.app-shell .hero-card{border-color:var(--border);background:var(--page);color:var(--text)}.app-shell .hero-card h1{color:var(--text)}.app-shell .hero-card p{color:var(--muted)}.app-shell .search-input{border-color:var(--border);background:var(--page-strong);min-height:44px;color:var(--text);padding:.55rem 3.25rem .55rem .9rem}.app-shell .pokemon-scan-gif{object-fit:contain;pointer-events:none;border-radius:6px;width:30px;height:30px;top:50%;right:10px;transform:translateY(-50%)}.app-shell .pokemon-page-header{border:1px solid var(--border);border-left:0;border-right:0;border-radius:0;align-content:center;gap:.75rem;width:100vw;min-height:190px;margin-left:calc(50% - 50vw);padding:1.25rem max(1.25rem,50vw - 590px + 1.25rem)}.pokemon-title-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pokemon-title-row h1{min-width:0}.pokemon-title-actions{flex:none;align-items:center;gap:10px;display:flex}.pokemon-game-link{color:var(--muted);border-radius:10px;padding:.45rem .7rem;font-size:.78rem;font-weight:700}.pokemon-game-link:hover{background:var(--accent-soft);color:var(--text)}.pokemon-game-link:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.pokemon-theme-toggle{border:1px solid var(--border);background:var(--page-strong);min-height:36px;color:var(--text);border-radius:999px;flex:none;padding:.4rem .7rem;font-size:.78rem;font-weight:700}.pokemon-theme-toggle:hover{border-color:var(--accent);background:var(--accent-soft)}.pokemon-back-to-portfolio{border:1px solid var(--border);background:var(--page-strong);color:var(--muted);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:.4rem .7rem;font-size:.78rem;font-weight:700;display:inline-flex}.pokemon-back-to-portfolio:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--text)}.pokemon-back-to-portfolio:focus-visible{outline:3px solid var(--accent);outline-offset:2px}:root[data-theme=dark] .cry-button-compact,:root[data-theme=dark] .stat-item dd.is-higher{color:var(--text)}.pokemon-filter-toggle{display:none}.pokedex-controls.pokemon-filter-panel{border:1px solid var(--border);background:var(--page);box-shadow:0 12px 30px var(--shadow);border-radius:24px;margin-top:20px;padding:20px}.pokedex-controls{grid-template-columns:minmax(150px,.8fr) minmax(240px,1.2fr) auto;align-items:end;gap:12px;width:100%;margin-top:0;display:grid}.pokedex-control{color:var(--muted);gap:6px;font-size:.78rem;font-weight:700;display:grid;position:relative}.pokemon-select-trigger,.shiny-toggle{border:1px solid var(--border);background:var(--page-strong);min-height:42px;color:var(--text);font:inherit;border-radius:12px;padding:.65rem .75rem;font-size:.86rem}.pokemon-select-trigger{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:12px;width:100%;display:flex}.pokemon-select-trigger:hover{border-color:var(--accent)}.pokemon-select-trigger:disabled{cursor:not-allowed;opacity:.55}.pokemon-select-chevron{border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);flex:none;width:8px;height:8px;margin-right:4px;transition:transform .16s;transform:rotate(45deg)}.pokemon-select-chevron.is-open{transform:rotate(225deg)}.pokemon-select-list{z-index:250;border:1px solid var(--border);background:var(--page);border-radius:14px;max-height:280px;margin:0;padding:6px;list-style:none;animation:.15s ease-out pokemon-select-open;position:absolute;top:calc(100% + 8px);left:0;right:0;overflow-y:auto;box-shadow:0 18px 44px #0000002e}.pokemon-select-option{color:var(--text);cursor:pointer;border-radius:9px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:.86rem;font-weight:500;line-height:1.35;display:flex}.pokemon-select-option:hover,.pokemon-select-option:focus-visible{background:var(--accent-soft);outline:none}.pokemon-select-option:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}.pokemon-select-option[aria-selected=true]{background:var(--accent-soft);color:var(--text);font-weight:700}@keyframes pokemon-select-open{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.shiny-toggle{white-space:nowrap;font-weight:700}.shiny-toggle[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.pokemon-sort-status{color:var(--muted);margin-top:14px;font-size:.84rem}.pokemon-grid-enter{animation:.22s ease-out pokemon-grid-enter}@keyframes pokemon-grid-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.pokemon-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:auto;padding-top:4px;display:grid}.pokemon-card-action{border:1px solid var(--border);background:var(--page-strong);min-height:38px;color:var(--text);border-radius:10px;padding:.5rem .65rem;font-size:.82rem;font-weight:700}.pokemon-card-action:not(:disabled):hover{border-color:var(--pokemon-accent)}.pokemon-card-action[aria-pressed=true]{border-color:var(--pokemon-accent);background:var(--pokemon-accent);color:#fff}.pokemon-card-action:disabled{cursor:not-allowed;opacity:.45}.pokemon-card-skeleton{min-height:610px}.pokemon-skeleton-content{gap:16px;animation:1.4s ease-in-out infinite alternate pokemon-skeleton-pulse;display:grid}.pokemon-skeleton-heading,.pokemon-skeleton-art,.pokemon-skeleton-badges,.pokemon-skeleton-stats span,.pokemon-skeleton-meta,.pokemon-skeleton-actions{background:var(--page-strong);border-radius:10px}.pokemon-skeleton-heading{width:58%;height:30px}.pokemon-skeleton-art{border:1px solid var(--border);border-radius:18px;height:220px}.pokemon-skeleton-badges{width:46%;height:30px}.pokemon-skeleton-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.pokemon-skeleton-stats span{height:34px}.pokemon-skeleton-meta{height:48px}.pokemon-skeleton-actions{height:38px}@keyframes pokemon-skeleton-pulse{0%{opacity:.45}to{opacity:1}}.pokemon-detail-error{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;font-size:.82rem;display:flex}.pokemon-detail-error button{border:1px solid var(--border);color:var(--text);border-radius:8px;padding:.4rem .65rem;font-weight:700}.pokemon-dialog{width:min(1000px,100% - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--text);background:0 0;border:0;border-radius:26px;margin:auto;padding:0;overflow:hidden}.pokemon-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#111111b8}.pokemon-dialog-surface{border:1px solid var(--border);background:var(--page);border-radius:26px;max-height:calc(100dvh - 32px);padding:26px;overflow-y:auto;box-shadow:0 26px 80px #00000047}.pokemon-dialog-header{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.pokemon-dialog-header h2{letter-spacing:-.05em;font-size:clamp(1.65rem,3vw,2.35rem);line-height:1.1}.pokemon-dialog-close{border:1px solid var(--border);background:var(--page-strong);width:42px;height:42px;color:var(--text);border-radius:50%;flex:none;place-items:center;font-size:1.55rem;display:grid}.pokemon-detail-content{gap:22px;display:grid}.pokemon-detail-overview{grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);align-items:center;gap:26px;display:grid}.pokemon-detail-artwork{min-height:340px}.pokemon-detail-artwork img{width:280px;height:280px}.pokemon-detail-summary{justify-items:start;gap:15px;display:grid}.pokemon-detail-number{color:var(--pokemon-accent);font-size:.9rem;font-weight:800}.pokemon-detail-genus{color:var(--text);font-weight:700}.pokemon-detail-description{max-width:58ch;color:var(--muted);line-height:1.65}.pokemon-detail-physical{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.pokemon-detail-physical span{border:1px solid var(--border);background:var(--page-strong);border-radius:12px;gap:3px;padding:10px 12px;font-size:.9rem;display:grid}.pokemon-detail-physical strong{color:var(--muted);font-size:.72rem}.pokemon-card .misc-row span,.pokemon-detail-physical span{border:1px solid var(--pokemon-accent-border);background:var(--pokemon-accent-soft);color:var(--text)}.cry-control{gap:6px;display:grid}.cry-button{background:var(--pokemon-accent);color:#fff;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:.65rem 1rem;font-weight:700;display:inline-flex}.pokemon-card-type-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.pokemon-card-type-row .type-list{flex:1}.cry-control.is-compact{flex:none;position:relative}.cry-button-compact{border:1px solid var(--pokemon-accent-border);background:var(--pokemon-accent-soft);width:38px;height:38px;min-height:38px;color:var(--pokemon-accent);border-radius:50%;padding:0}.cry-button-compact:not(:disabled):hover,.cry-button-compact[aria-pressed=true]{background:var(--pokemon-accent);color:#fff}.cry-control.is-compact .cry-error{z-index:2;border:1px solid var(--border);background:var(--page);border-radius:8px;width:180px;padding:6px 8px;position:absolute;top:calc(100% + 6px);right:0}.cry-button:disabled{cursor:not-allowed;opacity:.55}.cry-error,.pokemon-dialog-error{color:#b42318;font-size:.82rem}:root[data-theme=dark] .cry-error,:root[data-theme=dark] .pokemon-dialog-error{color:#fda29b}.pokemon-detail-section{border:1px solid var(--border);background:var(--page-strong);border-radius:18px;padding:20px}.pokemon-detail-section h3{margin-bottom:14px;font-size:1.05rem}.pokemon-abilities{flex-wrap:wrap;gap:10px;padding:0;list-style:none;display:flex}.pokemon-abilities li{border:1px solid var(--border);background:var(--page);border-radius:10px;padding:8px 11px;font-weight:600}.pokemon-abilities li span{color:var(--muted);margin-left:8px;font-size:.72rem;font-weight:500}.evolution-tree,.evolution-branch ul{margin:0;padding:0;list-style:none}.evolution-tree{padding-bottom:6px;overflow-x:auto}.evolution-branch,.evolution-node{flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;display:flex}.evolution-stage{border:1px solid var(--border);background:var(--page);white-space:nowrap;border-radius:999px;align-items:center;gap:4px;padding:4px 8px 4px 4px;font-size:.8rem;font-weight:600;display:inline-flex}.evolution-icon{object-fit:contain;width:30px;height:30px;image-rendering:pixelated}.evolution-arrow{color:var(--muted);font-size:1rem;font-weight:700}.evolution-stage.is-current{border:2px solid var(--pokemon-accent-border);background:var(--pokemon-accent-soft);color:var(--text)}.evolution-branch ul{flex-wrap:nowrap;align-items:center;gap:6px;min-width:0;display:flex}.evolution-branch.is-branching,.evolution-branch.is-branching>ul{flex-wrap:wrap}.comparison-note{color:var(--muted);margin-bottom:16px;font-size:.84rem}.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.comparison-column{border:1px solid var(--pokemon-accent-border);background:var(--page-strong);border-radius:20px;gap:16px;padding:18px;display:grid}.comparison-artwork{background-color:var(--page);min-height:220px}.comparison-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.comparison-heading h3{letter-spacing:-.035em;font-size:1.35rem}.comparison-heading span{color:var(--pokemon-accent);font-weight:800}.comparison-physical{gap:10px;display:flex}.comparison-physical span{background:var(--page);color:var(--muted);text-align:center;border-radius:10px;flex:1;padding:8px;font-size:.82rem}.stat-item dd.is-higher{background:var(--pokemon-accent-soft);color:var(--pokemon-accent);border-radius:6px;padding:0 5px}.comparison-tray{bottom:calc(var(--pagination-height) + 10px);z-index:100;border:1px solid var(--border);background:var(--page);width:min(760px,100vw - 32px);box-shadow:0 14px 40px var(--shadow);border-radius:16px;align-items:center;gap:12px;padding:10px 12px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.comparison-tray-names{flex-wrap:wrap;gap:6px;display:flex}.comparison-tray-names button{background:var(--accent-soft);color:var(--text);border-radius:9px;padding:.45rem .6rem;font-size:.78rem;font-weight:700}.comparison-tray-status{color:var(--muted);white-space:nowrap;flex:1;font-size:.78rem}.comparison-tray-actions{gap:8px;display:flex}.comparison-tray-actions button{min-height:36px;color:var(--text);border-radius:9px;padding:.45rem .7rem;font-size:.8rem;font-weight:700}.comparison-tray-actions .comparison-open{background:var(--accent);color:#fff}.comparison-tray-actions button:disabled{cursor:not-allowed;opacity:.45}.app-shell.has-comparison{padding-bottom:12rem}.pokemon-select-trigger:focus-visible,.pokemon-theme-toggle:focus-visible,.shiny-toggle:focus-visible,.pokemon-card-action:focus-visible,.cry-button:focus-visible,.pokemon-dialog button:focus-visible,.comparison-tray button:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.pokemon-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=760px){.pokemon-filter-toggle{border:1px solid var(--border);background:var(--page);width:100%;min-height:46px;box-shadow:0 6px 18px var(--shadow);color:var(--text);border-radius:14px;align-items:center;gap:10px;margin-top:16px;padding:10px 14px;font-size:.88rem;font-weight:700;display:flex}.pokemon-filter-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:2px}.pokemon-filter-toggle .pokemon-select-chevron{margin-left:auto}.pokemon-filter-active{background:var(--accent-soft);color:var(--text);border-radius:999px;padding:2px 7px;font-size:.7rem}.pokedex-controls.pokemon-filter-panel{border-radius:16px;margin-top:10px;padding:16px;display:none}.pokedex-controls.pokemon-filter-panel.is-open{display:grid}.pokedex-controls{grid-template-columns:1fr}.shiny-toggle{width:100%}.pokemon-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.pokemon-dialog-surface{border-radius:20px;max-height:calc(100dvh - 16px);padding:18px}.pokemon-detail-overview,.comparison-grid{grid-template-columns:1fr}.pokemon-detail-artwork{min-height:250px}.pokemon-detail-artwork img{width:220px;height:220px}.comparison-tray{bottom:calc(var(--pagination-height) + 8px);flex-wrap:wrap;gap:8px;width:calc(100vw - 16px)}.comparison-tray-names{flex:1}.comparison-tray-status{text-align:center;order:3;width:100%}.comparison-tray-actions{margin-left:auto}.app-shell.has-comparison{padding-bottom:15rem}}@media (width<=380px){.pagination-row{gap:6px}.pagination-jump{gap:4px}.pagination-jump input{width:46px}.app-shell .pagination-row>button,.app-shell .pagination-row .pagination-jump button{padding:.4rem .5rem;font-size:.78rem}}@media (prefers-reduced-motion:reduce){.pokemon-grid-enter,.pokemon-skeleton-content{animation:none}}.pokemon-game-page{background:var(--bg);min-height:100vh;color:var(--text)}.pokemon-game-header{border-bottom:1px solid var(--border);background:var(--page)}.pokemon-game-header-inner{justify-content:space-between;align-items:center;gap:24px;width:min(1100px,100% - 40px);min-height:144px;margin:0 auto;padding:24px 0;display:flex}.pokemon-game-header h1{letter-spacing:-.055em;font-size:clamp(2rem,5vw,3.5rem);line-height:1.05}.pokemon-game-header p{color:var(--muted);margin-top:10px}.pokemon-game-header-actions{align-items:center;gap:10px;display:flex}.pokemon-game-back{color:var(--muted);border-radius:10px;padding:8px 12px;font-size:.86rem;font-weight:700}.pokemon-game-back:hover{background:var(--accent-soft);color:var(--text)}.pokemon-game-main{width:min(960px,100% - 40px);margin:0 auto;padding:32px 0 56px}.pokemon-game-scoreboard{color:var(--muted);justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px;font-size:.88rem;display:flex}.pokemon-game-scoreboard strong{color:var(--text);margin-left:4px;font-size:1rem}.pokemon-game-scores{gap:16px;display:flex}.pokemon-game-timer{border:1px solid var(--border);background:var(--page);text-align:center;border-radius:999px;min-width:84px;padding:4px 10px}.pokemon-game-timer strong{font-variant-numeric:tabular-nums;min-width:30px;margin-left:2px;display:inline-block}.pokemon-game-timer.is-low{color:#a3312b;background:#fff0ee;border-color:#ce5b55}.pokemon-game-timer.is-low strong{color:#a3312b}:root[data-theme=dark] .pokemon-game-timer.is-low{color:#f5b1ab;background:#402321}:root[data-theme=dark] .pokemon-game-timer.is-low strong{color:#f5b1ab}.pokemon-game-board{border:1px solid var(--border);background:var(--page);box-shadow:0 18px 45px var(--shadow);border-radius:24px;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);display:grid;overflow:hidden}.pokemon-game-artwork{background:#e8edf8;place-items:center;min-height:430px;padding:38px;display:grid}:root[data-theme=dark] .pokemon-game-artwork{background:#d8dfed}.pokemon-game-artwork img{object-fit:contain;filter:brightness(0);opacity:.82;width:min(100%,330px);height:330px;transition:filter .22s,opacity .22s,transform .22s}.pokemon-game-artwork.is-revealed img{filter:none;opacity:1;transform:scale(1.03)}.pokemon-game-artwork .sprite-placeholder{color:#171717}.pokemon-game-art-placeholder{color:#73819b;font-size:9rem;font-weight:800;line-height:1}.pokemon-game-quiz{flex-direction:column;justify-content:center;gap:22px;padding:32px;display:flex}.pokemon-game-prompt h2{letter-spacing:-.035em;font-size:1.45rem}.pokemon-game-prompt p{min-height:3em;color:var(--muted);margin-top:5px;font-size:.9rem;line-height:1.5}.pokemon-game-options{gap:10px;display:grid}.pokemon-game-option{border:1px solid var(--border);background:var(--page-strong);min-height:52px;color:var(--text);text-align:left;border-radius:12px;grid-template-columns:30px minmax(0,1fr) 20px;align-items:center;gap:10px;padding:8px 12px;font-weight:700;transition:border-color .15s,background-color .15s,transform .15s;display:grid}.pokemon-game-option:not(:disabled):hover{border-color:var(--accent);background:var(--accent-soft);transform:translate(3px)}.pokemon-game-option:disabled{cursor:default}.pokemon-game-option-letter{border:1px solid var(--border);background:var(--page);width:28px;height:28px;color:var(--muted);border-radius:8px;place-items:center;font-size:.75rem;display:grid}.pokemon-game-option.is-correct{color:#17633a;background:#e7f6ed;border-color:#278552}.pokemon-game-option.is-incorrect{color:#a3312b;background:#fff0ee;border-color:#ce5b55}:root[data-theme=dark] .pokemon-game-option.is-correct{color:#a4e4bd;background:#173a29;border-color:#55b981}:root[data-theme=dark] .pokemon-game-option.is-incorrect{color:#f5b1ab;background:#402321;border-color:#d77a74}.pokemon-game-next,.pokemon-game-error button{color:#fff;background:#2563a9;border-radius:12px;min-height:44px;padding:10px 16px;font-weight:700}.pokemon-game-next:hover,.pokemon-game-error button:hover{background:#1d4f86}.pokemon-game-error{background:var(--page);color:var(--text);border:1px solid #ce5b55;border-radius:12px;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px 14px;font-size:.88rem;display:flex}.pokemon-game-error button{flex:none}.pokemon-game-back:focus-visible,.pokemon-game-option:focus-visible,.pokemon-game-next:focus-visible,.pokemon-game-error button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media (width<=720px){.pokemon-game-header-inner{flex-direction:column;align-items:flex-start;gap:16px}.pokemon-game-header-actions{justify-content:space-between;width:100%}.pokemon-game-board{grid-template-columns:1fr}.pokemon-game-artwork{min-height:300px;padding:24px}.pokemon-game-artwork img{height:250px}.pokemon-game-quiz{padding:24px}}@media (width<=420px){.pokemon-game-header-inner,.pokemon-game-main{width:calc(100% - 24px)}.pokemon-game-main{padding-top:20px}.pokemon-game-back{padding-left:0}.pokemon-game-artwork{min-height:250px}.pokemon-game-artwork img{height:210px}.pokemon-game-quiz{padding:20px 16px}.pokemon-game-error{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){.pokemon-game-artwork img,.pokemon-game-option{transition:none}}.portfolio-chat-launcher{z-index:90;background:var(--accent);color:#fff;min-height:52px;box-shadow:0 14px 36px var(--shadow);border:1px solid #0000;border-radius:999px;align-items:center;gap:10px;padding:.85rem 1.15rem;font-weight:700;transition:transform .18s,box-shadow .18s;display:inline-flex;position:fixed;bottom:24px;right:24px}.portfolio-chat-launcher:hover{box-shadow:0 18px 42px var(--shadow);transform:translateY(-2px)}.portfolio-chat{z-index:110;border:1px solid var(--border);background:var(--page);width:min(390px,100vw - 32px);height:min(620px,100dvh - 48px);color:var(--text);border-radius:24px;grid-template-rows:auto minmax(0,1fr) auto;display:grid;position:fixed;bottom:24px;right:24px;overflow:hidden;box-shadow:0 28px 80px #0003}.portfolio-chat-header{border-bottom:1px solid var(--border);align-items:center;gap:12px;padding:16px 18px;display:flex}.portfolio-chat-avatar{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:13px;flex:none;place-items:center;font-size:.82rem;font-weight:800;display:grid}.portfolio-chat-heading{flex:1;min-width:0}.portfolio-chat-heading h2{letter-spacing:-.025em;font-size:1rem;line-height:1.3}.portfolio-chat-heading p{color:var(--muted);margin-top:2px;font-size:.78rem;line-height:1.4}.portfolio-chat-close{width:38px;height:38px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-size:1.55rem;line-height:1;display:grid}.portfolio-chat-close:hover{background:var(--page-strong);color:var(--text)}.portfolio-chat-messages{overscroll-behavior:contain;flex-direction:column;gap:12px;min-height:0;padding:20px 18px;display:flex;overflow-y:auto}.portfolio-chat-message{flex-direction:column;align-items:flex-start;display:flex}.portfolio-chat-message.user{align-items:flex-end}.portfolio-chat-bubble{border:1px solid var(--border);background:var(--page-strong);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:5px 17px 17px;max-width:88%;padding:11px 14px;font-size:.9rem;line-height:1.55}.portfolio-chat-message.user .portfolio-chat-bubble{background:var(--accent);color:#fff;border-color:#0000;border-radius:17px 5px 17px 17px}.portfolio-chat-suggestions{gap:8px;padding-top:4px;display:grid}.portfolio-chat-suggestions button{border:1px solid var(--border);background:var(--page);color:var(--text);text-align:left;border-radius:12px;padding:10px 12px;font-size:.82rem;line-height:1.4;transition:background-color .16s,border-color .16s}.portfolio-chat-suggestions button:hover{border-color:var(--accent);background:var(--accent-soft)}.portfolio-chat-thinking{align-items:center;gap:5px;min-width:54px;min-height:42px;display:flex}.portfolio-chat-thinking>span:not(.portfolio-chat-sr-only){background:var(--muted);border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite portfolio-chat-typing}.portfolio-chat-thinking>span:nth-child(2){animation-delay:.12s}.portfolio-chat-thinking>span:nth-child(3){animation-delay:.24s}@keyframes portfolio-chat-typing{0%,60%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}.portfolio-chat-footer{border-top:1px solid var(--border);background:var(--page);padding:12px 14px 10px}.portfolio-chat-composer{border:1px solid var(--border);background:var(--page-strong);border-radius:15px;align-items:flex-end;gap:8px;padding:5px 5px 5px 12px;display:flex}.portfolio-chat-composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.portfolio-chat-composer textarea{resize:none;width:100%;min-height:40px;max-height:100px;color:var(--text);background:0 0;border:0;outline:0;padding:9px 0;font-size:.9rem;line-height:1.4}.portfolio-chat-composer textarea::placeholder{color:var(--muted)}.portfolio-chat-mic{width:40px;height:40px;color:var(--muted);border-radius:11px;flex:none;place-items:center;display:grid}.portfolio-chat-mic:not(:disabled):hover{background:var(--accent-soft);color:var(--accent)}.portfolio-chat-mic.is-listening{color:#b42318;background:#b423181a;animation:1.4s ease-in-out infinite portfolio-chat-mic-pulse}.portfolio-chat-mic:disabled{cursor:not-allowed;opacity:.4}@keyframes portfolio-chat-mic-pulse{50%{box-shadow:0 0 0 4px #b423181a}}.portfolio-chat-listening{color:var(--muted);align-items:center;gap:7px;margin-bottom:10px;font-size:.76rem;display:flex}.portfolio-chat-listening>span{background:#b42318;border-radius:50%;flex:none;width:7px;height:7px}:root[data-theme=dark] .portfolio-chat-mic.is-listening{color:#fda29b}.portfolio-chat-send{background:var(--accent);color:#fff;border-radius:11px;min-height:40px;padding:.55rem .85rem;font-size:.84rem;font-weight:700}.portfolio-chat-send:disabled{cursor:not-allowed;opacity:.45}.portfolio-chat-error{color:#b42318;background:#b4231814;border-radius:10px;margin-bottom:10px;padding:9px 11px;font-size:.8rem;line-height:1.45}:root[data-theme=dark] .portfolio-chat-error{color:#fda29b}.portfolio-chat-note{color:var(--muted);text-align:center;margin-top:7px;font-size:.7rem;line-height:1.4}.portfolio-chat-launcher:focus-visible,.portfolio-chat button:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.portfolio-chat-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (width<=520px){.portfolio-chat-launcher{bottom:16px;right:16px}.portfolio-chat{border-radius:20px;width:auto;height:calc(100dvh - 24px);bottom:12px;left:12px;right:12px}}@media (prefers-reduced-motion:reduce){.portfolio-chat-thinking>span:not(.portfolio-chat-sr-only),.portfolio-chat-mic.is-listening{animation:none}}:root{--bg:#fafaf8;--page:#fff;--page-strong:#f7f7f4;--border:#e7e5e4;--text:#171717;--muted:#666;--accent:#315cff;--accent-soft:#315cff1f;--shadow:#17171714;--code:#f2f4f7;--chip:#f3f4f6;--nav:#fafaf8d1;--modal:#1119;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:root[data-theme=dark]{--bg:#111;--page:#181818;--page-strong:#1e1e1e;--border:#2a2a2a;--text:#f5f5f5;--muted:#a3a3a3;--accent:#7c9cff;--accent-soft:#7c9cff26;--shadow:#0003;--code:#1a1d22;--chip:#202020;--nav:#111111c2;--modal:#000000b8;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--bg);min-height:100vh;color:var(--text);text-rendering:optimizelegibility;margin:0;font-family:Inter,Segoe UI,sans-serif;line-height:1.6}img{max-width:100%;display:block}button,input,textarea{font:inherit}button{cursor:pointer;background:0 0;border:none}a{color:inherit;text-decoration:none}p,h1,h2,h3,h4,ul,ol{margin:0}.site-shell{background:var(--bg);color:var(--text)}.container{width:min(1200px,100% - 32px);margin:0 auto}.topbar{z-index:50;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:var(--nav);border-bottom:1px solid var(--border);position:sticky;top:0}.topbar-inner{justify-content:space-between;align-items:center;gap:20px;min-height:76px;display:flex}.brand{letter-spacing:-.04em;color:var(--text);font-size:1rem;font-weight:700}.nav-panel{align-items:center;gap:10px;display:flex}.nav-link{color:var(--muted);border-radius:999px;padding:.7rem .9rem;font-size:.94rem;transition:background-color .18s,color .18s}.nav-link:hover,.nav-link:focus-visible{background:var(--accent-soft);color:var(--text)}.nav-actions{align-items:center;gap:12px;display:flex}.button{border:1px solid var(--border);border-radius:999px;justify-content:center;align-items:center;min-height:46px;padding:.8rem 1.2rem;font-weight:600;transition:transform .18s,background-color .18s,border-color .18s;display:inline-flex}.button:hover,.button:focus-visible,.text-link:hover,.text-link:focus-visible{transform:translateY(-1px)}.button-primary{background:var(--accent);color:#f5f5f5;border-color:#0000}.button-secondary{background:var(--page);color:var(--text)}.theme-toggle,.menu-toggle{border:1px solid var(--border);background:var(--page);min-width:46px;min-height:46px;color:var(--text);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.menu-toggle{flex-direction:column;gap:4px;display:none}.menu-toggle span{background:currentColor;border-radius:999px;width:18px;height:2px;display:block}.page-shell{padding-bottom:80px}.section{padding:90px 0}.section-alt{background:var(--page-strong);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}.hero-inner{grid-template-columns:1.4fr .9fr;align-items:center;gap:48px;padding-top:64px;display:grid}.hero-copy{flex-direction:column;gap:22px;display:flex}.eyebrow{color:var(--accent);letter-spacing:.18em;font-size:.78rem;font-weight:700}h1{letter-spacing:-.07em;max-width:720px;font-size:clamp(2.7rem,5vw,5rem);line-height:.95}.lede{max-width:620px;color:var(--muted);font-size:clamp(1.04rem,1.6vw,1.3rem)}.cta-row{flex-wrap:wrap;gap:14px;display:flex}.mini-link{color:var(--text);font-weight:600}.hero-panel{justify-content:center;display:flex}.profile-card{background:var(--page);border:1px solid var(--border);width:min(100%,430px);box-shadow:0 28px 80px var(--shadow);border-radius:24px;padding:28px}.profile-header{align-items:center;gap:16px;margin-bottom:26px;display:flex}.profile-badge{background:var(--accent-soft);width:52px;height:52px;color:var(--accent);border-radius:16px;place-items:center;font-weight:800;display:grid}.profile-header strong{font-size:1.2rem;display:block}.profile-header span{color:var(--muted);font-size:.9rem}.profile-body{color:var(--muted);margin-bottom:22px}.profile-list{flex-wrap:wrap;gap:10px;padding:0;list-style:none;display:flex}.profile-list li,.tag{background:var(--chip);border:1px solid var(--border);min-height:32px;color:var(--text);border-radius:999px;align-items:center;padding:.45rem .7rem;font-size:.82rem;display:inline-flex}.section-heading{gap:14px;margin-bottom:30px;display:grid}.section-heading h2{letter-spacing:-.06em;font-size:clamp(2.2rem,3vw,3rem);line-height:1.05}.section-heading p:last-child{color:var(--muted);max-width:650px}.left-align{margin-bottom:20px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;display:grid}.project-card{background:var(--page);border:1px solid var(--border);box-shadow:0 20px 50px var(--shadow);border-radius:24px;transition:transform .18s,border-color .18s;overflow:hidden}.project-card:hover{border-color:#315cff4d;transform:translateY(-4px)}.project-preview{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#315cff1f,#7c9cff0f);place-items:center;min-height:220px;display:grid;position:relative}.preview-glow{background:radial-gradient(circle,#315cff2e,#0000 65%);border-radius:50%;width:180px;height:180px;position:absolute}.project-preview span{z-index:1;color:var(--text);letter-spacing:.12em;text-transform:uppercase;font-size:.72rem;font-weight:700;position:relative}.project-body{gap:16px;padding:22px;display:grid}.project-meta{color:var(--accent);letter-spacing:.12em;text-transform:uppercase;font-size:.76rem;font-weight:700}.project-card h3{letter-spacing:-.06em;font-size:1.45rem}.project-card p{color:var(--muted)}.tag-row{flex-wrap:wrap;gap:8px;display:flex}.tag-soft{background:var(--accent-soft);border-color:#0000}.project-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:2px;display:flex}.text-link,.project-actions a,.footer-links a,.modal-links a{color:var(--accent);font-weight:600}.project-actions a,.footer-links a,.modal-links a,.muted-link{font-size:.94rem}.muted-link{color:var(--muted)}.about-grid{grid-template-columns:.8fr 1.2fr;gap:28px 36px;display:grid}.about-copy{color:var(--muted);gap:18px;display:grid}.highlight-grid{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.highlight-item{background:var(--page);border:1px solid var(--border);color:var(--text);border-radius:18px;padding:18px 20px;font-weight:600}.lab-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;display:grid}.lab-card{background:var(--page);border:1px solid var(--border);border-radius:20px;gap:12px;padding:20px 18px;display:grid}.lab-index{color:var(--accent);letter-spacing:.12em;font-weight:700}.lab-card h3{letter-spacing:-.04em;font-size:1.12rem}.lab-card p{color:var(--muted);font-size:.94rem}.skills-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.skill-group{background:var(--page);border:1px solid var(--border);border-radius:20px;gap:16px;padding:22px;display:grid}.skill-group h3{font-size:1.08rem}.contact-section{padding-bottom:50px}.contact-shell{grid-template-columns:1fr .95fr;align-items:start;gap:28px;display:grid}.contact-copy{gap:18px;display:grid}.contact-copy h2{letter-spacing:-.06em;font-size:clamp(2.2rem,3vw,3.2rem)}.contact-copy p{color:var(--muted)}.contact-actions{flex-wrap:wrap;gap:12px;margin-top:8px;display:flex}.contact-form{background:var(--page);border:1px solid var(--border);box-shadow:0 20px 40px var(--shadow);border-radius:24px;gap:18px;padding:26px;display:grid}.contact-form label{color:var(--text);gap:8px;font-weight:600;display:grid}.contact-form input,.contact-form textarea{border:1px solid var(--border);background:var(--page-strong);width:100%;color:var(--text);border-radius:14px;padding:.9rem 1rem}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--accent);outline:2px solid #315cff33}.submit-button{width:100%}.site-footer{border-top:1px solid var(--border);background:var(--page-strong)}.footer-inner{justify-content:space-between;align-items:center;gap:18px;min-height:92px;display:flex}.footer-inner strong{font-size:1.04rem;display:block}.footer-inner p{color:var(--muted)}.footer-links{align-items:center;gap:18px;display:flex}.modal-backdrop{background:var(--modal);z-index:100;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.case-study-modal{background:var(--page);border:1px solid var(--border);border-radius:26px;width:min(1100px,100%);max-height:min(90vh,900px);padding:28px;position:relative;overflow:auto;box-shadow:0 26px 80px #0003}.close-modal{border:1px solid var(--border);background:var(--page-strong);width:40px;height:40px;color:var(--text);border-radius:50%;font-size:1.5rem;position:absolute;top:18px;right:18px}.case-study-layout{grid-template-columns:1.5fr .7fr;gap:28px;padding-top:18px;display:grid}.case-study-main,.case-study-side{gap:18px;display:grid}.modal-tag{background:var(--accent-soft);width:fit-content;min-height:28px;color:var(--accent);letter-spacing:.12em;text-transform:uppercase;border-radius:999px;align-items:center;padding:.35rem .7rem;font-size:.74rem;font-weight:700;display:inline-flex}.case-study-main h3{letter-spacing:-.06em;font-size:clamp(2rem,3vw,2.7rem)}.case-summary,.meta-block p,.meta-block li,.modal-links span{color:var(--muted)}.meta-block{gap:10px;display:grid}.meta-block ul{gap:8px;margin:0;padding-left:20px;display:grid}.panel-block{background:var(--page-strong);border:1px solid var(--border);border-radius:18px;gap:14px;padding:20px;display:grid}.modal-links{gap:10px;display:grid}@media (width<=980px){.hero-inner,.contact-shell,.case-study-layout,.about-grid{grid-template-columns:1fr}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=760px){.nav-panel{background:var(--page);border:1px solid var(--border);box-shadow:0 18px 40px var(--shadow);border-radius:18px;flex-direction:column;align-items:flex-start;padding:16px;display:none;position:absolute;top:72px;left:16px;right:16px}.nav-panel.is-open{display:flex}.menu-toggle{display:inline-flex}.theme-toggle{display:none}.hero-inner{padding-top:36px}.project-grid,.skills-layout,.highlight-grid,.lab-grid{grid-template-columns:1fr}.cta-row,.contact-actions,.project-actions,.footer-inner{flex-direction:column;align-items:stretch}.footer-inner{padding:18px 0}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.app-shell{max-width:1180px;margin:0 auto;padding:2rem 1.25rem 8rem}.hero-card{background:#fff;border:1px solid #e5e7eb;border-radius:28px;align-items:center;gap:1rem;padding:1.6rem;display:grid;box-shadow:0 20px 80px #0f172a14}.hero-card h1{margin:0 0 .5rem;font-size:clamp(2rem,3vw,2.8rem)}.hero-card p{color:#4b5563;max-width:42rem;margin:0}.search-input{color:#111827;background:#f9fafb;border:1px solid #d1d5db;border-radius:16px;outline:none;width:100%;min-width:240px;padding:.95rem 1rem}.search-input:focus{border-color:#6366f1;box-shadow:0 0 0 3px #6366f129}.summary-row,.pagination-row{z-index:100;border:1px solid var(--border);background:var(--page);box-shadow:0 8px 24px var(--shadow);border-radius:16px;flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-top:1.75rem;padding:.85rem 1rem;display:flex;position:sticky;top:0}.summary-row.is-stuck{border-left:0;border-right:0;border-radius:0;width:100vw;margin-left:calc(50% - 50vw);padding:.85rem max(1.25rem,50vw - 590px + 1.25rem)}.pagination-row{width:100%;box-shadow:0 -8px 24px var(--shadow);border-bottom:0;border-left:0;border-right:0;border-radius:0;flex-wrap:nowrap;margin:0;padding:.85rem max(1.25rem,50vw - 590px + 1.25rem);position:fixed;inset:auto 0 0}.summary-row span{color:var(--text);font-weight:600}.status,.loading-card{text-align:center;color:#4b5563;background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin:2rem auto;padding:1.2rem 1.25rem}.grid-list{flex-wrap:wrap;justify-content:space-evenly;gap:1.5rem;margin-top:1.5rem;display:flex}.pokemon-card{background:var(--page);border:1px solid var(--pokemon-accent-border,var(--border));border-radius:22px;flex-direction:column;gap:1rem;width:350px;max-width:100%;padding:1.35rem;transition:transform .18s,border-color .18s,box-shadow .18s;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 30px #0f172a14}.pokemon-card:before{content:"";background:var(--pokemon-accent);height:4px;position:absolute;top:0;left:0;right:0}.pokemon-card:hover{border-color:var(--pokemon-accent);transform:translateY(-4px);box-shadow:0 18px 36px #0f172a1f}.card-header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.pokemon-id{border:1px solid var(--pokemon-accent-border);background:var(--pokemon-accent-soft);color:var(--text);border-radius:8px;flex:none;padding:.25rem .5rem;font-size:.82rem;font-weight:800}.pokemon-card h2{letter-spacing:-.035em;text-transform:capitalize;min-width:0;margin:0;font-size:1.3rem}.sprite-wrap{isolation:isolate;border:1px solid var(--border);background-color:var(--page-strong);background-image:radial-gradient(var(--pokemon-accent-border) .8px, transparent .8px);background-size:18px 18px;border-radius:18px;place-items:center;min-height:220px;display:grid;position:relative;overflow:hidden}.type-particles{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.type-particles span{--particle-sway:18px;--particle-end:-12px;background:var(--pokemon-accent);opacity:0;border-radius:50%;width:9px;height:9px;animation:7.5s linear infinite type-particle-float;position:absolute;bottom:-24px}.type-particles span:first-child{--particle-sway:22px;animation-delay:-2.1s;left:8%}.type-particles span:nth-child(2){animation-duration:8.2s;animation-delay:-5.4s;left:23%}.type-particles span:nth-child(3){--particle-sway:-16px;--particle-end:14px;animation-duration:6.8s;animation-delay:-1.2s;left:38%}.type-particles span:nth-child(4){animation-duration:8.8s;animation-delay:-6.3s;left:59%}.type-particles span:nth-child(5){--particle-sway:-20px;--particle-end:10px;animation-duration:7.7s;animation-delay:-3.8s;left:74%}.type-particles span:nth-child(6){animation-duration:6.9s;animation-delay:-4.9s;left:87%}.type-particles-normal span{width:7px;height:7px;box-shadow:0 0 4px var(--pokemon-accent-soft)}.type-particles-grass span{border-radius:100% 0;width:12px;height:19px;box-shadow:inset -1px -1px #00000029}.type-particles-grass span:after{content:"";background:#ffffff59;width:1px;height:65%;position:absolute;top:18%;left:50%;transform:translate(-50%)rotate(-12deg)}.type-particles-fire span{width:9px;height:14px;box-shadow:0 0 7px var(--pokemon-accent-soft);border-radius:70% 30% 60% 40%}.type-particles-water span{border:2px solid var(--pokemon-accent);background:0 0;width:14px;height:14px}.type-particles-water span:after{content:"";background:var(--pokemon-accent);border-radius:50%;width:3px;height:3px;position:absolute;top:2px;left:2px}.type-particles-electric span{clip-path:polygon(55% 0,100% 0,70% 40%,100% 40%,25% 100%,42% 55%,5% 55%);border-radius:0;width:12px;height:17px}.type-particles-ice span{clip-path:polygon(40% 0,60% 0,60% 40%,100% 40%,100% 60%,60% 60%,60% 100%,40% 100%,40% 60%,0 60%,0 40%,40% 40%);border-radius:0;width:15px;height:15px}.type-particles-fighting span,.type-particles-rock span,.type-particles-ground span{clip-path:polygon(20% 0,90% 10%,100% 75%,55% 100%,0 70%);border-radius:0;width:12px;height:14px}.type-particles-poison span{width:13px;height:13px;box-shadow:inset -3px -3px #00000029}.type-particles-flying span{border-top:2px solid var(--pokemon-accent);background:0 0;border-radius:50%;width:24px;height:10px}.type-particles-psychic span,.type-particles-ghost span,.type-particles-dark span{width:12px;height:12px;box-shadow:0 0 9px var(--pokemon-accent)}.type-particles-bug span{width:6px;height:6px;box-shadow:4px 3px 0 var(--pokemon-accent-soft)}.type-particles-dragon span{clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);width:13px;height:13px;box-shadow:0 0 7px var(--pokemon-accent-soft);border-radius:1px}.type-particles-steel span{border:2px solid var(--pokemon-accent);background:0 0;border-radius:1px;width:11px;height:11px}.type-particles-fairy span{clip-path:polygon(50% 0,61% 35%,100% 35%,69% 56%,80% 100%,50% 73%,20% 100%,31% 56%,0 35%,39% 35%);border-radius:0;width:14px;height:14px}.type-particles-ice span,.type-particles-rock span,.type-particles-ground span{animation-name:type-particle-fall;top:-24px;bottom:auto}@keyframes type-particle-float{0%{opacity:0;transform:translateY(20px)rotate(45deg)}15%{opacity:.54}50%{transform:translate3d(var(--particle-sway), -105px, 0) rotate(200deg)}85%{opacity:.44}to{opacity:0;transform:translate3d(var(--particle-end), -245px, 0) rotate(365deg)}}@keyframes type-particle-fall{0%{opacity:0;transform:translateY(-20px)rotate(45deg)}15%{opacity:.54}50%{transform:translate3d(var(--particle-sway), 105px, 0) rotate(200deg)}85%{opacity:.44}to{opacity:0;transform:translate3d(var(--particle-end), 245px, 0) rotate(365deg)}}@media (prefers-reduced-motion:reduce){.type-particles{display:none}}.sprite-wrap:before{content:"";border:1px solid var(--pokemon-accent-border);background:var(--pokemon-accent-soft);border-radius:50%;width:170px;height:170px;position:absolute}.sprite-wrap img{z-index:1;object-fit:contain;filter:drop-shadow(0 16px 12px #0f172a38);width:200px;height:200px;transition:transform .18s;position:relative}.pokemon-card:hover .sprite-wrap img{transform:scale(1.03)}.sprite-placeholder{z-index:1;border:1px dashed var(--border);background:var(--page);width:calc(100% - 24px);min-height:190px;color:var(--muted);border-radius:16px;place-items:center;display:grid;position:relative}.card-body{gap:1.1rem;display:grid}.type-list{flex-wrap:wrap;gap:.5rem;display:flex}.type-pill{border:1px solid var(--type-color-border);background:var(--type-color-soft);color:var(--text);text-transform:capitalize;border-radius:999px;padding:.35rem .65rem;font-size:.78rem;font-weight:700}.stat-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1.1rem;margin:0;display:grid}.stat-item{grid-template-columns:1fr auto;justify-content:space-between;gap:.3rem .65rem;display:grid}.stat-item dt{color:var(--muted);text-transform:capitalize;font-size:.78rem}.stat-item dd{color:var(--text);margin:0;font-size:.82rem;font-weight:700}.stat-track{background:var(--border);border-radius:999px;grid-column:1/-1;height:4px;overflow:hidden}.stat-track span{border-radius:inherit;background:var(--pokemon-accent);height:100%;display:block}.misc-row{color:var(--muted);grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;font-size:.82rem;font-weight:600;display:grid}.misc-row span{border:1px solid var(--border);background:var(--page-strong);text-align:center;border-radius:12px;padding:.65rem}.pagination-row button{color:#fff;background:#4338ca;border-radius:16px;padding:.55rem 1.1rem;font-weight:700;transition:transform .15s,background-color .15s}.pagination-row button:disabled{cursor:not-allowed;background:#c7d2fe}.pagination-row button:not(:disabled):hover{background:#3730a3;transform:translateY(-1px)}.search-input-container{align-items:center;display:flex;position:relative}.search-input-container:before{content:"";pointer-events:none;z-index:-1;border:2px solid #ccc;border-radius:8px;position:absolute;inset:0}.pokemon-scan-gif{object-fit:cover;opacity:1;border-radius:8px;width:44px;height:44px;position:absolute;top:0;right:0}.toast{border-radius:12px;margin-top:1rem;padding:.75rem 1rem;font-weight:600}@media (width<=760px){.app-shell{padding-left:.75rem;padding-right:.75rem}.pokemon-card{min-width:100%!important}.hero-card{padding:1.2rem}}.navbar{z-index:1000;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe6;border-bottom:1px solid #e5e7eb;justify-content:space-between;gap:2rem;padding:1rem 1.5rem;display:flex;position:sticky;top:0;box-shadow:0 4px 20px #0000000d}.nav-track{border:1px solid #6366f133;width:100%;height:42px;position:relative;overflow:hidden;box-shadow:inset 0 0 12px #6366f114}.nav-gif{background-image:url(https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/showdown/6.gif);background-position:50%;background-size:cover;border-radius:50%;width:40px;height:40px;animation:5s ease-in-out infinite alternate navGifMove;position:absolute;top:50%;left:0}@keyframes navGifMove{0%{opacity:1;left:0;transform:translateY(-50%)scaleX(-1)}to{opacity:1;left:calc(100% - 52px);transform:translateY(-50%)scale(1)}}.navbar a{color:#374151;border-radius:12px;padding:.7rem 1.2rem;font-weight:700;text-decoration:none;transition:all .2s}.navbar a.active{color:#fff;background:#4338ca;border-radius:12px;padding:.7rem 1.2rem;box-shadow:0 4px 20px #4338ca1a}.home-page{min-height:100vh}.home-content{max-width:800px;margin:0 auto;padding:3rem 2rem}.features-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-top:2rem;display:grid}.feature-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:2rem;box-shadow:0 10px 40px #0f172a0f}.feature-card h3{color:#4338ca;margin:0 0 .5rem}.home-actions{text-align:center;margin-top:2rem}.btn{border-radius:16px;padding:1rem 2rem;font-weight:700;text-decoration:none;transition:all .2s;display:inline-block}.btn-primary{color:#fff;background:#4338ca}.btn-primary:hover{background:#3730a3;transform:translateY(-2px);box-shadow:0 10px 30px #4338ca4d}.toast{border-radius:18px;margin-top:1rem;padding:1rem 1.15rem}.toast.error{color:#991b1b;background:#fee2e2;border:1px solid #fecaca}@media (width<=650px){.hero-card{padding:1.4rem}.pagination-row button{flex:1;width:auto}}
