.home-popular-teams{padding-top:12px;padding-bottom:48px}
.home-popular-teams .section-head{margin-bottom:28px;align-items:center}
.popular-team-group+.popular-team-group{margin-top:28px}
.popular-team-group>h3{font:600 14px/1.4 Arial,Helvetica,sans-serif;color:#5e7066;margin:0 0 12px;letter-spacing:.015em}
.popular-teams-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.popular-team-card{display:flex;flex-direction:column;align-items:center;min-width:0;padding:22px 12px 18px;background:#fff;border:1px solid #e0e6df;border-radius:12px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.popular-team-card:hover{transform:translateY(-3px);border-color:#a9c0af;box-shadow:0 6px 18px #143b320d}
.popular-team-card:focus-visible{outline:3px solid #668c73;outline-offset:3px}
.popular-team-crest{height:110px;width:100%;display:grid;place-items:center;margin-bottom:16px}
.popular-team-crest img{display:block;max-width:100px;max-height:110px;width:100%;height:100%;object-fit:contain}
.popular-team-name{font:700 14px/1.4 Arial,Helvetica,sans-serif;text-align:center;color:#173e34;min-height:40px;display:flex;align-items:center;justify-content:center}
.team-crest-preview{padding:24px;max-height:210px}
.home-recommendations-settings{margin:32px 0}
.recommendation-editors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.recommendation-editor{border:1px solid #dbe2d8;background:#fff;padding:18px;min-width:0}
.recommendation-editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:14px}
.recommendation-editor-head strong{font-size:15px}
.recommendation-move{display:flex;gap:6px}
.recommendation-move button{border:1px solid #dbe2d8;background:#f7f8f4;border-radius:4px;width:32px;height:30px;cursor:pointer}
.recommendation-move button:disabled{opacity:.35;cursor:default}
.recommendation-preview{display:flex;gap:14px;align-items:center;margin-bottom:16px;min-height:86px}
.recommendation-preview img{width:70px;height:86px;object-fit:contain;background:#fff;border:1px solid #edf0e9}
.recommendation-preview a{font-size:14px;font-weight:700;line-height:1.5;color:#173e34;overflow-wrap:anywhere}
.recommendation-preview small{display:block;color:#68786e;margin-top:5px}
.recommendation-search{position:relative}
.recommendation-search label{display:grid;gap:7px;font-size:13px;font-weight:700}
.recommendation-search input{width:100%;padding:11px 12px;border:1px solid #cbd5c8;min-width:0;background:#fff;font:inherit}
.recommendation-results{position:absolute;top:100%;left:0;right:0;z-index:10;max-height:340px;overflow:auto;background:#fff;border:1px solid #cbd5c8;box-shadow:0 8px 24px #143b3218}
.recommendation-results[hidden]{display:none}
.recommendation-result{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-bottom:1px solid #edf0e9;background:white;text-align:left;cursor:pointer;color:#173e34;font-size:12px;line-height:1.4}
.recommendation-result img{width:42px;height:48px;object-fit:contain;flex-shrink:0}
.recommendation-result:hover,.recommendation-result:focus{background:#eff4eb;outline:none}
.recommendation-message{font-size:12px;color:#637768;margin:8px 0 0;min-height:18px}
.recommendation-save{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
@media(max-width:1000px){.popular-teams-grid{gap:10px}.popular-team-card{padding:18px 8px 12px}.popular-team-name{font-size:12px}.popular-team-crest img{max-width:82px;max-height:96px}.recommendation-editors{grid-template-columns:1fr}}
@media(max-width:760px){.home-popular-teams{padding-top:0;padding-bottom:32px}.home-popular-teams .section-head{align-items:flex-start}.popular-teams-grid{grid-template-columns:repeat(6,128px);overflow-x:auto;padding:4px 2px 12px;scroll-snap-type:x proximity}.popular-team-card{scroll-snap-align:start}.popular-team-crest{height:90px;margin-bottom:12px}.popular-team-crest img{max-height:90px}.popular-team-name{font-size:13px}.popular-team-group+.popular-team-group{margin-top:18px}}
@media(prefers-reduced-motion:reduce){.popular-team-card{transition:none}.popular-team-card:hover{transform:none}}
