/* Finish secondary surfaces without changing their measured content boxes. */
html body :is(.room-guide-panel .guide-recommendation,.guide-choice-preview,.guide-remaining>button,.guide-requirements>div,.dossier-hero,.dossier-seal,.art-gallery figure){
 border-image-source:var(--bronze-frame)!important;
 border-image-slice:180!important;
 border-image-width:5px!important;
 border-image-outset:0!important;
 border-image-repeat:stretch!important;
 border-radius:0!important;
}
html body .guide-goal-tabs button{
 border-image:var(--bronze-frame) 180 / 4px / 0 stretch!important;
 box-shadow:inset 0 1px 10px #dfbd6d15,0 2px 4px #0004;
}
html body .room-guide-panel .guide-recommendation,
html body .guide-remaining>button{
 background-image:linear-gradient(120deg,#40556a25,transparent 65%);
 box-shadow:inset 0 0 16px #0003;
}
html body .guide-requirements>.is-missing{background-color:#302b38;color:#efded6}
html body .guide-requirements>.is-met{background-color:#173047;color:#e2e4db}
html body .dossier-hero{box-shadow:inset 0 0 24px #0004}
html body .dossier-seal{border-width:1px!important;padding:7px 9px;opacity:1;color:#e2bb78;background:#14283bdd}
html body .art-gallery figure{background-color:#12243a}
html body .map-replay{
 border-image:var(--bronze-frame) 180 / 8px / 0 stretch;
 border-radius:0;
}
html body .map-replay button{
 border-image:var(--bronze-frame) 180 / 5px / 0 stretch;
 border-radius:0;
}
html body .replay-person :is(.historical-face.is-small,.replay-player-face){
 border-image:var(--bronze-frame) 180 / 4px / 0 stretch;
 border-radius:0;
}
@media(max-width:700px){
 html body :is(.guide-requirements>div,.dossier-seal){border-image-width:4px!important}
}
/* Learned companion skills retain readable type in compact result pages. */
html body .map-art-frame{display:none!important}
/* Preserve the carved corner at a legible scale instead of crushing 180px into 6px. */
html body :is(.palace-sheet,#modal,.room-action-report,.palace-desk:has(.room-action-report),.conquest-target-dialog,.castle-city-sheet){border-image-source:var(--bronze-frame)!important;border-image-slice:180!important;border-image-width:20px!important;border-image-outset:0!important;border-image-repeat:stretch!important;outline:none!important;border-radius:0!important}
@media(max-width:700px){html body :is(.palace-sheet,#modal,.room-action-report,.palace-desk:has(.room-action-report),.conquest-target-dialog,.castle-city-sheet){border-image-width:14px!important}}
html body :is(.conquest-svg,.map-replay svg) :is(.conquest-cell,[data-replay-cell]){fill-opacity:.36!important}
html body :is(.conquest-target-dialog .target-picker-map,.conquest-stage){border:2px solid transparent;border-image:var(--bronze-frame) 180 / 6px / 0 stretch;box-sizing:border-box}
html body .room-experience.is-room-result .room-location{box-sizing:border-box;align-self:stretch;align-items:center;min-height:0;height:100%;padding:0 0 12px!important;margin:0!important;overflow:hidden;gap:10px}
html body .room-experience.is-room-result .room-name{font-size:28px!important;line-height:1.15!important;margin:0!important;letter-spacing:3px}
html body .room-experience.is-room-result .room-seal{width:48px;height:50px;flex:none;font-size:32px}
@media(max-width:700px){html body .room-experience.is-room-result .room-location{padding-bottom:8px!important}html body .room-experience.is-room-result .room-name{font-size:23px!important}html body .room-experience.is-room-result .room-seal{width:36px;height:38px;font-size:25px}}
html body .room-action-report .companion-result-page.single-companion>.retainer-report-card{margin-inline:auto!important;justify-self:center!important}
html body .room-action-report .retainer-report-card:has(.retainer-report-skills)>.retainer-report-abilities:empty{display:none!important}
html body .room-action-report .companion-result-page.single-companion>.retainer-report-card:has(.retainer-report-skills){display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-content:center!important;align-items:center!important;gap:12px!important}
html body .room-action-report .retainer-report-card:has(.retainer-report-skills)>.retainer-report-identity{flex:0 0 100%!important}
html body .room-action-report .retainer-report-card:has(.retainer-report-skills)>.retainer-report-abilities{flex:0 1 auto!important;width:auto!important;margin:0!important}
html body .room-action-report .retainer-report-skills{flex:0 1 auto!important;display:flex!important;justify-content:center!important;align-items:center!important;margin:0!important;gap:12px!important}
html body .room-action-report .retainer-report-skills>div{position:relative;isolation:isolate;width:230px!important;max-width:100%;height:158px!important;flex:0 0 auto!important;border:2px solid #b49bd3!important;border-image:var(--bronze-frame) 180 / 7px / 0 stretch!important;border-radius:0!important;background:radial-gradient(ellipse at 100% 0,#b49bd344,transparent 65%),repeating-linear-gradient(135deg,#ffffff05 0 1px,transparent 1px 7px),linear-gradient(120deg,#23374df5,#081626f7)!important;box-shadow:inset 0 0 0 5px #071422,inset 0 0 0 6px #b49bd377,0 6px 15px #0009!important;color:#d8c3f0}
html body .room-action-report .retainer-report-skills>div:after{content:'技';position:absolute;right:10px;bottom:8px;font:72px/1 var(--serif);opacity:.14;z-index:-1}
html body .room-action-report .retainer-report-skills>div{padding:10px 14px!important;gap:10px!important;min-height:74px;box-sizing:border-box}
html body .room-action-report .retainer-report-skills span{font-size:14px!important;line-height:1.4!important;gap:4px!important}
html body .room-action-report .retainer-report-skills b{font-size:22px!important;line-height:1.35!important;overflow-wrap:anywhere}
html body .room-action-report .retainer-report-skills i{width:34px!important;height:38px!important;flex:none;font-size:24px!important;display:grid;place-items:center}
@media(max-width:700px){
 html body .room-action-report .retainer-report-skills>div{width:230px!important;height:148px!important}
 html body .room-action-report .retainer-report-skills>div{padding:8px 10px!important;min-height:64px;gap:8px!important}
 html body .room-action-report .retainer-report-skills span{font-size:13px!important}
 html body .room-action-report .retainer-report-skills b{font-size:19px!important}
}
