/* Local review: give the drawing and its controls separate, usable space. */
.behold-caption{flex:none;text-align:center;padding:0 1.2rem .45rem;max-height:25dvh;overflow:auto}.behold-caption:empty{display:none}.caption-title{border:0;padding:.2rem .4rem;min-height:44px;border-radius:0;font:clamp(1.15rem,5vw,1.65rem) Georgia,serif;color:var(--ink)}.caption-title span{font:14px sans-serif;color:var(--muted);margin-left:.4rem}.behold-caption hr{width:30px;border:0;border-top:1px solid #c4beae77;margin:.2rem auto .55rem}.behold-caption p{font-size:.85rem;color:var(--muted);line-height:1.45;max-width:34rem;margin:0 auto}.caption-editor{flex:none;width:min(100%,520px);margin:0 auto;padding:.7rem 1rem max(.6rem,env(safe-area-inset-bottom));max-height:58dvh;overflow:auto;background:#101620}.caption-editor label{display:block;font-size:12px;color:var(--muted);margin:.25rem 0 .55rem}.caption-editor input,.caption-editor textarea{margin-top:3px;padding:.55rem .7rem;min-height:44px}.caption-editor textarea{resize:vertical;min-height:58px}.caption-editor .links{gap:.4rem}.caption-editor .muted:empty{display:none}.naming .behold-stage{min-height:100px}.behold-intro{position:absolute;top:max(72px,calc(env(safe-area-inset-top) + 62px));left:1rem;right:1rem;text-align:center;font:clamp(1rem,4vw,1.35rem) Georgia,serif;color:#e3dfd3;pointer-events:none;animation:reveal-copy 4.2s ease both}.behold-page .art-back{z-index:3;max-width:44vw}.flight-purpose{position:fixed;top:15%;left:50%;transform:translateX(-50%);width:min(84vw,26rem);font:15px/1.5 Georgia,serif;text-align:center;color:#d3d6d9;pointer-events:none!important;text-wrap:pretty}.look-closer{position:absolute;left:max(20px,env(safe-area-inset-left));bottom:calc(84px + env(safe-area-inset-bottom));min-width:120px;background:#101c24e8;border-color:#adcfd280;font-size:14px;animation:look-invitation 3s ease-in-out infinite}.reward-page{position:relative;height:100dvh;overflow:hidden;background:var(--bg)}.reward-caption{position:absolute;z-index:3;top:13%;left:1rem;right:1rem;text-align:center;font:clamp(1.2rem,5vw,1.8rem) Georgia,serif;pointer-events:none}.home-earned-motif{border:0;padding:0;justify-self:center;line-height:0;border-radius:0;min-height:70px}.home-earned-motif .home-manta-frame{width:180px;height:90px}.help-recovery-link{padding:0 1rem 2.5rem;background:var(--bg);text-align:center}.original-flight{display:block;margin:-.4rem 0 .65rem;padding-left:0;font-size:13px;color:var(--muted)}.share-page{height:100dvh;display:flex;flex-direction:column;background:var(--bg);padding:max(12px,env(safe-area-inset-top)) 1rem max(12px,env(safe-area-inset-bottom));max-width:800px;margin:auto;gap:.45rem}.share-page>header{display:flex;justify-content:space-between;align-items:center;flex:none}.share-page h1{font-size:22px;margin:0}.share-stage{flex:1;min-height:100px;display:flex;align-items:center;justify-content:center;overflow:hidden}.share-stage canvas{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.share-controls{flex:none;display:flex;align-items:center;justify-content:center;gap:.6rem}.share-controls .primary{min-width:150px}.share-icon{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;padding:10px}.share-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.share-caption-choice{display:flex;align-items:center;justify-content:center;gap:.7rem;font-size:12px;color:var(--muted);flex-wrap:wrap}.share-caption-choice select{font:inherit;color:var(--ink);background:var(--bg);border:1px solid #535967;border-radius:14px;padding:8px;min-height:44px}.share-caption-choice button{font-size:12px}.share-first-use{font-size:12px;line-height:1.45;text-align:center;color:var(--muted);margin:.2rem auto;max-width:25rem}.share-status{min-height:1.4em;font-size:12px;text-align:center;color:var(--muted);margin:0}.library-caption{font-size:12px!important;font-family:inherit!important;color:var(--muted);line-height:1.4;margin:4px!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes look-invitation{0%,100%{box-shadow:0 0 0 #b8e1de00}50%{box-shadow:0 0 18px #b8e1de26;border-color:#c0dedebb}}@keyframes reveal-copy{0%{opacity:0}15%,70%{opacity:1}100%{opacity:0}}@media(prefers-reduced-motion:reduce){.look-closer,.behold-intro{animation:none}}@media(max-height:550px) and (orientation:landscape){.caption-editor{max-width:48vw;max-height:100dvh;grid-column:2;grid-row:1}.behold-caption{max-height:30dvh}.share-page{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.65fr);grid-template-rows:auto 1fr auto auto;gap:.3rem 1rem}.share-page>header{grid-column:1/3}.share-stage{grid-column:1;grid-row:2/5}.share-controls{grid-column:2;grid-row:3;flex-wrap:wrap}.share-caption-choice{grid-column:2;grid-row:2;align-content:center}.share-first-use,.share-status{grid-column:2}.home-earned-motif .home-manta-frame{height:60px}}

/* Contextual teaching replaces the generic dial label in the same bottom lane. */
.flight-hud:has(~.flight-hint) .hover-label{display:none}
/* Keep the inspection invitation below, and clear of, the paused flight controls. */
.flight-hud:has(.look-closer) .left-controls{bottom:calc(160px + env(safe-area-inset-bottom))}

/* Keep image lettering readable; long captioned exports scroll instead of shrinking. */
.share-stage{overflow:auto}
.share-stage canvas{display:block;max-width:100%;max-height:none;width:100%;height:auto;object-fit:contain;margin:auto;flex:none}
