/* Day 4: only the visitor's welcome, guide and guest state of the existing KIRO dialog. */
#info-scroll [hidden], #kiro-chat-modal [hidden] { display:none!important; }
#info-scroll .gg-welcome {
 display:grid;grid-template-columns:minmax(76px,135px) minmax(0,1fr);gap:clamp(12px,3vw,28px);align-items:center;
 padding:clamp(12px,3.5vw,30px);border:1px solid #00d5ff4a;border-radius:22px;
 background:radial-gradient(ellipse at 19% 40%,#192557 0%,#10152d 42%,#090e21 83%);
}
.gg-welcome-stage{display:grid;place-items:center;min-height:clamp(134px,24vw,208px)}
#gg-welcome-avatar{width:min(100%,125px);aspect-ratio:520/870;display:grid;place-items:center;color:#85e6ff;font-weight:800}
#gg-welcome-avatar.kiro-paused, #gg-welcome-avatar.kiro-paused *{animation-play-state:paused!important}
.gg-welcome-tag{font-size:.7rem;font-weight:750;letter-spacing:.1em;color:#8eebff}
.gg-welcome-copy h2,.gg-guide>h2{color:#f5f8ff;font-size:clamp(1.27rem,3.8vw,1.9rem);margin:.3em 0}
.gg-welcome-copy p{color:#dbe4f6;font-size:clamp(.875rem,2.8vw,1rem);line-height:1.5;margin:.35em 0 .9em}
#gg-welcome-chat{border-color:#64c6e398;color:#e7f9ff;min-height:44px;text-align:center}
.gg-guide{text-align:center;min-width:0}
.gg-guide .gg-guide-track{height:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px;overflow:visible}
.gg-guide .gg-guide-card{position:relative;inset:auto;width:auto;aspect-ratio:auto;min-height:220px;border:1px solid #55c9ed70;background:#10182c;padding:20px 16px;overflow-wrap:anywhere;cursor:default}
.gg-guide .gg-guide-card h3{font-size:clamp(1.08rem,3.7vw,1.3rem);line-height:1.16;text-transform:none;margin:0 0 10px;letter-spacing:0}
.gg-guide .gg-guide-card p{font-size:clamp(.94rem,3vw,1rem);line-height:1.45;word-break:normal}
.gg-guide-icon{font-size:30px;color:#78ddff;margin-bottom:10px}
.gg-guide-link{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.35em;color:#85e6ff;font-size:.9rem;font-weight:700;text-underline-offset:3px;margin-top:8px}
.gg-guide.is-carousel .gg-guide-shell{padding:0;--card-gap:clamp(125px,34vw,208px);}
.gg-guide.is-carousel .gg-guide-track{position:relative;display:flex;overflow:hidden;contain:layout paint;touch-action:pan-y pinch-zoom;min-height:270px;transition:none}
.gg-guide.is-carousel .gg-guide-card{position:absolute;top:50%;left:50%;width:min(330px,calc(100% - 86px));height:auto;min-height:218px;contain:layout paint style}
.gg-guide.is-carousel .gg-guide-card.inactive{cursor:pointer;}
.gg-guide .gg-guide-prev,.gg-guide .gg-guide-next{width:44px;height:44px;padding:0;color:#c6f1ff;border:1px solid #5680b6;border-radius:50%;background:#111b36;font-size:29px;line-height:1}
.gg-guide-footer{display:grid;justify-items:center;gap:3px}
.gg-guide-dots{max-width:100%;display:flex;flex-wrap:wrap;justify-content:center}
.gg-guide-dots button{width:26px;height:37px;border:0;background:transparent;padding:0;display:grid;place-items:center;cursor:pointer}
.gg-guide-dots button::before{content:"";display:block;width:9px;height:6px;border-radius:999px;background:#9ea9c6}
.gg-guide-dots button[aria-current]::before{width:18px;background:#6ae5ff}
.gg-guide .gg-guide-pause{font:inherit;font-size:.81rem;min-height:38px;color:#dceeff;background:transparent;border:1px solid #527aa0;border-radius:14px;padding:4px 12px;cursor:pointer}
.gg-guide-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
#info-scroll :is(button,a):focus-visible,#gg-kiro-guest button:focus-visible{outline:2px solid #a0ecff;outline-offset:2px}
#kiro-chat-modal.kiro-guest :is(.kiro-chat-stage,.kiro-chat-tools,#kiro-chat-log,.kiro-chat-composer){display:none!important}
#kiro-chat-modal.kiro-guest .kiro-chat-shell{max-width:480px;height:auto!important;min-height:0!important}
#kiro-chat-modal.kiro-guest .kiro-chat-workspace{display:block;height:auto!important;min-height:0!important}
#gg-kiro-guest{padding:24px;color:#dceeff}
#gg-kiro-guest :is(h3,p){margin:0 0 14px;line-height:1.45}
@media (max-width:370px){
 #info-scroll .gg-welcome{grid-template-columns:minmax(0,1fr);text-align:center}
 .gg-welcome-stage{min-height:0}
 #gg-welcome-avatar{width:70px}
 .gg-guide.is-carousel .gg-guide-card{width:calc(100% - 68px);padding:14px 12px}
 .gg-guide .gg-guide-prev,.gg-guide .gg-guide-next{width:35px;height:44px}
}
@media (prefers-reduced-motion:reduce){
 #landing-carousel .landing-carousel-card,#landing-carousel-dots button,.gg-guide *{transition:none!important}
 .scroll-indicator,#gg-welcome-avatar,#gg-welcome-avatar *{animation:none!important}
}
/* The shared TV focus style must not move the arrows out from under a pointer. */
html.gg-tv-nav .gg-guide :is(.gg-guide-prev,.gg-guide-next){position:absolute;z-index:40}
html.gg-tv-nav #landing-carousel-shell .landing-carousel-nav{position:absolute;z-index:40}
.gg-guide.is-carousel .gg-guide-card.active{background:linear-gradient(180deg,#102747,#081427)}
.gg-welcome-copy p,.gg-guide .gg-guide-card p{font-family:Inter,system-ui,sans-serif}
