/* =========================================================
   NUMBER (split-flap)
   ========================================================= */
.number { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.num-copy { display: grid; gap: 24px; }
.board {
  position: relative; background: #17191c; color: #f4f1ea; border-radius: 26px; padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.06);
  display: grid; gap: 12px; transform: rotate(-1.5deg);
}
.board-screws i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #3a3e44; box-shadow: inset 0 1px 1px rgba(255,255,255,.2); }
.board-screws i:nth-child(1) { top: 14px; left: 14px; } .board-screws i:nth-child(2) { top: 14px; right: 14px; }
.board-screws i:nth-child(3) { bottom: 14px; left: 14px; } .board-screws i:nth-child(4) { bottom: 14px; right: 14px; }
.board-label { font: 600 .7rem/1 var(--f-mono); letter-spacing: .2em; color: #8a8f96; margin-top: 8px; }
.flap-row { display: flex; flex-wrap: nowrap; gap: 3px; }
.flap {
  position: relative; flex: 1 1 0; min-width: 0; max-width: 40px; height: clamp(34px, 4.6vw, 56px); border-radius: 5px;
  background: linear-gradient(#2a2d32 50%, #222529 50%); display: grid; place-items: center;
  font: 600 clamp(.95rem, 2.2vw, 1.7rem)/1 var(--f-mono); color: #f4f1ea; overflow: hidden;
}
.flap::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #0d0e10; }
.flap.blank { background: transparent; flex: .4 1 0; }
.flap.tick { animation: flaptick .09s linear; }
@keyframes flaptick { 50% { transform: scaleY(.6); filter: brightness(1.6); } }
.flap-num .flap:not(.blank) { color: var(--yellow-strong); }
:root[data-theme="dark"] .flap-num .flap:not(.blank) { color: #FFE478; }
.flap-num .flap:not(.blank) { color: #FFE478; }
.flap-city .flap:not(.blank) { color: #AEE8F3; }
.board-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 500 .85rem var(--f-mono); color: #b8bcc2; }
.led { width: 10px; height: 10px; border-radius: 50%; background: #74D39A; box-shadow: 0 0 12px #74D39A; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }

@media (max-width: 900px) {
  .number { grid-template-columns: 1fr; }
}
