#globe:not([hidden]){display:flex;flex:1 1 0;min-height:0;position:relative;z-index:3;overflow:auto;overscroll-behavior:contain;background:var(--night);container-type:size;padding:10px var(--pad) calc(12px + var(--safe-b));color:var(--text)}
#globe .gl-view{position:relative;display:flex;flex-direction:column;gap:12px;width:min(100%,520px);margin:0 auto;min-height:100%;flex:none}
#globe .gl-art{height:clamp(92px,calc(100cqh - 350px),390px);flex:none;touch-action:pan-y;user-select:none}
#globe .gl-art>svg{display:block;width:100%;height:100%;overflow:visible}
#globe .gl-art [data-piece]{cursor:pointer}
#globe .gl-bulbs{display:flex;justify-content:center;flex:none;position:relative;background:linear-gradient(var(--line),var(--line)) center 7px/calc(100% - 44px) 2px no-repeat}
#globe .gl-bulbs button{flex:1;max-width:54px;min-height:44px;padding:4px 10px;color:var(--line)}
#globe .gl-bulbs svg{display:block;width:18px;height:27px;margin:auto}
#globe .gl-bulbs .gl-lit{color:var(--c)}
#globe .gl-bulbs .gl-lit svg{filter:drop-shadow(0 0 4px var(--c))}
#globe .gl-flash svg{animation:globe-lights 1.1s ease-out}
#globe .gl-next :is(h2,.gl-answers){animation:globe-question .22s ease-out}
@keyframes globe-lights{40%{filter:drop-shadow(0 0 14px var(--c)) brightness(1.4)}}
@keyframes globe-question{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
#globe h2{outline:0;font:600 22px/1.25 Lora,Georgia,serif;text-wrap:balance;text-align:center;margin:0}
#globe h3{font:600 20px/1.3 Lora,Georgia,serif;margin:0}
#globe .gl-answers,[data-globe] .gl-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#globe .gl-answers button,[data-globe] button{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font:500 16px/1.3 "DM Sans",system-ui,sans-serif;min-height:52px;color:var(--text);background:var(--panel)}
#globe [aria-pressed=true],[data-globe] [aria-pressed=true]{border-color:var(--warm);box-shadow:inset 0 0 0 1px var(--warm);color:var(--warm)}
#globe button:disabled{cursor:default}
#globe .gl-answers button:disabled{opacity:.7}
#globe .gl-primary{display:grid;place-items:center;text-decoration:none;width:100%;min-height:54px;padding:12px;border:0;border-radius:12px;background:var(--warm);color:var(--ink);font-weight:700;font-size:18px;line-height:1.3;text-align:center}
#globe .gl-primary:disabled{opacity:.6}
#globe .gl-back,#globe .gl-reset button{color:var(--soft);text-decoration:underline;text-underline-offset:3px;min-height:44px}
#globe .gl-back{flex:none}
#globe .gl-sale{margin-top:auto;padding-top:4px;font-size:13px;line-height:1.5;color:var(--soft)}
#globe .gl-sale a{display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 0;text-underline-offset:3px}
#globe .gl-quiet,#globe .gl-status,#globe .gl-tools{font-size:14px;line-height:1.5;color:var(--soft)}
#globe .gl-quiet a{display:inline-block;padding:8px 0;text-underline-offset:3px}
#globe .gl-tools{display:grid;gap:4px}
#globe .gl-tools a{display:flex;align-items:center;min-height:44px;text-underline-offset:3px}
#globe .gl-status:empty{display:none}
#globe .gl-reset{text-align:center}
#globe .gl-reset span{display:inline-flex;align-items:center;gap:6px;color:var(--soft)}
#globe .gl-reset span button{min-width:44px}
#globe .gl-note form{display:grid}
#globe fieldset{border:0;padding:0;margin:0;min-width:0}
#globe legend{padding:0;margin-bottom:6px;font-size:16px}
#globe .gl-radios{display:flex;gap:8px;flex-wrap:wrap}
#globe .gl-radios label{position:relative;flex:1 1 90px;cursor:pointer}
#globe .gl-radios input{position:absolute;opacity:0;width:1px;height:1px}
#globe .gl-radios span{display:flex;align-items:center;justify-content:center;min-height:48px;height:100%;padding:10px 8px;border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:16px;line-height:1.3;text-align:center}
#globe .gl-radios input:checked+span{border-color:var(--warm);box-shadow:inset 0 0 0 1px var(--warm);color:var(--warm)}
#globe .gl-radios input:focus-visible+span{outline:3px solid var(--warm);outline-offset:2px}
#globe .gl-field{display:grid;gap:5px;font-size:16px}
#globe .gl-field input,#globe textarea{min-width:0;width:100%;min-height:48px;border:1px solid var(--line);border-radius:10px;background:var(--panel);color:var(--text);font:16px/1.4 "DM Sans",system-ui,sans-serif;padding:10px 12px}
#globe textarea{resize:vertical}
#globe .gl-check{display:flex;align-items:center;gap:10px;min-height:44px}
#globe .gl-check input{width:22px;height:22px;accent-color:var(--warm)}
#globe .gl-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
[data-globe]{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--night);color:var(--text)}
[data-globe] .gl-mini-art{width:72px;flex:none;pointer-events:none}
[data-globe] .gl-mini-art svg{display:block;width:72px;height:auto}
[data-globe] .gl-mini-body{min-width:0;flex:1;display:grid;gap:8px}
[data-globe] h3{font:600 17px/1.3 Lora,Georgia,serif;margin:0;text-wrap:balance}[data-globe] h3 small{display:block;font:700 13px/1.5 "DM Sans",system-ui,sans-serif;color:var(--warm)}
[data-globe] button{min-height:44px;font-size:16px;padding:8px;flex:1}
[data-globe] .gl-answers{gap:6px}
[data-globe="stop"]:has(.gl-answers){display:grid;grid-template-columns:72px 1fr;gap:10px 12px}[data-globe="stop"]:has(.gl-answers) .gl-mini-body{display:contents}[data-globe="stop"] .gl-answers{grid-column:1/-1}
:is(#globe,[data-globe]) .gl-answers button:last-child:nth-child(odd){grid-column:1/-1}
#globe :focus-visible,[data-globe] :focus-visible{outline:3px solid var(--warm);outline-offset:2px}
#globe h2:focus{outline:0}
/* Back and Close sit in the empty corners beside the round globe */
#globe .gl-top{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;pointer-events:none}#globe .gl-top button{pointer-events:auto;color:var(--text);font-size:16px;text-decoration:underline;text-underline-offset:3px;padding:0 6px}#globe .gl-top [data-gl-map]{margin-left:auto}
/* the ending has to show the house, Joey, both names and his button without scrolling */
#globe .gl-finished{gap:8px}#globe .gl-finished .gl-art{height:clamp(130px,calc(100cqh - 368px),400px)}#globe .gl-finished h2{font-size:19px;text-wrap:nowrap}
#globe .gl-share{position:relative;align-self:flex-end;margin-top:-52px;text-align:right}#globe .gl-share :is(button,a){display:inline-grid;place-items:center;min-height:44px;padding:0 14px;border:1px solid var(--warm);border-radius:10px;background:var(--night);color:var(--warm);font-weight:700;text-decoration:none}#globe .gl-share :disabled{opacity:.5}
#globe .gl-joey{display:grid;gap:10px;background:linear-gradient(#22386a,#182a50);border:2px solid var(--warm);border-radius:16px;padding:0 12px 12px;animation:globe-joey .5s .15s cubic-bezier(.2,.9,.3,1.1) backwards}
@keyframes globe-joey{from{opacity:0;transform:translateY(40px)}}
#globe .gl-award{position:absolute;right:0;bottom:5px;width:50px;height:auto}#globe .gl-who{position:relative;display:flex;gap:14px;align-items:flex-end}#globe .gl-face{width:88px;height:auto;flex:none;margin-top:-6px}#globe .gl-who div{display:grid;line-height:1.3;font-size:15px;padding:7px 0 3px}/* both names the same size: Ohio wants the brokerage at least as prominent */
#globe .gl-who b{font-size:clamp(15px,4.7cqw,20px);line-height:1.25;white-space:nowrap}#globe .gl-who span{color:var(--warm);font-size:13px}
/* the award logo fits under the brokerage name, never over any words */
@media(max-width:389px){#globe .gl-who{gap:10px}#globe .gl-face{width:78px}#globe .gl-who span{font-size:12px}#globe .gl-award{width:43px}}@media(max-width:359px){#globe .gl-award{display:none}}
#globe .gl-talk{display:grid;gap:10px}#globe .gl-say{position:relative;background:var(--night);color:var(--text);border-radius:12px;padding:9px 12px;display:grid;gap:3px;font-size:14px;line-height:1.35;margin-top:-10px}#globe .gl-say::before{content:"";position:absolute;left:34px;top:-8px;border:solid transparent;border-width:0 9px 9px;border-bottom-color:var(--night)}#globe .gl-say b{font-size:16px;line-height:1.3}#globe .gl-say ul{list-style:none;margin:0 0 3px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 8px;font-weight:500;white-space:nowrap}#globe .gl-say li{padding-left:18px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.500l3.500 3.500L12 4' fill='none' stroke='%235fd08f' stroke-width='2.500'/%3E%3C/svg%3E") 0 3px/13px no-repeat}
/* the whole note, down to Send, fits one screen */
#globe .gl-note{gap:8px}#globe .gl-note form{gap:8px}#globe .gl-head{display:grid;grid-template-columns:60px 1fr 60px;align-items:end;border-bottom:2px solid var(--warm)}#globe .gl-head h2{align-self:center}#globe .gl-head img{width:42px;height:auto;justify-self:end}#globe .gl-head .gl-back{align-self:center;justify-self:start}
#globe .gl-pair{display:grid;grid-template-columns:2fr 3fr;gap:8px}#globe summary{min-height:44px;display:flex;align-items:center;color:var(--soft);text-decoration:underline;text-underline-offset:3px;cursor:pointer}#globe summary::-webkit-details-marker{display:none}
/* the show after the last answer: lights first, then their house in a sentence */
#globe .gl-story{margin:0;font:600 20px/1.45 Lora,Georgia,serif;text-align:center;text-wrap:balance;animation:globe-story .6s 1.2s ease-out backwards}#globe .gl-late{animation-delay:3.2s}
@keyframes globe-story{from{opacity:0;transform:translateY(8px)}}
/* a short phone on a drive: the globe sits beside the question instead of above it */
@container(max-height:470px){#globe .gl-view:not(.gl-finished,.gl-note){display:grid;grid-template-columns:150px 1fr;grid-template-rows:auto 1fr;gap:4px 12px;align-content:start}#globe .gl-view:not(.gl-finished,.gl-note)>*{grid-column:1/-1}#globe .gl-view:not(.gl-finished,.gl-note)>.gl-top{position:static;grid-area:1/2}#globe .gl-view:not(.gl-finished,.gl-note)>.gl-art{grid-area:1/1/4/2;height:165px}#globe .gl-view:not(.gl-finished,.gl-note)>.gl-bulbs{grid-area:3/2}#globe .gl-view:not(.gl-finished,.gl-note)>:is(h2,.gl-story){grid-area:2/2;align-self:center;font-size:19px;text-align:left}#globe .gl-view:not(.gl-finished,.gl-note) .gl-bulbs button{padding:2px;min-height:34px}#globe .gl-view:not(.gl-finished,.gl-note) .gl-bulbs svg{width:15px;height:23px}}
@media(min-width:800px){#globe:not([hidden]){width:420px;margin:10px 0 16px 16px;border-radius:16px}#globe .gl-art{max-height:340px}}
@media(prefers-reduced-motion:reduce){#globe .gl-next :is(h2,.gl-answers),#globe .gl-story,#globe .gl-flash svg{animation:none!important}#globe,[data-globe]{scroll-behavior:auto}}
