/* EnglishLamp · Glass Orchard — 30-word vocabulary story, draft 2026-10-20.
   Supports existing GeneratePress + approved mobile root-opacity repair. */
body.page-id-2013{--elg-ink:#102948;--elg-cobalt:#2456b4;--elg-cyan:#53bfc5;--elg-line:rgba(255,255,255,.78)}
body.page-id-2013 .elle-authored-content{overflow:visible!important}
body.page-id-2013 .elp-fruit-intro-panel{
  padding:clamp(26px,5vw,65px)!important;margin:12px 0 24px!important;
  border:1px solid rgba(255,255,255,.72)!important;border-radius:32px!important;
  background:radial-gradient(circle at 83% 12%,rgba(87,180,213,.28),transparent 38%),
             linear-gradient(130deg,rgba(255,255,255,.86),rgba(232,241,255,.74))!important;
  box-shadow:0 24px 70px rgba(35,66,112,.1)!important;color:var(--elg-ink)!important;
  -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)
}
body.page-id-2013 .elp-fruit-intro-panel .elp-fruit-kicker{color:#3b6bb8!important;letter-spacing:.22em}
body.page-id-2013 .elp-fruit-intro-panel h2{font-family:Newsreader,Georgia,serif!important;font-size:clamp(2.8rem,6vw,5.7rem)!important;letter-spacing:-.047em;color:#102948!important;max-width:780px!important}
body.page-id-2013 .elp-fruit-intro-panel p{color:#52667f!important;max-width:700px!important;line-height:1.8!important}
.elg-story{position:relative;margin:38px 0 84px;isolation:isolate;font-family:Manrope,system-ui,sans-serif;color:#112840}
.elg-story *, .elg-story *:before,.elg-story *:after{box-sizing:border-box}
.elg-story-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:12px 5px 30px}
.elg-eyebrow{font:800 .7rem/1.3 Manrope,system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#357ca8}
.elg-story-head h2{margin:8px 0 0!important;font:600 clamp(2.25rem,4.7vw,4.4rem)/1 Newsreader,Georgia,serif!important;color:#112840!important;letter-spacing:-.04em}
.elg-story-head p{margin:12px 0 0!important;font:500 .95rem/1.7 Manrope,system-ui,sans-serif;color:#536980!important}
.elg-progress-pill{flex:0 0 auto;border:1px solid rgba(95,137,184,.24);padding:10px 15px;border-radius:999px;background:rgba(255,255,255,.78);color:#34577b;font-size:.85rem;font-weight:800;white-space:nowrap}
.elg-layout{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);align-items:start;gap:clamp(18px,3.8vw,54px);position:relative}
.elg-steps{margin:0!important;padding:0!important;list-style:none!important;counter-reset:none!important;display:block!important}
.elg-steps>.elg-step{display:flex!important;align-items:center;position:relative;min-height:71vh;padding:10vh 0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;list-style:none!important}
.elg-steps>.elg-step::before{display:none!important}
.elg-word-card{width:100%;min-width:0;padding:clamp(21px,3.2vw,42px);border-radius:30px;
 background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(238,247,253,.69));
 border:1px solid var(--elg-line);box-shadow:0 24px 52px rgba(48,84,123,.10),inset 0 1px 0 rgba(255,255,255,.85);
 -webkit-backdrop-filter:blur(24px) saturate(120%);backdrop-filter:blur(24px) saturate(120%);
 transform:translate3d(0,22px,0) scale(.978);opacity:.48;
 transition:opacity .55s ease,transform .7s cubic-bezier(.22,.78,.22,1),box-shadow .6s ease}
.elg-step.is-active .elg-word-card{opacity:1;transform:translate3d(0,0,0) scale(1);box-shadow:0 32px 74px rgba(48,84,123,.16)}
.elg-card-kicker{font:800 .7rem/1.3 Manrope,system-ui,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#3f8b9a}
.elg-word-name{display:block!important;margin:17px 0 12px!important;color:#0b2e55!important;
 font:600 clamp(2.55rem,5vw,4.4rem)/1.02 Newsreader,Georgia,serif!important;letter-spacing:-.047em}
.elg-word-line{margin:0 0 22px!important;color:#536981!important;font-size:.91rem!important;line-height:1.7!important}
.elg-stage{position:sticky;top:clamp(86px,11vh,115px);height:calc(100vh - clamp(112px,16vh,165px));
 max-height:790px;min-height:440px;min-width:0;overflow:visible;z-index:3}
.elg-stage-frame{position:relative;height:100%;overflow:hidden;border-radius:42px;
 background:linear-gradient(140deg,rgba(255,255,255,.75),rgba(235,245,255,.55));
 border:1px solid rgba(255,255,255,.85);
 box-shadow:0 36px 90px rgba(36,80,140,.16),inset 0 1px 2px rgba(255,255,255,.94);
 -webkit-backdrop-filter:blur(22px) saturate(128%);backdrop-filter:blur(22px) saturate(128%)}
.elg-ambient{position:absolute;inset:-12%;z-index:0;pointer-events:none;
 background-image:var(--elg-photo,none);background-position:center;background-size:cover;
 filter:blur(60px) saturate(1.1);opacity:.28;transform:scale(1.08)}
.elg-stage-frame::before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;
 background:radial-gradient(circle at 22% 18%,rgba(255,255,255,.82),transparent 46%),
 linear-gradient(135deg,rgba(255,255,255,.61),rgba(225,236,252,.42))}
.elg-stage-frame::after{content:"";position:absolute;z-index:1;inset:10px;border:1px solid rgba(255,255,255,.66);border-radius:34px;pointer-events:none}
.elg-photo-holder{position:absolute;inset:7% 7% 12%;z-index:2;display:grid;place-items:center;
 border-radius:31px;overflow:hidden;background:rgba(255,255,255,.79);
 box-shadow:0 15px 45px rgba(42,82,125,.08)}
.elg-photo-holder img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
 padding:clamp(15px,3vw,40px);mix-blend-mode:multiply;opacity:0;transform:translate3d(0,26px,0) scale(.96);
 transition:opacity .56s ease,transform .75s cubic-bezier(.23,.79,.18,1);will-change:opacity,transform}
.elg-photo-holder img.is-visible{opacity:1;transform:translate3d(0,0,0) scale(1)}
.elg-count{position:absolute;z-index:3;left:25px;bottom:24px;display:flex;align-items:center;gap:8px;
 color:#376384;font:800 .75rem/1.2 Manrope,system-ui,sans-serif;letter-spacing:.07em}
.elg-count::before{content:"";width:30px;height:2px;background:#5eabb9}
.elg-credit-wrap{position:absolute;z-index:6;top:21px;right:21px}
.elg-credit-button{width:34px;height:34px;border-radius:50%;border:1px solid rgba(36,80,140,.22);
 background:rgba(255,255,255,.87);color:#254a79;font-size:16px;font-weight:800;display:grid;place-items:center;
 cursor:pointer;box-shadow:0 6px 18px rgba(28,69,113,.11)}
.elg-credit-panel{position:absolute;top:41px;right:0;width:min(270px,75vw);padding:13px 14px;
 border:1px solid rgba(255,255,255,.9);border-radius:15px;background:rgba(244,250,255,.96);
 box-shadow:0 15px 40px rgba(24,62,101,.2);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
 font-size:.75rem;line-height:1.6;color:#244361;opacity:0;visibility:hidden;pointer-events:none;
 transform:translateY(-7px);transition:opacity .2s ease,transform .2s ease,visibility .2s}
.elg-credit-wrap:hover .elg-credit-panel,.elg-credit-wrap:focus-within .elg-credit-panel,.elg-credit-wrap.is-open .elg-credit-panel{
 opacity:1;visibility:visible;pointer-events:auto;transform:none}
.elg-credit-panel a{color:#165b9e!important;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.elg-index-nav{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:14px 0}
.elg-index-nav a{font-size:.72rem;text-decoration:none!important;color:#436988!important;display:inline-flex;min-width:34px;height:30px;align-items:center;justify-content:center;border:1px solid rgba(81,120,163,.17);border-radius:999px;background:rgba(255,255,255,.7)}
.elg-index-nav a:focus-visible{outline:3px solid #16a2ca;outline-offset:2px}
.elg-page-note{margin:20px 0 50px!important;font-size:.8rem!important;color:#687d96!important}
body.el-dark .elg-word-card{background:linear-gradient(140deg,rgba(24,45,72,.94),rgba(19,39,67,.82));border-color:rgba(255,255,255,.12)}
body.el-dark .elg-word-name,body.el-dark .elg-story-head h2{color:#f5faff!important}
body.el-dark .elg-story-head p,body.el-dark .elg-word-line{color:#b5c7dc!important}
body.el-dark .elg-stage-frame{background:linear-gradient(140deg,#183152,#192f4b);border-color:rgba(255,255,255,.14)}
body.el-dark .elg-stage-frame::before{background:linear-gradient(145deg,rgba(18,43,72,.16),rgba(13,31,56,.17))}
body.el-dark .elg-progress-pill{background:#15304b;color:#eef6ff;border-color:rgba(255,255,255,.13)}
/* Clean audio controls across all lesson pages: no decorative waveform. */
.elp-audio-player{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 align-items:center!important;gap:6px 12px!important;max-width:520px!important;min-height:48px!important;
 padding:8px 10px!important;margin:10px 0!important;border:1px solid rgba(58,107,166,.14)!important;
 border-radius:15px!important;background:rgba(248,251,255,.85)!important;box-shadow:none!important}
.elp-audio-wave,.elp-audio-transcript{display:none!important}
.elp-audio-top{gap:8px!important}
.elp-audio-play{flex:0 0 36px!important;width:36px!important;height:36px!important;background:#1f5c9c!important;font-size:14px!important}
.elp-audio-title{font-size:.72rem!important;line-height:1.3!important;color:#24466e!important}
.elp-audio-seek{grid-column:1/-1!important;grid-row:2!important;width:100%!important;max-width:none!important;height:5px!important;min-height:5px!important;
 padding:0!important;margin:1px 0 0!important;accent-color:#2b81bf}
.elp-audio-meta{grid-column:2!important;grid-row:1!important;min-width:0!important;justify-content:flex-end!important}
.elp-audio-time,.elp-audio-meta>div:first-child{display:none!important}
.elp-audio-actions{gap:5px!important;flex-wrap:nowrap!important}
.elp-audio-actions button{font-size:.67rem!important;padding:7px 8px!important;min-height:31px;border-radius:11px!important}
.elp-audio-actions button:nth-child(n+3){display:none!important}
body.el-dark .elp-audio-player{background:#14263f!important;border-color:rgba(255,255,255,.12)!important}
body.el-dark .elp-audio-title{color:#deebfb!important}
body.el-dark .elp-audio-actions button{background:#1e3959!important;color:#e7f3ff!important}
@media(max-width:880px){
 .elg-layout{display:flex;flex-direction:column;gap:0}
 .elg-stage{order:0;align-self:stretch;width:100%;flex:0 0 auto;top:76px;height:min(49svh,410px);min-height:310px;max-height:none;margin-bottom:4px}
 .elg-copy{order:1}
 .elg-story-head{padding-bottom:20px}
 .elg-steps>.elg-step{min-height:65svh;padding:8vh 0!important}
 .elg-word-card{padding:24px;border-radius:25px}
 .elg-word-name{font-size:clamp(2.6rem,10vw,4.3rem)!important}
 .elg-stage-frame{border-radius:28px}
 .elg-stage-frame::after{border-radius:22px}
 .elg-photo-holder{inset:6% 5% 13%;border-radius:21px}
 .elg-ambient{filter:blur(45px);opacity:.21}
 .elg-credit-wrap{top:14px;right:14px}
}
@media(max-width:680px){
 .elg-story{margin:22px 0 55px}
 .elg-story-head{display:block}
 .elg-progress-pill{margin-top:12px;display:inline-flex}
 .elg-stage{top:76px;height:min(47svh,360px);min-height:280px}
 .elg-steps>.elg-step{min-height:62svh;padding:7svh 0!important}
 .elg-word-card{opacity:.75;transform:none!important}
 .elg-step.is-active .elg-word-card{opacity:1}
 .elg-story-head h2{font-size:clamp(2.25rem,10.7vw,3.8rem)!important}
 .elp-audio-player{width:100%!important;max-width:100%!important}
}
@media(prefers-reduced-motion:reduce){
 .elg-word-card,.elg-photo-holder img,.elg-credit-panel{transition:none!important;transform:none!important}
 .elg-word-card{opacity:1!important}
}
/* Server-rendered, failure-safe full Fruits page: CSS only enhances real content. */
body.page-id-2013 .elp-lesson-visual[data-elp-model="vocabulary"]{display:none!important}
.elg-story:not(.elg-ready) .elg-word-card{opacity:1!important;transform:none!important}
.elg-story:not(.elg-ready) .elg-steps>.elg-step{min-height:auto!important;padding:22px 0!important}
.elg-story:not(.elg-ready) .elg-stage{display:none!important}
.elg-copy{padding-bottom:32vh}
.elg-inline-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;
  background:#fff;border-radius:20px;margin:20px 0 0;padding:14px}
.elg-credit-fallback{display:block;position:relative;margin:6px 0 0;padding:0;
  font:500 .68rem/1.5 Manrope,system-ui,sans-serif;color:#49637a}
.elg-credit-fallback summary{display:inline-flex;align-items:center;gap:5px;cursor:pointer;
  padding:5px 10px;border:1px solid rgba(36,80,140,.18);border-radius:999px;background:rgba(255,255,255,.9)}
.elg-credit-fallback a{color:#2456b4!important}
.elg-story.elg-ready .elg-inline-photo,.elg-story.elg-ready .elg-credit-fallback{display:none!important}
.elg-mini-audio{margin-top:16px;max-width:420px}
.elg-mini-audio>audio{display:block;width:100%;height:42px;max-width:420px}
.elg-mini-audio>audio:not([controls]){display:none!important}
.elg-mini-audio .elg-audio-controls[hidden]{display:none!important}
.elg-audio-controls{display:grid;grid-template-columns:42px minmax(0,1fr) 48px 44px;gap:9px;align-items:center;
  min-height:52px;padding:7px;border:1px solid rgba(60,107,165,.17);border-radius:17px;
  background:rgba(255,255,255,.68);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}
.elg-audio-controls button{appearance:none;cursor:pointer;border:1px solid rgba(59,110,169,.18);
  background:#fff;color:#214e88;border-radius:12px;min-height:36px;font:800 .72rem/1 Manrope,system-ui,sans-serif}
.elg-audio-controls .elg-play{border-radius:12px;background:#194a87;color:#fff;font-size:16px}
.elg-audio-controls .elg-repeat[aria-pressed="true"]{background:#194a87;color:#fff}
.elg-audio-controls .elg-seek{min-width:0;width:100%;accent-color:#247ac1;cursor:pointer}
.elg-audio-controls button:focus-visible,.elg-audio-controls input:focus-visible{outline:3px solid #26b7ce;outline-offset:2px}
body.el-dark .elg-audio-controls{background:rgba(26,49,77,.88);border-color:rgba(255,255,255,.14)}
body.el-dark .elg-audio-controls button{background:#1b385a;color:#e7f5ff}
body.el-dark .elg-audio-controls .elg-play,body.el-dark .elg-audio-controls .elg-repeat[aria-pressed="true"]{background:#396fa7;color:#fff}
@media(max-width:880px){
  .elg-story.elg-ready .elg-stage{position:sticky;top:75px}
  .elg-word-card{position:relative}
  .elg-audio-controls{grid-template-columns:40px minmax(0,1fr) 44px 40px;gap:7px}
  .elg-audio-controls button{min-height:34px}
}
@media(max-width:680px){
  .elg-story.elg-ready .elg-stage{height:min(44svh,355px);min-height:260px}
  .elg-story.elg-ready .elg-steps>.elg-step{min-height:64svh}
  .elg-story .elg-steps>.elg-step{scroll-margin-top:110px}
  .elg-word-card{background:linear-gradient(145deg,rgba(255,255,255,.90),rgba(239,247,253,.84))}
}

