:root{--bg:#f4f5fb;--surface:#fff;--border:#e2e4f0;--text:#1c1e2b;--muted:#6b6f85;--primary:#3b4cca;--primary-contrast:#fff;--danger:#e0384a;--mult-x4:#e0384a;--mult-x2:#f0883e;--mult-x1:#9ba0b5;--mult-half:#62c17a;--mult-quarter:#2f9e52;--mult-x0:#2a2c3a;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;padding:0}html{touch-action:manipulation;-webkit-text-size-adjust:100%}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;touch-action:manipulation;font-family:Segoe UI,Roboto,Helvetica,Arial,sans-serif}#root{min-height:100vh}button{cursor:pointer;font-family:inherit}img{max-width:100%}.app-shell{background:var(--bg);flex-direction:column;max-width:480px;min-height:100vh;margin:0 auto;display:flex;position:relative}.app-content{padding-top:env(safe-area-inset-top);flex:1;padding-bottom:84px;overflow-x:hidden}.bottom-nav{background:var(--surface);border-top:1px solid var(--border);width:100%;max-width:480px;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:20;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav__item{color:var(--muted);border-radius:12px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:6px 0;font-size:.75rem;text-decoration:none;display:flex}.bottom-nav__icon{line-height:0;display:flex}.nav-icon__fill{fill:currentColor;stroke:none;fill-opacity:0;transition:fill-opacity .15s}.nav-icon__accent{fill:currentColor;stroke:none;transition:fill .15s}.bottom-nav__item--active .nav-icon__fill{fill-opacity:1}.bottom-nav__item--active .nav-icon__accent{fill:var(--surface)}.bottom-nav__item--active{color:var(--primary);background:#3b4cca14}.page{padding:20px 16px 24px}.page__title{margin:4px 0 16px;font-size:1.5rem}.page__hint{color:var(--muted);margin-top:16px;font-size:.9rem;line-height:1.4}.page__loading,.page__error{color:var(--muted);margin-top:16px}.page__error{color:var(--danger)}.link-back{color:var(--primary);background:0 0;border:none;padding:4px 0 12px;font-size:.95rem}.link-more{color:var(--primary);background:0 0;border:none;padding:8px 0;font-size:.9rem;font-weight:600}.pokemon-search{position:relative}.pokemon-search__input{border:1px solid var(--border);background:var(--surface);border-radius:14px;outline:none;width:100%;padding:14px 16px;font-size:1rem}.pokemon-search__input:focus{border-color:var(--primary)}.pokemon-search__suggestions{background:var(--surface);border:1px solid var(--border);z-index:30;border-radius:14px;max-height:320px;margin:0;padding:4px;list-style:none;position:absolute;top:calc(100% + 6px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 24px #1416281f}.pokemon-search__suggestions li{border-radius:10px;align-items:center;gap:10px;padding:8px;display:flex}.pokemon-search__suggestions li:hover{background:var(--bg)}.pokemon-search__suggestions img{object-fit:contain;width:36px;height:36px}.pokemon-search__dex{color:var(--muted);min-width:40px;font-size:.8rem}.pokemon-search__name{text-transform:capitalize;font-weight:500}.pokemon-search--wide .pokemon-search__suggestions{text-align:left;max-height:min(420px,55vh)}.pokemon-search--wide .pokemon-search__suggestions li{gap:12px;padding:10px}.pokemon-search--wide .pokemon-search__suggestions img{width:44px;height:44px}.pokemon-search--wide .pokemon-search__name{font-size:1.05rem}.type-badge{color:#fff;text-transform:uppercase;letter-spacing:.02em;border-radius:999px;align-items:center;padding:4px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.type-row{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.type-row--small .type-badge{padding:2px 8px;font-size:.65rem}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--surface);border:1px solid var(--border);text-transform:capitalize;border-radius:999px;padding:6px 12px;font-size:.85rem}.chip--move{cursor:pointer;align-items:center;gap:6px;display:inline-flex}.chip--clickable{font:inherit;cursor:pointer}.pokemon-detail__ability-hint{margin:-4px 0 10px}.pokemon-detail__header{align-items:center;gap:16px;display:flex}.pokemon-detail__art{object-fit:contain;width:120px;height:120px}.pokemon-detail__dex{color:var(--muted);font-size:.85rem}.pokemon-detail__name{text-transform:capitalize;margin:2px 0 6px;font-size:1.4rem}.pokemon-detail__actions{flex-wrap:wrap;gap:10px;margin:20px 0;display:flex}.pokemon-detail__section{margin-top:24px}.pokemon-detail__section h2{margin-bottom:10px;font-size:1.05rem}.stat-bars{flex-direction:column;gap:8px;display:flex}.stat-bar{grid-template-columns:70px 1fr 36px;align-items:center;gap:8px;font-size:.85rem;display:grid}.stat-bar__track{background:var(--border);border-radius:999px;height:8px;overflow:hidden}.stat-bar__fill{background:var(--primary);border-radius:999px;height:100%}.stat-bar__value{text-align:right;color:var(--muted)}.btn{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;padding:10px 16px;font-size:.9rem;font-weight:600}.btn--primary{background:var(--primary);border-color:var(--primary);color:var(--primary-contrast)}.btn--danger{color:var(--danger);border-color:var(--danger)}.btn--small{padding:6px 10px;font-size:.78rem}.btn:disabled{opacity:.5;cursor:not-allowed}.team-grid{grid-template-columns:1fr 1fr;gap:12px;margin-top:16px;display:grid}.team-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:12px;display:flex}.team-card__info{width:100%;color:inherit;text-align:center;background:0 0;border:none;flex-direction:column;align-items:center;gap:6px;padding:0;display:flex}.team-card__sprite{object-fit:contain;width:64px;height:64px}.team-card__name{text-transform:capitalize;font-weight:600}.team-card__moves{flex-direction:column;gap:4px;width:100%;margin:4px 0;padding:0;list-style:none;display:flex}.team-card__moves li{text-transform:capitalize;justify-content:center;align-items:center;gap:6px;font-size:.75rem;display:flex}.team-card__moves-empty{color:var(--muted);font-size:.75rem}.team-card__actions{gap:6px;margin-top:6px;display:flex}.team-card--empty{color:var(--muted);background:0 0;border-style:dashed;justify-content:center;min-height:160px}.team-card__plus{font-size:1.8rem;line-height:1}.team-card--searching{align-items:stretch}.move-editor{background:var(--surface);border:1px solid var(--border);border-radius:16px;margin-bottom:16px;padding:16px}.move-editor__header{align-items:center;gap:12px;display:flex}.move-editor__header img{object-fit:contain;width:72px;height:72px}.move-editor__header h2{text-transform:capitalize;margin:0 0 4px}.move-editor__hint{color:var(--muted);margin:12px 0 8px;font-size:.85rem}.move-editor__search{border:1px solid var(--border);border-radius:10px;width:100%;margin:10px 0;padding:10px 12px;font-size:16px}.move-editor__list{border:1px solid var(--border);border-radius:10px;max-height:220px;margin:0;padding:0;list-style:none;overflow-y:auto}.move-editor__item{text-transform:capitalize;border-bottom:1px solid var(--border);justify-content:space-between;padding:10px 12px;font-size:.9rem;display:flex}.move-editor__item:last-child{border-bottom:none}.move-editor__item--selected{color:var(--primary);background:#3b4cca14}.rival-page__search-bar{top:env(safe-area-inset-top);background:var(--bg);z-index:10;padding-top:4px;padding-bottom:8px;position:sticky}.rival-page__recent-wrap{margin-bottom:4px}.rival-page__recent-label{color:var(--muted);margin-bottom:4px;font-size:.75rem;display:block}.rival-page__recent{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.recent-chip{border:1px solid var(--border);background:var(--surface);border-radius:50%;flex:none;width:44px;height:44px;padding:4px}.recent-chip img{object-fit:contain;width:100%;height:100%}.rival-sheet__header{align-items:center;gap:16px;margin-top:12px;display:flex}.rival-sheet__header img{object-fit:contain;width:110px;height:110px}.rival-sheet__info{flex:1;min-width:0}.rival-sheet__dex{color:var(--muted);font-size:.85rem}.rival-sheet__header h1{text-transform:capitalize;margin:2px 0 4px;font-size:1.6rem}.rival-sheet__clear{border:1px solid var(--border);background:var(--surface);width:32px;height:32px;color:var(--muted);border-radius:50%;flex-shrink:0;align-self:flex-start;padding:0;font-size:.9rem}.rival-section{margin-top:22px}.rival-section h2{margin-bottom:10px;font-size:1.05rem}.rival-section--weak h2{font-size:1.15rem}.rival-section__empty{color:var(--muted);font-size:.85rem}.mult-grid{flex-wrap:wrap;gap:8px;display:flex}.mult-chip{color:#fff;border-radius:14px;align-items:center;gap:8px;padding:8px 12px;font-size:1rem;font-weight:700;display:flex}.mult-chip__value{font-size:1.15rem}.mult-chip--x4{background:var(--mult-x4)}.mult-chip--x2{background:var(--mult-x2)}.mult-chip--x1{background:var(--mult-x1)}.mult-chip--half{background:var(--mult-half)}.mult-chip--quarter{background:var(--mult-quarter)}.mult-chip--x0{background:var(--mult-x0)}.best-options{flex-direction:column;gap:10px;display:flex}.best-option-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;align-items:center;gap:10px;padding:10px 12px;display:flex}.best-option-card img{object-fit:contain;width:48px;height:48px}.best-option-card__info{flex:1}.best-option-card__name{text-transform:capitalize;font-weight:700}.best-option-card__move{text-transform:capitalize;align-items:center;gap:6px;margin-top:4px;font-size:.85rem;display:flex}.best-option-card__mult{color:#fff;white-space:nowrap;border-radius:12px;padding:6px 10px;font-size:1.1rem;font-weight:800}.ranked-list__tier{margin-bottom:14px}.ranked-list__tier-label{color:#fff;border-radius:999px;margin-bottom:6px;padding:2px 10px;font-size:.8rem;font-weight:700;display:inline-block}.ranked-list__status .ranked-list__tier-label{background:var(--muted)}.ranked-list__row{text-transform:capitalize;align-items:center;gap:8px;padding:6px 0;font-size:.85rem;display:flex}.ranked-list__row--status{opacity:.7}.ranked-list__row img{object-fit:contain;width:28px;height:28px}.ranked-list__member{min-width:72px;font-weight:600}.login-page{min-height:100vh;padding:calc(24px + env(safe-area-inset-top)) 24px 24px;justify-content:center;align-items:center;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;flex-direction:column;gap:12px;width:100%;max-width:320px;padding:32px 24px;display:flex;box-shadow:0 12px 32px #14162814}.login-card h1{text-align:center;color:var(--primary);margin:0 0 12px}.login-input{border:1px solid var(--border);border-radius:12px;outline:none;padding:12px 14px;font-size:1rem}.login-input:focus{border-color:var(--primary)}.login-card .btn--primary{margin-top:8px}.modal-overlay{z-index:50;background:#14162873;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal-card{background:var(--surface);border-radius:18px;width:100%;max-width:360px;padding:20px;box-shadow:0 20px 48px #1416283d}.modal-card__header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.modal-card__header h2{text-transform:capitalize;margin:0;font-size:1.1rem}.modal-card__close{border:1px solid var(--border);width:28px;height:28px;color:var(--muted);background:0 0;border-radius:50%;flex-shrink:0;padding:0;font-size:.85rem}.modal-card__body{color:var(--text);font-size:.9rem;line-height:1.5}.login-disclaimer{color:var(--muted);text-align:center;margin:12px 0 0;font-size:.75rem;line-height:1.4}.team__logout{margin:28px auto 0;display:block}.evo-chain{padding-bottom:4px;overflow-x:auto}.evo-node{align-items:center;gap:4px;display:flex}.evo-node__poke{border:1px solid var(--border);background:var(--surface);width:72px;color:var(--text);font:inherit;text-transform:capitalize;cursor:pointer;border-radius:12px;flex-direction:column;flex-shrink:0;align-items:center;padding:4px;font-size:.75rem;display:flex}.evo-node__poke img{width:56px;height:56px}.evo-node__poke span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.evo-node__poke--current{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);cursor:default}.evo-node__branches{flex-direction:column;gap:6px;display:flex}.evo-branch{align-items:center;gap:4px;display:flex}.evo-branch__method{text-align:center;width:64px;color:var(--muted);flex-direction:column;flex-shrink:0;align-items:center;line-height:1.15;display:flex}.evo-branch__arrow{font-size:1.1rem}.evo-branch__method small{text-transform:capitalize;font-size:.65rem}.move-editor__level{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;font-weight:600;display:flex}.move-editor__level input{border:1px solid var(--border);background:var(--surface);width:72px;color:var(--text);font:inherit;border-radius:10px;padding:8px}.move-editor__level span{color:var(--muted);flex-basis:100%;font-size:.75rem;font-weight:400}.team-card__level{color:var(--muted);font-size:.75rem;font-weight:400}.rival-sheet__level{color:var(--muted);align-items:center;gap:6px;margin-top:6px;font-size:.85rem;display:inline-flex}.rival-sheet__level input{border:1px solid var(--border);background:var(--surface);width:56px;color:var(--text);font:inherit;border-radius:8px;padding:4px 6px}.best-option-card__info{min-width:0}.damage-line{color:var(--muted);align-items:center;gap:6px;margin-top:4px;font-size:.72rem;display:flex}.damage-line__track{background:var(--border);border-radius:3px;flex:0 0 56px;height:6px;overflow:hidden}.damage-line__fill{background:var(--primary);height:100%}.ranked-list__damage{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.75rem}.form-list{flex-wrap:wrap;gap:8px;display:flex}.form-chip{border:1px solid var(--border);background:var(--surface);width:80px;color:var(--text);font:inherit;text-transform:capitalize;text-align:center;cursor:pointer;border-radius:12px;flex-direction:column;align-items:center;padding:4px;font-size:.72rem;display:flex}.form-chip img{width:56px;height:56px}.form-chip--current{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary);cursor:default}.compare-slots{align-items:flex-start;gap:8px;display:flex}.compare-slots__vs{color:var(--muted);align-self:center;font-weight:800}.compare-slot{border:1px solid var(--border);background:var(--surface);border-radius:16px;flex-direction:column;flex:1;align-items:center;gap:4px;min-width:0;padding:8px;display:flex}.compare-slot img{aspect-ratio:1;width:100%;max-width:120px}.compare-slot__name{text-transform:capitalize;text-align:center;overflow-wrap:anywhere;font-weight:700}.compare-slot--empty{align-items:stretch;min-height:120px}.compare-stats{flex-direction:column;gap:8px;display:flex}.compare-row{grid-template-columns:32px 1fr 64px 1fr 32px;align-items:center;gap:6px;font-size:.85rem;display:grid}.compare-row--total{border-top:1px solid var(--border);margin-top:4px;padding-top:8px;font-weight:700}.compare-row__label{text-align:center;color:var(--muted);font-size:.75rem}.compare-row__value{text-align:center;color:var(--muted)}.compare-row__value--win{color:var(--text);font-weight:800}.compare-row__bar{background:var(--border);border-radius:4px;height:8px;display:flex;overflow:hidden}.compare-row__bar div{background:var(--primary);height:100%}.compare-row__bar--a{justify-content:flex-end}.compare-row__bar--b div{background:var(--mult-x2)}.compare-advantage{flex-direction:column;gap:8px;display:flex}.compare-advantage__row{align-items:center;gap:8px;display:flex}.compare-advantage__names{text-transform:capitalize;flex:1;min-width:0;font-size:.85rem}.compare-advantage__mult{color:#fff;border-radius:10px;padding:4px 10px;font-weight:800}.wiki-links{gap:8px;margin:12px 0;display:flex}.dex-filters{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:12px}.dex-filters h2{margin:0 0 8px;font-size:1rem}.dex-filters__grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.dex-filters__grid label{color:var(--muted);flex-direction:column;gap:4px;font-size:.75rem;display:flex}.dex-filters select{border:1px solid var(--border);background:var(--bg);width:100%;color:var(--text);font:inherit;border-radius:10px;padding:8px;font-size:.9rem}.dex-filters__check{align-items:center;gap:8px;margin-top:10px;font-size:.85rem;display:flex}.dex-results__count{color:var(--muted);margin:16px 0 8px;font-size:.85rem}.dex-results{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.dex-results button{border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;text-align:left;cursor:pointer;border-radius:12px;align-items:center;gap:8px;padding:4px 12px 4px 4px;display:flex}.dex-results img{flex-shrink:0;width:48px;height:48px}.dex-results__info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.dex-results__name{text-transform:capitalize;text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.dex-results__value{font-size:1.1rem;font-weight:800}.dex-results__dex{color:var(--muted);font-size:.85rem}
