/* Gallant Treasury / ONYX + PRECISION SILVER / final protection and contrast layer. */
html.castle-page{background:#050607;color-scheme:dark;scrollbar-color:#858c95 #050607}
html.castle-page body{background:#050607!important;color:#f4f6f8;--copper:#c7cdd5;--cream:#eef0f3;--edge:#838a93;--ink:#050607;--ink2:#0a0b0e;--muted:#c0c4cb}
html.castle-page .site-header{background:#050607!important;border-bottom:1px solid #9fa6ae!important;box-shadow:0 2px 0 #272c32!important}
html.castle-page .gallant-wordmark{color:#f8f9fb!important;text-shadow:0 1px 0 #121418}
html.castle-page .header-nav a{color:#eef0f3!important}
html.castle-page .header-nav a:is(:hover,:focus-visible),html.castle-page .header-nav a[aria-current="page"]{color:#fff!important;text-decoration-color:#cbd1d9!important}
html.castle-page .header-inquire{background:#090a0d!important;color:#f4f6f8!important;border:1px solid #b5bdc6!important;border-radius:2px!important}
html.castle-page .header-inquire:is(:hover,:focus-visible){background:#c9ced6!important;color:#050607!important}
html.castle-page .object-grid>.object-card{background:#090b0e!important;border:1px solid #9ba2ac!important;border-radius:3px!important;box-shadow:0 0 0 1px #272c31!important}
html.castle-page .object-grid>.object-card:is(:hover,:focus-within){border-color:#d3d8df!important;box-shadow:0 0 0 1px #d0d6de,0 13px 38px #0009!important}
html.castle-page .dialog-close,html.castle-page .dialog-close:hover{background:#16191f!important;background-color:#16191f!important;background-image:none!important;color:#f3f5f8!important;border:1px solid #b8bec8!important;box-shadow:none!important}
html.castle-page .dialog-close:is(:hover,:focus-visible){background:#c6ccd5!important;background-color:#c6ccd5!important;color:#050607!important;border-color:#f2f4f7!important}
html.castle-page .object-dialog,html.castle-page dialog.object-dialog{background:#090a0c!important;border:1px solid #aeb6c0!important;color:#f3f5f8!important}
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid>.object-card>.painting-product-actions>button:last-child,
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid .painting-action-enquiry{background:#23272d!important;background-color:#23272d!important;background-image:none!important;border-color:#acb4bf!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-radius:2px!important;transition:background-color .13s ease,border-color .13s ease!important}
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid>.object-card>.painting-product-actions>button:last-child:is(:hover,:focus-visible),
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid .painting-action-enquiry:is(:hover,:focus-visible){background:#c8ced7!important;background-color:#c8ced7!important;border-color:#f3f6f8!important;color:#070809!important;-webkit-text-fill-color:#070809!important}
html.castle-page .submit-button{border:1px solid #b9c0c9!important;background:#181b20!important;color:#fff!important;border-radius:2px!important}
html.castle-page .submit-button:is(:hover,:focus-visible){background:#c9d0d9!important;color:#070809!important}
html.castle-page :focus-visible{outline:2px solid #d9e0e9;outline-offset:3px}
html.castle-page img,html.castle-page video{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}
html.castle-page .object-grid>.object-card img{backface-visibility:hidden;transform:translateZ(0)}
html.castle-page .gt-refined-footer{border-top:1px solid #8c949e!important;background:#050607!important}
@media(prefers-reduced-motion:reduce){html.castle-page *,html.castle-page *::before,html.castle-page *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Specificity final-pass: preserve silver and black against long legacy !important selectors. */
html.castle-page body[data-vault]{background:#050607!important;color:#f6f7f9!important}
html.castle-page body[data-vault] #objectGrid>.object-card{
  background:#090b0e!important;border:1px solid #a8afb8!important;border-radius:2px!important;
  box-shadow:0 0 0 1px #24282e!important;
}
html.castle-page body[data-vault] #objectGrid>.object-card:is(:hover,:focus-within){
  border-color:#e1e6ec!important;box-shadow:0 0 0 1px #b8bec8,0 10px 26px #0009!important;
}
html.castle-page body[data-vault] #objectDialog button.dialog-close{
  background:#181b20!important;background-color:#181b20!important;background-image:none!important;
  color:#eef2f7!important;-webkit-text-fill-color:#eef2f7!important;
  border:1px solid #c4cbd3!important;border-radius:2px!important;box-shadow:none!important;
}
html.castle-page body[data-vault] #objectDialog button.dialog-close:is(:hover,:focus-visible){
  background:#ced4dd!important;background-color:#ced4dd!important;color:#050607!important;
  -webkit-text-fill-color:#050607!important;border-color:#fff!important;
}
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid>.object-card>.painting-product-actions>button:last-child,
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid>.object-card>.painting-product-actions>.painting-action-enquiry{
  background:#23272d!important;background-color:#23272d!important;background-image:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #acb4bf!important;border-radius:2px!important;
  transition:none!important;
}
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid>.object-card>.painting-product-actions>button:last-child:is(:hover,:focus-visible),
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid>.object-card>.painting-product-actions>.painting-action-enquiry:is(:hover,:focus-visible){
  background:#cbd1da!important;background-color:#cbd1da!important;color:#06080b!important;
  -webkit-text-fill-color:#06080b!important;border-color:#fff!important;
}

/* Four gallery-action cards use nested containers, not direct children. */
html.castle-page body[data-vault="paintings"] section#catalogue div#objectGrid article.object-card div.painting-product-actions button.painting-action-enquiry{
  background:#23272d!important;background-color:#23272d!important;background-image:none!important;
  border:1px solid #acb4bf!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  border-radius:2px!important;transition:none!important;
}
html.castle-page body[data-vault="paintings"] section#catalogue div#objectGrid article.object-card div.painting-product-actions button.painting-action-enquiry:is(:hover,:focus-visible){
  background:#cbd1da!important;background-color:#cbd1da!important;border-color:#fff!important;
  color:#06080b!important;-webkit-text-fill-color:#06080b!important;
}
html.castle-page body[data-vault="jewelry"] section#catalogue div#objectGrid article.object-card{
  border-color:#a8afb8!important;border-radius:2px!important;box-shadow:0 0 0 1px #24282e!important;
}

/* One legacy art button style has an unusually high-specificity ID selector. */
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid .object-card .painting-product-actions button.painting-product-action.painting-action-enquiry:not(#gt-reserved-security-selector){
  background:#23272d!important;background-color:#23272d!important;background-image:none!important;
  color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#aeb6bf!important;
  transition:none!important;
}
html.castle-page body[data-vault="paintings"] #catalogue #objectGrid .object-card .painting-product-actions button.painting-product-action.painting-action-enquiry:not(#gt-reserved-security-selector):is(:hover,:focus-visible){
  background:#cbd1da!important;background-color:#cbd1da!important;
  color:#050607!important;-webkit-text-fill-color:#050607!important;border-color:#fff!important;
}


/* Refresh stability: neutral media placeholders until lazy/eager media is decoded. */
html.castle-page body[data-vault] #objectGrid>.object-card img{
  background-color:#090b0e;
  color:transparent;
}
html.castle-page body[data-vault] #objectGrid>.object-card video{
  background-color:#050607;
}
