/* The site wrapper is structural only. Each game screen owns its visible frame. */
html body .site-wrap{background:transparent!important;border:0!important;border-image:none!important;border-radius:0!important;box-shadow:none!important;outline:0!important}
html body .site-wrap::before,html body .site-wrap::after{content:none!important}
/* The prologue illustration sits inside the main frame, without a second frame. */
html body .life-prologue :is(.prologue-scene,.prologue-identity){border:0!important;border-image:none!important;outline:0!important;box-shadow:none!important}
/* Explanatory blocks must not regain frames from the material theme. */
html body :is(#modal,.palace-sheet) :is(.dossier-record,.dossier-skill,.dossier-caption,.detail-data-card){border:0!important;border-image:none!important;outline:0!important;box-shadow:none!important;background:transparent!important}
/* A painted frame does not reserve layout space: keep record content inside its joinery. */
html body .palace-stage .room-life-record{box-sizing:border-box;padding:32px!important;gap:18px;max-width:900px;width:100%;flex:none}
html body .palace-stage .room-life-record>header{gap:16px;min-width:0;align-items:center}
html body .palace-stage .room-life-record>header>div{min-width:0}
html body .palace-stage .room-life-record>header>i{background:transparent!important;border:0!important;border-image:var(--value-frame) 180 fill / 7px / 0 stretch!important;width:56px;height:60px;line-height:1;flex:none}
html body .palace-stage .room-life-record h2{font-size:26px;line-height:1.35;overflow-wrap:anywhere}
html body .palace-stage .room-life-record :is(.life-record-epithet,.life-record-cause){margin:0!important;padding:0!important;border:0!important;border-image:none!important;background:none!important;line-height:1.7}
html body .palace-stage .room-life-record .life-record-facts{gap:16px;padding-block:8px}
html body .palace-stage .room-life-record .life-record-facts>div{padding:0!important;min-width:0;background:none!important;border:0!important;border-image:none!important}
html body .palace-stage .room-life-record .life-record-actions{margin:0;gap:8px;align-self:stretch;flex-wrap:wrap}
html body .palace-stage .room-life-record .life-record-actions button{margin:0;min-height:40px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px){
 html body .palace-stage .room-life-record{padding:24px!important;gap:12px}
 html body .palace-stage .room-life-record>header{gap:10px}
 html body .palace-stage .room-life-record>header>i{width:40px;height:44px;font-size:23px}
 html body .palace-stage .room-life-record h2{font-size:19px}
 html body .palace-stage .room-life-record .life-record-facts{gap:8px;padding-block:3px}
 html body .palace-stage .room-life-record .life-record-facts b{font-size:14px;overflow-wrap:anywhere}
 html body .palace-stage .room-life-record .life-record-actions button{min-height:36px;font-size:12px}
}
html body .annual-visual .annual-content>header i{background:transparent!important;border:0!important;border-image:var(--value-frame) 180 fill / 7px / 0 stretch!important;}
