/* Prednáška 1 – štýly špecifické pre laby */
.threes { display: flex; justify-content: center; gap: clamp(12px, 4vw, 40px); padding: clamp(20px, 4vw, 40px); background: #090c13; min-height: 120px; }
.l1-digit { width: min(28%, 168px); aspect-ratio: 1; image-rendering: pixelated; border-radius: 10px; border: 1px solid var(--line-2); }

.l1-digits { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
.l1-padwrap { border-radius: var(--r-sm); border: 1px solid var(--line-2); overflow: hidden; background: #000; }
.l1-pad { width: 100%; aspect-ratio: 1; touch-action: none; cursor: crosshair; }
.l1-seenwrap { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--text-3); font-size: .75rem; line-height: 1.3; max-width: 170px; }
.l1-seen { width: 44px; height: 44px; flex: none; image-rendering: pixelated; border: 1px solid var(--line-2); border-radius: 6px; }
.l1-chip { min-width: 36px; padding: 0 10px; font-family: var(--font-mono); height: 34px; }
.l1-answer { display: flex; align-items: baseline; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(90, 217, 154, .08); border: 1px solid rgba(90, 217, 154, .25); color: var(--text-2); font-size: .9375rem; }
.l1-answer b { font: 600 2.25rem/1 var(--font-display); color: var(--green); }
.l1-answer small { margin-left: auto; font-family: var(--font-mono); color: var(--text-3); }
.l1-bars { display: grid; gap: 3px; }
.l1-bar { display: grid; grid-template-columns: 14px 1fr 38px; gap: 8px; align-items: center; font: 500 .8125rem/1 var(--font-mono); color: var(--text-3); }
.l1-bar i { height: 9px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.l1-bar u { display: block; height: 100%; background: #c9ced8; border-radius: 99px; }
.l1-bar em { font-style: normal; text-align: right; }
.l1-bar.top { color: var(--green); } .l1-bar.top u { background: var(--green); }
.l1-detail { margin-top: 14px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: #090c13; }
.l1-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.l1-wmap { width: min(100%, 196px); aspect-ratio: 1; image-rendering: pixelated; border-radius: 8px; border: 1px solid var(--line-2); }
.l1-cap { margin-top: 10px; font-size: .8125rem !important; line-height: 1.5 !important; color: var(--text-3) !important; }
.l1-wbars { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; height: 120px; }
.l1-wbar { position: relative; border-radius: 4px; background: rgba(255, 255, 255, .03); }
.l1-wbar::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - .5px); height: 1px; background: var(--line-2); }
.l1-wbar i { position: absolute; left: 15%; right: 15%; border-radius: 2px; }
.l1-wbar b { position: absolute; left: 50%; bottom: -14px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); }
.l1-wbars { margin-bottom: 20px; }

@media (max-width: 760px) {
  .l1-digits { grid-template-columns: minmax(0, 1fr); }
  .l1-padwrap { max-width: 300px; margin-inline: auto; width: 100%; }
  .l1-detail-grid { grid-template-columns: minmax(0, 1fr); }
}
