:root {
  --bg: #ff7b00;
  --text: #f9f9f9;
  --page: #111;
  --panel: #1d1d1d;
  --yellow: #f5df45;
  --muted: #c7c7c7;
  --link: #00b7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background: var(--bg);
  color: var(--text);
}

.tt-shell {
  min-height: 100vh;
  width: 60%;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

.tt-header {
  background: var(--page);
  border: 3px solid #111;
  padding: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.tt-brand {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

.tt-subtitle {
  margin: 0.5rem 0 0;
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
}

.tt-main {
  display: grid;
  gap: 1rem;
}

.tt-post {
  background: var(--page);
  border: 3px solid #111;
  padding: 1rem;
}

.tt-meta {
  color: var(--muted);
  letter-spacing: 0.16em;
  margin-bottom: 0.75rem;
}

.tt-title {
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  margin: 0 0 0.75rem;
  font-weight: normal;
}

.tt-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0.6rem;
}

.tt-tag {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  background: #282828;
  border: 1px solid #3f3f3f;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tt-body {
  margin: 0;
  line-height: 1.75;
  color: var(--text);
}

.tt-link {
  margin-top: 1rem;
  color: var(--muted);
}

.tt-link a {
  color: var(--link);
  text-decoration: underline;
}

.tt-footer {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: var(--page);
  border: 3px solid #111;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  font-family: inherit;
  text-align: center;
}

@media (max-width: 720px) {
  .tt-shell {
    width: min(94vw, 100%);
    max-width: none;
    margin: 0 auto;
    padding: 0.75rem;
  }

  .tt-header,
  .tt-post,
  .tt-footer {
    border-width: 2px;
  }

  .tt-title {
    font-size: 1rem;
  }

  .tt-tag {
    font-size: 0.72rem;
    padding: 0.1rem 0.35rem;
  }
}
