/* The dedicated setup borrows the whole stage until the player enters Alberta's Legislature. */
.chamber-shell:has(.ce-setup) .chamber-top,
.chamber-shell:has(.ce-setup) .chamber-stage,
.chamber-shell:has(.ce-setup) .chamber-task-toggle,
.chamber-shell:has(.ce-setup) .chamber-caption { display:none!important; }
.chamber-shell:has(.ce-setup) .chamber-body {
  display:block; flex:1; min-width:0; min-height:0; overflow:auto;
  background:#102c2c; color:#f7eedc;
}
.chamber-shell:has(.ce-setup) .chamber-right {
  display:block; height:auto; border:0; padding:0; overflow:visible; background:transparent;
}
.chamber-shell:has(.ce-setup) #ch-panel {
  display:block!important; width:100%; max-width:none; padding:0; margin:0;
}
.ce-setup {
  --entry-line:#ffffff32; --entry-paper:#fbefdc; --entry-gold:#efcf8b;
  box-sizing:border-box; width:min(100%, 860px); margin:0 auto; padding:clamp(18px,3.5vh,42px) clamp(16px,4vw,50px);
}
.ce-path {
  display:flex; flex-wrap:wrap; gap:16px; list-style:none; padding:0; margin:0 0 clamp(12px,3vh,26px);
  font-size:13px; line-height:1.4; color:#c2d3ca;
}
.ce-path li { display:flex; gap:5px; align-items:center; padding:3px 0; border-bottom:2px solid transparent; }
.ce-path li[aria-current="step"] { color:var(--entry-gold); font-weight:700; border-color:currentColor; }
.ce-header { margin:0 0 clamp(14px,2.5vh,22px); }
.ce-setup .ce-header h2 {
  margin:0; color:var(--entry-paper); font:400 clamp(26px,4vw,44px)/1.12 Georgia,serif; letter-spacing:normal;
}
.ce-setup .ce-header p { font-size:16px; color:#d7e1d9; line-height:1.45; margin:7px 0 0; }
.ce-avatar-grid { display:grid; grid-template-columns:minmax(150px,.8fr) minmax(0,1.5fr); gap:clamp(20px,4vw,48px); align-items:start; }
.ce-portrait { margin:0; text-align:center; }
.ce-portrait svg { width:min(100%,232px); margin:auto; }
.ce-description { max-width:240px; margin:8px auto 0; font-size:13px; line-height:1.45; color:#d9d6bf; }
.ce-avatar-fields { display:grid; gap:13px; min-width:0; }
.ce-avatar-fields .ch-avatar-group legend { font-size:14px; line-height:1.25; padding-bottom:0; }
.ce-avatar-fields .ch-avatar-choice { min-height:44px; font-size:13px!important; }
.ce-avatar-fields .ch-avatar-options { gap:5px; }
.ce-avatar-fields .ch-avatar-group-skin .ch-avatar-options { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }
.ce-avatar-fields .ch-avatar-group-skin .ch-avatar-choice { min-height:60px; padding:5px 2px; font-size:11px!important; }
.ce-avatar-fields .ch-avatar-group-skin .ch-avatar-swatch { width:22px; height:22px; }
.ce-avatar-details { border-top:1px solid var(--entry-line); }
.ce-avatar-details summary { min-height:44px; padding:12px 0; cursor:pointer; color:var(--entry-gold); font-weight:600; font-size:14px; line-height:1.45; }
.ce-avatar-details>div { display:grid; gap:13px; }
.ce-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.ce-choice {
  display:grid; align-content:start; gap:7px; padding:17px; min-height:88px; text-align:left;
  border:1px solid #d4c19773; border-radius:10px; background:#193936; color:var(--entry-paper); font:inherit; line-height:1.4; cursor:pointer;
}
.ce-choice strong { color:var(--entry-gold); font-size:17px; }
.ce-choice span { font-size:14px; color:#d9e3d8; }
.ce-choice:hover, .ce-back:hover { border-color:var(--entry-gold); background:#21443e; }
.ce-footer {
  display:flex; flex-wrap:wrap; gap:8px 20px; align-items:center; margin-top:clamp(14px,3vh,28px); padding-top:13px;
  border-top:1px solid var(--entry-line);
}
.ce-next,.ce-back {
  display:inline-flex; gap:9px; align-items:center; justify-content:center; padding:10px 19px; min-height:46px; border:1px solid var(--entry-gold);
  border-radius:8px; background:var(--entry-gold); color:#102d29; font:inherit; font-size:15px; font-weight:700; cursor:pointer;
}
.ce-back { border-color:var(--entry-line); background:#193936; color:var(--entry-paper); }
.ce-next:hover { background:#f5deb1; }
.ce-alternatives { display:flex; flex-wrap:wrap; gap:0 14px; align-items:center; }
.ce-link { display:inline-flex; min-height:44px; align-items:center; padding:6px 0; background:transparent; border:0; color:#e6d1a4; font:inherit; font-size:14px; text-decoration:underline; cursor:pointer; }
.ce-setup :is(button,a,summary):focus-visible { outline:3px solid #fae2aa; outline-offset:3px; }
@media(max-width:600px) {
  .ce-setup {padding:15px 16px max(15px,env(safe-area-inset-bottom));}
  .ce-path { gap:12px; margin-bottom:10px; }
  .ce-avatar-grid {grid-template-columns:minmax(0,1fr); gap:13px;}
  .ce-portrait {display:flex; align-items:center; gap:13px;text-align:left;}
  .ce-portrait svg {width:clamp(74px,17vh,116px); margin:0; }
  .ce-description {margin:0; max-width:180px;}
  .ce-header {margin-bottom:12px;}
  .ce-choices {grid-template-columns:minmax(0,1fr);gap:8px;}
  .ce-choice {min-height:60px;padding:10px 14px;gap:2px;}
  .ce-setup .ce-footer {position:sticky;bottom:0;background:#102c2c;padding-bottom:max(5px,env(safe-area-inset-bottom));z-index:1;}
  .ce-setup .ce-alternatives {gap:0 8px;}
  .ce-avatar-fields .ch-avatar-group-skin .ch-avatar-choice {font-size:10px!important;}
}
@media(max-width:360px) {
  .ce-avatar-fields .ch-avatar-group-skin .ch-avatar-options {grid-template-columns:repeat(3,minmax(0,1fr));}
  .ce-avatar-fields .ch-avatar-group-skin .ch-avatar-choice {flex-direction:row;gap:4px;min-height:44px;font-size:11px!important;}
  .ce-avatar-fields .ch-avatar-group-skin .ch-avatar-swatch {width:17px;height:17px;}
}
@media(max-height:520px) and (orientation:landscape) {
  .ce-setup {padding:12px 18px;}
  .ce-header {margin-bottom:8px;}
  .ce-path {margin-bottom:7px;}
  .ce-portrait svg {max-width:130px;}
}
@media(forced-colors:active) {
  .ce-next,.ce-back,.ce-choice,.ce-path li[aria-current="step"] {border-color:ButtonText;}
}

.ce-parts-title{font-size:17px;margin:22px 0 4px;color:#f2d69f}.ce-parts-note{font-size:13px;margin:0 0 10px;color:#d4ddd1}
