/* Kesä-Explorer 1.0 — a Workbench 1.x flavoured page for SummerSync */

/* Workbench by Jens Kutilek (SIL Open Font License), served from this site. */
@font-face {
  font-family: "Workbench";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/workbench-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Workbench";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/workbench-symbols.woff2") format("woff2");
  unicode-range: U+2190, U+2192, U+2194-2199, U+2300-243F, U+2460-24FF, U+25A0-27BF, U+2800-28FF;
}
@font-face {
  font-family: "Workbench";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/workbench-math.woff2") format("woff2");
  unicode-range: U+0302-0303, U+0305, U+0391-03A9, U+03B1-03C9, U+2200-22FF, U+2308-230B;
}

:root {
  --blue: #0055aa;
  --white: #ffffff;
  --black: #000022;
  --orange: #ff8800;
  --blue-deep: #003f80;
  --red: #ff2200;
  --yellow: #ffcc00;
  --font: "Workbench", "VT323", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --bar-h: 30px;
  --gap: 26px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 18px);
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--white) var(--blue-deep);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: none;
  font-smooth: never;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: var(--black); }

a { color: var(--white); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

:focus-visible { outline: 2px dashed var(--orange); outline-offset: 2px; }

button { font: inherit; letter-spacing: inherit; color: inherit; }

code {
  font-family: var(--font);
  background: var(--black);
  color: var(--orange);
  padding: 0 5px;
  white-space: nowrap;
}

em { font-style: normal; color: var(--orange); }

[hidden] { display: none !important; }

/* Language switching */
html[data-lang="es"] [data-l="en"],
html[data-lang="en"] [data-l="es"] { display: none !important; }

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  background: var(--white);
  color: var(--blue);
  padding: 6px 10px;
}
.skip:focus { top: 40px; }

/* ---------- CRT ---------- */
body.crt::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 150;
  background:
    repeating-linear-gradient(to bottom, rgba(0, 0, 20, 0.13) 0 1px, transparent 1px 3px),
    radial-gradient(ellipse at center, transparent 62%, rgba(0, 0, 20, 0.32) 100%);
}

/* ---------- Screen bar ---------- */
.screenbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--bar-h);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--white);
  color: var(--blue);
  border-bottom: 2px solid var(--black);
  font-size: 17px;
  white-space: nowrap;
}
.sb-left, .sb-right { display: flex; align-items: stretch; min-width: 0; }
.sb-title {
  display: flex;
  align-items: center;
  padding: 0 14px 0 12px;
  font-weight: normal;
  border-right: 2px solid var(--blue);
}
.menus { display: flex; align-items: stretch; }
.menu { position: relative; display: flex; }
.menu-btn {
  background: none;
  border: 0;
  padding: 0 12px;
  cursor: pointer;
  color: var(--blue);
}
.menu-btn:hover,
.menu-btn[aria-expanded="true"] { background: var(--blue); color: var(--white); }
.menu-pop {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 230px;
  display: none;
  flex-direction: column;
  padding: 4px 0;
  background: var(--white);
  border: 2px solid var(--black);
  box-shadow: 4px 4px 0 var(--black);
}
.menu-btn[aria-expanded="true"] + .menu-pop { display: flex; }
.menu-pop > a,
.menu-pop > button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 14px;
  color: var(--blue);
  text-decoration: none;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-pop > a:hover,
.menu-pop > a:focus-visible,
.menu-pop > button:hover,
.menu-pop > button:focus-visible { background: var(--blue); color: var(--white); outline: none; }
.tick { visibility: hidden; }
.tick.on { visibility: visible; }

.sb-right > * { display: flex; align-items: center; gap: 0.6ch; padding: 0 12px; border-left: 2px solid var(--blue); }
.lang { gap: 0; padding: 0 6px !important; }
.lang button {
  background: none;
  border: 0;
  padding: 2px 6px;
  cursor: pointer;
  color: var(--blue);
}
.lang button[aria-pressed="true"] { background: var(--blue); color: var(--white); }

/* ---------- Gadgets ---------- */
.gad-close,
.gad-depth {
  position: relative;
  flex: none;
  width: 30px;
  height: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
}
.gad-close { border-right: 2px solid currentColor; }
.gad-depth { border-left: 2px solid currentColor; }
.gad-close::before {
  content: "";
  position: absolute;
  inset: 6px 8px;
  border: 2px solid currentColor;
}
.gad-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: currentColor;
}
.gad-depth::before,
.gad-depth::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 9px;
  border: 2px solid currentColor;
}
.gad-depth::before { left: 6px; top: 5px; }
.gad-depth::after { left: 11px; top: 10px; background: currentColor; }
.gad-close:active,
.gad-depth:active { background: var(--orange); }
.sb-depth { position: relative; width: 34px; padding: 0 !important; color: var(--blue); }
.sb-depth::before,
.sb-depth::after { content: ""; position: absolute; width: 12px; height: 9px; border: 2px solid currentColor; }
.sb-depth::before { left: 8px; top: 6px; }
.sb-depth::after { left: 13px; top: 11px; background: currentColor; }

/* ---------- Desktop icons ---------- */
.icons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 22px 16px 0;
}
.ico {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 92px;
  padding: 6px 4px;
  color: var(--white);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.ico-img { display: grid; place-items: end center; height: 50px; }
.ico-img svg { display: block; }
.ico-label { font-size: 16px; padding: 0 4px; }
.ico:hover .ico-label,
.ico:focus-visible .ico-label { background: var(--white); color: var(--blue); }
.ico:hover .ico-img,
.ico:focus-visible .ico-img { transform: translateY(-2px); }
.ico:active .ico-img svg { filter: invert(1); }

@media (min-width: 1240px) {
  body { padding-left: 116px; }
  .icons {
    position: fixed;
    top: calc(var(--bar-h) + 22px);
    left: 10px;
    width: 104px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 0;
    z-index: 5;
  }
  #trash { margin-top: 30px; }
}

/* ---------- Layout ---------- */
.desk {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
  max-width: 1420px;
  margin: 0 auto;
  padding: 26px 28px 60px;
  align-items: start;
}
.win-hero { grid-column: span 8; grid-row: span 2; }
.win-pic { grid-column: span 4; }
.win-dl { grid-column: span 4; }
.win-idea,
.win-feat,
.win-gal { grid-column: 1 / -1; }
.win-status { grid-column: span 7; }
.win-shell {
  grid-column: span 5;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.win-shell .shell-body { flex: 1; display: flex; flex-direction: column; }
.win-shell .shell-out { flex: 1 1 260px; height: auto; min-height: 260px; }
.win-install { grid-column: span 7; }
.col-stack {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
}
.win-about { grid-column: 1 / -1; }

/* ---------- Windows ---------- */
.win {
  position: relative;
  min-width: 0;
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 6px 6px 0 var(--black);
  scroll-margin-top: calc(var(--bar-h) + 18px);
  z-index: 1;
}
.win.is-front { z-index: 20; }
.win.is-back { z-index: 0; }
.win-bar {
  display: flex;
  align-items: stretch;
  height: 30px;
  background: var(--blue);
  color: var(--white);
  border-bottom: 2px solid var(--white);
  user-select: none;
}
.win.is-active > .win-bar {
  background: var(--white);
  color: var(--blue);
}
.win-title {
  flex: 1;
  min-width: 0;
  display: block;
  line-height: 28px;
  margin: 0;
  padding: 0 12px;
  font-size: 17px;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.win.is-active > .win-bar .win-title {
  background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(0, 85, 170, 0.14) 2px 4px);
}
.win-info {
  display: block;
  line-height: 28px;
  padding: 0 12px;
  font-size: 15px;
  border-left: 2px solid currentColor;
  white-space: nowrap;
}
.win-body { padding: 22px 24px 26px; }
.gad-size {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 24px;
  height: 20px;
  border: 2px solid var(--white);
  background: var(--blue);
}
.gad-size::before,
.gad-size::after { content: ""; position: absolute; border: 2px solid var(--white); }
.gad-size::before { left: 3px; top: 3px; width: 9px; height: 7px; }
.gad-size::after { left: 8px; top: 6px; width: 10px; height: 8px; background: var(--white); }

.win.is-shaded > .win-body,
.win.is-shaded > .gad-size { display: none; }
.win.is-shaded > .win-bar { border-bottom: 0; }

@media (pointer: fine) and (min-width: 900px) {
  .win > .win-bar { cursor: grab; }
  .win.is-dragging { z-index: 40; }
  .win.is-dragging > .win-bar { cursor: grabbing; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 18px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--white);
  box-shadow: inset -2px -2px 0 var(--black);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--white); color: var(--blue); }
.btn:active { background: var(--orange); color: var(--black); box-shadow: inset 2px 2px 0 var(--black); }
.btn-go { background: var(--orange); color: var(--black); border-color: var(--white); }
.btn-go:hover { background: var(--white); color: var(--black); }
.btn-small { font-size: 15px; padding: 5px 10px; }
.btn-wide { display: flex; width: 100%; margin: 16px 0 12px; }
.ver-tag { font-size: 14px; padding: 0 5px; background: var(--black); color: var(--orange); }

body.full-color .mode-pal,
body:not(.full-color) .mode-full { display: none; }

/* ---------- Hero ---------- */
.win-hero { align-self: stretch; display: flex; flex-direction: column; }
.hero-body { flex: 1; display: flex; flex-direction: column; padding-top: 18px; }
.demo {
  position: relative;
  flex: 1 0 210px;
  min-height: 210px;
  max-height: 420px;
  margin-bottom: 18px;
  background: var(--black);
  border: 2px solid var(--black);
  outline: 2px solid var(--white);
  overflow: hidden;
}
.copper { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.logo {
  position: absolute;
  left: 0;
  right: 0;
  top: calc((100% - 40px) / 2);
  transform: translateY(-50%);
  margin: 0;
  text-align: center;
  font-size: clamp(42px, 6.6vw, 104px);
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: 0.06em;
  color: var(--white);
  text-shadow:
    -3px 0 0 var(--black),
    3px 0 0 var(--black),
    0 -3px 0 var(--black),
    0 3px 0 var(--black),
    -3px -3px 0 var(--black),
    3px -3px 0 var(--black),
    -3px 3px 0 var(--black),
    3px 3px 0 var(--orange),
    6px 6px 0 var(--orange),
    9px 9px 0 var(--black),
    11px 11px 0 var(--black);
  pointer-events: none;
}
.tagline {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--orange);
  line-height: 1.2;
}
.lead { margin: 0 0 20px; font-size: 19px; max-width: 62ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: 15px; padding: 1px 8px; border: 2px solid var(--white); }
.chips li:last-child { background: var(--orange); color: var(--black); border-color: var(--orange); }

/* ---------- Pictures ---------- */
.pix {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: pixelated;
  background: var(--black);
}
body.full-color .pix { image-rendering: auto; }
.pic { margin: 0 0 14px; }
.pic .pix { border: 2px solid var(--black); outline: 2px solid var(--white); }
.pic figcaption { margin-top: 12px; font-size: 16px; }
.pic-body { padding-bottom: 22px; }

/* ---------- Download ---------- */
.kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0 0 14px;
  font-size: 17px;
}
.kv dt { color: var(--orange); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.fuel {
  height: 14px;
  border: 2px solid var(--white);
  background: repeating-linear-gradient(90deg, transparent 0 8px, rgba(255, 255, 255, 0.12) 8px 10px);
}
.fuel-bar {
  display: block;
  height: 100%;
  width: 12%;
  background: var(--orange);
}
.fuel-bar.is-full { width: 100%; }
.fuel-bar.is-empty { width: 0; }
.btn-soon { background: var(--blue-deep); color: var(--white); border-style: dashed; }
.btn-off { margin: 16px 0 12px; cursor: not-allowed; opacity: 0.75; border-style: dashed; box-shadow: none; }
.btn-off:hover { background: var(--blue); color: var(--white); }
.fine { font-size: 15px; line-height: 1.45; margin: 10px 0 0; opacity: 0.92; }

/* ---------- Idea ---------- */
.h-big {
  margin: 0 0 14px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: normal;
  line-height: 1.15;
  color: var(--white);
}
.win-idea p { max-width: 80ch; font-size: 19px; }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}
.pillar {
  position: relative;
  padding: 16px 18px 8px;
  border: 2px solid var(--white);
  background: var(--blue-deep);
}
.pillar-n {
  display: inline-block;
  font-size: 15px;
  padding: 0 6px;
  background: var(--orange);
  color: var(--black);
}
.pillar h4 { margin: 10px 0 6px; font-size: 22px; font-weight: normal; }
.pillar p { margin: 0 0 8px; font-size: 17px; }

/* ---------- Features ---------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 22px;
  font-size: 16px;
}
.legend > span { display: inline-flex; align-items: center; gap: 10px; }
.st { display: inline-block; width: 14px; height: 14px; flex: none; border: 2px solid var(--black); }
.st-ok { background: var(--white); }
.st-tested { background: var(--orange); }
.drawers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.drawer { border: 2px solid var(--white); background: var(--blue); box-shadow: 4px 4px 0 var(--black); }
.drawer > header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 12px 0 0;
  background: var(--white);
  color: var(--blue);
  border-bottom: 2px solid var(--white);
}
.d-ico {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 78px;
  background: var(--blue);
  border-right: 2px solid var(--black);
}
.drawer h3 { margin: 0; font-size: 21px; font-weight: normal; }
.drawer ul { margin: 0; padding: 14px 16px 16px; list-style: none; }
.drawer li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 16px;
  line-height: 1.4;
}
.drawer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--black);
}
.drawer li.ok::before { background: var(--white); }
.drawer li.tested::before { background: var(--orange); }

/* ---------- Gallery ---------- */
.gal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.gal-view { position: relative; border: 2px solid var(--black); outline: 2px solid var(--white); background: var(--black); }
.gal-view .pix { aspect-ratio: 3 / 2; object-fit: cover; }
.gal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 52px;
  background: var(--blue);
  border: 2px solid var(--white);
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
}
.gal-nav:hover { background: var(--orange); color: var(--black); }
.gal-prev { left: 10px; }
.gal-next { right: 10px; }
.gal-cap { margin: 0 0 16px; font-size: 18px; min-height: 5.6em; }
.gal-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.thumb {
  padding: 0;
  border: 2px solid var(--white);
  background: var(--black);
  cursor: pointer;
  line-height: 0;
}
.thumb img { width: 64px; height: 48px; object-fit: cover; image-rendering: pixelated; }
.thumb[aria-selected="true"] { border-color: var(--orange); outline: 2px solid var(--orange); }

/* ---------- Status ---------- */
.intro { margin-top: 0; }
.table-wrap { overflow-x: auto; }
.phases { width: 100%; border-collapse: collapse; font-size: 16px; }
.phases th {
  text-align: left;
  font-weight: normal;
  color: var(--orange);
  padding: 4px 8px 8px;
  border-bottom: 2px solid var(--white);
  white-space: nowrap;
}
.phases td { padding: 7px 8px; border-bottom: 1px dashed rgba(255, 255, 255, 0.35); }
.phases td:first-child { color: var(--orange); width: 2em; }
.phases td.c { width: 4.5em; text-align: center; }
.phases td.c::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 14px;
  border: 2px solid var(--white);
  vertical-align: middle;
}

/* Roadmap statuses: table cells, legend swatches and the admin panel share them. */
.sw {
  display: inline-block;
  flex: none;
  width: 26px;
  height: 14px;
  border: 2px solid var(--white);
  vertical-align: middle;
}
.phases td.st-done::before,
.sw.st-done { background: var(--white); }
.phases td.st-wip::before,
.sw.st-wip { background: linear-gradient(90deg, var(--orange) 50%, transparent 50%); }
.phases td.st-feedback::before,
.sw.st-feedback { background: var(--yellow); border-color: var(--yellow); animation: st-blink 1.6s steps(1) infinite; }
.phases td.st-problem::before,
.sw.st-problem { background: var(--red); border-color: var(--red); animation: st-blink 0.7s steps(1) infinite; }
@keyframes st-blink { 50% { background: transparent; } }
.st-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0 0;
  padding: 12px 0 0;
  list-style: none;
  font-size: 15px;
  border-top: 1px dashed rgba(255, 255, 255, 0.35);
}
.st-legend li { display: inline-flex; align-items: center; gap: 8px; }
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Install ---------- */
.h-sec {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: normal;
  color: var(--orange);
}
.h-sec:not(:first-child) { margin-top: 24px; }
.req { margin: 0; padding-left: 22px; }
.req li { margin-bottom: 4px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 52px;
  min-height: 40px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--black);
  border: 2px solid var(--white);
  font-size: 20px;
}
.steps b { font-weight: normal; color: var(--white); background: var(--blue-deep); padding: 0 4px; }
.note {
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 2px dashed var(--orange);
  font-size: 17px;
}
.note b { display: block; font-weight: normal; color: var(--orange); margin-bottom: 4px; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cols2 p { margin: 0; font-size: 17px; }

/* ---------- Keys ---------- */
.keys { display: grid; grid-template-columns: auto 1fr; gap: 12px 16px; margin: 0; align-items: baseline; }
.keys dt { white-space: nowrap; }
.keys dd { margin: 0; font-size: 17px; }
kbd {
  display: inline-block;
  font-family: var(--font);
  font-size: 16px;
  padding: 1px 8px;
  border: 2px solid var(--white);
  border-bottom-width: 4px;
  background: var(--blue-deep);
  color: var(--white);
}

/* ---------- Shell ---------- */
.shell-body { padding: 12px 14px 14px; cursor: text; }
.shell-out {
  height: 300px;
  overflow-y: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.4;
}
.shell-out .o { color: var(--orange); }
.shell-out .dim { opacity: 0.75; }
.shell-line { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 16px; }
.prompt { white-space: nowrap; }
.shell-in {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--white);
  font: inherit;
  caret-color: var(--orange);
  caret-shape: block;
  padding: 2px 0;
}

/* ---------- FAQ ---------- */
.win-faq details { border-bottom: 1px dashed rgba(255, 255, 255, 0.4); padding: 10px 0; }
.win-faq details:last-child { border-bottom: 0; }
.win-faq summary {
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  padding-left: 28px;
  position: relative;
}
.win-faq summary::-webkit-details-marker { display: none; }
.win-faq summary::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  line-height: 15px;
  text-align: center;
  font-size: 16px;
  border: 2px solid var(--white);
  background: var(--orange);
  color: var(--black);
}
.win-faq details[open] summary::before { content: "-"; background: var(--white); }
.win-faq summary:hover { color: var(--orange); }
.win-faq details p { margin: 8px 0 4px 28px; font-size: 17px; }

/* ---------- About ---------- */
.about-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
  padding-top: 18px;
  padding-bottom: 20px;
}
.about-ico { display: grid; place-items: center; }
.about-id p { margin: 0; }
.about-name { font-size: 26px; color: var(--orange); }
.credits { list-style: none; padding: 0 0 0 40px; margin: 0; font-size: 16px; border-left: 2px dashed rgba(255, 255, 255, 0.4); }
.credits li { margin-bottom: 4px; }
.credits li.fine { margin: 8px 0 0; }

/* ---------- Footer ---------- */
.footbar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 6px 14px;
  background: var(--white);
  color: var(--blue);
  font-size: 15px;
  border-top: 2px solid var(--black);
}

/* ---------- Requester ---------- */
.req-wrap {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 34, 0.35);
}
.req { width: min(460px, 100%); }
.req .win-body p { margin-top: 0; }
.req-btns { display: flex; justify-content: flex-end; }

/* ---------- Admin panel ---------- */
.admin-wrap {
  position: fixed;
  inset: 0;
  z-index: 130;
  overflow-y: auto;
  padding: 48px 16px;
  background: rgba(0, 0, 34, 0.55);
}
.admin { max-width: 1280px; margin: 0 auto; }
.admin .win-body { padding-top: 18px; }
.adm-sec + .adm-sec { margin-top: 26px; padding-top: 20px; border-top: 2px dashed rgba(255, 255, 255, 0.35); }
.adm-switch-row { display: flex; align-items: center; gap: 18px; }
.adm-label { margin: 0; font-size: 18px; }
.adm-switch-row .fine { margin-top: 2px; }
.switch {
  display: inline-flex;
  flex: none;
  padding: 0;
  border: 2px solid var(--white);
  background: var(--black);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--black);
}
.switch span { padding: 6px 12px; font-size: 16px; color: rgba(255, 255, 255, 0.45); }
.switch[aria-checked="false"] .switch-off { background: var(--red); color: var(--white); }
.switch[aria-checked="true"] .switch-on { background: var(--orange); color: var(--black); }
.switch:disabled { cursor: wait; opacity: 0.7; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.adm-table th { text-align: left; font-weight: normal; color: var(--orange); padding: 4px 6px 8px; border-bottom: 2px solid var(--white); white-space: nowrap; }
.adm-table td { padding: 6px; border-bottom: 1px dashed rgba(255, 255, 255, 0.3); vertical-align: middle; }
.adm-n { color: var(--orange); width: 2em; }
.adm-input,
.adm-select {
  font: inherit;
  font-size: 15px;
  color: var(--white);
  background: var(--blue-deep);
  border: 2px solid var(--white);
  padding: 4px 6px;
}
.adm-input { width: 100%; min-width: 210px; }
.adm-input:focus,
.adm-select:focus { outline: 2px dashed var(--orange); outline-offset: 1px; }
.adm-cell { white-space: nowrap; }
.adm-cell .sw { margin-right: 6px; }
.adm-select option { background: var(--blue-deep); color: var(--white); }
.adm-row-tools { white-space: nowrap; }
.adm-tool {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  padding: 0;
  font-size: 16px;
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--white);
  cursor: pointer;
}
.adm-tool:hover { background: var(--white); color: var(--blue); }
.adm-del:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.adm-spacer { flex: 1; }
.adm-actions .btn:disabled { opacity: 0.45; cursor: default; }
.adm-msg { min-height: 1.5em; }
.adm-msg.is-error { color: var(--yellow); opacity: 1; }
.adm-foot { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 16px; border-top: 2px dashed rgba(255, 255, 255, 0.35); }
@media (max-width: 760px) {
  .admin-wrap { padding: 16px 8px; }
  .adm-switch-row { align-items: flex-start; }
}

/* ---------- Zoom rectangles ---------- */
.zoomrect {
  position: fixed;
  z-index: 90;
  pointer-events: none;
  border: 2px solid var(--white);
  mix-blend-mode: difference;
}

/* ---------- Kickstart ---------- */
.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--blue);
  cursor: pointer;
}
.boot-inner { text-align: center; padding: 20px; }
.boot-disk { display: grid; place-items: center; animation: bob 1.1s steps(4) infinite alternate; }
.boot-disk svg { max-width: 60vw; height: auto; }
.boot-msg { font-size: clamp(22px, 3vw, 32px); margin: 28px 0 8px; }
.boot-small { font-size: 15px; margin: 0; opacity: 0.8; }
.boot.inserting .boot-disk { animation: insert 0.45s steps(6) forwards; }
.boot.flash { background: var(--blue); }
.boot.flash .boot-inner { visibility: hidden; }
@keyframes bob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes insert { to { transform: translateY(160px); opacity: 0; } }

/* ---------- Guru Meditation ---------- */
.guru {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: #000;
  cursor: pointer;
}
.guru-box {
  margin: 18px auto 0;
  width: min(820px, calc(100% - 24px));
  padding: 14px 18px;
  border: 6px solid var(--red);
  color: var(--red);
  text-align: center;
  font-size: clamp(16px, 2vw, 22px);
  animation: guru 1s steps(1) infinite;
}
.guru-box p { margin: 4px 0; }
@keyframes guru { 50% { border-color: transparent; } }

/* ---------- Easter eggs ---------- */
body.drunk .desk { animation: sway 2.6s ease-in-out infinite; filter: blur(0.7px); }
@keyframes sway {
  0%, 100% { transform: rotate(0) translateX(0); }
  25% { transform: rotate(0.6deg) translateX(10px); }
  75% { transform: rotate(-0.6deg) translateX(-10px); }
}
body.sauna::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 140;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 136, 0, 0.35), rgba(255, 255, 255, 0.12));
  animation: steam 1.2s steps(6) infinite alternate;
}
@keyframes steam { from { opacity: 0.6; } to { opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .win-hero { grid-column: 1 / -1; grid-row: auto; }
  .win-pic,
  .win-dl { grid-column: span 6; }
  .drawers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .win-status,
  .win-shell,
  .win-install,
  .col-stack,
  .win-about { grid-column: 1 / -1; grid-row: auto; }
  .win-shell .shell-out { flex-basis: 300px; max-height: 340px; }
}

@media (max-width: 760px) {
  :root { --gap: 20px; }
  body { font-size: 17px; }
  .desk { padding: 18px 16px 44px; }
  .win-pic,
  .win-dl { grid-column: 1 / -1; }
  .win-body { padding: 18px 16px 22px; }
  .pillars,
  .drawers,
  .cols2,
  .gal-body { grid-template-columns: minmax(0, 1fr); }
  .about-body { flex-direction: column; text-align: center; }
  .credits { padding-left: 0; border-left: 0; }
  .demo { flex-basis: 180px; min-height: 180px; }
  .sb-mem { display: none !important; }
  .icons { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding: 16px 12px 4px; }
  .ico { min-width: 80px; }
  .gal-cap { min-height: 0; }
  .keys { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .keys dd { margin-bottom: 10px; }
  .win { box-shadow: 4px 4px 0 var(--black); }
}

@media (max-width: 560px) {
  .sb-title { display: none; }
  .sb-clock { display: none !important; }
  .menu-btn { padding: 0 9px; }
  .menu:first-child .menu-pop { left: 0; }
  .menu-pop { min-width: 200px; }
  .sb-depth { display: none !important; }
  .cta .btn { flex: 1 1 auto; }
  .phases { font-size: 14px; }
  .phases th { white-space: normal; padding: 4px 3px 6px; font-size: 13px; vertical-align: bottom; }
  .phases td { padding: 6px 3px; }
  .phases td.c { width: auto; }
  .phases td.c::before { width: 16px; height: 12px; }
  .st-legend { font-size: 14px; gap: 6px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
