/* ===== APPOINTED day & night theme layer =====
   Loaded after styles.css. Changes colors, backgrounds and hover states only;
   no element is moved, resized or re-ordered. */
:root{--n0:#070E1F;--n1:#0D1E38;--n2:#1B3060;--g:#C9A84C;--gh:#E8CD7E;--parch:#F3EAD3;--mist2:rgba(243,234,211,.78)}
html,body{background:var(--n0)!important}
#sky{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.ap-wash{position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 90% 60% at 70% -10%,rgba(27,48,96,.75),transparent 70%),radial-gradient(ellipse 60% 50% at 0% 100%,rgba(27,48,96,.45),transparent 70%)}
.app-shell{position:relative;z-index:1;background:transparent!important;box-shadow:none!important}

/* ---- night chrome: sidebar, top bar, tab bar ---- */
.sidebar{background:transparent!important;border-right:0!important;box-shadow:none!important}
.sidebar::after{content:"";position:absolute;top:8%;bottom:8%;right:0;width:1px;background:linear-gradient(180deg,transparent,rgba(201,168,76,.28) 30%,rgba(201,168,76,.28) 70%,transparent);pointer-events:none}
.side-name{color:var(--parch)!important}
.side-name small,.side-foot{color:rgba(243,234,211,.55)!important}
.side-foot{border-top-color:rgba(201,168,76,.2)!important}
.side-group{color:var(--g)!important}
.side-link{color:rgba(243,234,211,.8)!important;transition:background .18s,color .18s,transform .18s!important}
.side-link:hover{background:rgba(201,168,76,.12)!important;color:var(--gh)!important;transform:translateX(3px)}
.side-link.active{background:linear-gradient(90deg,rgba(201,168,76,.24),rgba(201,168,76,.06))!important;color:var(--gh)!important;box-shadow:inset 2px 0 0 var(--gh)!important}
.side-ico{color:var(--g)!important}
.brand-mark{display:inline-grid;place-items:center;line-height:0;vertical-align:middle}
.brand-mark svg{width:26px;height:26px;transition:transform .6s ease}
.side-brand .brand-mark svg{width:30px;height:30px}
.side-brand:hover .brand-mark svg,.brand:hover .brand-mark svg{transform:rotate(45deg)}
.topbar{background:rgba(7,14,31,.9)!important;border-bottom:1px solid rgba(201,168,76,.22)!important}
.brand{color:var(--parch)!important}
.avatar{background:rgba(201,168,76,.14)!important;border-color:var(--g)!important;color:var(--gh)!important;transition:background .2s,color .2s}
.avatar:hover{background:var(--g)!important;color:var(--n0)!important}
.tabbar{background:rgba(7,14,31,.94)!important;border-top:1px solid rgba(201,168,76,.25)!important}
.tab{color:rgba(243,234,211,.62)!important}
.tab.active{color:var(--gh)!important}
.tab-indicator{background:rgba(201,168,76,.16)!important;border:1px solid rgba(201,168,76,.35)}

/* ---- main column: night header, then the day band ---- */
main#app{position:relative;isolation:isolate;min-height:100dvh;
  background:linear-gradient(180deg,transparent 0,transparent var(--hz,180px),#E7D3A6 var(--hz,180px),#F4E9D2 calc(var(--hz,180px) + 150px),#F8F3E8 calc(var(--hz,180px) + 420px),#F8F3E8 100%)!important}
.ap-horizon{position:absolute;left:0;right:0;top:var(--hz,180px);height:46px;pointer-events:none;overflow:hidden;z-index:-1}
.ap-horizon::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,transparent,#C9A84C 20%,#E8CD7E 50%,#C9A84C 80%,transparent)}
.ap-horizon svg{display:none}
/* header text that sits on the night sky */
.nz.eyebrow,.nz .eyebrow{color:var(--gh)!important}
.nz.page-title,.nz h1{color:var(--parch)!important}
.nz.intro,.nz>p,.nz p{color:var(--mist2)!important}
.nz .heb-date{color:var(--gh)!important}
.nz.back,.nz .back{color:var(--gh)!important}
.nz .chip{background:rgba(201,168,76,.14)!important;border-color:rgba(201,168,76,.4)!important;color:var(--parch)!important}
.nz .chip-gold{background:rgba(232,205,126,.22)!important;color:var(--gh)!important}
.nz em{color:var(--parch)}

/* ---- hover: cards lift and pick up gold ---- */
.card,.mini-card,.vol-row,.verse,.today-card,.result,.hist-row,.camp-side-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important}
.mini-card:hover,.vol-row:hover,.card:hover,.today-card:hover,.verse:hover,.camp-side-card:hover{transform:translateY(-3px);border-color:#C9A84C!important;box-shadow:0 14px 30px rgba(31,26,18,.14)!important}
.mini-card:hover .icon,.vol-row:hover .tile{color:#7A5A0E}
.primary{transition:transform .15s,box-shadow .2s!important}
.primary:hover{transform:translateY(-1px);box-shadow:0 0 0 1px var(--gh),0 8px 20px rgba(27,48,96,.3)!important}
@media(prefers-reduced-motion:reduce){.mini-card:hover,.vol-row:hover,.card:hover,.today-card:hover,.verse:hover,.side-link:hover{transform:none}}

/* hover-to-explain: the small description under a card title opens on hover */
.ap-explain{display:block;max-height:0;opacity:0;overflow:hidden;transition:max-height .3s ease,opacity .25s ease,margin .3s ease;font-size:12.5px;line-height:1.55;color:#6b6457;margin-top:0}
.mini-card:hover .ap-explain,.mini-card:focus-visible .ap-explain,.vol-row:hover .ap-explain,.vol-row:focus-visible .ap-explain{max-height:120px;opacity:1;margin-top:8px}

/* ---- sun progress bar (fixed, takes no space) ---- */
.ap-sunbar{position:fixed;top:0;height:22px;pointer-events:none;z-index:6}
.ap-sunbar .sb-track{position:absolute;left:0;right:0;top:10px;height:2px;background:rgba(201,168,76,.22)}
.ap-sunbar .sb-fill{position:absolute;left:0;top:10px;height:2px;width:0;background:linear-gradient(90deg,rgba(232,140,60,.25),#E8CD7E)}
.ap-sunbar .sb-sun{position:absolute;top:-4px;left:0;width:30px;height:30px;margin-left:-15px;will-change:transform}
.ap-sunbar .sb-sun svg{width:100%;height:100%;display:block}

/* ---- name meaning lookup on Discover ---- */
.ap-names h2{font:500 24px var(--serif);margin:0 0 6px;color:#172744}
.ap-names .intro{margin-bottom:14px}
.ap-nform{display:flex;gap:10px;flex-wrap:wrap;position:relative}
.ap-nwrap{position:relative;flex:1 1 220px;min-width:0}
.ap-nwrap input{width:100%}
.ap-sug{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:10;list-style:none;margin:0;padding:6px;background:#fffdf9;border:1px solid #C9A84C;border-radius:12px;box-shadow:0 16px 36px rgba(23,39,68,.18);max-height:280px;overflow:auto}
.ap-sug li{display:flex;justify-content:space-between;gap:12px;padding:9px 12px;border-radius:8px;cursor:pointer;font-size:14px;color:#172744}
.ap-sug li small{color:#8a887f;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-sug li.on,.ap-sug li:hover{background:#f3ecd9}
.ap-nform .primary{width:auto;flex:none;padding-left:22px;padding-right:22px;margin:0}
#apName{width:100%;max-width:100%;min-width:0;appearance:none;-webkit-appearance:none;height:52px;padding:0 14px;border-radius:12px;border:1px solid #ddd7ca;background:#fff;color:var(--ink);font:16px var(--sans)}
#apName:focus-visible{outline:2px solid #b99b4e;outline-offset:1px;border-color:#b99b4e}
@media(min-width:768px){#apName{border-radius:8px;min-height:42px;height:44px;font:400 14px var(--sans)}.ap-nform .primary{height:44px}}
.tab-indicator{box-shadow:none!important}
/* Today's reading: full width, cards side by side (requested) */
@media (min-width:900px){
  .today-grid{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"hero" "rail" "history" "reading" "features"!important}
  .tg-rail{position:static!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;align-items:start}
  .tg-rail>*{margin:0!important}
  .tg-history:empty{display:none}
  .tg-reading{display:block!important;columns:2;column-gap:18px}
  .tg-reading .card{break-inside:avoid;display:inline-block;width:100%;margin-top:0!important;margin-bottom:18px!important}
  .tg-reading .section-head{column-span:all}
}
@media (min-width:1500px){.tg-reading{columns:3}.tg-reading .card:last-child{column-span:none}}
@media (min-width:900px){.tg-reading>div:first-child{column-span:all}.tg-reading>div:first-child .card{display:block}}

/* ---- sun mouse pointer (the progress bar keeps its own sun) ---- */
html,body,body *{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20aria-hidden%3D%22true%22%3E%3Cg%20class%3D%22sun-rays%22%20fill%3D%22%23D9B45A%22%3E%3Cpath%20d%3D%22M17.50%207.40%20L16.00%200.80%20L14.50%207.40%20Z%22%2F%3E%3Cpath%20d%3D%22M21.30%209.13%20L22.30%205.09%20L19.30%207.98%20Z%22%2F%3E%3Cpath%20d%3D%22M24.02%2012.70%20L26.91%209.70%20L22.87%2010.70%20Z%22%2F%3E%3Cpath%20d%3D%22M24.60%2017.50%20L31.20%2016.00%20L24.60%2014.50%20Z%22%2F%3E%3Cpath%20d%3D%22M22.87%2021.30%20L26.91%2022.30%20L24.02%2019.30%20Z%22%2F%3E%3Cpath%20d%3D%22M19.30%2024.02%20L22.30%2026.91%20L21.30%2022.87%20Z%22%2F%3E%3Cpath%20d%3D%22M14.50%2024.60%20L16.00%2031.20%20L17.50%2024.60%20Z%22%2F%3E%3Cpath%20d%3D%22M10.70%2022.87%20L9.70%2026.91%20L12.70%2024.02%20Z%22%2F%3E%3Cpath%20d%3D%22M7.98%2019.30%20L5.09%2022.30%20L9.13%2021.30%20Z%22%2F%3E%3Cpath%20d%3D%22M7.40%2014.50%20L0.80%2016.00%20L7.40%2017.50%20Z%22%2F%3E%3Cpath%20d%3D%22M9.13%2010.70%20L5.09%209.70%20L7.98%2012.70%20Z%22%2F%3E%3Cpath%20d%3D%22M12.70%207.98%20L9.70%205.09%20L10.70%209.13%20Z%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%226.6%22%20fill%3D%22url%28%23sg%29%22%2F%3E%3Cdefs%3E%3CradialGradient%20id%3D%22sg%22%20cx%3D%22.4%22%20cy%3D%22.38%22%20r%3D%22.7%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FFF3C9%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23EBCB72%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23C9A84C%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E") 16 16,auto}
body a,body button,body [role=button],body summary,body label,body select,body .tg,body [data-screen]{cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%20aria-hidden%3D%22true%22%3E%3Cg%20class%3D%22sun-rays%22%20fill%3D%22%23D9B45A%22%3E%3Cpath%20d%3D%22M17.50%207.40%20L16.00%200.80%20L14.50%207.40%20Z%22%2F%3E%3Cpath%20d%3D%22M21.30%209.13%20L22.30%205.09%20L19.30%207.98%20Z%22%2F%3E%3Cpath%20d%3D%22M24.02%2012.70%20L26.91%209.70%20L22.87%2010.70%20Z%22%2F%3E%3Cpath%20d%3D%22M24.60%2017.50%20L31.20%2016.00%20L24.60%2014.50%20Z%22%2F%3E%3Cpath%20d%3D%22M22.87%2021.30%20L26.91%2022.30%20L24.02%2019.30%20Z%22%2F%3E%3Cpath%20d%3D%22M19.30%2024.02%20L22.30%2026.91%20L21.30%2022.87%20Z%22%2F%3E%3Cpath%20d%3D%22M14.50%2024.60%20L16.00%2031.20%20L17.50%2024.60%20Z%22%2F%3E%3Cpath%20d%3D%22M10.70%2022.87%20L9.70%2026.91%20L12.70%2024.02%20Z%22%2F%3E%3Cpath%20d%3D%22M7.98%2019.30%20L5.09%2022.30%20L9.13%2021.30%20Z%22%2F%3E%3Cpath%20d%3D%22M7.40%2014.50%20L0.80%2016.00%20L7.40%2017.50%20Z%22%2F%3E%3Cpath%20d%3D%22M9.13%2010.70%20L5.09%209.70%20L7.98%2012.70%20Z%22%2F%3E%3Cpath%20d%3D%22M12.70%207.98%20L9.70%205.09%20L10.70%209.13%20Z%22%2F%3E%3C%2Fg%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2216%22%20r%3D%226.6%22%20fill%3D%22url%28%23sg%29%22%2F%3E%3Cdefs%3E%3CradialGradient%20id%3D%22sg%22%20cx%3D%22.4%22%20cy%3D%22.38%22%20r%3D%22.7%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23FFF3C9%22%2F%3E%3Cstop%20offset%3D%22.55%22%20stop-color%3D%22%23EBCB72%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23C9A84C%22%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3C%2Fsvg%3E") 16 16,pointer}
body input[type=text],body input:not([type]),body input[type=email],body textarea{cursor:text}

/* ---- birthday constellation in the Discover header ---- */
.ap-const{position:absolute;right:clamp(16px,3vw,48px);top:14px;width:150px;pointer-events:none;z-index:0;text-align:center}
.ap-const svg{width:150px;height:104px;display:block;overflow:visible}
.ap-const .cl{stroke:#C9A84C;stroke-width:.7;opacity:.75;stroke-dasharray:120;stroke-dashoffset:120;animation:apDraw 1.2s ease forwards}
.ap-const .cs{fill:#F6E4B0;opacity:0;animation:apStar .5s ease forwards;filter:drop-shadow(0 0 2px rgba(246,228,176,.8))}
.ap-const-cap{font:italic 13px/1.4 var(--serif);color:rgba(243,234,211,.8);margin-top:-6px}
@keyframes apDraw{to{stroke-dashoffset:0}}
@keyframes apStar{to{opacity:1}}
@media(prefers-reduced-motion:reduce){.ap-const .cl{animation:none;stroke-dashoffset:0}.ap-const .cs{animation:none;opacity:1}}
@media(max-width:767px){.ap-const{right:8px;top:8px;width:120px;opacity:.55}.ap-const svg{width:120px;height:120px}.ap-const-cap{display:none}}
.nz{position:relative;z-index:1}

/* ---- name suggestions on the birth form ---- */
.name-row>div{position:relative}

/* ---- result sections as titles that open ---- */
.ap-acc{padding-top:18px!important;padding-bottom:18px!important}
.ap-acc:not(.open)>*:not(.ap-acc-t){display:none!important}
.ap-acc-t{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:0!important;font-size:12px!important;cursor:pointer;user-select:none;border-radius:6px}
.ap-acc-t::after{content:"";flex:none;width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .25s}
.ap-acc.open>.ap-acc-t{margin-bottom:12px!important}
.ap-acc.open>.ap-acc-t::after{transform:rotate(-135deg) translateY(-3px)}
.ap-acc-t:hover{color:#7A5A0E!important}
.ap-acc-t:focus-visible{outline:2px solid #b99b4e;outline-offset:4px}
.ap-acc.open>*:not(.ap-acc-t){animation:apOpen .28s ease}
@keyframes apOpen{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.reveal-grid{align-items:start}

@media(min-width:768px){main[data-view=discover] .nz.page-title,main[data-view=discover] .nz.intro{max-width:calc(100% - 190px)}}
.ap-const-cap{font-size:12px!important;margin-top:0!important}

/* ---- mounted study screens (Gospel, The Well, Family Tribes, Covenant Pairing...) blended into the brand ---- */
.ap-m{background:transparent!important;min-height:0!important;--read:'Frank Ruhl Libre',Georgia,serif;--display:'Frank Ruhl Libre',Georgia,serif}
.ap-m>.ap-mh.ap-mh{background:transparent!important;border-bottom:0!important;text-align:left!important;padding:4px 0 22px!important}
.ap-mh>button{display:none!important}
.ap-mh>div{margin-left:0!important;margin-right:0!important;max-width:720px!important;text-align:left!important}
.ap-mh>div:first-of-type{font-size:10px!important;letter-spacing:2.4px!important;color:#E8CD7E!important}
.ap-mh h2{font:500 34px/1.15 var(--serif)!important;letter-spacing:-.5px!important;color:#F3EAD3!important;margin:10px 0 8px!important;text-transform:none!important}
.ap-mh [style*="font-style: italic"]{font-style:normal!important;font-size:14px!important;color:rgba(243,234,211,.78)!important;line-height:1.65!important}
.ap-dup>.ap-mh{display:none!important}
.ap-mb{max-width:none!important;margin:0!important;padding:18px 0 48px!important}
.ap-mb>*{max-width:none}
.ap-m [style*="background: rgb(255, 255, 255)"]{background:#FFFDF9!important}
.ap-m [style*="border: 1px solid rgb(201, 168, 76)"],.ap-m [style*="border: 2px solid rgb(201, 168, 76)"]{border-color:rgba(189,152,71,.45)!important;border-radius:14px!important}
.ap-m [style*="border-radius: 10px"],.ap-m [style*="border-radius: 8px"]{border-radius:14px!important}
.ap-m button[style*="border: 1px solid rgb(201, 168, 76)"]{transition:transform .2s,box-shadow .2s,border-color .2s!important}
.ap-m button[style*="border: 1px solid rgb(201, 168, 76)"]:hover{transform:translateY(-2px);border-color:#C9A84C!important;box-shadow:0 12px 26px rgba(31,26,18,.12)!important}
.ap-m [style*="color: rgb(43, 89, 195)"]{color:#8A6A1E!important}
.ap-m [style*="background: rgb(43, 89, 195)"],.ap-m [style*="rgb(43, 89, 195), rgb(27, 48, 96)"]{background:#1B3060!important}
.ap-m [style*="color: rgb(31, 122, 92)"]{color:#1B3060!important;font-family:var(--serif)!important}
.ap-m [style*="border-left: 4px solid rgb(31, 122, 92)"]{border-left-color:#C9A84C!important}
.ap-m [style*="color: rgb(100, 116, 143)"]{color:#6b6457!important}
.ap-m [style*="color: rgb(74, 88, 120)"]{color:#57534e!important}
.ap-m [style*="background: rgb(242, 243, 245)"]{background:#F4EBD8!important}
.ap-m [style*="border-bottom: 1px solid rgb(242, 243, 245)"]{border-bottom-color:#EADFC8!important}
.ap-m [style*="background: rgb(138, 155, 181)"],.ap-m [style*="background: rgb(176, 152, 144)"]{background:rgba(27,48,96,.42)!important;color:#FAF5EC!important}
.ap-m button[style*="border: 2px solid rgb(100, 116, 143)"]{border-color:#C9A84C!important;color:#7A5A0E!important;border-radius:999px!important;transition:background .2s,color .2s!important}
.ap-m button[style*="border: 2px solid rgb(100, 116, 143)"]:hover{background:#1B3060!important;color:#F3EAD3!important;border-color:#1B3060!important}
.ap-m input,.ap-m select{border-width:1px!important;border-color:#ddd7ca!important;border-radius:10px!important;background:#fff!important}
.ap-m input:focus,.ap-m select:focus{border-color:#b99b4e!important;outline:2px solid rgba(185,155,78,.35)}

/* fade-in used by Author's Story + certificate (rule was missing from styles.css) */
@keyframes declRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.decl-anim{animation:declRise .9s ease forwards}
@media (prefers-reduced-motion:reduce){.decl-anim{animation:none;opacity:1!important}}

/* Author's Story headshot: no separate star box, centred, a little lower, glow kept */
.ap-mh>canvas{display:none!important}
.ap-mh>div:has(>img[alt="Tania Murray"]){max-width:none!important}
.ap-mh img[alt="Tania Murray"]{margin:46px auto 0!important;width:min(280px,62vw)!important}
.ap-mh:has(img[alt="Tania Murray"]){padding-bottom:0!important}
.ap-mh img[alt="Tania Murray"]{margin-bottom:0!important;vertical-align:bottom}
.ap-mh img[alt="Tania Murray"]{clip-path:inset(-80px -80px 0 -80px)}

/* Today rail: two cards side by side, the verse card as a wide box underneath (requested) */
@media (min-width:900px){
  .tg-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important}
  .tg-rail>*:not(.verse):nth-last-child(2):nth-child(odd){grid-column:1/-1}
  .tg-rail>.verse{grid-column:1/-1;display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:44px;align-items:center}
  .tg-rail>.verse>.ap-vq blockquote{margin-top:0!important}
  .tg-rail>.verse>.ap-vn{border-left:1px solid rgba(185,155,78,.35);padding-left:28px}
  .tg-rail>.verse>.ap-vn>p:first-child{border-top:0!important;padding-top:0!important;margin-top:0!important}
}

/* Today's reading: cards start as titles + tags and open on click (requested) */
.ap-racc>.ap-rhead{all:unset;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:14px;width:100%;cursor:inherit}
.ap-racc>.ap-rhead .ap-rtitle{grid-column:1}
.ap-racc>.ap-rhead .eyebrow{font-size:12px!important;letter-spacing:1.8px!important;margin:0!important;line-height:1.5}
.ap-racc>.ap-rhead .conf-chips{grid-column:1;grid-row:2;margin:10px 0 0!important}
.ap-racc>.ap-rhead .ap-rchev{grid-column:2;grid-row:1/span 2;width:30px;height:30px;border-radius:50%;border:1px solid rgba(185,155,78,.55);position:relative;transition:transform .25s ease,background .2s}
.ap-racc>.ap-rhead .ap-rchev::before{content:"";position:absolute;left:50%;top:45%;width:8px;height:8px;border-right:2px solid #9c7c2c;border-bottom:2px solid #9c7c2c;transform:translate(-50%,-50%) rotate(45deg)}
.ap-racc.ap-open>.ap-rhead .ap-rchev{transform:rotate(180deg)}
.ap-racc>.ap-rhead:hover .ap-rchev{background:rgba(201,168,76,.14)}
.ap-racc>.ap-rhead:focus-visible{outline:2px solid #b99b4e;outline-offset:6px;border-radius:8px}
.ap-racc.ap-closed>:not(.ap-rhead){display:none!important}
.ap-racc.ap-open>.ap-rhead{margin-bottom:12px}
@media (min-width:900px){
  .tg-reading{columns:auto!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;grid-auto-flow:row dense;align-items:start}
  .tg-reading>div:first-child,.tg-reading>.section-head{grid-column:1/-1}
  .tg-reading .card{margin:0!important}
  .tg-reading>.ap-racc.ap-open{grid-column:1/-1}
  /* Share today: one wide card, the two share images side by side */
  .tg-reading>.ap-share{grid-column:1/-1}
  .ap-share #todayshare{display:grid;grid-template-columns:repeat(2,max-content);justify-content:start;column-gap:28px;row-gap:0;margin:8px 0 6px}
  .ap-share #todayshare>:nth-child(1){grid-column:1;grid-row:1}
  .ap-share #todayshare>:nth-child(2){grid-column:1;grid-row:2;justify-self:start}
  .ap-share #todayshare>:nth-child(3){grid-column:2;grid-row:1}
  .ap-share #todayshare>:nth-child(4){grid-column:2;grid-row:2;justify-self:start}
  .ap-share #todayshare>*>div{height:100%;box-sizing:border-box}
}
@media (min-width:1500px){.tg-reading{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Daily reading card: title + tags, opens on hover (tap on phones) */
.ap-dcard{position:relative}
.ap-dcard>.ap-dbody{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s ease}
.ap-dcard>.ap-dbody>.ap-dinner{min-height:0;overflow:hidden;opacity:0;transition:opacity .35s ease}
.ap-dcard:is(:hover,:focus-within,.ap-open)>.ap-dbody{grid-template-rows:1fr}
.ap-dcard:is(:hover,:focus-within,.ap-open)>.ap-dbody>.ap-dinner{opacity:1}
.ap-dhint{position:absolute;top:26px;right:26px;width:30px;height:30px;border-radius:50%;border:1px solid rgba(185,155,78,.55);transition:transform .3s ease}
.ap-dhint::before{content:"";position:absolute;left:50%;top:45%;width:8px;height:8px;border-right:2px solid #9c7c2c;border-bottom:2px solid #9c7c2c;transform:translate(-50%,-50%) rotate(45deg)}
.ap-dcard:is(:hover,:focus-within,.ap-open)>.ap-dhint{transform:rotate(180deg)}
.ap-dcard:focus-visible{outline:2px solid #b99b4e;outline-offset:3px}

/* Hidden Treasures icons */
.ap-ticon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#FBF5E6;border:1px solid #E5D3A0;color:#A07E2B;line-height:0}
.ap-ticon svg{width:30px;height:30px;display:block}
.ap-ticon-lg{width:60px;height:60px;margin:0 auto;background:rgba(232,205,126,.08);border-color:rgba(232,205,126,.45);color:#E8CD7E}
.ap-ticon-lg svg{width:38px;height:38px}
.camp-grid{margin-top:30px!important}

/* Gospel: sub-section boxes use the same navy as the main buttons */
main[data-view="gospel"] [style*="background: rgb(27, 48, 96)"]{background-color:#1B2B49!important}
main[data-view="gospel"] button[style*="rgb(43, 89, 195)"]{background:#1B2B49!important}
