/* "Too Detailed to Fake" — /coincidences. Parchment + gold, matching the other
   interactive guides. Transparent page background. */

.uc-page { position: relative; min-height: 100vh; padding: 0 0 70px; color: #3a3327; font-family: 'Cormorant Garamond', serif; background: transparent; }

.uc-hero { text-align: center; padding: 52px 20px 6px; }
.uc-hero-eyebrow { font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: #a8823f; margin: 0 0 14px; }
.uc-hero-title {
  font-family: 'Cinzel', serif; font-weight: 700; line-height: 1.06; font-size: clamp(32px, 5.4vw, 54px); margin: 0 0 6px;
  background: linear-gradient(180deg, #9a7a34 0%, #7a5e26 62%, #5f4a1e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #7a5e26;
}
.uc-hero-sub { font-size: clamp(17px, 2.4vw, 22px); font-style: italic; color: #6b5a34; margin: 0 auto; max-width: 660px; }
.uc-flourish { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px auto 14px; max-width: 420px; color: #b8974e; }
.uc-flourish::before, .uc-flourish::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #c9a24e 40%, #c9a24e 60%, transparent); }
.uc-hero-intro { font-size: 17px; line-height: 1.6; color: #5f5647; max-width: 700px; margin: 0 auto 6px; }

/* Filters */
.uc-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 780px; }
.uc-filter {
  display: inline-flex; align-items: center; gap: 7px; font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.03em;
  border: 1.5px solid #cdb987; background: rgba(251,246,234,0.7); color: #6b5a34; cursor: pointer; padding: 7px 14px; border-radius: 999px;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.uc-filter .uc-filter-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pc, #a8823f); }
.uc-filter.is-active { background: #a8823f; color: #fbf6ea; border-color: #a8823f; }
.uc-filter.is-active .uc-filter-dot { background: #fbf6ea; }
.uc-hint { text-align: center; font-size: 16px; color: #7d7057; margin: 16px auto 0; padding: 0 16px; }

/* Cards */
.uc-grid { max-width: 1120px; margin: 30px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.uc-card {
  text-align: left; cursor: pointer; display: flex; flex-direction: column;
  background: linear-gradient(165deg, #fdf7e8, #f3e9d0); border: 1px solid #c6a866; border-top: 4px solid var(--pc, #a8823f); border-radius: 12px;
  padding: 16px 18px 15px; box-shadow: inset 0 0 0 1px rgba(255,253,246,0.7), 0 5px 16px rgba(90,68,28,0.14);
  transition: transform 160ms ease, box-shadow 200ms ease;
}
.uc-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,253,246,0.7), 0 14px 30px rgba(120,90,30,0.24); }
.uc-card.is-hidden { display: none; }
.uc-card-cat { align-self: flex-start; font-family: 'Cinzel', serif; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #fbf6ea; background: var(--pc, #a8823f); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.uc-card-title { font-family: 'Cinzel', serif; font-size: 20px; font-weight: 700; color: #614619; margin: 0 0 7px; line-height: 1.16; }
.uc-card-teaser { font-size: 16px; line-height: 1.48; color: #574e3c; margin: 0 0 14px; flex: 1; }
.uc-card-more { display: inline-flex; align-items: center; gap: 6px; font-family: 'Cinzel', serif; font-size: 12.5px; letter-spacing: 0.04em; color: var(--pc, #a8823f); margin-top: auto; }
.uc-card-more i { width: 14px; height: 14px; }

/* Note */
.uc-note { max-width: 680px; margin: 30px auto 0; text-align: center; background: linear-gradient(165deg, #faf3e2, #efe2c4); border: 1px solid #cdb987; box-shadow: inset 0 0 0 3px #e2d0a0, 0 4px 14px rgba(90,68,28,0.12); padding: 15px 24px; }
.uc-note b { font-family: 'Cinzel', serif; color: #7a5e26; letter-spacing: 0.04em; }
.uc-note p { font-size: 15px; color: #6b6152; margin: 5px 0 0; line-height: 1.5; }

/* Drawer */
.uc-scrim { position: fixed; inset: 0; background: rgba(38,32,20,0.5); z-index: 1190; opacity: 0; visibility: hidden; transition: opacity 220ms ease, visibility 220ms; }
.uc-scrim.open { opacity: 1; visibility: visible; }
.uc-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(480px, 96vw); background: linear-gradient(180deg, #f7f0de, #f2e8d0); border-left: 2px solid #b89a5c; z-index: 1200; transform: translateX(100%); transition: transform 260ms ease; overflow-y: auto; box-shadow: -14px 0 44px rgba(60,45,20,0.24); }
.uc-drawer.open { transform: translateX(0); }
.uc-drawer-head { position: relative; padding: 22px 26px 16px; border-bottom: 3px solid var(--pc, #a8823f); background: linear-gradient(180deg, rgba(255,250,236,0.6), transparent); }
.uc-drawer-close { position: absolute; top: 14px; right: 14px; border: none; background: transparent; color: #8a7f68; cursor: pointer; padding: 4px; line-height: 0; }
.uc-drawer-close:hover { color: #2c2a26; }
.uc-drawer-cat { font-family: 'Cinzel', serif; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #fbf6ea; background: var(--pc, #a8823f); padding: 3px 10px; border-radius: 999px; }
.uc-drawer-name { font-family: 'Cinzel', serif; font-size: 24px; font-weight: 700; color: #6b4f1e; margin: 10px 0 0; line-height: 1.14; }
.uc-drawer-body { padding: 20px 26px 34px; }

/* Passages */
.uc-passage { border-radius: 9px; padding: 14px 16px; margin: 0 0 12px; }
.uc-passage--setup { background: rgba(233,220,181,0.34); border: 1px solid #ddc794; }
.uc-passage--answer { background: rgba(251,246,234,0.7); border: 1px solid #e0d0a4; border-left: 3px solid var(--pc, #a8823f); }
.uc-passage-ref { font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 0.03em; color: #a8823f; margin: 0 0 5px; }
.uc-passage-note { font-family: 'Cormorant Garamond', serif; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: #8a7f68; font-style: italic; }
.uc-passage-text { font-family: 'Cormorant Garamond', serif; font-size: 17px; line-height: 1.6; color: #4a4030; margin: 0; }
.uc-hl { background: #f0dfa8; color: #6b4f1e; border-radius: 3px; padding: 0 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Puzzle prompt */
.uc-puzzle { display: flex; gap: 9px; align-items: flex-start; font-size: 16.5px; line-height: 1.5; font-style: italic; color: #6b5a34; margin: 4px 0 16px; }
.uc-puzzle i { color: #a8823f; flex: 0 0 auto; margin-top: 3px; width: 18px; height: 18px; }

/* Reveal */
.uc-reveal {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.05em;
  color: #fbf6ea; background: #a8823f; border: none; border-radius: 999px; padding: 11px 20px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(120,90,30,0.24); transition: background 150ms ease, transform 150ms ease;
}
.uc-reveal:hover { background: #916f30; transform: translateY(-1px); }
.uc-reveal.is-done { display: none; }
.uc-reveal i { width: 16px; height: 16px; }

.uc-answers { display: none; margin-top: 18px; }
.uc-answers.open { display: block; animation: uc-fade 340ms ease; }
@keyframes uc-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* The click + why */
.uc-click { background: linear-gradient(165deg, #f6ead0, #efe1c0); border: 1px solid #d8be7f; border-left: 4px solid #a8823f; border-radius: 8px; padding: 14px 16px; margin: 14px 0 0; }
.uc-click .lbl { font-family: 'Cinzel', serif; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #a8823f; display: block; margin-bottom: 5px; }
.uc-click p { font-size: 16.5px; line-height: 1.55; color: #4a4030; margin: 0; }
.uc-why { border-left: 3px solid #c9a24e; background: rgba(233,220,181,0.4); padding: 12px 15px; margin: 14px 0 0; }
.uc-why .lbl { font-family: 'Cinzel', serif; font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: #a8823f; display: block; margin-bottom: 4px; }
.uc-why p { font-size: 16px; line-height: 1.5; color: #4a4335; margin: 0; }

.uc-drawer-links { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.uc-drawer-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 0.04em; color: #6b4f1e; background: #efe4ca; border: 1px solid #cdb987; padding: 12px 15px; text-decoration: none; transition: border-color 140ms ease, background 140ms ease; }
.uc-drawer-link:hover { border-color: #a8823f; background: #eaddbe; }
.uc-drawer-link i { color: #a8823f; }

@media (prefers-reduced-motion: reduce) { .uc-card, .uc-drawer, .uc-scrim, .uc-reveal, .uc-answers.open { transition: none; animation: none; } }
