.portrait-room .character-stage .character-frame{
 --lane-art-width:28rem;
 width:min(100%,var(--lane-art-width));
}
.portrait-room .character-stage .character-frame img.lane-solo-portrait{
 display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;
 border-radius:.55rem;overflow:hidden
}
.portrait-room .lane-profile-resume:not([hidden]){
 display:inline-flex;align-items:center;min-height:44px;margin-block-start:.34rem;
 padding:.3rem .78rem;font-size:.86rem;line-height:1.2;text-decoration:none;
 background:linear-gradient(155deg,#365b48,#163a31);border:1px solid #e8c47e;
 color:#fff1ca;box-shadow:inset 0 0 0 2px #e8c47e38,0 2px 4px #132721;
}
.portrait-room .lane-profile-resume:is(:hover,:focus-visible){border-color:#fff0be;background:#305746;}
.portrait-room .lane-profile-resume:focus-visible{outline:2px solid #fff0be;outline-offset:2px}
@media(max-width:720px){
 .portrait-room .character-stage .character-frame{--lane-art-width:min(23rem,49svh)}
}
.lane-trail-cue{display:none}
@media screen and (max-width:680px){
 .portrait-room .character-stage .character-frame{--lane-art-width:min(23rem,43svh)}
 .portrait-room .character-opening>.snowline{display:none}
 .portrait-room .character-opening::after{
  background:linear-gradient(180deg,#092440e3,#0c2945d1 45%,#0a294477 88%,#112c48d6)
 }
 .lane-workshop-opening .lane-workshop-choices>a{
  background:linear-gradient(150deg,#37604a,#1b4137);border:3px double #f0c982;
  box-shadow:0 4px 0 #172d35,0 0 24px #ffd58d1c
 }
 .lane-workshop-opening .lane-workshop-choices>a img{background:#203e4e;border-color:#e9c387}
 .lane-workshop-opening .lane-workshop-choices>a span{color:#ffedbd}
 .lane-calendar{position:relative}
 .lane-trail-cue:not([hidden]){
  position:absolute;z-index:4;inset-block-start:var(--lane-cue-y);
  inset-inline-start:50%;transform:translate(-50%,-50%);display:grid;place-items:center;
  inline-size:50px;block-size:50px;border-radius:999px;border:3px double #efcb82;
  background:radial-gradient(ellipse at 50% 20%,#416653,#173b33);
  color:#ffe5a0;box-shadow:0 0 24px #ffd57956;cursor:pointer
 }
 .lane-trail-cue:focus-visible{outline:3px solid #fff0b3;outline-offset:3px}
}
@media screen and (max-width:680px) and (min-height:720px){
 .lane-workshop-opening{
  position:relative;
  background:radial-gradient(ellipse at 50% 36%,#f0aa492b 0%,#bb852017 27%,transparent 63%)
 }
 .lane-workshop-opening .lane-workshop-choices{
  grid-template-columns:minmax(0,1fr);max-width:32rem;gap:.6rem
 }
 .lane-workshop-opening .lane-workshop-choices>a{
  grid-template-columns:minmax(0,1.17fr) minmax(0,.83fr);align-items:center;gap:.5rem;padding:.38rem
 }
 .lane-workshop-opening .lane-workshop-choices>a img{height:auto;max-height:22svh}
}
@media screen and (max-width:375px) and (max-height:690px){
 body.portrait-room:is(.room-nick,.room-pip,.room-peppermint) .character-stage .character-frame{--lane-art-width:min(19rem,32svh)}
}


/* Shared profile geometry: portrait placement never depends on copy or saved state. */
body.portrait-room .character-stage{
 grid-template-areas:"heading portrait" "description portrait";
 align-items:start;grid-template-rows:auto 1fr;row-gap:.45rem;
}
body.portrait-room .character-heading{grid-area:heading}
body.portrait-room .character-description{grid-area:description}
body.portrait-room .character-stage .character-frame{grid-area:portrait;align-self:start;margin-block:0}
body.portrait-room .character-heading>h1{line-height:1.05;margin-block:.22em .04em}
body.portrait-room .character-stage .character-frame figcaption{
 box-sizing:border-box;display:flex;justify-content:center;align-items:center;min-block-size:2.65rem;
 padding:.31rem .25rem .13rem
}
@media(max-width:720px){
 body.portrait-room .character-stage{
  align-self:start;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;
  grid-template-areas:"heading" "portrait" "description";row-gap:.47rem;padding-block:.64rem .75rem
 }
 body.portrait-room .character-heading>h1{margin-block:.06rem 0}
 body.portrait-room .character-stage .character-frame{--lane-art-width:min(23rem,42svh)}
 body.portrait-room .character-description .character-role{margin-block:.18rem}
 body.portrait-room .character-description .character-summary{margin-block:.3rem .45rem}
 body.portrait-room .character-description .welcome-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.36rem;margin-block:.24rem 0
 }
 body.portrait-room .character-description .welcome-actions>a{
  min-width:0;min-height:44px;text-align:center;padding:.3rem;white-space:normal;font-size:clamp(.72rem,3.4vw,.95rem)
 }
}
@media(max-width:375px) and (max-height:690px){
 body.portrait-room .character-stage .character-frame{--lane-art-width:min(19rem,31svh)}
 body.portrait-room .character-stage{padding-block:.37rem;row-gap:.25rem}
 body.portrait-room .character-stage .character-frame figcaption{min-block-size:2.4rem;padding:.16rem .18rem}
}
