/* Clean gold button outlines and responsive controls. */
html[data-site-theme] body :is(button,.button,[role='button'],.platform-link,.site-back-button,.back-button,.social-follow-links a,.compact-room-grid a,.gallery-card-copy a,.diva-card-copy a) {
 border: 1px solid #e8c887 !important;
 border-image: none !important;
 box-shadow: inset 0 1px 0 #fff1cc33,0 3px 10px #1c001733 !important;
 touch-action: manipulation;
}
html[data-site-theme] body :is(.button,button[type='submit'],.universe-connect button,.chapter-direction,.filters button,.social-follow-links a) {
 color: #fff9ea !important;
 -webkit-text-fill-color: #fff9ea !important;
 text-shadow: 0 1px 3px #30051d;
 background: linear-gradient(160deg,#ab276b,#650f40 60%,#8c1c59) !important;
}
html[data-site-theme] body :is(button,.button,[role='button'],.platform-link,.site-back-button,.back-button):focus-visible {
 outline: 3px solid #b9efff !important; outline-offset: 4px;
}
html[data-site-theme] body :is(button:disabled,[aria-disabled='true']) { opacity: .45; cursor: default; }
html[data-site-theme] body :is(button.is-selected,button[aria-pressed='true'],.chapter-dots button.is-active,.filters button.active) {
 outline: 2px solid #fff0b5 !important; outline-offset: 3px; background-color: #972057 !important;
}
/* Brighten thumbnails only: original full-size artwork remains available. */
html[data-site-theme] body :is(.couture-strip,.character-mini-gallery,.chapter-icon,.youtube-thumbnails,.photo-strip,.tazz-photo-grid,.tazz-featured-photos,.tazz-room-photos,.gallery-card,.crew-card,.band-card,.look,.diva-card) img {
 filter: brightness(1.18) saturate(1.09) contrast(1.025) !important;
 opacity: 1 !important;
}
html[data-site-theme] .compact-room-grid a {
 background-image: linear-gradient(90deg,#3a0828b8,#41082a69 55%,#52103610),var(--room-photo) !important;
 background-size: cover; background-position: center,var(--room-position,center);
 color: #fff8ec !important; text-shadow: 0 1px 4px #170010,0 0 7px #170010;
}
html[data-site-theme] .compact-room-grid a :is(b,small) {color:#fff8ec !important;}
html[data-site-theme] :is(.hero-priority-actions,.chapter-actions,.universe-connect) {gap:14px;}
html[data-site-theme] :is(.hero-priority-actions,.chapter-actions) .button {min-height:48px;line-height:1.45;white-space:normal;text-align:center;justify-content:center;}
/* Center the dock independently of older left/right breakpoint rules. */
html[data-site-theme] .chapter-navigation {
 left:50% !important;right:auto !important;transform:translateX(-50%) !important;
 width:max-content;max-width:calc(100% - 24px);box-sizing:border-box;
 bottom:max(12px,env(safe-area-inset-bottom));gap:8px;
}
html[data-site-theme] .chapter-navigation.is-hidden {transform:translate(-50%,calc(100% + 34px)) !important;}
html[data-site-theme] .chapter-navigation :is(button,.chapter-direction) {min-height:44px;flex-shrink:0;}
html[data-site-theme] .chapter-dots {min-width:0;gap:8px;}
html[data-site-theme] .youtube-thumbnails {padding:8px;justify-content:safe center;scroll-padding-inline:8px;}
html[data-site-theme] .gallery-selector {box-sizing:border-box;}
@media (max-width:1100px) {
 html[data-site-theme] .chapter-dots button small,html[data-site-theme] .chapter-direction span {display:none;}
 html[data-site-theme] .chapter-dots button {width:44px;min-width:44px;padding:3px;justify-content:center;}
 html[data-site-theme] .chapter-dots .chapter-icon {width:32px;height:32px;flex-basis:32px;}
 html[data-site-theme] .chapter-direction {width:44px;min-width:44px;padding:3px;}
 html[data-site-theme] .chapter-navigation {gap:6px;padding:8px;}
 html[data-site-theme] .chapter-dots {gap:6px;}
 html[data-site-theme] :is(.universe-form,.dialog-shell) {max-width:100%;box-sizing:border-box;}
}
@media (max-width:640px) {
 html[data-site-theme] .chapter-navigation {width:calc(100% - 16px);max-width:374px;gap:4px;padding:7px 4px;justify-content:space-between;}
 html[data-site-theme] .chapter-dots {gap:4px;flex:1;justify-content:space-evenly;}
 html[data-site-theme] .chapter-navigation :is(.chapter-dots button,.chapter-direction) {width:40px;min-width:40px;min-height:44px;padding:2px;}
 html[data-site-theme] .chapter-dots .chapter-icon {width:28px;height:28px;flex-basis:28px;}
 html[data-site-theme] .hero-priority-actions {display:grid;grid-template-columns:minmax(0,1fr);margin-block:18px;gap:14px;}
 html[data-site-theme] .hero-priority-actions .button {width:100%;font-size:.72rem;padding:12px;box-sizing:border-box;}
 html[data-site-theme] .universe-connect {display:grid;grid-template-columns:minmax(0,1fr);gap:14px;}
 html[data-site-theme] .universe-connect button {min-height:48px;white-space:normal;}
 html[data-site-theme] .compact-room-grid {gap:12px;}
 html[data-site-theme] .compact-room-grid a {min-width:0;min-height:90px;grid-template-columns:22px minmax(0,1fr);gap:7px;padding:10px;}
 html[data-site-theme] .compact-room-grid a b {overflow-wrap:anywhere;}
 html[data-site-theme] .home-chapter {padding-bottom:120px !important;scroll-margin-top:90px;}
 html[data-site-theme] .site-header nav {max-height:calc(100svh - 90px);overflow-y:auto;}
 html[data-site-theme] .site-header nav a {min-height:44px;display:flex;align-items:center;}
 html[data-site-theme] :is(.profile-actions,.hero-actions) {display:flex;flex-wrap:wrap;gap:14px;}
 html[data-site-theme] :is(.profile-actions,.hero-actions) .button {flex:1 1 180px;min-height:48px;}
 html[data-site-theme] :is(dialog,.photo-lightbox) {max-width:calc(100vw - 20px);max-height:calc(100svh - 24px);box-sizing:border-box;}
 html[data-site-theme] :is(.dialog-close,.lightbox-close) {min-width:44px;min-height:44px;}
 html[data-site-theme] .universe-form :is(input,textarea,select) {font-size:16px;min-width:0;}
}
@media (max-width:640px) and (orientation:portrait) {
 html[data-site-theme] .lobby-intro,html[data-site-theme] .compact-directory {
 position:relative !important;inset:auto !important;translate:none !important;transform:none !important;
 width:calc(100% - 32px) !important;height:auto !important;max-height:none !important;margin:20px 16px !important;box-sizing:border-box;
 }
 html[data-site-theme] .character-chapter-copy {translate:none !important;height:auto !important;max-height:none !important;}
 html[data-site-theme] .chapter-actions {display:grid !important;grid-template-columns:minmax(0,1fr);gap:14px;}
 html[data-site-theme] .chapter-actions .button {width:100%;box-sizing:border-box;}
}
@media (max-height:520px) and (orientation:landscape) {
 html[data-site-theme] .chapter-navigation {bottom:6px;padding-block:4px;}
 html[data-site-theme] .home-chapter {min-height:100svh;height:auto; padding-bottom:100px !important;}
 html[data-site-theme] .hero-priority-actions .button {min-height:44px;}
}
@media (prefers-reduced-motion:reduce) {
 html[data-site-theme] :is(button,.button,.chapter-navigation) {transition:none !important;animation:none !important;}
}
@media (max-width:640px) {
 html[data-site-theme] body .chapter-navigation :is(.chapter-dots button,.chapter-direction) {width:40px !important;min-width:40px !important;max-width:40px;box-sizing:border-box;}
}
@media (max-width:360px) {
 html[data-site-theme] body .chapter-navigation :is(.chapter-dots button,.chapter-direction) {width:36px !important;min-width:36px !important;max-width:36px;}
 html[data-site-theme] .chapter-dots .chapter-icon {width:24px;height:24px;flex-basis:24px;}
 html[data-site-theme] .chapter-navigation,html[data-site-theme] .chapter-dots {gap:3px;}
}

html[data-site-theme] body .chapter-navigation :is(button,.chapter-direction) {border-radius:999px !important;outline:none !important;}
html[data-site-theme] body .chapter-navigation button.is-active {border-color:#fff0bd !important;box-shadow:inset 0 1px 0 #fff4,0 0 10px #ff75bc44 !important;}
html[data-site-theme] body .chapter-navigation :is(button,.chapter-direction):focus-visible {outline:3px solid #b9efff !important;outline-offset:3px !important;}
