/* ET-34342 Vector Space Biosciences - Discovery Board. Palette and type from the accepted spec. */
.vsb{--bg:#06111E;--tx:#F2FAFF;--ac:#7FD6FF;--ok:#3CBE8C;--bad:#C85A5A;--un:#A0AFC2;
  font-family:'DejaVu Sans',Verdana,Geneva,sans-serif;color:var(--tx);background:var(--bg);
  max-width:1280px;margin:0 auto;padding:84px 16px 40px}
.vsb h1,.vsb h2{font-family:'DejaVu Sans',Verdana,Geneva,sans-serif;color:var(--tx);margin:0}
.vsb-head{max-width:760px;margin:0 0 20px}
.vsb-head h1{font-size:1.7rem;line-height:1.2}
.vsb-kicker{color:var(--ac);letter-spacing:.14em;text-transform:uppercase;font-size:.75rem;margin:0 0 6px}
.vsb-lead{color:var(--tx);opacity:.9;line-height:1.55;font-size:.95rem}
.s-correct{color:var(--ok)}.s-incorrect{color:var(--bad)}.s-unresolved{color:var(--un)}
.vsb-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:900px){.vsb-grid{grid-template-columns:1fr 1fr;grid-auto-rows:1fr}}
.vsb-panel{position:relative;overflow:hidden;background:var(--bg);cursor:pointer;aspect-ratio:16/10;min-height:300px;outline-offset:3px}
@media(min-width:900px){.vsb-panel{aspect-ratio:auto;height:46vh;min-height:340px}}
.vsb-panel:focus-visible{outline:2px solid var(--ac)}
.vsb-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;opacity:1;filter:none;display:block}
.vsb-error{position:absolute;inset:0;margin:0;display:flex;align-items:center;justify-content:center;color:var(--bad);background:var(--bg);font-size:1rem;text-align:center;padding:16px}
.vsb-error[hidden]{display:none}
/* scrim: transparent at the top, 85% dark at the base, and never taller than 55% of the photograph */
.vsb-scrim{position:absolute;left:0;right:0;bottom:0;height:55%;pointer-events:none;
  background:linear-gradient(to bottom,rgba(6,17,30,0),rgba(6,17,30,.85))}
.vsb-text{position:absolute;left:0;bottom:0;width:100%;max-width:640px;max-height:55%;overflow-y:auto;
  box-sizing:border-box;padding:14px 18px 16px;text-align:left}
.vsb-text h2{font-size:1.02rem;line-height:1.3;margin-bottom:6px}
.vsb-desc{margin:0;font-size:.86rem;line-height:1.45}
.vsb-more{display:none;margin-top:8px}
.vsb-hist,.vsb-src,.vsb-shape,.vsb-nopuzzle{font-size:.8rem;line-height:1.45;margin:0 0 6px}
.vsb-src,.vsb-shape,.vsb-nopuzzle{color:var(--ac)}
.vsb-q{font-size:.88rem;line-height:1.45;margin:8px 0 4px}
.vsb-pid{color:var(--ac);font-weight:700;margin-right:6px}
.vsb-row{display:flex;gap:8px;margin-top:6px}
.vsb-row input{flex:1;min-width:0;background:rgba(6,17,30,.9);color:var(--tx);border:1px solid var(--ac);padding:8px 10px;font:inherit;font-size:.85rem}
.vsb-row button{background:var(--ac);color:var(--bg);border:0;padding:8px 16px;font:inherit;font-weight:700;cursor:pointer}
.vsb-state{margin:8px 0 0;padding:6px 10px;font-size:.85rem;border-left:4px solid var(--un);background:rgba(6,17,30,.85)}
.vsb-state[hidden]{display:none}
.vsb-state.correct{border-color:var(--ok);color:var(--ok)}
.vsb-state.incorrect{border-color:var(--bad);color:var(--bad)}
.vsb-state.unresolved{border-color:var(--un);color:var(--un);border-left-style:dashed}
.vsb-close{position:absolute;top:70px;left:12px;z-index:3;background:rgba(6,17,30,.85);color:var(--tx);border:1px solid var(--ac);padding:6px 12px;font:inherit;font-size:.8rem;cursor:pointer}
.vsb-close[hidden]{display:none}
.vsb-panel.open{position:fixed;inset:0;z-index:2000;height:auto;aspect-ratio:auto;cursor:default;min-height:0}
.vsb-panel.open .vsb-more{display:block}
.vsb-panel.open .vsb-text h2{font-size:1.15rem}
.vsb-notes{max-width:760px;margin-top:28px;font-size:.85rem;line-height:1.55}
.vsb-notes h2{font-size:1rem;margin-bottom:8px}
.vsb-notes a{color:var(--ac)}
body.vsb-lock{overflow:hidden}
/* ET-34499 entrance: one band above the six panels, the way into the puzzle. Not one of the six. */
.vsb-entrance{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;margin:0 0 14px;padding:22px 20px;
  background:linear-gradient(90deg,#0a2236,#06111E);border:1px solid var(--ac);border-left-width:6px;color:var(--tx);text-decoration:none;min-height:72px}
.vsb-entrance:hover,.vsb-entrance:focus-visible{background:linear-gradient(90deg,#0d2d47,#06111E);outline:2px solid var(--ac);outline-offset:2px}
.vsb-entrance-title{font-size:1.35rem;line-height:1.25;font-weight:700}
.vsb-entrance-go{color:var(--ac);font-size:.95rem;font-weight:700;white-space:nowrap}
@media(max-width:560px){.vsb-entrance-title{font-size:1.15rem}}
