.smcho-site-bar{position:relative;z-index:30;box-sizing:border-box;min-height:39px;width:100%;padding:0 24px;background:#edf0e8;color:#52624d;border-bottom:1px solid #dce3d5;font:11px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif;letter-spacing:0}
.smcho-site-bar__inner{max-width:1360px;min-height:38px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.smcho-site-bar .smcho-home-link{display:inline-flex;align-items:center;gap:7px;min-height:36px;color:#33452e;font-size:11px;font-weight:700;text-decoration:none;white-space:nowrap}
.smcho-site-bar .smcho-home-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.smcho-site-bar .smcho-home-link:hover{text-decoration:underline;text-underline-offset:3px}
.smcho-site-bar .smcho-site-nav{display:flex;align-items:center;gap:12px;margin-right:auto;min-width:0}
.smcho-site-bar .smcho-services summary{font-weight:700;color:inherit}
.smcho-site-bar .smcho-service-list{position:absolute;z-index:65;top:100%;left:0;display:grid;grid-template-columns:repeat(2,minmax(72px,1fr));gap:4px;width:max-content;padding:6px;background:var(--smcho-menu-bg,#fbfcf8);border:1px solid currentColor;border-radius:9px;box-shadow:0 8px 25px #26342330}
.smcho-site-bar .smcho-services:not([open]) .smcho-service-list{display:none}
.smcho-site-bar .smcho-service-list a{display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:5px;color:inherit;text-decoration:none;font-weight:700}
.smcho-site-bar .smcho-service-list a:is(:hover,:focus-visible,[aria-current]),.smcho-site-bar .smcho-saved-link[aria-current]{background:color-mix(in srgb,currentColor 10%,transparent);outline-offset:-2px}
.smcho-site-bar .smcho-home-link:focus-visible,.smcho-site-bar summary:focus-visible{outline:2px solid #5d8054;outline-offset:2px;border-radius:3px}
.smcho-site-bar details{position:relative;margin:0;padding:0;max-width:100%;color:inherit}
.smcho-site-bar summary{display:flex;align-items:center;gap:7px;min-height:36px;list-style:none;cursor:pointer;white-space:nowrap;font-size:11px;color:inherit}
.smcho-site-bar summary::-webkit-details-marker{display:none}
.smcho-site-bar summary:after{content:'⌄';margin-left:2px;color:#636e5e}
.smcho-site-bar__dot{width:6px;height:6px;border-radius:50%;background:#919a8a;flex:none}
.smcho-site-bar[data-connection=online] .smcho-site-bar__dot{background:#5e8750;box-shadow:0 0 0 3px #5e875013}
.smcho-site-bar summary strong{display:inline-block;font-size:11px;font-weight:750;color:#33452e;font-variant-numeric:tabular-nums}
.smcho-site-bar__total{padding-left:8px;border-left:1px solid #cfd8c8;color:#636e5e}
.smcho-site-bar .smcho-presence-info{position:absolute;right:0;top:calc(100% + 6px);width:280px;max-width:calc(100vw - 32px);margin:0;padding:14px 16px;border:1px solid #dce3d5;border-radius:9px;background:#fbfcf8;box-shadow:0 8px 25px #26342318;color:#53634d;font-size:11px;line-height:1.9;white-space:normal;overflow-wrap:break-word;z-index:60}
.smcho-site-bar .smcho-presence-info b{display:block;margin-bottom:5px;color:#33452e}
@media(max-width:600px){.smcho-site-bar{padding:0 16px}.smcho-site-bar__inner{gap:6px}.smcho-site-bar summary{gap:5px;font-size:10px}.smcho-site-bar .smcho-home-link{font-size:10px;gap:5px}.smcho-site-bar__total{padding-left:6px}}
@media(max-width:440px){.smcho-site-bar .smcho-site-nav{gap:9px}.smcho-site-bar__state{display:none}}
@media(max-width:360px){.smcho-site-bar{padding:0 10px}.smcho-site-bar .smcho-home-link svg{display:none}}
html[data-theme=dark] .smcho-site-bar{--smcho-menu-bg:#2a342c;background:#222b25;color:#abb9a5;border-color:#364234}
html[data-theme=dark] .smcho-site-bar .smcho-home-link,html[data-theme=dark] .smcho-site-bar summary strong{color:#d8e4ce}
html[data-theme=dark] .smcho-site-bar .smcho-site-bar__total{color:#a3b19c;border-color:#3b4a39}
html[data-theme=dark] .smcho-site-bar .smcho-presence-info{background:#2a342c;border-color:#3b4a39;color:#c3d0bc}
html[data-theme=dark] .smcho-site-bar .smcho-presence-info b{color:#e4eedc}
/* Food, sport and game follow the device's dark setting; the hub uses its own theme switch. */
@media(prefers-color-scheme:dark){.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]){--smcho-menu-bg:#222b24;background:#1d241f;color:#b4c3ad;border-color:#334033}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-home-link,.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) summary strong{color:#dbe7d2}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-site-bar__total{color:#a3b19c;border-color:#3b4a39}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-presence-info{background:#222b24;border-color:#334033;color:#c3d0bc}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-presence-info b{color:#e4eedc}}
/* Keep the immersive world's controls below the shared navigation. */
.smcho-world .smcho-site-bar{position:fixed;top:0;left:0;right:0;z-index:35}
.smcho-world .world-header{top:39px}
.smcho-world .entry{height:calc(100dvh - 39px);margin-top:39px}
.smcho-world .quest-card,.smcho-world .side-panel,.smcho-world .combat-target,.smcho-world .build-hint,.smcho-world .reconnect-banner,.smcho-world .notice-banner{translate:0 39px}
@media(max-width:800px){.smcho-world .minimap-card{translate:0 39px}}

body{--smcho-game-height:calc(100dvh - 39px)}
/* Food, sport and game follow the device's dark setting; the hub uses its own theme switch. */
@media(prefers-color-scheme:dark){.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]){background:#1d241f;color:#b4c3ad;border-color:#334033}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-home-link,.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) summary strong{color:#dbe7d2}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-site-bar__total{color:#a3b19c;border-color:#3b4a39}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-presence-info{background:#222b24;border-color:#334033;color:#c3d0bc}.smcho-site-bar:is([data-smcho-site=food],[data-smcho-site=sport],[data-smcho-site=game]) .smcho-presence-info b{color:#e4eedc}}

/* Shared motion for every SMCHO site. Base styles are always the finished, readable state and
   keyframes start from the moved or hidden state, so turning animation off never hides content.
   Nothing here runs when the device asks for reduced motion. */
@keyframes smcho-rise{from{opacity:0;translate:0 14px}}
@keyframes smcho-reveal{from{opacity:0;translate:0 34px;scale:.97}}
@keyframes smcho-pulse{0%{box-shadow:0 0 0 0 #5e875070}80%,100%{box-shadow:0 0 0 7px #5e875000}}
@keyframes smcho-page-out{to{opacity:0;translate:0 -8px}}
@keyframes smcho-page-in{from{opacity:0;translate:0 12px}}
@media(prefers-reduced-motion:no-preference){
@view-transition{navigation:auto}
::view-transition-old(root){animation:smcho-page-out .2s cubic-bezier(.4,0,1,1) both}
::view-transition-new(root){animation:smcho-page-in .38s cubic-bezier(.2,.7,.2,1) both}
.smcho-site-bar{view-transition-name:smcho-site-bar}
.smcho-site-bar[data-connection=online] .smcho-site-bar__dot{animation:smcho-pulse 2.6s ease-out infinite}
.smcho-rise{animation:smcho-rise .65s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--smcho-i,0) * 70ms)}
@supports(animation-timeline:view()){.smcho-reveal{animation:smcho-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 80%}}
}
