:root {
  color-scheme: dark;
  --ink: #f6f3ec;
  --muted: #b8b6ae;
  --dim: #777a75;
  --wall: #0a0c0c;
  --panel: #121514;
  --panel-2: #181b19;
  --line: rgba(246, 243, 236, 0.14);
  --lime: #d8ff28;
  --coral: #ff5a52;
  --steel: #9bb5c0;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.42);
  --content: min(1280px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.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;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--content);
  margin: 0 auto;
  padding: 22px 0;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(216, 255, 40, 0.36);
  border-radius: 8px;
  background: #050706;
  color: var(--lime);
  font-weight: 900;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 21px;
  max-width: 118px;
  object-fit: contain;
}

.brand-bubble svg {
  display: block;
  width: 22px;
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(246, 243, 236, 0.72);
  font-size: 0.91rem;
}

.nav-links a,
.header-link {
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.header-link:hover {
  color: var(--ink);
}

.header-link {
  border: 1px solid rgba(246, 243, 236, 0.28);
  padding: 10px 14px;
  color: rgba(246, 243, 236, 0.84);
  font-size: 0.9rem;
}

.header-tools {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.header-home-link,
.header-feed-link,
.header-url-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(246, 243, 236, 0.18);
  padding: 9px 13px;
  cursor: pointer;
}

.header-home-link,
.header-feed-link {
  color: rgba(246, 243, 236, 0.9);
  background: rgba(246, 243, 236, 0.055);
  font-weight: 760;
}

.header-home-link {
  border-color: rgba(216, 255, 40, 0.28);
  color: var(--lime);
}

.header-url-form {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 390px) auto;
  min-width: min(620px, 100%);
  border: 1px solid rgba(216, 255, 40, 0.22);
  background: #050706;
  box-shadow: inset 4px 0 0 rgba(216, 255, 40, 0.86), 0 14px 34px rgba(0, 0, 0, 0.3);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.header-url-form:focus-within {
  border-color: rgba(216, 255, 40, 0.72);
  box-shadow: inset 4px 0 0 var(--lime), 0 0 0 2px rgba(216, 255, 40, 0.11), 0 16px 38px rgba(0, 0, 0, 0.34);
}

.header-url-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 11px 14px 11px 18px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
}

.header-url-form input::placeholder {
  color: rgba(246, 243, 236, 0.46);
}

.header-url-form button {
  border: 0;
  background: var(--lime);
  color: var(--wall);
  padding-inline: 18px;
  font-weight: 850;
  text-transform: none;
  transition: background 160ms ease;
}

.header-url-form button:hover {
  background: #efff73;
}

.chat-bubble-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.98em;
  height: 0.98em;
  vertical-align: -0.08em;
}

.chat-bubble-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-bubble path:first-child,
.chat-bubble-icon path:first-child {
  fill: rgba(216, 255, 40, 0.18);
  stroke: var(--lime);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-bubble path:last-child,
.chat-bubble-icon path:last-child {
  fill: none;
  stroke: var(--lime);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-chat-icon {
  margin: 0 0.04em;
  color: var(--lime);
}

.has-target .site-header,
.is-feed-view .site-header {
  position: fixed;
  padding: 10px 0;
  background: rgba(10, 12, 12, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.has-target .nav-links,
.has-target .header-link,
.is-feed-view .nav-links,
.is-feed-view .header-link {
  display: none;
}

.has-target .header-tools,
.is-feed-view .header-tools {
  display: flex;
}

.has-target .landing-only {
  display: none;
}

.has-target {
  --content: min(1760px, calc(100vw - 48px));
}

.is-feed-page {
  --content: min(1480px, calc(100vw - 48px));
}

.is-feed-page .hero,
.is-feed-page .intro,
.is-feed-page .target-panel,
.is-feed-page .how,
.is-feed-page .principles,
.is-feed-page .roadmap,
.is-feed-page .final-cta {
  display: none;
}

.room-app {
  width: var(--content);
  margin: 0 auto;
  padding: 112px 0 56px;
}

.room-app[hidden] {
  display: none;
}

.room-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.room-top h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  max-width: min(900px, 100%);
  overflow: hidden;
  font-size: 2.15rem;
  line-height: 1.02;
  font-weight: 940;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.room-host {
  margin: -8px 0 10px;
  color: rgba(246, 243, 236, 0.58);
  font-size: 0.94rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.room-url {
  max-width: 780px;
  margin: 18px 0 0;
  color: rgba(246, 243, 236, 0.66);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.room-description {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(246, 243, 236, 0.72);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.room-description[hidden] {
  display: none;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.tag-row[hidden] {
  display: none;
}

.tag-row span,
.tag-row button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(216, 255, 40, 0.24);
  background: rgba(216, 255, 40, 0.09);
  color: rgba(216, 255, 40, 0.92);
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 760;
}

.tag-row button {
  font: inherit;
  cursor: pointer;
}

.tag-row button:hover,
.tag-row button.is-active {
  border-color: rgba(216, 255, 40, 0.64);
  background: rgba(216, 255, 40, 0.18);
  color: var(--lime);
}

.room-actions,
.tool-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.room-actions a,
.room-actions button,
.tool-button,
.comment-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(246, 243, 236, 0.18);
  background: rgba(246, 243, 236, 0.06);
  color: rgba(246, 243, 236, 0.9);
  padding: 10px 13px;
  cursor: pointer;
}

.room-actions a:first-child,
.comment-form button {
  border-color: transparent;
  background: var(--lime);
  color: var(--wall);
  font-weight: 850;
}

.room-report-button {
  font-weight: 850;
}

.room-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: 20px;
  padding-top: 22px;
}

.page-board,
.room-comments {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
}

.page-board {
  display: flex;
  flex-direction: column;
}

.board-head,
.comments-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.board-head {
  align-items: flex-end;
}

.comments-head {
  align-items: flex-start;
}

.board-head h2,
.comments-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
}

.tool-button.is-active {
  background: rgba(216, 255, 40, 0.16);
  border-color: rgba(216, 255, 40, 0.54);
  color: var(--lime);
}

.color-control,
.size-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(246, 243, 236, 0.14);
  background: rgba(246, 243, 236, 0.045);
  color: rgba(246, 243, 236, 0.72);
  font-size: 0.84rem;
}

.color-control {
  padding-right: 6px;
}

.color-control input {
  width: 42px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.color-control input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-control input::-webkit-color-swatch {
  border: 2px solid rgba(246, 243, 236, 0.92);
}

.color-control input::-moz-color-swatch {
  border: 2px solid rgba(246, 243, 236, 0.92);
}

.color-control:focus-within,
.size-control:focus-within {
  border-color: rgba(216, 255, 40, 0.56);
}

.size-control input {
  width: 88px;
  accent-color: var(--lime);
}

.page-stage {
  flex: 1 1 0;
  position: relative;
  min-height: clamp(520px, 70svh, 860px);
  overflow: auto;
  background: #050706;
  scrollbar-color: rgba(216, 255, 40, 0.64) rgba(246, 243, 236, 0.08);
}

.snapshot-scroll {
  position: relative;
  width: 100%;
  min-height: 100%;
}

.page-stage img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #fff;
  border: 0;
}

.page-stage.is-snapshot-loading .snapshot-scroll {
  min-height: inherit;
}

#draw-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: crosshair;
  pointer-events: none;
  touch-action: none;
  transition: opacity 160ms ease;
}

.page-stage.is-drawing-visible #draw-canvas {
  opacity: 1;
}

.page-stage.is-drawing-visible.is-draft-drawing #draw-canvas {
  pointer-events: auto;
}

.page-stage.is-drawing-visible.is-comment-drawing #draw-canvas {
  pointer-events: none;
}

.frame-status {
  display: none;
}

.page-stage.is-snapshot-loading .frame-status,
.page-stage.is-snapshot-error .frame-status {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.page-stage.is-snapshot-loading .frame-status {
  inset: 0;
  flex-direction: column;
  padding: 28px;
  text-align: center;
  background:
    linear-gradient(rgba(7, 9, 9, 0.82), rgba(7, 9, 9, 0.72)),
    repeating-linear-gradient(90deg, rgba(216, 255, 40, 0.06) 0 1px, transparent 1px 42px);
}

.page-stage.is-snapshot-loading .frame-status::before {
  content: "";
  width: 44px;
  height: 44px;
  border: 4px solid rgba(246, 243, 236, 0.2);
  border-top-color: var(--lime);
  border-radius: 999px;
  animation: taggr-preview-spin 880ms linear infinite;
}

.page-stage.is-snapshot-error .frame-status {
  left: 16px;
  right: 16px;
  bottom: 16px;
  justify-content: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(255, 90, 82, 0.6);
  background: rgba(21, 12, 10, 0.94);
  color: #ffaaa5;
}

@keyframes taggr-preview-spin {
  to {
    transform: rotate(360deg);
  }
}

.adult-room-gate {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  background: rgba(7, 9, 9, 0.82);
  color: var(--ink);
}

.adult-room-gate strong {
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  line-height: 1;
}

.adult-room-gate span {
  color: rgba(246, 243, 236, 0.7);
}

.adult-room-gate button {
  justify-self: center;
  min-height: 42px;
  border: 0;
  background: var(--lime);
  color: var(--wall);
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.comments-head span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  background: rgba(216, 255, 40, 0.14);
  color: var(--lime);
  font-weight: 850;
}

.comment-form {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.comment-form.is-inline-reply {
  margin-top: 8px;
  border: 1px solid rgba(216, 255, 40, 0.28);
  border-left: 3px solid var(--lime);
  background: rgba(216, 255, 40, 0.045);
}

.comment-form > * {
  min-width: 0;
  max-width: 100%;
}

.reply-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  border-left: 3px solid var(--lime);
  background: rgba(216, 255, 40, 0.08);
  color: rgba(246, 243, 236, 0.78);
  padding: 9px 10px;
  font-size: 0.82rem;
  line-height: 1.35;
}

.reply-context[hidden] {
  display: none;
}

.reply-context span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reply-context button {
  flex: 0 0 auto;
  min-height: 28px;
  border: 1px solid rgba(246, 243, 236, 0.18);
  background: rgba(8, 10, 10, 0.72);
  color: rgba(246, 243, 236, 0.82);
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.reply-context button:hover {
  border-color: rgba(216, 255, 40, 0.52);
  color: var(--lime);
}

.comment-form textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  resize: vertical;
  min-height: 126px;
  border: 1px solid rgba(246, 243, 236, 0.16);
  background: rgba(246, 243, 236, 0.055);
  color: var(--ink);
  padding: 13px;
  outline: 0;
}

.comment-form textarea:focus {
  border-color: rgba(216, 255, 40, 0.56);
}

.comment-notice {
  margin: 0;
  border-left: 3px solid var(--lime);
  background: rgba(216, 255, 40, 0.08);
  color: rgba(246, 243, 236, 0.78);
  padding: 9px 10px;
  font-size: 0.82rem;
}

.comment-notice[hidden] {
  display: none;
}

.comment-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.comment-tool-button {
  min-height: 36px;
  border: 1px solid rgba(216, 255, 40, 0.34);
  background: rgba(216, 255, 40, 0.1);
  color: var(--lime);
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.comment-tool-button:hover,
.comment-tool-button.is-active {
  background: var(--lime);
  color: var(--wall);
}

.selected-gif {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(246, 243, 236, 0.12);
  background: rgba(246, 243, 236, 0.055);
  padding: 6px;
}

.selected-gif[hidden] {
  display: none;
}

.selected-gif img {
  width: 54px;
  height: 38px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.35);
}

.selected-gif span {
  overflow: hidden;
  color: rgba(246, 243, 236, 0.72);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-gif button {
  min-height: 28px;
  border: 1px solid rgba(246, 243, 236, 0.14);
  background: rgba(8, 10, 10, 0.64);
  color: rgba(246, 243, 236, 0.74);
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.giphy-attribution {
  display: block;
  width: 122px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.selected-gif .giphy-attribution {
  grid-column: 1 / -1;
  width: 112px;
  opacity: 0.9;
}

.gif-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(216, 255, 40, 0.22);
  background: rgba(7, 9, 9, 0.74);
  padding: 12px;
}

.gif-panel[hidden] {
  display: none;
}

.gif-search,
.gif-url-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.gif-search input,
.gif-url-form input {
  min-width: 0;
  border: 1px solid rgba(246, 243, 236, 0.14);
  background: rgba(246, 243, 236, 0.055);
  color: var(--ink);
  padding: 9px 10px;
  outline: 0;
}

.gif-search input:focus,
.gif-url-form input:focus {
  border-color: rgba(216, 255, 40, 0.52);
}

.gif-search button,
.gif-url-form button {
  border: 1px solid rgba(216, 255, 40, 0.36);
  background: rgba(216, 255, 40, 0.12);
  color: var(--lime);
  padding: 8px 10px;
  font-weight: 850;
  cursor: pointer;
}

.gif-search button:hover,
.gif-url-form button:hover {
  background: var(--lime);
  color: var(--wall);
}

.gif-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-height: 300px;
  overflow: auto;
  padding: 4px;
  background: rgba(0, 0, 0, 0.18);
  scrollbar-gutter: stable;
}

.gif-results .gif-result {
  aspect-ratio: 1.35;
  border: 1px solid rgba(216, 255, 40, 0.22);
  background: rgba(5, 7, 6, 0.72);
  padding: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: none;
}

.gif-results .gif-result:hover {
  border-color: rgba(216, 255, 40, 0.66);
  background: rgba(216, 255, 40, 0.08);
}

.gif-results .gif-result img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gif-message {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(246, 243, 236, 0.54);
  font-size: 0.82rem;
}

.gif-results > .giphy-attribution {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 2px;
}

.room-comment-list {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.comment-node {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.comment-node.is-replying > .room-post {
  border-color: rgba(216, 255, 40, 0.42);
}

.comment-children {
  display: grid;
  gap: 8px;
  margin-left: clamp(14px, calc(12px + var(--thread-depth) * 2px), 26px);
  padding-left: 12px;
  border-left: 2px solid rgba(246, 243, 236, 0.14);
}

.room-post {
  border: 1px solid rgba(246, 243, 236, 0.12);
  background: rgba(246, 243, 236, 0.055);
  padding: 14px;
  transition: border-color 160ms ease, background 160ms ease;
}

.room-post.has-drawing {
  cursor: pointer;
  border-color: rgba(216, 255, 40, 0.28);
}

.room-post.has-drawing:hover,
.room-post.is-selected {
  border-color: rgba(216, 255, 40, 0.72);
  background: rgba(216, 255, 40, 0.085);
}

.room-post.is-text-expanded {
  border-color: rgba(216, 255, 40, 0.34);
}

.room-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.room-post p {
  margin: 0;
  color: rgba(246, 243, 236, 0.9);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comment-gif {
  margin: 12px 0 0;
  border: 1px solid rgba(246, 243, 236, 0.12);
  background: rgba(8, 10, 10, 0.5);
  overflow: hidden;
}

.comment-gif img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.comment-gif figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px;
  border-top: 1px solid rgba(246, 243, 236, 0.1);
  font-size: 0.72rem;
  color: rgba(246, 243, 236, 0.48);
}

.comment-gif a {
  color: rgba(246, 243, 236, 0.62);
  text-decoration: none;
}

.comment-gif a:hover {
  color: var(--lime);
}

.comment-gif .giphy-attribution {
  width: 104px;
  flex: 0 0 auto;
}

.room-post time {
  display: block;
  color: rgba(246, 243, 236, 0.44);
  font-size: 0.8rem;
}

.comment-action {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(246, 243, 236, 0.14);
  background: rgba(8, 10, 10, 0.54);
  color: rgba(246, 243, 236, 0.68);
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 820;
  cursor: pointer;
}

.comment-action:hover {
  border-color: rgba(216, 255, 40, 0.42);
  color: var(--lime);
}

.report-action:hover {
  border-color: rgba(255, 90, 82, 0.5);
  color: #ff9b96;
}

.collapse-action {
  color: rgba(216, 255, 40, 0.78);
}

.expand-comment-action {
  color: rgba(216, 255, 40, 0.9);
}

.expand-comment-action:hover {
  border-color: rgba(216, 255, 40, 0.48);
  color: var(--lime);
}

.drawing-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(216, 255, 40, 0.38);
  background: rgba(216, 255, 40, 0.13);
  color: var(--lime);
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.drawing-badge:hover,
.room-post.is-selected .drawing-badge {
  background: var(--lime);
  color: var(--wall);
}

.empty-state {
  margin: 0;
  padding: 0 16px 18px;
  color: rgba(246, 243, 236, 0.46);
}

.hero {
  position: relative;
  min-height: 76svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  padding: 84px 0 24px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("/assets/taggr-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.018);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.96) 0%, rgba(7, 9, 9, 0.82) 32%, rgba(7, 9, 9, 0.24) 72%, rgba(7, 9, 9, 0.5) 100%),
    linear-gradient(0deg, rgba(10, 12, 12, 0.95) 0%, rgba(10, 12, 12, 0.08) 38%, rgba(10, 12, 12, 0.3) 100%);
}

.hero-inner {
  width: var(--content);
  margin: 0 auto;
  max-width: 1180px;
}

.eyebrow,
.section-kicker,
.tiny-label {
  margin: 0 0 16px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(4.6rem, 12vw, 9.4rem);
  line-height: 0.78;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-line {
  margin: 22px 0 0;
  max-width: 960px;
  font-size: clamp(2.05rem, 5vw, 4.25rem);
  line-height: 0.94;
  font-weight: 860;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin: 22px 0 32px;
  color: rgba(246, 243, 236, 0.78);
  font-size: clamp(1.05rem, 2.2vw, 1.34rem);
}

.url-form {
  display: grid;
  grid-template-columns: minmax(0, 455px) auto;
  width: min(720px, 100%);
  padding: 7px;
  border: 1px solid rgba(246, 243, 236, 0.2);
  background: rgba(7, 9, 9, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.url-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 16px 18px;
}

.url-form input::placeholder {
  color: rgba(246, 243, 236, 0.46);
}

.url-form button,
.primary-action {
  border: 0;
  background: var(--lime);
  color: #0a0c0c;
  padding: 14px 20px;
  font-weight: 860;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.url-form button:hover,
.primary-action:hover {
  transform: translateY(-1px);
  background: #efff73;
}

.form-help {
  margin: 12px 0 0;
  color: rgba(246, 243, 236, 0.56);
  font-size: 0.92rem;
}

.room-feed {
  width: var(--content);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 78px) 0 clamp(70px, 9vw, 112px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 84px;
}

.is-feed-page .room-feed {
  padding-top: 118px;
  border-top: 0;
}

.feed-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
}

.feed-head h2 {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.18em;
  max-width: 820px;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
}

.feed-chat-icon {
  width: 0.72em;
  height: 0.72em;
}

.feed-stat {
  min-width: 132px;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.feed-stat strong,
.feed-stat span {
  display: block;
}

.feed-stat strong {
  color: var(--lime);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.9;
}

.feed-stat span {
  margin-top: 8px;
  color: rgba(246, 243, 236, 0.54);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.feed-search {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto auto;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px;
  border: 1px solid rgba(216, 255, 40, 0.24);
  background: #050706;
  box-shadow: inset 4px 0 0 rgba(216, 255, 40, 0.86);
}

.feed-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: rgba(216, 255, 40, 0.76);
  pointer-events: none;
}

.feed-search-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.feed-search-icon path,
.feed-search-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feed-search:focus-within {
  border-color: rgba(216, 255, 40, 0.72);
  box-shadow: inset 4px 0 0 var(--lime), 0 0 0 2px rgba(216, 255, 40, 0.11);
}

.feed-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 14px 12px 48px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.feed-search input::placeholder {
  color: rgba(246, 243, 236, 0.44);
}

.feed-search button {
  border: 1px solid rgba(246, 243, 236, 0.16);
  background: rgba(246, 243, 236, 0.06);
  color: rgba(246, 243, 236, 0.88);
  padding: 10px 16px;
  font-weight: 820;
  cursor: pointer;
}

.feed-search button[type="submit"] {
  min-width: 116px;
  border-color: transparent;
  background: var(--lime);
  color: var(--wall);
}

#feed-clear-filter {
  min-width: 82px;
}

.feed-tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.feed-tag-filters button {
  min-height: 32px;
  border: 1px solid rgba(216, 255, 40, 0.22);
  background: rgba(216, 255, 40, 0.08);
  color: rgba(216, 255, 40, 0.88);
  padding: 6px 9px;
  font-size: 0.82rem;
  font-weight: 780;
  cursor: pointer;
}

.feed-tag-filters button:hover,
.feed-tag-filters button.is-active {
  border-color: rgba(216, 255, 40, 0.66);
  background: rgba(216, 255, 40, 0.18);
  color: var(--lime);
}

.feed-tag-filters span {
  color: rgba(246, 243, 236, 0.46);
  font-size: 0.78rem;
}

.feed-list {
  display: grid;
  gap: 12px;
}

.feed-item {
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.42fr) minmax(0, 1fr);
  min-height: 176px;
  background: rgba(246, 243, 236, 0.045);
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.feed-item:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 255, 40, 0.32);
  background: rgba(246, 243, 236, 0.065);
}

.feed-score {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  border-right: 1px solid var(--line);
  color: rgba(246, 243, 236, 0.58);
}

.feed-score strong {
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
}

.feed-score span {
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feed-preview {
  position: relative;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-width: 0;
  height: auto;
  min-height: 176px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(216, 255, 40, 0.06), transparent 46%),
    #050706;
  border-right: 1px solid var(--line);
  padding: 14px;
}

.feed-preview-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(380px, 100%);
  aspect-ratio: 1.22;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.18);
  background: #202321;
  color: inherit;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transition: transform 220ms ease, border-color 160ms ease;
}

.feed-preview-media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 30%, rgba(216, 255, 40, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(246, 243, 236, 0.12), rgba(246, 243, 236, 0.035));
}

.feed-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.feed-preview.no-social-image .feed-preview-media::before {
  content: attr(data-initial);
}

.feed-preview.no-social-image .feed-preview-media::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(216, 255, 40, 0.38);
  background:
    linear-gradient(90deg, transparent 49%, rgba(216, 255, 40, 0.32) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(216, 255, 40, 0.32) 50%, transparent 51%);
  opacity: 0.42;
}

.feed-preview.no-social-image .feed-preview-media {
  display: grid;
  place-items: center;
  color: rgba(216, 255, 40, 0.86);
  font-size: 2.1rem;
  font-weight: 900;
}

.feed-preview-footer {
  display: grid;
  gap: 3px;
  padding: 10px 12px 12px;
  background: #2a2d2b;
}

.feed-preview-host {
  color: rgba(246, 243, 236, 0.58);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.feed-preview-title {
  display: -webkit-box;
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.86rem;
  font-weight: 820;
  line-height: 1.16;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.feed-item:hover .feed-preview-card {
  border-color: rgba(216, 255, 40, 0.34);
  transform: translateY(-1px);
}

.feed-item:hover .feed-preview-image {
  transform: scale(1.025);
}

.feed-item.is-adult .feed-preview-image {
  filter: blur(18px);
  transform: scale(1.08);
}

.feed-item.is-adult.adult-revealed .feed-preview-image,
.feed-item.is-adult.adult-revealed:hover .feed-preview-image {
  filter: none;
  transform: scale(1);
}

.adult-reveal-button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 4px;
  width: 100%;
  border: 0;
  background: rgba(7, 9, 9, 0.54);
  color: var(--ink);
  cursor: pointer;
}

.adult-reveal-button strong {
  color: var(--lime);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.adult-reveal-button span {
  color: rgba(246, 243, 236, 0.72);
  font-size: 0.78rem;
  font-weight: 820;
}

.feed-item.adult-revealed .adult-reveal-button {
  display: none;
}

.feed-body {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
  padding: 18px 20px;
}

.feed-meta {
  margin: 0;
  color: rgba(246, 243, 236, 0.52);
  font-size: 0.82rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
}

.feed-body h3 {
  margin: 0;
  font-size: clamp(1.26rem, 2.1vw, 1.82rem);
  line-height: 1.02;
}

.feed-body h3 a:hover {
  color: var(--lime);
}

.feed-description {
  margin: 0;
  color: rgba(246, 243, 236, 0.66);
  overflow-wrap: anywhere;
}

.feed-activity {
  margin: 0;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-latest {
  margin: 0;
  border-left: 3px solid rgba(255, 90, 82, 0.82);
  padding: 7px 0 7px 10px;
  color: rgba(246, 243, 236, 0.74);
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.feed-latest[hidden] {
  display: none;
}

.feed-tags {
  margin-top: 0;
}

.feed-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.feed-actions a,
.feed-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid rgba(246, 243, 236, 0.18);
  padding: 8px 11px;
  background: rgba(10, 13, 12, 0.4);
  color: rgba(246, 243, 236, 0.86);
  font-size: 0.86rem;
}

.feed-actions button {
  font: inherit;
  cursor: pointer;
}

.feed-actions a:first-child {
  border-color: transparent;
  background: var(--lime);
  color: var(--wall);
  font-weight: 840;
}

.feed-bump-button {
  gap: 7px;
  border-color: rgba(216, 255, 40, 0.38);
  font-weight: 780;
}

.feed-bump-button img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(216, 255, 40, 0.22));
}

.feed-bump-button strong {
  color: var(--lime);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feed-bump-button[disabled] {
  opacity: 0.64;
  cursor: wait;
}

.feed-bump-button.is-loading img {
  transform: translateY(-1px);
}

.feed-loading,
.feed-empty {
  margin: 0;
  border: 1px solid var(--line);
  background: rgba(246, 243, 236, 0.045);
  padding: 22px;
  color: rgba(246, 243, 236, 0.6);
}

.active-room {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(720px, 100%);
  margin-top: 18px;
  padding: 17px 18px;
  border-left: 4px solid var(--coral);
  background: rgba(246, 243, 236, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.active-room[hidden] {
  display: none;
}

.active-room span {
  display: block;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.active-room strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1;
}

.active-room p {
  margin: 6px 0 0;
  color: rgba(246, 243, 236, 0.58);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.active-room-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.active-room-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(246, 243, 236, 0.2);
  color: rgba(246, 243, 236, 0.88);
  font-size: 0.9rem;
}

.section-grid,
.how,
.roadmap,
.final-cta {
  width: var(--content);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(300px, 0.82fr);
  gap: clamp(34px, 6vw, 92px);
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.intro {
  padding-top: clamp(24px, 3vw, 36px);
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: 0;
}

.section-copy {
  color: rgba(246, 243, 236, 0.74);
  font-size: clamp(1.03rem, 1.5vw, 1.24rem);
}

.section-copy p:first-child {
  margin-top: 0;
}

.target-panel {
  background: #ece8dc;
  color: #111313;
  padding: clamp(54px, 8vw, 104px) 0;
}

.target-shell {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.target-meta .section-kicker {
  color: #d3453e;
}

.target-meta p {
  max-width: 500px;
  color: rgba(17, 19, 19, 0.68);
  font-size: 1.1rem;
}

.discussion-demo {
  position: relative;
  overflow: hidden;
  background: #121514;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 30px 90px rgba(20, 20, 17, 0.32);
}

.discussion-demo::before {
  content: "";
  position: absolute;
  inset: auto -18% -20% 16%;
  height: 180px;
  background: linear-gradient(100deg, transparent, rgba(216, 255, 40, 0.28), rgba(255, 90, 82, 0.18), transparent);
  filter: blur(22px);
  transform: rotate(-8deg);
  pointer-events: none;
}

.demo-topbar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.demo-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.28);
}

.demo-source {
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.demo-source h3 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1;
}

.demo-source p {
  margin: 0 0 18px;
  color: rgba(246, 243, 236, 0.56);
  word-break: break-word;
}

.demo-source a {
  display: inline-flex;
  border: 1px solid rgba(246, 243, 236, 0.18);
  padding: 9px 12px;
  color: rgba(246, 243, 236, 0.82);
  font-size: 0.9rem;
}

.comment-stack {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.comment {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px;
  background: rgba(246, 243, 236, 0.055);
  border: 1px solid rgba(246, 243, 236, 0.09);
}

.featured-comment {
  background: rgba(216, 255, 40, 0.1);
}

.comment-avatar {
  width: 38px;
  height: 38px;
  background: var(--lime);
  border-radius: 50%;
}

.comment-avatar.coral {
  background: var(--coral);
}

.comment-avatar.steel {
  background: var(--steel);
}

.comment p {
  margin: 0;
  color: rgba(246, 243, 236, 0.88);
}

.comment span {
  display: block;
  margin-top: 7px;
  color: rgba(246, 243, 236, 0.48);
  font-size: 0.88rem;
}

.demo-path {
  position: relative;
  padding: 16px 20px 18px;
  border-top: 1px solid var(--line);
  color: var(--lime);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.how,
.roadmap {
  padding: clamp(72px, 10vw, 124px) 0;
  border-top: 1px solid var(--line);
}

.how h2,
.roadmap h2 {
  max-width: 900px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(34px, 6vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.steps article {
  min-height: 250px;
  padding: 30px 28px 34px;
  border-right: 1px solid var(--line);
}

.steps article:last-child {
  border-right: 0;
}

.steps span,
.timeline span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h3 {
  margin: 18px 0 10px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.08;
}

.steps p,
.principle-list p,
.timeline p {
  margin: 0;
  color: rgba(246, 243, 236, 0.64);
}

.principles {
  background:
    linear-gradient(180deg, rgba(246, 243, 236, 0.025), rgba(246, 243, 236, 0));
}

.principle-list {
  display: grid;
  gap: 28px;
}

.principle-list > div {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.principle-list h3 {
  margin-top: 0;
}

.roadmap-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 44px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(34px, 5vw, 64px);
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline article {
  min-height: 310px;
  background: var(--wall);
  padding: 26px;
}

.final-cta {
  padding: clamp(72px, 10vw, 128px) 0;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 960px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
}

.secondary-action {
  border: 1px solid rgba(246, 243, 236, 0.22);
  color: rgba(246, 243, 236, 0.84);
}

.site-footer {
  width: var(--content);
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(246, 243, 236, 0.54);
  font-size: 0.92rem;
}

.bookmark-nudge {
  position: fixed;
  right: 0;
  bottom: 18px;
  z-index: 30;
  transform: translateX(calc(100% - 8px));
  transition: transform 320ms ease;
}

.bookmark-nudge[hidden] {
  display: none;
}

.bookmark-nudge.is-visible,
.bookmark-nudge.is-expanded,
.bookmark-nudge:focus-within,
.bookmark-nudge:hover {
  transform: translateX(0);
}

.bookmark-nudge-tab {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 134px;
  border: 1px solid rgba(216, 255, 40, 0.58);
  border-right: 0;
  background: var(--lime);
  color: #050706;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.34);
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
}

.bookmark-nudge-tab span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  line-height: 1;
}

.bookmark-nudge-panel {
  position: absolute;
  right: 42px;
  bottom: 0;
  width: min(230px, calc(100vw - 72px));
  padding: 12px 13px;
  border: 1px solid rgba(216, 255, 40, 0.42);
  background: rgba(9, 12, 10, 0.96);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.bookmark-nudge.is-expanded .bookmark-nudge-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.bookmark-nudge-panel strong,
.bookmark-nudge-panel span {
  display: block;
}

.bookmark-nudge-panel strong {
  margin-bottom: 4px;
  color: var(--lime);
  font-size: 13px;
  text-transform: uppercase;
}

.bookmark-nudge-panel span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.policy-page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.policy-page h1 {
  margin: 0 0 24px;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.9;
}

.policy-page p {
  color: rgba(246, 243, 236, 0.74);
  font-size: 1.06rem;
}

.reveal-ready .target-panel,
.reveal-ready .how,
.reveal-ready .principles,
.reveal-ready .roadmap,
.reveal-ready .final-cta {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-ready .is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.018) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.055) translate3d(-1.2%, 0.8%, 0);
  }
}

@media (max-width: 1100px) {
  .has-target,
  .is-feed-page {
    --content: min(100vw - 32px, 900px);
  }

  .room-top,
  .room-layout {
    grid-template-columns: 1fr;
  }

  .room-top {
    align-items: start;
  }

  .room-actions,
  .tool-strip {
    justify-content: flex-start;
  }

  .page-stage {
    flex: 0 0 auto;
    height: clamp(430px, 62svh, 680px);
    min-height: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --content: min(100vw - 28px, 680px);
  }

  .has-target,
  .is-feed-page {
    --content: min(100vw - 28px, 760px);
  }

  .site-header {
    padding: 16px 0;
  }

  .has-target .site-header,
  .is-feed-view .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links {
    display: none;
  }

  .header-link {
    padding: 8px 10px;
  }

  .has-target .header-tools,
  .is-feed-view .header-tools {
    flex: 1 1 100%;
    width: 100%;
  }

  .header-url-form {
    flex: 1;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-url-form input {
    padding: 10px 10px 10px 16px;
  }

  .header-url-form button {
    padding-inline: 12px;
  }

  .has-target .room-app {
    padding-top: 150px;
  }

  .room-top {
    gap: 18px;
  }

  .room-top h1 {
    font-size: 1.55rem;
    line-height: 1.05;
  }

  .room-actions a {
    flex: 1 1 150px;
  }

  .board-head,
  .comments-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .comments-head span {
    justify-self: start;
  }

  .tool-strip {
    width: 100%;
  }

  .tool-button {
    flex: 1 1 92px;
  }

  .color-control,
  .size-control {
    flex: 1 1 156px;
  }

  .room-feed {
    scroll-margin-top: 136px;
  }

  .is-feed-page .room-feed {
    padding-top: 160px;
  }

  .hero {
    min-height: 76svh;
    padding: 82px 0 24px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 9, 9, 0.96), rgba(7, 9, 9, 0.62)),
      linear-gradient(0deg, rgba(10, 12, 12, 0.95) 0%, rgba(10, 12, 12, 0.1) 54%, rgba(10, 12, 12, 0.42) 100%);
  }

  .url-form {
    grid-template-columns: 1fr;
  }

  .url-form button {
    width: 100%;
  }

  .active-room {
    grid-template-columns: 1fr;
  }

  .active-room-actions {
    justify-content: flex-start;
  }

  .section-grid,
  .target-shell,
  .feed-head,
  .feed-search,
  .roadmap-head {
    grid-template-columns: 1fr;
  }

  .feed-stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }

  .feed-search-icon {
    top: 30px;
  }

  .feed-search button {
    width: 100%;
  }

  .feed-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .feed-preview {
    grid-column: 2;
    height: 284px;
    min-height: 284px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feed-preview-card {
    width: min(320px, 100%);
  }

  .feed-body {
    grid-column: 1 / -1;
  }

  .steps,
  .timeline {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps article:last-child {
    border-bottom: 0;
  }

  .timeline article {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .has-target,
  .is-feed-page {
    --content: calc(100vw - 20px);
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-wordmark {
    height: 18px;
    max-width: 98px;
  }

  .header-link {
    font-size: 0.82rem;
  }

  .has-target .header-tools,
  .is-feed-view .header-tools {
    flex-wrap: wrap;
  }

  .header-home-link,
  .header-feed-link {
    flex: 1 1 calc(50% - 4px);
  }

  .header-url-form {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: clamp(4rem, 23vw, 6.8rem);
  }

  .hero-line {
    font-size: clamp(2rem, 11vw, 3.5rem);
  }

  .feed-head h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  .feed-chat-icon {
    width: 0.62em;
    height: 0.62em;
  }

  .room-feed {
    padding-top: 34px;
  }

  .board-head,
  .comments-head,
  .comment-form,
  .room-comment-list {
    padding: 14px;
  }

  .comment-children {
    margin-left: 8px;
    padding-left: 8px;
  }

  .reply-context {
    align-items: flex-start;
  }

  .reply-context span {
    white-space: normal;
  }

  .comment-tools,
  .selected-gif,
  .gif-search,
  .gif-url-form {
    grid-template-columns: 1fr;
  }

  .comment-tools {
    display: grid;
  }

  .selected-gif {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .selected-gif button {
    grid-column: 1 / -1;
  }

  .gif-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
    max-height: 340px;
    padding: 12px;
  }

  .gif-results .gif-result {
    aspect-ratio: 1.25;
    padding: 4px;
  }

  .tool-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-button,
  .color-control,
  .size-control {
    width: 100%;
  }

  #clear-drawing {
    grid-column: 1 / -1;
  }

  .size-control input {
    width: 100%;
    min-width: 76px;
  }

  .page-stage {
    flex: 0 0 auto;
    height: clamp(360px, 58svh, 520px);
    min-height: 0;
  }

  .feed-item {
    grid-template-columns: 1fr;
  }

  .feed-score {
    display: flex;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }

  .feed-preview {
    grid-column: 1;
  }

  .comment {
    grid-template-columns: 30px 1fr;
  }

  .comment-avatar {
    width: 30px;
    height: 30px;
  }

  .site-footer {
    flex-direction: column;
  }

  .bookmark-nudge {
    bottom: 12px;
  }

  .bookmark-nudge-tab {
    width: 26px;
    min-height: 96px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .bookmark-nudge {
    transition: none;
  }
}
