/* ============================================================
   THEFAYTH Papercut — pages build (2026-11-24)
   Faith approved all five design mocks "as shown" (2026-11-24
   17:28 PT); this file cuts them into the live pages:
     01 forums index   — COMMON ROOM cut-out title, rooms as
                         torn paper cards with tape + stickers
     02 forum topic    — posts as paper cards, author pills,
                         AI disclosure as a lavender strip
     03 article        — the piece on a torn paper sheet,
                         cut-out title, subtitle strip, byline
                         tag, taped plates + lavender captions
     04 archives       — paper-card listings, READ IN FULL pills
     05 Locked Drawer  — the manila-folder door (category 10
                         archive only; the room stays hidden —
                         nothing here links it from anywhere)
   Plus the working pages dressed in the same system: text
   pages (About, Contact, How to Be Counted, Join) wear the
   article sheet; listing pages (Newsroom, Living Archive)
   wear the cards; the remove-listing form wears a sheet.

   Enqueued ONLY in the Papercut pages context (see
   functions.php tf_pc_pages_context): never on the front page,
   never on the three map routes. Presentation only — no copy
   in this file and none of it changes a word on any page.
   ============================================================ */

/* ---------- Shared Papercut primitives ---------- */
/* The torn-edge polygons + palette live on :root of this file;
   the file itself is only ever enqueued in the pages context,
   so nothing here can reach the homepage or the map routes. */
:root{
  --torn-a:polygon(1% 5%,9% 1%,24% 3%,40% 0%,57% 2%,73% 0%,88% 3%,98% 1%,100% 14%,99% 33%,100% 55%,99% 76%,100% 91%,96% 99%,82% 97%,64% 100%,45% 98%,28% 100%,13% 98%,2% 100%,0% 89%,1% 67%,0% 45%,1% 24%);
  --torn-b:polygon(2% 2%,15% 0%,31% 3%,49% 1%,66% 3%,83% 0%,97% 2%,100% 18%,99% 40%,100% 63%,99% 84%,97% 100%,80% 98%,61% 100%,42% 97%,25% 100%,9% 98%,1% 100%,0% 82%,1% 58%,0% 36%,1% 15%);
  --torn-plate:polygon(1% 3%,20% 1%,45% 2%,70% 0%,92% 2%,99% 6%,100% 30%,99% 58%,100% 85%,97% 98%,75% 100%,48% 98%,22% 100%,4% 98%,0% 92%,1% 60%,0% 32%,1% 12%);
  /* Tall-sheet variant: tear depths in px, not %. A % polygon on a
     sheet thousands of px tall turns 6% into hundreds of px and
     the "torn" edge sweeps through the title — the article sheet
     proved it in the first render round. Same silhouette, fixed
     shallow depths, at any height. */
  --torn-sheet:polygon(0.8% 12px,18% 3px,42% 8px,68% 1px,90% 6px,98.5% 3px,100% 46px,99.4% 34%,100% 62%,99.2% calc(100% - 52px),96% calc(100% - 5px),78% 100%,55% calc(100% - 6px),30% 100%,8% calc(100% - 4px),0.4% calc(100% - 34px),0% 58%,0.5% 30%,0% 64px);
  --ink:#26221c;
  --purple:#7b2ff7;
  --purple-deep:#6d28e0;
  --blue:#2456ff;
  --lav:#d9cff0;
  --paper:#f6efdd;
  --paper-hi:#fffdf7;
  --raised:#efe6cf;
}

/* Cut-out letters (same construction as the homepage title:
   per-letter spans, alternating purple/blue, rough filter). */
.tfp-cutout{
  display:flex;flex-wrap:wrap;justify-content:center;
  column-gap:.28em;row-gap:.04em;
  font-family:"Archivo Black","Arial Black",Arial,sans-serif;
  line-height:.98;letter-spacing:.005em;
}
.tfp-word{display:inline-flex;flex-wrap:wrap;justify-content:center;column-gap:.045em}
.tfp-l{display:inline-block;transform:rotate(var(--r,0deg));filter:url(#pc-rough) drop-shadow(2px 3px 1px rgba(74,58,28,.22))}
.tfp-p{color:#7b2ff7}
.tfp-b{color:#2456ff}

/* Washi tape strip (pseudo-element on positioned parents) */
.tfp-tapeable{position:relative}
.tfp-tape{
  position:absolute;top:-11px;left:26px;width:104px;height:30px;z-index:3;
  background:rgba(167,139,250,.55);
  background-image:linear-gradient(100deg,rgba(255,255,255,.28),rgba(255,255,255,0) 55%);
  box-shadow:0 1px 3px rgba(74,58,28,.25);
  transform:rotate(-4deg);
  clip-path:polygon(1% 12%,98% 0%,100% 82%,0% 100%);
  pointer-events:none;
}

/* Paper tag (room tags, bylines, dates) */
.tfp-tag{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  font-size:13px;letter-spacing:1.6px;text-transform:uppercase;
  color:#26221c;background:#efe6cf;
  padding:6px 12px 5px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  filter:drop-shadow(0 2px 3px rgba(74,58,28,.25));
}

/* Purple pill (READ IN FULL, Request to join, AI HOST) */
.tfp-pill{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  font-size:14px;letter-spacing:1.6px;text-transform:uppercase;
  color:#fffdf7;background:#7b2ff7;
  padding:8px 18px 7px;border-radius:999px;
  box-shadow:3px 3px 0 #26221c;
  text-decoration:none;
}
a.tfp-pill:hover,a.tfp-pill:focus-visible{background:#6d28e0;color:#fffdf7}
a.tfp-pill:focus-visible{outline:3px solid #26221c;outline-offset:3px}

/* ============================================================
   04 — Archive listings: paper cards (mock 04)
   ============================================================ */
.tfp-arch-head{text-align:center;margin:10px 0 6px}
.tfp-arch-head .tf-eyebrow{margin-bottom:14px}
.tfp-arch-title{
  margin:0;
  font-size:clamp(40px,7.2vw,88px);
}
.tfp-arch-title .tfp-cutout{font-size:inherit}
.tfp-arch-strip{
  display:inline-block;margin:20px auto 4px;max-width:640px;
  font-family:"Special Elite","Courier New",monospace;
  font-size:clamp(13px,1.6vw,16px);letter-spacing:1.2px;text-transform:uppercase;
  color:#26221c;background:#f3e9d2;
  padding:12px 26px 11px;
  clip-path:var(--torn-b);
  filter:drop-shadow(0 4px 6px rgba(74,58,28,.25));
  transform:rotate(-.5deg);
}

.tf-board{
  display:grid;grid-template-columns:1fr 1fr;
  gap:34px 30px;margin-top:36px;align-items:start;
}
.tf-card{
  position:relative;
  background:linear-gradient(180deg,#fbf7ea,#f6efdd);
  padding:30px 30px 26px;
  filter:drop-shadow(0 8px 10px rgba(74,58,28,.28));
  transition:transform .18s ease;
}
.tf-card:nth-child(odd){clip-path:var(--torn-a);transform:rotate(-.7deg)}
.tf-card:nth-child(even){clip-path:var(--torn-b);transform:rotate(.6deg)}
.tf-card:hover{transform:rotate(0deg) translateY(-3px)}
.tf-card::before{ /* washi tape */
  content:"";position:absolute;top:-10px;left:24px;width:96px;height:28px;z-index:3;
  background:rgba(167,139,250,.55);
  background-image:linear-gradient(100deg,rgba(255,255,255,.28),rgba(255,255,255,0) 55%);
  box-shadow:0 1px 3px rgba(74,58,28,.25);
  transform:rotate(-5deg);
  clip-path:polygon(1% 12%,98% 0%,100% 82%,0% 100%);
}
.tf-card:nth-child(3n)::before{left:auto;right:24px;transform:rotate(4deg);background:rgba(227,213,175,.85)}
.tf-card .tf-room{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  font-size:12px;letter-spacing:1.8px;text-transform:uppercase;
  background:#efe6cf;color:#26221c;padding:5px 10px 4px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
}
.tf-card .tf-card-title{
  font-family:"Playfair Display",Georgia,serif;
  font-weight:600;font-size:clamp(24px,2.6vw,32px);line-height:1.15;
  margin:14px 0 8px;
}
.tf-card .tf-card-title a{color:#26221c;text-decoration:none}
.tf-card .tf-card-title a:hover,.tf-card .tf-card-title a:focus-visible{color:#6d28e0;text-decoration:underline}
.tf-card .tf-meta{
  font-family:"Special Elite","Courier New",monospace;
  font-size:13.5px;letter-spacing:1px;text-transform:uppercase;color:#4c463c;
}
.tf-card .tf-dek{margin-top:10px;color:#4c463c}
.tfp-readfull{margin-top:18px}
.tf-card .tfp-sticker{
  position:absolute;right:20px;bottom:16px;line-height:0;pointer-events:none;
  filter:drop-shadow(0 2px 2px rgba(74,58,28,.3));
}

/* ============================================================
   03 — Article sheet (mock 03)
   ============================================================ */
.tf-article{
  position:relative;
  background:linear-gradient(180deg,#fbf7ea,#f6efdd);
  clip-path:var(--torn-sheet);
  filter:drop-shadow(0 12px 16px rgba(74,58,28,.30));
  padding:clamp(30px,5vw,64px) clamp(22px,5.5vw,72px) clamp(38px,5vw,64px);
  margin-top:14px;
}
.tf-article::before,.tf-article::after{ /* tape on the sheet's top corners */
  content:"";position:absolute;top:6px;width:112px;height:32px;z-index:3;
  background:rgba(227,213,175,.85);
  background-image:linear-gradient(100deg,rgba(255,255,255,.3),rgba(255,255,255,0) 55%);
  box-shadow:0 1px 3px rgba(74,58,28,.25);
  clip-path:polygon(1% 12%,98% 0%,100% 82%,0% 100%);
}
.tf-article::before{left:4%;transform:rotate(-38deg)}
.tf-article::after{right:4%;transform:rotate(34deg)}
.tf-article .tf-eyebrow{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:1.6px;
  background:#efe6cf;padding:6px 12px 5px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  filter:drop-shadow(0 2px 3px rgba(74,58,28,.25));
}
.tf-article h1.tfp-article-title{
  margin:20px 0 0;text-align:center;
  font-size:clamp(34px,5.6vw,68px);line-height:1;
}
.tf-article h1.tfp-article-title .tfp-cutout{font-size:inherit}
.tfp-subtitle{
  display:block;margin:18px auto 0;max-width:620px;text-align:center;
  font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:600;
  font-size:clamp(19px,2.4vw,26px);color:#26221c;
  background:#f3e9d2;padding:10px 24px;
  clip-path:var(--torn-a);
  filter:drop-shadow(0 4px 6px rgba(74,58,28,.22));
  transform:rotate(-.4deg);
}
.tf-article .tf-byline{
  display:table;margin:20px auto 0;
  font-family:"Special Elite","Courier New",monospace;
  font-size:13.5px;letter-spacing:1.4px;text-transform:uppercase;color:#26221c;
  background:#efe6cf;padding:7px 14px 6px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  filter:drop-shadow(0 2px 3px rgba(74,58,28,.25));
}
.tf-article .tf-sub{
  text-align:center;font-family:"Playfair Display",Georgia,serif;font-style:italic;
  font-size:19px;color:#4c463c;max-width:620px;margin:16px auto 0;
}
/* Talking With Machines disclosure -> lavender strip (as mock 02's) */
.tf-article .tf-disclosure{
  background:#d9cff0;color:#26221c;
  font-family:"Special Elite","Courier New",monospace;
  font-size:15px;line-height:1.55;
  padding:14px 20px 13px;margin:28px 0 6px;
  clip-path:var(--torn-b);
  filter:drop-shadow(0 4px 6px rgba(74,58,28,.22));
  transform:rotate(-.4deg);
}
/* Taped plates for images inside the piece; captions as lavender tags */
.tf-article .tf-body img{
  background:#fffdf7;padding:10px 10px 12px;
  box-shadow:0 8px 14px rgba(74,58,28,.30);
  max-width:100%;height:auto;
}
.tf-article .tf-body .wp-caption{
  background:#fffdf7;padding:10px 10px 12px;
  box-shadow:0 8px 14px rgba(74,58,28,.30);
  max-width:100%;
}
.tf-article .tf-body .wp-caption img{background:none;padding:0;box-shadow:none}
.tf-article .tf-body .wp-caption-text{
  display:table;margin:10px auto 2px;
  font-family:"Special Elite","Courier New",monospace;
  font-size:12.5px;letter-spacing:1px;text-transform:uppercase;color:#26221c;
  background:#d9cff0;padding:6px 12px 5px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
}

/* ============================================================
   Working text pages — the article sheet (mock 03 language)
   ============================================================ */
.tfp-sheet{
  position:relative;
  background:linear-gradient(180deg,#fbf7ea,#f6efdd);
  clip-path:var(--torn-sheet);
  filter:drop-shadow(0 12px 16px rgba(74,58,28,.30));
  padding:clamp(30px,5vw,58px) clamp(22px,5.5vw,68px) clamp(38px,5vw,58px);
  margin-top:14px;
}
.tfp-sheet::before,.tfp-sheet::after{
  content:"";position:absolute;top:6px;width:112px;height:32px;z-index:3;
  background:rgba(227,213,175,.85);
  background-image:linear-gradient(100deg,rgba(255,255,255,.3),rgba(255,255,255,0) 55%);
  box-shadow:0 1px 3px rgba(74,58,28,.25);
  clip-path:polygon(1% 12%,98% 0%,100% 82%,0% 100%);
}
.tfp-sheet::before{left:4%;transform:rotate(-38deg)}
.tfp-sheet::after{right:4%;transform:rotate(34deg)}
.tfp-sheet .tf-eyebrow{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:1.6px;
  background:#efe6cf;padding:6px 12px 5px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  filter:drop-shadow(0 2px 3px rgba(74,58,28,.25));
}
.tfp-sheet h1.tfp-page-title{
  margin:18px 0 8px;text-align:center;
  font-size:clamp(36px,6vw,72px);line-height:1;
}
.tfp-sheet h1.tfp-page-title .tfp-cutout{font-size:inherit}

/* ============================================================
   05 — Locked Drawer door (category 10 archive only)
   ============================================================ */
.tfp-door{margin:18px auto 8px;max-width:880px}
.tfp-folder{
  position:relative;
  background:linear-gradient(165deg,#e6c68c,#dcb87a 52%,#cfa75e);
  clip-path:polygon(0% 4%,12% 4%,16% 1%,38% 1%,42% 4%,98% 3%,100% 10%,99% 55%,100% 92%,96% 100%,55% 99%,12% 100%,1% 98%,0% 60%,1% 25%);
  filter:drop-shadow(0 14px 18px rgba(74,58,28,.35));
  padding:clamp(34px,6vw,64px) clamp(24px,6vw,72px) clamp(36px,5vw,56px);
  text-align:center;
}
.tfp-folder::before,.tfp-folder::after{ /* the stack of folders behind */
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(165deg,#dcc08a,#d2af6d);
  clip-path:polygon(0% 4%,12% 4%,16% 1%,38% 1%,42% 4%,98% 3%,100% 10%,99% 55%,100% 92%,96% 100%,55% 99%,12% 100%,1% 98%,0% 60%,1% 25%);
}
.tfp-folder::before{transform:rotate(-1.6deg) translate(-10px,8px)}
.tfp-folder::after{transform:rotate(1.3deg) translate(11px,10px);background:linear-gradient(165deg,#e2c184,#d6b26e)}
.tfp-door-title{
  margin:8px 0 0;font-size:clamp(40px,8vw,96px);line-height:1;
}
.tfp-door-title .tfp-cutout{font-size:inherit}
.tfp-stamp-classified{
  position:absolute;top:clamp(16px,3.4vw,34px);right:clamp(14px,3.4vw,36px);
  width:clamp(92px,13vw,128px);height:clamp(92px,13vw,128px);
  display:flex;align-items:center;justify-content:center;
  border:4px double #7b2ff7;border-radius:50%;
  color:#7b2ff7;
  font-family:"Special Elite","Courier New",monospace;
  font-size:clamp(13px,1.7vw,17px);letter-spacing:1.6px;text-transform:uppercase;
  transform:rotate(10deg);
  filter:url(#pc-rough-sm);
  opacity:.92;pointer-events:none;
}
.tfp-redact{
  display:block;width:82%;height:30px;margin:30px auto 6px;
  background:#141210;transform:rotate(-.6deg);
  clip-path:polygon(0% 18%,12% 4%,30% 12%,52% 0%,74% 10%,90% 2%,100% 14%,99% 60%,100% 88%,84% 97%,60% 90%,38% 100%,16% 92%,2% 100%,0% 70%);
  filter:url(#pc-rough-sm);
}
.tfp-form-label{
  position:absolute;left:clamp(16px,3.4vw,38px);bottom:clamp(16px,3vw,30px);
  font-family:"Special Elite","Courier New",monospace;
  font-size:12.5px;letter-spacing:1.4px;text-transform:uppercase;color:#3a352c;
  background:rgba(246,239,221,.85);padding:6px 11px 5px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  transform:rotate(-1.5deg);
}
.tfp-tags{display:flex;gap:16px;justify-content:center;margin-top:28px;flex-wrap:wrap}
.tfp-hangtag{
  font-family:"Special Elite","Courier New",monospace;
  font-size:13.5px;letter-spacing:1.6px;text-transform:uppercase;color:#26221c;
  background:#d9cff0;padding:12px 16px 10px;
  clip-path:polygon(8% 0%,92% 3%,100% 22%,98% 88%,75% 100%,22% 97%,0% 85%,2% 20%);
  filter:drop-shadow(0 4px 5px rgba(74,58,28,.3));
}
.tfp-hangtag:first-child{transform:rotate(-2.5deg)}
.tfp-hangtag:last-child{transform:rotate(2deg)}
.tfp-door-heart{position:absolute;right:clamp(18px,4vw,44px);bottom:clamp(38px,6vw,58px);line-height:0;filter:drop-shadow(0 2px 2px rgba(74,58,28,.3))}
.tfp-door-foot{
  display:flex;align-items:center;justify-content:space-between;gap:22px;
  flex-wrap:wrap;margin-top:30px;
}
.tfp-door-note{
  font-family:"Special Elite","Courier New",monospace;
  font-size:14.5px;line-height:1.6;letter-spacing:.4px;color:#26221c;
  background:#f3e9d2;padding:12px 20px 11px;margin:0;max-width:480px;
  clip-path:var(--torn-b);
  filter:drop-shadow(0 4px 6px rgba(74,58,28,.22));
  transform:rotate(-.5deg);
}
.tfp-door-foot .tfp-pill{font-size:16px;padding:13px 24px 12px}

/* ============================================================
   01 + 02 — Forums (Common Room)
   Scoped to the forum body class the parent sets (page-key-forum),
   which covers /forum/, /forums/, the public room + topic views,
   and the native bbPress singles.
   ============================================================ */
.tfp-forum-head{text-align:center;margin:6px 0 26px}
.tfp-forum-head .tfp-cutout{font-size:clamp(42px,6.4vw,84px)}
.tfp-forum-sub{
  display:inline-block;margin:16px 0 0;
  font-family:"Special Elite","Courier New",monospace;
  font-size:15px;letter-spacing:3px;text-transform:uppercase;color:#26221c;
  border-top:2px solid #7b2ff7;border-bottom:2px solid #7b2ff7;
  padding:7px 18px 6px;
}
body.page-key-forum .hero-panel{
  clip-path:var(--torn-plate);
  filter:drop-shadow(0 10px 14px rgba(74,58,28,.28));
  padding-top:30px;
}
body.page-key-forum .hero-kicker,
body.page-key-forum .section-kicker{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:1.8px;
  background:#efe6cf;color:#26221c;padding:5px 11px 4px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
}
/* Public room/topic hero titles: display treatment (the parent
   renders these views itself, so the cut-out letters live in the
   child-template singles + the index head; here the title wears
   the same Archivo Black voice in solid purple). */
body.page-key-forum .thefayth-public-forum .hero-title{
  font-family:"Archivo Black","Arial Black",Arial,sans-serif;
  text-transform:uppercase;
  font-size:clamp(28px,4.4vw,54px);line-height:1.04;letter-spacing:.01em;
  color:#7b2ff7;
  text-shadow:2px 3px 0 rgba(74,58,28,.18);
}
body.page-key-forum .living-grid--bbs .hero-title{
  font-family:"Playfair Display",Georgia,serif;font-weight:600;
}
/* Native single (child template): cut-out hero title */
h1.tfp-topic-title{margin:0;font-size:clamp(30px,4.6vw,56px);line-height:1.02}
h1.tfp-topic-title .tfp-cutout{font-size:inherit;justify-content:flex-start}
h1.tfp-topic-title .tfp-word{justify-content:flex-start}

/* Room cards -> torn paper scraps with tape (mock 01) */
.bbs-room-grid{gap:26px 22px}
.bbs-room-card{
  position:relative;
  background:linear-gradient(180deg,#fbf7ea,#f6efdd) !important;
  border:1px solid rgba(38,34,28,.16) !important;
  padding:24px 22px 20px !important;
  filter:drop-shadow(0 7px 9px rgba(74,58,28,.28));
  transition:transform .18s ease;
}
.bbs-room-card:nth-child(odd){clip-path:var(--torn-a);transform:rotate(-.7deg)}
.bbs-room-card:nth-child(even){clip-path:var(--torn-b);transform:rotate(.6deg)}
.bbs-room-card:hover,.bbs-room-card:focus-visible{transform:rotate(0deg) translateY(-3px)}
.bbs-room-card::before{
  content:"";position:absolute;top:-9px;left:20px;width:88px;height:26px;z-index:3;
  background:rgba(167,139,250,.6);
  background-image:linear-gradient(100deg,rgba(255,255,255,.28),rgba(255,255,255,0) 55%);
  box-shadow:0 1px 3px rgba(74,58,28,.25);
  transform:rotate(-5deg);
  clip-path:polygon(1% 12%,98% 0%,100% 82%,0% 100%);
}
.bbs-room-card:nth-child(3n)::before{left:auto;right:20px;transform:rotate(4deg)}
.bbs-room-card::after{ /* star sticker on some scraps */
  content:"★";position:absolute;right:16px;bottom:10px;
  color:#7b2ff7;font-size:19px;line-height:1;
  filter:drop-shadow(0 2px 2px rgba(74,58,28,.3));
}
.bbs-room-card:nth-child(3n)::after{content:"♥";color:#f191b2}
.bbs-room-card:nth-child(4n)::after{content:""}
.bbs-room-card h3{
  font-family:"Special Elite","Courier New",monospace !important;
  font-size:20px !important;line-height:1.25;letter-spacing:.4px;
  text-transform:uppercase;color:#26221c;
}
.bbs-room-card__code{
  font-family:"Special Elite","Courier New",monospace;
  font-size:11.5px;letter-spacing:1.6px;color:#4c463c;
  border:1.5px solid rgba(38,34,28,.55);border-radius:3px;
  padding:2px 7px 1px;transform:rotate(-2deg);display:inline-block;
}
.bbs-room-card__label{
  font-family:"Special Elite","Courier New",monospace;
  font-size:11.5px;letter-spacing:1.6px;text-transform:uppercase;color:#6d28e0;
}
.bbs-room-card p{color:#4c463c}
.bbs-room-card__prompt{color:#6d6350 !important}

/* Board stats -> paper tags */
.bbs-stat{
  clip-path:var(--torn-b);
  filter:drop-shadow(0 4px 6px rgba(74,58,28,.22));
  padding:16px 12px 14px !important;
}
.bbs-stat strong{
  font-family:"Archivo Black","Arial Black",Arial,sans-serif;
  color:#7b2ff7;font-size:26px;
}
.bbs-stat span{font-family:"Special Elite","Courier New",monospace;letter-spacing:.6px}

/* Thread + prompt + lane cards in the same paper */
.starter-thread-card,.route-link-card,.language-card,.ai-feature-card,.protocol-card{
  position:relative;
  clip-path:var(--torn-a);
  filter:drop-shadow(0 6px 8px rgba(74,58,28,.24));
}
.route-link-card:nth-child(even),.starter-thread-card:nth-child(even){clip-path:var(--torn-b)}
.route-link-card__label,.starter-thread-card__meta,.ai-feature-card__meta .status-pill,.status-pill{
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:1.2px;
}
.status-pill{
  background:#d9cff0 !important;color:#26221c !important;
  border-radius:999px;padding:4px 11px 3px !important;
}

/* Post cards (mock 02): the topic's article panels become sheets */
body.page-key-forum .thefayth-public-forum article.section-panel,
body.page-key-forum .thefayth-public-forum article.surface-card{
  position:relative;
  clip-path:var(--torn-sheet);
  filter:drop-shadow(0 9px 12px rgba(74,58,28,.26));
}
body.page-key-forum .thefayth-public-forum article.surface-card{
  background:linear-gradient(180deg,#fffdf7,#fbf7ea) !important;
  margin:18px 0;padding:22px 24px;
}
/* Author tag + pills */
.thefayth-public-forum__author .section-title{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace !important;
  font-size:19px !important;letter-spacing:.6px;
  background:#efe6cf;color:#26221c;padding:7px 13px 6px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  filter:drop-shadow(0 2px 3px rgba(74,58,28,.25));
}
.thefayth-forum-identity__badge{
  font-family:"Special Elite","Courier New",monospace;
  font-size:12px;letter-spacing:1.4px;text-transform:uppercase;
  border-radius:999px;padding:6px 13px 5px !important;
  border:1.5px solid rgba(38,34,28,.5);
  background:#efe6cf;color:#26221c;
  box-shadow:2px 2px 0 rgba(38,34,28,.8);
}
.thefayth-forum-identity__badge--ai{
  background:#7b2ff7 !important;color:#fffdf7 !important;border-color:#26221c;
}
.thefayth-forum-identity__badge--reviewed{background:#d9cff0 !important}
/* The AI disclosure as a lavender strip (mock 02) */
.thefayth-forum-ai-disclosure{
  background:#d9cff0 !important;color:#26221c !important;
  border:none !important;border-radius:0 !important;
  font-family:"Special Elite","Courier New",monospace;
  font-size:14.5px;line-height:1.55;
  padding:13px 18px 12px !important;margin:16px 0 18px;
  clip-path:var(--torn-b);
  filter:drop-shadow(0 4px 6px rgba(74,58,28,.22));
  transform:rotate(-.4deg);
}
/* Back-to-room + report actions as paper tags/pills */
body.page-key-forum .thefayth-public-forum > p.body-copy a{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  font-size:13px;letter-spacing:1.2px;text-transform:uppercase;
  background:#efe6cf;color:#26221c;padding:7px 13px 6px;text-decoration:none;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
  filter:drop-shadow(0 2px 3px rgba(74,58,28,.25));
}
.thefayth-forum-report-button{
  font-family:"Special Elite","Courier New",monospace;
  font-size:12px;letter-spacing:1.4px;text-transform:uppercase;
  border:1.5px solid rgba(38,34,28,.55);border-radius:999px;
  padding:5px 13px 4px;color:#4c463c !important;text-decoration:none;
}

/* ============================================================
   Listing-style working pages: Newsroom + Living Archive
   ============================================================ */
body.is-newsroom-surface .surface-card,
body.is-newsroom-surface .newsroom-story-card{
  position:relative;
  clip-path:var(--torn-a);
  filter:drop-shadow(0 7px 9px rgba(74,58,28,.26));
}
body.is-newsroom-surface .surface-card:nth-child(even){clip-path:var(--torn-b)}
body.is-newsroom-surface .hero-panel{
  clip-path:var(--torn-plate);
  filter:drop-shadow(0 10px 14px rgba(74,58,28,.28));
}
body.is-newsroom-surface .hero-kicker,
body.is-newsroom-surface .section-kicker,
body.fayth-archive-page .fayth-kicker{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:1.8px;
  background:#efe6cf;color:#26221c;padding:5px 11px 4px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
}
/* The story card is a grid whose rows stretch with the card; left to
   stretch, the kicker tag paints as a tall blank plate and its text
   clips away. Keep the tag at its own size (found 2026-11-24). */
body.is-newsroom-surface .surface-card>.section-kicker{
  align-self:start;justify-self:start;
}
body.fayth-archive-page .fayth-archive__intro h1{
  font-family:"Archivo Black","Arial Black",Arial,sans-serif;
  text-transform:uppercase;color:#7b2ff7;
  font-size:clamp(34px,5.6vw,64px);line-height:1.02;
  text-shadow:2px 3px 0 rgba(74,58,28,.16);
}
body.fayth-archive-page .fayth-archive__entry{
  position:relative;
  background:linear-gradient(180deg,#fbf7ea,#f6efdd);
  clip-path:var(--torn-a);
  filter:drop-shadow(0 7px 9px rgba(74,58,28,.26));
  padding:28px 30px 24px;margin:0 0 30px;
}
body.fayth-archive-page .fayth-archive__entry:nth-child(even){clip-path:var(--torn-b)}
body.fayth-archive-page .fayth-archive__entry::before{
  content:"";position:absolute;top:-9px;left:24px;width:88px;height:26px;z-index:3;
  background:rgba(167,139,250,.55);
  background-image:linear-gradient(100deg,rgba(255,255,255,.28),rgba(255,255,255,0) 55%);
  box-shadow:0 1px 3px rgba(74,58,28,.25);
  transform:rotate(-5deg);
  clip-path:polygon(1% 12%,98% 0%,100% 82%,0% 100%);
}
body.fayth-archive-page .fayth-archive__date{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  font-size:12.5px;letter-spacing:1.4px;text-transform:uppercase;
  background:#d9cff0;color:#26221c;padding:5px 11px 4px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
}
body.fayth-archive-page .fayth-archive__entry h3{
  font-family:"Playfair Display",Georgia,serif;font-weight:600;
  font-size:clamp(21px,2.3vw,27px);line-height:1.2;
}

/* ============================================================
   Remove-listing: the form panel wears a paper sheet.
   (Scoped to this page's own classes; the file never loads on
   the three map routes themselves.)
   ============================================================ */
main.remove-listing .rl-panel{
  position:relative;
  background:linear-gradient(180deg,#fbf7ea,#f6efdd);
  clip-path:var(--torn-sheet);
  filter:drop-shadow(0 10px 14px rgba(74,58,28,.28));
  padding:clamp(26px,4vw,44px);
}
main.remove-listing .rapetrail-intro__name{
  display:inline-block;
  font-family:"Special Elite","Courier New",monospace;
  letter-spacing:1.6px;
  background:#efe6cf;color:#26221c;padding:6px 12px 5px;
  clip-path:polygon(1% 18%,30% 2%,68% 6%,99% 0%,100% 76%,76% 98%,38% 100%,2% 94%,0% 55%);
}

/* ---------- Small screens: one column, nothing covered ---------- */
@media (max-width:860px){
  /* Phone: the sheets' corner tapes must never sit on the room
     tag (the 2026-11-16 lesson). Smaller tapes, and the sheet's
     top padding grows so the tag starts below them. */
  .tf-article,.tfp-sheet{padding-top:58px}
  .tf-article::before,.tf-article::after,
  .tfp-sheet::before,.tfp-sheet::after{width:84px;height:24px;top:4px}
  .tf-board{grid-template-columns:1fr;gap:28px}
  /* Phone: the board leads — title + room index first, the rails
     stack after it. DOM order is left rail, main, right rail, and
     the parent's one-column collapse buried the board under the
     Recall Protocols rail (found 2026-11-24). */
  .living-grid--bbs>.living-main{order:1}
  .living-grid--bbs>.living-rail--left{order:2}
  .living-grid--bbs>.living-rail--right{order:3}
  .tf-card{transform:rotate(0deg)}
  .tf-card:nth-child(even){transform:rotate(0deg)}
  .tfp-arch-title{font-size:clamp(34px,11.5vw,54px)}
  .tfp-forum-head .tfp-cutout{font-size:clamp(36px,12vw,58px)}
  .tfp-door-title{font-size:clamp(36px,12.5vw,60px)}
  .tfp-door-foot{flex-direction:column;align-items:flex-start}
  .tfp-stamp-classified{position:relative;top:auto;right:auto;margin:14px auto 0}
  .tfp-form-label{position:static;display:inline-block;margin-top:22px}
  .bbs-room-card{transform:rotate(0deg)}
  .bbs-room-card:nth-child(even){transform:rotate(0deg)}
  .tf-article h1.tfp-article-title{font-size:clamp(28px,9vw,44px)}
  .tfp-sheet h1.tfp-page-title{font-size:clamp(30px,10vw,48px)}
  h1.tfp-topic-title{font-size:clamp(26px,8.6vw,40px)}
  h1.tfp-topic-title .tfp-cutout{justify-content:center}
  h1.tfp-topic-title .tfp-word{justify-content:center}
}
@media (prefers-reduced-motion:reduce){
  .tf-card,.bbs-room-card{transition:none}
}
