/* ClimbCast index — the same black and neon as the projector, but a normal
 * scrolling page: it is read on a phone as often as on the laptop. */
:root {
  --cyan: #00f0ff;
  --magenta: #ff00d4;
  --green: #39ff14;
  --dim: #1e6b73;
}

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

body {
  background: #000;
  color: var(--cyan);
  font: 400 15px/1.4 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main { max-width: 760px; margin: 0 auto; padding: 28px 16px 56px; }

h1 { font-size: 15px; font-weight: 700; letter-spacing: 0.5em; color: var(--magenta); }
h2 { font-size: 12px; font-weight: 700; letter-spacing: 0.3em; color: var(--green); margin-bottom: 12px; }

header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.resume { padding: 8px 12px; border: 1px solid rgba(0, 240, 255, 0.45); font-size: 11px; font-weight: 700; }

section { margin-bottom: 28px; }

a { color: inherit; text-decoration: none; }

/* same look as .grades a when off; lit in the projector's "on" yellow */
.seg { display: flex; gap: 8px; margin-bottom: 8px; }
.seg button {
  flex: 1; padding: 10px 8px; background: none; cursor: pointer;
  border: 1px solid rgba(0, 240, 255, 0.45); color: var(--cyan);
  font: 700 12px/1.4 "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.2em; text-transform: uppercase;
}
.seg button .n { margin-left: 6px; color: #cfefff; }
.seg button[aria-pressed="true"] { color: #ffd426; border-color: #ffd426; }
.seg button[aria-pressed="true"] .n { color: inherit; }
.seg button:hover, .seg button:focus-visible { background: rgba(0, 240, 255, 0.12); outline: none; }

.grades { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.grades a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 4px;
  border: 1px solid rgba(0, 240, 255, 0.45);
}
.grades b { font-size: 18px; color: var(--magenta); }
.grades i { font-style: normal; font-size: 10px; color: var(--dim); }
.grades .n { font-size: 13px; }

.tiles { display: grid; gap: 8px; }
.tile { display: flex; border: 1px solid var(--cyan); }
.tile .main { flex: 1; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 18px 16px; }
.tile b { font-size: 14px; letter-spacing: 0.3em; }
.tile .n { font-size: 20px; color: #cfefff; }
.tile .add {
  display: flex; align-items: center; padding: 0 16px;
  border-left: 1px dashed var(--green); color: var(--green); font-weight: 700; font-size: 13px;
}
/* nothing to open: a favorites collection with no stars */
.tile.empty { border-color: rgba(0, 240, 255, 0.25); color: var(--dim); }
.tile.empty .main { pointer-events: none; }
.tile.empty .n { color: var(--dim); }

a:hover, a:focus-visible { background: rgba(0, 240, 255, 0.12); outline: none; }
.tile .add:hover, .tile .add:focus-visible { background: rgba(57, 255, 20, 0.12); }
/* RANDOM has no count, just a reminder of what it rolls */
#t-rand .n { font-size: 12px; line-height: 28px; letter-spacing: 0.2em; }
