:root{--bg:#071d18;--card:#102c24;--ink:#f4fff7;--muted:#b9d8c6;--accent:#ffe07a;--green:#65e19d;--bad:#ff9d8b;--line:#275345}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:radial-gradient(circle at 20% 0,#1e5745 0,#071d18 42rem);color:var(--ink);line-height:1.5}.hero{display:grid;grid-template-columns:1fr;gap:1.25rem;padding:2rem 1rem 1rem;max-width:980px;margin:auto}.eyebrow{color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.tagline{max-width:44rem;color:var(--muted);font-size:1.1rem}h1{font-size:clamp(2.2rem,9vw,5rem);line-height:.95;margin:.2rem 0}h2{margin-top:0}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem}.stats div,.card{background:rgba(16,44,36,.86);border:1px solid var(--line);border-radius:22px;box-shadow:0 18px 50px rgba(0,0,0,.22)}.stats div{padding:1rem;text-align:center}.stats b{display:block;font-size:1.55rem;color:var(--green)}.stats span{color:var(--muted);font-size:.84rem}.wide-stat{grid-column:1/-1}#nextCountdown{font-size:1.05rem}main{max-width:980px;margin:auto;padding:0 1rem 2rem;display:grid;gap:1rem}.card{padding:1.1rem}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.7rem;margin:1rem 0}.tile{border:2px solid #3f7b66;background:#15382e;color:var(--ink);border-radius:18px;padding:1rem;min-height:112px;cursor:pointer;touch-action:manipulation;transition:.15s transform,.15s border-color}.tile:focus{outline:3px solid var(--accent);outline-offset:2px}.tile.selected{border-color:var(--accent);transform:translateY(-3px)}.tile.solved-tile{border-color:rgba(101,225,157,.85);cursor:default}.sig{font-size:2rem;display:block}.name{display:block;font-weight:800}.desc{display:block;color:var(--muted);font-size:.86rem}.buttons,.link-buttons{display:flex;flex-wrap:wrap;gap:.6rem}button,.button-link{border:0;border-radius:999px;padding:.8rem 1rem;font-weight:850;background:#dbeee4;color:#0a211b;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}button.primary,.button-link{background:var(--accent)}.button-link.secondary{background:#dbeee4}button:disabled{opacity:.45;cursor:not-allowed}.feedback,.library-invite-feedback{margin-top:1rem;min-height:3rem;white-space:pre-wrap}.progress-note{margin:.2rem 0 0;color:var(--muted);font-size:.92rem;font-weight:700}.feedback.good{color:var(--green)}.feedback.bad{color:var(--bad)}.clues{display:grid;gap:.5rem;padding-left:1.2rem}.example-solve{margin:.8rem 0;padding:.75rem .85rem;border:1px solid rgba(255,224,122,.35);border-radius:14px;background:rgba(255,224,122,.08)}.glossary-note{margin:.4rem 0 0}.hint,.quiet,details{color:var(--muted)}summary{cursor:pointer;color:var(--ink);font-weight:700}.meter{height:26px;border-radius:999px;background:#061410;overflow:hidden;border:1px solid var(--line)}#meterFill{display:block;height:100%;width:0;background:linear-gradient(90deg,#65e19d,#ffe07a);transition:width .5s}.tomorrow-teaser{margin:.85rem 0;padding:.8rem .9rem;border:1px solid rgba(101,225,157,.35);border-radius:16px;background:rgba(101,225,157,.08);font-weight:800}.after-solve{border-color:rgba(101,225,157,.75);background:linear-gradient(135deg,rgba(20,65,50,.95),rgba(16,44,36,.9))}.big-count{font-size:clamp(1.35rem,5vw,2rem);font-weight:900;color:var(--green);margin:.25rem 0 1rem}.trail{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem;margin:1rem 0}.trail-day{border:1px solid var(--line);border-radius:14px;padding:.45rem .2rem;text-align:center;background:#0a211b;color:var(--muted)}.trail-day.filled{border-color:var(--green);background:#143f31;color:var(--ink)}.trail-day b{display:block;font-size:1.1rem;line-height:1}.trail-day small{display:block;font-size:.68rem}.attempt-social{margin:1rem 0;padding:1rem;border:1px solid rgba(101,225,157,.35);border-radius:18px;background:rgba(7,29,24,.45)}.attempt-social h3{margin:.1rem 0 .7rem}.attempt-distribution{display:grid;gap:.45rem;color:var(--muted)}.attempt-row{display:grid;grid-template-columns:4.8rem 1fr 2rem;gap:.55rem;align-items:center}.attempt-bar{height:.7rem;border-radius:999px;background:#061410;overflow:hidden;border:1px solid var(--line)}.attempt-bar span{display:block;height:100%;background:linear-gradient(90deg,#65e19d,#ffe07a)}.practice-grove{border-color:rgba(255,224,122,.55);background:linear-gradient(135deg,rgba(54,39,76,.72),rgba(16,44,36,.9))}.practice-grove .buttons{margin:.75rem 0}.practice-grove #practiceStatus{margin-bottom:0}.village-path{background:rgba(11,35,29,.9)}footer{text-align:center;color:var(--muted);padding:1rem}a{color:var(--accent)}@media (min-width:760px){.hero{grid-template-columns:1.35fr .85fr;align-items:end}.card{padding:1.35rem}.stats{grid-template-columns:repeat(3,1fr)}}@media (max-width:520px){.stats{grid-template-columns:1fr}.wide-stat{grid-column:auto}.tiles{grid-template-columns:1fr}.link-buttons a,.link-buttons button,.buttons button{width:100%}.trail{gap:.22rem}.trail-day small{font-size:.62rem}}@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

.return-hint{margin-top:.85rem;max-width:48rem}

.return-choice-card{margin:1rem 0;padding:.95rem;border:1px solid rgba(101,225,157,.45);border-radius:18px;background:rgba(101,225,157,.08)}.return-choice-card p{margin:.25rem 0 .75rem;color:var(--muted)}.more-return-options{margin-top:.7rem}.more-return-options summary{font-weight:850;color:var(--accent)}.more-return-options .link-buttons{margin-top:.65rem}.weekend-return-nudge{margin:.5rem 0 0}.optional-share-links{margin-top:.75rem}

.post-practice-cta{margin-top:.9rem;padding:.85rem;border:1px solid rgba(101,225,157,.32);border-radius:16px;background:rgba(7,29,24,.42)}.post-practice-cta p{margin:.3rem 0 .7rem;color:var(--muted)}
.featured-practices{margin:.95rem 0 .75rem;padding:.85rem;border:1px solid rgba(255,224,122,.28);border-radius:18px;background:rgba(7,29,24,.34)}.featured-practices h3{margin:.05rem 0 .65rem;font-size:1rem}.practice-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.55rem}.practice-link-card{display:grid;gap:.15rem;padding:.7rem .8rem;border:1px solid rgba(101,225,157,.32);border-radius:15px;background:rgba(16,44,36,.74);color:var(--ink);text-decoration:none}.practice-link-card:hover,.practice-link-card:focus{border-color:var(--accent);outline:0}.practice-link-card strong{font-size:.92rem}.practice-link-card span{color:var(--muted);font-size:.82rem}

.library-hero h1{max-width:780px}.library-stats{align-self:center}.practice-library{border-color:rgba(101,225,157,.38)}.library-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.practice-library code,.intro code{color:var(--accent);background:rgba(7,29,24,.6);padding:.1rem .25rem;border-radius:6px}

.micro-cta{margin-top:1rem;padding:.9rem;border:1px solid rgba(246,211,122,.35);border-radius:18px;background:rgba(246,211,122,.08)}.micro-cta p{margin:.25rem 0 .75rem;color:var(--muted)}.more-ritual-options,.more-source-options{margin-top:.7rem}.more-ritual-options summary,.more-source-options summary{font-weight:850;color:var(--accent)}.more-ritual-options .link-buttons,.more-source-options .link-buttons{margin-top:.65rem}

.source-welcome{border-color:rgba(255,224,122,.7);background:linear-gradient(135deg,rgba(75,55,16,.78),rgba(16,44,36,.92))}.source-welcome h2{margin-bottom:.35rem}.source-welcome p:not(.eyebrow){color:var(--muted);max-width:46rem}

.next-play-card{margin:1rem 0;padding:.9rem;border:1px solid rgba(255,224,122,.38);border-radius:18px;background:rgba(7,29,24,.4)}.next-play-card p{margin:.25rem 0 .7rem;color:var(--muted)}

.daily-practice-pick{border-color:rgba(255,224,122,.48);background:linear-gradient(135deg,rgba(52,47,22,.72),rgba(16,44,36,.9))}.daily-practice-pick p:not(.eyebrow){color:var(--muted);max-width:48rem}
.launch-qr{width:min(16rem,100%);height:auto;background:#fff;border-radius:1rem;padding:1rem;box-shadow:0 1rem 2rem rgba(0,0,0,.2)}

.all-practice-library p{max-width:760px}.all-practice-grid{grid-template-columns:repeat(auto-fit,minmax(104px,1fr));gap:.4rem}.compact-practice-link{padding:.5rem .55rem;min-height:auto}.compact-practice-link strong{font-size:.88rem}.compact-practice-link span{font-size:.74rem;line-height:1.25}

.village-surprises-card {
  border-color: rgba(64, 117, 89, 0.28);
}

.village-surprises-list {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.village-surprises-list a {
  font-weight: 800;
}

.ritual-card{border-color:rgba(101,225,157,.28);background:linear-gradient(135deg,rgba(101,225,157,.1),rgba(255,224,122,.08))}.ritual-card h2{margin-top:.1rem}.ritual-card p{margin:.35rem 0}.ritual-card #ritualStatus{font-size:1.05rem;font-weight:800}
.faq-list{display:grid;gap:.45rem;margin:.75rem 0 0}.faq-list dt{font-weight:900;color:var(--ink)}.faq-list dd{margin:0 0 .45rem;color:var(--muted)}

.preview-invite{width:100%;box-sizing:border-box;border:1px solid rgba(39,83,69,.7);border-radius:14px;background:#fffdf7;color:#0a211b;-webkit-text-fill-color:#0a211b;opacity:1;color-scheme:light;padding:.85rem;font:inherit;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}.preview-invite:focus{outline:3px solid var(--accent);outline-offset:2px;border-color:var(--accent);box-shadow:0 0 0 5px rgba(255,224,122,.18)}.preview-invite::selection{background:#ffe07a;color:#0a211b;-webkit-text-fill-color:#0a211b}.copyable-note{margin:.5rem 0 0;min-height:5rem}

.first-clue-note {
  margin: 0.35rem 0 0.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(45, 87, 44, 0.22);
  border-radius: 14px;
  background: #f3f7e8;
  color: #24391f;
  font-weight: 700;
}

.artwork-card{margin:.25rem 0 .35rem;padding:.55rem;border:1px solid rgba(255,224,122,.32);border-radius:22px;background:rgba(7,29,24,.34);align-self:stretch}.artwork-card img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:0 1rem 2.25rem rgba(0,0,0,.24)}.artwork-card figcaption{margin:.45rem .15rem .05rem;color:var(--muted);font-size:.78rem;line-height:1.35}
