/* Dedicated, optically cropped symbols for the festival navigation. */
.chibi-symbol[data-navmark] {background-size:contain;background-repeat:no-repeat;background-position:center;image-rendering:auto}
.chibi-symbol[data-navmark="home"] {background-image:url(assets/navmark-home.webp)}
.chibi-symbol[data-navmark="shop"] {background-image:url(assets/navmark-shop.webp)}
.chibi-symbol[data-navmark="group"] {background-image:url(assets/navmark-group.webp)}
.chibi-symbol[data-navmark="trophy"] {background-image:url(assets/navmark-trophy.webp)}
.chibi-symbol[data-navmark="friends"] {background-image:url(assets/navmark-friends.webp)}
.chibi-symbol[data-navmark="inbox"] {background-image:url(assets/navmark-inbox.webp)}
.chibi-symbol[data-navmark="settings"] {background-image:url(assets/navmark-settings.webp)}
.chibi-symbol[data-navmark="back"] {background-image:url(assets/navmark-back.webp)}
.chibi-symbol[data-navmark="life"] {background-image:url(assets/navmark-life.webp)}
.chibi-symbol[data-navmark="coin"] {background-image:url(assets/navmark-coin.webp)}
.chibi-symbol[data-navmark="chat"] {background-image:url(assets/navmark-chat.webp)}
.chibi-symbol[data-navmark="guardians"] {background-image:url(assets/navmark-guardians.webp)}
.chibi-symbol[data-navmark="events"] {background-image:url(assets/navmark-events.webp)}
.chibi-symbol[data-navmark="wardrobe"] {background-image:url(assets/navmark-wardrobe.webp)}
.chibi-symbol[data-navmark="collection"] {background-image:url(assets/navmark-collection.webp)}
.chibi-symbol[data-navmark="pass"] {background-image:url(assets/navmark-pass.webp)}

/* Size the drawing to its mount, independent of the caption's font size. */
.sanctuary-dock button>[data-icon],.home-counters button>[data-icon]{display:grid;place-items:center;flex:none}
.sanctuary-dock [data-icon]>.chibi-symbol,.home-counters [data-icon]>.chibi-symbol,.battle-settings [data-icon]>.chibi-symbol{display:block;width:100%;height:100%}
.sanctuary-dock button{height:60px;justify-content:center;gap:3px;font-size:12px;line-height:1.05}
.sanctuary-dock button>[data-icon]{width:39px;height:39px;margin:0;filter:drop-shadow(0 1px 1px #37233e)}
.sanctuary-dock .dock-home{height:66px}
.sanctuary-dock .dock-home>[data-icon]{width:44px;height:44px}
.home-counters .round-button{display:grid;place-items:center;width:44px;height:44px;padding:0}
.home-counters .round-button>[data-icon]{width:30px;height:30px}
.home-counters .life-purse>[data-icon],.home-counters .coin-purse>[data-icon]{width:29px;height:29px}
.battle-settings>[data-icon]{display:block;width:72%;height:72%}
.route-link .route-glyph{width:26px;height:26px;display:block;flex:none}
.event-badge .badge-face .nav-art,.blue-badge .badge-face .nav-art{inset:3%;width:94%;height:94%;object-fit:contain;object-position:center;filter:drop-shadow(0 1px 1px #341c36)}
.event-badge[data-daily-slot] .badge-face img{inset:3%;width:94%;height:94%;object-fit:contain}
#lantern-launch .soc-chat-mark{width:100%;height:100%;max-height:none;min-height:0}
.event-badge[data-daily-slot] b{font-size:clamp(10px,1.2vw,13px)}
@media (max-width:650px){
  .sanctuary-dock button{height:54px;font-size:11px;gap:2px}
  .sanctuary-dock button>[data-icon]{width:34px;height:34px}
  .sanctuary-dock .dock-home{height:60px}
  .sanctuary-dock .dock-home>[data-icon]{width:39px;height:39px}
  .home-counters .round-button{width:37px;height:37px}
  .home-counters .round-button>[data-icon]{width:25px;height:25px}
  .home-counters .life-purse>[data-icon],.home-counters .coin-purse>[data-icon]{width:24px;height:24px}
  .route-link .route-glyph{width:22px;height:22px}
  .journey-launch{bottom:max(calc(12% + var(--safe-bottom)),calc(73px + var(--safe-bottom)))}
}
@media (max-width:355px){
  .sanctuary-hud{left:5px;right:5px}.passport{min-width:0}.passport-name{min-width:0;max-width:91px}
  .home-counters .round-button{width:34px;height:34px}
  .sanctuary-dock button{font-size:10px;height:50px}
  .sanctuary-dock button>[data-icon]{width:32px;height:32px}
  .sanctuary-dock .dock-home{height:55px}
  .sanctuary-dock .dock-home>[data-icon]{width:36px;height:36px}
}
@media (orientation:landscape) and (max-height:500px){
  .sanctuary-dock button{height:39px;gap:0;font-size:10px}
  .sanctuary-dock button>[data-icon]{width:27px;height:27px}
  .sanctuary-dock .dock-home{height:43px}
  .sanctuary-dock .dock-home>[data-icon]{width:30px;height:30px}
  .journey-launch{bottom:max(13%,calc(47px + var(--safe-bottom)))}
  .home-counters .round-button{width:33px;height:33px}
  .home-counters .round-button>[data-icon]{width:23px;height:23px}
  .home-counters .life-purse>[data-icon],.home-counters .coin-purse>[data-icon]{width:22px;height:22px}
  .route-link .route-glyph{width:20px;height:20px}
  .event-badge b{margin-top:0}
  .event-badge .badge-face{flex:none}
}
@media (orientation:landscape) and (max-height:400px){
  .sanctuary-guardian{bottom:calc(26% + 18px)}
}
@media (orientation:portrait) and (max-height:680px){
  .sanctuary-guardian{bottom:calc(26% + 28px)}
}
@media (orientation:landscape) and (max-height:500px) and (max-width:720px){
  .pass-rail{left:max(7px,env(safe-area-inset-left));top:calc(43px + var(--safe-top));transform:none;width:150px;height:27px}
  .pass-rail>img,.pass-rail>img.pass-chest{width:24px;height:25px}
}

.play-stage>span:last-child{white-space:nowrap}.play-stage .play-glyph{flex:none}@media(max-width:355px){.play-stage{font-size:21px;gap:6px;padding-inline:9px;min-width:169px}}
