@font-face {
  font-family: Roboto; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/roboto-normal.woff2") format("woff2");
}
@font-face {
  font-family: Roboto; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("/roboto-italic.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --ink: #f5f5f5;
  --muted: #adadad;
  --surface: #101010;
  --control: #242424;
  --ease: cubic-bezier(.2,.72,.25,1);
  --type: Roboto, "Segoe UI", Arial, sans-serif;
  font: 100%/1.55 var(--type);
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  accent-color: white;
}
* { box-sizing: border-box; }
body { margin: 0; background: #000; color: var(--ink); }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button,select,input,textarea { border: 0; font: inherit; color: inherit; background: transparent; }
button,select { cursor: pointer; }
button { touch-action: manipulation; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 2px solid #aaa; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: min(1056px, calc(100% - 80px)); margin-inline: auto; }
.bar,nav,.wall-head,footer .wrap { display: flex; align-items: center; justify-content: space-between; }
.masthead { position: sticky; top: 0; z-index: 3; padding: 12px 0; pointer-events: none; }
.bar {
  pointer-events: auto; width: min(770px, calc(100% - 40px)); margin: auto;
  min-height: 58px; padding: 6px 7px 6px 24px; gap: 15px; border-radius: 35px;
  background: rgb(23 23 23 / 92%); backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgb(0 0 0 / 28%); animation: arrive .4s var(--ease) both;
}
.brand { font: 720 2.1rem/1 var(--type); letter-spacing: -.075em; }
.bar .brand { display: inline-flex; align-items: baseline; padding-right: .12em; }
.brand em { display: inline-block; font-weight: 350; transition: transform .32s var(--ease); }
.brand:is(:hover,:focus-visible) em { transform: translateX(.045em); }
nav { gap: 2px; }
nav a,footer a:not(.brand),.nav-button,.expand { font-size: .94rem; }
nav a,footer a:not(.brand),.expand { color: var(--muted); transition: color .18s; }
nav a:hover,footer a:hover,.expand:hover { color: white; }
.nav-button,.primary,.outline {
  background: var(--control); border-radius: 100px; font-weight: 550;
  transition: background .18s, transform .18s var(--ease);
}
.bar nav > * {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 7px 15px; border-radius: 24px; color: #ccc; white-space: nowrap;
  font-weight: 500; background: transparent; transition: background .2s, color .2s, transform .2s;
}
.bar nav > :is(:hover,:focus-visible) { background: #272727; color: white; }
.bar nav .write { background: #353535; color: white; gap: 7px; padding-inline: 18px; }
.bar nav .write:hover { background: #444; }
.write-plus { font-size: 1.2em; line-height: 1; transition: transform .3s var(--ease); }
.write:is(:hover,:focus-visible) .write-plus { transform: rotate(90deg); }
.primary { background: #333; padding: 12px 24px; }
.outline { padding: 10px 20px; }
.primary:hover { background: #424242; }
.outline:hover,.nav-button:hover { background: #303030; }
.primary:active,.outline:active,.nav-button:active { transform: scale(.98); }

.hero {
  display: grid; align-content: center; justify-items: center;
  gap: 13px; text-align: center;
  padding-block: clamp(54px, 10svh, 110px) clamp(64px, 12svh, 130px);
}
.hero h1 {
  font: 480 clamp(2.6rem, 5.4vw, 4.5rem)/1.1 var(--type);
  letter-spacing: -.035em;
  animation: arrive .45s var(--ease) both;
}
.hero-copy { animation: arrive .45s .06s var(--ease) both; }
.hero-copy p { font-size: clamp(1rem,1.3vw,1.15rem); color: #c2c2c2; margin-bottom: 23px; }
.hero .primary {
  padding: 14px 26px; background: #242424; color: white;
  transition: transform .26s var(--ease), background .26s;
}
@media (hover: hover) {
  .hero .primary:hover { background: #343434; transform: translateY(-2px); }
}
.hero .primary:active { transform: translateY(0) scale(.98); }

#wall { scroll-margin-top: 90px; padding: 2px 0 44px; min-height: 225px; }
.wall-head { gap: 12px; margin-bottom: 21px; }
h2 { font-size: clamp(1.7rem,3vw,2.15rem); line-height: 1.14; letter-spacing: -.055em; font-weight: 550; }
.wall-head p,.notice { color: var(--muted); }
.wall-head p { font-size: .9rem; margin-top: 4px; }
.sort { position: relative; flex-shrink: 0; }
.sort::after {
  content: ""; position: absolute; right: 6px; top: 39%; width: 6px; height: 6px;
  border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); pointer-events: none;
}
select { appearance: none; padding: 10px 24px 10px 10px; font-size: .91rem; }
option { background: #141414; color: white; }
#feed { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0;
  padding: clamp(23px,3vw,34px); border-radius: 20px; background: var(--surface);
  overflow-wrap: anywhere; animation: arrive .4s var(--ease) both;
  cursor: pointer; transition: background .18s;
}
@media (hover:hover) { .card:hover { background: #161616; } }
.open-post { margin-top: 10px; padding: 3px 0; color: #dedede; font-size: .9rem; }
.open-post:hover { text-decoration: underline; text-underline-offset: 3px; }
.card:nth-child(even) { animation-delay: .035s; }
.card h3 {
  font: 540 clamp(1.42rem,2vw,1.75rem)/1.18 var(--type);
  letter-spacing: -.035em; margin-bottom: 12px;
}
.card p { width: 100%; white-space: pre-wrap; line-height: 1.68; color: #c6c6c6; overflow: hidden; }
.post-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 4px 12px; width: 100%; margin-top: auto; padding-top: 22px; color: #a3a3a3; font-size: .8125rem;
}
.confession-id { font-variant-numeric: tabular-nums; }
.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.expand { padding: 7px 0 0; }
#more { display: block; margin: 28px auto 0; }
footer .wrap { min-height: 83px; }
footer .brand { font-size: 1.4rem; }

dialog {
  width: min(484px,calc(100% - 26px)); max-height: calc(100dvh - 30px);
  padding: clamp(24px,4vw,36px); border: 0; border-radius: 22px; background: #151515; color: var(--ink);
}
dialog[open] { animation: dialog-enter .24s var(--ease) both; }
dialog::backdrop { background: rgb(0 0 0 / 77%); backdrop-filter: blur(5px); animation: veil .2s ease both; }
dialog.closing { animation: dialog-exit .15s ease-in both; }
dialog.closing::backdrop { animation: veil .15s ease reverse both; }
dialog h2 { font-size: 2rem; padding-right: 24px; }
dialog p { margin: 14px 0 21px; color: var(--muted); }
.close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; font-size: 1.6rem; line-height: 1; border-radius: 50%; transition: background .18s; }
.close:hover { background: #303030; }
.close:focus-visible { border-radius: 50%; }
#discussion-title:focus { outline: none; }
form label { display: block; margin: 16px 0 6px; font-size: .94rem; }
input,textarea { width: 100%; background: #242424; border-radius: 10px; padding: 12px 14px; }
input::placeholder,textarea::placeholder { color: #a5a5a5; }
textarea { resize: vertical; min-height: 95px; }
#length { text-align: right; font-size: .82rem; color: var(--muted); }
#error { color: white; margin: 8px 0; }
#success { animation: arrive .25s var(--ease) both; }
#receipt { font-size: .9rem; font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body:has(dialog[open]) { overflow: hidden; }
#discussion { width: min(720px,calc(100% - 24px)); overscroll-behavior: contain; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .82rem; padding-right: 28px; }
#discussion-title { margin: 17px 0 10px; font: 540 clamp(1.65rem,3vw,2.1rem)/1.16 var(--type); overflow-wrap: anywhere; }
#discussion-body,.comment-body { white-space: pre-wrap; overflow-wrap: anywhere; color: #ddd; }
#discussion-body { line-height: 1.7; }
.discussion-comments { margin-top: 42px; }
.discussion-comments h3 { margin: 0 0 18px; font-size: 1.2rem; font-weight: 550; }
#comment-text { display: block; min-height: 100px; padding: 17px 19px; border-radius: 16px; line-height: 1.6; }
.comment-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; }
.comment-actions small { color: var(--muted); line-height: 1.4; }
.comment-actions .primary { flex-shrink: 0; padding: 9px 15px; }
#comment-status,#comments-note { color: var(--muted); font-size: .91rem; margin: 16px 0; }
#comment-status:empty,#comments-note:empty { display: none; }
#comment-list:not(:empty) { display: grid; gap: 12px; margin-top: 28px; }
.comment-entry { padding: 22px 24px; border-radius: 18px; background: #242424; }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.comment-source { padding: 4px 10px; border-radius: 100px; background: #383838; color: #eee; font-size: .75rem; font-weight: 550; }
.comment-entry p { margin: 0; color: #f0f0f0; line-height: 1.7; }
.comment-entry time { color: #bcbcbc; font-size: .8rem; white-space: nowrap; }
#older-comments { margin-top: 8px; }
.rules.wrap { max-width: 43rem; padding-block: clamp(3rem,9vh,7rem) 6rem; }
.rules h1 { font: 540 clamp(2.3rem,6vw,4.5rem)/1.06 var(--type); letter-spacing: -.05em; }
.rules section { margin-top: 2.5rem; }
.rules h2 { font: 540 1.4rem/1.25 var(--type); letter-spacing: -.025em; }
.rules p { margin-top: .75rem; color: #c8c8c8; line-height: 1.7; }
.rules .primary { display: inline-block; margin-top: 3rem; }
.bar nav [aria-current="page"] { color: white; background: #242424; }
#intro a { text-decoration: underline; text-underline-offset: .15em; }
#fresh { margin-bottom: 1rem; }
@media (max-width: 400px) { .join-prefix { display: none; } }
@media (max-width: 480px) {
  .comment-entry { padding: 19px 20px; }
  .comment-actions { align-items: flex-start; flex-direction: column; }
  .comment-actions .primary { align-self: flex-end; }
}

@keyframes arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes dialog-enter { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes dialog-exit { to { opacity: 0; transform: translateY(4px) scale(.99); } }
@keyframes veil { from { opacity: 0; } to { opacity: 1; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card {
      animation: card-arrive linear both; animation-timeline: view();
      animation-range: entry 0% entry 22%;
    }
  }
}
@keyframes card-arrive { from { opacity: .45; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { padding: 8px 0; }
  .bar { width: calc(100% - 16px); min-height: 52px; padding: 4px 5px 4px 14px; gap: 4px; }
  .bar .brand { font-size: 1.7rem; }
  .bar nav > *, .bar nav .write { padding-inline: clamp(7px,2vw,13px); }
  .hero-copy p { margin: 0 0 18px; }
  #feed { grid-template-columns: 1fr; gap: 12px; }
  .wall-head { margin-bottom: 17px; }
  .card { padding: 23px; border-radius: 16px; }
}
@media (max-width: 360px) {
  .bar { flex-wrap: wrap; padding-inline: 10px 4px; gap: 2px; }
  .bar .brand { font-size: 1.45rem; }
  .bar nav > *, .bar nav .write { padding-inline: 4px; font-size: .875rem; }
  .write-plus { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *,*::before,*::after,dialog::backdrop { animation: none !important; transition: none !important; }
}
