.pokemon-types,.pokemon-type,.catalog-option-types{display:inline-flex;align-items:center;gap:5px}.pokemon-type{font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap;color:#4d586c}.pokemon-types{flex-wrap:wrap;gap:10px}
.pokemon-heading .pokemon-identity{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;flex:1}.party-slot .pokemon-heading{flex:1;flex-wrap:nowrap;gap:10px}.party-slot h3 .slot-number{padding-top:29px}.matchup-forms{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 2px}.pokemon-matchup-panel .matchup-form-button{border:1px solid #cbd8e7;background:#f4f7fb;border-radius:4px;min-height:34px;padding:6px 9px;color:#52657c;font:700 11px/1.5 'Noto Sans JP',sans-serif;cursor:pointer}.pokemon-matchup-panel .matchup-form-button[aria-pressed=true]{background:#254864;color:#fff;border-color:#254864}.matchup-form-summary{display:flex;align-items:center;gap:10px;margin-top:5px}.matchup-form-summary strong{display:block;font-size:13px;margin-bottom:5px}.matchup-type-change{color:#4d6382;font-size:12px;font-weight:700;margin:4px 0 10px}.matchup-form-content .matchup-caption{margin-top:9px}
.party-slot .pokemon-effect-trigger{padding:0;min-height:0;border:0;border-bottom:1px dashed #9faebf;border-radius:0;background:none;color:inherit;font:inherit;text-align:left;line-height:inherit;cursor:help;overflow-wrap:anywhere}.party-slot .pokemon-effect-trigger:hover{color:var(--accent,#526b8e);background:none}.pokemon-effect-text{margin:8px 0 14px;font-size:14px;line-height:1.9;font-weight:500;overflow-wrap:anywhere}.pokemon-effect-source{display:inline-block;color:#718096;font-size:10px;text-decoration:underline;text-underline-offset:3px}.pokemon-effect-panel .matchup-caption{margin-bottom:5px}
.party-slot dl>.party-stats-row{grid-template-columns:1fr;gap:5px}.party-stats-row>dt{white-space:nowrap}.party-stats-row .party-ev-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 10px}
.party-value-points{font-size:11px;color:#788293;margin-left:3px;font-variant-numeric:tabular-nums}.party-stat-entry{display:flex;align-items:center;gap:5px;min-width:0;color:var(--ink,#23344b)}.party-stat-actual{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;min-width:1.5em}.party-stat-points{display:flex;align-items:center;gap:2px;min-width:0;color:#6b7d90;font-size:13px}.party-edit-slot .party-stat-points input{width:42px;min-height:32px;padding:4px;text-align:center;font-size:14px;-moz-appearance:textfield}.party-stat-points input::-webkit-inner-spin-button,.party-stat-points input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.party-stat-base{font-size:10px;color:#768a9e;font-weight:500}
.pokemon-heading{min-width:0;display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap}.pokemon-name{font:inherit;color:inherit}.pokemon-heading .pokemon-matchup-trigger{padding:0 0 2px;border:0;border-bottom:1px dashed #98a8bd;border-radius:0;background:none;min-height:0;text-align:left;font:inherit;line-height:1.5;cursor:help;overflow-wrap:anywhere}.pokemon-heading .pokemon-matchup-trigger:hover{color:var(--accent,#526b8e);background:none}.party-slot h3{align-items:flex-start;gap:10px}.party-slot h3 .slot-number{padding-top:6px}.party-moves{gap:8px 12px}.pokemon-move{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0}.pokemon-move-name{overflow-wrap:anywhere}.pokemon-move .pokemon-type{flex:none}
.pokemon-matchup-panel{position:fixed;z-index:10000;max-height:calc(100dvh - 24px);overflow:auto;padding:15px 17px;background:#fff;color:#24324a;border:1px solid #ced9e5;border-radius:9px;box-shadow:0 8px 36px #18293e2b;font:500 12px/1.5 'Noto Sans JP',sans-serif}.matchup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.matchup-heading strong{font-size:16px}.pokemon-matchup-panel .matchup-close{padding:4px 7px;min-height:30px;font-size:11px;border:1px solid #dce3eb;border-radius:4px;color:#58667a;background:#fff}.matchup-caption{color:#718096;font-size:11px;margin:4px 0 12px}.matchup-row{display:grid;grid-template-columns:43px 1fr;align-items:start;gap:9px;padding:9px 0;border-top:1px solid #edf0f4}.matchup-multiplier{font-size:15px;font-variant-numeric:tabular-nums;line-height:23px}.matchup-row[data-multiplier="4"] .matchup-multiplier,.matchup-row[data-multiplier="2"] .matchup-multiplier{color:#bd3c4e}.matchup-row[data-multiplier="0.5"] .matchup-multiplier,.matchup-row[data-multiplier="0.25"] .matchup-multiplier{color:#2d71a7}.matchup-types{display:flex;flex-wrap:wrap;gap:8px 12px}.matchup-note{display:block;margin-top:8px;color:#718096;font-size:10px}
.catalog-input-shell{display:flex;position:relative;min-width:0;width:100%}.party-edit-slot .catalog-input{padding-right:35px}.catalog-toggle{position:absolute;inset:1px 1px 1px auto;width:32px;padding:0;min-height:0;border:0;border-left:1px solid #e2e9ef;border-radius:0 3px 3px 0;background:#f7fafc;cursor:pointer}.catalog-toggle:after{content:'';display:block;width:6px;height:6px;border-right:2px solid #667c91;border-bottom:2px solid #667c91;transform:rotate(45deg);margin:-3px auto 0}.catalog-toggle:disabled{cursor:default;opacity:.5}.catalog-menu{position:fixed;z-index:10001;background:#fff;color:#25354a;border:1px solid #adc2d2;border-radius:6px;box-shadow:0 8px 30px #18354d26;overflow:hidden;font:500 14px/1.5 'Noto Sans JP',sans-serif}.catalog-options{overflow-y:auto;overscroll-behavior:contain}.catalog-option{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:8px 12px;cursor:pointer;border-bottom:1px solid #eef2f5}.catalog-option[aria-selected=true]{background:#e9f2f8;color:#0c5476}.catalog-option-name{overflow-wrap:anywhere}.catalog-option-types{flex:none}.catalog-result-count{padding:7px 12px;background:#f5f8fa;border-top:1px solid #dae3ea;font-size:11px;color:#64788b}
@media(max-width:600px){.pokemon-heading{gap:6px 12px}.pokemon-heading>.pokemon-types{width:100%}.pokemon-matchup-panel{padding:14px}.catalog-option{min-height:44px}.catalog-menu{font-size:15px}.party-moves{grid-template-columns:1fr;column-gap:16px}}
@media(max-width:360px){.party-edit-fields,.party-move-fields{grid-template-columns:1fr}.party-stats-row .party-ev-values,.party-ev-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.party-moves{grid-template-columns:1fr}.pokemon-move{justify-content:flex-start}.pokemon-move .pokemon-type{margin-left:auto}}

/* User-provided type icons; species artwork remains excluded. */
.pokemon-type{border:0;padding:0;background:transparent;color:#364354;font-size:12px;font-weight:700}.pokemon-type.is-compact{font-size:10px;padding:0}.party-slot .pokemon-heading{gap:0}.pokemon-types{gap:5px}.matchup-form-summary{margin:12px 0}.catalog-option-types{flex-wrap:wrap;justify-content:flex-end;max-width:45%}.pokemon-move-name{min-width:0}.party-slot h3 .slot-number{padding-top:5px}

.pokemon-type img{display:block;width:20px;height:20px;object-fit:contain;flex:none}.pokemon-type.is-compact img{width:21px;height:21px}
