/* The forge's own shapes on top of the runtime's design system (the tokens are in views/app/theme.php). */
.vl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 14px; align-items: stretch; }
.vl-card { background: var(--ui-surface); border: 1px solid var(--bs-border-color); border-radius: 6px; padding: 14px; color: #ccc; font-size: 0.85rem; line-height: 1.55; text-decoration: none; display: block; transition: border-color .2s; }
a.vl-card:hover { border-color: #ff6600; color: #ddd; }
.vl-card-title { font-weight: bold; margin-bottom: 6px; font-size: 0.98rem; color: #fff; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.vl-brief { color: #aaa; font-size: 0.8rem; max-height: 3.2em; overflow: hidden; }
.vl-meta { font-size: 0.72rem; color: #666; margin-top: 6px; }
.vl-pill { font-size: 0.65rem; padding: 2px 8px; border-radius: 999px; border: 1px solid #444; color: #bbb; letter-spacing: 1px; text-transform: uppercase; }
.vl-pill.live { border-color: #00ff66; color: #00ff66; animation: vl-pulse 1.4s ease-in-out infinite; }
@keyframes vl-pulse { 50% { opacity: .5; } }
.ok { color: #00ff66; } .bad { color: #ff4d6d; } .warn { color: #ffcc00; }
.vl-h2 { font-size: 0.9rem; color: #cc6600; margin: 36px 0 12px; border-bottom: 1px solid #333; padding-bottom: 6px; letter-spacing: 2px; text-transform: uppercase; }
/* the game page */
.vl-gamebar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 0.8rem; color: #888; margin-bottom: 8px; }
.vl-gamebar b { color: #fff; font-size: 1.1rem; }
.vl-tabs { display: flex; gap: 2px; border-bottom: 1px solid #222; overflow: visible; flex-wrap: wrap; margin-bottom: 14px; position: relative; }
.vl-tabs [data-tab] { background: none; border: 0; border-bottom: 2px solid transparent; color: #999; padding: 10px 14px; letter-spacing: 2px; text-transform: uppercase; font-size: 0.72rem; font-family: inherit; cursor: pointer; }
.vl-tabs [data-tab]:hover { color: #fff; } .vl-tabs [data-tab].on { color: #ffcc00; border-bottom-color: #ff6600; }
.vl-pane { display: none; } .vl-pane.on { display: block; }
.vl-frame { width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; border: 1px solid #222; border-radius: 6px; background: #000; }
.vl-frame.tall { aspect-ratio: auto; height: 82vh; }
.vl-toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; font-size: 0.8rem; color: #888; }
.vl-toolbar input, .vl-toolbar select { background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 6px 10px; border-radius: 4px; font-family: inherit; font-size: 0.85rem; }
.vl-build { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (max-width: 900px) { .vl-build { grid-template-columns: 1fr; } }
.vl-stream { background: #0a0a0c; border: 1px solid #222; border-radius: 6px; height: 64vh; overflow-y: auto; padding: 14px 18px; font-size: 0.86rem; line-height: 1.6; max-width: 1100px; }
.ev { padding: 4px 0; border-bottom: 1px dashed #1a1a1a; white-space: pre-wrap; word-break: break-word; }
.ev.text { color: #e8e8e8; } .ev.tool { color: #7df9ff; } .ev.result { color: #777; font-size: 0.74rem; max-height: 6em; overflow: hidden; } .ev.result.err { color: #d08090; }
.ev.note { color: #8a8a8a; font-style: italic; } .ev.error { color: #ff4d6d; } .ev.stage { color: #ffcc00; font-weight: bold; } .ev.done { color: #00ff66; } .ev.soak { color: #ffb86b; } .ev.checkpoint { color: #a0a0ff; } .ev.idle { color: #555; }
.ev time { color: #444; font-size: 0.7rem; margin-right: 8px; }
.vl-compose { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.vl-compose textarea { background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 8px 12px; border-radius: 4px; font-family: inherit; font-size: 0.9rem; min-height: 64px; resize: vertical; }
.vl-compose .btns { display: grid; gap: 6px; }
.vl-side .vl-card { margin-bottom: 10px; }
.vl-side h3 { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: #cc6600; margin-bottom: 8px; }
.vl-tasks { list-style: none; padding: 0; font-size: 0.78rem; } .vl-tasks li { padding: 3px 0; color: #bbb; } .vl-tasks li.done { color: #4c8; text-decoration: line-through; opacity: .8; }
.vl-kv { font-size: 0.8rem; color: #aaa; line-height: 1.8; } .vl-kv b { color: #fff; }
.vl-doc { width: 100%; min-height: 60vh; background: #0a0a0c; color: #ddd; border: 1px solid #222; border-radius: 6px; padding: 14px; font-family: inherit; font-size: 0.85rem; line-height: 1.5; resize: vertical; }
.vl-json { background: #0a0a0c; border: 1px solid #222; border-radius: 6px; padding: 10px; font-size: 0.72rem; color: #9ad; overflow: auto; max-height: 50vh; }
.vl-shot { max-width: 320px; border: 1px solid #222; border-radius: 4px; display: block; margin-top: 8px; }
.vl-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.vl-msg { font-size: 0.8rem; color: #ffcc00; min-height: 1.2em; }
.vl-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.vl-table th, .vl-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid #1c1c1c; vertical-align: top; } .vl-table th { color: #cc6600; font-weight: normal; letter-spacing: 1px; text-transform: uppercase; font-size: 0.7rem; }
.vl-table tr:hover td { background: #0e0e10; }
.vl-form label { display: grid; gap: 4px; font-size: 0.75rem; color: #888; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.vl-form input, .vl-form textarea, .vl-form select { background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 8px 12px; border-radius: 4px; font-family: inherit; font-size: 0.9rem; width: 100%; }
.vl-anatomy .vl-card { cursor: default; }
/* the producer's notes */
.vl-notes-list { display: grid; gap: 6px; max-height: 46vh; overflow-y: auto; }
.vl-note { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: start; background: #0a0a0c; border: 1px solid #222; border-radius: 6px; padding: 6px; } .vl-note.sent { opacity: .7; } .vl-note.done { opacity: .45; }
.vl-note label { display: grid; grid-template-columns: auto auto 1fr; gap: 8px; align-items: start; cursor: pointer; } .vl-note img { width: 72px; height: 48px; object-fit: cover; border-radius: 3px; border: 1px solid #333; }
.vl-note-text { font-size: .8rem; color: #e8e8e8; } .vl-note-meta { font-size: .68rem; color: #777; }
.vl-note-btns { display: grid; gap: 4px; } .vl-note-btns button { background: #1a1a1a; border: 1px solid #333; color: #bbb; border-radius: 4px; width: 26px; height: 24px; font-size: .75rem; padding: 0; } .vl-note-btns button:hover { border-color: #ff6600; color: #fff; }
.vl-notes-strip { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: .78rem; color: #aaa; }
.vl-chip { display: inline-flex; align-items: center; gap: 6px; background: #111113; border: 1px solid #333; border-radius: 999px; padding: 3px 10px 3px 3px; color: #ddd; font-size: .74rem; } .vl-chip img { width: 28px; height: 20px; object-fit: cover; border-radius: 999px; }
/* GAME.md as a page */
.vl-md { background: #0a0a0c; border: 1px solid #222; border-radius: 6px; padding: 18px 22px; font-size: .86rem; line-height: 1.6; color: #ddd; max-width: 980px; }
.vl-md h1 { font-size: 1.5rem; color: #ffcc00; letter-spacing: 2px; margin: 0 0 10px; } .vl-md h2 { font-size: .85rem; color: #cc6600; letter-spacing: 2px; text-transform: uppercase; border-bottom: 1px solid #333; padding-bottom: 4px; margin: 22px 0 10px; } .vl-md h3 { font-size: .9rem; color: #fff; margin: 14px 0 6px; }
.vl-md p { margin: 0 0 10px; } .vl-md em { color: #9a9a9a; } .vl-md strong { color: #fff; } .vl-md code { color: #7df9ff; background: #17171a; padding: 0 4px; border-radius: 3px; } .vl-md pre { background: #111113; border: 1px solid #222; padding: 10px; border-radius: 4px; overflow: auto; }
.vl-md ul, .vl-md ol { padding-left: 22px; margin: 0 0 10px; } .vl-md li { margin: 3px 0; } .vl-md li.todo, .vl-md li.done { list-style: none; margin-left: -22px; padding-left: 0; } .vl-md li.done { color: #7a7a7a; text-decoration: line-through; }
.vl-md .box { display: inline-block; width: 14px; height: 14px; border: 1px solid #555; border-radius: 3px; vertical-align: -2px; margin-right: 6px; font-size: 11px; line-height: 13px; text-align: center; color: #111; } .vl-md .box.on { background: #00ff66; border-color: #00ff66; }
.vl-md table { font-size: .8rem; } .vl-md a { color: #ffcc00; } .vl-md hr { border-color: #333; }
/* the Notes tab */
.vl-notes-big { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 14px; min-width: 0; }
.vl-note-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; min-width: 0; overflow: visible; background: #0a0a0c; border: 1px solid #222; border-radius: 8px; padding: 12px; } .vl-note-card.sent { border-color: rgba(0,255,102,0.35); } .vl-note-card.done { opacity: .5; }
.vl-note-card img { width: 240px; height: 160px; object-fit: cover; border-radius: 4px; border: 1px solid #333; cursor: zoom-in; } .vl-note-noshot { width: 240px; height: 160px; border: 1px dashed #333; border-radius: 4px; color: #555; display: grid; place-items: center; font-size: .75rem; }
.vl-note-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .vl-note-head b { color: #7df9ff; }
.vl-note-big-text { font-size: 1rem; color: #fff; line-height: 1.5; margin-bottom: 6px; } .vl-note-fields { font-size: .7rem; color: #666; word-break: break-all; margin-top: 4px; }
.vl-note-actions { display: flex; gap: 6px; margin-top: 10px; }
.vl-check { display: inline-flex; gap: 6px; align-items: center; color: #aaa; font-size: .8rem; }
.vl-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000; place-items: center; cursor: zoom-out; } .vl-lightbox.on { display: grid; }
.vl-lightbox img { max-width: 92vw; max-height: 80vh; image-rendering: auto; border: 1px solid #333; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.8); } .vl-lightbox-cap { color: #e8e8e8; margin-top: 12px; font-size: .95rem; max-width: 80vw; text-align: center; }
@media (max-width: 700px) { .vl-note-card { grid-template-columns: 1fr; } .vl-note-card img, .vl-note-noshot { width: 100%; height: auto; } }
/* votes, comments, the compose panel */
.vl-vote { background: #1a1a1a; border: 1px solid #444; color: #bbb; border-radius: 999px; padding: 2px 10px; font: inherit; font-size: .78rem; cursor: pointer; } .vl-vote:hover { border-color: #ffcc00; color: #fff; } .vl-vote.on { background: #ffcc00; color: #111; border-color: #ffcc00; font-weight: bold; }
.vl-comments { margin-top: 8px; border-top: 1px dashed #222; padding-top: 6px; } .vl-comment { font-size: .8rem; color: #ccc; padding: 2px 0; } .vl-comment b { color: #7df9ff; font-weight: normal; } .vl-comment a { color: #666; text-decoration: none; margin-left: 6px; }
.vl-comment-form { display: flex; gap: 6px; margin-top: 6px; } .vl-comment-form input { flex: 1; background: #141416; border: 1px solid #2a2a2a; color: #fff; border-radius: 4px; padding: 5px 8px; font: inherit; font-size: .8rem; }
.vl-compose-batch { background: #0a0a0c; border: 1px solid #ff6600; border-radius: 8px; padding: 14px; margin-bottom: 14px; } .vl-compose-batch textarea { width: 100%; min-height: 220px; background: #141416; color: #fff; border: 1px solid #333; border-radius: 4px; padding: 10px; font: inherit; font-size: .85rem; line-height: 1.5; resize: vertical; }
/* the playtest window: the game, visible, in the corner while the bots play it */
.vl-soak-win { position: fixed; right: 16px; bottom: 16px; width: 480px; background: #0a0a0c; border: 1px solid #ff6600; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.8); z-index: 1500; overflow: hidden; }
.vl-soak-win.min { width: 300px; } .vl-soak-win.min .vl-soak-frame { height: 0; } .vl-soak-win.ok { border-color: #00ff66; } .vl-soak-win.bad { border-color: #ff4d6d; }
.vl-soak-title { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; font-size: .74rem; color: #ffcc00; letter-spacing: 1px; background: #111113; border-bottom: 1px solid #222; } .vl-soak-title button { background: none; border: 1px solid #444; color: #bbb; border-radius: 4px; width: 22px; height: 20px; line-height: 1; font-size: .8rem; padding: 0; }
.vl-soak-frame { display: block; width: 100%; height: 270px; border: 0; background: #000; }
@media (max-width: 600px) { .vl-soak-win { right: 8px; left: 8px; width: auto; } }
/* a note's state, loud enough to see across the room */
.vl-state { display: inline-block; font-size: .7rem; letter-spacing: 1px; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; border: 1px solid #444; color: #bbb; font-weight: bold; }
.vl-state.open { border-color: #ffcc00; color: #ffcc00; } .vl-state.sent { background: #00ff66; border-color: #00ff66; color: #061a0c; box-shadow: 0 0 10px rgba(0,255,102,0.5); } .vl-state.done { background: #2a2a2e; border-color: #2a2a2e; color: #aaa; }
/* grid children shrink below their content so nothing spills out of the pane */
.vl-note-body { min-width: 0; } .vl-note-big-text, .vl-note-meta, .vl-note-fields, .vl-comment { overflow-wrap: anywhere; } .vl-note-card img { max-width: 100%; }
.vl-pane, .vl-build, .vl-side, .vl-stream, .vl-compose-batch { min-width: 0; max-width: 100%; } .vl-compose-batch textarea { max-width: 100%; box-sizing: border-box; }
.vl-notes-list { min-width: 0; } .vl-note { min-width: 0; } .vl-note label { min-width: 0; } .vl-note-text { overflow-wrap: anywhere; }
.vl-tabs { max-width: 100%; } .vl-toolbar { max-width: 100%; } .vl-toolbar > span { min-width: 0; }
@media (max-width: 1100px) { .vl-note-card { grid-template-columns: 1fr; } .vl-note-card img, .vl-note-noshot { width: 100%; height: auto; max-height: 240px; } }
/* the media page and the advanced menu */
.vl-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.vl-media-card { display: block; background: #0a0a0c; border: 1px solid #333; border-radius: 10px; padding: 22px 20px; color: #ddd; text-decoration: none; min-height: 170px; transition: border-color .2s, transform .2s; } a.vl-media-card:hover { border-color: #ff6600; transform: translateY(-2px); color: #fff; } .vl-media-card.soon { opacity: .45; border-style: dashed; }
.vl-media-icon { font-size: 2rem; color: #ff6600; margin-bottom: 8px; } .vl-media-title { font-size: 1.1rem; font-weight: bold; color: #ffcc00; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; } .vl-media-sub { font-size: .8rem; color: #aaa; line-height: 1.5; }
.vl-tab-menu { position: relative; display: inline-block; margin-left: auto; } .vl-tab-menu-list { display: none; position: absolute; top: 100%; right: 0; background: #111113; border: 1px solid #333; border-radius: 6px; z-index: 20; min-width: 150px; padding: 4px; } .vl-tab-menu.open .vl-tab-menu-list { display: grid; } .vl-tab-menu-list button { text-align: left; border-bottom: 0 !important; }
.vl-assets { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; } .vl-asset { background: #0a0a0c; border: 1px solid #222; border-radius: 8px; padding: 10px; min-width: 0; } .vl-asset img { width: 100%; height: 120px; object-fit: contain; background: repeating-conic-gradient(#141416 0 25%, #0a0a0c 0 50%) 0 0 / 16px 16px; border-radius: 4px; } .vl-asset-name { font-size: .8rem; color: #fff; margin-top: 6px; overflow-wrap: anywhere; }
/* the timeline, easy on the eyes: the agent's words as markdown, tool chatter small and folded */
.vl-stageline { font-size: .74rem; color: #ffcc00; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 8px; min-height: 1.1em; }
.ev { border-bottom: 0; padding: 6px 0; } .ev time { display: inline-block; min-width: 70px; vertical-align: top; }
.ev.text { background: #0f0f12; border: 1px solid #1f1f24; border-left: 3px solid #ff6600; border-radius: 6px; padding: 10px 12px; margin: 8px 0; } .ev.text time { display: block; min-width: 0; margin-bottom: 4px; }
.vl-md-ev { color: #e8e8e8; } .vl-md-ev p { margin: 0 0 8px; } .vl-md-ev p:last-child { margin-bottom: 0; } .vl-md-ev h3, .vl-md-ev h4, .vl-md-ev h5, .vl-md-ev h6 { font-size: .9rem; color: #ffcc00; letter-spacing: 1px; margin: 8px 0 4px; } .vl-md-ev ul, .vl-md-ev ol { padding-left: 20px; margin: 0 0 8px; } .vl-md-ev li { margin: 2px 0; }
.vl-md-ev code { color: #7df9ff; background: #17171a; padding: 0 4px; border-radius: 3px; } .vl-md-ev pre { background: #111113; border: 1px solid #222; border-radius: 4px; padding: 8px 10px; overflow: auto; font-size: .78rem; } .vl-md-ev b { color: #fff; } .vl-md-ev a { color: #ffcc00; }
.ev.tool { color: #6b8f99; font-size: .74rem; padding: 2px 0; } .vl-tool { color: #7df9ff; } .vl-tool-arg { color: #5a6b70; }
.ev.result { padding: 1px 0; font-size: .72rem; color: #666; max-height: none; overflow: visible; } .ev.result summary { cursor: pointer; color: #666; list-style: none; } .ev.result summary::-webkit-details-marker { display: none; } .ev.result summary:hover { color: #aaa; } .ev.result pre { margin: 4px 0 6px 70px; background: #0e0e10; border: 1px solid #1c1c1c; border-radius: 4px; padding: 6px 8px; max-height: 40vh; overflow: auto; white-space: pre-wrap; color: #9a9a9a; }
.ev.result.err summary { color: #d08090; }
.ev.done { background: #06220f; border: 1px solid #0f5a2a; border-radius: 6px; padding: 10px 12px; margin: 10px 0; color: #e8e8e8; } .ev.done time { display: block; min-width: 0; margin-bottom: 4px; } .vl-done-head { color: #66ff99; font-weight: bold; margin-bottom: 6px; }
.ev.stage { color: #ffcc00; font-weight: bold; margin-top: 14px; border-top: 1px dashed #2a2a2a; padding-top: 10px; } .ev.soak { color: #ffb86b; } .ev.checkpoint { color: #a0a0ff; font-size: .78rem; } .ev.note { color: #8a8a8a; font-size: .78rem; } .ev.idle { color: #555; text-align: center; }
/* the notes folders */
.vl-folders { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; } .vl-folders button { background: #0a0a0c; border: 1px solid #333; color: #bbb; border-radius: 999px; padding: 6px 14px; font: inherit; font-size: .78rem; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; } .vl-folders button span { color: #ffcc00; margin-left: 4px; }
.vl-folders button:hover { border-color: #ff6600; color: #fff; } .vl-folders button.on { background: #ff6600; border-color: #ff6600; color: #111; font-weight: bold; } .vl-folders button.on span { color: #111; }
/* the games list */
.vl-game .vl-card-title { text-decoration: none; } .vl-game .vl-card-title:hover { color: #ffcc00; }
.vl-game-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
details.vl-anatomy { margin-top: 36px; } details.vl-anatomy > summary { list-style: none; cursor: pointer; margin: 0 0 12px; } details.vl-anatomy > summary::-webkit-details-marker { display: none; } details.vl-anatomy > summary::before { content: "▸ "; color: #ff6600; } details.vl-anatomy[open] > summary::before { content: "▾ "; }
details.vl-anatomy .vl-card { cursor: pointer; }
/* game cards: a mid-game picture on top, the buttons slammed to the bottom */
.vl-game { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.vl-game > * { padding-left: 14px; padding-right: 14px; } .vl-game .vl-card-title { padding-top: 12px; } .vl-game .vl-meta:last-of-type { margin-bottom: 6px; }
.vl-game-actions { margin-top: auto; padding: 10px 14px 14px; border-top: 1px solid #1c1c1c; }
.vl-cover { display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1a0a2e, #0d0015 60%, #2a0f00); padding: 0 !important; overflow: hidden; position: relative; }
.vl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.1); transition: transform .3s; } a.vl-cover:hover img { transform: scale(1.03); }
.vl-cover span { position: absolute; inset: 0; display: grid; place-items: center; color: #ffcc00; font-size: 1.6rem; letter-spacing: 4px; text-transform: uppercase; opacity: .8; }
.vl-card .vl-cover { aspect-ratio: 16 / 7; margin: -14px -14px 10px; width: auto; border-radius: 6px 6px 0 0; }
.vl-game .vl-cover { margin: 0; border-radius: 0; aspect-ratio: 16 / 9; }
/* the cover fades out diagonally: full at the top-left, gone at the bottom-right, into the card's own dark */
.vl-cover img { -webkit-mask-image: linear-gradient(135deg, #000 20%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.25) 75%, transparent 100%); mask-image: linear-gradient(135deg, #000 20%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.25) 75%, transparent 100%); }
.vl-cover { background: var(--ui-surface); } .vl-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, rgba(255,102,0,0.08) 100%); pointer-events: none; }
/* the cover is the play button: a badge on hover, the whole picture clickable */
a.vl-cover { cursor: pointer; } .vl-play-badge { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); background: rgba(255,102,0,0.92); color: #111; font-weight: bold; letter-spacing: 3px; padding: 10px 22px; border-radius: 999px; font-size: .9rem; opacity: 0; transition: opacity .2s, transform .2s; z-index: 2; pointer-events: none; }
a.vl-cover:hover .vl-play-badge, a.vl-cover:focus .vl-play-badge { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .vl-play-badge { opacity: .9; transform: translate(-50%, -50%); } }
/* the compose box under the game, and floated at the bottom on phones */
.vl-compose-play { margin-top: 10px; } .vl-compose-play textarea { min-height: 52px; }
.vl-desktop-only { display: inline; }
@media (max-width: 700px) {
  .vl-desktop-only { display: none; }
  .vl-compose { position: sticky; bottom: 8px; z-index: 40; background: #060608; padding: 8px 0 4px; box-shadow: 0 -12px 20px rgba(6,6,8,0.9); }
  .vl-compose textarea { min-height: 48px; }
  .vl-stream { height: 50vh; }
}
/* tabs: the underline is drawn the same way on every tab, wrapped rows included */
.vl-tabs [data-tab] { border-bottom: 0; position: relative; line-height: 1.2; } .vl-tabs [data-tab].on { color: #ffcc00; }
.vl-tabs [data-tab].on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: #ff6600; border-radius: 2px; }
.vl-tabs [data-tab] span { font-size: .65rem; color: #ffcc00; }
@media (max-width: 700px) { .vl-tabs { gap: 0; border-bottom: 0; } .vl-tabs [data-tab] { padding: 10px 9px; border-bottom: 1px solid #222; } .vl-tabs [data-tab].on::after { bottom: -1px; } .vl-tab-menu > button { border-bottom: 1px solid #222; } }
/* the Advanced menu: clipped by nothing, closed by a click anywhere else */
.vl-tab-menu-list { box-shadow: 0 16px 40px rgba(0,0,0,.7); } .vl-tab-menu-list button { width: 100%; padding: 10px 14px; } .vl-tab-menu-list button:hover { background: #1c1c1e; color: #fff; }
.vl-tab-menu > button::after { content: ""; }
/* on phones the Advanced menu opens as a row of its own under the tabs, never off the edge */
@media (max-width: 700px) {
  .vl-tab-menu { width: 100%; } .vl-tab-menu > button { width: 100%; text-align: left; }
  .vl-tab-menu-list { position: static; display: none; grid-template-columns: repeat(2, 1fr); border-radius: 6px; margin: 4px 0; box-shadow: none; }
  .vl-tab-menu.open .vl-tab-menu-list { display: grid; }
}
.vl-tabs a[data-tab] { text-decoration: none; display: inline-block; }
/* note cards: nothing clipped; rows of buttons wrap instead of running off */
.vl-note-card { overflow: visible; } .vl-note-body { min-width: 0; overflow: visible; }
.vl-note-head { flex-wrap: wrap; gap: 6px; } .vl-note-head > span { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.vl-note-actions { flex-wrap: wrap; } .vl-comment-form { flex-wrap: wrap; } .vl-comment-form input { min-width: 160px; }
.vl-note-card img, .vl-note-noshot { max-width: 100%; }
@media (max-width: 1100px) { .vl-note-card { grid-template-columns: 1fr; } }
/* note cards: the picture on top, the words under it */
.vl-note-card { grid-template-columns: 1fr !important; gap: 10px; }
.vl-note-card img { width: 100%; height: auto; max-height: 260px; object-fit: cover; border-radius: 6px; }
.vl-note-noshot { display: none; }
.vl-notes-big { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
/* every card starts with a picture-sized block, so the grid reads as a grid */
.vl-note-card img, .vl-note-noshot { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; display: block; }
.vl-note-noshot { display: grid; place-items: center; border: 1px dashed #333; background: repeating-linear-gradient(135deg, #0d0d10 0 12px, #101014 12px 24px); color: #555; font-size: .72rem; letter-spacing: 3px; text-transform: uppercase; }
/* the card's rows start at the top: the picture, then the words right under it, spare height at the bottom */
.vl-note-card { align-content: start; align-items: start; grid-template-rows: auto 1fr; }
.vl-note-card > img, .vl-note-card > .vl-note-noshot { align-self: start; }
.vl-note-body { align-self: start; }
/* the producer's own words in the Build timeline: a bubble of their own, so the answer reads after the question */
.ev.you { background: rgba(255,102,0,.08); border-left: 3px solid #e07700; border-radius: 6px; padding: 8px 10px; margin: 8px 0; }
.ev.you .vl-you-head { font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; color: #e07700; margin-bottom: 4px; }
.ev.you .vl-you-text { white-space: pre-wrap; color: #eee; }
/* a question that waits for an answer (Already reviewed: CONTINUE / CANCEL) */
.vl-ask { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 1600; padding: 16px; }
.vl-ask-card { background: #0a0a0c; border: 1px solid #ff6600; border-radius: 10px; padding: 18px; max-width: 460px; box-shadow: 0 20px 60px rgba(0,0,0,.8); }
.vl-pill-bad { border-color: #ff4d6d; color: #ff4d6d; }
.vl-lastrun { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 8px; padding: 8px 12px; border: 1px solid #ffcc00; border-radius: 8px; background: #17140a; color: #eee; font-size: 0.85rem; overflow-wrap: anywhere; }
.vl-lastrun.failed { border-color: #ff4d6d; background: #1c0c11; }
.vl-lastrun > span:first-child { flex: 1 1 260px; min-width: 0; } .vl-lastrun-meta { color: #999; font-size: 0.75rem; white-space: nowrap; }
.vl-lastrun[hidden] { display: none; }
