:root {
  /*Max Width*/
  --max-width: 1000px;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rajdhani', sans-serif;

}

body {
  background-color: #eef1f5;
}

.pcb-bottom{
  padding: 5%;
}

.nav-wrap {
  background: #eef1f5;
  font-family: 'Rajdhani', sans-serif;
  color: #23304a;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(16, 26, 46, 0.2);
  position: relative;
  overflow: hidden;
}

.nav-silkscreen {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}

.nav-brand-name {
  font-size: 18px;
  font-weight: 600;
  color: #101a2e;
  letter-spacing: 0.03em;
}

.nav-brand-ref {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.35);
  letter-spacing: 0.1em;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(16, 26, 46, 0.7);
  border: 0.5px solid rgba(16, 26, 46, 0.25);
  background: rgba(16, 26, 46, 0.05);
  padding: 5px 12px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(16, 26, 46, 0.12);
  border-color: rgba(16, 26, 46, 0.5);
  color: #101a2e;
}

.nav-link .pin {
  width: 5px;
  height: 4px;
  border: 0.5px solid rgba(16, 26, 46, 0.5);
  background: rgba(16, 26, 46, 0.2);
  display: inline-block;
  flex-shrink: 0;
}

.nav-link:hover .pin {
  background: rgba(16, 26, 46, 0.5);
}

.logo {
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #101a2e;
  line-height: 1.3;
}


@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600&family=Fira+Code:wght@300;400;500&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.pcb {
  background: #eef1f5;
  font-family: 'Rajdhani', sans-serif;
  color: #23304a;
  position: relative;
  overflow: hidden;
  max-width: var(--max-width);
  margin: 0 auto;
}

.silk {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.z1 {
  position: relative;
  z-index: 1;
}

.mono {
  font-family: 'Fira Code', monospace;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 0.5px solid rgba(16, 26, 46, 0.15);
}

.nav-tab {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  padding: 4px 10px;
  border: 0.5px solid rgba(16, 26, 46, 0.2);
  color: rgba(16, 26, 46, 0.4);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-tab.active {
  background: rgba(16, 26, 46, 0.12);
  color: #101a2e;
  border-color: rgba(16, 26, 46, 0.5);
}


.page-body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 0;
  min-height: 760px;
}

.main {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-right: 0.5px solid rgba(16, 26, 46, 0.1);
}

.sidebar {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sec-hdr {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.35);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 0.5px solid rgba(16, 26, 46, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.module {
  background: rgba(16, 26, 46, 0.03);
  border: 0.5px solid rgba(16, 26, 46, 0.18);
  padding: 0.75rem;
}

.mod-hdr {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1f8a3c;
  box-shadow: 0 0 4px rgba(31, 138, 60, 0.5);
  display: inline-block;
}

.led.amber {
  background: #b3791a;
  box-shadow: 0 0 4px rgba(179, 121, 26, 0.5);
}

.show-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0;
  border: 0.5px solid rgba(16, 26, 46, 0.15);
  margin-bottom: 6px;
  background: rgba(16, 26, 46, 0.02);
  position: relative;
  overflow: hidden;
}

.show-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: rgba(16, 26, 46, 0.4);
}

.show-item.next::before {
  background: #101a2e;
}

.show-date {
  border-right: 0.5px solid rgba(16, 26, 46, 0.12);
  padding: 0.75rem 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.show-day {
  font-family: 'Fira Code', monospace;
  font-size: 18px;
  color: #101a2e;
  line-height: 1;
}

.show-month {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.show-body {
  padding: 0.75rem;
}

.show-venue {
  font-size: 14px;
  font-weight: 600;
  color: #101a2e;
}

.show-meta {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: rgba(16, 26, 46, 0.45);
  margin-top: 2px;
}

.show-tags {
  display: flex;
  gap: 3px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.stag {
  font-family: 'Fira Code', monospace;
  font-size: 7px;
  padding: 2px 5px;
  border: 0.5px solid rgba(16, 26, 46, 0.2);
  color: rgba(16, 26, 46, 0.5);
}

.stag.hi {
  border-color: rgba(16, 26, 46, 0.45);
  color: rgba(16, 26, 46, 0.8);
  background: rgba(16, 26, 46, 0.07);
}

.show-action {
  padding: 0.75rem 0.75rem;
  display: flex;
  align-items: center;
}

.tix-btn {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  border: 0.5px solid rgba(16, 26, 46, 0.35);
  background: rgba(16, 26, 46, 0.08);
  color: rgba(16, 26, 46, 0.7);
  padding: 4px 10px;
  cursor: pointer;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(16, 26, 46, 0.12);
  border: 0.5px solid rgba(16, 26, 46, 0.2);
}

.track {
  background: #eef1f5;
  padding: 0.75rem;
  position: relative;
  cursor: pointer;
  transition: background 0.12s;
}

.track:hover {
  background: #e2e7ee;
}

.track::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.track.guitar::before {
  background: rgba(16, 26, 46, 0.45);
}

.track.piano::before {
  background: rgba(100, 200, 255, 0.45);
}

.track.collab::before {
  background: rgba(255, 180, 50, 0.45);
}

.track-ref {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.25);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.track-waveform {
  height: 28px;
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 1.5px;
}

.bar {
  width: 3px;
  border-radius: 1px;
  background: rgba(16, 26, 46, 0.3);
}

.bar.lit {
  background: rgba(16, 26, 46, 0.65);
}

.track-title {
  font-size: 13px;
  font-weight: 600;
  color: #101a2e;
}

.track-sub {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.4);
  margin-top: 2px;
}

.track-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
}

.track-dur {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: rgba(16, 26, 46, 0.35);
}

.play-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0.5px solid rgba(16, 26, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(16, 26, 46, 0.07);
}

.play-btn i {
  font-size: 10px;
  color: rgba(16, 26, 46, 0.7);
}

.score-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: rgba(16, 26, 46, 0.12);
  border: 0.5px solid rgba(16, 26, 46, 0.2);
}

.score-tile {
  background: #eef1f5;
  padding: 0.75rem;
  cursor: pointer;
  transition: background 0.12s;
}

.score-tile:hover {
  background: #e2e7ee;
}

.score-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  aspect-ratio: 1 / 1.414;
}

.score-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* or "contain" to avoid cropping */
}

.score-title {
  font-size: 12px;
  font-weight: 500;
  color: #101a2e;
}

.score-meta {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.35);
  margin-top: 2px;
}

.stat-row {
  display: flex;
  justify-content: left;
  align-items: baseline;
  margin: 5px 0;
}

.stat-k {
  font-size: 11px;
  color: rgba(16, 26, 46, 0.5);
  width: 40%;
}

.stat-v {
  font-family: 'Fira Code', monospace;
  font-size: 11px;
  color: #101a2e;
}

.gear-item {
  display: flex;
  gap: 6px;
  margin: 5px 0;
  align-items: flex-start;
}

.gear-ref {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.25);
  width: 28px;
  flex-shrink: 0;
  padding-top: 2px;
}

.gear-name {
  font-size: 11px;
  color: rgba(35, 48, 74, 0.65);
  line-height: 1.4;
}

.footer {
  padding: 0.6rem 1.5rem;
  border-top: 0.5px solid rgba(16, 26, 46, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.3);
}

.cta-btn {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  border: 0.5px solid rgba(16, 26, 46, 0.35);
  background: rgba(16, 26, 46, 0.08);
  color: rgba(16, 26, 46, 0.7);
  padding: 5px 14px;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signal-chain {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-top: 6px;
}

.chain-node {
  font-family: 'Fira Code', monospace;
  font-size: 8px;
  color: rgba(16, 26, 46, 0.6);
  border: 0.5px solid rgba(16, 26, 46, 0.25);
  padding: 3px 7px;
  background: rgba(16, 26, 46, 0.05);
}

.chain-arrow {
  font-size: 9px;
  color: rgba(16, 26, 46, 0.25);
  padding: 0 2px;
}





.pcb-bottom {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 0.5px solid rgba(16, 26, 46, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pcb-bottom-meta {
  font-family: 'Fira Code', monospace;
  font-size: 9px;
  color: rgba(16, 26, 46, 0.35);
  line-height: 1.7;
}

.tile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 8px;
}

.tag {
  font-family: 'Fira Code', monospace;
  font-size: 7px;
  padding: 2px 5px;
  border: 0.5px solid rgba(16, 26, 46, 0.2);
  color: rgba(16, 26, 46, 0.5);
}

.tag.cat {
  border-color: rgba(16, 26, 46, 0.4);
  color: rgba(16, 26, 46, 0.8);
  background: rgba(16, 26, 46, 0.07);
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: inherit;
}

/* =========================================================
   MOBILE RESPONSIVE STYLES
   Everything below only applies at narrow widths.
   Desktop layout/behaviour above is untouched.
   ========================================================= */
@media (max-width: 720px) {

  /* --- Nav bar: stack brand above a wrapping row of links --- */
  .nav-wrap {
    padding: 0 0.75rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 10px 0;
    gap: 0.6rem;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 5px;
  }

  .nav-link {
    padding: 6px 10px;
    flex: 1 1 auto;
    justify-content: center;
  }

  /* --- Main two-column body becomes a single stacked column --- */
  .page-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .main {
    padding: 1rem;
    border-right: none;
    border-bottom: 0.5px solid rgba(16, 26, 46, 0.1);
  }

  .sidebar {
    padding: 1rem;
  }

  /* --- Show item: keep date block beside info, drop ticket button to its own row --- */
  .show-item {
    grid-template-columns: 48px 1fr;
  }

  .show-action {
    grid-column: 1 / -1;
    padding: 0 0.75rem 0.75rem;
    justify-content: flex-start;
  }

  .tix-btn {
    width: 100%;
    padding: 7px 10px;
  }

  /* --- Track grid: single column on small screens --- */
  .track-grid {
    grid-template-columns: 1fr;
  }

  /* --- Score grid: two columns instead of three --- */
  .score-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* --- Stat rows: stack label above value when space is tight --- */
  .stat-row {
    flex-wrap: wrap;
  }

  .stat-k {
    width: auto;
    margin-right: 8px;
  }

  /* --- Signal chain: allow nodes to wrap more tightly --- */
  .signal-chain {
    gap: 4px;
  }

  .chain-node {
    font-size: 7px;
    padding: 3px 6px;
  }
}

@media (max-width: 420px) {

  /* --- Extra-narrow phones: drop score grid to a single column --- */
  .score-grid {
    grid-template-columns: 1fr;
  }
}