@import url("https://fonts.googleapis.com/css2?family=Silkscreen&display=swap");

:root {
  --bg: #0f2427;
  --panel: #163238;
  --line: #2f5f66;
  --text: #e9e4da;
  --muted: #9fb4b2;
  --orange: #e8762b;
  --code: #0a1719;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: var(--orange); }

header, main, footer { max-width: 860px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 20px; }
footer { color: var(--muted); font-size: 14px; padding-bottom: 40px; margin-top: 48px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Silkscreen", monospace; font-size: 18px; color: var(--text); text-decoration: none;
}
.brand img { border-radius: 50%; image-rendering: pixelated; }

h1, h2 { font-family: "Silkscreen", monospace; font-weight: 400; line-height: 1.25; }
h1 { font-size: clamp(26px, 5vw, 38px); margin: 8px 0 12px; }
h2 { font-size: 22px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.n { background: var(--orange); color: var(--bg); padding: 0 10px; }

.kicker { color: var(--orange); font-family: "Silkscreen", monospace; margin: 32px 0 0; }
.lead { color: var(--muted); font-size: 19px; margin: 0 0 24px; }

section {
  background: var(--panel); border: 2px solid var(--line);
  padding: 20px; margin: 20px 0;
}

code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 0.92em; }
p code, li code { background: var(--code); padding: 1px 6px; overflow-wrap: anywhere; }

.tip { border-left: 4px solid var(--orange); padding-left: 12px; }

.tabs { display: flex; gap: 8px; position: sticky; top: 0; background: var(--bg); padding: 10px 0; z-index: 2; }
.tabs button {
  font: 16px "Silkscreen", monospace; color: var(--text); background: var(--panel);
  border: 2px solid var(--line); padding: 8px 14px; cursor: pointer;
}
.tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: var(--bg); }

body[data-os="mac"] .os[data-os="win"],
body[data-os="win"] .os[data-os="mac"] { display: none; }

.code { background: var(--code); border: 2px solid var(--line); margin: 12px 0; }
.bar {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 6px 10px; border-bottom: 2px solid var(--line); font-size: 14px; color: var(--muted);
}
.fname { font-family: ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.acts { display: flex; gap: 8px; }
.btn {
  font: 14px "Silkscreen", monospace; color: var(--text); background: var(--line); border: 0;
  padding: 4px 12px; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--orange); color: var(--bg); }
.btn.done { background: var(--orange); color: var(--bg); }
pre {
  margin: 0; padding: 14px; overflow-x: auto; font-size: 14px; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere;   /* long hook lines wrap; Copy still copies the exact text */
}

.videos { list-style: none; padding: 0; }
.videos a {
  display: block; background: var(--panel); border: 2px solid var(--line); padding: 16px;
  color: var(--text); text-decoration: none; font-size: 19px;
}
.videos a:hover { border-color: var(--orange); }
.videos .kicker { margin: 0 10px 0 0; }
