/* 第 11 课专用：会画画的机器（笔触、瓦片、闪烁三个实验台）。只在 /u/u11/ 与引用这些实验台的页面里加载。 */

.u11-paper { cursor: crosshair; }
.u11-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 2px; }
.u11-tools .u11-hint { font-size: 14px; color: var(--muted); margin-right: auto; }
.u11-tools .lk-btn { min-height: 40px; }
.u11-profile { margin-top: 6px; }

/* 按钮控件在分组里铺满一整行（lk-ctl 的三栏网格是给滑杆用的） */
.lab-group > button.lk-ctl { display: flex; width: 100%; justify-content: center; white-space: normal; text-align: center; line-height: 1.4; padding: 8px 12px; margin: 6px 0 4px; }

.chart .u11-switch { stroke: var(--safelight); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0.75; }
.chart .u11-solid { stroke-dasharray: none; }

.u11-timing { margin-top: 6px; }
.u11-timing:empty { display: none; }
.u11-timing-h { font-size: 14.5px; margin: 10px 0 6px; }
.u11-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.u11-bars li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 6em 4.6em; align-items: center; gap: 10px; font-size: 14px; }
.u11-bars .bar { height: 12px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.u11-bars .bar i { display: block; height: 100%; background: var(--st-7); }
.u11-bars .num { text-align: right; }
@media (max-width: 520px) { .u11-bars li { grid-template-columns: 4.6em minmax(0, 1fr) 5.2em; } .u11-bars li .tag { display: none; } }

/* 真画面：两张并排的截图 */
.u11-pair-cap { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }

/* 真东西上看 */
.u11-live { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-size: 15px; margin: -6px 0 22px; }
.u11-live a { font-weight: 600; }
.u11-live .tag { font-size: 13px; color: var(--muted); }


/* 推近实验台：画面与帧差两块画布，窄屏上下排 */
.u11-cvpair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.u11-cvpair canvas { width: 100%; height: auto; display: block; }
@media (max-width: 560px) { .u11-cvpair { grid-template-columns: 1fr; } }
