.window { scroll-margin-top: calc(var(--bar) + var(--marquee) + 12px); }

.icon-log { background: #fff; background-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0); background-size: 60% 2px, 40% 2px; background-position: 3px 3px, 3px 8px; background-repeat: no-repeat; }
.icon-bin { background: #9ad1ff; border-radius: 0 0 4px 4px; }
.icon-run { background: #fff; background-image: linear-gradient(90deg, transparent 20%, #000 20% 30%, transparent 30%), linear-gradient(#000 0 0); background-size: 100% 100%, 70% 2px; background-position: 0 0, 2px 9px; background-repeat: no-repeat; }

.explorer-body { display: grid; grid-template-columns: 218px 1fr; padding: 0; overflow: hidden; }
.explorer-list { border-right: 2px solid var(--shade); background: #fff; overflow-y: auto; max-height: 64vh; }
.explorer-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-bottom: 1px dashed #999; background: none; color: #000; text-align: left; cursor: pointer; }
.explorer-row .row-name { font-weight: 700; }
.explorer-row .row-state { font-size: 15px; color: #6a6a6a; white-space: nowrap; }
.explorer-row[data-status="live"] .row-state { color: #007a00; }
.explorer-row:hover { background: #eef0ff; }
.explorer-row[aria-current="true"] { background: var(--navy); color: #fff; }
.explorer-row[aria-current="true"] .row-state { color: #cfd6ff; }
.explorer-row:focus-visible { outline: 2px dotted #000; outline-offset: -4px; }
.explorer-row[aria-current="true"]:focus-visible { outline-color: #fff; }

.explorer-detail { min-width: 0; max-height: 64vh; overflow-y: auto; }
.project-card { padding: 16px; }
.project-banner { display: grid; place-items: center; height: 96px; padding: 10px 14px; border: 2px solid; border-color: var(--shade) #fff #fff var(--shade); background: var(--tint, #000); color: #000; font-family: var(--pix); font-size: 20px; letter-spacing: 0.08em; overflow: hidden; }
.project-banner img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.project-head { margin-top: 12px; }
.project-head h2 { margin: 0; font-family: var(--pix); font-size: 17px; font-weight: 400; line-height: 1.3; letter-spacing: 0.04em; overflow-wrap: anywhere; }
.project-head p { margin: 4px 0 8px; color: #444; }
.status-chip { display: inline-block; padding: 2px 8px 0; border: 2px solid #000; background: #ddd; font-size: 16px; letter-spacing: 0.06em; }
.status-chip.live { background: #00a000; border-color: #006400; color: #fff; }
.status-chip.early, .status-chip.prototype { background: #ffe600; }
.status-chip.soon { background: #1084d0; border-color: #000080; color: #fff; }
.project-proof { margin-top: 12px; padding: 8px 10px; border-left: 4px solid var(--navy); background: #eef0ff; }
.project-proof p { margin: 0; font-size: 19px; }
.stack-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.stack-chips li { padding: 1px 8px 0; border: 2px solid #000; background: #fff; font-size: 16px; }
.project-blurb, .project-platforms, .project-card .actions { margin: 12px 0 0; }
.project-platforms { margin-top: 4px; font-size: 18px; color: #555; }
.project-card .actions { align-items: center; flex-wrap: wrap; margin-top: 14px; }

.push.primary { background: var(--navy); border-color: #5c5cff #000040 #000040 #5c5cff; color: #fff; }
.actions .push { display: inline-flex; align-items: center; }

.devlog-body { max-height: 48vh; }
.devlog-entries { margin: 0; padding: 0; list-style: none; }
.devlog-entry { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px dashed #999; }
.devlog-entry:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.devlog-entry h3 { margin: 2px 0 4px; font-size: 24px; line-height: 1.1; }
.devlog-entry p { margin: 0; }
.devlog-entry .devlog-meta { font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: #6a6a6a; }
.devlog-entry p:last-child { font-size: 19px; color: #333; }

.run-body p { margin: 0 0 12px; }
.run-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.run-row input { flex: 1; min-width: 0; padding: 4px 8px 2px; border: 2px solid; border-color: var(--shade) #fff #fff var(--shade); background: #fff; color: #000; font: inherit; }
.run-body .actions { justify-content: flex-end; margin: 0; }

.bin-body ul { margin: 0 0 12px; padding: 0; list-style: none; }
.bin-body li { padding: 3px 0; }
.bin-body small { color: #6a6a6a; }

.boot { position: fixed; inset: 0; z-index: 6000; display: grid; place-content: center; justify-items: center; gap: 22px; background: #000; color: #fff; text-align: center; cursor: pointer; }
.boot-title { margin: 0; font-family: var(--pix); font-size: clamp(34px, 9vw, 84px); letter-spacing: 0.06em; text-shadow: 5px 5px 0 var(--navy); }
.boot-title span { color: #ffe600; }
.boot-bar { width: min(360px, 70vw); height: 22px; padding: 3px; border: 2px solid; border-color: var(--shade) #fff #fff var(--shade); background: #000; }
.boot-bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--sky) 0 12px, transparent 12px 16px); animation: boot-fill 1.7s steps(18, jump-none) forwards; }
.boot-line { margin: 0; font-size: 24px; color: #d8d8d8; }
.boot-skip { margin: 0; font-size: 16px; color: #777; }
@keyframes boot-fill { to { width: 100%; } }

@media (max-width: 760px) {
  .explorer-body { grid-template-columns: 1fr; max-height: none; overflow: visible; }
  .explorer-list { max-height: 210px; border-right: 0; border-bottom: 2px solid var(--shade); }
  .explorer-detail { max-height: none; }
  .project-card { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .boot-bar i { animation: none; width: 100%; }
}
