/* One supplied photograph, CSS portrait windows: original facial geometry is unchanged. */
.guide-avatar{display:inline-block;width:48px;height:48px;flex:0 0 auto;border:2px solid #c6a86a;border-radius:50%;box-sizing:border-box;background-image:url('/assets/characters/trio-3d.webp');background-repeat:no-repeat;box-shadow:0 3px 9px #4630151a;vertical-align:middle}
.guide-nasabu{background-size:451.7647% auto;background-position:16.7224% 3.655%}
.guide-chao{background-size:451.7647% auto;background-position:54.3478% 34.3567%}
.guide-pipi{background-size:384% auto;background-position:91.5493% 40.0641%}
.guide-line{display:flex;align-items:center;gap:12px;min-width:0;margin:10px 0;line-height:1.65}.guide-message{display:block;min-width:0;overflow-wrap:anywhere}.guide-line .guide-avatar{width:42px;height:42px}.guide-quote{position:relative;min-height:48px;padding-left:64px!important}.guide-quote>.guide-avatar{position:absolute;left:0;top:2px}.guide-quote>.guide-quote-label{display:block;font-size:14px;color:#65563e;margin-bottom:3px}.guide-quote blockquote{margin:0}
.nasabu-home .home-entrances a{flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;min-width:0;min-height:86px}.home-entrances .entrance-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.home-entrances .entrance-label{display:block;overflow-wrap:anywhere}.home-entrances .entrance-saju{border-color:#b69551;background:#fffbef}.home-entrances .guide-avatar{width:50px;height:50px}.home-entrances .entrance-play .guide-avatar{border-color:#d8ba79}.home-entrances .entrance-play .entrance-label{color:#fff}.home-entrances .entrance-play small{color:#f2d995}
#nasabu-thought summary>.guide-avatar{width:32px;height:32px;margin-right:10px}#face-question>.guide-avatar,#story-pipi>.guide-avatar,#story-chao>.guide-avatar{width:36px;height:36px;margin-right:7px}#face-question,#story-pipi,#story-chao{min-height:36px}.ency-intro .guide-line{justify-content:flex-start}.ency-intro .guide-avatar{width:48px;height:48px}.activity-dialog .guide-line{font-size:16px;line-height:1.5;margin:10px 0 14px}.activity-dialog .guide-avatar{width:36px;height:36px}.saju-guide .guide-line{align-items:flex-start}.saju-guide .guide-avatar{margin-top:5px}
@media(max-width:760px){.nasabu-home .home-entrances a{display:block;padding:10px 8px;min-height:92px}.home-entrances .guide-avatar{float:left;width:30px;height:30px;margin:2px 6px 2px 0}.home-entrances .entrance-copy{display:contents}.home-entrances .entrance-label{font-size:16px;line-height:1.4;min-height:44px;word-break:normal;overflow-wrap:anywhere}.home-entrances small{display:block;clear:both;font-size:14px!important;line-height:1.4!important;margin-top:4px}.guide-line{gap:9px}.guide-line .guide-avatar{width:36px;height:36px}.guide-quote{padding-left:49px!important}.guide-quote>.guide-avatar{width:38px;height:38px}.ency-intro .guide-avatar{width:40px;height:40px}.guide-message{word-break:normal}.home-entrances .entrance-label{letter-spacing:-.03em}.saju-guide .guide-line{gap:10px}}
@media(prefers-reduced-motion:reduce){.guide-avatar{transition:none}}

.guide-label{display:inline-flex;align-items:center;gap:8px}.guide-label .guide-avatar{width:30px;height:30px}.room-hero+.guide-line{justify-content:center}

/* Keep entrance titles in meaningful words; portraits never steal title width. */
.home-entrances .entrance-word{display:inline-block;white-space:nowrap}
@media(max-width:760px){
 .nasabu-home .home-entrances{gap:8px}
 .nasabu-home .home-entrances a{display:grid;grid-template-rows:32px 48px auto;justify-items:center;align-content:start;gap:7px;padding:12px 6px;min-height:0;text-align:center}
 .home-entrances .guide-avatar{float:none;width:32px;height:32px;margin:0}
 .home-entrances .entrance-copy{display:contents}
 .home-entrances .entrance-label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:100%;min-height:0;font-size:16px;line-height:24px;letter-spacing:-.03em;word-break:keep-all;overflow-wrap:normal}
 .home-entrances .entrance-word{display:block;white-space:nowrap}
 .home-entrances small{align-self:start;clear:none;display:block;margin:0;font-size:14px!important;line-height:20px!important;word-break:keep-all;overflow-wrap:normal;letter-spacing:-.03em}
}

/* Pipi guidance portraits: about 45% larger, with real layout space reserved. */
body .guide-line:has(> .guide-avatar.guide-pipi){align-items:center;gap:12px;}
body .guide-line>.guide-avatar.guide-pipi{width:61px!important;height:61px!important;min-width:61px!important;max-width:61px!important;flex:0 0 61px!important;float:none;margin:0;}
body .guide-line:has(> .guide-avatar.guide-pipi)>.guide-message{flex:1 1 0;min-width:0;overflow-wrap:anywhere;}
@media(max-width:760px){
 body .guide-line:has(> .guide-avatar.guide-pipi){gap:10px;}
 body .guide-line>.guide-avatar.guide-pipi{width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;flex-basis:52px!important;}
}
body .activity-rating-form .guide-line>.guide-avatar.guide-pipi{width:46.4px!important;height:46.4px!important;min-width:46.4px!important;max-width:46.4px!important;flex-basis:46.4px!important;}
