/* Shared Good Mess choreography. Keep feedback separate from layout/physics transforms. */
:root{--gm-ease:cubic-bezier(.16,1,.3,1);--gm-hover:400ms;--gm-cover:560ms;--gm-paper:2000ms}
:root[data-gm-visit=first]{--gm-cover:1600ms}
.gm-cover{display:none;position:fixed;inset:0;z-index:10000;overflow:hidden;place-items:center;background:#bd2925;color:#fff1cd;pointer-events:auto;contain:paint}
.gm-boot .gm-cover,.gm-departing .gm-cover{display:grid}
.gm-cover-copy{text-align:center;padding:24px;width:min(100%,850px)}
.gm-cover svg{display:block;width:58px;height:58px;margin:0 auto 24px;fill:none;stroke:#f9d74c;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
.gm-cover-word{display:block;font:400 clamp(76px,19vw,180px)/1.06 Anton,'Arial Narrow',sans-serif;letter-spacing:-.025em}
.gm-cover p{margin:24px 0 0;font:600 14px/1.5 Geist,Arial,sans-serif;color:#fff1cd}
.gm-loading-dots{display:inline-flex;gap:.06em;margin-left:.06em;vertical-align:baseline}
.gm-loading-dots>span{display:inline-block;animation:gm-dot-hop 1200ms cubic-bezier(.45,0,.25,1) infinite;animation-play-state:paused}
.gm-loading-dots>span:nth-child(2){animation-delay:160ms}.gm-loading-dots>span:nth-child(3){animation-delay:320ms}
.gm-boot .gm-loading-dots>span,.gm-departing .gm-loading-dots>span{animation-play-state:running}
.gm-document-hidden .gm-loading-dots>span{animation-play-state:paused}
@keyframes gm-dot-hop{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-5px)}}
/* This rule is a reading ornament, never a fabricated progress indicator. */
.gm-cover-rule{display:block;width:90px;height:3px;margin:22px auto 0;background:#f9d74c;border-radius:3px}
.gm-cursor-dot,.gm-cursor-ring{position:fixed;top:0;left:0;z-index:11000;pointer-events:none!important;opacity:0;contain:layout style;display:block}
.gm-cursor-on .gm-cursor-dot,.gm-cursor-on .gm-cursor-ring{opacity:1}
.gm-cursor-dot::before{content:'';display:block;position:absolute;left:-4px;top:-4px;width:8px;height:8px;border-radius:50%;background:#f9d74c;box-shadow:0 0 0 1.5px #321e25}
.gm-cursor-disc{position:absolute;left:-15px;top:-15px;width:30px;height:30px;border:1px solid #321e25;box-shadow:0 0 0 1px #f9d74c;border-radius:50%;scale:1;background:transparent;transition:scale var(--gm-hover) var(--gm-ease),background 220ms}
.gm-cursor-active .gm-cursor-disc{scale:1.2;background:#f9d74c}
.gm-cursor-active .gm-cursor-dot{opacity:1}
.gm-cursor-label{position:absolute;left:24px;top:0;padding:4px 7px;border-radius:4px;transform:translate(-3px,-50%);color:#fff1cd;background:#321e25;font:650 11px/1 Geist,Arial,sans-serif;white-space:nowrap;opacity:0;transition:opacity 140ms,transform var(--gm-hover) var(--gm-ease)}
.gm-cursor-active .gm-cursor-label{opacity:1;transform:translate(0,-50%)}
.gm-cursor-flip .gm-cursor-label{left:auto;right:24px}
@media(hover:hover) and (pointer:fine){
 html.gm-cursor-on,html.gm-cursor-on *{cursor:none!important}
 /* Native top-layer dialogs keep the same yellow point without a hidden DOM follower. */
 dialog[open],dialog[open] *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='8' cy='8' r='5' fill='%23f9d74c' stroke='%23321e25' stroke-width='2'/%3E%3C/svg%3E") 8 8,auto}
 dialog[open] input:not([type=checkbox]):not([type=radio]),dialog[open] textarea{cursor:text}
}
@media(prefers-reduced-motion:reduce){.gm-cursor-disc,.gm-cursor-label{transition:none}.gm-cover{transform:none!important}.gm-loading-dots>span{animation:none;transform:none}}
