/* Entry composition R6: a compact registration desk and one readable character dossier.
   Existing forms, native character cards and their commands retain ownership. */
body.frontier159-entry:not(.intro-101) .app-shell{max-width:1380px}
body.frontier159-entry #identity-panel{grid-template-columns:minmax(0,1fr) 420px!important;min-height:0!important;height:min(650px,calc(100dvh - 100px));margin:auto 0;overflow:hidden}
body.frontier159-entry.arrival-mode .arrival-desk{padding:26px 30px!important;justify-content:center;overflow:auto}
body.frontier159-entry .arrival-desk h2{font-size:25px;margin:7px 0}
body.frontier159-entry .arrival-intro{font-size:12px;margin:0 0 14px}
body.frontier159-entry .auth-tabs{margin:6px 0 14px}
body.frontier159-entry .auth-tabs button{padding:9px 6px;font-size:13px}
body.frontier159-entry .auth-fields{gap:10px}
body.frontier159-entry .auth-fields input{padding:10px 12px;margin-top:4px;font-size:14px}
body.frontier159-entry .arrival-desk .auth-actions{margin-top:17px}
body.frontier159-entry .arrival-desk .auth-actions button{padding:10px;min-height:43px;font-size:14px;letter-spacing:.04em}
body.frontier159-entry .arrival-training{padding-top:13px;gap:4px;font-size:12px}
body.frontier159-entry .arrival-note{margin-top:12px;font-size:10px;line-height:1.6}
body.frontier159-entry.arrival-mode .arrival-art{align-items:flex-end;padding:36px!important;background:linear-gradient(0deg,#101c17ef,transparent 64%),linear-gradient(90deg,#10201945,transparent 65%),url('/assets/optimized/events/stations-076/supply-camp-v1.webp') 58% center/cover}
body.frontier159-entry .arrival-story{max-width:440px;padding-bottom:36px}
body.frontier159-entry .arrival-story h2{font-size:clamp(32px,3.2vw,48px);line-height:1.35;margin:12px 0 15px;letter-spacing:.08em}
body.frontier159-entry .arrival-story>.eyebrow{font-size:10px;letter-spacing:.12em}
body.frontier159-entry .arrival-story>p:not(.eyebrow){font-size:13px;line-height:1.8;margin:0}
body.frontier159-entry .arrival-tags{margin-top:18px;gap:18px}
body.frontier159-entry .arrival-tags span{padding-top:7px;font-size:10px}
body.frontier159-entry .arrival-caption{bottom:20px;left:36px;font-size:10px}
.frontier159-coordinates{display:none}
body.frontier159-entry .arrival-stamp{top:24px;left:30px;background:#15251dcc;padding:7px 11px}

/* Hall: the camp remains a setting; choices and personal archive occupy a compact work surface. */
body.frontier159-hall #room-panel{flex:none;min-height:0;height:min(650px,calc(100dvh - 100px));padding:28px 32px 24px 49%;justify-content:center}
body.frontier159-hall .frontier159-hall-art{inset:0 55% 0 0;padding:30px;justify-content:flex-end;gap:15px;background:linear-gradient(0deg,#132017f5,transparent 80%),url('/assets/optimized/events/stations-076/supply-camp-v1.webp') 27% center/cover}
.frontier159-hall-art strong{font-size:clamp(27px,2.5vw,39px);line-height:1.5}
.frontier159-hall-art i{margin-bottom:8px}
body.frontier159-hall #room-panel>h2{font-size:27px;margin:5px 0 8px}
body.frontier159-hall #room-panel>.hint{font-size:12px;margin:0 0 10px}
.frontier159-room-actions{gap:11px;margin-top:10px}
.frontier159-room-actions>button{min-height:185px;padding:76px 15px 16px;gap:6px;justify-content:flex-end;overflow:hidden;background:#1b2b20}
.frontier159-room-actions>button small{font-size:9px;position:relative;z-index:1}
.frontier159-room-actions>button strong{font-size:19px;line-height:1.4;position:relative;z-index:1}
.frontier159-room-actions>button>span:not(.frontier159-mode-art){font-size:11px;position:relative;z-index:1}
.frontier159-room-actions .frontier159-mode-art{position:absolute;inset:0 0 46%;background-image:linear-gradient(0deg,#1b2b20,transparent 85%),url('/assets/optimized/events/stations-076/supply-camp-v1.webp');background-size:cover,220%;opacity:.85;pointer-events:none}
.frontier159-mode-art.companions{background-position:center,left 70%}.frontier159-mode-art.solo{background-position:center,90% 40%}
.frontier159-room-actions>button>b{z-index:2;background:#142019b8;padding:0 3px}
.frontier159-join{padding-top:12px;gap:7px;margin:0}
.frontier159-join input{padding:9px 11px;font-size:14px;min-height:39px}
.frontier159-join button{min-height:39px;padding:8px 15px;font-size:13px}
.frontier159-record-link{display:grid;grid-template-columns:1fr auto;gap:4px 12px;padding:12px 0 0;border-top:1px solid #b59b6338;text-decoration:none;color:#d9c498!important;font-size:13px}
.frontier159-record-link small{grid-row:2;font-size:11px;color:#aeb79d}.frontier159-record-link b{grid-column:2;grid-row:1/3;align-self:center;font-size:22px;font-weight:400}

/* Keep all five original choices and manuals reachable, but concentrate the detailed reading below. */
body.frontier159-selection.page-flow-113.lobby-101 #lobby-stage{grid-template-rows:auto auto auto minmax(0,1fr) auto!important;gap:8px!important;padding:14px 18px!important}
body.frontier159-selection .lobby-heading h2{font-size:24px}
body.frontier159-selection .lobby-heading>p{max-width:390px;font-size:11px}
body.frontier159-selection #character-panel{overflow:visible!important;gap:7px}
body.frontier159-selection #character-list{flex:none!important;min-height:0!important;gap:10px;grid-template-columns:repeat(5,minmax(0,1fr))!important}
body.frontier159-selection .character-choice{gap:3px;min-width:0}
body.frontier159-selection.page-flow-113.lobby-101 .character-choice .character-card{display:grid!important;grid-template-columns:70px minmax(0,1fr);height:80px!important;min-height:80px!important;text-align:left;align-items:stretch}
body.frontier159-selection .character-card::after{inset:4px}
body.frontier159-selection .character-art{height:78px!important;min-height:0!important;max-height:78px;flex:none}
body.frontier159-selection .character-art img{height:210%;top:0;object-position:center top}
body.frontier159-selection .character-art::before,.frontier159-card-seal,.frontier159-card-index{display:none}
body.frontier159-selection.page-flow-113.lobby-101 .character-copy{display:flex;flex-direction:column;justify-content:center;padding:6px 8px!important;gap:4px;background:none}
body.frontier159-selection .character-title{display:block!important;min-height:0;gap:0}
body.frontier159-selection .character-title>span{display:block}
body.frontier159-selection .character-title strong{font-size:17px;letter-spacing:.02em}
body.frontier159-selection .character-title small,body.frontier159-selection .character-stats,body.frontier159-selection .character-tool{display:none}
body.frontier159-selection .character-title b{position:static;display:block;border:0;background:none;padding:3px 0 0;font-size:9px;color:#beaf82}
body.frontier159-selection .frontier159-specialty{display:none}
body.frontier159-selection.page-flow-113.lobby-101 .profession-guide-button{font-size:11px!important;min-height:26px;padding:3px;white-space:nowrap}
body.frontier159-selection #frontier159-dossier{display:grid;grid-template-columns:minmax(220px,44%) minmax(0,1fr);align-items:stretch;gap:22px;min-height:0;padding:0;border:1px solid #aa965333;overflow:hidden;background:linear-gradient(110deg,#29362b,#18261d)}
.frontier159-feature-portrait{position:relative;min-width:0;min-height:0;overflow:hidden;background:linear-gradient(0deg,#17251d88,#17251d99),url('/assets/optimized/events/stations-076/supply-camp-v1.webp') center/cover}
.frontier159-feature-portrait::after{content:'';position:absolute;inset:12px;border:1px solid #c2aa6c33;pointer-events:none}
.frontier159-feature-portrait>span{position:absolute;top:18px;left:22px;font:10px Georgia,serif;color:#d0bf91;letter-spacing:.15em;z-index:1}
.frontier159-feature-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 7px 10px #0007)}
.frontier159-feature-portrait>i{position:absolute;bottom:15px;left:20px;font:italic 26px Georgia,'STSong',serif;letter-spacing:.12em;color:#ded1ad66}
.frontier159-feature-copy{min-height:0;overflow:auto;padding:12px 22px 12px 0;align-self:center;max-height:100%;box-sizing:border-box}
body.frontier159-selection #frontier159-dossier h3{font-size:34px;line-height:1.2;margin:5px 0 10px}
body.frontier159-selection #frontier159-dossier .frontier159-feature-role{font-size:13px;color:#d1c398;margin:0 0 13px}
.frontier159-feature-stats{display:flex;gap:30px;margin:8px 0}
.frontier159-feature-stats>div{display:flex;flex-direction:column;gap:4px}.frontier159-feature-stats span{font-size:11px;color:#adba9d}.frontier159-feature-stats strong{font:26px Georgia,serif;color:#e5d1a3}
body.frontier159-selection #frontier159-dossier .frontier159-feature-tool{display:flex;gap:10px;align-items:center;font-size:12px;margin:8px 0 10px;color:#c7c2a1}
.frontier159-feature-tool svg{width:20px;height:20px;color:#b5a06e}
.frontier159-feature-copy .frontier159-intent{padding-top:13px;border-top:1px solid #aa98553d}
body.frontier159-selection #frontier159-dossier .frontier159-intent p{font-size:13px;line-height:1.8;margin:6px 0}
body.frontier159-selection #frontier159-dossier .frontier159-dossier-note{border:0;padding:0;font-size:11px;line-height:1.6;color:#9fae91;margin:12px 0 0}
body.frontier159-selection #ready-button{min-width:210px;font-size:14px}
/* Legacy branch choices keep their native layout and scroll space. */
body.frontier159-selection:has(#lobby-paths:not([hidden])) #lobby-stage{grid-template-rows:auto auto minmax(0,1fr) auto auto!important}
body.frontier159-selection:has(#lobby-paths:not([hidden])) #character-panel{overflow:auto!important}
body.frontier159-selection:has(#lobby-paths:not([hidden])) #frontier159-dossier{height:220px;min-height:220px}
@media(min-width:1400px) and (min-height:820px){body.frontier159-entry.arrival-mode .app-shell{justify-content:center}body.frontier159-selection #frontier159-dossier h3{font-size:42px}.frontier159-feature-copy{padding:28px 35px 28px 0}.frontier159-feature-stats strong{font-size:31px}body.frontier159-selection #frontier159-dossier .frontier159-intent p{font-size:15px}}
@media(max-width:1099px),(max-height:649px){
 body.frontier159-entry #identity-panel{height:auto;min-height:560px!important;grid-template-columns:minmax(0,1fr) 390px!important}
 body.frontier159-hall #room-panel{height:auto;min-height:560px;padding:24px 25px 24px 43%}
 body.frontier159-hall .frontier159-hall-art{inset:0 61% 0 0}
 body.frontier159-selection.page-flow-113.lobby-101 #lobby-stage{display:flex!important;flex-direction:column;overflow:visible!important}
 body.frontier159-selection #frontier159-dossier{min-height:350px;height:350px;flex:none}
 body.frontier159-selection.page-flow-113.lobby-101 .character-choice .character-card{grid-template-columns:54px minmax(0,1fr)}
 body.frontier159-selection .character-title strong{font-size:15px}
}
@media(max-width:650px){
 body.frontier159-entry #identity-panel{display:flex;flex-direction:column;min-height:0!important}
 body.frontier159-entry.arrival-mode .arrival-art{min-height:260px;height:260px;flex:none;padding:24px!important;background-position:58% 48%}
 body.frontier159-entry .arrival-story{padding:42px 0 0;max-width:100%}
 body.frontier159-entry .arrival-story h2{font-size:29px;margin:7px 0}
 body.frontier159-entry .arrival-story>.eyebrow,body.frontier159-entry .arrival-story>p:not(.eyebrow),body.frontier159-entry .arrival-tags,body.frontier159-entry .arrival-caption{display:none}
 body.frontier159-entry .arrival-stamp{top:18px;left:21px;font-size:9px}
 body.frontier159-entry.arrival-mode .arrival-desk{padding:23px!important;overflow:visible}
 body.frontier159-hall #room-panel{padding:188px 20px 22px;min-height:0;height:auto}
 body.frontier159-hall .frontier159-hall-art{inset:0 0 auto;height:165px;padding:22px;justify-content:flex-end;background-position:center 48%}
 .frontier159-hall-art>span{top:16px;font-size:9px}.frontier159-hall-art strong{font-size:24px;line-height:1.3}.frontier159-hall-art i{display:none}
 body.frontier159-hall #room-panel>h2{font-size:23px}
 .frontier159-room-actions{grid-template-columns:1fr 1fr;gap:8px}.frontier159-room-actions>button{padding:70px 10px 13px;min-height:178px}.frontier159-room-actions>button strong{font-size:17px}.frontier159-room-actions>button>span:not(.frontier159-mode-art){font-size:10px;line-height:1.5}
 .frontier159-join{grid-template-columns:minmax(0,1fr) auto}.frontier159-join label{grid-column:1/-1}
 body.frontier159-selection.page-flow-113.lobby-101 #lobby-stage{padding:12px!important}
 body.frontier159-selection #character-list{display:flex!important;overflow-x:auto;scroll-snap-type:x proximity;gap:8px;padding-bottom:5px}
 body.frontier159-selection .character-choice{flex:0 0 124px;scroll-snap-align:start}
 body.frontier159-selection.page-flow-113.lobby-101 .character-choice .character-card{grid-template-columns:44px 1fr;height:78px!important;min-height:78px!important}
 body.frontier159-selection .profession-guide-button{min-height:35px;font-size:9px}
 body.frontier159-selection .character-title strong{font-size:15px}
 body.frontier159-selection #frontier159-dossier{display:flex;flex-direction:column;height:auto;min-height:0;gap:0}
 .frontier159-feature-portrait{height:285px;min-height:285px;width:100%}
 .frontier159-feature-copy{padding:20px;overflow:visible;max-height:none;align-self:stretch}
 body.frontier159-selection #frontier159-dossier h3{font-size:30px}
 body.frontier159-selection .lobby-footer{display:flex;flex-direction:column;align-items:stretch}
 body.frontier159-selection #ready-button{width:100%;min-height:44px}
 body.frontier159-selection:has(#lobby-paths:not([hidden])) #frontier159-dossier{height:auto;min-height:0}
}
