:root{--ink:#241f24;--muted:#7e737b;--paper:#fbf8f5;--blush:#efe2df;--rose:#a44d5c;--gold:#c99b6c;--line:#e8ded8;--shadow:0 18px 45px rgba(50,35,42,.1);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#ede8e4}
[hidden]{display:none!important}
*{box-sizing:border-box}body{margin:0;background:linear-gradient(160deg,#efe9e4,#e6dedb);min-height:100vh}.app{width:min(100%,520px);margin:auto;min-height:100vh;background:var(--paper);padding:calc(18px + env(safe-area-inset-top)) 20px calc(110px + env(safe-area-inset-bottom));box-shadow:var(--shadow)}button,a,input,textarea{font:inherit}.boot{position:fixed;inset:0;display:grid;place-content:center;text-align:center;background:var(--paper);z-index:20;color:var(--muted)}.boot-mark{margin:auto;width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;font:italic 36px Georgia,serif;box-shadow:0 0 0 9px var(--blush)}.boot p{margin-top:22px}.topbar{display:flex;justify-content:space-between;align-items:center;margin:5px 0 26px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:10px;color:var(--rose);font-weight:700;margin:0 0 6px}.topbar h1,.intro h2,.section-head h2,.profile-card h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;margin:0}.topbar h1{font-size:38px}.avatar{border:0;width:44px;height:44px;border-radius:50%;background:var(--blush);color:var(--rose);font:22px Georgia,serif}.view{display:none;animation:fade .26s ease}.view.is-active{display:block}@keyframes fade{from{opacity:0;transform:translateY(5px)}}.card,.panel{border-radius:24px;background:#fff;border:1px solid rgba(80,54,61,.08);box-shadow:0 9px 30px rgba(67,45,52,.08)}.hero{width:100%;height:270px;border:0;padding:26px;color:#fff;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;overflow:hidden;position:relative;background:linear-gradient(25deg,rgba(19,15,17,.9),rgba(40,27,33,.25)),url('/assets/hero.svg') center/cover}.hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 15%,rgba(255,226,198,.25),transparent 34%)}.hero>*{position:relative}.hero-kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:10px;color:#e5c6ab}.hero strong{font:35px/1.05 Georgia,serif}.hero-link{margin-top:17px;font-size:13px}.section-head{display:flex;justify-content:space-between;align-items:end;margin:30px 2px 15px}.section-head h2{font-size:25px}.section-head>span{font-size:11px;color:var(--muted)}.tile-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.info-tile{border:0;border-radius:20px;min-height:164px;padding:18px;text-align:left;color:#fff;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow)}.info-tile strong{font:21px/1.05 Georgia,serif}.rules{background:linear-gradient(145deg,#85685b,#2d2423)}.privacy{background:linear-gradient(145deg,#b88189,#4e3038)}.tile-icon{font-size:32px}.wide-action,.chat-action,.settings-link{margin-top:13px;width:100%;min-height:70px;border:1px solid var(--line);background:#fff;border-radius:18px;padding:18px;display:flex;align-items:center;justify-content:space-between;color:var(--ink);text-decoration:none}.wide-action{margin-top:28px;font:22px Georgia,serif}.chat-action>span:nth-child(2),.settings-link>span:nth-child(2){display:flex;flex:1;flex-direction:column;margin-left:14px}.chat-action small,.settings-link small{color:var(--muted);margin-top:3px}.chat-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--blush);color:var(--rose)}.intro{text-align:center;padding:20px 20px 28px}.intro.compact{padding-top:5px}.intro h2{font-size:31px;margin:10px 0}.intro p{color:var(--muted);line-height:1.55;margin:0}.spark{color:var(--rose);font-size:28px}.course-list{display:grid;gap:15px}.course-card{position:relative;min-height:190px;border-radius:24px;overflow:hidden;padding:22px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;background-position:center;background-size:cover;box-shadow:var(--shadow)}.course-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,rgba(24,17,20,.92))}.course-card.locked{filter:saturate(.38);color:#eee}.course-card>*{position:relative}.course-badge{position:absolute;top:16px;left:17px;padding:7px 10px;border-radius:20px;background:rgba(255,255,255,.85);color:#4a333a;font-size:11px;font-weight:700}.course-card h3{font:29px Georgia,serif;margin:0 0 7px}.course-card p{margin:0 0 14px;font-size:13px;max-width:90%;color:#eee}.course-meta{display:flex;justify-content:space-between;align-items:center}.course-meta button,.primary,.secondary{border:0;border-radius:12px;padding:12px 17px;font-weight:700}.course-meta button,.primary{background:#fff;color:#6e3845}.secondary{background:var(--ink);color:#fff}.club-cover{height:260px;border-radius:26px;padding:25px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(20deg,rgba(28,20,24,.94),rgba(83,52,63,.25)),url('/assets/club.svg') center/cover;box-shadow:var(--shadow)}.club-cover h2{font:36px Georgia,serif;margin:0}.club-cover p{color:#eadde0;line-height:1.45}.club-cover button{align-self:flex-start}.club-locked{text-align:center;padding:22px 4px}.club-locked h3{font:28px Georgia,serif}.club-locked p{color:var(--muted);line-height:1.5}.feed{display:grid;gap:14px;margin-top:20px}.post{padding:20px}.post time{font-size:11px;color:var(--rose);text-transform:uppercase;letter-spacing:.12em}.post h3{font:25px Georgia,serif;margin:9px 0}.post p{color:#625961;line-height:1.55;white-space:pre-wrap}.post-media{width:100%;border-radius:15px;margin-top:10px;max-height:340px}.form-card{padding:20px;display:grid;gap:10px}.form-card label{font-size:12px;color:var(--muted);font-weight:700}.form-card input,.form-card textarea{width:100%;margin-top:6px;border:1px solid var(--line);background:#fdfbf9;border-radius:12px;padding:13px;color:var(--ink);outline:none}.form-card textarea{min-height:130px;resize:vertical}.form-card input:focus,.form-card textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px rgba(164,77,92,.1)}.rating{display:flex;gap:5px}.rating button{border:0;background:none;color:var(--gold);font-size:35px;padding:0}.reviews-list{display:grid;gap:12px}.review{padding:17px}.review-stars{color:var(--gold);letter-spacing:2px}.review p{line-height:1.5}.review small{color:var(--muted)}.profile-card{padding:18px;display:flex;align-items:center;gap:15px}.profile-photo{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:var(--blush);color:var(--rose);font:30px Georgia,serif;background-size:cover;background-position:center}.muted{color:var(--muted);margin:5px 0 0}.profile-card+.form-card{margin-top:14px}.access-list{display:grid;gap:9px}.access-row{background:#fff;border:1px solid var(--line);border-radius:15px;padding:14px 16px;display:flex;justify-content:space-between;gap:10px}.access-row small{color:var(--muted)}.settings-link.danger{color:#9e3e50;background:transparent}.bottom-nav{position:fixed;z-index:10;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);padding:10px 8px calc(9px + env(safe-area-inset-bottom));background:rgba(251,248,245,.93);backdrop-filter:blur(18px);display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid rgba(70,45,52,.08)}.bottom-nav button{border:0;background:none;color:#a0979d;display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px 1px}.bottom-nav button>span{font-size:21px}.bottom-nav small{font-size:9px}.bottom-nav .is-active{color:var(--rose)}.sheet{width:min(100% - 24px,500px);border:0;border-radius:26px 26px 0 0;padding:32px 25px 38px;position:fixed;inset:auto auto 0 50%;transform:translateX(-50%);margin:0;max-height:85vh;color:var(--ink);background:var(--paper)}.sheet::backdrop{background:rgba(27,20,23,.5);backdrop-filter:blur(3px)}.sheet-handle{width:46px;height:5px;border-radius:5px;background:#d5ccca;position:absolute;top:10px;left:50%;transform:translateX(-50%)}.sheet-close{position:absolute;right:16px;top:15px;border:0;background:var(--blush);width:32px;height:32px;border-radius:50%;font-size:22px}.sheet h2{font:32px Georgia,serif}.sheet p{line-height:1.65;color:#625960}.lesson-list{display:grid;gap:10px}.lesson{border:1px solid var(--line);border-radius:16px;padding:14px}.lesson h3{margin:0 0 8px}.lesson iframe,.lesson video{width:100%;border:0;border-radius:12px;aspect-ratio:16/9;margin-top:10px}.toast{position:fixed;z-index:50;left:50%;bottom:100px;transform:translate(-50%,20px);width:max-content;max-width:calc(100% - 40px);background:var(--ink);color:#fff;padding:12px 17px;border-radius:13px;opacity:0;pointer-events:none;transition:.25s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:650px){body{padding:25px 0}.app{min-height:calc(100vh - 50px);border-radius:32px}.bottom-nav{bottom:25px;border-radius:0 0 32px 32px}.sheet{bottom:25px;border-radius:26px}}
.lesson-progress{width:100%;margin-top:11px;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;color:var(--rose);font-weight:700}.lesson-progress.done{background:#eaf2eb;color:#316140;border-color:#d5e7d8}
.course-intro{display:grid;gap:7px;margin:0 0 18px;padding:16px;border-radius:15px;background:linear-gradient(135deg,#f6ebe6,#f9f5ef);border:1px solid var(--line)}.course-intro strong{font:21px Georgia,serif;color:var(--rose)}.course-intro small{line-height:1.45;color:var(--muted)}.block-title{margin:22px 0 12px;font:28px Georgia,serif}.course-description{white-space:pre-wrap}.lesson>p{white-space:pre-wrap}.lesson-resource{margin-top:14px;padding-top:13px;border-top:1px solid var(--line)}.lesson-resource h4{margin:0 0 8px;font:18px Georgia,serif}.lesson-resource video,.lesson-resource iframe{width:100%;border:0;border-radius:12px;aspect-ratio:16/9}.lesson-resource audio{width:100%}.lesson-resource img{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:12px;background:#eee}.lesson-resource figcaption{margin-top:8px;color:var(--muted);line-height:1.45}.lesson-file{display:flex;align-items:center;justify-content:space-between;gap:10px}.lesson-file h4{margin:0;flex:1}.lesson-file .secondary{white-space:nowrap;text-decoration:none}.resource-waiting{padding:10px 12px!important;border-radius:10px;background:#f4efe9;color:var(--muted)!important;font-size:13px}.speed-control{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:7px;color:var(--muted);font-size:12px}.speed-control select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:6px 8px;color:var(--ink)}
.boot{padding:24px}.boot p{margin:22px 0 8px}.boot small{display:block;line-height:1.5}.boot-action{display:inline-flex;align-items:center;justify-content:center;margin:20px auto 0;padding:13px 18px;border-radius:12px;background:var(--ink);color:#fff;text-decoration:none;font-weight:700}
.hero{height:360px;background:linear-gradient(25deg,rgba(19,15,17,.88),rgba(40,27,33,.04)),url('assets/author.png') center 32%/cover}.hero:before{background:linear-gradient(180deg,transparent 38%,rgba(40,27,33,.82))}.hero-kicker{color:#f4dfcd}
.info-tile{aspect-ratio:1/1;min-height:0;background-position:center;background-size:cover}.info-tile strong,.info-tile .tile-icon{opacity:0}.rules{background-image:url('assets/menu-rules.png')}.privacy{background-image:url('assets/menu-privacy.png')}
.wide-action{margin-top:28px;aspect-ratio:2/1;min-height:0;background:url('assets/menu-reviews.png') center/cover no-repeat}.chat-action{aspect-ratio:2/1;min-height:0;background:url('assets/menu-chat.png') center/cover no-repeat}.wide-action>*,.chat-action>*{opacity:0}
.club-cover{background:linear-gradient(20deg,rgba(28,20,24,.9),rgba(83,52,63,.12)),url('assets/author.png') center 30%/cover}
.speed-control{margin:10px 0 2px;display:flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--muted);font-size:12px;font-weight:700}.speed-control select{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:7px 9px}

/* Raynis.club upgrade 2026-11-06 — opt-in staging styles */
.price-before{color:#bc3030;text-decoration:line-through;text-decoration-color:#de2626;text-decoration-thickness:2px;white-space:nowrap}.price-current{color:#753945;white-space:nowrap}.course-badge:has(.price-before){display:flex;gap:6px;align-items:center;flex-wrap:wrap}.raynis-copy{white-space:pre-line}.raynis-buy,.raynis-description-button,.raynis-chat-button,.home-library-cta,.raynis-folder-button{cursor:pointer}.raynis-buy{width:100%;margin-top:15px;background:#814654;color:#fff}.raynis-description-button,.raynis-chat-button{width:100%;border:1px solid #cab5ad;background:#fff;color:#78454f;border-radius:13px;padding:12px;margin-top:12px;font-weight:700}.home-library-cta{display:block;width:100%;padding:30px 15px;margin:15px 0 30px;border:1px solid #c4a987;border-radius:23px;background:#efe2d4;color:#735d47;font:26px Georgia,serif;min-height:145px}.raynis-legal-bottom{margin:40px 0 12px}.raynis-legal-bottom h3{font-size:14px;font-weight:500;color:#867c75;margin-bottom:12px}.raynis-legal-bottom .tile-grid{grid-template-columns:1fr 1fr}.raynis-legal-bottom .info-tile{min-height:110px}.raynis-folder-button{justify-content:center;text-align:center;font-weight:700}
/* Recovery theme: original branded image assets were not in the October 19 archive. */
.hero{background:linear-gradient(35deg,#34292d,#b09b90 70%,#e6d8c7)!important}
.club-cover{background:linear-gradient(35deg,#413438,#947986 60%,#d6bdad)!important}
.info-tile{background-image:none!important;min-height:160px;aspect-ratio:1/1}
.info-tile strong,.info-tile .tile-icon{opacity:1;font-family:Georgia,serif;text-align:center}
.rules{background:linear-gradient(145deg,#e3d1bd,#b9a28d);color:#594638}
.privacy{background:linear-gradient(145deg,#f0e1cf,#c6b09c);color:#594638}
.wide-action{background:linear-gradient(100deg,#eadac7,#d4bda5)!important;display:flex!important;align-items:center;justify-content:center;aspect-ratio:2.7/1;color:#604c41}
.wide-action>*{opacity:1!important;font:22px Georgia,serif}
