.survivor-filters{display:grid;grid-template-columns:minmax(180px,2fr) 1fr 1fr;gap:14px;padding:20px;border:1px solid #34415b;border-radius:14px;background:#131d32}.survivor-filters label{display:grid;gap:8px;font-size:12px;color:#b6c6df}.survivor-filters input,.survivor-filters select{width:100%;min-width:0;min-height:44px;border:1px solid #46546d;border-radius:8px;background:#0d1525;color:#ecf2ff;padding:10px;font:inherit}.survivor-ranking #survivor-count{font-size:13px;color:#b6c6df}.survivor-group{border:1px solid #33415d;border-radius:14px;margin:18px 0;background:#10182b;scroll-margin-top:110px}.survivor-group>summary{cursor:pointer;display:flex;align-items:center;gap:16px;padding:16px;list-style:none}.survivor-group>summary::-webkit-details-marker{display:none}.survivor-group>summary:after{content:'+';margin-left:auto;font-size:25px;color:#c5d4eb}.survivor-group[open]>summary:after{content:'−'}.survivor-group summary .ranking-letter{height:48px;flex-basis:48px;border-radius:10px}.survivor-group summary h2{font-size:18px;line-height:1.4;margin:0;color:#edf2fa}.survivor-group summary>span:last-of-type{font-size:11px;color:#a4b7d5}.rank-C{background:#91c7a6}.rank-D{background:#9dafe0}.survivor-tier-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:0 16px 16px}.survivor-pick{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;padding:15px 7px 12px;border:1px solid #34415b;border-radius:11px;background:#18233a;color:#e3edfd;text-decoration:none}.survivor-pick:hover,.survivor-pick:focus-visible{border-color:#ffda64;background:#22314b}.survivor-position{position:absolute;left:8px;top:7px;font-size:10px;color:#b5c7e5}.survivor-pick img{object-fit:contain;image-rendering:pixelated;margin:7px 0 4px}.survivor-pick strong{font-size:12px;overflow-wrap:anywhere}.survivor-pick>small{font-size:10px;color:#9eb2d3}.survivor-time{font-size:13px;color:#ffda64;margin-top:6px}.survivor-time small{display:block;font-size:9px;color:#b0c1dd;margin-top:3px}.survivor-pick[hidden],.survivor-group[hidden]{display:none}.survivor-profile{max-width:1040px;margin:auto;padding:0 24px 50px}.survivor-profile .page-head{padding-left:0;padding-right:0}.survivor-en-name{font-size:.55em;color:var(--muted);font-weight:500}.survivor-tier-badge{font-size:22px;color:var(--lime)}.survivor-profile-nav{margin:28px 0}.survivor-profile-section{scroll-margin-top:120px;margin:36px 0}.survivor-profile-section>h2{font-size:clamp(24px,4vw,32px);line-height:1.3}.survivor-profile-section>p{color:var(--muted);line-height:1.85;max-width:900px}.survivor-build-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.survivor-build{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--panel,#141b17);min-width:0}.survivor-build-top{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.survivor-build-top h3{font-size:22px;margin:0}.survivor-best{font-size:10px;padding:5px 8px;border:1px solid var(--lime);border-radius:6px;color:var(--lime)}.survivor-duration{font-size:12px;color:var(--muted);line-height:1.6}.survivor-duration strong{font-size:24px;color:var(--lime)}.survivor-facts{display:grid;gap:12px;font-size:13px;line-height:1.5}.survivor-facts>div{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-top:1px solid var(--line);padding-top:10px}.survivor-facts dt{color:var(--muted)}.survivor-facts dd{margin:0;overflow-wrap:anywhere}.survivor-facts a{color:var(--lime)}.survivor-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.survivor-stats>div{border:1px solid var(--line);background:var(--panel,#141b17);padding:18px;border-radius:12px;min-width:0}.survivor-stats dt{font-size:12px;color:var(--muted);line-height:1.5}.survivor-stats dd{font-size:28px;font-weight:700;margin:12px 0 0;color:var(--lime)}
@media(max-width:900px){.survivor-tier-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.survivor-group summary{flex-wrap:wrap;gap:10px}.survivor-group summary>span:last-of-type{flex-basis:65%;padding-left:58px;box-sizing:content-box}.survivor-group summary:after{position:absolute;right:16px}.survivor-group summary{position:relative}.survivor-group summary h2{font-size:16px;max-width:calc(100% - 92px)}}
@media(max-width:600px){.survivor-filters{grid-template-columns:1fr 1fr;padding:14px}.survivor-filters label:first-child{grid-column:1/-1}.survivor-tier-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 10px 10px}.survivor-pick{padding-left:5px;padding-right:5px}.survivor-profile{padding:0 16px 32px}.survivor-build-grid{grid-template-columns:1fr}.survivor-build{padding:18px}.survivor-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.survivor-stats>div{padding:15px}.survivor-stats dd{font-size:25px}.survivor-group summary .ranking-letter{height:42px;flex-basis:42px}}

.survivor-profile-faq details{border:1px solid #34415b;border-radius:10px;background:#10182b;margin:12px 0;overflow:hidden}.survivor-profile-faq summary{cursor:pointer;padding:18px 20px;font-weight:650;line-height:1.5;color:#edf3ff}.survivor-profile-faq summary:hover{background:#19253d}.survivor-profile-faq summary:focus-visible{outline:2px solid #91b7ff;outline-offset:-3px}.survivor-profile-faq details[open] summary{border-bottom:1px solid #34415b}.survivor-profile-faq details p{padding:16px 20px;margin:0;line-height:1.8;overflow-wrap:anywhere}.survivor-profile-faq{scroll-margin-top:110px}

.pokemon-matchups h3{font-size:21px;line-height:1.4;margin:30px 0 12px}.pokemon-matchups h4{font-size:16px;line-height:1.5;margin:0 0 14px}.matchup-chips{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:12px 0}.matchup-chips li{display:flex;align-items:center;gap:7px;white-space:nowrap}.matchup-chips strong{font-size:13px;color:var(--lime)}.matchup-defense{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.matchup-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.matchup-defense article,.matchup-team{min-width:0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--panel,#141b17)}.matchup-defense p,.matchup-team p{font-size:14px;line-height:1.75;color:var(--muted)}.matchup-team .matchup-chips{display:grid;justify-content:start}.pokemon-matchups .table-scroll{margin:18px 0}.pokemon-matchups th{vertical-align:top}.pokemon-matchups .notice{margin-top:24px}@media(max-width:760px){.matchup-team-grid{grid-template-columns:1fr}.matchup-team .matchup-chips{display:flex;flex-wrap:wrap}}@media(max-width:600px){.matchup-defense{grid-template-columns:1fr}.matchup-defense article,.matchup-team{padding:16px}}

.pokemon-neighbors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;margin:28px 0 0;border:1px solid var(--line);border-radius:14px;background-color:var(--panel,#141b17);background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:72px 72px;overflow:hidden}.pokemon-neighbor{display:flex;align-items:center;gap:14px;min-width:0;min-height:108px;padding:20px;text-decoration:none;color:var(--text,#edf3ed);transition:background .15s ease}.pokemon-neighbor:hover{background:rgba(184,231,107,.08)}.pokemon-neighbor:focus-visible{outline:2px solid var(--lime);outline-offset:-3px;border-radius:12px}.pokemon-neighbor-prev{grid-column:1}.pokemon-neighbor-next{grid-column:2;justify-content:flex-end;text-align:right}.pokemon-neighbor-next .pokemon-neighbor-arrow{order:3}.pokemon-neighbor-next img{order:2}.pokemon-neighbor img{flex:none;object-fit:contain;image-rendering:pixelated}.pokemon-neighbor-arrow{flex:none;font-size:36px;line-height:1;color:var(--lime)}.pokemon-neighbor-text{display:grid;gap:6px;min-width:0;line-height:1.35}.pokemon-neighbor-text strong{font-size:19px;overflow-wrap:anywhere}.pokemon-neighbor-text>span{font-size:14px;color:var(--muted)}@media(max-width:600px){.pokemon-neighbors{gap:0;background-size:48px 48px}.pokemon-neighbor{gap:7px;min-height:96px;padding:12px 8px}.pokemon-neighbor img{width:36px;height:36px}.pokemon-neighbor-arrow{font-size:27px}.pokemon-neighbor-text strong{font-size:14px}.pokemon-neighbor-text>span{font-size:12px}}@media(prefers-reduced-motion:reduce){.pokemon-neighbor{transition:none}}
