@import url("../../../assets/ascii-skin.css");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090b0f;
  color: #f5f0e8;
}

main {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
}

#sketch {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0d1117;
}

canvas {
  width: min(100%, 780px) !important;
  height: auto !important;
  max-height: calc(100vh - 40px);
  border: 1px solid #2a3140;
  background: #000;
}

aside {
  padding: 24px;
  border-left: 1px solid #2a3140;
  background: #10141b;
}

aside a {
  color: #54d6c7;
  font-weight: 700;
}

.directory-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  color: #aab1bd;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
}

.directory-nav::before {
  content: "/pva/2025-2026";
  margin-right: 0.25rem;
  color: #54d6c7;
  font-weight: 760;
}

.directory-nav a,
.directory-nav span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.3rem;
  border-radius: 4px;
  text-decoration: none;
}

.directory-nav a::before,
.directory-nav span::before {
  content: "/";
  margin-right: 0.3rem;
  color: #2a3140;
}

.directory-nav a:hover,
.directory-nav span[aria-current="page"] {
  color: #f5f0e8;
  background: rgba(84, 214, 199, 0.12);
}

h1 {
  margin: 28px 0 8px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: #aab1bd;
}

.sketch-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.sketch-links a {
  padding: 7px 9px;
  border: 1px solid #2a3140;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  color: #f5f0e8;
  text-decoration: none;
}

.sketch-links a.primary {
  border-color: rgba(84, 214, 199, 0.62);
  color: #54d6c7;
}

.runtime-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #2a3140;
  font-size: 13px;
}

@media (max-width: 760px) {
  main {
    grid-template-columns: 1fr;
  }

  #sketch {
    min-height: 70vh;
  }

  aside {
    border-top: 1px solid #2a3140;
    border-left: 0;
  }
}
