/* ELFCON 1 (/help/tonight/, site/tools/elfcon.mjs): the elf control room. Loaded after style.css, ideas.css, guides.css
   and picker.css. CSS only: gradients, inset shadows, rivets and a little SVG grain; no images. */
@font-face{font-family:Gaegu;font-style:normal;font-weight:400;font-display:swap;src:url(/make-your-elf/fonts/gaegu-latin-400-normal.woff2) format('woff2')}
body.elfcon{
  --ec-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .14 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ec-rivet:radial-gradient(circle at 38% 34%,#DCE0EC 0,#8A92B0 32%,#363D5E 62%,rgba(0,0,0,0) 66%);
  --ec-red:#D1463B;--ec-red-deep:#7A1F18;--ec-steel:#0E1328;--ec-glow:#FFD992;
  background:#0C1022;color:var(--night-ink)}
.ec-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.ec-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- the room ---------- */
.ec-hero{position:relative;isolation:isolate;min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow:hidden;overflow:clip;
  background:radial-gradient(90% 60% at 50% 0,#3A1C26 0,rgba(58,28,38,0) 70%),radial-gradient(70% 50% at 50% 100%,#1C2549 0,rgba(28,37,73,0) 70%),#0C1022}
.ec-room{flex:1;display:flex;flex-direction:column;justify-content:center;padding:50px 12px 28px}

/* Hazard stripes: a bevelled metal strip with the stripes running inside it. */
.ec-stripes{position:relative;height:24px;overflow:hidden;flex:none;background:#121318;box-shadow:0 0 0 1px rgba(0,0,0,.6)}
.ec-stripes::before{content:"";position:absolute;top:3px;bottom:3px;left:-60px;right:-60px;background:repeating-linear-gradient(-45deg,#15161C 0 16px,#C8463C 16px 32px);animation:ec-slide 4s linear infinite;will-change:transform}
.ec-stripes::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#5B6178 0,#2A2D3A 3px,rgba(255,255,255,.16) 4px,rgba(255,255,255,0) 11px,rgba(0,0,0,0) 14px,rgba(0,0,0,.35) 21px,#2A2D3A 21px,#4A4F63 24px);pointer-events:none}
@keyframes ec-slide{from{transform:translateX(0)}to{transform:translateX(45.25px)}}
.ec-flash .ec-stripes::before{animation:ec-slide 4s linear infinite,ec-flash .7s ease-out 1}
@keyframes ec-flash{0%{filter:none}20%{filter:brightness(2.2) saturate(1.3)}100%{filter:none}}
.ec-calm .ec-stripes::before{background:repeating-linear-gradient(-45deg,#2F6B4F 0 16px,#F4EFE4 16px 32px);animation-duration:14s}

/* ---------- the console ---------- */
.ec-console{position:relative;z-index:1;width:100%;max-width:1060px;margin:0 auto;padding:26px 12px 16px;box-sizing:border-box;border-radius:26px;text-align:center;
  background:var(--ec-grain),linear-gradient(180deg,#2B355D 0,#1D2547 38%,#151B36 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),inset 0 0 0 1px rgba(255,255,255,.05),inset 0 -14px 30px rgba(0,0,0,.35),0 0 0 5px #090C1A,0 0 0 6px rgba(255,255,255,.07),0 40px 70px -24px rgba(0,0,0,.85);
  transition:background-color .6s}
.ec-console::before{content:"";position:absolute;inset:10px;pointer-events:none;
  background:var(--ec-rivet) left top/10px 10px no-repeat,var(--ec-rivet) right top/10px 10px no-repeat,var(--ec-rivet) left bottom/10px 10px no-repeat,var(--ec-rivet) right bottom/10px 10px no-repeat}
.ec-console::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;background:var(--ec-grain),linear-gradient(180deg,#24604A 0,#174233 40%,#0F2D23 100%);box-shadow:inherit;transition:opacity .7s ease}
.ec-console>*{position:relative;z-index:1}
.ec-calm .ec-console::after{opacity:1}
.ec-calm .ec-console{animation:ec-settle .9s cubic-bezier(.2,.8,.3,1) 1}
@keyframes ec-settle{0%{transform:translateY(-6px) scale(1.006)}55%{transform:translateY(2px)}100%{transform:none}}

/* The beacon: a red glass dome on a metal base, mounted on the console's top-right corner. Its beam sweeps the room. */
.ec-console>.ec-beacon{position:absolute;z-index:auto;top:-44px;right:22px;width:64px;height:52px}
.ec-beam{position:absolute;z-index:-1;left:50%;top:22px;width:1500px;height:1500px;margin:-750px 0 0 -750px;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 0deg,rgba(255,110,90,.34) 0deg,rgba(255,110,90,0) 34deg,rgba(255,110,90,0) 180deg,rgba(255,110,90,.34) 180deg,rgba(255,110,90,0) 214deg,rgba(255,110,90,0) 360deg);
  -webkit-mask-image:radial-gradient(closest-side,#000 3%,rgba(0,0,0,.5) 30%,rgba(0,0,0,0) 100%);mask-image:radial-gradient(closest-side,#000 3%,rgba(0,0,0,.5) 30%,rgba(0,0,0,0) 100%);
  animation:ec-spin 2.8s linear infinite;will-change:transform}
.ec-beacon.ec-fast .ec-beam,.ec-beacon.ec-fast .ec-dome::after{animation-duration:.42s}
.ec-dome{position:absolute;z-index:3;left:8px;right:8px;top:0;height:42px;overflow:hidden;border-radius:50% 50% 8px 8px/70% 70% 8px 8px;
  background:radial-gradient(60% 50% at 38% 28%,#FFC4B8 0,rgba(255,196,184,0) 100%),radial-gradient(80% 90% at 50% 100%,#F05A4C 0,#C8463C 50%,#861F17 100%);
  box-shadow:inset 0 -4px 8px rgba(80,10,5,.5),0 0 22px 6px rgba(240,90,76,.55),0 0 60px 10px rgba(240,90,76,.25)}
.ec-dome::after{content:"";position:absolute;left:50%;top:60%;width:90px;height:90px;margin:-45px 0 0 -45px;background:conic-gradient(rgba(255,240,220,.85) 0deg,rgba(255,240,220,0) 40deg,rgba(255,240,220,0) 180deg,rgba(255,240,220,.85) 180deg,rgba(255,240,220,0) 220deg);animation:ec-spin 2.8s linear infinite;mix-blend-mode:screen}
.ec-base{position:absolute;z-index:3;left:0;right:0;bottom:0;height:12px;border-radius:5px 5px 3px 3px;background:linear-gradient(180deg,#9AA2C0 0,#4E5678 45%,#262C48 100%);box-shadow:0 2px 0 #070A16,inset 0 1px 0 rgba(255,255,255,.45)}
.ec-calm .ec-dome{background:radial-gradient(60% 50% at 38% 28%,#E3FFF0 0,rgba(227,255,240,0) 100%),radial-gradient(80% 90% at 50% 100%,#6FC497 0,#3E8A64 55%,#1F5039 100%);box-shadow:inset 0 -4px 8px rgba(5,40,20,.5),0 0 18px 4px rgba(111,196,151,.45)}
.ec-calm .ec-beam{background:conic-gradient(from 0deg,rgba(140,230,180,.18) 0deg,rgba(140,230,180,0) 34deg,rgba(140,230,180,0) 180deg,rgba(140,230,180,.18) 180deg,rgba(140,230,180,0) 214deg,rgba(140,230,180,0) 360deg);animation-duration:9s}
.ec-calm .ec-dome::after{animation-duration:9s;opacity:.5}
@keyframes ec-spin{to{transform:rotate(360deg)}}

/* Heading */
.ec-head{padding:4px 4px 0}
.ec-hero h1{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(30px,9vw,64px);line-height:1;letter-spacing:.02em;color:#FFF;text-shadow:0 3px 0 #7E2219,0 0 28px rgba(232,80,66,.45)}
.ec-calm h1{text-shadow:0 3px 0 #0F3B2A,0 0 28px rgba(111,196,151,.35)}
.ec-sub{margin:10px 0 0;font-size:16px;line-height:1.4;color:#C3C9DD}

/* Bays: recessed instrument wells */
.ec-bays{display:grid;gap:12px;margin-top:18px}
.ec-bay{position:relative;padding:12px 12px 14px;border-radius:20px;background:linear-gradient(180deg,#0B0F22 0,#11173000 140%),#10152C;
  box-shadow:inset 0 3px 10px rgba(0,0,0,.65),inset 0 -1px 0 rgba(255,255,255,.07),0 1px 0 rgba(255,255,255,.06)}
.ec-plate{display:inline-block;margin:0 0 8px;padding:3px 12px;border-radius:6px;background:linear-gradient(180deg,#3A4268,#252C4C);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 1px 2px rgba(0,0,0,.6);font:700 12px/1.4 var(--body);letter-spacing:.16em;text-transform:uppercase;color:#D5DAEA}
.ec-calm .ec-plate{background:linear-gradient(180deg,#2F6B4F,#1E4A37)}

/* The dial */
.ec-gauge{width:min(100%,250px);margin:0 auto}
.ec-dial{display:block;width:100%;height:auto;filter:drop-shadow(0 8px 12px rgba(0,0,0,.5))}
.ec-dial text{font-family:var(--display);font-weight:800;font-size:15px;fill:#C3C9DD}
.ec-tk-major{stroke:#E8ECF6;stroke-width:2.4}
.ec-band{opacity:.6;transition:opacity .5s,filter .5s}
.ec-hero[data-level="1"] .ec-band[data-band="1"],.ec-hero[data-level="3"] .ec-band[data-band="3"],.ec-hero[data-level="5"] .ec-band[data-band="5"]{opacity:1;filter:drop-shadow(0 0 5px currentColor)}
.ec-hero[data-level="1"] .ec-band[data-band="1"]{color:#FF6B5C}
.ec-hero[data-level="3"] .ec-band[data-band="3"]{color:#F2B35B}
.ec-hero[data-level="5"] .ec-band[data-band="5"]{color:#6FC497}
.ec-needle{transform-box:view-box;transform-origin:120px 128px;transition:transform .9s cubic-bezier(.3,1.4,.6,1);filter:drop-shadow(0 0 4px rgba(255,217,146,.85))}

/* The readout */
.ec-level{display:inline-block;margin:8px 0 0;padding:6px 18px 5px;border-radius:10px;background:#060913;box-shadow:inset 0 2px 8px rgba(0,0,0,.9),0 0 0 2px #262C4C,0 1px 0 2px rgba(255,255,255,.08);font:800 25px/1.2 var(--display);letter-spacing:.14em;color:var(--ec-glow);text-shadow:0 0 12px rgba(255,217,146,.6);transition:color .4s}
.ec-level:focus{outline:none}
.ec-level:focus-visible{outline:3px solid var(--lamp-hot);outline-offset:4px}
.ec-hero[data-level="1"] .ec-level{color:#FF9A8D;text-shadow:0 0 12px rgba(255,107,92,.7)}
.ec-hero[data-level="5"] .ec-level{color:#A6E8C3;text-shadow:0 0 12px rgba(111,196,151,.7)}

/* ---------- the big button under its safety cover ---------- */
.ec-bay-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding-top:30px;padding-bottom:22px}
.ec-press{width:100%;max-width:460px}
.ec-press[hidden]{display:none}
.ec-housing{position:relative;padding:12px;border-radius:32px;perspective:1600px;
  background:repeating-linear-gradient(-45deg,#F2B35B 0 10px,#17181E 10px 20px);box-shadow:0 0 0 2px #05070F,0 10px 24px -8px rgba(0,0,0,.8),inset 0 0 0 1px rgba(255,255,255,.2)}
.ec-housing::before{content:"";position:absolute;inset:8px;border-radius:25px;background:linear-gradient(180deg,#05070F,#1A2040);box-shadow:inset 0 3px 8px rgba(0,0,0,.9)}
.ec-big{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:124px;padding:14px 18px 18px;border:0;border-radius:22px;color:#FFF;cursor:pointer;
  background:radial-gradient(120% 80% at 50% 0,#F47C6F 0,#D94E42 42%,#B23A30 100%);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.4),inset 0 -8px 14px rgba(70,8,4,.35),0 9px 0 var(--ec-red-deep),0 9px 0 1px #3A0D09,0 0 44px rgba(232,80,66,.35);
  transform:translateY(-6px);transition:transform .12s ease-out,box-shadow .12s ease-out,filter .2s}
.ec-big::after{content:"";position:absolute;left:8%;right:8%;top:6px;height:38%;border-radius:18px 18px 50% 50%/18px 18px 26px 26px;background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(255,255,255,0));pointer-events:none}
.ec-big b{font:800 clamp(34px,9.4vw,50px)/1 var(--display);letter-spacing:.04em;text-shadow:0 2px 0 rgba(90,14,8,.55)}
.ec-big span{font:600 16px/1.3 var(--body);letter-spacing:0}
.ec-lifted .ec-big:hover{filter:brightness(1.07)}
.ec-big:active:not([aria-disabled]),.ec-big:disabled{transform:translateY(2px);box-shadow:inset 0 2px 0 rgba(255,255,255,.3),inset 0 -4px 10px rgba(70,8,4,.4),0 1px 0 var(--ec-red-deep),0 0 60px rgba(232,80,66,.6)}
.ec-big:disabled{cursor:default}
/* The cover: clear smoked plastic, hinged along its top edge. */
.ec-cover{position:absolute;z-index:2;inset:4px;display:flex;align-items:flex-end;justify-content:center;padding:0;border:2px solid rgba(225,232,255,.42);border-radius:28px;cursor:pointer;color:#17181E;
  background:linear-gradient(165deg,rgba(255,255,255,.3) 0,rgba(255,255,255,.06) 30%,rgba(255,255,255,0) 60%,rgba(255,255,255,.1) 100%),rgba(120,140,200,.08);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.5),inset 0 -3px 10px rgba(255,255,255,.12),0 6px 14px rgba(0,0,0,.35);
  transform-origin:50% 0;transform-style:preserve-3d;transition:transform .55s cubic-bezier(.25,1.35,.5,1),background .3s}
.ec-cover::before{content:"";position:absolute;left:18%;right:18%;top:-6px;height:10px;border-radius:5px;background:linear-gradient(180deg,#A9B0CA,#4A5274);box-shadow:0 2px 3px rgba(0,0,0,.6)}
.ec-cover:hover{background:linear-gradient(165deg,rgba(255,255,255,.42) 0,rgba(255,255,255,.12) 34%,rgba(255,255,255,.05) 60%,rgba(255,255,255,.2) 100%),rgba(150,170,220,.16)}
.ec-cover-tab{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:3px 14px;border-radius:999px;background:var(--lamp);box-shadow:0 2px 0 #9A6420,inset 0 1px 0 rgba(255,255,255,.5);font:800 14px/1.2 var(--body);letter-spacing:.02em;backface-visibility:hidden;transform:translateY(60%)}
.ec-cover-tab svg{width:14px;height:14px}
.ec-lifted .ec-cover{transform:rotateX(114deg);background:linear-gradient(0deg,rgba(255,255,255,.22),rgba(255,255,255,.04)),rgba(150,170,220,.08);border-color:rgba(225,232,255,.3);box-shadow:inset 0 2px 0 rgba(255,255,255,.35)}
.ec-lifted .ec-cover-tab{visibility:hidden}
.ec-big:focus-visible,.ec-cover:focus-visible,.ec-opt:focus-visible,.ec-done:focus-visible,.ec-confess-btn:focus-visible,.ec-home:focus-visible,.ec-fix .cb-btn:focus-visible{outline:3px solid var(--lamp-hot);outline-offset:4px}

/* The counter */
.ec-count{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;margin:0;font-size:16px;line-height:1.4;color:#C3C9DD}
.ec-count b{display:inline-block;min-width:4.2em;padding:2px 10px;border-radius:7px;background:#060913;box-shadow:inset 0 2px 6px rgba(0,0,0,.9),0 0 0 1px #262C4C;color:var(--ec-glow);font:800 18px/1.3 var(--display);letter-spacing:.06em;font-variant-numeric:tabular-nums;text-shadow:0 0 8px rgba(255,217,146,.5)}
.ec-count-led{width:9px;height:9px;border-radius:50%;background:#6FC497;box-shadow:0 0 8px 1px rgba(111,196,151,.8);animation:ec-blink 2.4s ease-in-out infinite}
@keyframes ec-blink{50%{opacity:.35}}
.ec-count[hidden]{display:none}

/* After the press: the instruments fold into one status strip so the keys come up the screen. */
.ec-pressed .ec-bay-dial{display:grid;grid-template-columns:minmax(0,170px) auto;align-items:center;justify-content:center;gap:4px 16px;padding:12px 14px}
.ec-pressed .ec-plate{grid-column:1/-1;justify-self:center;margin:0}
.ec-pressed .ec-gauge{width:100%}
.ec-pressed .ec-level{margin:0}
.ec-pressed .ec-bay-btn{padding:4px 0 0;background:none;box-shadow:none}

/* ---------- the six keys ---------- */
.ec-menu{margin:26px 0 0}
.ec-menu-h{margin:0 0 16px;font-family:var(--display);font-size:clamp(26px,7vw,36px);line-height:1.15;color:#FFF}
.ec-menu-h:focus{outline:none}
.ec-options{list-style:none;margin:0;padding:0;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.ec-options li{display:flex}
.ec-opt{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:12px;width:100%;min-height:128px;margin:0 0 5px;padding:14px 14px 15px;border:0;border-radius:18px;cursor:pointer;text-align:left;color:#F4EFE4;font:700 17px/1.25 var(--body);
  background:linear-gradient(180deg,#36416D 0,#283158 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -2px 0 rgba(0,0,0,.25),0 5px 0 #080B19,0 12px 18px -8px rgba(0,0,0,.7);
  transition:transform .12s ease-out,box-shadow .12s ease-out,background .25s,color .25s}
.ec-opt:hover{background:linear-gradient(180deg,#3E4A7A 0,#2D3762 100%)}
.ec-opt:active{transform:translateY(4px);box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -2px 0 rgba(0,0,0,.25),0 1px 0 #080B19,0 4px 8px -4px rgba(0,0,0,.7)}
.ec-key-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:13px;background:#0F1430;color:var(--ec-glow);box-shadow:inset 0 2px 6px rgba(0,0,0,.7),0 1px 0 rgba(255,255,255,.1)}
.ec-ic{width:28px;height:28px}
.ec-key-t{display:block}
.ec-led{position:absolute;top:14px;right:14px;width:10px;height:10px;border-radius:50%;background:#3A3550;box-shadow:inset 0 1px 2px rgba(0,0,0,.7),0 1px 0 rgba(255,255,255,.12)}
.ec-opt[aria-expanded="true"]{color:#1B2340;background:linear-gradient(180deg,#FFD08A 0,#F2B35B 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 0 rgba(120,70,10,.3),0 2px 0 #7A4D12,0 0 26px rgba(242,179,91,.45)}
.ec-opt[aria-expanded="true"] .ec-key-ic{background:#1B2340}
.ec-opt[aria-expanded="true"] .ec-led{background:#FF5A47;box-shadow:0 0 8px 2px rgba(255,90,71,.85)}
@media (max-width:349px){.ec-options{grid-template-columns:1fr}.ec-opt{min-height:0;flex-direction:row;align-items:center;padding-right:34px}}

/* ---------- the briefing ---------- */
.ec-result{margin:22px 0 0;text-align:left}
.ec-panel{border-radius:20px;background:#F7F2E7;color:var(--ink);overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 22px 40px -18px rgba(0,0,0,.8),inset 0 -2px 0 #E2D8C3}
.ec-panel a{color:var(--ink);text-underline-offset:3px;text-decoration-thickness:2px;text-decoration-color:var(--lamp)}
.ec-fix+.ec-fix{border-top:2px solid var(--line)}
.ec-fix-top{display:flex;align-items:center;gap:14px;padding:16px 18px;background:linear-gradient(180deg,#232B4F,#1B2340);color:#FFF;box-shadow:inset 0 -3px 0 var(--lamp)}
.ec-fix-ic{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:var(--lamp);color:#1B2340;box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 2px 0 #7A4D12}
.ec-kicker{margin:0 0 2px;font:700 12px/1.3 var(--body);letter-spacing:.16em;text-transform:uppercase;color:var(--ec-glow)}
.ec-fix-h{margin:0;font-family:var(--display);font-size:clamp(24px,6.4vw,30px);line-height:1.15;color:#FFF}
.ec-fix-h:focus{outline:none}
.ec-fix-body{padding:20px 18px 22px}
.ec-fix-body>p{margin:0}
.ec-fix-body>p+p{margin-top:12px}
.ec-fix .answer{font-size:20px;line-height:1.45;font-weight:600}
.ec-fix .copy-box{margin:22px 0 4px;padding:0;background:none;border:0}
.ec-fix .cb-label{margin:0 0 10px;color:var(--muted)}
.ec-fix .cb-text{position:relative;margin:0 6px;padding:26px 20px 20px 46px;border-radius:3px;font:400 25px/32px Gaegu,'Comic Sans MS',var(--body);font-style:normal;color:#1F2A52;transform:rotate(-.8deg);
  background:linear-gradient(90deg,rgba(0,0,0,0) 32px,rgba(200,70,60,.35) 32px,rgba(200,70,60,.35) 34px,rgba(0,0,0,0) 34px),repeating-linear-gradient(180deg,#FFFDF7 0 31px,#D7E1F0 31px 32px);background-position:0 0,0 18px;
  box-shadow:0 1px 1px rgba(0,0,0,.08),0 14px 24px -14px rgba(27,35,64,.6)}
.ec-fix .cb-text::before{content:"";position:absolute;left:50%;top:-11px;width:96px;height:24px;margin-left:-48px;transform:rotate(2deg);background:rgba(242,179,91,.55);box-shadow:inset 0 0 0 1px rgba(160,100,20,.15)}
.ec-cb-btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.ec-fix .cb-btn{display:inline-flex;align-items:center;gap:8px;min-height:48px;margin:0;padding:0 20px 0 16px;border:0;border-radius:14px;font:700 17px var(--body);cursor:pointer;transition:transform .12s ease-out,box-shadow .12s,background .2s}
.ec-fix .ec-copy{background:#1B2340;color:#FFF;box-shadow:0 4px 0 #0A0E20}
.ec-fix .ec-copy:hover{background:#26305A}
.ec-fix .ec-print-btn{background:#FFF;color:#1B2340;box-shadow:inset 0 0 0 2px #1B2340,0 4px 0 #C9BFA9}
.ec-fix .ec-print-btn:hover{background:var(--paper-2)}
.ec-fix .cb-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #0A0E20}
.ec-fix .ec-copy.ec-copied{background:#2F6B4F;box-shadow:0 4px 0 #1E4634}
.ec-bi{width:20px;height:20px}
.ec-fix .cb-btn[hidden]{display:none}
.ec-full,.ec-more{font-size:17px}
.ec-fix-body>.ec-full{margin-top:20px;padding-top:16px;border-top:2px dashed var(--line);font-weight:600}
.ec-fix-body>.ec-more{margin-top:16px}
/* The tonight picker in option 3 (picker.css), dressed for the control room. */
.ec-fix .picker{margin:20px 0 0;padding:18px 16px 20px;background:#FFF;border:0;border-radius:18px;box-shadow:inset 0 0 0 2px var(--line),0 10px 20px -14px rgba(27,35,64,.5)}
.ec-fix .picker .pk-h{font-size:24px}
.ec-fix .pk-a,.ec-fix .pk-more{border-radius:14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 4px 0 #080B19;transition:transform .12s ease-out,box-shadow .12s}
.ec-fix .pk-a:active,.ec-fix .pk-more:active{transform:translateY(3px);box-shadow:0 1px 0 #080B19}
.ec-fix .pk-more{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 4px 0 #9A6420}
.ec-fix .pk-end{background:var(--paper)}

/* The one app strip, as a slim console panel */
.ec-after .app-strip{margin:16px 0 0;padding:18px 20px;border-radius:18px;text-align:left;background:var(--ec-grain),linear-gradient(180deg,#232B4F,#161C38);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 0 0 1px rgba(255,255,255,.05),0 12px 24px -14px rgba(0,0,0,.8)}
.ec-after .app-strip h2{margin:0 0 4px;font-size:21px;color:#FFF}
.ec-after .app-strip p{color:#C3C9DD}
.ec-after .app-strip p+p{margin-top:12px}
.ec-after .app-strip .btn{min-height:48px}
@media (min-width:640px){.ec-after .app-strip .as-body{display:flex;align-items:center;flex-wrap:wrap;gap:8px 20px}.ec-after .app-strip h2{flex-basis:100%}.ec-after .app-strip .as-body>p:first-of-type{flex:1}.ec-after .app-strip p+p{margin-top:0}}

/* Emergency over: the big green key */
.ec-done-wrap{margin:22px 0 4px;text-align:center}
.ec-done{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:76px;margin-bottom:7px;padding:14px 22px;border:0;border-radius:20px;cursor:pointer;color:#FFF;font:800 clamp(20px,5.4vw,26px)/1.2 var(--display);
  background:linear-gradient(180deg,#3F8F68 0,#2C6E4E 100%);box-shadow:inset 0 2px 0 rgba(255,255,255,.3),inset 0 -4px 10px rgba(0,30,15,.3),0 7px 0 #153A2A,0 16px 26px -10px rgba(0,0,0,.7);
  transition:transform .12s ease-out,box-shadow .12s ease-out,filter .2s}
.ec-done:hover{filter:brightness(1.08)}
.ec-done:active{transform:translateY(5px);box-shadow:inset 0 2px 0 rgba(255,255,255,.3),0 2px 0 #153A2A}
.ec-done-led{flex:none;width:14px;height:14px;border-radius:50%;background:#A6E8C3;box-shadow:0 0 10px 3px rgba(166,232,195,.7),inset 0 -2px 3px rgba(0,60,30,.4)}
.ec-calm .ec-done{background:linear-gradient(180deg,#F7F2E7,#E6DCC6);color:#1E4634;box-shadow:inset 0 2px 0 #FFF,0 3px 0 #9DB9A8}

/* Hidden until the cover is lifted, the button pressed and an option picked (only with the script). */
.js .ec-menu:not(.on),.js .ec-result:not(.on),.js .ec-fix:not(.on){display:none}
.js .ec-fix+.ec-fix{border-top:0}
.js .ec-nojs{display:none}
html:not(.js) .ec-press,html:not(.js) .ec-done-wrap{display:none}
html:not(.js) .ec-bay-btn{padding-top:18px}
.js .ec-menu.on{animation:ec-rise .45s cubic-bezier(.2,.9,.3,1) 1}
.js .ec-fix.on{animation:ec-rise .35s cubic-bezier(.2,.9,.3,1) 1}
@keyframes ec-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- the confession hatch ---------- */
.ec-confess{padding:36px 12px 18px;background:linear-gradient(180deg,#0C1022,#0A0D1C)}
.ec-hatch{position:relative;max-width:680px;margin:0 auto;padding:30px 20px 22px;border-radius:22px;
  background:var(--ec-grain),linear-gradient(180deg,#232B4F 0,#171D39 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 0 0 1px rgba(255,255,255,.05),0 0 0 4px #070A16,0 24px 40px -20px rgba(0,0,0,.9)}
.ec-hatch::before{content:"";position:absolute;inset:10px;pointer-events:none;background:var(--ec-rivet) left top/9px 9px no-repeat,var(--ec-rivet) right top/9px 9px no-repeat,var(--ec-rivet) left bottom/9px 9px no-repeat,var(--ec-rivet) right bottom/9px 9px no-repeat}
.ec-slot{width:min(70%,260px);height:18px;margin:0 auto 20px;padding:4px;border-radius:12px;background:linear-gradient(180deg,#8A92B0,#3A4166);box-shadow:0 1px 0 rgba(255,255,255,.15)}
.ec-slot span{display:block;height:100%;border-radius:8px;background:linear-gradient(180deg,#000 0,#141933 100%);box-shadow:inset 0 3px 4px #000,0 0 14px rgba(242,179,91,.25)}
.ec-hatch h2{margin:0 0 8px;font-family:var(--display);font-size:clamp(24px,6.4vw,30px);line-height:1.2;color:#FFF;text-align:center}
.ec-hatch>p{margin:0 auto;max-width:52ch;color:#C3C9DD;font-size:17px;line-height:1.5;text-align:center}
.ec-form{margin-top:18px}
.ec-form p{margin:0}
.ec-form textarea{display:block;width:100%;box-sizing:border-box;min-height:104px;padding:14px 16px;border:0;border-radius:14px;background:#070A16;color:#F4EFE4;font:18px/1.45 var(--body);resize:vertical;box-shadow:inset 0 3px 10px rgba(0,0,0,.9),0 0 0 2px #3A4468,0 1px 0 2px rgba(255,255,255,.06)}
.ec-form textarea:focus-visible{outline:3px solid var(--lamp-hot);outline-offset:3px}
.ec-form-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-top:14px}
.ec-tick{display:flex;align-items:center;gap:12px;min-height:44px}
.ec-tick input{width:26px;height:26px;margin:0;accent-color:var(--lamp)}
.ec-tick input:focus-visible{outline:3px solid var(--lamp-hot);outline-offset:2px}
.ec-tick label{font-size:18px;color:#F4EFE4;cursor:pointer}
.ec-confess-btn{min-height:52px;min-width:150px;margin-bottom:5px;padding:0 28px;border:0;border-radius:16px;cursor:pointer;color:#FFF;font:800 20px var(--display);
  background:linear-gradient(180deg,#E0574A,#B83C31);box-shadow:inset 0 2px 0 rgba(255,255,255,.3),0 5px 0 var(--ec-red-deep);transition:transform .12s ease-out,box-shadow .12s}
.ec-confess-btn:active:not(:disabled){transform:translateY(4px);box-shadow:inset 0 2px 0 rgba(255,255,255,.3),0 1px 0 var(--ec-red-deep)}
.ec-confess-btn:disabled{background:#2E3557;color:#C3C8DA;box-shadow:inset 0 2px 6px rgba(0,0,0,.5),0 0 0 1px #3A4468;cursor:not-allowed}
.ec-cf-msg{margin-top:12px!important;min-height:1.5em;font-weight:600;color:var(--ec-glow)}
.ec-cf-fine{margin-top:10px!important;font-size:.85rem;opacity:.85}.ec-cf-fine a{color:inherit;text-decoration:underline}
.ec-home{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:18px 0 0;padding:6px 4px;color:#C3C9DD;font:700 15px var(--display);text-decoration:none}
.ec-home:hover{color:#FFF}
.ec-home img{display:block;border-radius:8px}

/* ---------- the shared footer, kept to its legal lines and Info links here ---------- */
body.elfcon footer{padding:10px 0 26px;background:#0A0D1C;border-top:1px solid #1E2443;font-size:13px}
body.elfcon footer .foot{display:block;margin:0}
body.elfcon footer .foot-brand,body.elfcon footer .foot-col:not([aria-labelledby="fc-info"]){display:none}
body.elfcon footer .foot-col[aria-labelledby="fc-info"]{display:flex;flex-direction:row;flex-wrap:wrap;gap:0 20px}
body.elfcon footer .foot-col h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.elfcon footer .foot-col a{font-size:14px;color:#C3C9DD}
body.elfcon footer .foot-legal{margin:6px 0 0;font-size:13px;color:#9EA5BF}
body.elfcon footer .foot-legal a{color:#C3C9DD}

/* ---------- wider screens ---------- */
@media (min-width:560px){
  .ec-room{padding:68px 20px 40px}
  .ec-console{padding:34px 24px 22px}
  .ec-head{padding:4px 60px 0}
  .ec-options{gap:14px}
  .ec-opt{font-size:19px}
  .ec-hatch{padding:34px 34px 26px}
  .ec-fix-top{padding:18px 26px}
  .ec-fix-body{padding:24px 26px 26px}
}
@media (min-width:900px){
  .ec-console{padding:40px 40px 30px}
  .ec-console>.ec-beacon{right:44px;top:-50px;width:74px;height:58px}
  .ec-dome{height:46px}
  .ec-bays{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;margin-top:28px}
  .ec-bay{padding:22px 24px 24px}
  .ec-bay-btn{padding-top:52px}
  .ec-gauge{width:min(100%,340px)}
  .ec-big{min-height:140px}
  .ec-gauge{width:min(100%,340px)}
  .ec-pressed .ec-bays{grid-template-columns:auto auto;justify-content:center;align-items:center;gap:32px}
  .ec-pressed .ec-bay-dial{grid-template-columns:150px auto;justify-content:start;padding:12px 22px}
  .ec-pressed .ec-plate{grid-column:2;grid-row:1;justify-self:start;align-self:end}
  .ec-pressed .ec-gauge{grid-row:1/3}
  .ec-pressed .ec-level{grid-column:2;justify-self:start;align-self:start}
  .ec-pressed .ec-bay-btn{padding:0 8px 0 0}
  .ec-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
  .ec-opt{min-height:140px;padding:18px 18px 18px}
  .ec-result{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-rows:auto 1fr;gap:0 22px;align-items:start}
  .ec-done-wrap{align-self:start}
  .ec-panel{grid-row:1/3}
  .ec-after .app-strip{margin:0}
  .ec-after .app-strip .as-body{display:block}
  .ec-after .app-strip p+p{margin-top:14px}
  .ec-done-wrap{margin:16px 0 0}
  .ec-done{min-height:96px;font-size:23px}
  .ec-confess{padding:48px 20px 20px}
}

/* ---------- print: only the note ---------- */
.ec-print{display:none}
@media print{
  html.ec-printing body>*:not(#ec-print){display:none!important}
  html.ec-printing #ec-print{display:block;padding:2.5cm 2cm;border:3px dashed #555;border-radius:18px;color:#000;background:#FFF}
  html.ec-printing #ec-print p{margin:0;font-family:Gaegu,var(--display);font-weight:400;font-size:30pt;line-height:1.35}
  html.ec-printing body{background:#FFF}
}

@media (prefers-reduced-motion:reduce){
  .ec-stripes::before,.ec-flash .ec-stripes::before,.ec-beam,.ec-dome::after,.ec-count-led,.ec-calm .ec-console,.js .ec-menu.on,.js .ec-fix.on{animation:none!important}
  .ec-needle,.ec-opt,.ec-big,.ec-cover,.ec-done,.ec-band,.ec-level,.ec-console::after,.ec-console,.ec-confess-btn,.ec-fix .cb-btn,.ec-fix .pk-a,.ec-fix .pk-more{transition:none!important}
  .ec-opt:active,.ec-done:active,.ec-big:active:not([aria-disabled]),.ec-fix .cb-btn:active{transform:none}
}
.elfcon main{position:relative}
.elfcon .crumbs{position:absolute;top:26px;left:16px;right:16px;z-index:6}
.elfcon .crumbs ol{margin:0;color:#C9CFEA}
.elfcon .crumbs a{color:#FFD9A0}
