:root {
  --bg: #050505;
  --surface: #0d0d0d;
  --divider: #232323;
  --text-hi: #f5f5f5;
  --text-mid: #d2d2d2;
  --text-low: #9f9f9f;
  --chip-bg: #111111;
  --chip-border: #3a3a3a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text-hi);
  font-family: "Libre Baskerville", serif;
  overflow: hidden;
}

.page-shell {
  height: 100vh;
}

.editorial-surface {
  width: 100vw;
  height: 100vh;
  display: flex;
  background: var(--surface);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #0d0d0d;
}

.column {
  flex: 0 0 420px;
  height: 100%;
  padding: 34px 24px 24px;
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a #0d0d0d;
}

.column:not(:last-child) {
  border-right: 1px solid var(--divider);
}

.column-end-gap {
  height: 50px;
  flex: 0 0 auto;
}

.infinite-checkbox-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--divider);
  background: #0f0f0f;
}

.checkbox-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.checkbox-label {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.35;
}

.editorial-surface::-webkit-scrollbar,
.column::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.editorial-surface::-webkit-scrollbar-track,
.column::-webkit-scrollbar-track {
  background: #0d0d0d;
}

.editorial-surface::-webkit-scrollbar-thumb,
.column::-webkit-scrollbar-thumb {
  background: #3a3a3a;
  border-radius: 999px;
}

.col-head,
.col-sub,
.col-text,
.col-link,
.col-chip,
.image-cap {
  margin: 0;
}

.col-wrap > .col-head {
  margin-bottom: 69px;
}

.col-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.col-head {
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.col-sub {
  color: var(--text-mid);
  font-size: 1.1rem;
  line-height: 1.45;
}

.col-text {
  color: var(--text-mid);
  font-size: 1.02rem;
  line-height: 1.55;
}

.col-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.col-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--divider);
  background: #0f0f0f;
}

.col-link {
  color: #ececec;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
}

.col-link:hover {
  text-decoration: underline;
}

.read-link {
  color: #f5f5f5;
  text-decoration: underline;
  font-size: 0.9rem;
  line-height: 1.3;
}

.col-chip {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  padding: 4px 10px;
  color: var(--text-low);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.image-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid var(--divider);
  padding: 10px;
  background: #111;
}

.image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.image-cap {
  color: var(--text-low);
  font-size: 0.88rem;
  line-height: 1.35;
}

.post-wrap {
  gap: 18px;
}
