/* V11.8: stable content, distinct control and detail surfaces. Numeric tokens
   are Eddie design experiments, not Apple platform specifications. */
:root{--v118-ink:#071A16;--v118-accent:#25D366;--v118-focus:#0B5E37;--v118-surface:#F7F7F2;--v118-line:#C9D3CB}

/* Owner correction: consistent 3.5% / 3px feedback, with the V11.7 motion gates.
   Zero specificity makes otherwise-inline links transformable without replacing
   the existing block, flex or grid display of component links. */
:where(.v11-fullpage a[href]){display:inline-block}
body.v11-fullpage :is(button,a[href],summary):not(:disabled):not([aria-disabled=true]):not([hidden]){translate:none!important;scale:none!important;transition:translate .18s ease-out,scale .18s ease-out,background-color .18s ease-out,border-color .18s ease-out,color .18s ease-out,box-shadow .18s ease-out}
@media(prefers-reduced-motion:no-preference){
 body.v11-fullpage:not(.motion-paused) :is(button,a[href],summary):not(:disabled):not([aria-disabled=true]):not([hidden]):focus-visible{translate:0 -3px!important;scale:1.035!important}
 @media(hover:hover) and (pointer:fine){
  body.v11-fullpage:not(.motion-paused) :is(button,a[href],summary):not(:disabled):not([aria-disabled=true]):not([hidden]):hover{translate:0 -3px!important;scale:1.035!important}
 }
 body.v11-fullpage:not(.motion-paused) :is(button,a[href],summary):not(:disabled):not([aria-disabled=true]):not([hidden]):active{translate:0 0!important;scale:1!important}
 /* The linked artwork gets the shared feedback once, not a second parent lift. */
 body.v11-fullpage:not(.motion-paused) .v117-studio-frame:is(:hover,:focus-within){translate:none;scale:none}
}
body.v11-fullpage.motion-paused :is(button,a[href],summary){transition:none!important}
@media(prefers-reduced-motion:reduce){body.v11-fullpage :is(button,a[href],summary){transition:none!important}}
.v11-fullpage :is(button,a.button,a.dark-button,a.nav-cta,summary):focus-visible{outline:3px solid var(--v118-focus);outline-offset:4px}
.v11-fullpage :is(.button.primary,.nav-cta){border:1px solid #25D366;box-shadow:inset 0 1px 0 #E4F7EB7a,0 5px 14px #071A161a}
.v11-fullpage :is(.button.primary,.nav-cta):active{box-shadow:inset 0 2px 5px #071A1638}
.v11-fullpage .scene-tabs{box-shadow:0 3px 12px #071A1610}
.v11-fullpage .scene-tabs [aria-selected=true]{box-shadow:inset 0 0 0 1px #25D366,0 2px 5px #071A1620}

/* D01/D05/D09: a bounded studio composition; original artwork stays uncropped. */
#v117-gallery{padding:44px 18px 54px}
#v117-gallery>.wrap{position:relative;max-width:1180px;width:100%;padding:clamp(24px,3.5vw,48px);gap:32px;border:1px solid #50635A;border-radius:32px;background:radial-gradient(ellipse at 0 0,#0B5E37 0,transparent 58%),#071A16;color:#E4F7EB;box-shadow:0 22px 50px -28px #071A1670,inset 0 1px 0 #E4F7EB2b;isolation:isolate}
#v117-gallery h2{color:#E4F7EB;margin-bottom:24px;font-size:calc(clamp(1.6rem,2.5vw,2.15rem) + 2px)}
#v117-gallery .v117-gallery-note{color:#E4F7EB;margin-top:20px}
#v117-gallery .v117-gallery-choices{gap:10px}
#v117-gallery .v117-gallery-choices button{position:relative;min-height:58px;padding:14px 16px;border:1px solid #50635A;border-radius:13px;color:#E4F7EB;background:#071A16;box-shadow:inset 0 1px 0 #E4F7EB0a;text-wrap:balance;transition:translate .18s ease-out,scale .18s ease-out,background-color .18s ease,border-color .18s ease,box-shadow .18s ease}
#v117-gallery .v117-gallery-choices button span{display:inline-grid;place-items:center;min-width:26px;min-height:26px;border:1px solid #50635A;border-radius:50%;color:#E4F7EB;flex:none}
#v117-gallery .v117-gallery-choices button[aria-pressed=true]{background:#25D366;color:#071A16;border-color:#C9D3CB;box-shadow:inset -4px 0 0 #071A16,0 3px 9px #0002}
#v117-gallery .v117-gallery-choices button[aria-pressed=true] span{background:#071A16;color:#E4F7EB;border-color:#50635A}
@media(hover:hover) and (pointer:fine){#v117-gallery .v117-gallery-choices button:not([aria-pressed=true]):hover{background:#25D366;border-color:#C9D3CB}}
#v117-gallery :is(button,a):focus-visible{outline:3px solid #25D366;outline-offset:5px}
#v117-gallery .v117-gallery-link{border:1px solid #50635A;border-radius:20px;box-shadow:0 18px 32px -16px #0009,inset 0 1px 0 #E4F7EB33;background:#071A16}
#v117-gallery .v117-gallery-caption{color:#E4F7EB;align-items:flex-start;margin-top:18px;line-height:1.8}
#v117-gallery .v117-gallery-caption a{color:#E4F7EB;border-color:#C9D3CB;padding-inline:3px}

/* D03/D10: native dialog and controls are independent of image animation. */
#v117-art-dialog{border-radius:26px;border-color:#C9D3CB;background:var(--v118-surface);box-shadow:0 30px 90px #0008}
#v117-art-dialog::backdrop{background:#071A16e8;backdrop-filter:none}
#v117-art-dialog .v117-art-toolbar{background:#F7F7F2;padding:16px 20px;border-color:var(--v118-line)}
#v117-art-dialog h2{color:var(--v118-ink)}
#v117-art-dialog .v117-art-canvas{background:#071A16}
#v117-art-dialog .v117-art-canvas img{transform-origin:0 0}
#v117-art-dialog .v117-art-close{border:1px solid #C9D3CB;background:#fff;box-shadow:0 2px 5px #071A1610}
#v117-art-dialog .v117-art-zoom[aria-pressed=true]{background:#25D366;color:#fff;border-color:#50635A;box-shadow:inset 0 0 0 2px #25D366}
#v117-art-dialog .v117-art-note{color:#50635A}

/* D04: selection has a persistent three-part indicator, independent of motion. */
#start [data-v113-carousel]{border:1px solid #C9D3CB;border-radius:24px;background:#F7F7F2;box-shadow:0 18px 42px -28px #071A1655}
#start .v113-stage{padding:24px}
#start .setup-steps>li{background:#fff}
#start .setup-steps>li>span{position:relative;inset-inline-start:8px;display:inline-grid;place-items:center;min-width:48px;min-height:48px;align-self:flex-start;flex-shrink:0;border:1px solid #C9D3CB;border-radius:15px;background:#E4F7EB;color:#071A16;font-weight:700}
#start .setup-steps>li>div{min-inline-size:0}
#start .v113-position{--v118-progress:33.333%;font-weight:600}
#start [data-v113-step="2"] .v113-position{--v118-progress:66.666%}
#start [data-v113-step="3"] .v113-position{--v118-progress:100%}
#start .v113-position::after{content:"";display:block;block-size:5px;margin-top:12px;border-radius:4px;background:linear-gradient(to left,#0B5E37 var(--v118-progress),#E4F7EB var(--v118-progress));transition:background-color .18s ease}
#start .v113-controls button[aria-disabled=true]{opacity:1;color:#50635A;background:#F7F7F2;border-color:#C9D3CB;box-shadow:none}

/* D05/D06: stronger frame expression, same inert geometry and original gates. */
@media(max-width:760px),(pointer:coarse){
 .v112-device[data-v117-frame-ready]>.v112-face::before{box-shadow:inset 2px 2px 1px #E4F7EB,inset -2px -2px 1px #25D366,0 0 0 1px #E4F7EB;animation-name:v118-frame-rim}
 .v112-device[data-v117-frame-ready]>.v112-face::after{box-shadow:0 12px 20px #071A1659,0 0 0 1px #071A1666;animation-name:v118-frame-contact}
}
@keyframes v118-frame-rim{0%,100%{opacity:.28}50%{opacity:.9}}
@keyframes v118-frame-contact{0%,100%{opacity:.55}50%{opacity:.2}}

@media(max-width:760px){
 #v117-gallery{padding:26px 12px 36px}
 #v117-gallery>.wrap{padding:26px 18px 24px;gap:24px;border-radius:26px;grid-template-columns:minmax(0,1fr)}
 #v117-gallery h2{margin-bottom:18px}
 #v117-gallery .v117-gallery-choices{gap:7px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 #v117-gallery .v117-gallery-choices button{flex-direction:column;gap:9px;min-height:108px;padding:12px 6px;font-size:calc(.8125rem + 2px);line-height:1.6}
 #v117-gallery .v117-gallery-choices button[aria-pressed=true]{box-shadow:inset 0 -4px 0 #071A16,0 3px 9px #0002}
 #v117-gallery .v117-gallery-note{margin-top:14px}
 #v117-gallery .v117-gallery-caption{gap:14px;flex-wrap:wrap;margin-top:16px}
 #v117-gallery .v117-gallery-link{border-radius:15px}
 #start .v113-stage{padding:18px}
 #v117-art-dialog .v117-art-toolbar{padding:12px;gap:10px}
}
@media(max-width:340px){#v117-gallery .v117-gallery-choices{grid-template-columns:1fr}#v117-gallery .v117-gallery-choices button{min-height:52px;flex-direction:row;text-align:start}}
@media(prefers-reduced-motion:reduce){#v117-gallery button,#start .v113-position::after{transition:none}}
.motion-paused #v117-gallery button{transition:none}
@media(forced-colors:active){
 #v117-gallery>.wrap,#v117-gallery .v117-gallery-choices button,#v117-art-dialog,#v117-art-dialog .v117-art-toolbar,#start [data-v113-carousel]{background:Canvas;color:CanvasText;box-shadow:none;border-color:CanvasText}
 #v117-gallery :is(h2,a,.v117-gallery-note,.v117-gallery-caption),#v117-gallery .v117-gallery-choices button span{color:CanvasText}
 #v117-gallery .v117-gallery-choices button[aria-pressed=true]{outline:3px solid Highlight;outline-offset:-5px}
}
