:root {
  --ink: #1a1a1a;
  --paper: #fdfdfb;
  --accent: #b04a2f;
  --muted: #6b6b6b;
  --line: #e4e0d8;
  --surface: #ffffff;
  --soft: #f2efe9;
  --font-body: ui-serif, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-display: "Avenir Next", "Segoe UI Variable", "Segoe UI", ui-sans-serif, sans-serif;
  --font-ui: "Segoe UI Variable", "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  font-family: var(--font-body);
}
html[data-theme="dark"] {
  --ink: #eee9df;
  --paper: #161719;
  --accent: #e49a75;
  --muted: #b6b0a6;
  --line: #383a3d;
  --surface: #202225;
  --soft: #292b2f;
  color-scheme: dark;
}
html[data-theme="future"] {
  --ink: #f1ebff;
  --paper: #100d1b;
  --accent: #b69cff;
  --muted: #b5a9d6;
  --line: #3c3262;
  --surface: #19132a;
  --soft: #211a39;
  color-scheme: dark;
}
html[data-theme="future"] body {
  background-image: linear-gradient(rgba(182, 156, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(182, 156, 255, 0.055) 1px, transparent 1px);
  background-size: 28px 28px;
}
html[data-theme="future"] .site-header { backdrop-filter: blur(12px); background: rgba(16, 13, 27, 0.82); }
html[data-theme="future"] .category-card, html[data-theme="future"] .board-card, html[data-theme="future"] .event-card, html[data-theme="future"] .auth-card { box-shadow: 0 0 0 1px rgba(182, 156, 255, 0.12), 0 16px 40px rgba(30, 17, 70, 0.24); }
html[data-theme="environment"] {
  --ink: #f4f3e9;
  --paper: #0b1511;
  --accent: #7fca63;
  --muted: #a9b6a7;
  --line: #2d4537;
  --surface: #13231b;
  --soft: #1c3025;
  color-scheme: dark;
}
html[data-theme="environment"] body {
  background-image: radial-gradient(circle at 8% 0%, rgba(95, 157, 79, 0.16), transparent 26rem), linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 38%);
}
html[data-theme="environment"] .site-header {
  position: relative;
  border-bottom-color: rgba(127, 202, 99, 0.34);
  background: rgba(11, 21, 17, 0.92);
}
html[data-theme="environment"] .site-header::after {
  position: absolute;
  right: 2rem;
  bottom: -1px;
  left: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}
html[data-theme="environment"] .brand { letter-spacing: 0.04em; text-transform: uppercase; }
html[data-theme="environment"] .theme-toggle { border-color: var(--accent); color: var(--accent); }
html[data-theme="environment"] main { max-width: 1120px; padding-top: 3.5rem; }
html[data-theme="environment"] .feed-heading {
  min-height: 10.5rem;
  align-items: end;
  padding: 1.5rem 0 1.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
html[data-theme="environment"] .feed-heading::before {
  align-self: stretch;
  width: 3px;
  margin-right: 1rem;
  background: var(--accent);
  content: "";
}
html[data-theme="environment"] .feed-heading h1,
html[data-theme="environment"] .post h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 6.5rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 0.92;
}
html[data-theme="environment"] .post-list--feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
html[data-theme="environment"] .post-list--feature-grid .post-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  transition: background-color 180ms ease, transform 180ms ease;
}
html[data-theme="environment"] .post-list--feature-grid .post-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 29rem;
  border: 0;
}
html[data-theme="environment"] .post-list--feature-grid .post-card:hover { background: var(--surface); transform: translateY(-3px); }
html[data-theme="environment"] .post-list--feature-grid .post-thumb-link { display: block; overflow: hidden; background: #172b20; }
html[data-theme="environment"] .post-list--feature-grid .post-thumb,
html[data-theme="environment"] .post-list--feature-grid .post-thumb-placeholder {
  width: 100%;
  height: 15rem;
  border-radius: 0;
  transition: transform 350ms ease;
}
html[data-theme="environment"] .post-list--feature-grid .post-card:first-child .post-thumb { height: 100%; min-height: 29rem; }
html[data-theme="environment"] .post-list--feature-grid .post-card:hover .post-thumb { transform: scale(1.035); }
html[data-theme="environment"] .post-list--feature-grid .post-card-copy { min-width: 0; padding: 1.5rem; }
html[data-theme="environment"] .post-list--feature-grid .post-card:first-child .post-card-copy { display: flex; flex-direction: column; justify-content: end; padding: clamp(1.5rem, 3vw, 3rem); }
html[data-theme="environment"] .post-list--feature-grid .post-card h2 { font-size: clamp(1.6rem, 2.5vw, 2.75rem); line-height: 1; }
html[data-theme="environment"] .post-list--feature-grid .post-card:first-child h2 { font-size: clamp(2.1rem, 3.5vw, 3.5rem); letter-spacing: -0.05em; overflow-wrap: normal; }
html[data-theme="environment"] .post-list--feature-grid .post-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.16em; }
html[data-theme="environment"] .post-list--feature-grid .post-excerpt { color: var(--muted); }
html[data-theme="environment"] .post-list--feature-grid .post-card:not(:first-child) .post-excerpt,
html[data-theme="ocean"] .post-list--feature-grid .post-card:not(:first-child) .post-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
html[data-theme="environment"] .post-list--feature-grid .post-tags a { border-radius: 0; border-color: var(--accent); color: var(--ink); }
html[data-theme="environment"] .pagination { margin-top: 2rem; }
html[data-theme="environment"] .page-link { border-radius: 0; }
html[data-theme="environment"] .page-link.is-current { color: #0b1511; }
html[data-theme="environment"] .post { max-width: 780px; margin: 0 auto; }
html[data-theme="environment"] .post-cover {
  max-height: 38rem;
  margin-bottom: 2rem;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 12px 12px 0 rgba(127, 202, 99, 0.18);
}
html[data-theme="environment"] .post-byline { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
html[data-theme="environment"] .post-body { font-size: 1.12rem; line-height: 1.85; }
html[data-theme="environment"] .post-body h2,
html[data-theme="environment"] .post-body h3 { margin-top: 2.25em; letter-spacing: -0.035em; }
html[data-theme="environment"] .post-body a,
html[data-theme="environment"] .comments a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
html[data-theme="environment"] .post-body pre { border: 1px solid var(--line); border-radius: 0; }
html[data-theme="environment"] .post-body blockquote { color: var(--ink); font-size: 1.25em; font-style: italic; }
html[data-theme="environment"] .comments { max-width: 780px; margin-right: auto; margin-left: auto; }
html[data-theme="environment"] .auth-card,
html[data-theme="environment"] .category-card,
html[data-theme="environment"] .board-card,
html[data-theme="environment"] .event-card,
html[data-theme="environment"] .connection-card { border-radius: 0; box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.16); }
html[data-theme="environment"] .auth-card { border-top: 3px solid var(--accent); }
html[data-theme="environment"] .profile-hero { border: 1px solid var(--line); border-radius: 0; background: linear-gradient(120deg, var(--soft), var(--surface)); }
html[data-theme="environment"] .site-tab,
html[data-theme="environment"] .eyebrow { letter-spacing: 0.1em; }
html[data-theme="environment"] input,
html[data-theme="environment"] textarea,
html[data-theme="environment"] select { color: var(--ink); background: var(--surface); }
html[data-theme="environment"] button,
html[data-theme="environment"] .button { border-radius: 0; transition: background-color 160ms ease, color 160ms ease, transform 160ms ease; }
html[data-theme="environment"] button:hover,
html[data-theme="environment"] .button:hover { opacity: 1; transform: translateY(-2px); }
html[data-theme="environment"] .secondary-button,
html[data-theme="environment"] .social-action { border-radius: 0; }
html[data-theme="environment"] .site-search button,
html[data-theme="environment"] .board-search button { border-radius: 999px; }
html[data-theme="environment"] :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html[data-theme="ocean"] {
  --ink: #f2f8fb;
  --paper: #050d18;
  --accent: #32bced;
  --muted: #9bafbd;
  --line: #203b50;
  --surface: #0b1a2a;
  --soft: #10283a;
  color-scheme: dark;
}
html[data-theme="ocean"] body {
  background-image: radial-gradient(ellipse at 50% -18%, rgba(39, 161, 211, 0.22), transparent 42rem), linear-gradient(135deg, rgba(78, 187, 224, 0.035), transparent 35%);
}
html[data-theme="ocean"] .site-header {
  position: relative;
  border-bottom-color: rgba(50, 188, 237, 0.3);
  background: rgba(5, 13, 24, 0.92);
}
html[data-theme="ocean"] .site-header::after {
  position: absolute;
  right: 2rem;
  bottom: -1px;
  left: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}
html[data-theme="ocean"] .brand { letter-spacing: 0.08em; text-transform: uppercase; }
html[data-theme="ocean"] .site-tab.is-active,
html[data-theme="ocean"] .site-tab:hover { color: var(--accent); }
html[data-theme="ocean"] .theme-toggle { color: var(--accent); border-color: rgba(50, 188, 237, 0.6); }
html[data-theme="ocean"] main { max-width: 1240px; padding-top: 0; }
.ocean-hero,
.post-read-more { display: none; }
html[data-theme="ocean"] .ocean-hero {
  position: relative;
  display: flex;
  min-height: 31rem;
  flex-direction: column;
  justify-content: end;
  align-items: flex-start;
  padding: clamp(2rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(3, 10, 20, 0.95) 18%, rgba(5, 23, 39, 0.62) 66%, rgba(19, 119, 157, 0.2)), radial-gradient(ellipse at 60% 0%, rgba(103, 218, 255, 0.45), transparent 42%), linear-gradient(180deg, #123e62, #06111f 78%);
}
html[data-theme="ocean"] .ocean-hero::before,
html[data-theme="ocean"] .ocean-hero::after { position: absolute; z-index: -1; pointer-events: none; content: ""; }
html[data-theme="ocean"] .ocean-hero::before {
  top: -22rem;
  left: 15%;
  width: 40rem;
  height: 65rem;
  opacity: 0.3;
  transform: rotate(23deg);
  background: repeating-linear-gradient(90deg, transparent 0 4.5rem, rgba(162, 239, 255, 0.26) 4.6rem 5rem, transparent 5.1rem 9rem);
}
html[data-theme="ocean"] .ocean-hero::after {
  right: -9rem;
  bottom: -13rem;
  width: 38rem;
  height: 25rem;
  border: 1px solid rgba(91, 211, 243, 0.35);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(39, 150, 193, 0.055), 0 0 0 7rem rgba(39, 150, 193, 0.035);
}
html[data-theme="ocean"] .ocean-hero h1 {
  max-width: 9ch;
  margin: 0.4rem 0 1rem;
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  letter-spacing: -0.07em;
  line-height: 0.84;
  text-transform: uppercase;
}
html[data-theme="ocean"] .ocean-hero > p:not(.eyebrow) { max-width: 36rem; margin: 0 0 1.75rem; color: #d6e6ee; font-size: clamp(1rem, 1.8vw, 1.25rem); }
html[data-theme="ocean"] .ocean-hero .button { border: 1px solid var(--accent); border-radius: 999px; box-shadow: 0 0 24px rgba(50, 188, 237, 0.2); }
html[data-theme="ocean"] .feed-heading { margin: 3rem 0 1rem; }
html[data-theme="ocean"] .feed-heading h1 { font-size: clamp(2rem, 4vw, 4rem); letter-spacing: -0.055em; }
html[data-theme="ocean"] .post-list--feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
html[data-theme="ocean"] .post-list--feature-grid .post-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 29rem;
}
html[data-theme="ocean"] .post-list--feature-grid .post-card:hover { border-color: rgba(50, 188, 237, 0.78); box-shadow: 0 12px 32px rgba(4, 37, 62, 0.52); transform: translateY(-3px); }
html[data-theme="ocean"] .post-list--feature-grid .post-thumb-link { display: block; overflow: hidden; background: #0b2940; }
html[data-theme="ocean"] .post-list--feature-grid .post-thumb,
html[data-theme="ocean"] .post-list--feature-grid .post-thumb-placeholder { width: 100%; height: 13rem; border-radius: 0; transition: transform 300ms ease; }
html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child .post-thumb { height: 100%; min-height: 29rem; }
html[data-theme="ocean"] .post-list--feature-grid .post-card:hover .post-thumb { transform: scale(1.035); }
html[data-theme="ocean"] .post-list--feature-grid .post-card-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; padding: 1.35rem; }
html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child .post-card-copy { justify-content: end; padding: clamp(1.6rem, 3.5vw, 3.5rem); }
html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child .post-card-copy::before { margin-bottom: 1rem; color: var(--accent); font-family: ui-monospace, monospace; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; content: "FEATURED"; }
html[data-theme="ocean"] .post-list--feature-grid .post-card h2 { font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.02; }
html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child h2 { font-size: clamp(2.15rem, 3.7vw, 3.8rem); letter-spacing: -0.055em; overflow-wrap: normal; }
html[data-theme="ocean"] .post-list--feature-grid .post-excerpt { color: var(--muted); }
html[data-theme="ocean"] .post-list--feature-grid .post-tags a { border-color: rgba(50, 188, 237, 0.5); color: #c8f3ff; }
html[data-theme="ocean"] .post-list--feature-grid .post-read-more { display: inline-block; margin-top: auto; padding-top: 1.25rem; color: var(--accent); font-family: ui-monospace, monospace; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; text-transform: uppercase; }
html[data-theme="ocean"] .post-list--feature-grid .post-read-more:hover span { display: inline-block; transform: translateX(3px); }
html[data-theme="ocean"] .post-list--feature-grid .post-read-more span { transition: transform 150ms ease; }
html[data-theme="ocean"] .post { max-width: 780px; margin: 4rem auto 0; }
html[data-theme="ocean"] .post h1 { max-width: 13ch; font-size: clamp(2.8rem, 6vw, 6.5rem); letter-spacing: -0.065em; line-height: 0.9; }
html[data-theme="ocean"] .post-cover { max-height: 39rem; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24); }
html[data-theme="ocean"] .post-byline { padding-bottom: 1.35rem; border-bottom: 1px solid var(--line); }
html[data-theme="ocean"] .post-body { font-size: 1.1rem; line-height: 1.85; }
html[data-theme="ocean"] .post-body h2,
html[data-theme="ocean"] .post-body h3 { color: #b8eeff; margin-top: 2.2em; }
html[data-theme="ocean"] .post-body a,
html[data-theme="ocean"] .comments a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
html[data-theme="ocean"] .post-body pre { border: 1px solid var(--line); border-radius: 8px; }
html[data-theme="ocean"] .post-body blockquote { color: #d3eff7; border-left-color: var(--accent); }
html[data-theme="ocean"] .comments { max-width: 780px; margin-right: auto; margin-left: auto; }
html[data-theme="ocean"] .comment { border-bottom-color: var(--line); }
html[data-theme="ocean"] .auth-card,
html[data-theme="ocean"] .category-card,
html[data-theme="ocean"] .board-card,
html[data-theme="ocean"] .event-card,
html[data-theme="ocean"] .connection-card { border-color: var(--line); background: var(--surface); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }
html[data-theme="ocean"] .auth-card { border-top: 3px solid var(--accent); }
html[data-theme="ocean"] input,
html[data-theme="ocean"] textarea,
html[data-theme="ocean"] select { color: var(--ink); background: var(--surface); }
html[data-theme="ocean"] button,
html[data-theme="ocean"] .button { transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
html[data-theme="ocean"] button:hover,
html[data-theme="ocean"] .button:hover { opacity: 1; box-shadow: 0 6px 18px rgba(50, 188, 237, 0.22); transform: translateY(-2px); }
html[data-theme="ocean"] :focus-visible { outline: 3px solid #85e7ff; outline-offset: 3px; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
.site-header {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-ui); font-weight: 750; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 720; letter-spacing: -0.032em; line-height: 1.08; }
.site-tabs { display: flex; width: 100%; min-width: 0; align-items: center; gap: 0.3rem; flex-wrap: wrap; justify-content: space-between; }
.site-tab { color: var(--muted); text-decoration: none; font-family: ui-monospace, monospace; padding: 0.4rem 0.55rem; border-bottom: 2px solid transparent; }
.site-tab:hover, .site-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.site-search, .board-search { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 5%, transparent); transition: border-color 150ms ease, box-shadow 150ms ease; }
.site-search { flex: 0 1 255px; min-width: 0; margin: 0 0.35rem; }
.site-search:focus-within, .board-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.search-icon { color: var(--muted); font-size: 1.2rem; line-height: 1; padding-left: 0.65rem; }
.site-search input, .board-search input { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font: inherit; }
.site-search input { flex: 1 1 6rem; width: 135px; padding: 0.48rem; }
.site-search button, .board-search button { margin: 3px; padding: 0.38rem 0.65rem; border-radius: 999px; color: var(--paper); white-space: nowrap; }
.theme-toggle { background: var(--soft); color: var(--ink); padding: 0.4rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; }
.button {
  display: inline-flex;
  min-height: 2.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--accent);
  border-radius: 0.5rem;
  background: var(--accent);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}
.button:hover { opacity: 1; box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 24%, transparent); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.secondary-button { border-color: var(--accent); background: transparent; color: var(--accent); }
main { max-width: 720px; margin: 0 auto; padding: 2rem; }
.site-footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 2rem; }

.site-loader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  width: 100vw;
  height: 100vh;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  transition: opacity 380ms ease, visibility 380ms ease;
}
.site-loader-mark { display: grid; justify-items: center; gap: 1rem; }
.site-loader-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 6.75rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.9;
  text-transform: uppercase;
  animation: minipress-loader-arrive 480ms cubic-bezier(.2, .8, .2, 1) both;
}
.site-loader-line {
  position: relative;
  display: block;
  width: min(11rem, 48vw);
  height: 2px;
  overflow: hidden;
  background: var(--line);
}
.site-loader-line::after {
  position: absolute;
  inset: 0;
  background: var(--accent);
  content: "";
  transform: translateX(-100%);
  animation: minipress-loader-progress 850ms ease-in-out infinite;
}
.site-loader.is-ready { visibility: hidden; pointer-events: none; opacity: 0; }
@keyframes minipress-loader-arrive {
  from { opacity: 0; transform: translateY(0.45rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes minipress-loader-progress {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.feed-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.feed-summary, .post-meta { color: var(--muted); font-size: 0.85rem; }
.post-list { display: flex; flex-direction: column; }
.post-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 1.25rem; min-width: 0; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.post-card-copy { min-width: 0; }
.post-card:first-child { border-top: 1px solid var(--line); }
.post-card h2 { margin: 0 0 0.25rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-thumb { width: 180px; height: 122px; object-fit: cover; border-radius: 4px; display: block; }
.post-thumb-placeholder { display: grid; place-items: center; background: var(--soft); color: var(--muted); font-family: ui-monospace, monospace; }
.post-excerpt { color: var(--ink); margin: 0.25rem 0 0.55rem; }
.post-meta a, .post-tags a, .post-byline a { color: var(--accent); text-decoration: none; }
.post-tags { margin: 0.45rem 0 0; display: flex; gap: 0.45rem; flex-wrap: wrap; }
.post-tags a { font-size: 0.78rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.12rem 0.45rem; }
.post-list time, .post time { color: var(--muted); font-size: 0.85rem; }
.post-byline { color: var(--muted); font-size: 0.9rem; margin: 0.4rem 0 1.25rem; }
.post-meta { display: flex; gap: 0.45rem; align-items: center; flex-wrap: wrap; margin: 0; }
.post-meta a, .post-card h2 a, .connection-card small { overflow-wrap: break-word; }
.pagination { display: flex; gap: 0.35rem; justify-content: center; margin-top: 1.75rem; flex-wrap: wrap; }
.page-link { color: var(--accent); text-decoration: none; padding: 0.35rem 0.55rem; border: 1px solid var(--line); border-radius: 3px; }
.page-link.is-current { color: white; background: var(--accent); border-color: var(--accent); }

.post-cover { width: 100%; border-radius: 6px; margin-bottom: 1rem; }
.post-body { margin-top: 1rem; }
.post-body pre { background: var(--soft); padding: 1rem; overflow-x: auto; border-radius: 4px; }
.post-body code { background: var(--soft); padding: 0.1rem 0.3rem; border-radius: 3px; }
.post-body blockquote { border-left: 3px solid var(--accent); margin: 1rem 0; padding-left: 1rem; color: #444; }

.comments { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.comment-list { list-style: none; padding: 0; }
.comment { border-bottom: 1px solid var(--line); padding: 0.75rem 0; }
.comment time { font-size: 0.8rem; color: var(--muted); margin-left: 0.5rem; }
.comment-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; max-width: 480px; }
.comment-form textarea, .comment-form input, .login-form input {
  font: inherit; padding: 0.5rem; border: 1px solid var(--line); border-radius: 4px;
}
button {
  font: inherit; background: var(--accent); color: white; border: none;
  padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer;
}
button:hover { opacity: 0.9; }
.auth-shell { display: grid; place-items: center; padding: 2rem 0; }
.auth-card { width: min(100%, 440px); padding: 2.25rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: 0 12px 28px rgba(37, 29, 20, 0.12); }
.auth-card h1 { margin: 0.25rem 0; font-size: 2.1rem; }
.eyebrow { color: var(--accent); font-family: ui-monospace, monospace; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.auth-intro { color: var(--muted); margin: 0 0 1.5rem; }
.login-form { display: grid; gap: 1rem; }
.login-form label { display: grid; gap: 0.35rem; font-weight: 600; }
.login-form button { width: 100%; margin-top: 0.4rem; }
.auth-switch { margin: 1.35rem 0 0; text-align: center; }
.post-social-actions { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.post-social-actions form { margin: 0; }
.social-action { font: inherit; color: var(--accent); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.38rem 0.7rem; text-decoration: none; }
.social-action.is-active { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.feed-description { color: var(--muted); margin: 0.35rem 0 0; }
.profile-hero { display: grid; grid-template-columns: 1.2fr auto auto; gap: 1.5rem; align-items: center; padding: 1.5rem; background: var(--soft); border-radius: 10px; margin-bottom: 1.5rem; }
.profile-hero h1 { margin: 0.25rem 0; }
.profile-hero p:last-child { color: var(--muted); margin: 0; }
.profile-stats { display: flex; gap: 0.85rem; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; }
.profile-stats strong { color: var(--ink); display: block; font-size: 1.1rem; }
.profile-actions { display: flex; gap: 0.35rem; }
.vote-button { padding: 0.42rem 0.55rem; background: var(--surface); color: var(--accent); border: 1px solid var(--line); }
.vote-button.is-active { background: var(--accent); color: var(--paper); }
.profile-stats a { color: inherit; text-decoration: none; }
.profile-stats a:hover strong { color: var(--accent); }
.connection-heading { margin-bottom: 1.25rem; }
.connection-heading h1 { margin: 0.35rem 0; }
.connection-heading p { color: var(--muted); }
.back-link { color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.connection-tabs { display: flex; gap: 0.8rem; margin-top: 1rem; border-bottom: 1px solid var(--line); }
.connection-tabs a { padding: 0.55rem 0.2rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; }
.connection-tabs a.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.connection-list { display: grid; gap: 0.65rem; }
.connection-card { display: flex; align-items: center; gap: 0.8rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; background: var(--surface); }
.connection-card:hover { border-color: var(--accent); }
.connection-avatar { display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: var(--soft); color: var(--accent); font-weight: bold; }
.connection-card strong, .connection-card small { display: block; }
.connection-card small { margin-top: 0.18rem; color: var(--muted); }
.connection-arrow { margin-left: auto; color: var(--accent); }
.category-grid, .board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.category-card, .board-card { display: block; padding: 1.15rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; background: var(--surface); }
.category-card:hover, .board-card:hover { border-color: var(--accent); }
.category-card h2, .board-card h2 { margin: 0.25rem 0 0.45rem; }
.category-card p, .board-card p { color: var(--muted); margin: 0 0 0.85rem; }
.category-card span, .board-card span { color: var(--accent); font-size: 0.82rem; }
.board-create { padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.board-create summary { cursor: pointer; color: var(--accent); }
.board-create form { display: grid; gap: 0.65rem; margin-top: 0.75rem; min-width: 260px; }
.board-create label { display: grid; gap: 0.25rem; }
.board-create input, .board-create textarea, select { font: inherit; padding: 0.45rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.board-search { margin: 1.25rem 0; max-width: 560px; }
.board-search input { flex: 1; padding: 0.68rem 0.5rem; }
.event-create { padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.event-create summary { cursor: pointer; color: var(--accent); display: flex; flex-direction: column; gap: 0.12rem; }
.event-create summary small { color: var(--muted); font-weight: normal; }
.event-create form { display: grid; gap: 0.85rem; margin-top: 1rem; min-width: min(100%, 360px); }
.event-create fieldset { display: grid; gap: 0.7rem; margin: 0; padding: 0.85rem; border: 1px solid var(--line); border-radius: 7px; }
.event-create legend { padding: 0 0.3rem; color: var(--accent); font-size: 0.85rem; }
.event-form-intro { margin: 0; color: var(--muted); }
.event-create label { display: grid; gap: 0.25rem; }
.event-create input, .event-create textarea { font: inherit; padding: 0.48rem; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.event-create label small { color: var(--muted); font-weight: normal; }
.event-image-input { padding: 0.75rem; border: 1px dashed var(--line); border-radius: 7px; }
.event-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.event-list { display: grid; gap: 1rem; }
.event-card { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1rem; padding: 1rem; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.event-card img, .event-image-placeholder { width: 150px; height: 112px; object-fit: cover; border-radius: 5px; }
.event-image-placeholder { display: grid; place-items: center; color: var(--muted); background: var(--soft); }
.event-card h2 { margin: 0.2rem 0 0.4rem; }
.event-card p { margin: 0 0 0.6rem; color: var(--muted); }
.event-card span { color: var(--accent); font-size: 0.84rem; }
.event-detail { max-width: 760px; }
.event-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.event-host a { color: var(--accent); }
.event-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.5rem 0; }
.event-details div { padding: 0.8rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.event-details dt { color: var(--muted); font-size: 0.8rem; }
.event-details dd { margin: 0.2rem 0 0; }
.event-details dd small { display: block; margin-top: 0.35rem; color: var(--muted); }
.event-attendees { margin: 1.5rem 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.event-attendees h2 { margin: 0.15rem 0 0.8rem; }
.event-attendee-list { display: flex; flex-wrap: wrap; gap: 0.55rem; list-style: none; padding: 0; margin: 0; }
.event-attendee-list a { display: block; padding: 0.38rem 0.6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); text-decoration: none; background: var(--surface); }
.event-attendee-list a:hover { border-color: var(--accent); }
.event-delete { margin-left: auto; }
.account-stats { margin-top: 1rem; }
.account-profile-link { display: inline-block; margin-top: 0.8rem; color: var(--accent); }
.error { color: var(--accent); font-weight: bold; }
.empty { color: var(--muted); font-style: italic; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 700px) {
  .site-header { padding: 1rem; }
  .site-tabs { width: 100%; justify-content: flex-start; }
  .site-search { flex: 1 1 15rem; margin: 0.2rem 0; }
  main { padding: 1.25rem; }
  .feed-heading { align-items: flex-start; flex-direction: column; }
  .profile-hero { grid-template-columns: 1fr; }
  .event-details { grid-template-columns: 1fr; }
}

@media (max-width: 1050px) and (min-width: 701px) {
  .site-tabs { justify-content: flex-start; }
  .site-search { flex: 1 0 100%; order: 2; margin: 0.35rem 0 0; }
}

@media (max-width: 480px) {
  .site-search { flex-basis: 100%; }
  .site-search input { width: auto; }
  .post-card { grid-template-columns: 112px minmax(0, 1fr); gap: 0.8rem; }
  .post-thumb { width: 112px; height: 96px; }
  .post-card h2 { font-size: 1.15rem; }
  .category-grid, .board-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; }
  .event-card img, .event-image-placeholder { width: 100%; height: 160px; }
  .event-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  html[data-theme="environment"] main { padding-top: 2rem; }
  html[data-theme="environment"] .site-header::after { right: 1rem; left: 1rem; }
  html[data-theme="environment"] .feed-heading { min-height: 8rem; }
  html[data-theme="environment"] .feed-heading { align-items: flex-start; }
  html[data-theme="environment"] .post-list--feature-grid { grid-template-columns: 1fr; }
  html[data-theme="environment"] .post-list--feature-grid .post-card:first-child { grid-column: auto; grid-template-columns: 1fr; min-height: auto; }
  html[data-theme="environment"] .post-list--feature-grid .post-card:first-child .post-thumb { min-height: 18rem; height: 18rem; }
  html[data-theme="ocean"] main { padding-top: 0; }
  html[data-theme="ocean"] .site-header::after { right: 1rem; left: 1rem; }
  html[data-theme="ocean"] .ocean-hero { min-height: 25rem; }
  html[data-theme="ocean"] .feed-heading { align-items: flex-start; }
  html[data-theme="ocean"] .post-list--feature-grid { grid-template-columns: 1fr; }
  html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child { grid-column: auto; grid-template-columns: 1fr; min-height: auto; }
  html[data-theme="ocean"] .post-list--feature-grid .post-card:first-child .post-thumb { min-height: 18rem; height: 18rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader { transition-duration: 120ms; }
  .site-loader-name,
  .site-loader-line::after { animation: none; }
  .site-loader-line::after { transform: translateX(0); }
  html[data-theme="environment"] *,
  html[data-theme="environment"] *::before,
  html[data-theme="environment"] *::after,
  html[data-theme="ocean"] *,
  html[data-theme="ocean"] *::before,
  html[data-theme="ocean"] *::after { scroll-behavior: auto; transition-duration: 0.01ms !important; }
}
