/* The site's two tabs (Cin-MinAI, Build a PC) in a bar pinned at the top, and each page's section tabs under it:
   one section at a time, so a phone isn't one endless scroll. Without the script, or printed, every section shows. */
.sitebar { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, 0.9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sitebar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 3.5rem; }
.sitebar img { width: 7.5rem; height: auto; display: block; }
.sitetabs { display: flex; gap: 0.25rem; }
.sitetabs a { padding: 0.5rem 0.9rem; border-radius: 999px; color: var(--muted); text-decoration: none; white-space: nowrap;
  font-family: var(--display); font-stretch: 90%; font-weight: 700; font-size: var(--step--1); }
.sitetabs a:hover { color: var(--text); }
.sitetabs a[aria-current="page"] { background: var(--raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

.tabs { position: sticky; top: 3.5rem; z-index: 15; background: var(--void); border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 0.4rem; overflow-x: auto; padding-block: 0.6rem; scroll-snap-type: x proximity;
  scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { flex: none; scroll-snap-align: start; padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); text-decoration: none; white-space: nowrap; font-size: var(--step--1); }
.tabs a:hover { color: var(--text); border-color: var(--glow); }
.tabs a[aria-selected="true"] { background: var(--signal); border-color: var(--signal); color: var(--on-signal); font-weight: 700; }
.tabbed [role="tabpanel"] { border-top: 0; scroll-margin-top: 7.5rem; }
.next-tab { margin-top: 2.5rem; display: flex; justify-content: flex-end; }
.tabs, .next-tab { display: none; }
.tabbed .tabs { display: block; }
.tabbed .next-tab { display: flex; }

@media (max-width: 420px) {
  .sitebar img { width: 6rem; }
  .sitetabs a { padding: 0.45rem 0.7rem; }
}
@media print {
  .sitebar, .tabs, .next-tab { display: none !important; }
  [role="tabpanel"][hidden] { display: block !important; }
}
