/* Chrome Desert world handoff. Scoped to the optional preset, not the normal Full Editorial flow. */
.editorial-world-preset{
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:20px;
  min-height:116px;
  margin:0 0 25px;
  padding:13px;
  border:1px solid #343331;
  background:#111211;
  color:#f2eee7;
}
.editorial-world-preset[hidden],.editorial-review-world[hidden]{display:none!important}
.editorial-world-preset img{width:144px;height:88px;flex:none;object-fit:cover;object-position:center}
.editorial-world-preset-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.editorial-world-preset-copy small,.editorial-review-world small{
  color:#b9b2a6;
  font-family:inherit;
  font-size:10px;
  font-weight:650;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.editorial-world-preset-copy strong{font-size:clamp(21px,2.5vw,32px);font-weight:600;letter-spacing:-.04em}
.editorial-world-preset-copy p{margin:0;color:#c8c3ba;font-size:13px;line-height:1.45}
.editorial-world-preset > a{
  color:#eee8dd;
  flex:none;
  border-bottom:1px solid #817d76;
  padding:4px 0;
  font-size:12px;
  text-decoration:none;
}
.editorial-world-active:not(.editorial-world-editing) .editorial-flow-rail [data-flow-step="2"],
.editorial-world-active:not(.editorial-world-editing) .editorial-flow-rail [data-flow-step="3"]{display:none}
.editorial-review-world{
  display:flex;
  gap:13px;
  align-items:center;
  margin-bottom:14px;
  padding:12px;
  border:1px solid #363330;
  background:#121211;
}
.editorial-review-world img{width:96px;height:70px;flex:none;object-fit:cover}
.editorial-review-world-copy{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.editorial-review-world strong{color:#f4efe7;font-size:17px}
.editorial-review-world span{color:#c8c3bb;font-size:12px}
.editorial-review-world button{border:0;background:transparent;padding:8px;color:#f4efe7;text-decoration:underline;cursor:pointer}
@media(max-width:700px){
  .editorial-world-preset{gap:10px;margin-bottom:18px;padding:9px;min-height:90px;flex-wrap:wrap}
  .editorial-world-preset img{width:80px;height:85px;object-position:50%}
  .editorial-world-preset-copy strong{font-size:22px}
  .editorial-world-preset-copy p{font-size:12px}
  .editorial-world-preset > a{margin-left:90px}
  .editorial-review-world{gap:10px;padding:9px}
  .editorial-review-world img{width:66px;height:65px}
  .editorial-review-world strong{font-size:15px}
  .editorial-review-world button{font-size:12px}
}


/* Compact featured-world context on all browsers.
   Keep the world already applied; let Identity casting own the visual hierarchy.
   Only the featured-world entry is affected, not normal Full Editorial. */
@media(min-width:601px){
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:0;
  margin:0 0 14px;
  padding:7px 0 10px;
  border:0;
  border-bottom:1px solid #303132;
  background:transparent;
 }
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset img{
  width:58px;height:51px;object-fit:cover;object-position:center;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy{
  gap:2px;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy small{
  font-size:9px;letter-spacing:.10em;color:#a3a29f;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy strong{
  font-size:19px;line-height:1.15;letter-spacing:-.025em;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy p{
  display:none;
 }
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset > a{
  margin:0;padding:5px 0;font-size:11px;white-space:nowrap;
 }
}
/* The ordinary desktop casting tabs overlap 40px upward by design.
   With a selected world this obscures its border and text, so restore
   the tabs to normal flow for both casting and saved-characters modes. */
@media(min-width:801px){
 body.editorial-web.editorial-world-active #panel-model[data-model-mode="casting"] .editorial-casting-tabs,
 body.editorial-web.editorial-world-active #panel-model[data-model-mode="saved"] .editorial-casting-tabs{
  margin-top:0!important;
  margin-bottom:12px!important;
 }
}
@media(max-width:600px){
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:0;
  margin:4px 0 14px;
  padding:0 0 12px;
  border:0;
  border-bottom:1px solid #303132;
  background:transparent;
 }
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset img{
  display:block;width:48px;height:52px;object-fit:cover;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy{
  min-width:0;gap:3px;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy small{
  color:#aaa8a3;font-size:9px;letter-spacing:.09em;line-height:1.2;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy strong{
  font-size:clamp(15px,4.4vw,18px);line-height:1.18;letter-spacing:-.025em;
 }
 body.editorial-web.editorial-world-active #panel-model .editorial-world-preset-copy p{
  display:none;
 }
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset > a{
  margin:0;padding:5px 0;align-self:center;white-space:nowrap;
  font-size:11px;line-height:1.2;border-bottom-color:#777;
 }
}
@media(max-width:360px){
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset{
  grid-template-columns:42px minmax(0,1fr) auto;gap:8px;
 }
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset img{
  width:42px;height:47px;
 }
 body.editorial-web.editorial-world-active #panel-model #editorial-world-preset > a{
  font-size:10px;
 }
}
