:root {
  --bg: #efeee8;
  --ink: #161713;
  --muted: #5e6158;
  --line: #ddd9cc;
  --card: #fffcf7;
  --accent: #d7f25a;
  --accent-ink: #1a2206;
  --live: #d4edda;
  --suspended: #ffc0cb;
  --invalid: #fff3cd;
  --failed: #e9ecef;
  --display: "Syne", "Arial Narrow", sans-serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; }

.top, .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
}

.top {
  background: var(--ink);
  color: #f6f5ef;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--accent);
  display: inline-block;
}

.top-meta, .foot {
  color: #b9bba8;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.foot {
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.foot-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.foot-links a { font-weight: 600; text-decoration: none; }

.legal {
  width: min(760px, 100%);
  margin: 8px auto 0;
  padding: 22px 24px;
}

.legal h1 { margin: 0; }
.legal h2 { font-size: 1.15rem; margin: 22px 0 8px; }
.legal p, .legal li { line-height: 1.55; }
.legal ul { margin: 8px 0 0; padding-left: 1.2rem; }
.legal textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  resize: vertical;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-actions a { font-weight: 600; text-decoration: none; }

.logout-form { margin: 0; }

.logout-form button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.auth-panel {
  width: min(460px, 100%);
  margin: 24px auto;
  padding: 22px;
}

.auth-panel h1 { margin: 0 0 12px; }

.auth-form label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
}

.inline-form { margin: 0; }

.tool-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-account { background: #d6eaf8; }
.badge-private { background: var(--invalid); }
.badge-offline { background: var(--failed); }

.admin-table select { min-width: 9rem; }

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 12px;
}

.hero, .tool-head { max-width: 740px; margin-bottom: 28px; }

.eyebrow {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.04em; margin: 0; }

h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.95; }

.lede { margin: 14px 0 0; color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

.section-head, .panel-head, .results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.section-head { margin-bottom: 14px; }
.section-head p, .panel-head span, .results-meta, .hint, .form-message {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.tool-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tool-card:hover, .tool-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.tool-index {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.tool-card h3 { font-size: 1.55rem; line-height: 1.05; }

.tool-card p { margin: 0; color: var(--muted); flex: 1; }

.tool-go {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swatches { display: flex; gap: 6px; }

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 99px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.swatch-live, .swatch-both, .swatch-available, .swatch-valid, .swatch-direct { background: #3c9d5b; }
.swatch-suspended, .swatch-used, .swatch-expired { background: #e45b7a; }
.swatch-missing { background: #ffc0cb; }
.swatch-error { background: #8d9286; }
.swatch-redirected, .swatch-top { background: #3b82c4; }
.swatch-invalid, .swatch-hidden { background: #e0b03a; }

.back-link { margin: 0 0 18px; font-family: var(--mono); font-size: 0.78rem; }
.back-link a { color: var(--muted); }

.checker-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}

textarea {
  width: 100%;
  margin-top: 8px;
  resize: vertical;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--mono);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
  background: #fff;
}

textarea:focus, select:focus, button:focus-visible, a:focus-visible, .file-btn:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-actions, .results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.btn, .file-btn, .chip, select {
  font-family: var(--sans);
  font-size: 0.92rem;
}

.btn, .file-btn {
  border-radius: 999px;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: #b5cf3a;
  color: var(--accent-ink);
  font-weight: 600;
}

.btn:disabled, .file-btn:has(input:disabled) {
  opacity: 0.45;
  cursor: not-allowed;
}

.file-btn input { display: none; }

.hint, .form-message { margin-top: 10px; }

.form-message.is-error { color: #8d2d3a; }

.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.score {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.score span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.score strong {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.score-live, .score-both, .score-available, .score-valid, .score-direct, .score-ok { background: var(--live); }
.score-suspended, .score-used, .score-expired { background: var(--suspended); }
.score-missing { background: #ffc0cb; }
.score-invalid, .score-hidden { background: var(--invalid); }
.score-error { background: var(--failed); }
.score-top, .score-redirected { background: #d6eaf8; }
.score-latest { background: #ede4f7; }

.field-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-weight: 600;
}

.field-label span, .mono { font-family: var(--mono); font-weight: 400; color: var(--muted); font-size: 0.78rem; }

.text-input {
  width: 100%;
  margin: 8px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--ink);
  background: #fff;
}

.user-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--mono);
}

.avatar, .avatar-fallback {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
}

.avatar { object-fit: cover; background: #eceae2; }

.avatar-fallback {
  display: inline-grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  font-size: 0.75rem;
  font-family: var(--mono);
}

.row-error {
  margin-top: 4px;
  color: #6d4a1b;
  font-family: var(--sans);
  font-size: 0.78rem;
  max-width: 36ch;
}

.progress {
  margin-top: 12px;
  height: 8px;
  background: #eceae2;
  border-radius: 99px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
}

.results-panel { margin-top: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}

.chip.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.sort-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
  background: #fff;
  color: var(--ink);
}

.results-meta { margin: 12px 0; }

.results-scroll {
  max-height: 68vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

table.results {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.results th, .results td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(22, 23, 19, 0.08);
  vertical-align: top;
}

.results th {
  position: sticky;
  top: 0;
  background: #f7f6f1;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 1;
}

.results td.user, .results td.token {
  font-family: var(--mono);
  font-size: 0.86rem;
}

.results td.token { word-break: break-all; }

.results td.metric {
  font-family: var(--mono);
  font-size: 0.86rem;
  text-align: right;
  white-space: nowrap;
}

.results td.tweet-text {
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.author-name { display: block; }

.author-handle {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.author-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-copy {
  min-width: 0;
  line-height: 1.25;
}

.author-avatar {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  line-height: 0;
}

.tweet-results td.author-col img,
.author-avatar img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.tweet-results td.author-col { vertical-align: middle; }

table.tweet-results { min-width: 1180px; }

.tweet-results td.url-cell {
  max-width: 240px;
  word-break: normal;
}

.tweet-results td.url-cell a {
  display: inline-block;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.tweet-results td.posted {
  font-family: var(--mono);
  font-size: 0.82rem;
  white-space: nowrap;
  word-break: normal;
}

.code-cell {
  font-family: var(--mono);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.chain-list {
  margin: 4px 0;
  padding-left: 1.2rem;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.chain-list li { margin: 4px 0; word-break: break-all; }

.chain-code {
  display: inline-block;
  min-width: 4.5rem;
  font-weight: 650;
}

.chain-final {
  background: var(--live);
  border-radius: 6px;
  padding: 2px 6px;
}

.results tr.chain-row td { background: #fff; }

.results tr.status-live td, .results tr.status-both td, .results tr.status-available td, .results tr.status-valid td, .results tr.status-direct td, .results tr.status-ok td { background: var(--live); }
.results tr.status-suspended td, .results tr.status-used td, .results tr.status-expired td { background: var(--suspended); }
.results tr.status-missing td { background: #ffc0cb; }
.results tr.status-invalid td, .results tr.status-hidden td { background: var(--invalid); }
.results tr.status-error td { background: var(--failed); }
.results tr.status-skipped td { background: #fff4d6; }
.results tr.status-top td { background: #d6eaf8; }
.results tr.status-redirected td { background: #d6eaf8; }
.results tr.status-latest td { background: #ede4f7; }

.results tr.status-live td:first-child, .results tr.status-both td:first-child, .results tr.status-available td:first-child, .results tr.status-valid td:first-child, .results tr.status-direct td:first-child, .results tr.status-ok td:first-child { box-shadow: inset 4px 0 0 #1e7a3f; }
.results tr.status-suspended td:first-child, .results tr.status-used td:first-child, .results tr.status-expired td:first-child { box-shadow: inset 4px 0 0 #b4234a; }
.results tr.status-missing td:first-child { box-shadow: inset 4px 0 0 #d46a8a; }
.results tr.status-invalid td:first-child, .results tr.status-hidden td:first-child { box-shadow: inset 4px 0 0 #a07912; }
.results tr.status-error td:first-child { box-shadow: inset 4px 0 0 #6b705f; }
.results tr.status-skipped td:first-child { box-shadow: inset 4px 0 0 #a07912; }
.results tr.status-top td:first-child, .results tr.status-redirected td:first-child { box-shadow: inset 4px 0 0 #1d6fb8; }
.results tr.status-latest td:first-child { box-shadow: inset 4px 0 0 #6b4c9a; }

.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.sort-btn .sort-arrow {
  font-size: 0.72rem;
  opacity: 0.45;
}

.sort-btn.is-active {
  color: var(--ink);
}

.sort-btn.is-active .sort-arrow { opacity: 1; }

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}

.pill-yes, .pill-both, .pill-available, .pill-valid, .pill-direct, .pill-ok { background: #1e7a3f; color: #fff; }
.pill-no, .pill-used, .pill-expired { background: #b4234a; color: #fff; }
.pill-invalid { background: #8a6410; color: #fff; }
.pill-top, .pill-redirected { background: #1d6fb8; color: #fff; }
.pill-latest { background: #6b4c9a; color: #fff; }
.pill-hidden { background: #8a6410; color: #fff; }
.pill-error { background: #5c6156; color: #fff; }
.pill-skipped { background: #8a6410; color: #fff; }
.score-skipped { background: #fff4d6; }

.session-note {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.session-note p { margin: 0 0 8px; }

.session-note ol {
  margin: 0;
  padding-left: 1.2rem;
}

.session-note li { margin: 4px 0; }

.session-note code {
  font-family: var(--mono);
  font-size: 0.86rem;
}

.session-note.is-ready {
  background: var(--live);
}
.pill-missing { background: #ffc0cb; color: #6b2440; }

.play-file { display: inline-flex; margin-top: 8px; }

.play-styles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 16px;
}

.play-style {
  width: 56px;
  height: 56px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1c1c1c;
  cursor: pointer;
}

.play-style img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.play-style.is-selected,
.play-sizes .is-selected {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.play-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.play-stage {
  position: relative;
  min-height: 180px;
  margin-top: 12px;
  display: grid;
  place-items: center;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
}

.play-preview[hidden],
.play-badge[hidden] { display: none; }

.play-stage .hint { color: #d5d5d5; }

.play-preview {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

textarea.timer-urls { min-height: 160px; }

.timer-delay {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.timer-delay .text-input {
  width: 110px;
  margin: 0;
}

.timer-delay select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.timer-source { margin-top: 16px; }

.timer-source-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.timer-source-row .text-input {
  flex: 1;
  width: auto;
  min-width: 0;
  margin: 6px 0 12px;
}

.timer-bar {
  height: 8px;
  background: #eceae2;
  border-radius: 99px;
  overflow: hidden;
  margin: 10px 0 14px;
}

.timer-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #3c9d5b;
}

.timer-count {
  font-family: var(--mono);
  font-size: 2.4rem;
  margin: 4px 0;
  letter-spacing: -0.04em;
}

.timer-sub { font-size: 1.05rem; margin: 16px 0 6px; }

.timer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 160px;
  overflow: auto;
}

.timer-list li { padding: 4px 0; word-break: break-all; }

.line-social {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
}

.tool-notes h2 { font-size: 1.15rem; margin: 18px 0 8px; }
.tool-notes h2:first-child { margin-top: 0; }
.tool-notes p, .tool-notes li { line-height: 1.55; }
.tool-notes ul { margin: 8px 0 0; padding-left: 1.2rem; }

.line-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-weight: 600;
}

.line-count-mode {
  border: 0;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.line-count-mode legend {
  width: 100%;
  font-weight: 600;
  margin-bottom: 4px;
}

.line-count-mode label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.play-swatch {
  width: 22px;
  height: 22px;
  object-fit: contain;
  background: #1c1c1c;
  border-radius: 99px;
}

.blog-cat-grid, .blog-post-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 14px;
}

.blog-cat-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.blog-post-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.blog-cat-card, .blog-post-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.blog-cat-card {
  gap: 10px;
  min-height: 200px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.blog-cat-card:hover, .blog-cat-card:focus-visible {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.blog-cat-card h3 { font-size: 1.35rem; margin: 0; }
.blog-cat-card p { margin: 0; color: var(--muted); flex: 1; font-size: 0.95rem; }

.blog-cat-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
}

.blog-cat-icon-lg { width: 56px; height: 56px; margin-bottom: 8px; }

.blog-icon { width: 22px; height: 22px; display: block; }

.blog-post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.blog-post-card:hover { border-color: var(--ink); transform: translateY(-2px); }

.blog-post-thumb {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.blog-post-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.blog-post-card-body h3 { font-size: 1.25rem; line-height: 1.15; margin: 0; }
.blog-post-card-body p { margin: 0; color: var(--muted); font-size: 0.95rem; flex: 1; }

.blog-pill {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: #161713;
  color: #f6f5ef;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.blog-hero-compact .lede { max-width: 70ch; }

.blog-article { max-width: 760px; margin: 0 auto; }

.blog-article-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 10px;
}

.blog-hero-figure {
  margin: 22px 0 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.blog-hero-figure img { width: 100%; height: auto; display: block; }

.blog-lead, .blog-outro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0;
}

.blog-callout {
  display: flex;
  gap: 14px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
}

.blog-callout-warning {
  border-color: #e0b03a;
  background: var(--invalid);
}

.blog-callout-info {
  border-color: #3b82c4;
  background: #eef6fc;
}

.blog-callout-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.06);
}

.blog-callout p { margin: 6px 0 0; color: var(--ink); }

.blog-steps { margin-top: 32px; }
.blog-steps h2 { font-size: 1.75rem; margin-bottom: 16px; }

.blog-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.blog-step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
}

.blog-step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
  color: #f6f5ef;
  font-family: var(--mono);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.blog-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.blog-step-head h3 { font-size: 1.2rem; margin: 0; flex: 1; min-width: 180px; }

.blog-step-body { margin-top: 12px; padding-left: 40px; }
.blog-step-body p { margin: 0 0 10px; line-height: 1.55; }

.blog-tip {
  margin: 0 0 12px !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg);
  font-size: 0.92rem;
}

.blog-tip-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 8px;
}

.blog-step-figure {
  margin: 14px 0 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.blog-step-figure img { width: 100%; height: auto; display: block; }
.blog-step-figure figcaption {
  padding: 8px 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.blog-faq { margin-top: 28px; }
.blog-faq h2 { margin-bottom: 12px; }

.blog-faq-list div { margin-top: 14px; }
.blog-faq-list dt { font-weight: 600; margin: 0; }
.blog-faq-list dd { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

.blog-related { margin: 32px 0 12px; }
.blog-related-list { margin: 10px 0 0; padding-left: 1.2rem; }
.blog-related-list a { font-weight: 600; }

.blog-admin-form label {
  display: block;
  margin-top: 14px;
  font-weight: 600;
}

.blog-admin-form .text-input {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

@media (max-width: 860px) {
  .checker-layout { grid-template-columns: 1fr; }
  .col-name, .col-followers, .col-detail, .col-age, .col-posts { display: none; }
  .top, .foot { padding: 14px 16px; }
  main { width: min(1120px, calc(100% - 20px)); }
  .blog-step-body { padding-left: 0; }
}
