/* Content grows with the viewport; no document-sized clipping around new career panels. */
body.page-flow-113:not(.intro-101){height:auto!important;min-height:100dvh;overflow-y:auto!important}
body.page-flow-113 main.app-shell{height:auto!important;min-height:calc(100dvh - 24px);max-width:1700px}
body.page-flow-113 #game-panel{flex:1 0 auto!important;min-height:0}
body.page-flow-113 .hero-header{position:sticky;top:0;z-index:35;height:auto!important;min-height:46px;background:#1a211bf5;backdrop-filter:blur(8px);flex-wrap:wrap}
body.page-flow-113 .hero-header .header-actions{flex-wrap:wrap!important;min-width:0;gap:7px!important}
body.page-flow-113 #career-quick-open{border-color:#d8b877;background:#53472a;color:#fff0c1;min-height:36px;white-space:nowrap}
body.page-flow-113 #career-quick-open[hidden]{display:none!important}
body.page-flow-113 .career-trial-strip{flex:none;align-items:center;flex-wrap:wrap;border-radius:3px;margin:0 0 8px}
body.page-flow-113 .career-growth-panel{flex:none;border-radius:3px;margin:6px 0;padding:12px 16px;background:linear-gradient(110deg,#363024,#19271f);border-left:3px solid #c6a568}
body.page-flow-113 .career-growth-panel p{font-size:14px;line-height:1.5}
body.page-flow-113 #career-open{min-height:42px;flex:none}
body.page-flow-113.lobby-101 #lobby-stage{flex:1 0 auto;overflow:visible!important;grid-template-rows:auto auto auto auto!important;padding:18px!important;gap:14px!important}
body.page-flow-113.lobby-101 #character-panel{overflow:visible!important;grid-template-rows:auto auto!important}
body.page-flow-113.lobby-101 .character-list{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:12px}
body.page-flow-113.lobby-101 .character-choice .character-card{min-height:255px!important;border-radius:3px;border:1px solid #77664b}
body.page-flow-113.lobby-101 .character-choice .character-card.selected{border-color:#dfc285;box-shadow:inset 0 0 0 1px #dfc285,0 4px 15px #0006}
body.page-flow-113.lobby-101 .character-copy{padding:14px 10px!important}
body.page-flow-113.lobby-101 .lobby-heading{flex-wrap:wrap;gap:10px!important}
body.page-flow-113.lobby-101 .lobby-footer{position:sticky;bottom:0;z-index:12;background:#1b271ff5;border-top:1px solid #8b7956;padding:12px!important;align-items:center;gap:12px}
body.page-flow-113.lobby-101 #lobby-paths{max-height:none!important;padding:14px!important}
body.page-flow-113.lobby-101 .path-card{height:auto!important;min-height:160px!important;padding:12px!important;gap:9px!important;grid-template-rows:auto 1fr auto!important}
body.page-flow-113.lobby-101 .path-card p{overflow:visible!important}
body.page-flow-113 #floor-progress{height:auto!important;max-height:none;overflow:visible!important;padding:24px!important;border-radius:3px;border-color:#8e7953;background:linear-gradient(135deg,#333329,#14231d)}
body.page-flow-113 #floor-progress>h2{font:500 27px/1.4 Georgia,'STSong',serif;margin:8px 0 14px!important}
body.page-flow-113 #floor-progress p{font-size:15px!important;line-height:1.7!important;margin:8px 0!important}
body.page-flow-113 #floor-progress .floor-cards{gap:16px;margin:22px 0!important}
body.page-flow-113 #floor-progress .floor-cards>article{display:flex;flex-direction:column;min-width:0;padding:20px!important;border:1px solid #78684b;border-top:3px solid #bb9f67;background:#111e19b8}
body.page-flow-113 #floor-progress .floor-cards h3{font-size:20px!important;margin:0 0 8px!important}
body.page-flow-113 #floor-progress .floor-cards>article>button:first-of-type{margin-top:auto!important}
body.page-flow-113 #floor-progress button{min-height:44px!important;font-size:15px!important;white-space:normal;line-height:1.5}
body.page-flow-113 #floor-progress .floor-cards>article>button+button{margin-top:10px!important}
body.page-flow-113 #floor-progress .floor-item-art{height:90px!important}
body.page-flow-113 #floor-progress .floor-item-art img{height:78px!important;width:78px!important}
body.page-flow-113 #floor-progress .preparation-party{display:flex;flex-wrap:wrap;gap:8px}
body.page-flow-113 #floor-progress .preparation-party span{padding:7px 10px!important;font-size:14px!important}
@media(min-width:1100px) and (min-height:650px){
 body.page-flow-113.experience-live #map-stage-page{flex:none!important;height:auto!important;min-height:620px;grid-template-rows:34px 70px minmax(480px,auto)!important}
 body.page-flow-113.experience-live #exploration-view{min-height:480px!important}
 body.page-flow-113.experience-live .map-stage{min-height:430px}
 body.page-flow-113.experience-live #event-scene{min-height:480px!important}
}
@media(max-width:700px){
 body.page-flow-113 main.app-shell{width:calc(100% - 20px)!important;margin:10px auto!important}
 body.page-flow-113 .hero-header{padding:10px!important;gap:8px!important}
 body.page-flow-113 .hero-header .header-actions{width:100%;justify-content:flex-start}
 body.page-flow-113 .hero-header :is(button,.button-link){font-size:14px!important;min-height:36px;padding:6px 8px!important}
 body.page-flow-113.lobby-101 .character-list{grid-template-columns:1fr!important}
 body.page-flow-113.lobby-101 .character-choice .character-card{min-height:250px!important}
 body.page-flow-113.lobby-101 .lobby-footer{flex-direction:column;align-items:stretch}
 body.page-flow-113.lobby-101 #ready-button{min-width:0;width:100%}
 body.page-flow-113 #floor-progress{padding:16px!important}
 body.page-flow-113 #floor-progress .floor-cards{grid-template-columns:1fr!important}
 body.page-flow-113 #floor-progress .floor-cards>article{padding:16px!important}
}
/* Native supply inputs must fit their visual card, including their invisible hit area. */
body.page-flow-113 #floor-supplies input{min-width:0!important;max-width:100%;box-sizing:border-box}
body.page-flow-113 :is(#ready-button,#floor-progress [data-floor-choice],#floor-progress [data-floor-supplies]){background:linear-gradient(110deg,#756039,#414e30);border:1px solid #c0a36c;color:#f0dfb7}

#career-quick-open[hidden]{display:none!important}
body.page-flow-113 main.app-shell :is(button,input,select,summary,[tabindex]){scroll-margin-block:170px 70px}
