/* Shared layout correction from Terrence's full-page review, November 5. */
html:root body .operator-tools-gateway .operator-tool-buttons{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:14px!important;margin:24px 0!important}
html:root body .operator-tools-gateway .operator-tool-buttons>a{display:flex!important;width:100%!important;height:100%!important;min-width:0!important;min-height:88px!important;margin:0!important;padding:16px!important;box-sizing:border-box!important;font:700 18px/1.35 Georgia,serif!important;align-items:center!important;justify-content:center!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
html:root body .operator-tool-note{margin-top:24px!important}
html:root body .conformity-link-stack{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:1fr!important;gap:14px!important;width:100%!important;margin:22px 0!important;min-width:0!important}
html:root body .conformity-link-stack>a{display:flex!important;width:100%!important;height:100%!important;box-sizing:border-box!important;min-width:0!important;min-height:88px!important;margin:0!important;padding:16px 18px!important;font:700 18px/1.35 Georgia,serif!important;align-items:center!important;justify-content:center!important;gap:12px!important;text-align:center!important;overflow-wrap:anywhere!important}
html:root body .launch-grid{align-items:stretch!important;grid-auto-rows:1fr!important}
html:root body .launch-card{display:flex!important;flex-direction:column!important;height:100%!important;min-width:0!important}
html:root body .launch-card figcaption{display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important}
html:root body .launch-card h3{min-height:3em!important}
html:root body .launch-actions{display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:1fr!important;gap:12px!important;margin-top:auto!important;padding-top:16px!important}
html:root body .launch-actions>a{width:100%!important;height:100%!important;min-height:88px!important;margin:0!important;font-size:18px!important}
html:root body :is(.approved-study-sets,.poker-companion-group){width:calc(100% - 48px)!important;max-width:1000px!important;box-sizing:border-box!important;margin:24px auto!important;padding:0!important;border:1px solid #b79450!important;border-radius:16px!important}
html:root body .poker-volume-details{width:calc(100% - 48px)!important;max-width:1000px!important;padding:0!important;box-sizing:border-box!important;margin:24px auto!important;border:1px solid #b79450!important;border-radius:16px!important}
html:root body :is(.approved-study-sets,.poker-companion-group,.poker-volume-details)>summary{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:80px!important;box-sizing:border-box!important;margin:0!important;padding:20px!important;border-radius:15px!important;font:700 20px/1.35 Georgia,serif!important;text-align:center!important;list-style:none!important}
html:root body :is(.approved-study-sets,.poker-companion-group,.poker-volume-details)>summary::before{content:'▸';margin-right:12px;flex:none}
html:root body :is(.approved-study-sets,.poker-companion-group,.poker-volume-details)[open]>summary::before{content:'▾'}
html:root body .approved-study-sets[open]{padding:0 20px 20px!important}
html:root body .poker-volume-details[open]{padding:0 20px 20px!important}
html:root body .conformity-contact-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:14px!important;max-width:820px!important;margin:26px 0!important}
html:root body .conformity-contact-pair>a{display:flex!important;width:100%!important;height:100%!important;box-sizing:border-box!important;min-height:80px!important;margin:0!important;padding:16px!important;align-items:center!important;justify-content:center!important;font:700 18px/1.35 Georgia,serif!important;overflow-wrap:anywhere!important;text-align:center!important}
html:root body .footer-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:start!important}
html:root body .footer-grid>div{min-width:0!important}
html:root body .footer-grid>div:not(:first-child){display:grid!important;grid-template-columns:1fr!important;grid-auto-rows:1fr!important;gap:14px!important}
html:root body .footer-grid a{display:flex!important;width:100%!important;height:100%!important;box-sizing:border-box!important;min-width:0!important;min-height:88px!important;margin:0!important;padding:14px!important;align-items:center!important;justify-content:center!important;gap:12px!important;font:700 18px/1.35 Georgia,serif!important;overflow-wrap:anywhere!important;text-align:center!important}
html:root body img.conformity-brand-icon{display:block!important;width:44px!important;height:44px!important;min-width:44px!important;flex:0 0 44px!important;object-fit:contain!important;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;margin:0!important}
@media(max-width:850px){html:root body .operator-tools-gateway .operator-tool-buttons{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){html:root body .operator-tools-gateway .operator-tool-buttons,html:root body .conformity-contact-pair,html:root body .footer-grid{grid-template-columns:1fr!important}html:root body :is(.approved-study-sets,.poker-companion-group,.poker-volume-details){width:calc(100% - 32px)!important}html:root body .conformity-link-stack>a{font-size:17px!important;min-height:88px!important}}

/* Publisher navigation: eight equal cells, including the catalog and store. */
html:root body>header{height:auto!important;min-height:100px!important;gap:24px!important;padding:18px 4vw!important}
html:root body>header>nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:12px!important;flex:1!important;width:auto!important;min-width:0!important;max-width:1080px!important}
html:root body>header>nav>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;min-height:76px!important;min-width:0!important;margin:0!important;padding:12px!important;box-sizing:border-box!important;font:700 16px/1.3 Georgia,serif!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important}
html:root body .catalog-showcase .showcase-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important;max-width:440px!important;margin:16px auto!important;align-items:stretch!important}
html:root body .catalog-showcase .showcase-controls[hidden]{display:none!important}
html:root body .showcase-controls>button{width:100%!important;min-height:64px!important;box-sizing:border-box!important;padding:14px!important;font:700 18px/1.3 Georgia,serif!important}
html:root body .showcase-controls>[data-showcase-prev]{grid-column:1!important;grid-row:1!important}
html:root body .showcase-controls>[data-showcase-next]{grid-column:2!important;grid-row:1!important}
html:root body .showcase-controls>[data-showcase-status]{grid-column:1/-1!important;grid-row:2!important;text-align:center!important}
html:root body .hero-art{padding-bottom:150px!important;min-height:690px!important}
html:root body .slider-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
html:root body .slider-controls>button{min-width:64px!important;min-height:64px!important;font-size:22px!important}
html:root body .book-card>div{display:flex!important;flex-direction:column!important;min-width:0!important;gap:14px!important}
html:root body .book-card>div>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;box-sizing:border-box!important;min-height:88px!important;margin:0!important;padding:14px!important;gap:12px!important;font:700 18px/1.35 Georgia,serif!important}
html:root body .universe-grid{align-items:stretch!important;grid-auto-rows:1fr!important}
html:root body .universe-grid>.universe{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:120px minmax(66px,auto) 1fr!important;align-content:start!important;justify-content:start!important;align-items:center!important;gap:18px!important;min-width:0!important;padding:24px!important;border-top:4px solid var(--lane-accent,#d5b269)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--lane-accent,#d5b269) 13%,#100a1b),#0a0c16)!important}
html:root body .universe-grid>.universe>.premium-identity-art,html:root body .universe-grid>.universe>.premium-poker-lockup,html:root body .universe-grid>.universe>.interactive-book-cover{grid-row:1!important;width:100%!important;height:120px!important;min-height:0!important;display:flex!important;align-items:center!important;margin:0!important;min-width:0!important}
html:root body .universe-grid>.universe .premium-identity-art{width:100%!important;height:120px!important;object-fit:contain!important;object-position:left center!important}
html:root body .universe-grid>.universe h3{grid-row:2!important;font:700 23px/1.25 Georgia,serif!important;color:#fff4e4!important;margin:0!important;min-height:58px!important}
html:root body .universe-grid>.universe p{grid-row:3!important;align-self:start!important;font:16px/1.5 Arial,sans-serif!important;margin:0!important}
html:root body .universe-grid>.publishing{--lane-accent:#bd6fea}
html:root body .universe-grid>.poker{--lane-accent:#e64b5b}
html:root body .universe-grid>.trading{--lane-accent:#46b783}
html:root body .universe-grid>.decisions{--lane-accent:#e5bd61}
html:root body .universe-grid>.spirituality{--lane-accent:#a66ee0}
html:root body .universe-grid>.fitness{--lane-accent:#38beb4}
html:root body .universe-grid>.memoir{--lane-accent:#d7a35d}
html:root body .universe-grid>.memoir .premium-identity-art{filter:brightness(1.6) saturate(1.12)!important}
@media(max-width:1100px){html:root body>header>.menu{display:inline-flex!important}html:root body>header>nav{display:none!important}html:root body>header>nav.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;max-height:75dvh!important;overflow:auto!important;padding:18px!important;background:#0a0812!important}html:root body .hero-art{min-height:640px!important}}
@media(max-width:600px){html:root body .hero-art{min-height:580px!important}html:root body .universe-grid>.universe{grid-template-rows:110px minmax(58px,auto) 1fr!important}html:root body .universe-grid>.universe :is(.premium-identity-art,.premium-poker-lockup){height:110px!important}}

html:root body .series:has(>.poker-volume-details){padding:0!important;max-width:none!important}

@media(max-width:650px){html:root body :is(.approved-study-sets,.poker-companion-group,.poker-volume-details)>summary{height:124px!important;min-height:124px!important;font-size:18px!important}}
html:root body .universe-grid>.universe>.premium-poker-lockup{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2.5992fr)!important;align-items:center!important;gap:12px!important}
/* Equal visual weight for the two actions on every published-book card. */
html:root body .book-card>div>a{min-height:116px!important;font-family:Georgia,serif!important;font-size:20px!important;font-weight:700!important;line-height:1.35!important;text-transform:none!important;letter-spacing:0!important}
html:root body .book-card>div>a :is(span,b,small){font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;text-transform:none!important;letter-spacing:0!important}
html:root body .book-card>div>a :is(img.platform-brand-icon,img.conformity-brand-icon){width:68px!important;min-width:68px!important;max-width:68px!important;height:68px!important;max-height:68px!important;flex:0 0 68px!important;object-fit:contain!important;background:transparent!important;padding:0!important;border:0!important;box-shadow:none!important;margin:0!important}

/* Second visual review: shared action rows and complete family identities. */
html:root body .family-poker-lockup{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;width:100%!important;height:120px!important;min-width:0!important}
html:root body .family-poker-lockup>img{width:28%!important;height:100%!important;object-fit:contain!important;min-width:0!important;background:transparent!important}
html:root body .family-poker-lockup>svg{width:68%!important;height:100%!important;min-width:0!important}
html:root body .sitefamily .sitelink{display:flex!important;flex-direction:column!important;align-items:center!important}
html:root body .sitefamily .family-art{height:120px!important;width:100%!important;object-fit:contain!important;margin:0 0 20px!important}
html:root body .sitefamily .sitelink>p{margin-top:auto!important}
html:root body .footer-row>div:last-child{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;flex:1!important;min-width:0!important}
html:root body .footer-row>div:last-child>a{display:flex!important;width:100%!important;min-width:0!important;min-height:88px!important;height:100%!important;box-sizing:border-box!important;margin:0!important;padding:14px!important;align-items:center!important;justify-content:center!important;text-align:center!important;font:700 18px/1.35 Georgia,serif!important;white-space:normal!important}
html:root body .universe-author{height:120px!important;gap:14px!important}
html:root body .universe-author>img{width:88px!important;height:112px!important;object-fit:contain!important;object-position:bottom!important;border:0!important;background:transparent!important;border-radius:0!important}
html:root body .universe-author .author-gold-lockup{font:700 clamp(23px,2.2vw,34px)/1.05 Georgia,serif!important;text-transform:uppercase!important;letter-spacing:-.03em!important;min-width:0!important}
html:root body .author-gold-lockup>span{display:block!important;color:#eec768;background:linear-gradient(#fff2b1 3%,#ba7824 25%,#ffe6a0 46%,#ae6a16 57%,#f8d67b 78%,#a96819 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(1px 2px 0 #583408) drop-shadow(0 1px 2px #000)}
html:root body .faith-brand-readable .faith-emblem{width:112px!important;height:112px!important;max-width:36%!important;object-fit:contain!important}
html:root body .social-feed-card .official-embed-slot{height:470px!important;min-height:470px!important;max-height:470px!important;flex:none!important;background:#071c38!important}
html:root body .social-feed-card .feed-preview-body{box-sizing:border-box!important;justify-content:center!important;gap:16px!important;padding:20px!important;overflow:auto!important}
html:root body .social-feed-card .feed-action-row{display:flex!important;box-sizing:border-box!important;padding:20px!important;min-height:128px!important;align-items:center!important;background:#071c38!important}
html:root body .social-feed-card .feed-action-row>.button{display:flex!important;box-sizing:border-box!important;align-items:center!important;justify-content:center!important;width:100%!important;height:88px!important;min-height:88px!important;margin:0!important;padding:12px!important;text-align:center!important;font:700 18px/1.35 Georgia,serif!important}
@media(max-width:900px){html:root body .footer-row{align-items:stretch!important;flex-direction:column!important}html:root body .footer-row>div:last-child{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:450px){html:root body .footer-row>div:last-child{grid-template-columns:1fr!important}html:root body .universe-author .author-gold-lockup{font-size:28px!important}}

html:root body .faith-brand-readable{display:grid!important;grid-template-columns:112px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;width:100%!important;height:120px!important}
html:root body .faith-brand-readable .faith-emblem{width:112px!important;max-width:100%!important;height:112px!important;object-fit:contain!important}
html:root body .faith-brand-readable .faith-title{width:100%!important;max-width:100%!important;height:112px!important;object-fit:contain!important}
html:root body .author-gold-lockup>span{font:inherit!important;letter-spacing:inherit!important;margin:0!important;text-transform:inherit!important}
@media(max-width:450px){html:root body .faith-brand-readable{grid-template-columns:96px minmax(0,1fr)!important}html:root body .faith-brand-readable .faith-emblem{width:96px!important;height:96px!important}}
