/* Simulator scene for the proposal pages: a monitor showing a first-person cockpit at dusk (video loop + SVG panel). It is driven by the panel
   (panel.html?feed=1) through assets/simscene.js, and the controls drawn inside it are clickable, so the link is shown
   both ways. Generic by design: no simulator UI, aircraft or avionics brand is reproduced. */
@font-face { font-family: "DSEG7"; src: url("fonts/DSEG7Classic-Bold.ttf") format("truetype"); }
@font-face { font-family: "B612 Mono"; src: url("fonts/B612Mono-Regular.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "B612 Mono"; src: url("fonts/B612Mono-Bold.ttf") format("truetype"); font-weight: 700; }
.dcs { position: relative; width: 100%; }
.dcs-bezel { position: relative; padding: 1.3%; border-radius: 14px; background: linear-gradient(180deg, #1c1d1f, #0b0b0c); box-shadow: inset 0 0 0 1px #2e3033, 0 40px 70px -30px rgba(0,0,0,.85), 0 0 0 1px #000; }
.dcs-view { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: #05070b; }
.dcs-stage { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform-origin: 0 0; overflow: hidden; font-family: "B612 Mono", ui-monospace, monospace; color: #dfe6ee; }
.dcs-neck { width: 13%; height: 38px; margin: 0 auto; background: linear-gradient(90deg, #0b0b0c, #232427 50%, #0b0b0c); }
.dcs-foot { width: 34%; height: 10px; margin: 0 auto; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, #2a2b2e, #0e0e0f); box-shadow: 0 18px 30px -8px rgba(0,0,0,.8); }
.dcs.nostand .dcs-neck, .dcs.nostand .dcs-foot { display: none; }

/* outside view: looping video (falls back to a CSS dusk sky if the file cannot play) */
.dcs-w { position: absolute; left: -45%; right: -45%; top: -70%; height: 240%; transition: transform .35s linear;
  background: linear-gradient(180deg, #050b1d 0, #0d1f47 26%, #2b4a86 40%, #7f6a8f 46.5%, #e8915a 49.2%, #ffd9a0 49.9%, #ffe9c4 50%, #1c2633 50.05%, #121a25 54%, #090d14 70%, #05070b 100%); }
.dcs-w .sun { position: absolute; left: 61%; top: 50%; width: 340px; height: 150px; margin: -75px 0 0 -170px; background: radial-gradient(ellipse at center, rgba(255,214,150,.75), rgba(255,160,90,.25) 40%, rgba(255,160,90,0) 70%); }
.dcs-w .cl { position: absolute; height: 12px; border-radius: 50%; background: rgba(40,45,80,.75); filter: blur(5px); }
.dcs-vid { position: absolute; left: -9%; top: -17%; width: 118%; height: 118%; transition: transform .35s linear; will-change: transform; }
.dcs-vid video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dcs-beam { position: absolute; left: 50%; top: 236px; width: 700px; height: 130px; margin-left: -350px; opacity: 0; transition: opacity .35s; mix-blend-mode: screen; background: radial-gradient(ellipse at 50% 100%, rgba(255,248,220,.42), rgba(255,248,220,0) 70%); }
.dcs-beam.taxi { opacity: .45; } .dcs-beam.on { opacity: 1; }
.dcs-tip { position: absolute; top: 216px; width: 150px; height: 90px; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.dcs-tip.l { left: -40px; background: radial-gradient(ellipse at 0 50%, rgba(255,60,50,.5), rgba(255,60,50,0) 70%); }
.dcs-tip.r { right: -40px; background: radial-gradient(ellipse at 100% 50%, rgba(70,255,140,.45), rgba(70,255,140,0) 70%); }
.dcs-tip.on { opacity: 1; }
.dcs-stb { position: absolute; top: 160px; width: 240px; height: 200px; opacity: 0; pointer-events: none; mix-blend-mode: screen; }
.dcs-stb.l { left: -70px; background: radial-gradient(ellipse at 0 50%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%); }
.dcs-stb.r { right: -70px; background: radial-gradient(ellipse at 100% 50%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%); }
.dcs-stb.on { animation: dcs-stb 1.3s linear infinite; }
@keyframes dcs-stb { 0%, 4% { opacity: 1; } 5%, 9% { opacity: 0; } 10%, 13% { opacity: 1; } 14%, 100% { opacity: 0; } }

/* cockpit: SVG glareshield + instrument panel, layered over the video */
.dcs-pit { position: absolute; left: 0; top: 310px; width: 960px; height: 230px; display: block; }
#dcs-bcn.on { animation: dcs-bcn 1.1s ease-out infinite; }
@keyframes dcs-bcn { 0% { opacity: .38; } 35%, 100% { opacity: 0; } }
.dcs-gl { fill: #0b0c0d; stroke: #000; }
.dcs-gl.tr { fill: #ffb020; filter: drop-shadow(0 0 4px #ffb020); }
.dcs-gl.dn { fill: #3df07c; filter: drop-shadow(0 0 5px #3df07c); }
.dcs-apk rect { fill: #07080a; stroke: #000; } .dcs-apk text { fill: #2b3138; }
.dcs-apk.on rect { fill: #3df07c; filter: drop-shadow(0 0 4px rgba(61,240,124,.7)); } .dcs-apk.on text { fill: #06130a; }
.dcs-sw .lamp { fill: #2b3138; } .dcs-sw.on .lamp { fill: #3df07c; filter: drop-shadow(0 0 3px #3df07c); }
.dcs-sw .lv { transition: transform .09s ease-out; } .dcs-sw.on .lv { transform: translateY(-17px); }
#dcs-lever { transition: transform .28s cubic-bezier(.3,1.3,.5,1); }
.dcs-pb rect { fill: #2a0b09; stroke: #000; } .dcs-pb text { fill: #6a2a25; }
.dcs-pb.on rect { fill: #e63426; filter: drop-shadow(0 0 6px rgba(255,59,48,.7)); } .dcs-pb.on text { fill: #fff; }
.dcs-hot { cursor: pointer; }
.dcs-hot:hover > rect:first-child { stroke: rgba(255,255,255,.55); stroke-dasharray: 2 2; }
.dcs-pit .dcs-hint { fill: #59d2ff; }

/* overlays */
.dcs-hud { position: absolute; left: 16px; top: 14px; font-size: 11px; letter-spacing: .06em; line-height: 1.5; text-shadow: 0 1px 2px rgba(0,0,0,.8); }
.dcs-hud b { display: block; font-size: 20px; color: #3df07c; letter-spacing: .02em; }
.dcs-hud span { opacity: .8; }
.dcs-log { position: absolute; right: 16px; top: 14px; text-align: right; font-size: 10px; letter-spacing: .06em; line-height: 1.6; text-shadow: 0 1px 2px rgba(0,0,0,.9); }
.dcs-log div { opacity: 0; animation: dcs-log 4s ease-out forwards; white-space: nowrap; }
.dcs-log .tx b { color: #3df07c; } .dcs-log .rx b { color: #59d2ff; }
@keyframes dcs-log { 0% { opacity: 0; transform: translateX(8px); } 6% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: 0; } }
