/* JewTok - parchment, stone and olive light. Mobile-first (390), desktop 1280. */
@import url(/fonts/fonts.css);
:root{
  --parch:#F5EEDF; --parch2:#EDE3CF; --stone:#D9CBB0; --stone2:#BFAE8E;
  --ink:#1C1A16; --ink2:#4A443A; --ink3:#6E6656;
  --night:#14130F; --night2:#201E18; --night3:#2C2921;
  --olive:#5E6B2E; --olive2:#7D8A45; --olive3:#B7BE86; --gold:#C59A3E; --gold2:#E2C27A;
  --sky:#2F4C7E; --terra:#9C5434; --ok:#2F6B45; --warn:#9C5434;
  --serif:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --sans:'Source Sans 3',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --heb:'Frank Ruhl Libre','Times New Roman',serif;
  --r:14px; --r2:22px; --sh:0 1px 2px rgba(28,26,22,.06),0 8px 28px rgba(28,26,22,.10);
  --max:1180px; --pad:18px;
  color-scheme:light;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--parch);color:var(--ink);font:400 17px/1.6 var(--sans);text-rendering:optimizeLegibility}
img{max-width:100%;display:block}
a{color:var(--olive);text-underline-offset:3px}
a:hover{color:var(--terra)}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:6px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:10px 14px;z-index:99}
.skip:focus{left:8px;top:8px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--pad)}
.he{font-family:var(--heb);direction:rtl;unicode-bidi:isolate}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.12;letter-spacing:-.01em;margin:0 0 .4em}
h1{font-size:clamp(34px,8vw,64px)} h2{font-size:clamp(28px,5vw,42px)} h3{font-size:clamp(21px,3vw,26px)}
p{margin:0 0 1em}
.lead{font-size:clamp(18px,2.4vw,21px);color:var(--ink2)}
.eyebrow{font:700 12.5px/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--olive)}
.muted{color:var(--ink3)} .small{font-size:14.5px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:999px;border:0;font:600 16px/1 var(--sans);text-decoration:none;cursor:pointer;transition:transform .15s,background .15s}
.btn:active{transform:scale(.98)}
.btn-gold{background:var(--gold);color:var(--night)} .btn-gold:hover{background:var(--gold2);color:var(--night)}
.btn-olive{background:var(--olive);color:#fff} .btn-olive:hover{background:var(--olive2);color:#fff}
.btn-ghost{background:transparent;color:inherit;box-shadow:inset 0 0 0 1.5px currentColor} .btn-ghost:hover{color:inherit;background:rgba(255,255,255,.08)}
.btn-sm{min-height:44px;padding:0 16px;font-size:15px}
.chip{white-space:normal;text-align:center;max-width:100%;flex:0 1 auto;display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:var(--parch2);color:var(--ink2);font:600 14px/1 var(--sans);text-decoration:none;border:1px solid var(--stone)}
.chip[aria-pressed=true],.chip.on{background:var(--olive);border-color:var(--olive);color:#fff}
.tag{display:inline-block;padding:3px 9px;border-radius:6px;font:700 11.5px/1.3 var(--sans);letter-spacing:.06em;text-transform:uppercase;background:rgba(94,107,46,.12);color:var(--olive)}
.tag-ai{background:rgba(47,76,126,.12);color:var(--sky)}
.tag-photo{background:rgba(28,26,22,.55);color:#fff}

/* header */
.top{position:sticky;top:0;z-index:40;background:rgba(245,238,223,.92);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid rgba(191,174,142,.45)}
.top .wrap{display:flex;align-items:center;gap:12px;min-height:60px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:700 22px/1 var(--serif);letter-spacing:.01em}
.brand svg{width:30px;height:30px;flex:none}
.brand small{display:block;font:500 12px/1.1 var(--heb);color:var(--ink3);letter-spacing:0}
.nav{display:none;gap:4px;margin-left:auto}
.nav a{padding:10px 12px;border-radius:10px;color:var(--ink2);text-decoration:none;font:600 15.5px/1 var(--sans)}
.nav a:hover,.nav a[aria-current=page]{background:var(--parch2);color:var(--ink)}
.top-act{display:flex;gap:8px;margin-left:auto;align-items:center}
.exit{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 13px;border-radius:999px;background:var(--night);color:#fff;border:0;font:700 13.5px/1 var(--sans);cursor:pointer;text-decoration:none}
.exit:hover{background:var(--terra);color:#fff}
.menu-btn{width:44px;height:44px;border-radius:12px;border:1px solid var(--stone);background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
@media(min-width:1000px){.nav{display:flex}.top-act{margin-left:12px}.menu-btn{display:none}}
.drawer{display:none;border-top:1px solid var(--stone);padding:8px var(--pad) 16px;background:var(--parch)}
.drawer.open{display:block}
@media(max-width:999px){.drawer.open{max-height:calc(100vh - 150px - env(safe-area-inset-bottom));max-height:calc(100dvh - 150px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain}}   /* sticky header: long drawer must scroll itself, clear of the tab bar */
.drawer a{display:flex;align-items:center;min-height:48px;color:var(--ink);text-decoration:none;font:600 17px/1 var(--sans);border-bottom:1px solid var(--parch2)}

/* hero */
.hero{position:relative;color:#fff;background:var(--night);overflow:hidden;isolation:isolate}
.hero picture,.hero .bg{position:absolute;inset:0;z-index:-2}
.hero picture img,.hero .bg img{width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(20,19,15,.25) 0%,rgba(20,19,15,.45) 45%,rgba(20,19,15,.92) 100%)}
.hero .wrap{padding-top:64px;padding-bottom:40px;min-height:min(88vh,760px);display:flex;flex-direction:column;justify-content:flex-end}
.hero h1{color:#fff;max-width:15ch;text-shadow:0 2px 24px rgba(0,0,0,.35)}
.hero .lead{color:#EFE6D2;max-width:36rem}
.hero .cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.hero .credit{position:absolute;right:10px;bottom:10px;font:500 11.5px/1.2 var(--sans);color:rgba(255,255,255,.75)}
.hero .credit a{color:inherit}
.hero-heb{font:500 clamp(22px,4vw,30px)/1.4 var(--heb);color:var(--gold2);margin-bottom:6px;text-align:left;direction:rtl;align-self:flex-start}

/* verse of the day */
.votd{background:var(--night2);color:#F2EADB;border-radius:var(--r2);padding:22px 20px;box-shadow:var(--sh);position:relative;overflow:hidden}
.votd .he{font-size:clamp(22px,4.6vw,30px);line-height:1.6;color:var(--gold2);display:block;margin:6px 0 4px}
.votd .tr{font:italic 500 17px/1.5 var(--serif);color:#CFC4AE}
.votd .en{font:500 clamp(20px,3.4vw,24px)/1.45 var(--serif);margin:10px 0 6px}
.votd .ref{font:700 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--olive3)}

/* sections */
.sec{padding:56px 0}
.sec-tight{padding:32px 0}
.sec-dark{background:var(--night);color:#EFE6D2}
.sec-dark h2,.sec-dark h3{color:#fff}
.sec-dark .muted{color:#B9AE97}
.sec-stone{background:var(--parch2)}
.sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:22px}
.sec-head p{margin:0;max-width:40rem}

/* doors */
.doors{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:760px){.doors{grid-template-columns:repeat(3,1fr)}}
.door{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:230px;border-radius:var(--r2);overflow:hidden;color:#fff;text-decoration:none;isolation:isolate;box-shadow:var(--sh)}
.door img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .6s}
.door:hover img{transform:scale(1.04)}
.door::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(20,19,15,0) 20%,rgba(20,19,15,.88) 100%)}
.door .in{padding:18px}
.door h3{color:#fff;margin:4px 0 4px}
.door p{margin:0;color:#E8DEC9;font-size:15.5px}
.door .heb{font:500 18px/1 var(--heb);color:var(--gold2)}
.door:hover{color:#fff}

/* cards */
.grid{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:640px){.grid-2{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}
.card{background:#FBF7EE;border:1px solid rgba(191,174,142,.55);border-radius:var(--r);padding:18px;box-shadow:0 1px 2px rgba(28,26,22,.04)}
.card h3{margin-bottom:6px}
.card-link{text-decoration:none;color:inherit;display:block;transition:transform .15s,box-shadow .15s}
.card-link:hover{transform:translateY(-2px);box-shadow:var(--sh);color:inherit}
.pcard .he{display:block;font-size:22px;line-height:1.5;color:var(--olive);margin:6px 0}
.pcard .ref{font:700 12.5px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--terra)}
.pcard .arrow{display:flex;align-items:center;gap:8px;margin-top:10px;font:600 14.5px/1.3 var(--sans);color:var(--ink2)}
.pcard .arrow b{color:var(--olive)}

/* video cards */
.vcard{border-radius:var(--r);overflow:hidden;background:var(--night2);color:#EFE6D2;display:flex;flex-direction:column;text-decoration:none}
.vcard .th{position:relative;aspect-ratio:16/9;background:var(--night3)}
.vcard .th img{width:100%;height:100%;object-fit:cover}
.vcard .play{position:absolute;left:12px;bottom:12px;width:46px;height:46px;border-radius:50%;background:rgba(197,154,62,.95);display:grid;place-items:center}
.vcard .dur{position:absolute;right:10px;bottom:10px;background:rgba(0,0,0,.7);color:#fff;font:600 12.5px/1 var(--sans);padding:4px 7px;border-radius:6px}
.vcard .in{padding:13px 14px 15px}
.vcard h3{font-size:19px;color:#fff;margin:0 0 4px}
.vcard p{margin:0;font-size:14.5px;color:#C9BEA8}
.vcard:hover{color:#EFE6D2}
.vcard:hover h3{color:var(--gold2)}

/* parallel text (prophecy, reader) */
.par{display:grid;gap:12px;grid-template-columns:1fr}
@media(min-width:1000px){.par{grid-template-columns:1.1fr 1fr 1fr}}
.col{background:#FBF7EE;border:1px solid rgba(191,174,142,.55);border-radius:var(--r);padding:16px 18px}
.col h4{margin:0 0 10px;font:700 12.5px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3);display:flex;justify-content:space-between;gap:8px}
.col .v{margin:0 0 12px}
.col .v sup{font:700 11px/1 var(--sans);color:var(--terra);margin-right:4px}
.col.heb .v{font:400 23px/1.75 var(--heb);direction:rtl;text-align:right}
.col.heb .v sup{margin:0 0 0 4px}
.col .trl{display:block;font:italic 500 15.5px/1.45 var(--serif);color:var(--ink3);direction:ltr;text-align:left;margin-top:2px}
.col.ful{background:var(--night2);color:#EFE6D2;border-color:var(--night3)}
.col.ful h4{color:var(--olive3)}
.col.ful .v sup{color:var(--gold2)}
.hl{background:linear-gradient(transparent 60%,rgba(197,154,62,.35) 60%);padding:0 2px}
.col.ful .hl{background:linear-gradient(transparent 60%,rgba(197,154,62,.45) 60%)}

/* notes */
.note{border-left:4px solid var(--olive);background:#FBF7EE;padding:16px 18px;border-radius:0 var(--r) var(--r) 0;margin:0 0 14px}
.note.tradition{border-color:var(--sky)}
.note.why{border-color:var(--gold)}
.note.look{border-color:var(--terra)}
.note h3{font-size:22px;margin-bottom:6px}
.src{font-size:14px;color:var(--ink3)}
.src li{margin-bottom:4px}

/* chat / live */
.live{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:1000px){.live{grid-template-columns:1.6fr 1fr;align-items:start}}
.player{position:relative;aspect-ratio:16/9;border-radius:var(--r);overflow:hidden;background:var(--night)}
.player img{width:100%;height:100%;object-fit:cover;opacity:.88}
.player .badge{position:absolute;left:12px;top:12px;display:flex;gap:6px}
.live-dot{display:inline-flex;align-items:center;gap:6px;background:#B3261E;color:#fff;font:700 12px/1 var(--sans);letter-spacing:.08em;padding:6px 9px;border-radius:6px}
.live-dot::before{content:"";width:8px;height:8px;border-radius:50%;background:#fff;animation:pulse 1.4s infinite}
@keyframes pulse{50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){.live-dot::before{animation:none}*{transition:none!important;scroll-behavior:auto!important}}
.chat{background:#FBF7EE;border:1px solid rgba(191,174,142,.55);border-radius:var(--r);display:flex;flex-direction:column}   /* grows with the join card; the log scrolls inside a fixed band */
.chat-h{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-bottom:1px solid var(--parch2)}
.chat-h b{font:700 15px/1.2 var(--sans)}
.chat-log{flex:none;height:clamp(220px,45vh,400px);overflow:auto;padding:10px 14px;display:flex;flex-direction:column;gap:10px}
.msg{display:flex;gap:10px;align-items:flex-start}
.av{width:32px;height:32px;border-radius:50%;flex:none;display:grid;place-items:center;font:700 13px/1 var(--sans);color:#fff;background:var(--olive2)}
.msg .who{font:700 13.5px/1.2 var(--sans);color:var(--ink2);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.msg .txt{font-size:15.5px;line-height:1.45}
.msg.mod .av{background:var(--sky)}
.msg.sys{justify-content:center}
.msg.sys .txt{font-size:13.5px;color:var(--ink3);background:var(--parch2);padding:6px 10px;border-radius:8px;text-align:center}
.badge-v{font:700 10.5px/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;background:rgba(94,107,46,.14);color:var(--olive);padding:3px 6px;border-radius:5px}
.badge-m{background:rgba(47,76,126,.14);color:var(--sky)}
/* share sheet: DivineTok share-kit layout (share.css), JewTok parchment + gold */
.jts-ov{position:fixed;inset:0;z-index:200;background:rgba(20,19,15,.62);display:flex;align-items:flex-end;justify-content:center}
@media (min-width:700px){.jts-ov{align-items:center;padding:16px}}
.jts-sh{background:#FBF7EE;color:var(--ink);width:100%;max-width:520px;max-height:92vh;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;border-radius:18px 18px 0 0;padding:14px 14px calc(20px + env(safe-area-inset-bottom,0px));border:1px solid var(--stone);font:400 15px/1.45 var(--sans)}
@media (min-width:700px){.jts-sh{border-radius:18px}}
.jts-sh *{box-sizing:border-box}
.jts-hd{display:flex;align-items:center;gap:8px;margin:0 0 6px}.jts-hd h3{flex:1;margin:0;font:800 18px/1.3 var(--sans);overflow-wrap:anywhere}
.jts-x{flex:0 0 44px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(28,26,22,.08);color:inherit;font-size:24px;line-height:1;cursor:pointer}
.jts-sub{font-size:13px;color:var(--ink3);margin:0 0 10px}
.jts-card{border:1px solid rgba(169,130,47,.4);background:linear-gradient(#FFFDF7,#F3EAD6);border-radius:14px;padding:14px;margin:0 0 12px}
.jts-v{font:400 17px/1.55 Georgia,"Times New Roman",serif;margin:0 0 6px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}.jts-r{font-weight:700;margin:0;font-size:14.5px;color:#7A5B1E;overflow-wrap:anywhere}
.jts-u{margin:6px 0 0;font-size:12.5px;color:var(--ink3);overflow-wrap:anywhere}
.jts-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
@media (max-width:359px){.jts-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
.jts-t{font:700 13px/1.2 var(--sans);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:72px;padding:8px 4px;border:1px solid rgba(191,174,142,.7);background:#fff;color:var(--ink);border-radius:14px;cursor:pointer;text-decoration:none;text-align:center}
.jts-t svg{width:22px;height:22px;color:#A9822F}
.jts-t.p{background:#C59A3E;border-color:#C59A3E;color:#1A1408}.jts-t.p svg{color:#1A1408}
.jts-sh button:focus-visible,.jts-sh a:focus-visible{outline:3px solid #B45309;outline-offset:2px}
.jts-st{min-height:22px;font-size:14px;margin:10px 0 0;color:#2F6B3A;font-weight:700}
.jts-more{margin-top:12px}.jts-more[hidden]{display:none}
.jts-img{display:block;width:100%;max-height:46vh;object-fit:contain;border-radius:12px;background:#F5EEDF;margin:0 0 10px}
.jts-row{display:flex;flex-wrap:wrap;gap:8px}
.jts-btn{font:800 15px var(--sans);border:0;border-radius:12px;padding:10px 14px;min-height:44px;background:#C59A3E;color:#1A1408;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.jts-btn.s{background:#fff;color:var(--ink);border:1px solid rgba(191,174,142,.7)}
.jts-site{font:700 15px var(--sans);margin-top:6px;border:0;background:none;color:#7A5B1E;text-decoration:underline;cursor:pointer;min-height:44px;padding:0}
.jts-qr{display:block;width:min(260px,100%);height:auto;margin:6px auto;background:#fff;padding:8px;border-radius:12px}
.signup-nudge{position:fixed;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:65;width:min(520px,calc(100vw - 24px));background:#FBF7EE;border:1px solid var(--stone);border-radius:16px;box-shadow:0 14px 40px rgba(28,26,22,.25);padding:14px 16px 6px}
.signup-nudge p{margin:0 0 8px;font-size:15px;line-height:1.45}.signup-nudge .linkbtn{min-height:44px}
@media(min-width:1000px){.signup-nudge{bottom:24px}}
.offline-bar{position:sticky;top:0;z-index:60;background:#3B2A10;color:#FBF7EE;font:600 14px/1.4 var(--sans);padding:8px 14px;text-align:center}
.update-bar{position:fixed;left:50%;bottom:calc(76px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:80;display:flex;align-items:center;gap:10px;background:var(--night);color:#fff;padding:8px 10px 8px 16px;border-radius:14px;font:600 14.5px var(--sans);box-shadow:0 10px 30px rgba(0,0,0,.3);max-width:calc(100vw - 24px)}
.update-bar .linkbtn{color:#E2C27A;min-height:44px}.update-bar .btn{min-height:44px}
@media(min-width:1000px){.update-bar{bottom:24px}}
.install-help{max-width:min(440px,calc(100vw - 32px));border:1px solid var(--stone);border-radius:18px;background:#FBF7EE;color:var(--ink);padding:20px 20px 12px;box-shadow:0 18px 50px rgba(28,26,22,.28)}
.install-help::backdrop{background:rgba(20,19,15,.45)}
.install-help h2{font-size:24px;margin:0 0 10px}.install-help ol{margin:0 0 10px 20px;padding:0}.install-help li{margin:4px 0}
.badge-g{background:rgba(28,26,22,.08);color:var(--ink3)}
.badge-ai{background:rgba(47,76,126,.14);color:var(--sky)}
.chat-f{display:flex;gap:8px;padding:10px;border-top:1px solid var(--parch2)}
.chat-f input{flex:1;min-height:46px;border-radius:999px;border:1.5px solid var(--stone);background:#fff;padding:0 16px;font:400 16px var(--sans);color:var(--ink)}
.chat-meta{padding:0 14px 10px;font-size:12.5px;color:var(--ink3)}
.rooms{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:4px}
.rooms::-webkit-scrollbar{display:none}

/* forms */
label{font:600 15px/1.3 var(--sans);display:block;margin:0 0 6px}
input[type=number],input[type=text],input[type=email],input[type=url],textarea,select{width:100%;min-height:48px;border-radius:12px;border:1.5px solid var(--stone);background:#fff;padding:12px 14px;font:400 16px/1.4 var(--sans);color:var(--ink)}
textarea{min-height:140px;resize:vertical}

/* misled */
.misled-hero{background:var(--night2);color:#EFE6D2;border-radius:var(--r2);padding:28px 22px;position:relative;overflow:hidden}
.misled-hero h2{color:#fff}
.steps{counter-reset:s;display:grid;gap:12px}
.steps .card{position:relative;padding-left:58px}
.steps .card::before{counter-increment:s;content:counter(s);position:absolute;left:16px;top:16px;width:30px;height:30px;border-radius:50%;background:var(--olive);color:#fff;display:grid;place-items:center;font:700 15px/1 var(--sans)}

/* footer */
.foot{background:var(--night);color:#BFB49C;padding:40px 0 90px;font-size:15px}
.foot a{color:#E2D7C0}
.foot .cols{display:grid;gap:22px;grid-template-columns:1fr}   /* phones: one group per row, its links in 2 balanced columns (footer-balance.css) */
@media(min-width:640px){.foot .cols{grid-template-columns:1fr 1fr}}
@media(min-width:900px){.foot .cols{grid-template-columns:2fr 1fr 1fr 1fr}footer.foot .cols ul:not(.fb-keep){columns:1}}
.foot h4{color:#fff;font:700 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
.foot ul{list-style:none;padding:0;margin:0}.foot li{margin:0 0 2px}
@media(max-width:639px){.foot h4{margin-bottom:6px}.foot .cols{gap:18px}}
.foot .fine{margin-top:26px;border-top:1px solid #2C2921;padding-top:16px;font-size:13.5px}

/* bottom tab bar (mobile) */
.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:repeat(5,1fr);background:#14130F;border-top:1px solid #2C2921;padding-bottom:env(safe-area-inset-bottom)}
.tabbar a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;color:#CFC4AE;text-decoration:none;font:600 11.5px/1 var(--sans)}
.tabbar a svg{width:22px;height:22px}
.tabbar a[aria-current=page]{color:var(--gold2)}
@media(min-width:1000px){.tabbar{display:none}.foot{padding-bottom:40px}}

/* private mode banner */
.pm{display:none;background:var(--sky);color:#fff;font:600 14px/1.3 var(--sans);text-align:center;padding:8px}
html.private .pm{display:block}
.toast{position:fixed;left:50%;bottom:76px;transform:translateX(-50%);background:var(--night);color:#fff;padding:10px 16px;border-radius:10px;font:600 14.5px var(--sans);z-index:60}
.ai-label{display:inline-flex;align-items:center;gap:6px;font:700 12px/1 var(--sans);letter-spacing:.06em;text-transform:uppercase;color:var(--sky);background:rgba(47,76,126,.1);padding:5px 8px;border-radius:6px}
.figcap{font-size:12.5px;color:var(--ink3);margin-top:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---- build additions ---- */
.narrow{max-width:860px}
.mt{margin-top:22px}.mt-s{margin-top:10px}
.h1-page{font-size:clamp(30px,5.4vw,46px);margin:6px 0 12px}
.h2-sm{font-size:clamp(23px,3.4vw,30px);margin:30px 0 12px}
.prose p{font-size:18px;line-height:1.7}
.answer-short{font:500 clamp(19px,2.6vw,22px)/1.55 var(--serif);color:var(--ink);background:#FBF7EE;border-left:4px solid var(--gold);padding:14px 18px;border-radius:0 var(--r) var(--r) 0}
.crumbs{font:600 14px var(--sans);margin:4px 0 6px}.crumbs a{text-decoration:none}.crumbs a::before{content:"\2190  "}
.btnrow{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.btn-line{background:transparent;color:var(--ink2);box-shadow:inset 0 0 0 1.5px var(--stone)}.btn-line:hover{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--stone2)}
.btn-line[aria-pressed=true]{background:var(--olive);color:#fff;box-shadow:none}
.ghost-olive{color:var(--olive)}
.actions{display:flex;gap:8px;margin:0 0 14px}
.linkbtn{background:none;border:0;padding:0;color:var(--olive);text-decoration:underline;cursor:pointer;font:inherit;min-height:32px}
.drawer-btn{display:flex;align-items:center;width:100%;min-height:48px;background:none;border:0;border-bottom:1px solid var(--parch2);font:600 17px/1 var(--sans);color:var(--ink);cursor:pointer;padding:0}
.eyebrow-gold{color:var(--gold2)}.eyebrow-olive{color:var(--olive3)}.eyebrow-sky{color:var(--sky)}.eyebrow-gold-d{color:#86651f}.eyebrow-terra{color:var(--terra)}
.lead-dark{color:#D9CFBA;max-width:46rem}
.card-dark{background:#201E18;border-color:#2C2921;color:#EFE6D2}.card-dark h3{color:#fff;margin-top:8px}.card-dark .small{color:#C9BEA8}.card-dark:hover{color:#EFE6D2}
.tag-gold{background:rgba(197,154,62,.18);color:#E2C27A}
.sec-stone .tag-gold,.card .tag-gold{color:#86651f}
.hero-sm .wrap{min-height:min(56vh,460px);padding-top:48px;padding-bottom:28px}
.hero-sm h1{font-size:clamp(30px,6vw,52px);max-width:22ch}
.pcard{display:flex;flex-direction:column;gap:2px;padding:0;overflow:hidden}
.pcard>*:not(.pc-img){margin-left:16px;margin-right:16px}
.pcard .pc-img{aspect-ratio:16/9;overflow:hidden;margin-bottom:10px;background:var(--stone)}
.pcard .pc-img img{width:100%;height:100%;object-fit:cover}
.pcard .arrow{margin-bottom:16px}
.pcard h3{margin:2px 16px 4px}
.vq{margin:0 0 14px;background:#FBF7EE;border:1px solid rgba(191,174,142,.55);border-radius:var(--r);padding:14px 16px}
.vq p{margin:0 0 8px}.vq .he{font:400 21px/1.75 var(--heb);text-align:right}
.vq .trl{font:italic 500 15px/1.45 var(--serif);color:var(--ink3)}
.vq sup{font:700 11px var(--sans);color:var(--terra);margin:0 3px}
.vq cite{display:block;font:600 13px/1.3 var(--sans);font-style:normal;color:var(--ink3)}
.toggle{background:none;border:1px solid var(--stone);border-radius:999px;font:600 12px/1 var(--sans);padding:6px 10px;cursor:pointer;color:var(--ink2);min-height:30px}
.col.ful .ref{color:var(--gold2);font:700 12.5px/1.3 var(--sans);letter-spacing:.06em;margin-right:4px}
.figcap a{color:var(--olive)}
details.also{margin-top:12px}details.also summary{cursor:pointer;font:600 15px var(--sans);color:var(--olive);min-height:40px;display:flex;align-items:center}
.pager{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:24px 0 8px;align-items:center}
.pager a{font:600 15px var(--sans);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.pager select{width:auto;min-height:44px}
.toc{background:#FBF7EE;border:1px solid rgba(191,174,142,.55);border-radius:var(--r);padding:12px 18px;margin-bottom:10px}.toc ol{margin:0;padding-left:20px}.toc li{margin:6px 0}
.msec{padding-top:18px;scroll-margin-top:70px}.msec h2{font-size:clamp(25px,3.6vw,32px);margin-top:8px}
.qlist{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.rrow{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center}
.rrow .rimg{width:96px;height:96px;border-radius:10px;object-fit:cover}
.rrow h3{margin:6px 0 4px;font-size:21px}
.he-sm{font:500 16px/1 var(--heb);color:var(--olive)}
.he-title{font:500 .55em/1 var(--heb);color:var(--ink3);margin-left:8px}
.votd-link{display:inline-block;margin-top:6px;color:var(--gold2);font:600 15px var(--sans)}
.asklist{margin:6px 0 0;padding-left:18px}.asklist li{margin:8px 0}
.center-y{align-items:center}
.card-feature{border-color:var(--olive);box-shadow:0 0 0 2px rgba(94,107,46,.15)}
.books{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.book{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:10px;background:#FBF7EE;border:1px solid rgba(191,174,142,.55);text-decoration:none;color:var(--ink);min-height:48px}
.book b{font:600 15.5px var(--sans)}.book .he{font:500 15px var(--heb);color:var(--olive);text-align:left}
.book:hover{border-color:var(--olive);color:var(--ink)}
.colh{font:700 12.5px/1.2 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3);margin:0 0 10px}
.reader{display:grid;gap:18px;grid-template-columns:1fr}
@media(min-width:1000px){.reader{grid-template-columns:1.5fr 1fr}.reader-side{position:sticky;top:76px;max-height:calc(100vh - 96px);overflow:auto}}
.reader-main,.reader-side,.reader-nt{background:#FBF7EE;border:1px solid rgba(191,174,142,.55);border-radius:var(--r);padding:16px 18px}
.vrow{padding:10px 0;border-bottom:1px solid var(--parch2);scroll-margin-top:80px}
.vrow:target,.v:target{background:rgba(197,154,62,.15)}
.vh{font:400 23px/1.8 var(--heb);margin:0 0 4px;text-align:right}.vh sup,.vj sup,.reader-side sup,.reader-nt sup{font:700 11px var(--sans);color:var(--terra);margin:0 4px}
.vt{font:italic 500 15px/1.45 var(--serif);color:var(--ink3);margin:0 0 4px}
.vj{margin:0;font-size:17px}
.vnum{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;margin:-10px 2px -10px -8px;padding:0 4px;border:0;background:none;font:700 12px var(--sans);color:var(--terra);cursor:pointer;border-radius:10px;vertical-align:middle}
.vnum:hover,.vnum:focus-visible{background:rgba(197,154,62,.18)}
/* share button on listing cards (DivineTok: share on every card) */
.cwrap{position:relative;display:flex;flex-direction:column}.cwrap>a{flex:1}
.card-share{position:absolute;top:8px;right:8px;z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid rgba(191,174,142,.7);background:rgba(251,247,238,.94);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px rgba(28,26,22,.15)}
.card-share svg{width:20px;height:20px}
.qlist li.cwrap .card{padding-right:60px}
.reader-side .v,.reader-nt .v{margin:0 0 10px;font-size:17px}
.reader-nt{max-width:820px;font-size:18px}
.player iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.play-btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.player img{position:absolute;inset:0}
.ts{margin:8px 0}
.dots{letter-spacing:3px}
.foot-brand{font:700 24px var(--serif);color:#fff}
.stack{display:grid;gap:10px}
.check{display:flex;gap:10px;align-items:flex-start;font-weight:500}.check input{margin-top:4px;width:20px;height:20px;flex:none}
.seg{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}.seg legend{font:600 15px var(--sans);margin-bottom:6px}
.seg label{display:flex;align-items:center;gap:6px;border:1.5px solid var(--stone);border-radius:999px;padding:8px 14px;margin:0;font-weight:500;min-height:44px}
.ticks{padding-left:0;list-style:none}.ticks li{padding-left:26px;position:relative;margin:8px 0}.ticks li::before{content:"\2713";position:absolute;left:0;color:var(--olive);font-weight:700}
.post{margin-bottom:12px}.post-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.post-h .av{width:30px;height:30px;font-size:13px}
.post-f{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.vmini{max-width:360px}
.comment{border-bottom:1px solid var(--parch2);padding:10px 0}.comment p{margin:4px 0}
.chat-pin{background:rgba(197,154,62,.15);padding:8px 14px;font:600 14px/1.4 var(--sans);border-bottom:1px solid var(--parch2)}
.msg.me .av{background:var(--stone2)}.msg.held{opacity:.7}.msg.held .who::after{content:" \00b7 waiting for review";font-weight:500;color:var(--ink3)}
.msg.safety .txt{background:#E8EFF7;color:var(--sky);font-weight:600}
.msg .txt p{margin:0 0 8px}.msg .txt p:last-child{margin:0}
.guide-chat{height:min(620px,72vh)}
html.private .pm .linkbtn{color:#fff}

.sisters{margin:26px 0 8px}.sister{display:flex;flex-direction:column;gap:4px}.sister b{font:700 18px var(--serif)}
.drawer-h{font:700 12px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--ink3);margin:16px 0 4px}
.foot li .small{color:#9d927c}.foot-more{color:#E2C27A}
/* Ask AI (glowmic kit, tok preset) */
.ask-fab{position:fixed;right:14px;bottom:calc(70px + env(safe-area-inset-bottom));z-index:44;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;border-radius:999px;background:#1a1028;color:#f3e8ff;font:700 15px/1 var(--sans);text-decoration:none;box-shadow:0 0 0 1px rgba(192,132,252,.5),0 8px 26px rgba(147,51,234,.35)}
.ask-fab:hover{color:#fff;box-shadow:0 0 0 2px #c084fc,0 8px 30px rgba(147,51,234,.5)}
.ask-dot{width:12px;height:12px;border-radius:50%;background:radial-gradient(circle,#e9d5ff,#9333ea);box-shadow:0 0 12px #c084fc;animation:askglow 2.4s ease-in-out infinite}
@keyframes askglow{50%{box-shadow:0 0 2px #c084fc}}
@media(min-width:1000px){.ask-fab{bottom:22px}}
@media (prefers-reduced-motion:reduce){.ask-dot{animation:none}}
.gm-mount{display:block;height:min(640px,74vh);margin-top:8px}
.gm-face-hdr{display:flex;align-items:center;gap:8px;padding:4px 6px;color:#f3e8ff;font:700 15px var(--sans)}
/* chat v2 */
.chat-rules{padding:8px 14px;border-bottom:1px solid var(--parch2);font-size:13.5px}.chat-rules summary{font:700 13px var(--sans);cursor:pointer;min-height:32px;display:flex;align-items:center}.chat-rules ul{margin:4px 0 6px;padding-left:18px}.chat-rules li{margin:2px 0}
.mbody{min-width:0}.mtools{display:none;gap:8px}.msg:hover .mtools,.msg:focus-within .mtools{display:flex}
@media (hover:none){.mtools{display:flex}}
.signin{margin:8px 10px}.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.modbar{display:flex;flex-wrap:wrap;gap:6px;padding:6px 10px;border-top:1px solid var(--parch2)}
.modbar[hidden],.chat [data-guest][hidden],.chat [data-signin][hidden]{display:none}
.chat .signin{margin:10px}
.chat .ts{margin:0 10px 8px}
.metrics{width:100%;border-collapse:collapse;font-size:14px}.metrics th,.metrics td{border-bottom:1px solid var(--parch2);padding:6px 8px;text-align:left}
.try-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:-4px 0 14px}.try-banner{background:#1a1028;color:#f3e8ff;border-radius:12px;padding:10px 14px;font:600 15px/1.4 var(--sans)}
/* first-visit welcome */
.welcome{position:fixed;inset:auto 0 0 0;z-index:70;padding:12px 12px calc(70px + env(safe-area-inset-bottom));display:flex;justify-content:center;pointer-events:none}
.welcome[hidden],.menu-open .welcome{display:none}
.welcome-card{pointer-events:auto;max-width:560px;width:100%;background:#FBF7EE;border:1px solid var(--stone);border-radius:18px;box-shadow:0 18px 50px rgba(28,26,22,.28);padding:18px 18px 16px}
.welcome-card h2{font-size:26px;margin:0 0 8px}.welcome-card p{margin:0 0 8px;font-size:16px;line-height:1.5}
.welcome-card .btnrow{margin-top:10px}
@media(min-width:1000px){.welcome{padding-bottom:24px}}
/* live channel */
.live-player video{position:absolute;inset:0;width:100%;height:100%;background:#000}
.live-offline{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#EFE6D2;text-align:center;padding:16px;background:radial-gradient(circle at 50% 40%,#2C2921,#14130F)}
.live-offline[hidden]{display:none}.live-offline p{margin:0 0 6px}
.upnext{padding-left:18px}.upnext li{margin:6px 0}
/* share a testimony */
.uploads{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.uploads p{flex-basis:100%;margin:0}
.uplist{flex-basis:100%;list-style:none;padding:0;margin:4px 0 0}.uplist li{display:flex;gap:8px;align-items:center;font-size:14px;padding:4px 0;border-bottom:1px solid var(--parch2)}
.story-video,.story-photo{width:100%;border-radius:12px;margin:10px 0;background:#000}
.note{width:100%;min-height:40px;border:1px solid var(--stone);border-radius:8px;padding:6px 10px;margin:6px 0}
/* claims swipe cards */
.swipe{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 14px;-webkit-overflow-scrolling:touch}
.swipe-card{flex:0 0 min(84%,340px);scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;min-height:260px;padding:18px;border-radius:18px;background:var(--night2);color:#EFE6D2;text-decoration:none}
.swipe-card:hover{color:#fff}.swipe-claim{font:600 15px/1.35 var(--sans);color:#C9BEA8;margin:0}.swipe-head{font:600 21px/1.3 var(--serif);color:#fff;margin:0;flex:1}.swipe-card .arrow{color:var(--gold2);font:600 14px var(--sans)}
@media(max-width:999px){html{scroll-padding-bottom:76px}}

/* footer-balance.css v2 (Todd 10-11): compact balanced footer links, scoped to footer only. */
/* A) link lists (ul/li) and bare-anchor groups (h4 + a + a ...) flow in balanced columns, headings span the full width */
footer ul:not(.fb-keep){display:block;list-style:none;margin:0;padding:0;columns:2;column-gap:20px}
footer ul:not(.fb-keep)>li{display:block;break-inside:avoid;margin:0;padding:0}
footer ul:not(.fb-keep)>li>a{display:inline-block;padding:5px 0}
footer ul:not(.fb-keep):has(>li:nth-child(-n+3):last-child){columns:1}
footer :is(div,nav,section):has(>:is(h2,h3,h4,h5)+a):not(.fb-keep){display:block;columns:2;column-gap:20px}
footer :is(div,nav,section):has(>:is(h2,h3,h4,h5)+a):not(.fb-keep)>:is(h2,h3,h4,h5){column-span:all;margin-bottom:6px}
footer :is(div,nav,section):has(>:is(h2,h3,h4,h5)+a):not(.fb-keep)>a{display:block;break-inside:avoid;padding:5px 0}
footer :is(div,nav,section):has(>:is(h2,h3,h4,h5)+a):not(.fb-keep):has(>a:nth-child(-n+4):last-child){columns:1}
/* B) groups sit in an auto-fit grid */
footer :is(div,nav,section):has(>:is(div,nav,section,details)>ul),footer :is(div,nav,section):has(>:is(div,nav,section)>:is(h2,h3,h4,h5)+a),footer .fb-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:22px 24px;text-align:left}
footer .fb-grid>*,footer :is(div,nav,section):has(>:is(div,nav,section,details)>ul)>*{min-width:0}
@media(min-width:640px){footer :is(div,nav,section):has(>:is(div,nav,section,details)>ul),footer :is(div,nav,section):has(>:is(div,nav,section)>:is(h2,h3,h4,h5)+a),footer .fb-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr))}}
/* C) flat link rows */
footer .fb-inline{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;text-align:center}
@media(min-width:768px){footer ul:not(.fb-keep):has(>li:nth-child(13)){columns:3}}
@media(min-width:1100px){
footer ul:not(.fb-keep),footer :is(div,nav,section):has(>:is(h2,h3,h4,h5)+a):not(.fb-keep){columns:1}
footer ul:not(.fb-keep):has(>li:nth-child(9)),footer :is(div,nav,section):has(>:is(h2,h3,h4,h5)+a):not(.fb-keep):has(>a:nth-child(9)){columns:2}
footer :is(div,nav,section):has(>:is(div,nav,section,details)>ul),footer :is(div,nav,section):has(>:is(div,nav,section)>:is(h2,h3,h4,h5)+a),footer .fb-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}
@media(max-width:380px){footer ul:not(.fb-keep){column-gap:12px;font-size:.95em}}


/* ---- /feed: swipe cards (DivineTok layout, JewTok parchment + gold) ---- */
.feed-page footer.foot,.feed-page .ask-fab,.feed-page .signup-nudge{display:none}
.feed-page main,.feed-page{overscroll-behavior:none}
.feed-wrap{position:relative;height:calc(100vh - 61px - 62px - env(safe-area-inset-bottom));height:calc(100dvh - 61px - 62px - env(safe-area-inset-bottom));background:#14130F}
@media(min-width:1000px){.feed-wrap{height:calc(100vh - 61px);height:calc(100dvh - 61px)}}
.feed{position:absolute;inset:0}
.tok-scroller{height:100%;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;outline:none}
.tok-scroller::-webkit-scrollbar{display:none}
.tok-slot{height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;overflow:hidden}

.feed-top{position:absolute;top:0;left:0;right:0;z-index:3;padding:10px 12px;background:linear-gradient(180deg,rgba(20,19,15,.75),rgba(20,19,15,0));pointer-events:none}
.feed-themes{flex-wrap:nowrap;overflow-x:auto;pointer-events:auto;scrollbar-width:none;margin:0}.feed-themes::-webkit-scrollbar{display:none}
.feed-themes .chip{white-space:nowrap;background:rgba(251,247,238,.92);min-height:40px}
.feed-themes .chip.on{background:#C59A3E;color:#1A1408;border-color:#C59A3E}
.fc{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg,#F5EEDF,#EADFC4);color:var(--ink)}
.fc-pic{background:#14130F;color:#FBF7EE}
.fc-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fc-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,19,15,.4) 0%,rgba(20,19,15,.62) 30%,rgba(20,19,15,.92) 100%)}
.fc-pic .fc-in{text-shadow:0 1px 3px rgba(0,0,0,.55)}.fc-pic .fc-btn{text-shadow:none}
.fc-in{position:relative;z-index:1;width:100%;max-width:640px;padding:70px 20px 18px}
.fc-ref{font:700 12px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:#C59A3E;margin:0 0 8px}
.fc-pic .fc-ref{color:#E2C27A}
.fc-he{font:400 26px/1.5 var(--heb);margin:0 0 6px;text-align:right}
.fc-vtext{font:400 clamp(19px,5vw,26px)/1.5 var(--serif);margin:0 0 10px;padding:0;border:0;display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden}
.fc-title{font:600 clamp(24px,6.5vw,34px)/1.2 var(--serif);margin:0 0 8px}
.fc-title-sm{font-size:clamp(18px,4.6vw,22px)}
.fc-text{font-size:17px;line-height:1.5;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden}
.fc-more{font:600 14px var(--sans);margin:0 0 8px;opacity:.9}
.fc-label{font:600 11.5px var(--sans);opacity:.75;margin:0 0 10px}
.fc-act{display:flex;gap:8px}
.fc-btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;border-radius:999px;border:1px solid rgba(191,174,142,.7);background:rgba(251,247,238,.95);color:var(--ink);font:700 14.5px var(--sans);text-decoration:none;cursor:pointer}
.fc-btn svg{width:18px;height:18px}.fc-btn[aria-pressed="true"]{background:#C59A3E;border-color:#C59A3E}
.fc-open{background:#C59A3E;border-color:#C59A3E;color:#1A1408}
.feed-nav{position:absolute;right:14px;top:50%;transform:translateY(-50%);z-index:3;display:none;flex-direction:column;gap:10px}
@media(min-width:1000px){.feed-nav{display:flex}}
.fc-nav{width:44px;height:44px;border-radius:50%;border:1px solid rgba(191,174,142,.7);background:rgba(251,247,238,.92);font:700 18px var(--sans);cursor:pointer}
@media(prefers-reduced-motion:reduce){.tok-scroller{scroll-behavior:auto}}
/* member posts (tok engine) */
.posts-rules summary{cursor:pointer;font-weight:700}.posts-rules ul{margin:8px 0 0 18px}
.posts-list{display:grid;gap:12px;margin-top:14px}.post-card h3{margin:0 0 4px}.post-card h3 a{color:inherit}
.post-body p{font-size:18px;line-height:1.6}.mine-item{padding:10px 0;border-top:1px solid var(--line,#e2d6bd)}.report-f{margin-top:8px}

/* BALANCED_CARDS_1013: equal heights per row, one image ratio, clamped titles/excerpts, buttons aligned, no lone orphan card */
.grid,.qlist,.books{align-items:stretch}
.card-wrap{height:100%}
.icard{height:100%}
.ic-img{aspect-ratio:16/9}
.icard .ic-in{display:flex;flex-direction:column;flex:1;padding:14px 16px 16px;gap:6px}
.icard h3,.qlist .card h3,.vcard2 b,.vcard h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.25;min-height:2.5em;margin:0}
.icard .ic-in p,.qlist .card p,.vcard p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin:0}
.qlist{grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.qlist>li{display:flex}.qlist>li>.card{flex:1;display:flex;flex-direction:column;gap:6px}
.vthumb{aspect-ratio:16/9;overflow:hidden;border-radius:12px}.vthumb img{width:100%;height:100%;object-fit:cover}
.vcard2{height:100%}
@media (min-width:640px){
  .grid-2>:last-child:nth-child(odd){grid-column:1/-1}
  .grid-2>.card-wrap:last-child:nth-child(odd) .ic-img{aspect-ratio:21/8}
}
@media (min-width:1000px){
  .grid-3>:last-child:nth-child(3n+1){grid-column:1/-1}
  .grid-3>:nth-last-child(2):nth-child(3n+1),.grid-3>:last-child:nth-child(3n+2){grid-column:span 1}
}

.news-box{max-width:520px;margin:18px 0}
.perks-t{width:100%;border-collapse:collapse}.perks-t th,.perks-t td{padding:9px 6px;border-bottom:1px solid rgba(0,0,0,.12);text-align:left}.price{display:flex;flex-wrap:wrap;gap:10px;align-items:center}

/* FOOT_COMPACT_1013 (Todd 10-13): on phones the footer is compact grouped links, not a wall of text */
@media (max-width:639px){
  .foot{padding:24px 0 96px;font-size:14px}
  .foot .cols{grid-template-columns:1fr!important;gap:14px!important}
  .foot .cols>div:first-child p{margin:4px 0;font-size:14px;line-height:1.45}
  .foot-brand{font-size:20px}
  .foot h4{margin:0 0 2px!important;font-size:11.5px}
  .foot ul{display:flex!important;flex-wrap:wrap;gap:0 16px;columns:auto!important}
  .foot li{margin:0!important}
  .foot li a,.foot li .linkbtn{display:inline-flex;align-items:center;min-height:34px;font-size:14.5px}
  .foot li br,.foot li .small{display:none}
  .foot .news-box{padding:14px!important;margin-top:16px}
  .foot .news-box .h2-sm{font-size:17px;margin:2px 0}
  .foot .fine{margin-top:14px;padding-top:10px;font-size:12px;line-height:1.45}
}
/* FOOT_COMPACT2: the weekly-email box in the footer: email and button on one row on phones */
@media (max-width:639px){
  .foot .news-box{display:grid!important;grid-template-columns:1fr auto;gap:6px 8px;align-items:center}
  .foot .news-box>*{grid-column:1/-1;margin:0!important}
  .foot .news-box>input[type=email]{grid-column:1;min-width:0}
  .foot .news-box>button[type=submit]{grid-column:2;padding:0 16px}
  .foot .news-box>.eyebrow{font-size:11px}
  .foot .news-box>[data-msg]{font-size:12px}
  .foot .news-box .h2-sm{color:inherit}
}
/* FOOT_COMPACT3: keep the button beside the email field (the safety check and note go below) */
@media (max-width:639px){.foot .news-box>.hp,.foot .news-box>.ts{order:1}.foot .news-box>[data-msg]{order:2}.foot .news-box .h2-sm{color:#2b2620}}

/* jt-glitch-1014 (engine) */
.tok-scroller{overflow-anchor:none}

.tv-frame{aspect-ratio:16/9;width:100%;height:auto;contain:layout paint}

/* t840: the Radio/Ask pill does not sit on the hero text while the welcome card is open */
body.wel-open #tokRadio,body.pill-aside #tokRadio{visibility:hidden}  /* t840c: also while hero text is under it */
/* t840b: on phones the hero buttons end above the Radio/Ask pill */
@media (max-width:700px){.hero .wrap{padding-bottom:96px}}
/* QF5 1015 contrast: gold tags readable on light pages and on dark cards/sections ("Left out" was dark gold on a dark card) */
.tag-gold{color:#76571a}
.sec-dark .tag-gold,.card-dark .tag-gold,.hero .tag-gold{color:#E2C27A}

/* QF6 1015 T-1022/T-1029/T-1031/T-1034: no lone tile in a last row. Tiles keep the same columns and widths; short last rows are centred. */
div.books{display:flex;flex-wrap:wrap;justify-content:center;container-type:inline-size}
div.books>*{--bk:2;flex:0 0 calc((100% - (var(--bk) - 1) * 8px) / var(--bk));min-width:0}
@container (min-width:466px){div.books>*{--bk:3}}
@container (min-width:624px){div.books>*{--bk:4}}
@container (min-width:782px){div.books>*{--bk:5}}
@container (min-width:940px){div.books>*{--bk:6}}
@container (min-width:1098px){div.books>*{--bk:7}}
@container (min-width:1256px){div.books>*{--bk:8}}
ol.qlist,ul.qlist{display:flex;flex-wrap:wrap;justify-content:center;container-type:inline-size}
.qlist>li{--q:1;flex:0 0 calc((100% - (var(--q) - 1) * 12px) / var(--q));min-width:0}
@container (min-width:652px){.qlist>li{--q:2}}
@container (min-width:984px){.qlist>li{--q:3}}
.rooms,.qs-chips,.cta{justify-content:center}
@media(min-width:640px){.grid-2>:last-child:nth-child(odd){grid-column:1/-1}}
@media(min-width:1000px){.grid-5:has(> :nth-child(6):last-child){grid-template-columns:repeat(3,1fr)}}
/* QF6 1015 T-1023/T-1033: on phones the last lines of a swipe card stay above the floating Radio/Ask controls and the tab bar */
@media(max-width:760px){.sc-in{padding-bottom:84px}}
/* FLASH1: neighbour pictures stay painted while the feed is still (hiding them made every scroll flash) */
/* TOKHERO1 (Todd 10-30): the hero is centered at every width (verse, eyebrow, heading, lead, buttons, ask box). CSS only. */
.hero .wrap{align-items:center;text-align:center}
.hero .wrap>*{margin-left:auto;margin-right:auto}
.hero .cta{justify-content:center}
section.hero .wrap .cta{justify-content:center!important} /* beats tok-a11y.css "CTA row lines up with the left-aligned headline" (flex-start!important), the headline is centered now */
.hero .hero-heb{align-self:center;text-align:center}
.hero .hero-ask{width:100%;text-align:left}
