/* V40: small collectible-style emblems, without adding a row to the navigation. */
img.icon.nav-art-icon{display:inline-block;width:24px;height:24px;flex:0 0 24px;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 1px 1px #0007);pointer-events:none}
.desktop-nav img.nav-art-icon{width:21px;height:21px;flex-basis:21px}
.profile-option img.nav-art-icon{width:29px;height:29px;flex-basis:29px}
.collection-nav img.nav-art-icon{width:26px;height:26px;flex-basis:26px}
.empty-state>img.nav-art-icon{display:block;width:88px;height:88px;max-width:100%;margin:0 auto 18px;opacity:1;object-fit:contain;filter:drop-shadow(0 4px 7px #0005)}
@media(orientation:portrait){
 #mobile-nav img.nav-art-icon{width:18px;height:18px;flex:0 0 18px}
}
@media(orientation:portrait) and (max-width:350px){
 #mobile-nav img.nav-art-icon{width:16px;height:16px;flex-basis:16px}
}
@media(orientation:landscape) and (max-width:1100px){
 .desktop-nav img.nav-art-icon{width:18px;height:18px;flex-basis:18px}
}

/* V41: earned medals and arena levels use the same metal-and-gem family. */
.utility-medals img.nav-art-icon{width:25px;height:25px;flex-basis:25px}
.duel-choice>img.nav-art-icon{display:block;width:55px;height:55px;flex-basis:55px;margin:0 auto 9px}
.collection-nav img.nav-art-icon{width:28px;height:28px;flex-basis:28px}
@media(orientation:portrait) and (max-width:760px){
 .utility-medals img.nav-art-icon{width:20px;height:20px;flex-basis:20px}
 .duel-choice>img.nav-art-icon{width:43px;height:43px;flex-basis:43px;margin-bottom:7px}
 .collection-nav img.nav-art-icon{width:24px;height:24px;flex-basis:24px}
}

.learning-nav .learning-unavailable{display:flex;align-items:center;gap:7px;padding:0 3px 13px;color:var(--muted);font-size:14px}
.learning-unavailable small{display:block;font-size:.77em}
@media(max-width:500px){
 .learning-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .learning-nav a,.learning-nav .learning-unavailable{flex-direction:column;justify-content:flex-start;gap:4px;padding:0 2px 9px;text-align:center;font-size:12px}
}
@media(orientation:portrait){
 #mobile-nav,body.playing #mobile-nav{grid-template-columns:.85fr 1fr 1.3fr .85fr 1.15fr .75fr}
}
@media(orientation:portrait) and (max-width:540px){
 #mobile-nav a,#mobile-nav button{flex-direction:column;gap:2px;padding:3px 0}
}
