/* NALAROO — Storybook Play Garden v2.0
   Calm storybook choice cards; no game status API in the chooser.
   Scoped to the playground dialog only. */
body.living-world-view .world-dialog.world-playground-dialog[open]{
  box-sizing:border-box;
  display:grid;
  grid-template-rows:auto minmax(0,1fr);
  width:min(748px,calc(100vw - 28px));
  max-height:min(88dvh,720px);
  overflow:hidden;
  border:2.5px solid #c6ab83;
  border-radius:30px;
  background:#fff9ef;
  color:#3e604c;
  box-shadow:0 22px 68px #322d2259,0 5px 0 #8b76524d;
}
.world-playground-dialog .world-dialog-heading{
  min-height:70px;
  box-sizing:border-box;
  padding:15px 26px;
  background:#e8f2e6;
  border-bottom:1px solid #d5decf;
}
body.living-world-view .world-playground-dialog .world-dialog-heading h2{
  font:900 clamp(23px,3.7vw,30px)/1.2 Nunito,system-ui,sans-serif;
  color:#3f6049;
  letter-spacing:-.02em;
}
.world-playground-dialog .world-close{
  display:grid;
  place-items:center;
  width:44px;height:44px;min-width:44px;
  border:1px solid #e3d5bb;
  border-radius:50%;
  background:#fff9ed;
  color:#4e6858;
  box-shadow:none;
}
.world-playground-dialog .world-close:hover{background:#fff1da}
.world-playground-dialog .world-close:focus-visible{
  outline:3px solid #6b9b7c;
  outline-offset:3px;
}
body.living-world-view .world-playground-dialog .world-dialog-content.world-playground-body{
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  box-sizing:border-box;
  padding:22px 28px 29px;
  gap:17px;
  scrollbar-width:thin;
  scrollbar-color:#c7b495 transparent;
}
body.living-world-view .world-playground-dialog .world-playground-intro{
  margin:0;
  max-width:45ch;
  color:#526e5a;
  font:750 clamp(15px,2.4vw,18px)/1.42 Nunito,system-ui,sans-serif;
}
.world-playground-dialog .world-playground-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:18px;
}
body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card{
  position:relative;
  isolation:isolate;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  min-width:0;
  min-height:297px;
  padding:15px 15px 18px;
  border:2px solid #ddac87;
  border-radius:24px;
  background:#fbecdb;
  color:#624b3e;
  box-shadow:0 6px 0 #d5b496,0 11px 24px #8b6f5222;
  font-family:Nunito,system-ui,sans-serif;
  line-height:1.35;
  text-align:center;
  cursor:pointer;
  transform:none;
  filter:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card.is-memory{
  border-color:#c7afd8;
  background:#f1eaf8;
  color:#5a4e71;
  box-shadow:0 6px 0 #c9b9da,0 11px 24px #78698e20;
}
.world-playground-dialog .world-playground-card .world-playground-kicker{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:26px;
  padding:3px 12px;
  border:1px solid #e5c49e;
  border-radius:999px;
  background:#fff5e4;
  color:#755d43;
  font:900 12px/1.2 Nunito,system-ui,sans-serif;
}
.world-playground-dialog .world-playground-card.is-memory .world-playground-kicker{
  background:#faf4ff;
  border-color:#d8c5e4;
  color:#685780;
}
.world-playground-dialog .world-playground-card img.world-playground-art{
  display:block;
  width:100%;
  height:132px;
  min-height:0;
  max-width:270px;
  object-fit:contain;
  flex:0 0 132px;
  pointer-events:none;
}
body.living-world-view .world-playground-dialog .world-playground-card strong{
  display:block;
  color:inherit;
  font:900 clamp(19px,2.7vw,23px)/1.2 Nunito,system-ui,sans-serif;
  letter-spacing:-.025em;
}
body.living-world-view .world-playground-dialog .world-playground-card small{
  display:block;
  max-width:26ch;
  min-height:38px;
  color:#745e4e;
  font:750 13px/1.38 Nunito,system-ui,sans-serif;
}
body.living-world-view .world-playground-dialog .world-playground-card.is-memory small{
  color:#6c6079;
}
.world-playground-dialog .world-playground-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  min-width:112px;
  min-height:34px;
  box-sizing:border-box;
  padding:7px 16px;
  margin-top:auto;
  border-radius:999px;
  background:#e9bf97;
  color:#674731;
  box-shadow:0 2px 0 #d1a47e;
  font:900 13px/1.2 Nunito,system-ui,sans-serif;
}
.world-playground-dialog .is-memory .world-playground-cta{
  background:#d6c5e9;
  box-shadow:0 2px 0 #bca7d5;
  color:#594976;
}
.world-playground-dialog .world-game-plus-tag{
  position:absolute;
  top:14px;right:13px;
  z-index:2;
  padding:5px 9px;
  border:1px solid #b49ccf;
  border-radius:999px;
  background:#fff8e6;
  color:#5d4d78;
  font:900 10px/1.2 Nunito,system-ui,sans-serif;
}
body.living-world-view .world-playground-dialog .world-playground-card.is-locked{
  opacity:1;
  filter:none;
  cursor:pointer;
}
body.living-world-view .world-playground-dialog .world-playground-card.is-locked :is(strong,small){
  color:#5a4e71!important;
}
@media(hover:hover) and (pointer:fine){
  body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card:hover{
    transform:translateY(-4px);
    filter:none;
    box-shadow:0 10px 0 #d5b496,0 15px 28px #8b6f5229;
  }
  body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card.is-memory:hover{
    box-shadow:0 10px 0 #c9b9da,0 15px 28px #78698e29;
  }
}
body.living-world-view .world-playground-dialog .world-playground-card:focus-visible{
  outline:4px solid #527c65;
  outline-offset:4px;
}
body.living-world-view .world-playground-dialog .world-playground-card:active{
  transform:translateY(2px);
  box-shadow:0 3px 0 #d5b496;
}
@media(max-width:599px){
  body.living-world-view .world-dialog.world-playground-dialog[open]{
    width:calc(100vw - 22px);
    max-height:min(91dvh,760px);
    border-radius:24px;
  }
  .world-playground-dialog .world-dialog-heading{min-height:58px;padding:10px 16px}
  .world-playground-dialog .world-close{width:40px;height:40px;min-width:40px}
  body.living-world-view .world-playground-dialog .world-dialog-content.world-playground-body{
    gap:13px;
    padding:15px 15px 18px;
  }
  body.living-world-view .world-playground-dialog .world-playground-intro{
    font-size:15px;
  }
  .world-playground-dialog .world-playground-cards{
    grid-template-columns:minmax(0,1fr);
    gap:14px;
  }
  body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card{
    display:grid;
    grid-template-columns:112px minmax(0,1fr);
    grid-template-rows:26px auto auto auto;
    column-gap:11px;
    row-gap:4px;
    justify-items:start;
    text-align:left;
    align-items:center;
    min-height:156px;
    padding:12px 12px;
    border-radius:20px;
  }
  .world-playground-dialog .world-playground-card img.world-playground-art{
    grid-column:1;
    grid-row:1 / 5;
    width:112px;
    height:118px;
    max-width:112px;
    align-self:center;
    justify-self:center;
  }
  .world-playground-dialog .world-playground-kicker{
    grid-column:2;grid-row:1;
  }
  body.living-world-view .world-playground-dialog .world-playground-card strong{
    grid-column:2;grid-row:2;font-size:19px;
  }
  body.living-world-view .world-playground-dialog .world-playground-card small{
    grid-column:2;grid-row:3;
    min-height:0;
    max-width:none;
    font-size:12px;
  }
  .world-playground-dialog .world-playground-cta{
    grid-column:2;grid-row:4;
    min-height:29px;min-width:104px;
    padding:5px 12px;
    margin-top:2px;
    font-size:12px;
  }
  .world-playground-dialog .world-game-plus-tag{
    top:7px;right:8px;font-size:9px;padding:3px 6px;
  }
  .world-playground-dialog .is-locked .world-playground-kicker{
    margin-right:77px;
  }
}
@media(max-width:360px){
  body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card{
    grid-template-columns:88px minmax(0,1fr);column-gap:9px;
  }
  .world-playground-dialog .world-playground-card img.world-playground-art{width:90px;height:102px}
  body.living-world-view .world-playground-dialog .world-playground-card strong{font-size:17px}
}
@media(max-height:540px) and (orientation:landscape){
  body.living-world-view .world-dialog.world-playground-dialog[open]{max-height:94dvh}
  .world-playground-dialog .world-dialog-heading{min-height:52px;padding-block:7px}
  body.living-world-view .world-playground-dialog .world-dialog-content.world-playground-body{padding:12px 17px 18px}
  body.living-world-view .integrated-world .world-playground-dialog .world-action.world-playground-card{min-height:0;padding:10px}
  .world-playground-dialog .world-playground-card img.world-playground-art{height:80px;flex-basis:80px}
}
@media(prefers-reduced-motion:reduce){
  body.living-world-view .world-playground-dialog .world-playground-card{
    transition:none!important;
  }
}