
body .gg-intro{max-width:none;padding:36px 0 56px}.gg-top{display:grid;grid-template-columns:1fr 220px;align-items:center;min-height:340px;gap:32px}.gg-intro h1{font-size:clamp(40px,4.85vw,64px);font-weight:700;line-height:1.16;letter-spacing:-.025em;margin:22px 0}.gg-intro .gg-description{font-size:22px;line-height:1.4}.gg-home{position:relative;display:flex;align-items:center;justify-content:center;min-height:180px}.gg-character{position:relative;display:block;flex-shrink:0;width:160px;height:160px;padding:0;border:0;background:transparent;touch-action:manipulation;color:var(--text-strong);border-radius:20px}.gg-character>*{position:absolute;pointer-events:none;transition:transform .24s ease,height .18s ease,top .18s ease,opacity .18s ease}.gg-shadow{left:44px;top:132px;width:72px;height:4px;border-radius:2px;background:var(--border-subtle,#dee2e8)}.gg-body{left:40px;top:43px;width:80px;height:78px;border-radius:19px;background:#25282c}.gg-eye{width:8px;height:13px;top:68px;border-radius:4px;background:white}.gg-left{left:62px}.gg-right{left:90px}.gg-foot{top:118px;width:20px;height:7px;border-radius:3px;background:#25282c}.gg-foot-left{left:50px}.gg-foot-right{left:91px}.gg-hand{left:128px;top:83px;width:12px;height:7px;border-radius:3px;background:#25282c;opacity:0}.gg-brows{left:55px;top:60px;opacity:0}.gg-spark{background:#376cb0;opacity:0}.s1{left:20px;top:38px;width:7px;height:7px}.s2{left:132px;top:29px;width:6px;height:6px}.s3{left:104px;top:13px;width:5px;height:5px}.gg-character[data-state=Responding] .gg-eye{transform:translateX(6px)}.gg-character[data-state=Guiding] :is(.gg-body,.gg-eye,.gg-foot){transform:translateX(10px)}.gg-character[data-state=Guiding] .gg-hand{opacity:1}.gg-character[data-state=Celebrating] :is(.gg-body,.gg-eye,.gg-foot){animation:gg-hop .65s ease both}.gg-character[data-state=Celebrating] .gg-spark{opacity:1;animation:gg-spark .7s ease both}.gg-character[data-state=Impatient] .gg-eye{height:4px;top:75px}.gg-character[data-state=Grumpy] .gg-brows{opacity:1}.gg-character[data-state=Grumpy] .gg-foot-right{animation:gg-stomp .3s ease 2}.gg-speech{position:absolute;top:165px;white-space:nowrap;font-size:16px;color:var(--text-muted)}.gg-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:60px}.gg-projects a{display:flex;flex-direction:column;gap:16px;padding:24px;min-height:145px;border-radius:18px;background:#f6f7f9;color:var(--text-strong);text-decoration:none;transition:background .18s,transform .18s;box-sizing:border-box}.gg-projects a:is(:hover,:focus-visible){background:var(--selected-blue);transform:translateY(-2px)}.gg-projects a:active{transform:translateY(1px)}.gg-projects small{font-size:12px;color:var(--text-muted)}.gg-projects strong{font-size:25px;font-weight:600;line-height:1.25}.gg-intro .gg-hint{font-size:16px;margin-top:32px;color:var(--text-muted)}.gallery-project{scroll-margin-top:90px}.gg-arrival{position:relative;display:flex;align-items:center;gap:12px;min-height:160px}.gg-arrival p{font-size:18px;color:var(--text-muted)}
@keyframes gg-hop{0%,100%{transform:translateY(0)}45%{transform:translateY(-16px)}}@keyframes gg-spark{0%,100%{opacity:0}40%,70%{opacity:1}}@keyframes gg-stomp{50%{transform:translateY(-4px)}}
@media(max-width:800px){.gg-top{grid-template-columns:1fr 160px;gap:12px}.gg-projects strong{font-size:20px}.gg-projects a{padding:20px}.gg-intro .gg-description{font-size:19px}}
@media(max-width:600px){body .gg-intro{padding-top:0}.gg-top{grid-template-columns:1fr;gap:0;min-height:0}.gg-home{justify-content:flex-start;min-height:150px}.gg-speech{left:170px;top:80px}.gg-projects{grid-template-columns:1fr;margin-top:22px;gap:12px}.gg-projects a{min-height:100px;padding:20px;gap:10px}.gg-intro h1{font-size:42px}.gg-intro .gg-hint{font-size:14px}.gg-arrival{min-height:150px}}
@media(prefers-reduced-motion:reduce){.gg-character>*,.gg-projects a{transition:none!important;animation:none!important}.gg-character[data-state=Celebrating] .gg-spark{opacity:1}}
@media(max-width:600px){html[data-language=zh] .gg-intro h1{font-size:36px}}

/* Local v2: bounded gaze and retriggerable tactile click response. */
.gg-eye{translate:var(--gaze-x,0px) var(--gaze-y,0px);transition:translate 80ms ease-out,height .18s ease,top .18s ease,transform .24s ease;transform-origin:center}
.gg-character[data-tracking=true][data-state=Responding] .gg-eye{transform:none}
.gg-body,.gg-foot{transform-origin:center bottom}
@media(prefers-reduced-motion:reduce){.gg-eye{transition:none}}

/* Project-specific expressions, matched to Figma v2. */
.gg-smile{left:72px;top:91px;width:16px;height:7px;border-radius:3px;background:#fff;opacity:0}
.gg-character[data-state=Happy] .gg-eye{width:14px;height:6px;top:70px}
.gg-character[data-state=Happy] .gg-smile{opacity:1}
.gg-curious{left:0;top:0;opacity:0}
.gg-character[data-state=Curious]>:not(.gg-curious){opacity:0}
.gg-character[data-state=Curious] .gg-curious{opacity:1}

.gg-recall{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:160px;color:var(--text-muted);font-size:15px}.gg-recall[hidden]{display:none}.gg-recall button{border:0;border-radius:20px;padding:10px 16px;min-height:44px;background:var(--surface-subtle);color:var(--link-blue);font-family:inherit;font-size:16px;font-weight:600;transition:background .18s,transform .18s}.gg-recall button:hover{background:var(--selected-blue)}.gg-recall button:active{transform:translateY(1px)}

/* Typography preview: system stacks only; reserved word width prevents reflow. */
.gg-word{display:inline-block;width:4.1em;text-align:left}
html#sf-rounded-site body .gg-intro[data-type-preview="0"] .gg-word{font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif!important;font-weight:400;letter-spacing:.01em}
html#sf-rounded-site body .gg-intro[data-type-preview="1"] .gg-word{font-family:Georgia,"Times New Roman",serif!important;font-style:italic;font-weight:400}
html#sf-rounded-site body .gg-intro[data-type-preview="2"] .gg-word{font-family:"Courier New",Courier,monospace!important;font-weight:700;letter-spacing:-.15em}
html[data-language=zh] .gg-word{width:3em}
html#sf-rounded-site[data-language=zh] body .gg-intro[data-type-preview="1"] .gg-word{font-family:KaiTi,STKaiti,serif!important}

/* v1 project introduction: an optional inline disclosure, not a chatbot. */
.gg-tour-trigger{display:inline-flex;align-items:center;min-height:44px;margin-top:14px;padding:10px 14px;border:0;border-radius:20px;background:var(--surface-subtle);color:var(--link-blue);font:inherit;font-size:16px;font-weight:600;transition:background .18s}
.gg-tour-trigger:is(:hover,[aria-expanded=true]){background:var(--selected-blue)}
.gg-tour-panel{display:flex;align-items:center;gap:12px;margin:0 0 28px;max-width:820px}
.gg-tour-panel[hidden]{display:none}.gg-tour-actor{flex:0 0 160px}.gg-tour-bubble{padding:24px;border-radius:18px;background:var(--surface-subtle);flex:1;min-width:0}.gg-tour-bubble>p{margin:0;font-size:20px;line-height:1.5;color:var(--text-strong)}.gg-tour-actions{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:16px}.gg-tour-actions a{font-size:16px;color:var(--link-blue);font-weight:600;text-decoration:none;min-height:44px;display:inline-flex;align-items:center}.gg-tour-actions button{border:0;background:none;color:var(--text-muted);padding:10px 0;min-height:44px;font:inherit;font-size:16px}.gg-tour-actions a:hover{text-decoration:underline}.gg-tour-actions button:hover{color:var(--text-strong)}
body .moodlog-overview{padding-bottom:48px}body .moodlog-overview .gallery-link{display:inline-block;margin-top:8px}body .wt-project{margin-top:24px}
@media(max-width:600px){.gg-tour-panel{align-items:flex-start;gap:0;flex-direction:column}.gg-tour-actor{flex-basis:auto;height:140px}.gg-tour-bubble{width:100%;box-sizing:border-box;padding:20px}.gg-tour-bubble>p{font-size:18px}body .moodlog-overview{padding-bottom:32px}}
@media(prefers-reduced-motion:reduce){.gg-tour-trigger{transition:none}}
