@font-face {
  font-family: 'TylerFont';
  src: url('https://github.com/notmossyiguana/tyler-webring/raw/refs/heads/main/ADDSBP__.TTF') format('truetype');
}

:root {
  --bg: #fafafa;
  --fg: #222;
  --muted: #666;
  --accent: #0000ff;
  --border: #ddd;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
}

.wrapper {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 1rem;
}

header {
  text-align: center;
  margin-bottom: 1.5rem;
}

header img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
}

header h1 {
  font-family: 'TylerFont', system-ui, sans-serif;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

nav a {
  background: var(--fg);
  color: var(--bg);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

nav a:hover {
  background: var(--accent);
}

.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.panel h2, .panel h3 {
  font-family: 'TylerFont', system-ui, sans-serif;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px;
  font-family: monospace;
  resize: vertical;
}

.controls {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn {
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent);
}

footer {
  text-align: center;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer img {
  display: block;
  margin: 0 auto 0.5rem;
}

.muted {
  color: var(--muted);
}

.webring-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
}
