/* Every raster-framed card paints one continuous asset surface.
   Do not put a differently colored CSS rectangle behind its transparent center. */
html body :is(#modal,.palace-stage,.palace-sheet,.title-screen,.site-wrap,.map-replay) :is(
 .palace-person,.room-guide,.palace-story,.palace-faction-status,.palace-header,.palace-footer,
 .room-register,.hall-card,.retainer-decision,.register-path,.register-person,.setup-panel,.character-creation-card,
 .growth-graph,.retainer-ability-change,.report-rewards>div,.annual-reward-grid>div,.retainer-report-skills>div,
 .hall-stat,.candidate-stat,.register-mastery,.report-aftermath,.mobile-conquest-receipt,.battle-force-side,
 .guide-recommendation,.guide-choice-preview,.guide-remaining>button,.guide-requirements>div,
 .dossier-hero,.dossier-seal,.dossier-skill,.choice-report,.detail-data-card,.faction-detail-grid article,
 .retainer-report-identity,.candidate-skills,.forecast-gain,.forecast-fixed,.experience-gain,.dossier-stats>div,
 .palace-order-brief,.campaign-method,.career-requirements>div,.art-gallery figure,
 .person-detail-tabs button,.guide-goal-tabs button,.palace-subnav button,.palace-utility button,.choice-subtabs button,
 .palace-pages button,.palace-confirm,.palace-year-finish,.report-full,.hall-tabs button,.hall-filters button,
 .palace-header button:not([data-palace-menu="settings"]),.palace-sheet header button,.palace-sheet footer button
 ){
 border-image-slice:180 fill!important;background:transparent!important;box-shadow:none!important;outline:none!important;border-radius:0!important;
}
html body :is(#modal,.palace-sheet,.conquest-target-dialog,.castle-city-sheet,.map-replay){
 border-image-slice:180 fill!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;
}
/* Inner copy wrappers have no independent shaded panel. Artwork and bars retain their paint. */
html body :is(#modal,.palace-stage,.palace-sheet,.title-screen,.site-wrap) :is(
 .palace-sheet-body,.modal-copy,.modal-top,.person-detail-section,.character-details,
 .choice-detail-intro,.choice-experience,.growth-report,.fixed-report,.routine-choice-detail>summary,
 .choice-report-heading,.report-section-title,.trait-specialty-inventory,.trait-identity,.birth-identity,.origin-trait,
 .room-register>header,.room-register>footer,.room-action-report>header,.room-annual-report>header,
 .companion-result-controls,.report-full,.palace-inline-deck,.dossier-record,.dossier-caption,
 .palace-sheet>header,.palace-sheet>footer,.guide-recommendation>header,.detail-data-card>header
 ){
 background:transparent!important;box-shadow:none!important;outline:none!important;
}
/* Selection is communicated by lettering, not a nested rectangular overlay. */
html body :is(.person-detail-tabs,.guide-goal-tabs,.palace-subnav,.palace-utility,.choice-subtabs) button[aria-pressed="true"]{
 color:#ffe3a4!important;text-decoration:underline;text-underline-offset:5px;font-weight:800!important;
}
html body :is(#modal,.palace-stage,.palace-sheet,.title-screen,.site-wrap) :is(.palace-footer button,.companion-result-controls button,.annual-inline-pages button,.register-detail button,.main-menu-options>button,.title-enter-prompt,.settings-panel button,.menu-settings-panel button){border-image-slice:180 fill!important;background-color:transparent!important;box-shadow:none!important}
html body .palace-header button[data-palace-menu="settings"]{background-color:transparent!important;box-shadow:none!important}
