/* Compact sections keep view choices and league badges together on the page. */
body[data-palette] #explore{max-width:1040px}
body[data-palette] #explore .explore-heading{padding:20px 24px;margin-bottom:16px}
body[data-palette] #explore .explore-logo{width:164px;margin-bottom:12px}
body[data-palette] #explore .explore-heading h1{font-size:28px}
#explore .explore-destination-tree.explore-direct{display:grid;grid-template-rows:none;gap:10px;margin:0;padding:0}
#explore .explore-direct::before,#explore .explore-direct>*::before,#explore .explore-direct>*::after{display:none}
body[data-palette] #explore .explore-direct-branch{position:relative;min-width:0;margin:0;padding:0;border-radius:9px}
body[data-palette] #explore .explore-direct-branch h2{margin:0;letter-spacing:0}
body[data-palette] #explore .explore-branch-toggle{display:grid;grid-template-columns:22px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;min-height:70px;margin:0;padding:14px 16px;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--ink);text-align:left;cursor:pointer}
#explore .explore-branch-toggle>span{min-width:0}
#explore .explore-direct .explore-branch-toggle strong{padding:0;font:700 19px/1.25 var(--font-ui)}
#explore .explore-direct .explore-branch-toggle small{font:400 12px/1.4 Inter,Arial,sans-serif;margin-top:4px}
#explore .explore-branch-arrow{display:flex;align-items:center;justify-content:center;transition:transform .15s}
#explore .explore-branch-toggle[aria-expanded=true] .explore-branch-arrow{transform:rotate(180deg)}
#explore .explore-category-icon{display:block;flex:0 0 22px;width:22px;height:22px;color:var(--branch-accent,var(--green))}
#explore .explore-direct [hidden]{display:none!important}
#explore .explore-choice-row{position:static;padding:0 16px 16px;min-width:0}
#explore .explore-choice-row h3{font:600 12px/1.3 Inter,Arial,sans-serif;margin:12px 0 8px;color:var(--card-detail)}
#explore .explore-view-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 18px}
#explore [data-explore-category=european] .explore-view-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-palette] #explore .explore-view-choices button{min-width:0;min-height:44px;margin:0;padding:7px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);font:600 15px/1.25 var(--font-ui);white-space:normal;box-shadow:none}
body[data-palette] #explore .explore-view-choices button[aria-pressed=true]{background:color-mix(in srgb,var(--branch-tint) 32%,var(--panel));border-color:var(--branch-accent)}
#explore .explore-league-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0;max-height:none;overflow:visible}
body[data-palette] #explore .explore-league-choice{display:flex;align-items:center;gap:9px;min-width:0;min-height:54px;margin:0;padding:8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);box-shadow:none;text-align:left;text-decoration:none;font:600 15px/1.25 var(--font-ui)}
#explore .explore-league-choice>span:last-child{min-width:0;overflow-wrap:anywhere}
#explore .explore-league-choice .explore-selector-badge{display:flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;min-height:32px}
#explore .explore-league-choice .league-badge{width:30px;height:32px}
#explore .explore-league-choice .league-badge img{max-width:30px;max-height:32px;object-fit:contain}
#explore .explore-supremacy-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-palette] #explore .explore-supremacy-links a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:9px 12px;border:1px solid var(--line);border-radius:6px;background:var(--panel);color:var(--ink);font:600 16px/1.3 var(--font-ui);text-decoration:none;text-align:center}
body[data-palette] #explore .explore-direct :is(.explore-league-choice,.explore-supremacy-links a,.explore-view-choices button):hover{background:color-mix(in srgb,var(--branch-tint) 20%,var(--panel));border-color:var(--branch-accent)}
body[data-palette] #explore .explore-direct>a{display:grid;grid-template-columns:22px minmax(0,1fr) 20px;gap:12px;min-height:70px;padding:14px 16px;margin:0;border-radius:9px}
#explore .explore-direct>a>span{min-width:0}
#explore .explore-direct>a strong{font:700 19px/1.25 var(--font-ui);padding:0}
#explore .explore-direct>a small{font:400 12px/1.4 Inter,Arial,sans-serif;padding:0}
#explore .explore-direct>a .explore-destination-arrow{position:static;transform:none;font-size:22px}
html[data-theme=dark] body[data-palette] #explore .explore-view-choices button[aria-pressed=true]{background:color-mix(in srgb,var(--branch-accent) 45%,var(--panel));border-color:var(--branch-tint)}
@media(max-width:760px){
 body[data-palette] #explore .explore-heading{padding:16px 18px;margin-bottom:12px}
 body[data-palette] #explore .explore-heading h1{font-size:23px}
 body[data-palette] #explore .explore-logo{width:140px;margin-bottom:10px}
 #explore .explore-destination-tree.explore-direct{gap:8px}
 body[data-palette] #explore .explore-branch-toggle{padding:12px;gap:8px;min-height:66px}
 #explore .explore-direct .explore-branch-toggle strong{font-size:18px}
 #explore .explore-choice-row{padding:0 12px 12px}
 #explore .explore-view-choices,#explore [data-explore-category=european] .explore-view-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
 #explore [data-explore-category=european] .explore-view-choices button:last-child{grid-column:1/-1}
 #explore .explore-league-options{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-palette] #explore .explore-league-choice{min-height:56px;padding:7px;gap:6px;font-size:14px}
 #explore .explore-league-choice .explore-selector-badge{flex-basis:24px;width:24px}
 #explore .explore-league-choice .league-badge{width:24px;height:30px}
 #explore .explore-league-choice .league-badge img{max-width:24px;max-height:30px}
 body[data-palette] #explore .explore-direct>a{min-height:66px;padding:12px;gap:8px}
 #explore .explore-direct>a strong{font-size:18px}
}
@media(forced-colors:active){body[data-palette] #explore .explore-view-choices button[aria-pressed=true]{border-color:Highlight;color:Highlight}}
@media(prefers-reduced-motion:reduce){#explore .explore-branch-arrow{transition:none}}
