:root {
  --paper: #f6f4ee;
  --ink: #252a23;
  --muted: #686e63;
  --line: #dcded3;
  --accent: #dc5636;
  --accent-light: #f9e4d9;
  --green: #365c3d;
  --surface: #fffef9;
  --radius: 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button,
a {
  touch-action: manipulation;
}
button {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
button:hover {
  border-color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #b7bbaf;
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  padding: 13px 14px;
  min-height: 48px;
}
input:focus,
textarea:focus {
  border-color: var(--ink);
}
textarea {
  min-height: 104px;
  resize: vertical;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin: 18px 0;
}
label input,
label textarea,
label select {
  display: block;
  margin-top: 7px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0;
  accent-color: var(--green);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1 {
  font-size: 44px;
  line-height: 1.04;
  letter-spacing: -1.8px;
  margin: 20px 0 28px;
  font-weight: 800;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 32px 0 18px;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 8px 0;
}
p {
  line-height: 1.6;
  margin: 12px 0;
}
small {
  font-size: 12px;
  line-height: 1.5;
}
.icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-button {
  display: inline-flex;
  width: 46px;
  height: 46px;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  padding: 0;
  color: inherit;
  text-decoration: none;
}
.icon-button:hover {
  background: #e7e9df;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 9px;
  padding: 13px 20px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}
.primary:hover {
  background: #3c4537;
}
.subtle {
  border: 0;
  background: transparent;
  padding: 8px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 14px;
}
.danger {
  color: #a32820;
  border-color: #d8aaa2;
  background: #fff5f1;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--muted);
}
.wordmark {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 36px;
  letter-spacing: -2px;
  font-weight: 900;
}
.brand-face {
  font-size: 36px;
  letter-spacing: -1.5px;
  line-height: 1;
}
.brand-face > .brand-letter {
  display: inline-block;
  transform: rotate(-12deg);
}
.brand-dot {
  color: var(--accent);
}
.brand-name {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-left: 17px;
  margin-top: 7px;
  text-transform: uppercase;
  font-weight: 700;
}
.site-header {
  height: 90px;
  max-width: 1096px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.main {
  max-width: 680px;
  margin: 24px auto 80px;
}
.dock {
  position: fixed;
  left: max(24px, calc(50% - 510px));
  top: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 65px;
  min-height: 56px;
  text-decoration: none;
  border-radius: 12px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}
.dock a:hover {
  background: #e9eae1;
}
.dock .selected {
  color: var(--accent);
  background: var(--accent-light);
}
.dock .compose {
  color: var(--paper);
  background: var(--ink);
  width: 52px;
  height: 52px;
  margin: 9px 0;
}
.dock-separator {
  width: 24px;
  height: 1px;
  background: var(--line);
  margin: 8px;
}
.feed-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.edition {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.meme {
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.meme-title {
  font-size: 23px;
  line-height: 1.22;
  letter-spacing: -0.5px;
  margin: 0 0 17px;
  font-weight: 750;
}
.meme-title a {
  text-decoration: none;
}
.meme-image {
  display: block;
  background: #ebece5;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
}
.meme-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 1100px;
  object-fit: contain;
}
.meme-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}
.vote-group,
.secondary-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.vote-group {
  gap: 10px;
}
.score {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  min-width: 28px;
  text-align: center;
}
.chosen {
  color: var(--accent);
  background: var(--accent-light);
}
.local-feedback:empty,
.form-feedback:empty {
  display: none;
}
.local-feedback,
.form-feedback {
  font-size: 14px;
  color: #9b3828;
  margin: 10px 0;
}
.form-feedback.success {
  color: var(--green);
}
.vote.busy {
  pointer-events: none;
}
.empty-feed {
  text-align: center;
  padding: 42px 20px 58px;
}
.empty-art {
  width: 240px;
  margin: 0 auto 24px;
  color: var(--ink);
}
.empty-feed h1 {
  font-size: 58px;
  letter-spacing: -2.8px;
  margin: 16px 0 20px;
}
.empty-feed p {
  color: var(--muted);
  font-size: 15px;
}
.empty-feed .primary {
  margin-top: 18px;
}
.load-more {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin-top: 20px;
  text-decoration: none;
  font-weight: 700;
}
.focused {
  max-width: 440px;
  margin: 60px auto 100px;
}
.focused h1 {
  font-size: 49px;
}
.focused form .primary {
  width: 100%;
  margin-top: 8px;
}
.focused .muted {
  font-size: 14px;
}
.submission {
  padding: 20px 0;
}
.submission h1 {
  font-size: 52px;
  letter-spacing: -2px;
}
.dropzone {
  border: 1.5px dashed #9fa791;
  border-radius: 12px;
  text-align: center;
  background: #eef0e6;
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dropzone:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.dropzone #image-prompt {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 14px;
}
.dropzone .icon {
  width: 40px;
  height: 40px;
}
.dropzone img {
  max-width: 100%;
  max-height: 550px;
  object-fit: contain;
}
.dropzone.has-image {
  border-style: solid;
  background: var(--ink);
}
.title-input input {
  font-size: 21px;
}
.submit-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.submit-end p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.submission > small {
  display: block;
  max-width: 440px;
  margin: 24px 0;
  color: var(--muted);
}
.sheet {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  width: min(480px, calc(100% - 32px));
  padding: 38px 30px;
}
.sheet::backdrop {
  background: #19211bdd;
  opacity: 0.65;
}
.sheet .close-dialog {
  position: absolute;
  right: 10px;
  top: 10px;
}
.sheet h2 {
  font-size: 32px;
  letter-spacing: -1px;
}
.sheet .primary {
  width: 100%;
}
.sheet p {
  font-size: 14px;
}
.reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 25px;
}
.reason-grid button {
  justify-content: flex-start;
  text-align: left;
  font-size: 13px;
  min-height: 66px;
  padding: 12px;
}
.reason-grid .icon {
  width: 20px;
}
.reported {
  padding: 45px 24px;
  text-align: center;
  background: #eaece3;
  border-radius: 8px;
  color: var(--muted);
}
.reported p {
  max-width: 380px;
  margin: 14px auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin: 20px 0 32px;
}
.tabs a {
  font-size: 14px;
  text-decoration: none;
  font-weight: 600;
}
.private-post {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.private-post p {
  font-size: 14px;
}
.private-post small {
  color: var(--muted);
}
.private-post .stack {
  min-width: 60px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.status {
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 4px;
  background: #e8e9e2;
  line-height: 1.4;
  white-space: nowrap;
}
.status.published,
.status.active {
  color: #2f5b36;
  background: #e0eadb;
}
.status.pending,
.status.processing,
.status.suspended {
  color: #785c13;
  background: #f5eccc;
}
.status.review,
.status.removed,
.status.rejected,
.status.banned {
  color: #913727;
  background: #f5dfd5;
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  margin: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 32px;
  line-height: 1.5;
}
details p {
  font-size: 14px;
}
.session-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin: 12px 0;
}
.account-id {
  font-size: 12px;
  font-family: monospace;
}
.notice {
  background: #eeeddd;
  padding: 14px 16px;
  border-left: 3px solid #969c66;
  font-size: 14px;
  line-height: 1.6;
}
.prose {
  max-width: 630px;
}
.prose p {
  font-size: 15px;
}
.prose h2 {
  margin-top: 40px;
}
.prose form {
  margin: 26px 0;
}
footer {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  margin: 40px 20px 28px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  display: block;
  padding: 15px;
}
.admin {
  background: #f8f8f3;
}
.admin-top {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
}
.admin-top .wordmark {
  margin-right: auto;
}
.admin-top small {
  font-size: 13px;
  letter-spacing: 0;
  margin-left: 10px;
  font-weight: 400;
}
.admin-top > span {
  font-size: 12px;
}
.admin-nav {
  position: fixed;
  top: 94px;
  left: 18px;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav a {
  padding: 12px 15px;
  text-decoration: none;
  font-size: 13px;
  border-radius: 7px;
}
.admin-nav a:hover,
.admin-nav a.current {
  background: #e6eadf;
  color: var(--green);
}
.admin-main {
  margin: 36px 36px 80px 230px;
  max-width: 1500px;
}
.admin h1 {
  font-size: 32px;
  letter-spacing: -1px;
}
.admin h2 {
  font-size: 20px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 24px 0 34px;
}
.metrics a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  padding: 28px;
  border-right: 1px solid var(--line);
}
.metrics a:last-child {
  border: 0;
}
.metrics strong {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -2px;
}
.metrics span {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.admin-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.data-line {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  font-size: 13px;
  align-items: center;
}
.data-line small {
  display: block;
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 10px;
  margin: 25px 0;
}
.filters select {
  max-width: 190px;
}
.filters input {
  min-width: 100px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}
th {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 10px;
  border-bottom: 2px solid var(--line);
}
td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
td small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
td a {
  text-decoration: none;
}
td a:hover {
  text-decoration: underline;
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.review-layout {
  display: grid;
  grid-template-columns: minmax(300px, 1.4fr) minmax(300px, 1fr);
  gap: 32px;
}
.review-media {
  background: #e9ece3;
  align-self: start;
}
.concealed {
  min-height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.concealed img {
  display: none;
  max-width: 100%;
  height: auto;
}
.concealed.revealed {
  min-height: 0;
}
.concealed.revealed img {
  display: block;
}
.concealed.revealed button {
  display: none;
}
.review-controls {
  padding: 0 0 20px;
}
.review-controls p {
  font-size: 13px;
}
.review-controls label {
  font-size: 13px;
}
.decision-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.decision-actions .primary {
  grid-column: 1/-1;
}
.decision-actions button {
  font-size: 12px;
}
.audit-event {
  border-left: 2px solid var(--line);
  padding: 10px 18px;
  margin: 18px 0;
}
.audit-event p {
  font-size: 14px;
  margin: 8px 0;
}
.audit-event small {
  color: var(--muted);
}
.settings-list > div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
}
.settings-list dd {
  font-weight: 700;
}
.case-row {
  padding: 20px;
  background: #eef0e8;
  border-radius: 8px;
}
.case-row form {
  max-width: 650px;
}
.admin pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
  max-width: 500px;
}
.user-heading {
  font-size: 23px !important;
}
.back-link {
  font-size: 12px;
}
.admin .focused {
  max-width: 420px;
  margin: 100px auto;
}
.admin:has(.focused) .admin-main {
  margin: 0 auto;
}
.admin .focused h1 {
  font-size: 31px;
}
@media (min-width: 1300px) {
  .main {
    max-width: 680px;
  }
  .feed-top {
    padding-top: 8px;
  }
}
@media (max-width: 1000px) {
  .dock {
    left: 14px;
  }
  .main {
    margin-left: max(110px, calc((100% - 680px) / 2));
    margin-right: 28px;
  }
  .admin-nav {
    position: static;
    width: auto;
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    margin: 10px 18px;
  }
  .admin-nav a {
    white-space: nowrap;
  }
  .admin-main {
    margin: 20px 24px 70px;
  }
  .review-layout {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 76px;
    padding: 0 21px;
  }
  .brand-face {
    font-size: 30px;
  }
  .brand-name {
    font-size: 8px;
    letter-spacing: 1.2px;
    margin-left: 14px;
  }
  .main {
    margin: 14px 20px 60px;
    max-width: none;
  }
  .dock {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    flex-direction: row;
    justify-content: space-around;
    gap: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  .dock a {
    min-height: 51px;
    width: 56px;
    border-radius: 10px;
    font-size: 9px;
    gap: 5px;
  }
  .dock a .icon {
    width: 23px;
    height: 23px;
  }
  .dock .compose {
    width: 46px;
    height: 46px;
    margin: 0;
    min-height: 46px;
  }
  .dock-separator {
    display: none;
  }
  .feed-top {
    padding: 6px 0 18px;
  }
  .edition {
    display: none;
  }
  .meme {
    padding: 23px 0 16px;
  }
  .meme-image {
    margin: 0 -20px;
    border-radius: 0;
  }
  .meme-title {
    font-size: 21px;
    margin-bottom: 14px;
    letter-spacing: -0.4px;
  }
  .meme-actions {
    margin: 9px -3px 0;
  }
  .empty-feed {
    padding: 28px 0 32px;
  }
  .empty-art {
    width: 210px;
    margin-bottom: 20px;
  }
  .empty-feed h1 {
    font-size: 47px;
    letter-spacing: -2.5px;
  }
  .empty-feed p {
    font-size: 14px;
  }
  .focused {
    margin: 50px auto 65px;
    padding: 0 4px;
  }
  .focused h1 {
    font-size: 45px;
  }
  .submission {
    padding-top: 18px;
  }
  .submission h1 {
    font-size: 45px;
  }
  .dropzone {
    min-height: 225px;
  }
  .submission > small {
    font-size: 11px;
  }
  .submit-end {
    align-items: center;
  }
  .submit-end p {
    font-size: 12px;
  }
  .submit-end button {
    padding: 13px 17px;
  }
  .sheet {
    margin: auto auto 14px;
    width: calc(100% - 20px);
    padding: 32px 22px 27px;
    border-radius: 20px;
  }
  .reason-grid {
    gap: 8px;
  }
  .page-heading {
    gap: 10px;
  }
  .page-heading h1 {
    font-size: 30px;
  }
  .page-heading .subtle {
    font-size: 12px;
  }
  .tabs {
    gap: 25px;
  }
  .private-post {
    gap: 15px;
  }
  .private-post h3 {
    font-size: 16px;
  }
  .prose h1 {
    font-size: 42px;
  }
  footer {
    font-size: 10px;
    margin-bottom: 110px;
    gap: 8px;
  }
  .admin-top {
    padding: 0 18px;
    gap: 10px;
  }
  .admin-main {
    margin: 16px 18px 55px;
  }
  .admin h1 {
    font-size: 26px;
  }
  .admin-columns,
  .review-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
  }
  .metrics a {
    padding: 22px;
  }
  .metrics a:nth-child(2) {
    border-right: 0;
  }
  .metrics a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metrics strong {
    font-size: 38px;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters input {
    flex: 1;
  }
  .filters select {
    max-width: none;
    flex: 1;
  }
  .admin .page-heading {
    align-items: flex-start;
  }
  .admin .page-heading .primary {
    font-size: 12px;
    padding: 10px;
  }
  .admin .focused {
    margin: 65px 22px;
  }
  .data-line {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .user-heading {
    font-size: 18px !important;
  }
  .private-post .local-feedback {
    width: 100%;
  }
  .private-post {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition:
      background 0.13s,
      color 0.13s;
  }
  .chosen .icon {
    animation: nod 0.18s ease-out;
  }
  @keyframes nod {
    50% {
      transform: translateY(-3px) rotate(-8deg);
    }
  }
}

[hidden] {
  display: none !important;
}

.environment-label { background:#252a23; color:#fff; text-align:center; font-size:.75rem; padding:.3rem; }


/* Original Bober artwork has an opaque black background. */
.brand-mascot {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
  margin-right: 12px;
}
.empty-art .empty-mascot {
  display: block;
  width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 24px;
  background: #000;
}
@media (max-width: 760px) {
  .brand-mascot { width: 42px; height: 42px; margin-right: 9px; border-radius: 11px; }
  .empty-art .empty-mascot { width: 150px; }
}
