/* One action/disclosure color across public pages, including game navigation.
   Painting swatches, memory cards and puzzle pieces keep their functional artwork. */
:where(button,input[type="submit"],input[type="button"],input[type="reset"],[role="button"],summary,a.button,a.btn,a.primary,a.book-link,a.text-link,a.community-partner-link,a.worksheet-link,a.collection-guide,a.site-link,.bino-invite-actions a,.collection-downloads a):not(:where(.piece,.tile,.blank,.paint-colors button,.bino-character)){
 background:#194b3c!important;background-image:none!important;color:#fff!important;border-color:#194b3c!important;text-shadow:none!important
}
:where(button,input[type="submit"],input[type="button"],input[type="reset"],[role="button"],summary,a.button,a.btn,a.primary,a.book-link,a.text-link,a.community-partner-link,a.worksheet-link,a.collection-guide,a.site-link,.bino-invite-actions a,.collection-downloads a):not(:where(.piece,.tile,.blank,.paint-colors button,.bino-character)):hover{
 background:#194b3c!important;color:#fff!important;filter:brightness(1.12)
}
:where(button,input[type="submit"],input[type="button"],input[type="reset"],[role="button"],summary,a.button,a.btn,a.primary,a.book-link,a.text-link,a.community-partner-link,a.worksheet-link,a.collection-guide,a.site-link,.bino-invite-actions a,.collection-downloads a):not(:where(.piece,.tile,.blank,.paint-colors button,.bino-character)) :where(span,strong,b,small,em,p,h2,h3,h4,svg){color:#fff!important;text-shadow:none!important}
:where(summary){border-radius:10px;padding:16px 20px;cursor:pointer}
summary::marker,summary::before,summary::after{color:#fff!important}
:where(button,a.button,a.btn,summary,[role="button"]):not(:where(.piece,.tile,.blank,.paint-colors button,.bino-character)):focus-visible{
 outline:3px solid #fff!important;outline-offset:2px!important;box-shadow:0 0 0 6px #194b3c!important
}
:where(button[aria-pressed="true"],button[aria-expanded="true"],button[data-active="true"],button.active,button.selected),details[open]>summary{
 box-shadow:inset 0 0 0 2px #fff!important
}
:where(button:disabled,input:disabled){cursor:not-allowed;filter:none!important;border-style:dashed!important}
/* The menu icon and labels inside image/category buttons must also stay readable. */
.menu span{background:#fff!important}
button.category-tile .cat-name,button.category-tile .cat-badge,button.category-tile .circle-arrow{background:#194b3c!important;color:#fff!important}
a.text-link,a.book-link,a.community-partner-link,a.collection-guide{border-radius:8px;padding:10px 14px;min-height:44px;display:inline-flex;align-items:center;line-height:1.5}
#bino-cookie-panel button,#bino-cookie-settings{background:#194b3c!important;color:#fff!important;border:1px solid #194b3c!important;border-radius:8px!important;text-decoration:none!important;min-height:44px}
/* Preserve correct/incorrect feedback without changing the shared button colors. */
button.choice.correct,button.choice.ok{box-shadow:inset 0 0 0 4px #c5f3bc!important}
button.choice.wrong,button.choice.bad{box-shadow:inset 0 0 0 4px #ffb6ad!important}
@media(prefers-reduced-motion:reduce){:where(button,summary,a.button,a.btn){transition:none!important}}

button.sample .sample-caption,summary .creator-disclosure,summary .creator-adult-label{background:transparent!important;color:#fff!important}

/* The animated mascot is a transparent hit area, not a filled action button. */
#talking-bino button.bino-character,#talking-bino button.bino-character:hover,#talking-bino button.bino-character:active{background:transparent!important;background-image:none!important;border:0!important;box-shadow:none!important;filter:none!important}
/* Center the label across the complete button; keep the decorative arrow at the edge. */
button.book-detail-button{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;position:relative;padding-left:36px!important;padding-right:36px!important}
button.book-detail-button>span[aria-hidden="true"]{position:absolute;right:14px;top:50%;transform:translateY(-50%)}
