:root {
  --ink: #101010;
  --muted: #4e3d57;
  --paper: #fff7ef;
  --line: #101010;
  --yellow: #ffe900;
  --purple: #7430b3;
  --coral: #ff5656;
  --cyan: #1eb8ca;
  --lime: #b9ff00;
  --orange: #ff8b1a;
  --pink: #ff4fb8;
  --lavender: #c9a1ff;
  --blue: #2457ff;
  --green: #69d05a;
  --shadow: 8px 8px 0 rgba(16, 16, 16, 0.95);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 16, 16, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 12% 12%, rgba(255, 79, 184, 0.45), transparent 21rem),
    radial-gradient(circle at 90% 10%, rgba(255, 233, 0, 0.5), transparent 19rem),
    radial-gradient(circle at 70% 80%, rgba(36, 87, 255, 0.34), transparent 22rem),
    var(--lavender);
  background-size: 28px 28px, 28px 28px, auto, auto, auto, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.app-shell {
  width: min(1500px, calc(100vw - 24px));
  margin: 12px auto 28px;
  padding: 12px;
  border: 5px solid var(--ink);
  background: var(--paper);
  box-shadow: 12px 12px 0 rgba(16, 16, 16, 0.9);
}

.poster-tape {
  overflow: hidden;
  border: 4px solid var(--ink);
  background: var(--lavender);
  color: var(--ink);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
  line-height: 1;
  white-space: nowrap;
  padding: 8px 10px 9px;
  text-transform: uppercase;
}

.tape-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(28px, 4vw, 86px);
  animation: tape-scroll 18s linear infinite;
  will-change: transform;
}

.poster-tape span {
  flex: 0 0 auto;
}

.poster-tape.bottom {
  margin-top: 22px;
  background: var(--lime);
}

.poster-tape.bottom .tape-track {
  animation-direction: reverse;
  animation-duration: 16s;
}

@keyframes tape-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - clamp(14px, 2vw, 43px)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .tape-track {
    animation: none;
  }
}

.topbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: 12px;
  align-items: stretch;
  padding: 12px 0 0;
}

.brand-lockup {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(20px, 2.2vw, 40px);
  row-gap: 0;
  min-height: 150px;
  padding: 22px 28px 22px 22px;
  border: 5px solid var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 79, 184, 0.18) 0 16px, transparent 16px 36px),
    var(--yellow);
  box-shadow: var(--shadow);
}

.brand-lockup::after {
  display: none;
  content: none;
}

.brand-logo {
  display: block;
  width: 100%;
  max-height: 142px;
  justify-self: start;
  grid-row: 1 / 3;
  grid-column: 1;
  object-fit: contain;
  filter: drop-shadow(6px 6px 0 rgba(16, 16, 16, 0.78));
  transform: rotate(-1deg);
}

h1,
h2,
button,
.confession-card strong,
.post-preview strong {
  font-family: "Arial Black", Impact, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: none;
  font-size: clamp(3.1rem, 5.2vw, 7.3rem);
  line-height: 0.82;
  letter-spacing: -0.04em;
}

.brand-headline {
  grid-column: 2;
  grid-row: 1;
  max-width: 920px;
  white-space: nowrap;
  align-self: end;
}

.brand-trust {
  grid-column: 2;
  grid-row: 2;
  justify-self: start;
  align-self: start;
  max-width: none;
  color: var(--ink);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1.35rem, 1.75vw, 2.25rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 0;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.stats div {
  display: grid;
  gap: 2px;
  padding: 14px 24px;
  border-right: 4px solid var(--ink);
  text-align: center;
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  color: #fff;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.stats span {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-pill {
  min-width: 118px;
  padding: 14px 18px;
  border: 5px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.admin-actions {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.lock-button {
  width: 100%;
  text-transform: uppercase;
}

.admin-locked .admin-shell,
.admin-page:not(.admin-locked) .admin-login-screen {
  display: none;
}

.admin-login-screen {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  display: grid;
  gap: 18px;
  width: min(560px, 100%);
  padding: clamp(22px, 4vw, 42px);
  border: 6px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, rgba(16, 16, 16, 0.05) 0 2px, transparent 2px 18px),
    var(--pink);
  box-shadow: 12px 12px 0 var(--ink);
}

.admin-login-logo {
  width: min(320px, 92%);
  justify-self: center;
  filter: drop-shadow(6px 6px 0 rgba(16, 16, 16, 0.78));
}

.admin-login-card h1 {
  padding: 8px 12px;
  border: 5px solid var(--ink);
  background: var(--yellow);
  font-size: clamp(2.3rem, 8vw, 4.5rem);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.admin-login-card p {
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.public-link-text {
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(360px, 1.12fr) minmax(320px, 0.92fr);
  gap: 12px;
  align-items: start;
  margin-top: 12px;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--ink);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.submit-panel,
.feed-panel,
.queue-panel,
.instagram-panel {
  padding: 24px;
}

.submit-panel {
  background:
    repeating-linear-gradient(90deg, rgba(16, 16, 16, 0.05) 0 2px, transparent 2px 16px),
    var(--pink);
}

.feed-panel {
  background:
    linear-gradient(90deg, var(--yellow) 0 10px, transparent 10px),
    var(--cyan);
}

.queue-panel {
  background:
    radial-gradient(circle at 96% 8%, var(--blue) 0 26px, transparent 27px),
    var(--orange);
}

.instagram-panel {
  background:
    repeating-linear-gradient(-45deg, rgba(16, 16, 16, 0.08) 0 8px, transparent 8px 18px),
    var(--yellow);
}

.side-column {
  display: grid;
  gap: 12px;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  padding: 6px 9px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.trust-copy {
  max-width: 42rem;
  margin-bottom: 24px;
  color: var(--ink);
  line-height: 1.45;
  font-weight: 900;
}

.submit-panel .panel-heading {
  justify-content: center;
  text-align: center;
}

.submit-panel .trust-copy {
  max-width: 58rem;
  margin-inline: auto;
  text-align: center;
}

.confession-form {
  display: grid;
  gap: 17px;
}

label {
  display: grid;
  gap: 8px;
  color: #1e1e1e;
  font-size: 0.83rem;
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 4px solid var(--ink);
  border-radius: 0;
  background: #fff9ce;
  color: var(--ink);
  outline: none;
  font-weight: 900;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 118px;
  resize: vertical;
  padding: 14px;
  line-height: 1.45;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ink);
  box-shadow: 5px 5px 0 var(--blue);
}

small {
  justify-self: end;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.check-row input {
  width: 19px;
  min-height: 19px;
  accent-color: var(--purple);
}

.privacy-note,
.admin-security-note {
  max-width: 44rem;
  margin-inline: auto;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.privacy-note {
  padding: 10px 12px;
  border: 3px solid var(--ink);
  background: rgba(255, 249, 206, 0.92);
}

.privacy-note span {
  display: block;
}

.admin-security-note {
  padding: 10px 12px;
  border: 3px solid var(--ink);
  background: #fff9ce;
}

.primary-button,
.dark-button,
.ghost-button {
  border-radius: 0;
  min-height: 50px;
  padding: 0 20px;
  border: 4px solid var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
}

.dark-button {
  background: var(--ink);
  color: #fff;
  box-shadow: 5px 5px 0 var(--lavender);
}

.ghost-button {
  background: #fff9ce;
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--pink);
}

.primary-button:hover,
.dark-button:hover,
.ghost-button:hover,
.admin-pill:hover {
  transform: translateY(-1px);
  box-shadow: 7px 7px 0 var(--ink);
}

.compact,
.full {
  width: 100%;
}

.status-message {
  min-height: 22px;
  color: var(--purple);
  font-size: 0.9rem;
  font-weight: 900;
}

.mobile-card {
  width: min(290px, 78%);
  margin: 26px auto 0;
  padding: 7px;
  border: 5px solid var(--ink);
  border-radius: 0;
  background: var(--lavender);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(-1deg);
}

.mobile-top {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px 9px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.mobile-preview-card {
  min-height: 206px;
  border-radius: 12px;
}

.feed-heading {
  align-items: start;
}

.feed-heading > div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.filter-control {
  display: flex;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
}

.filter-control select {
  min-height: 42px;
  width: 154px;
}

.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.confession-card,
.post-preview {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 216px;
  padding: 34px 42px;
  border: 5px solid var(--ink);
  border-radius: 0;
  color: #fff;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--ink);
}

.confession-card {
  width: 100%;
  min-width: 0;
}

.confession-card.selected {
  outline: 8px solid var(--yellow);
  outline-offset: -12px;
}

.confession-card strong,
.post-preview strong {
  position: relative;
  z-index: 2;
  font-size: clamp(0.92rem, 1.1vw, 1.08rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.confession-card p,
.post-preview p {
  position: relative;
  z-index: 2;
  max-width: 26rem;
  margin: 14px 0 20px;
  font-size: clamp(1rem, 1.05vw, 1.18rem);
  font-family: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.confession-card .confession-text,
.post-preview .confession-text {
  font-family: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
}

.confession-card span,
.post-preview span {
  position: relative;
  z-index: 2;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.confession-card::before,
.post-preview::before {
  display: none;
}

.confession-card::after,
.post-preview::after {
  display: none;
}

.post-card-logo {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: clamp(52px, 6.2vw, 84px);
  height: auto;
  filter: drop-shadow(3px 3px 0 rgba(16, 16, 16, 0.78));
  transform: rotate(-2deg);
  z-index: 1;
  pointer-events: none;
}

.card-purple { background: linear-gradient(145deg, #5f27a7, #8435c4); }
.card-coral { background: linear-gradient(145deg, #ff4747, #ff6b62); }
.card-cyan { background: linear-gradient(145deg, #08a9c2, #22c8d5); }
.card-lime { background: linear-gradient(145deg, #d8f332, #b9e818); color: var(--ink); }
.card-orange { background: linear-gradient(145deg, #ff7a13, #ff9a28); }
.card-pink { background: linear-gradient(145deg, #a934b4, #d44fa8); }
.card-royal { background: linear-gradient(145deg, #1645f5, #5d74ff); }
.card-mint { background: linear-gradient(145deg, #00d38d, #84f15c); color: var(--ink); }
.card-sunset { background: linear-gradient(145deg, #ff416c, #ffb347); }
.card-ink { background: linear-gradient(145deg, #111111, #373737); }
.card-cream { background: linear-gradient(145deg, #fff0bd, #ffd76a); color: var(--ink); }
.card-bubblegum { background: linear-gradient(145deg, #ff69c8, #8b5cff); }

#loadMore {
  display: flex;
  width: min(260px, 100%);
  margin: 20px auto 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

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

.queue-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 4px solid var(--ink);
  border-radius: 0;
  background: #fff9ce;
  box-shadow: 4px 4px 0 var(--ink);
}

.queue-card > .person-details {
  grid-column: 1 / -1;
}

.queue-card h3 {
  margin: 0 0 7px;
  font-size: 0.92rem;
}

.queue-card h3 span {
  color: #5d2c00;
  font-weight: 700;
}

.queue-card p {
  color: #1f1f1f;
  line-height: 1.35;
}

.queue-actions {
  display: flex;
  gap: 10px;
}

.queue-actions button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 0;
  border: 3px solid var(--ink);
  background: #fff;
  font-weight: 900;
}

.queue-actions .approve {
  border-color: var(--ink);
  background: var(--lime);
  color: var(--ink);
}

.queue-actions .person-toggle {
  background: var(--yellow);
}

.person-details {
  display: grid;
  gap: 12px;
  margin-top: 6px;
  padding: 14px;
  border: 3px solid var(--ink);
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.person-details[hidden] {
  display: none;
}

.person-details h4 {
  margin: 0;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.person-details dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.person-details div {
  min-width: 0;
  padding: 10px;
  border: 3px solid var(--ink);
  background: #fff9ce;
}

.person-details dt {
  margin-bottom: 4px;
  color: #5d2c00;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.person-details dd {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.person-note {
  font-size: 0.82rem;
  font-weight: 900;
}

.empty-state {
  padding: 22px;
  border: 4px dashed var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: #fff9ce;
  text-align: center;
  font-weight: 900;
}

.instagram-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.86fr) 1fr;
  gap: 18px;
}

.post-preview {
  aspect-ratio: 3 / 4;
  min-height: 0;
  padding: 44px 32px;
  width: min(100%, 330px);
  justify-self: center;
}

.post-preview p {
  max-width: 17rem;
  font-size: clamp(1rem, 1.3vw, 1.24rem);
}

.post-controls {
  display: grid;
  gap: 14px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, 34px);
  gap: 10px;
}

.swatch {
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--ink);
}

.swatch.active {
  box-shadow: 0 0 0 4px var(--yellow), 6px 6px 0 var(--ink);
}

#captionText {
  min-height: 95px;
}

.tiny-note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: center;
}

.post-action-status {
  min-height: 22px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.scribble {
  display: inline-block;
  width: 120px;
  height: 16px;
  border-bottom: 5px solid var(--ink);
  border-radius: 0;
  transform: rotate(-2deg);
}

.wave {
  width: 94px;
  height: 18px;
  border: 0;
  background: repeating-linear-gradient(135deg, transparent 0 8px, var(--ink) 9px 12px, transparent 13px 20px);
}

.cyan {
  background: repeating-linear-gradient(135deg, transparent 0 8px, var(--cyan) 9px 12px, transparent 13px 20px);
}

.bolt {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 44px;
  clip-path: polygon(48% 0, 100% 0, 65% 41%, 100% 41%, 33% 100%, 47% 55%, 0 55%);
  background: var(--yellow);
  color: transparent;
  filter: drop-shadow(2px 2px 0 var(--ink));
}

@media (max-width: 1180px) {
  .topbar,
  .workspace {
    grid-template-columns: 1fr;
  }

  .stats {
    width: 100%;
  }

  .admin-pill {
    justify-self: start;
  }

  .workspace {
    gap: 18px;
  }

  .instagram-layout {
    grid-template-columns: minmax(240px, 0.8fr) 1fr;
  }
}

@media (max-width: 920px) {
  .feed-grid,
  .instagram-layout {
    grid-template-columns: 1fr;
  }

  .post-preview {
    width: min(360px, 100%);
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100% - 18px, 560px);
    padding-top: 10px;
  }

  .brand-lockup {
    align-items: flex-start;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;
    padding: 18px;
  }

  .brand-logo {
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 320px);
    max-height: 118px;
  }

  .brand-headline {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(2.35rem, 13vw, 4rem);
    line-height: 0.86;
    white-space: normal;
  }

  .brand-trust {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    max-width: 100%;
    font-size: 1rem;
    white-space: normal;
  }

  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .stats div {
    padding: 12px 8px;
  }

  .submit-panel,
  .feed-panel,
  .queue-panel,
  .instagram-panel {
    padding: 18px;
  }

  .phone-grid,
  .feed-grid,
  .instagram-layout,
  .queue-card {
    grid-template-columns: 1fr;
  }

  .queue-actions {
    justify-content: stretch;
  }

  .queue-actions button {
    flex: 1;
  }

  .person-details dl {
    grid-template-columns: 1fr;
  }

  .mobile-card {
    width: 100%;
    transform: none;
  }

  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-control {
    width: 100%;
    justify-content: space-between;
  }

  .confession-card {
    min-height: 178px;
    padding: 30px 30px 32px;
  }

  .confession-card p {
    max-width: 27rem;
    font-size: clamp(0.96rem, 4.4vw, 1.1rem);
    line-height: 1.2;
  }

  .confession-card::before {
    width: 42px;
    height: 70px;
    opacity: 0.28;
  }

  .confession-card::after {
    font-size: 3.7rem;
    right: 16px;
    bottom: 8px;
  }
}

@media (min-width: 1000px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }

  .app-shell {
    width: calc(100vw - 18px);
    height: calc(100svh - 18px);
    margin: 9px;
    padding: 10px;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    gap: 8px;
    box-shadow: none;
  }

  .poster-tape {
    padding: 7px 10px 8px;
    font-size: clamp(1rem, 2vw, 2.35rem);
  }

  .topbar {
    min-height: 0;
    padding: 0;
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.58fr) minmax(130px, 0.18fr);
    gap: 10px;
  }

  .brand-lockup {
    min-height: 138px;
    padding: 16px clamp(130px, 12vw, 210px) 16px 18px;
    grid-template-columns: minmax(170px, 0.24fr) minmax(0, 1fr);
    column-gap: 18px;
    row-gap: 8px;
  }

  .brand-lockup::after {
    right: 14px;
    top: 12px;
    bottom: auto;
    font-size: 0.95rem;
  }

  .brand-logo {
    width: min(100%, 300px);
    max-height: 112px;
  }

  .brand-headline {
    font-size: clamp(2.5rem, 3.9vw, 5.2rem);
    line-height: 0.82;
  }

  .brand-trust {
    font-size: clamp(0.9rem, 1vw, 1.2rem);
  }

  .stats div {
    align-content: center;
    padding: 10px 16px;
  }

  .stats strong {
    font-size: clamp(2.2rem, 3.4vw, 3.7rem);
  }

  .admin-pill {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 12px;
    box-shadow: none;
  }

  .workspace {
    min-height: 0;
    height: 100%;
    margin-top: 0;
    grid-template-columns: minmax(300px, 0.84fr) minmax(390px, 1.08fr) minmax(330px, 0.92fr);
    gap: 10px;
    overflow: hidden;
  }

  .panel {
    min-height: 0;
    height: 100%;
    overflow: auto;
    box-shadow: none;
  }

  .submit-panel,
  .feed-panel,
  .queue-panel,
  .instagram-panel {
    padding: clamp(14px, 1.2vw, 22px);
  }

  .side-column {
    min-height: 0;
    height: 100%;
    grid-template-rows: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 10px;
    overflow: hidden;
  }

  .panel-heading {
    margin-bottom: 12px;
  }

  .panel-heading h2 {
    font-size: clamp(1.1rem, 1.65vw, 1.95rem);
  }

  .trust-copy {
    margin-bottom: 16px;
    font-size: clamp(0.95rem, 1vw, 1.08rem);
    line-height: 1.35;
  }

  .confession-form {
    gap: 12px;
  }

  input,
  select {
    min-height: 42px;
  }

  textarea {
    min-height: 96px;
  }

  .mobile-card {
    display: none;
  }

  .feed-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .confession-card {
    min-height: 170px;
    padding: 26px 30px 28px;
  }

  .confession-card p {
    max-width: 24rem;
    margin: 10px 0 14px;
    font-size: clamp(0.92rem, 1vw, 1.1rem);
    line-height: 1.16;
  }

  .confession-card strong,
  .confession-card span {
    font-size: clamp(0.82rem, 0.95vw, 1rem);
  }

  .confession-card::before {
    left: 16px;
    top: 16px;
    width: 42px;
    height: 66px;
    background-size: 15px 15px;
  }

  .confession-card::after {
    right: 14px;
    bottom: 10px;
    width: 46px;
    height: 46px;
  }

  .queue-list {
    gap: 8px;
  }

  .queue-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }

  .queue-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .queue-card p {
    font-size: 0.98rem;
  }

  .instagram-layout {
    grid-template-columns: minmax(130px, 0.76fr) minmax(170px, 1fr);
    gap: 12px;
  }

  .post-preview {
    width: min(100%, 250px);
    padding: 30px 24px;
  }

  .post-preview p {
    max-width: 13rem;
    font-size: clamp(0.82rem, 1.08vw, 1.05rem);
    line-height: 1.16;
  }

  .post-controls {
    gap: 10px;
  }

  #captionText {
    min-height: 72px;
  }

  .primary-button,
  .dark-button,
  .ghost-button {
    min-height: 44px;
  }
}

@media (min-width: 1000px) and (max-height: 820px) {
  .poster-tape {
    font-size: 1.35rem;
    padding-block: 5px;
  }

  .brand-lockup {
    min-height: 112px;
  }

  .brand-logo {
    max-height: 82px;
  }

  .brand-headline {
    font-size: clamp(2.8rem, 4.1vw, 5rem);
  }

  .brand-trust,
  .brand-lockup::after,
  .trust-copy {
    font-size: 0.84rem;
  }

  .confession-card {
    min-height: 142px;
    padding: 22px 26px;
  }

  .confession-card p {
    font-size: 0.86rem;
  }
}

@media (min-width: 1000px) {
  html,
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .app-shell {
    display: block;
    width: min(1680px, calc(100vw - 28px));
    min-height: calc(100svh - 28px);
    height: auto;
    margin: 14px auto 32px;
    padding: 14px;
    box-shadow: 10px 10px 0 rgba(16, 16, 16, 0.9);
  }

  .poster-tape {
    padding: 8px 14px 9px;
    font-size: clamp(1.1rem, 1.9vw, 2.25rem);
  }

  .topbar {
    padding: 12px 0 0;
    grid-template-columns: minmax(440px, 1.08fr) minmax(340px, 0.58fr) minmax(136px, 0.18fr);
    gap: 18px;
  }

  .brand-lockup {
    min-height: 160px;
    padding: 22px 30px 22px 24px;
    grid-template-columns: minmax(220px, 0.24fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 0;
  }

  .brand-logo {
    width: min(100%, 310px);
    max-height: 132px;
  }

  .brand-headline {
    font-size: clamp(3.8rem, 5.3vw, 8.2rem);
  }

  .brand-trust {
    max-width: none;
    font-size: clamp(1.35rem, 1.65vw, 2.1rem);
    line-height: 1.05;
  }

  .workspace {
    height: auto;
    margin-top: 22px;
    grid-template-columns: minmax(330px, 0.86fr) minmax(440px, 1.14fr) minmax(360px, 0.94fr);
    gap: 22px;
    align-items: start;
    overflow: visible;
  }

  .panel {
    height: auto;
    overflow: visible;
    box-shadow: var(--shadow);
  }

  .submit-panel,
  .feed-panel,
  .queue-panel,
  .instagram-panel {
    padding: 28px;
  }

  .side-column {
    height: auto;
    grid-template-rows: none;
    gap: 22px;
    overflow: visible;
  }

  .panel-heading {
    margin-bottom: 20px;
  }

  .panel-heading h2 {
    font-size: clamp(1.25rem, 1.75vw, 2.25rem);
  }

  .trust-copy {
    margin-bottom: 24px;
    font-size: clamp(1rem, 1.08vw, 1.16rem);
    line-height: 1.45;
  }

  .confession-form {
    gap: 17px;
  }

  input,
  select {
    min-height: 50px;
  }

  textarea {
    min-height: 130px;
  }

  .feed-grid {
    gap: 18px;
  }

  .confession-card {
    min-height: 238px;
    padding: 36px 42px 38px;
  }

  .confession-card p {
    max-width: 28rem;
    margin: 14px 0 20px;
    font-size: clamp(1.02rem, 1.08vw, 1.2rem);
    line-height: 1.22;
  }

  .confession-card strong,
  .confession-card span {
    font-size: clamp(0.92rem, 1vw, 1.08rem);
  }

  .confession-card::before {
    left: 22px;
    top: 22px;
    width: 58px;
    height: 92px;
    background-size: 18px 18px;
  }

  .confession-card::after {
    right: 22px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .queue-list {
    gap: 14px;
  }

  .queue-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .queue-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .instagram-layout {
    grid-template-columns: minmax(240px, 0.9fr) minmax(230px, 1fr);
    gap: 22px;
  }

  .post-preview {
    width: min(100%, 340px);
    padding: 44px 32px;
  }

  .post-preview p {
    max-width: 17rem;
    font-size: clamp(1rem, 1.25vw, 1.24rem);
    line-height: 1.2;
  }

  .post-controls {
    gap: 14px;
  }

  #captionText {
    min-height: 96px;
  }

  .primary-button,
  .dark-button,
  .ghost-button {
    min-height: 50px;
  }
}

@media (min-width: 1000px) and (max-width: 1320px) {
  .topbar,
  .workspace {
    grid-template-columns: 1fr;
  }

  .stats {
    min-height: 112px;
  }

  .admin-pill {
    min-height: 76px;
  }

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

  .instagram-layout {
    grid-template-columns: minmax(260px, 0.72fr) 1fr;
  }
}

.brand-headline,
.brand-trust {
  justify-self: center;
  text-align: center;
}

.public-page .topbar {
  grid-template-columns: 1fr;
}

.public-page .brand-lockup {
  grid-template-columns: minmax(220px, 0.26fr) minmax(0, 1fr);
  padding-right: 30px;
}

.public-page .brand-headline {
  font-size: clamp(4rem, 5.7vw, 8.7rem);
}

.public-page .brand-trust {
  font-size: clamp(1.5rem, 1.85vw, 2.35rem);
}

.public-workspace {
  grid-template-columns: minmax(340px, 0.86fr) minmax(520px, 1.14fr);
}

.admin-page .brand-headline {
  font-size: clamp(3rem, 4.4vw, 6.2rem);
}

.admin-workspace {
  grid-template-columns: minmax(460px, 1fr) minmax(520px, 1fr);
}

.public-link {
  display: grid;
  place-items: center;
  text-decoration: none;
}

@media (max-width: 1320px) {
  .public-workspace,
  .admin-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .public-page .brand-lockup,
  .admin-page .brand-lockup {
    grid-template-columns: 1fr;
    padding-right: 18px;
  }

  .brand-logo,
  .brand-headline,
  .brand-trust {
    grid-column: 1;
  }

  .brand-logo {
    grid-row: 1;
  }

  .brand-headline {
    grid-row: 2;
    white-space: normal;
  }

  .brand-trust {
    grid-row: 3;
    white-space: normal;
  }

}

.brand-lockup,
.public-page .brand-lockup,
.admin-page .brand-lockup {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  justify-items: center;
  align-items: center;
  row-gap: 10px;
  column-gap: 0;
  min-height: 0;
  padding: clamp(18px, 2.2vw, 32px);
  text-align: center;
}

.brand-logo,
.public-page .brand-logo,
.admin-page .brand-logo {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: min(340px, 74vw);
  max-height: 150px;
}

.brand-headline,
.public-page .brand-headline,
.admin-page .brand-headline {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  justify-self: center;
  max-width: min(100%, 1100px);
  text-align: center;
  white-space: normal;
}

.public-page .brand-headline {
  font-size: clamp(2.8rem, 6.4vw, 7.2rem);
}

.admin-page .brand-headline {
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
}

.brand-trust,
.public-page .brand-trust,
.admin-page .brand-trust {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  justify-self: center;
  max-width: min(100%, 980px);
  text-align: center;
  white-space: normal;
}

.public-page .brand-trust,
.admin-page .brand-trust {
  font-size: clamp(1rem, 2.1vw, 2rem);
}

.public-page .brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 0.85vw, 12px);
  padding: clamp(18px, 2.15vw, 32px) clamp(18px, 3vw, 44px);
}

.public-page .brand-logo {
  width: min(280px, 68vw);
  max-height: 128px;
}

.brand-seo {
  max-width: 980px;
  padding: 8px 14px;
  border: 4px solid var(--ink);
  background: var(--lavender);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(0.9rem, 1.25vw, 1.35rem);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

.public-page .brand-headline {
  max-width: 100%;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(3.2rem, 6.35vw, 7.25rem);
  line-height: 0.84;
  text-align: center;
  white-space: nowrap;
}

.public-page .brand-trust {
  max-width: 1040px;
  font-family: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.38rem);
  font-weight: 500;
  line-height: 1.32;
  text-align: center;
  text-transform: none;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: clamp(2px, 0.45vw, 7px);
  padding: 0 26px;
  border: 4px solid var(--ink);
  background: var(--pink);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
  font-family: "Arial Black", Impact, sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 8px 8px 0 var(--ink);
}

#drop-confession {
  scroll-margin-top: 18px;
}

@media (max-width: 720px) {
  .public-page .brand-lockup {
    padding: 20px 16px;
  }

  .brand-seo {
    font-size: clamp(0.9rem, 4.7vw, 1.2rem);
  }

  .public-page .brand-headline {
    font-size: clamp(2.45rem, 15vw, 4.2rem);
    white-space: normal;
  }

  .public-page .brand-trust {
    font-size: 1rem;
    font-weight: 500;
  }

  .hero-cta {
    width: min(100%, 330px);
  }
}
