/* 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}}

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}}

/* 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}}
