/* ============================================================
   crypt.css — The Crypt dark horror mode styles
   Uses the existing [data-realm="dread"] token system from
   tokens.css (near-black bg, blood-red accent, grain texture,
   vignette). This file adds only Crypt-specific component styles.
   All colors reference --ink / --ink-dim / --ink-faint / --accent
   from the dread realm tokens.
   ============================================================ */

/* ---- Content warning gate ---- */
.crypt-gate {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #050303;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  transition: opacity .6s ease, visibility .6s ease;
}
.crypt-gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.crypt-gate-box {
  max-width: 560px; text-align: center;
  border: 1px solid rgba(192,32,31,.45);
  background: #0e0808;
  padding: 2.8rem 2.2rem;
  border-radius: 2px;
  box-shadow: 0 0 80px -20px rgba(192,32,31,.35), inset 0 0 40px -10px rgba(0,0,0,.6);
}
.crypt-gate-box h2 {
  font-family: 'Oswald', sans-serif;
  color: #c0201f;
  font-size: 1.5rem;
  margin: 0 0 1.2rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.crypt-gate-box .warning-list {
  list-style: none; padding: 0; margin: 0; text-align: left;
}
.crypt-gate-box .warning-list li {
  margin-bottom: .6rem;
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: #b8b0ac;
  line-height: 1.55;
}
.crypt-gate-box .warning-list strong { color: #c0201f; }
.crypt-gate-buttons {
  display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* ---- Standalone Crypt navigation bar ---- */
.crypt-nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(7,6,6,.88);
  border-bottom: 1px solid rgba(192,32,31,.22);
}
.crypt-nav-in {
  max-width: var(--maxw); margin: 0 auto;
  padding: .7rem var(--pad);
  display: flex; align-items: center; gap: 1rem;
}
.crypt-nav-brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Oswald', sans-serif;
  font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: #c0201f; font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}
.crypt-nav-brand:hover { color: #ff5a4d; }
.crypt-nav-brand .crypt-sigil {
  font-size: 1.1rem; line-height: 1;
}
.crypt-nav-links {
  display: flex; gap: 0; margin-left: auto; align-items: center;
}
.crypt-nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: .62rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8180;
  padding: .5rem .6rem;
  font-weight: 400;
  white-space: nowrap;
  text-decoration: none;
  transition: color .15s;
}
.crypt-nav-links a:hover { color: #ded7d3; }
.crypt-nav-links a.on { color: #c0201f; }
.crypt-nav-links a.crypt-exit {
  color: #5b5453;
  border-left: 1px solid rgba(255,255,255,.08);
  margin-left: .3rem;
  padding-left: 1rem;
}
.crypt-nav-links a.crypt-exit:hover { color: #c9a227; }
.crypt-nav-toggle {
  display: none;
  background: none; border: 1px solid rgba(192,32,31,.25);
  color: #ded7d3; border-radius: 1px;
  padding: .4rem .7rem; margin-left: auto;
  cursor: pointer; font-size: 1rem;
}
@media (max-width: 860px) {
  .crypt-nav-toggle { display: block; }
  .crypt-nav-links {
    display: none; width: 100%;
    flex-direction: column; align-items: stretch;
    margin: 0; padding-top: .4rem;
  }
  .crypt-nav-links.open { display: flex; padding-bottom: .6rem; }
  .crypt-nav-links a {
    padding: .7rem .2rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .crypt-nav-links a.crypt-exit {
    border-left: none; border-top: 1px solid rgba(192,32,31,.2);
    margin-left: 0; padding-left: .2rem; margin-top: .3rem;
  }
  .crypt-nav-in { flex-wrap: wrap; }
}

/* ---- Hero ---- */
.crypt-hero h1 {
  animation: crypt-flicker 5s infinite;
  text-shadow: 0 0 24px rgba(192,32,31,.4), 0 0 50px rgba(192,32,31,.15);
}
@keyframes crypt-flicker {
  0%, 100% { opacity: 1; }
  90% { opacity: 1; }
  91% { opacity: 0.3; }
  92% { opacity: 1; }
  93% { opacity: 0.6; }
  94% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
}

/* ---- Feature tabs ---- */
.crypt-tabs {
  display: flex; gap: .4rem; flex-wrap: wrap;
  border-bottom: 1px solid rgba(192,32,31,.18);
  margin: 0 0 2rem;
  padding-bottom: 0;
}
.crypt-tab {
  font-family: 'Oswald', sans-serif;
  font-size: .62rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: #5b5453;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: .7rem 1rem;
  transition: color .15s, border-color .15s;
  font-weight: 400;
}
.crypt-tab:hover { color: #8a8180; }
.crypt-tab.active {
  color: #c0201f;
  border-bottom-color: #c0201f;
}
.crypt-tab-panel { display: none; }
.crypt-tab-panel.active { display: block; }

/* ---- Two-sentence horror wall ---- */
.horror-wall { display: flex; flex-direction: column; gap: 1rem; }
.horror-story-card {
  border: 1px solid rgba(192,32,31,.14);
  border-left: 3px solid #6e0f0f;
  border-radius: 2px;
  padding: 1.2rem 1.4rem;
  background: rgba(255,255,255,.02);
  transition: border-left-color .2s;
}
.horror-story-card:hover { border-left-color: #c0201f; }
.horror-story-card.mine { border-left-color: #c9a227; }
.horror-story-head {
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: .7rem;
}
.coven-avatar.sm {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, #6e0f0f, #c0201f);
  display: grid; place-items: center;
  font-size: .9rem; color: #070606; flex-shrink: 0;
}
.horror-story-author {
  font-family: 'Oswald', sans-serif;
  font-size: .68rem; letter-spacing: .1em;
  color: #8a8180; text-transform: uppercase;
}
.horror-story-time {
  font-family: 'Oswald', sans-serif;
  font-size: .58rem; letter-spacing: .08em;
  color: #5b5453;
  margin-left: auto;
}
.horror-story-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem; line-height: 1.65;
  color: #c4b8b0; font-style: italic;
  margin: 0 0 .7rem;
  white-space: pre-wrap;
}
.horror-story-foot {
  display: flex; align-items: center; gap: 1rem;
}
.horror-react-btn {
  font-family: 'Oswald', sans-serif;
  font-size: .58rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: #5b5453; cursor: pointer;
  background: none;
  border: 1px solid rgba(192,32,31,.14);
  padding: .3rem .8rem; border-radius: 1px;
  transition: all .15s;
}
.horror-react-btn:hover { border-color: #c0201f; color: #c0201f; }
.horror-react-btn.reacted {
  border-color: #c0201f; color: #c0201f;
  background: rgba(192,32,31,.08);
}
.horror-story-del {
  font-family: 'Oswald', sans-serif;
  font-size: .55rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: #5b5453; cursor: pointer;
  background: none; border: none;
  transition: color .15s;
}
.horror-story-del:hover { color: #d63030; }

/* Horror composer */
.horror-composer textarea {
  width: 100%;
  background: #0e0c0c;
  border: 1px solid rgba(192,32,31,.18);
  border-radius: 2px;
  padding: .9rem 1.1rem;
  color: #c4b8b0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem; font-style: italic;
  min-height: 80px; resize: vertical;
}
.horror-composer textarea:focus { border-color: #c0201f; outline: none; }
.horror-composer textarea::placeholder { color: #5b5453; font-style: italic; }

/* ---- Horror recommendations (The Shelf) ---- */
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.rec-card {
  border: 1px solid rgba(192,32,31,.14);
  border-radius: 2px;
  padding: 1.3rem;
  background: rgba(255,255,255,.025);
  display: flex; flex-direction: column; gap: .6rem;
  transition: border-color .2s, transform .2s;
}
.rec-card:hover { border-color: #c0201f; transform: translateY(-2px); }
.rec-emoji { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.rec-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; margin: 0;
  letter-spacing: .03em; color: #ded7d3;
}
.rec-mood-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .54rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0201f;
  border: 1px solid rgba(192,32,31,.35);
  padding: .18rem .55rem; border-radius: 1px;
  align-self: flex-start;
}
.rec-blurb {
  font-family: 'Inter', sans-serif;
  font-size: .88rem; line-height: 1.55;
  color: #8a8180; flex: 1;
}
.rec-stars { display: flex; gap: 3px; }
.rec-star {
  font-size: 1.15rem; cursor: pointer;
  color: rgba(255,255,255,.12);
  transition: color .1s; user-select: none;
}
.rec-star:hover, .rec-star.active { color: #c9a227; }
.rec-avg {
  font-family: 'Oswald', sans-serif;
  font-size: .58rem; letter-spacing: .1em;
  color: #5b5453;
}

/* ---- Choose-your-own horror stories ---- */
.story-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.story-card {
  border: 1px solid rgba(192,32,31,.14);
  border-radius: 2px;
  padding: 1.5rem;
  background: rgba(255,255,255,.025);
  text-align: center;
  transition: border-color .2s;
}
.story-card:hover { border-color: #c0201f; }
.story-card-emoji { font-size: 2.2rem; display: block; margin-bottom: .6rem; }
.story-card h3 { font-size: 1rem; color: #ded7d3; margin-bottom: .3rem; }
.story-card-stats {
  font-size: .7rem !important; color: #5b5453 !important;
  margin: .3rem 0 .9rem !important;
}
.story-scene { max-width: 680px; }
.story-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; line-height: 1.75;
  color: #c4b8b0; margin-bottom: 1.6rem;
}
.story-choices {
  display: flex; flex-direction: column; gap: .6rem;
  max-width: 500px;
}
.story-choice {
  text-align: left !important;
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1rem !important;
  padding: .8rem 1.1rem !important;
  color: #b8b0ac !important;
}
.story-choice:hover { color: #c0201f !important; border-color: #c0201f !important; }
.story-ending {
  padding: 1.6rem; border-radius: 2px; text-align: center;
  margin: 1.2rem 0;
}
.ending-survive {
  background: rgba(126,138,106,.08);
  border: 1px solid rgba(126,138,106,.25);
}
.ending-death {
  background: rgba(192,32,31,.08);
  border: 1px solid rgba(192,32,31,.4);
}
.ending-madness {
  background: rgba(100,60,120,.08);
  border: 1px solid rgba(100,60,120,.25);
}
.ending-emoji { font-size: 2.2rem; display: block; margin-bottom: .5rem; }
.ending-label {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem; letter-spacing: .12em;
  text-transform: uppercase;
}
.ending-survive .ending-label { color: #7e8a6a; }
.ending-death .ending-label { color: #c0201f; }
.ending-madness .ending-label { color: #9070b0; }
.ending-flavor {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.1rem;
  color: #8a8180; margin: .8rem 0 0;
}

/* ---- The Planchette (séance board) ---- */
.planchette-board {
  position: relative;
  background:
    radial-gradient(ellipse at center, rgba(80,20,20,.25) 0%, transparent 65%),
    #0a0808;
  border: 1px solid rgba(192,32,31,.2);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  min-height: 440px;
  overflow: hidden;
}
.planchette-glow {
  position: absolute; top: 50%; left: 50%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(192,32,31,.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.planchette-letters { text-align: center; position: relative; z-index: 1; }
.planchette-yesno {
  display: flex; justify-content: center; gap: 4rem;
  margin-bottom: 1.8rem;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem; font-weight: 500;
  letter-spacing: .1em;
}
.p-yes { color: #c9a227; text-shadow: 0 0 12px rgba(201,162,39,.3); }
.p-no { color: #c0201f; text-shadow: 0 0 12px rgba(192,32,31,.3); }
.planchette-arc {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .35rem .7rem; margin-bottom: 1.2rem;
}
.planchette-numbers {
  display: flex; justify-content: center;
  gap: .7rem; margin-bottom: 1.2rem;
}
.pchar {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem; color: #8a8180;
  display: inline-block; padding: .2rem .3rem;
  transition: color .2s, text-shadow .2s;
}
.pchar-active {
  color: #c0201f !important;
  text-shadow: 0 0 14px rgba(192,32,31,.6);
}
.planchette-pointer {
  position: absolute; top: 0; left: 0; z-index: 2;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.planchette-shape {
  width: 44px; height: 66px;
  background: linear-gradient(135deg, rgba(180,160,120,.12), rgba(80,60,40,.08));
  border: 1px solid rgba(180,160,120,.25);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  clip-path: polygon(50% 0%, 100% 40%, 80% 100%, 20% 100%, 0% 40%);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 24px rgba(0,0,0,.6);
}
.planchette-message {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem; letter-spacing: .18em;
  color: #c0201f; min-height: 2.2rem;
  margin-top: 1.5rem;
  text-shadow: 0 0 18px rgba(192,32,31,.35);
  text-transform: uppercase;
}
.pmsg-cursor {
  display: inline-block; width: 10px; height: 1.5rem;
  background: #c0201f; margin-left: 4px;
  animation: cursor-blink 1s infinite; vertical-align: middle;
}
@keyframes cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.planchette-controls { text-align: center; margin-top: 1.8rem; }

/* ---- Crypt-specific button ---- */
.crypt-btn {
  background: #c0201f !important;
  border-color: #c0201f !important;
  color: #070606 !important;
  font-family: 'Oswald', sans-serif !important;
}
.crypt-btn:hover {
  background: #d63030 !important;
  border-color: #d63030 !important;
  color: #070606 !important;
}

/* ---- Nightmare journal ---- */
.nightmare-composer textarea {
  width: 100%;
  background: #0e0c0c;
  border: 1px solid rgba(192,32,31,.18);
  border-radius: 2px;
  padding: .9rem 1rem;
  color: #c4b8b0;
  font-family: 'Inter', sans-serif;
  font-size: 1rem; min-height: 90px; resize: vertical;
}
.nightmare-composer textarea:focus { border-color: #c0201f; outline: none; }
.nightmare-composer input[type=text],
.nightmare-composer input[type=date] {
  background: #0e0c0c;
  border: 1px solid rgba(192,32,31,.18);
  color: #c4b8b0;
  font-family: 'Inter', sans-serif;
}
.nightmare-composer input:focus { border-color: #c0201f; outline: none; }
.intensity-row { display: flex; align-items: center; gap: .4rem; }
.intensity-star {
  font-size: 1.3rem; cursor: pointer;
  color: rgba(255,255,255,.12);
  transition: color .1s; user-select: none;
}
.intensity-star.active { color: #c0201f; }
.intensity-star:hover { color: #d63030; }
.nightmare-list { display: flex; flex-direction: column; gap: 1rem; }
.nightmare-entry {
  border: 1px solid rgba(192,32,31,.14);
  border-radius: 2px;
  padding: 1.1rem 1.3rem;
  background: rgba(255,255,255,.02);
}
.nightmare-entry-head {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: .6rem;
}
.nightmare-intensity { font-size: .85rem; }
.nightmare-intensity .intensity-star { font-size: .85rem; cursor: default; }
.nightmare-date {
  font-family: 'Oswald', sans-serif;
  font-size: .58rem; letter-spacing: .1em;
  color: #5b5453;
}
.nightmare-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem; line-height: 1.65;
  color: #c4b8b0; font-style: italic;
  margin: 0 0 .6rem;
  white-space: pre-wrap;
}
.nightmare-tag-display { display: flex; gap: .3rem; flex-wrap: wrap; margin-top: .6rem; }
.nightmare-tag-display span {
  font-family: 'Oswald', sans-serif;
  font-size: .54rem; letter-spacing: .1em;
  text-transform: uppercase;
  color: #5b5453;
  border: 1px solid rgba(192,32,31,.14);
  padding: .15rem .45rem; border-radius: 1px;
}
.nightmare-del {
  font-family: 'Oswald', sans-serif;
  font-size: .55rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: #5b5453; cursor: pointer;
  background: none; border: none;
  margin-left: auto; transition: color .15s;
}
.nightmare-del:hover { color: #d63030; }

/* ---- Loading + empty states ---- */
.crypt-loading {
  text-align: center; padding: 2rem;
  color: #5b5453; font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}
.crypt-empty {
  text-align: center; padding: 2.5rem;
  color: #5b5453; font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
}

/* ---- Locked (non-member) state ---- */
.crypt-locked-box {
  text-align: center; padding: 3rem 2rem;
  max-width: 560px; margin: 0 auto;
}
.crypt-locked-box h3 {
  font-family: 'Oswald', sans-serif;
  color: #c0201f; font-size: 1.4rem;
  letter-spacing: .06em; margin-bottom: 1rem;
}
.crypt-locked-box p {
  color: #8a8180; font-size: 1rem;
  line-height: 1.6; margin-bottom: 1.5rem;
}

/* ---- Gate enhancements ---- */
.crypt-gate-sigil {
  font-size: 2.8rem; line-height: 1;
  color: #c0201f;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(192,32,31,.5);
  animation: crypt-flicker 4s infinite;
}
.crypt-gate-intro {
  color: #8a8180;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  margin: 0 0 1.4rem;
  line-height: 1.6;
}
.crypt-gate-exit {
  border-color: rgba(255,255,255,.15) !important;
  color: #8a8180 !important;
}
.crypt-gate-foot {
  margin-top: 1.4rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: .82rem;
  color: #5b5453;
}

/* ---- Nav separator ---- */
.crypt-nav-sep {
  display: inline-block;
  width: 1px; height: 18px;
  background: rgba(255,255,255,.1);
  margin: 0 .3rem;
}
@media (max-width: 860px) {
  .crypt-nav-sep {
    display: none;
  }
}

/* ---- Ambience grid (non-member teaser) ---- */
.crypt-ambience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 1rem 0 2rem;
}
.crypt-ambience-card {
  background: rgba(14,8,8,.6);
  border: 1px solid rgba(192,32,31,.12);
  border-left: 2px solid rgba(192,32,31,.3);
  border-radius: 2px;
  padding: 1.6rem 1.4rem;
  transition: border-color .3s, transform .3s;
}
.crypt-ambience-card:hover {
  border-color: rgba(192,32,31,.3);
  border-left-color: #c0201f;
  transform: translateY(-2px);
}
.crypt-ambience-icon {
  font-size: 1.6rem;
  margin-bottom: .8rem;
  filter: grayscale(.2) brightness(.9);
}
.crypt-ambience-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #ded7d3;
  margin: 0 0 .5rem;
  font-weight: 400;
}
.crypt-ambience-card p {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: #8a8180;
  line-height: 1.6;
  margin: 0;
}

/* ---- Event banner (on Terror Wall tab) ---- */
.crypt-event-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(110,15,15,.25), rgba(14,12,12,.4));
  border: 1px solid rgba(192,32,31,.25);
  border-left: 3px solid #c0201f;
  border-radius: 2px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.crypt-event-banner-glow {
  position: absolute; top: 0; right: 0;
  width: 200px; height: 100%;
  background: radial-gradient(ellipse at right, rgba(192,32,31,.15), transparent 70%);
  pointer-events: none;
}
.crypt-event-banner-content { position: relative; }
.crypt-event-live {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ff5a4d;
  margin-bottom: .5rem;
  animation: crypt-pulse 2s infinite;
}
@keyframes crypt-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
.crypt-event-banner h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem;
  color: #ded7d3;
  margin: 0 0 .5rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.crypt-event-banner p {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: #8a8180;
  margin: 0 0 .4rem;
  line-height: 1.5;
  max-width: 50ch;
}
.crypt-event-when {
  font-family: 'Oswald', sans-serif;
  font-size: .6rem !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c9a227 !important;
}

/* ---- Event cards (Events tab) ---- */
#cryptEventsList {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2rem;
}
.crypt-event-card {
  display: flex; gap: 1.4rem; align-items: stretch;
  background: rgba(14,8,8,.4);
  border: 1px solid rgba(192,32,31,.1);
  border-radius: 2px;
  padding: 1.4rem 1.6rem;
  transition: border-color .3s;
}
.crypt-event-card:hover {
  border-color: rgba(192,32,31,.25);
}
.crypt-event-card.crypt-event-past {
  opacity: .55;
}
.crypt-event-card-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 64px;
  background: rgba(192,32,31,.08);
  border: 1px solid rgba(192,32,31,.15);
  border-radius: 2px;
  padding: .6rem .4rem;
}
.crypt-event-month {
  font-family: 'Oswald', sans-serif;
  font-size: .6rem; letter-spacing: .16em;
  text-transform: uppercase;
  color: #c0201f;
}
.crypt-event-day {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem; font-weight: 700;
  color: #ded7d3;
  line-height: 1;
  margin-top: .2rem;
}
.crypt-event-card-body { flex: 1; }
.crypt-event-card-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: #ded7d3;
  margin: 0 0 .4rem;
  font-weight: 400;
  letter-spacing: .02em;
}
.crypt-event-card-body p {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  color: #8a8180;
  line-height: 1.55;
  margin: 0 0 .5rem;
}
.crypt-event-card-when {
  font-family: 'Oswald', sans-serif;
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c9a227;
}
.crypt-event-badge {
  align-self: flex-start;
  font-family: 'Oswald', sans-serif;
  font-size: .52rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  border-radius: 1px;
  white-space: nowrap;
}
.crypt-event-upcoming {
  background: rgba(192,32,31,.15);
  color: #c0201f;
  border: 1px solid rgba(192,32,31,.3);
}
.crypt-event-done {
  background: rgba(255,255,255,.04);
  color: #5b5453;
  border: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 600px) {
  .crypt-event-card {
    flex-direction: column;
    gap: .8rem;
  }
  .crypt-event-card-date {
    flex-direction: row;
    gap: .5rem;
    min-width: 0;
    padding: .4rem .6rem;
  }
}

/* ---- Events RSVP note ---- */
.crypt-events-rsvp {
  border-top: 1px solid rgba(192,32,31,.12);
  padding-top: 1.4rem;
  margin-top: 1rem;
}

/* ---- Crypt footer (standalone) ---- */
.crypt-foot {
  background: rgba(5,3,3,.6);
  border-top: 1px solid rgba(192,32,31,.15);
  padding: 2.5rem 0 3rem;
  margin-top: 3rem;
}
.crypt-foot-in {
  text-align: center;
  display: flex; flex-direction: column;
  align-items: center; gap: .6rem;
}
.crypt-foot-brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Oswald', sans-serif;
  font-size: .75rem; letter-spacing: .14em;
  text-transform: uppercase;
  color: #c0201f;
}
.crypt-foot-brand .crypt-sigil {
  font-size: 1rem;
}
.crypt-foot-tag {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  color: #5b5453;
  margin: 0;
}
.crypt-foot-exit {
  font-family: 'Oswald', sans-serif;
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8a8180;
  text-decoration: none;
  margin-top: .4rem;
  transition: color .15s;
}
.crypt-foot-exit:hover { color: #c9a227; }
