
:root{--ink:#111;--soft:#f7f7f5;--blue:#2348c5}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Nunito,sans-serif}a{color:inherit;text-decoration:none}img{display:block;width:100%}header,main,footer,.page,.story{width:min(1280px,calc(100% - 40px));margin:auto}header{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd}nav{display:flex;gap:26px;font-weight:800}.logo,footer strong{font:800 31px 'Baloo 2';letter-spacing:-2px}.menu{display:none}.intro{min-height:500px;display:flex;flex-direction:column;justify-content:center;position:relative}.intro h1,.card h2,.title h1,.aboutgrid h2,.future h2,.more h2{font-family:'Baloo 2';letter-spacing:-.055em;line-height:.9;margin:0}.intro h1{font-size:clamp(78px,12vw,165px)}.intro b{position:absolute;right:6%;bottom:15%;font-size:74px}.intro small,.card small,.title small,.future small,.more small{text-transform:uppercase;letter-spacing:.16em;font-weight:800}.card{margin-bottom:28px}.card>a{min-height:455px;border:2px solid #111;border-radius:28px;overflow:hidden;display:grid;grid-template-columns:1fr 1fr;background:#fafafa}.card img{height:100%;object-fit:cover}.card div{padding:clamp(30px,6vw,72px);display:flex;flex-direction:column;justify-content:center;position:relative}.card h2{font-size:clamp(54px,7vw,96px);margin:10px 0 18px}.card p{font-size:18px;line-height:1.55}.card i{position:absolute;right:28px;bottom:25px;width:50px;height:50px;border:2px solid #111;border-radius:50%;display:grid;place-items:center;font-style:normal;background:#fff}.card>a:hover{transform:translateY(-4px);box-shadow:0 8px 0 #111}footer{margin-top:100px;padding:42px 0;border-top:1px solid #bbb;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.inner{background:#fafafa}.title{padding:80px 0 44px}.title h1{font-size:clamp(72px,10vw,140px)}.title p{font-size:18px}.aboutgrid{display:grid;grid-template-columns:1.15fr .85fr;gap:40px}.aboutgrid>img,.heroimg{border:2px solid #111;border-radius:24px}.aboutgrid h2{font-size:clamp(44px,5vw,72px)}.aboutgrid p{font-size:18px;line-height:1.7}.aboutgrid dl{border-top:1px solid #bbb}.aboutgrid dl div{display:grid;grid-template-columns:100px 1fr;padding:13px 0;border-bottom:1px solid #ccc}.aboutgrid dd{margin:0;font-weight:800}.center{text-align:center}.bookwrap{display:grid;grid-template-columns:56px 1fr 56px;align-items:center;gap:16px}.book{position:relative;min-height:min(900px,82vw);border:2px solid #111;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 60px #0002}.pageitem{display:none;position:absolute;inset:0}.pageitem.active{display:block}.pageitem img{height:100%;object-fit:contain}.prev,.next{width:52px;height:52px;border:2px solid #111;border-radius:50%;background:#fff;font-size:23px}.more.active{display:grid;place-items:center;text-align:center;padding:50px}.more h2{font-size:clamp(56px,8vw,110px)}.indicator{text-align:center;margin-top:18px;font-weight:800}.indicator button{width:8px;height:8px;border:0;border-radius:50%;background:#ccc;margin:5px}.indicator button.on{background:#111}.future{max-width:820px;padding:80px 0}.future h2{font-size:clamp(52px,7vw,92px);margin:14px 0}.future p{font-size:18px;line-height:1.7}
@media(max-width:800px){header,main,footer,.page,.story{width:calc(100% - 24px)}nav{display:none;position:absolute;top:68px;left:12px;right:12px;flex-direction:column;background:#fff;border:2px solid #111;border-radius:16px;padding:18px;z-index:5}.menu{display:block;border:0;background:none;font-size:24px}.card>a,.aboutgrid{grid-template-columns:1fr}.card img{min-height:320px}.card div{min-height:280px}.bookwrap{grid-template-columns:1fr}.prev,.next{position:fixed;bottom:20px;z-index:10}.prev{left:18px}.next{right:18px}.book{min-height:calc(100vw - 24px)}}

.game-card>a{background:#fff8f8}.game-card img{object-position:center}
.bookwrap-real{grid-template-columns:58px minmax(0,1fr) 58px}.real-book{position:relative;min-height:min(790px,58vw);perspective:1800px;filter:drop-shadow(0 28px 35px rgba(0,0,0,.16))}
.real-book:before{content:"";position:absolute;left:50%;top:2.5%;bottom:2.5%;width:18px;transform:translateX(-50%);background:linear-gradient(90deg,rgba(0,0,0,.12),rgba(255,255,255,.7),rgba(0,0,0,.12));border-radius:50%;z-index:12;pointer-events:none}
.book-sheet{display:none;position:absolute;inset:0;transform-style:preserve-3d;transform-origin:left center}.book-sheet.active{display:block;animation:bookPageIn .55s cubic-bezier(.2,.75,.2,1) both}
@keyframes bookPageIn{from{opacity:.2;transform:rotateY(-8deg) scale(.985)}to{opacity:1;transform:rotateY(0) scale(1)}}@keyframes bookPageBack{from{opacity:.2;transform:rotateY(8deg) scale(.985)}to{opacity:1;transform:rotateY(0) scale(1)}}
.book-spread{height:100%;display:grid;grid-template-columns:1fr 1fr;background:#f4f1e9;border:2px solid #111;border-radius:22px;overflow:hidden}.paper{min-width:0;padding:24px;background:linear-gradient(90deg,rgba(0,0,0,.045),transparent 9%),#fffefa;position:relative}.left-paper{border-right:1px solid #cfcac0}.left-paper img{width:100%;height:100%;object-fit:contain}.right-paper{background:linear-gradient(270deg,rgba(0,0,0,.035),transparent 10%),#fffefa;display:grid;place-items:center}.story-copy{max-width:500px;padding:clamp(28px,5vw,78px)}.story-copy h2{font:800 clamp(48px,5.4vw,84px)/.92 "Baloo 2";letter-spacing:-.05em;margin:12px 0 24px}.story-copy p{font-size:clamp(15px,1.3vw,19px);line-height:1.7}.story-copy strong{display:block;margin-top:26px;padding-left:18px;border-left:4px solid #f58e96;font:700 24px/1.2 "Baloo 2"}
.cover-sheet,.end-sheet{padding:0 14%}.book-cover,.book-end{height:100%;border:2px solid #111;border-radius:14px 22px 22px 14px;overflow:hidden;background:#fff;box-shadow:18px 18px 0 #111}.book-cover img{height:100%;object-fit:contain}.book-end{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:60px}.book-end h2{font:800 clamp(58px,7vw,104px)/.92 "Baloo 2";letter-spacing:-.055em;margin:18px 0}.book-end p{max-width:620px;font-size:18px;line-height:1.65}.book-end a{margin-top:20px;padding:12px 22px;border:2px solid #111;border-radius:999px;font-weight:800;background:#fff}
.games-main{width:min(1280px,calc(100% - 40px));margin:auto}.game-title{padding-bottom:38px}.game-shell{border:2px solid #111;border-radius:28px;padding:18px;background:#fff;box-shadow:0 18px 0 #111}.game-topbar{display:flex;justify-content:space-between;padding:4px 8px 14px}.game-topbar div{display:flex;align-items:baseline;gap:10px}.game-topbar small,.tiny-label{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:10px}.game-topbar strong{font:800 24px "Baloo 2"}.canvas-wrap{position:relative;overflow:hidden;border:2px solid #111;border-radius:18px;background:#fff;touch-action:manipulation}#gameCanvas{display:block;width:100%;height:auto;aspect-ratio:1100/520}.game-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;background:rgba(255,255,255,.9);transition:opacity .2s ease}.game-overlay.hidden{opacity:0;pointer-events:none}.game-overlay h2{font:800 clamp(56px,8vw,110px)/.9 "Baloo 2";letter-spacing:-.055em;margin:12px 0}.game-overlay p{font-size:18px}.game-overlay button,.game-controls button{border:2px solid #111;border-radius:999px;background:#111;color:#fff;padding:13px 25px;font:800 16px "Nunito";cursor:pointer}.game-controls{display:flex;align-items:center;justify-content:center;gap:20px;padding:18px 0 2px;text-align:center}.game-controls p{margin:0;color:#666;font-size:13px}.future-games{padding:110px 0 20px}.future-games>small{text-transform:uppercase;letter-spacing:.16em;font-weight:800}.future-games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px}.game-tile{min-height:240px;border:2px solid #111;border-radius:24px;padding:28px;display:flex;flex-direction:column;justify-content:flex-end}.game-tile span{font-weight:800}.game-tile h2{font:800 38px/.95 "Baloo 2";letter-spacing:-.04em;margin:10px 0}.active-game{background:#fff0f1}.locked{background:#f4f4f2;color:#888;border-color:#aaa}
@media(max-width:800px){.real-book{min-height:118vw}.book-spread{grid-template-columns:1fr}.right-paper{display:none}.real-book:before{display:none}.cover-sheet,.end-sheet{padding:0 6%}.book-cover,.book-end{box-shadow:10px 10px 0 #111}.games-main{width:calc(100% - 24px)}.game-shell{padding:10px;box-shadow:0 10px 0 #111}.game-controls{flex-direction:column;gap:8px}.game-controls button{min-width:160px}.future-games-grid{grid-template-columns:1fr}}

/* Cover page has no centre spine; inner spreads keep the spine */
.real-book.cover-open::before{display:none}
.game-sprite-note{display:none}

.game-overlay button:disabled{opacity:.55;cursor:wait}


/* iPhone portrait storybook layout fix */
@media (max-width:800px){
  .bookwrap-real{
    display:block;
    width:100%;
  }

  .real-book{
    width:100%;
    min-width:0;
    min-height:0;
    height:auto;
    aspect-ratio:1 / 1;
    margin:0 auto;
    filter:drop-shadow(0 14px 22px rgba(0,0,0,.14));
  }

  .book-sheet{
    width:100%;
    height:100%;
    padding:0;
  }

  .cover-sheet,
  .end-sheet{
    padding:0 5%;
  }

  .book-cover,
  .book-end{
    width:100%;
    height:100%;
  }

  .book-cover img,
  .left-paper img{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .book-spread{
    width:100%;
    height:100%;
    display:block;
  }

  .left-paper{
    width:100%;
    height:100%;
    padding:10px;
    border-right:0;
  }

  .prev,
  .next{
    position:fixed;
    bottom:20px;
    z-index:30;
  }
}

/* No centre spine on front cover or final page */
.real-book.cover-open::before,
.real-book.end-open::before{
  display:none;
}

.game-link{
  color:inherit;
  text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease;
}
.game-link:hover{
  transform:translateY(-4px);
  box-shadow:0 7px 0 #111;
}


/* Game selection hub */
.game-hub-main{
  width:min(1280px,calc(100% - 40px));
  margin:auto;
}
.game-hub-title{
  padding-bottom:44px;
}
.game-library{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:24px;
}
.library-card{
  min-height:300px;
  border:2px solid #111;
  border-radius:26px;
  padding:30px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:26px;
  align-items:end;
  position:relative;
  overflow:hidden;
  color:#111;
  text-decoration:none;
}
.library-card.available{
  background:#fff;
  transition:transform .2s ease,box-shadow .2s ease;
}
.library-card.available:hover{
  transform:translateY(-5px);
  box-shadow:0 9px 0 #111;
}
.library-card.coming{
  background:#f2f2ef;
  color:#888;
  border-color:#aaa;
}
.library-number{
  align-self:start;
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border:2px solid currentColor;
  border-radius:50%;
  font:800 17px "Baloo 2";
}
.library-copy small{
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:10px;
  font-weight:800;
}
.library-copy h2{
  font:800 clamp(42px,5vw,70px)/.92 "Baloo 2";
  letter-spacing:-.05em;
  margin:12px 0 16px;
}
.library-copy p{
  margin:0;
  font-size:17px;
  line-height:1.55;
  max-width:520px;
}
.library-arrow{
  width:52px;
  height:52px;
  border:2px solid #111;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
}
.library-arrow svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media(max-width:800px){
  .game-hub-main{
    width:calc(100% - 24px);
  }
  .game-library{
    grid-template-columns:1fr;
  }
  .library-card{
    min-height:250px;
    padding:24px;
    grid-template-columns:auto 1fr;
  }
  .library-arrow{
    position:absolute;
    right:22px;
    bottom:22px;
  }
}


/* Final homepage cleanup */
.intro b,
.intro-heart{
  display:none !important;
}

.card-svg-arrow{
  position:absolute;
  right:28px;
  bottom:25px;
  width:50px;
  height:50px;
  border:2px solid #111;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  font-style:normal;
}

.card-svg-arrow svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* Game 1 no longer shows the game shelf */
.game-page .future-games,
.game-page .future-games-grid{
  display:none !important;
}

/* Game 1: 8 speed stages */
.game-topbar{display:grid;grid-template-columns:repeat(3,1fr);align-items:end}
.game-topbar>div:nth-child(2){text-align:center}
.game-topbar>div:last-child{text-align:right}

.stage-up{
  position:absolute;
  left:50%;
  top:18%;
  transform:translate(-50%,-20px) scale(.92);
  z-index:12;
  opacity:0;
  pointer-events:none;
  text-align:center;
  background:rgba(255,255,255,.94);
  border:2px solid #111;
  border-radius:18px;
  padding:12px 22px;
  box-shadow:0 8px 0 #111;
}
.stage-up strong{
  display:block;
  font:800 28px/1 "Baloo 2";
  letter-spacing:-.03em;
}
.stage-up span{
  display:block;
  margin-top:4px;
  font-weight:800;
}
.stage-up.show{
  animation:stageUpPop .8s ease both;
}
@keyframes stageUpPop{
  0%{opacity:0;transform:translate(-50%,-28px) scale(.9)}
  20%{opacity:1;transform:translate(-50%,0) scale(1.05)}
  70%{opacity:1;transform:translate(-50%,0) scale(1)}
  100%{opacity:0;transform:translate(-50%,-12px) scale(.96)}
}

/* Game 1 V3 */
.game-topbar{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  align-items:end;
}
.game-topbar>div:nth-child(2){text-align:center}
.game-topbar>div:last-child{text-align:right}

.stage-up{
  position:absolute;
  left:50%;
  top:18%;
  transform:translate(-50%,-20px) scale(.92);
  z-index:12;
  opacity:0;
  pointer-events:none;
  text-align:center;
  background:rgba(255,255,255,.94);
  border:2px solid #111;
  border-radius:18px;
  padding:12px 22px;
  box-shadow:0 8px 0 #111;
}
.stage-up strong{
  display:block;
  font:800 28px/1 "Baloo 2";
}
.stage-up span{
  display:block;
  margin-top:4px;
  font-weight:800;
}
.stage-up.show{
  animation:stageUpPop .8s ease both;
}
@keyframes stageUpPop{
  0%{opacity:0;transform:translate(-50%,-28px) scale(.9)}
  20%{opacity:1;transform:translate(-50%,0) scale(1.05)}
  70%{opacity:1;transform:translate(-50%,0) scale(1)}
  100%{opacity:0;transform:translate(-50%,-12px) scale(.96)}
}


/* Game library cartridge-cover thumbnails */
.game-library .library-card.available{
  grid-template-columns:88px 150px minmax(0,1fr) 62px;
  column-gap:24px;
  align-items:center;
}

.library-cover{
  width:150px;
  aspect-ratio:1;
  overflow:hidden;
  border:2px solid #111;
  border-radius:16px;
  background:#f3f3f3;
  box-shadow:0 7px 0 #111;
}

.library-cover img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  -webkit-user-drag:none;
  user-select:none;
}

@media(max-width:760px){
  .game-library .library-card.available{
    grid-template-columns:72px 122px minmax(0,1fr);
    grid-template-areas:
      "number cover copy"
      ". cover arrow";
    gap:16px;
    padding:24px 20px;
  }

  .game-library .library-card.available .library-number{
    grid-area:number;
    align-self:start;
  }

  .game-library .library-card.available .library-cover{
    grid-area:cover;
    width:122px;
    align-self:center;
  }

  .game-library .library-card.available .library-copy{
    grid-area:copy;
    min-width:0;
  }

  .game-library .library-card.available .library-arrow{
    grid-area:arrow;
    justify-self:end;
    position:static;
  }
}

@media(max-width:520px){
  .game-library .library-card.available{
    grid-template-columns:62px 104px minmax(0,1fr);
    gap:12px;
    padding:20px 14px;
  }

  .game-library .library-card.available .library-cover{
    width:104px;
    border-radius:12px;
    box-shadow:0 5px 0 #111;
  }

  .game-library .library-card.available .library-copy h2{
    font-size:clamp(29px,8vw,42px);
    line-height:.95;
  }

  .game-library .library-card.available .library-copy p{
    font-size:15px;
    line-height:1.35;
  }
}


/* iPhone landscape — keep each game card readable */
@media (orientation:landscape) and (max-height:600px){
  .game-hub-main{
    width:min(920px,calc(100% - 28px));
  }

  .game-hub-title{
    padding-top:28px;
    padding-bottom:24px;
  }

  .game-library{
    grid-template-columns:1fr !important;
    gap:24px;
  }

  .game-library .library-card.available{
    width:100%;
    min-height:260px;
    grid-template-columns:72px 180px minmax(0,1fr) 60px;
    grid-template-areas:"number cover copy arrow";
    gap:22px;
    padding:26px 28px;
    overflow:hidden;
  }

  .game-library .library-card.available .library-number{
    grid-area:number;
    align-self:start;
  }

  .game-library .library-card.available .library-cover{
    grid-area:cover;
    width:180px;
    align-self:center;
  }

  .game-library .library-card.available .library-copy{
    grid-area:copy;
    min-width:0;
    overflow-wrap:anywhere;
  }

  .game-library .library-card.available .library-copy h2{
    font-size:clamp(38px,6vw,58px);
    line-height:.94;
  }

  .game-library .library-card.available .library-copy p{
    font-size:18px;
    line-height:1.4;
    max-width:100%;
  }

  .game-library .library-card.available .library-arrow{
    grid-area:arrow;
    position:static;
    justify-self:end;
    align-self:center;
  }

  .game-library .library-card.coming{
    min-height:220px;
  }
}


/* V3.1 homepage More section */
.more-card{
  min-height:420px;
  border-style:dashed;
  background:#f5f5f2;
}

.more-panel{
  min-height:420px;
  display:grid;
  grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);
  align-items:center;
  gap:clamp(28px,6vw,90px);
  padding:clamp(34px,6vw,82px);
}

.more-symbol{
  aspect-ratio:1;
  max-width:320px;
  width:100%;
  justify-self:center;
  border:2px solid #111;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  background:#fff;
  box-shadow:0 12px 0 #111;
}

.more-symbol span{
  width:20px;
  height:20px;
  border-radius:50%;
  background:#111;
}

.more-panel small{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
  font-weight:800;
}

.more-panel h2{
  font:800 clamp(52px,7vw,96px)/.9 "Baloo 2";
  letter-spacing:-.055em;
  margin:14px 0 20px;
}

.more-panel p{
  max-width:560px;
  font-size:18px;
  line-height:1.6;
}

/* Music V1 homepage + hub */
.music-card>a{background:#fff7c9}
.music-card img{background:#fff7c9}
.music-hub-page{background:#f8fbff}
.music-hub-page .game-library{grid-template-columns:1fr}
.music-hub-page .library-card{background:#fffdf5}
.home-more{
  min-height:150px;
  display:grid;
  place-items:center;
  padding:48px 0 28px;
}
.home-more small{
  color:#888;
  font-weight:800;
  font-size:14px;
  letter-spacing:.13em;
  text-transform:lowercase;
}

.more-status{
  display:inline-block;
  margin-top:12px;
  padding:9px 14px;
  border:2px solid #111;
  border-radius:999px;
  background:#fff;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:10px;
  font-weight:800;
}

@media(max-width:760px){
  .more-panel{
    grid-template-columns:1fr;
    min-height:0;
  }

  .more-symbol{
    width:min(220px,64vw);
  }

  .more-panel h2{
    font-size:clamp(46px,13vw,72px);
  }
}


/* Game 1 V4 — cover/play inside the existing game frame + ranking below */
.game-cover-overlay{
  background:#fff;
  padding:18px;
}
.game-cover-start{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  position:relative;
}
.game-start-cover{
  width:min(390px,48%);
  max-height:82%;
  aspect-ratio:1;
  object-fit:cover;
  border:2px solid #111;
  border-radius:20px;
  box-shadow:0 10px 0 #111;
}
.cover-play-button{
  position:absolute;
  left:50%;
  bottom:7%;
  transform:translateX(-50%);
  min-width:150px;
  font-size:20px !important;
  letter-spacing:.08em;
  box-shadow:0 6px 0 #111;
  background:#fff !important;
  color:#111 !important;
}
.game-result-copy{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.game-result-copy[hidden]{display:none}
.game-result-copy #startButton{margin-top:14px}

.leaderboard-shell{
  margin-top:34px;
  border:2px solid #111;
  border-radius:28px;
  padding:clamp(20px,4vw,38px);
  background:#fff;
  box-shadow:0 12px 0 #111;
}
.leaderboard-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  border-bottom:2px solid #111;
  padding-bottom:18px;
}
.leaderboard-heading small{
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:800;
  font-size:10px;
}
.leaderboard-heading h2{
  font:800 clamp(40px,5vw,66px)/.9 "Baloo 2";
  letter-spacing:-.05em;
  margin:6px 0 0;
}
.leaderboard-tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.rank-tab{
  border:2px solid #111;
  border-radius:999px;
  background:#fff;
  padding:9px 14px;
  font:800 12px "Nunito";
  cursor:pointer;
}
.rank-tab.active{
  background:#111;
  color:#fff;
}
.leaderboard-status{
  padding:18px 4px 8px;
  color:#777;
  font-size:13px;
}
.leaderboard-list{
  list-style:none;
  margin:0;
  padding:0;
}
.leaderboard-row{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  padding:14px 4px;
  border-bottom:1px solid #ddd;
}
.leaderboard-row:last-child{border-bottom:0}
.rank-number{font:800 20px "Baloo 2"}
.rank-name{font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-score{font:800 20px "Baloo 2";font-variant-numeric:tabular-nums}
@media(max-width:800px){
  .game-start-cover{width:min(300px,62%);max-height:78%}
  .cover-play-button{bottom:5%;min-width:130px}
  .leaderboard-heading{align-items:flex-start;flex-direction:column}
  .leaderboard-tabs{justify-content:flex-start}
}
@media(max-width:520px){
  .game-start-cover{width:min(220px,60%);border-radius:14px;box-shadow:0 6px 0 #111}
  .cover-play-button{padding:10px 22px !important;font-size:16px !important}
  .leaderboard-shell{border-radius:20px;box-shadow:0 8px 0 #111}
  .leaderboard-row{grid-template-columns:44px minmax(0,1fr) auto}
}


/* Game 1 V4.2 — square game frame + fixed Game Over controls */
#gameCanvas{
  width:100%;
  height:auto;
  aspect-ratio:1 / 1 !important;
}
.canvas-wrap{
  aspect-ratio:1 / 1;
}
.game-overlay{
  width:100%;
  height:100%;
}
.game-cover-start{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  padding:5%;
}
.game-start-cover{
  width:min(82%,620px) !important;
  max-height:82% !important;
  aspect-ratio:1 / 1;
  object-fit:contain !important;
}
.cover-play-button{
  z-index:4;
  bottom:7%;
}
.game-result-copy{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:18%;
}
.game-result-copy[hidden]{display:none!important}
.game-result-copy h2{
  font:800 clamp(52px,10vw,92px)/.9 "Baloo 2";
  margin:8px 0 12px;
}
.game-result-copy p{
  font-size:clamp(16px,3vw,22px);
}
@media(max-width:520px){
  .game-start-cover{
    width:84% !important;
    max-height:84% !important;
  }
  .cover-play-button{
    bottom:5%;
  }
}


/* Game 1 V4.3 — score submit / qualification modal */
.score-submit-modal{
  position:fixed;inset:0;z-index:9999;
  background:rgba(255,255,255,.94);
  display:flex;align-items:center;justify-content:center;
  padding:18px;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .18s ease;
}
.score-submit-modal.show{opacity:1;visibility:visible;pointer-events:auto}
.score-submit-card{
  width:min(460px,100%);
  border:3px solid #111;border-radius:24px;background:#fff;
  box-shadow:0 9px 0 #111;padding:24px;text-align:center;
}
.score-submit-card>small{
  text-transform:uppercase;letter-spacing:.16em;font-weight:900;font-size:10px;
}
.score-submit-card h2{
  font:800 clamp(36px,8vw,58px)/.95 "Baloo 2";
  margin:9px 0;
}
.submit-score-number{
  font:800 clamp(46px,10vw,76px)/1 "Baloo 2";
  margin:8px 0 4px;
}
.score-submit-card p{color:#555;margin:6px 0 15px}
.submit-name-wrap label{
  display:block;text-align:left;font-size:12px;font-weight:900;margin-bottom:5px
}
.submit-name-wrap input{
  width:100%;border:2px solid #111;border-radius:14px;
  padding:12px 14px;font:800 18px "Nunito";text-transform:uppercase;
}
.score-submit-card button{
  width:100%;border:2px solid #111;border-radius:999px;
  padding:12px 18px;font:800 15px "Nunito";cursor:pointer;margin-top:10px;
  background:#111;color:#fff;
}
.score-submit-card .skip-submit{background:#fff;color:#111}
.submit-result{min-height:20px;margin-top:10px;font-size:13px;font-weight:800}

.nickname-privacy{font-size:10px;font-weight:800;letter-spacing:.06em;color:#777;text-align:left;margin:4px 0 8px;text-transform:uppercase}

.autofill-shield-note{font-size:10px;font-weight:800;letter-spacing:.06em;color:#777;text-align:left;margin:4px 0 8px;text-transform:uppercase}


/* Game 1 v5.1 REBUILD — stable 1:1 frame + iOS rapid-tap handling */
.game-topbar{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.canvas-wrap{
  position:relative!important;
  width:100%!important;
  aspect-ratio:1 / 1!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  flex:none!important;
  contain:layout paint!important;
  touch-action:none!important;
  -ms-touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-tap-highlight-color:transparent!important;
  overscroll-behavior:none;
}
#gameCanvas{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:1 / 1!important;
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
}
.game-overlay,.game-controls,.game-controls button,.cover-play-button{
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  -webkit-tap-highlight-color:transparent!important;
}
@media(max-width:600px){
  .game-topbar{gap:5px;padding:2px 2px 9px}
  .game-topbar>div{min-width:0;gap:2px;flex-direction:column}
  .game-topbar strong{font-size:16px}
  .game-topbar small{font-size:8px}
}


/* Game 1 v5.3 — star power HUD + stronger invincible look */
.invincible-hud{
  position:absolute;
  z-index:20;
  left:50%;
  top:16px;
  transform:translateX(-50%);
  width:min(72%,520px);
  opacity:0;
  pointer-events:none;
  transition:opacity .15s ease;
}
.invincible-hud.show{opacity:1}
.invincible-label{
  text-align:center;
  font:900 12px "Nunito",sans-serif;
  letter-spacing:.18em;
  margin-bottom:6px;
  text-shadow:0 2px 0 #fff;
}
.invincible-track{
  height:18px;
  border:3px solid #111;
  border-radius:999px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 4px 0 #111;
}
.invincible-bar{
  width:100%;
  height:100%;
  transform-origin:left center;
  background:linear-gradient(90deg,#ffea66,#ff8ac6,#8fe8ff,#b8ff7b,#ffea66);
  background-size:220% 100%;
  animation:starBarShift .7s linear infinite;
}
@keyframes starBarShift{from{background-position:0 0}to{background-position:220% 0}}

@media(max-width:600px){
  .invincible-hud{top:10px;width:76%}
  .invincible-track{height:15px}
  .invincible-label{font-size:10px}
}


/* Game 1 v5.6 — relaxed inline Game Over */
.game-result-copy .inline-final-score{
  font:1000 clamp(52px,10vw,94px) "Nunito",sans-serif;
  line-height:1;
  letter-spacing:.025em;
  margin:12px 0 14px;
}
.inline-sushi-count{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font:900 clamp(25px,4vw,38px) "Nunito",sans-serif;
  line-height:1;
  margin-bottom:12px;
}
.inline-sushi-count img{
  width:62px;
  height:62px;
  object-fit:contain;
}
.inline-sushi-count strong{font:inherit}
#gameOverlay:not(.hidden) #startButton{
  margin:18px 0 58px;
}
@media(max-width:600px){
  .inline-sushi-count img{width:54px;height:54px}
}

/* Storybook text search — 2026-08-12, stronger discovery UI */
.story-search{
  width:min(920px,100%);
  margin:34px auto 90px;
}
.story-search-box{
  position:relative;
  overflow:hidden;
  border:3px solid #111;
  border-radius:24px;
  background:linear-gradient(180deg,#fff6f7 0,#fff 108px);
  padding:24px;
  box-shadow:0 10px 0 #111;
}
.story-search-box::before{
  content:"SEARCH THE STORYBOOK";
  display:inline-block;
  margin-bottom:8px;
  padding:5px 10px 4px;
  border:2px solid #111;
  border-radius:999px;
  background:#111;
  color:#fff;
  font:900 10px "Nunito",sans-serif;
  letter-spacing:.14em;
}
.story-search-box label{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 13px;
  font:800 27px "Baloo 2";
  line-height:1;
  letter-spacing:-.02em;
}
.story-search-box label strong{font:inherit}
.story-search-box label span{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:2px solid #111;
  border-radius:50%;
  background:#fff;
  font-size:24px;
  line-height:1;
}
.story-search-row{display:grid;grid-template-columns:1fr auto;gap:10px}
.story-search-row input{
  width:100%;
  min-width:0;
  height:58px;
  border:3px solid #111;
  border-radius:16px;
  background:#fff;
  color:#111;
  padding:0 20px;
  font:700 17px "Nunito",sans-serif;
  outline:none;
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.05);
}
.story-search-row input::placeholder{color:#888;opacity:1}
.story-search-row input:focus{box-shadow:0 0 0 5px rgba(245,142,150,.28)}
.story-search-row button{
  height:58px;
  min-width:92px;
  padding:0 20px;
  border:3px solid #111;
  border-radius:16px;
  background:#111;
  color:#fff;
  font:900 14px "Nunito",sans-serif;
  cursor:pointer;
}
.story-search-row button:hover{transform:translateY(-1px)}
.story-search-box>p{margin:11px 4px 0;color:#686868;font-size:13px;font-weight:700}
.story-search-results{
  margin-top:20px;
  border-top:2px dashed #cfc8c5;
  padding-top:15px;
}
.story-search-count{
  margin:0 2px 10px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#777;
}
.story-search-result{
  width:100%;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:13px;
  align-items:center;
  text-align:left;
  border:2px solid #ddd7d3;
  border-radius:16px;
  background:#fff;
  color:#111;
  padding:14px 15px;
  margin:0 0 9px;
  cursor:pointer;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease;
}
.story-search-result:last-child{margin-bottom:0}
.story-search-result:hover,.story-search-result:focus-visible{
  transform:translateY(-1px);
  border-color:#111;
  box-shadow:0 4px 0 #111;
  outline:none;
}
.story-search-number{
  min-width:60px;
  padding:5px 8px 4px;
  border:1.5px solid #bbb;
  border-radius:999px;
  text-align:center;
  font:900 10px "Nunito",sans-serif;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#777;
  background:#fafafa;
}
.story-search-text strong{
  display:block;
  font:800 24px "Baloo 2";
  line-height:1.05;
  letter-spacing:-.015em;
}
.story-search-text span{
  display:block;
  margin-top:5px;
  color:#777;
  font:600 12.5px/1.42 "Nunito",sans-serif;
}
.story-search-arrow{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border:2px solid #111;
  border-radius:50%;
  font-size:18px;
  font-weight:900;
  line-height:1;
}
.story-search-empty{margin:4px;padding:13px 2px;color:#666;font-weight:700}
@media(max-width:800px){
  .story-search{margin:30px auto 110px}
  .story-search-box{padding:18px;border-radius:20px;box-shadow:0 7px 0 #111}
  .story-search-box::before{font-size:9px}
  .story-search-box label{font-size:24px}
  .story-search-row{grid-template-columns:1fr}
  .story-search-row input{height:56px}
  .story-search-row button{width:100%;height:52px}
  .story-search-result{grid-template-columns:1fr auto;padding:14px}
  .story-search-number{grid-column:1 / 2;justify-self:start}
  .story-search-text{grid-column:1 / 2}
  .story-search-text strong{font-size:22px}
  .story-search-text span{font-size:12px}
  .story-search-arrow{grid-column:2;grid-row:1 / span 2}
}


/* Storybook listen / audiobook controls — 2026-08-12 */
.story-listen{
  width:min(760px,100%);
  margin:24px auto 12px;
  padding:16px 18px;
  border:2px solid #111;
  border-radius:22px;
  background:#fff;
  box-shadow:0 6px 0 #111;
}
.story-listen-head{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}
.story-listen-icon{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:grid;
  place-items:center;
  border:2px solid #111;
  border-radius:50%;
  background:#fff4f5;
  font-size:20px;
}
.story-listen-head>div{min-width:0;display:flex;flex-direction:column}
.story-listen-head strong{font:800 24px/1 "Baloo 2";letter-spacing:-.03em}
.story-listen-head span:last-child{margin-top:3px;color:#666;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.story-listen-controls{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:9px}
.story-listen-controls button{
  min-height:48px;
  border:2px solid #111;
  border-radius:999px;
  background:#fff;
  color:#111;
  font:800 14px "Nunito",sans-serif;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.story-listen-controls #storyListenBtn:not(:disabled){background:#111;color:#fff}
.story-listen-controls button:disabled{opacity:.35;cursor:default}
.story-listen-controls button:not(:disabled):active{transform:translateY(1px)}
.story-listen-status{margin:9px 2px 0;color:#777;font-size:11px;font-weight:700;text-align:center}
.story-listen.unsupported .story-listen-controls{display:none}
.story-listen.unsupported .story-listen-status{color:#8b4248;font-weight:800}

@media(max-width:800px){
  .story-listen{
    width:100%;
    margin:16px auto 22px;
    padding:12px;
    border-radius:18px;
    box-shadow:0 5px 0 #111;
  }
  .story-listen-head{gap:9px;margin-bottom:10px}
  .story-listen-icon{width:38px;height:38px;flex-basis:38px;font-size:17px}
  .story-listen-head strong{font-size:20px}
  .story-listen-head span:last-child{font-size:11px}
  .story-listen-controls{grid-template-columns:1.35fr 1fr 1fr;gap:6px}
  .story-listen-controls button{min-width:0;min-height:48px;padding:0 8px;font-size:12px}
  .story-listen-status{font-size:10px;line-height:1.25}
}

@media(max-width:380px){
  .story-listen-controls button span{display:none}
  .story-listen-controls button{font-size:17px}
  .story-listen-controls{grid-template-columns:repeat(3,1fr)}
}

/* Talk to mono — cloud UI / clean style, homepage */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.mono-chat-launcher{
  position:fixed;
  right:max(16px,env(safe-area-inset-right));
  bottom:max(16px,calc(env(safe-area-inset-bottom) + 10px));
  z-index:80;
  width:148px;
  height:auto;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  display:block;
  line-height:0;
  box-shadow:none;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  animation:monoChatFloat 3.35s ease-in-out infinite;
  transform-origin:center center;
}
.mono-chat-launcher>img{display:block;width:100%;height:auto;filter:drop-shadow(0 9px 13px rgba(58,58,58,.13));pointer-events:none}
.mono-chat-launcher:active{animation-play-state:paused;transform:translateY(3px) scale(.98)}
@keyframes monoChatFloat{0%,100%{transform:translateY(5px)}50%{transform:translateY(-14px)}}

body.mono-chat-open{overflow:hidden;overscroll-behavior:none;}
body.mono-chat-open .mono-chat-launcher{opacity:0;visibility:hidden;pointer-events:none;}
.mono-chat-guard[hidden]{display:none!important}
.mono-chat-guard{
  position:fixed;
  inset:0;
  z-index:80;
  background:rgba(255,255,255,.001);
  touch-action:none;
  overscroll-behavior:none;
  -webkit-user-select:none;
  user-select:none;
}
.mono-chat-panel[hidden]{display:none!important}
.mono-chat-panel{
  position:fixed;
  right:max(14px,env(safe-area-inset-right));
  bottom:max(14px,calc(env(safe-area-inset-bottom) + 8px));
  z-index:81;
  width:min(420px,calc(100vw - 24px));
  aspect-ratio:2 / 3;
  height:auto;
  max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 12px);
  box-sizing:border-box;
  padding:clamp(24px,6.2%,32px) clamp(25px,6.5%,34px) clamp(28px,7%,38px);
  border:0;
  border-radius:0;
  background:transparent url("assets/talk/Talk-background.png") center/100% 100% no-repeat;
  filter:drop-shadow(0 17px 26px rgba(65,71,78,.14));
  overflow:hidden;
  display:grid;
  grid-template-rows:auto auto minmax(0,1fr) auto auto;
  opacity:0;
  transform:translateY(12px) scale(.985);
  transform-origin:bottom right;
  transition:opacity .16s ease,transform .16s ease;
  touch-action:manipulation;
  -webkit-text-size-adjust:100%;
}
.mono-chat-panel.open{opacity:1;transform:translateY(0) scale(1)}
.mono-chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px 8px;border:0;background:transparent}
.mono-chat-head-id{display:flex;align-items:center;gap:10px;min-width:0}
.mono-chat-head-avatar{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;overflow:hidden;border:0;border-radius:50%;background:transparent}
.mono-chat-head-avatar img{width:54px;height:54px;object-fit:cover;object-position:center 28%;transform:scale(1.06)}
.mono-chat-head-id>div{min-width:0;display:flex;flex-direction:column}
.mono-chat-head-id strong{color:#4e4e4e;font:800 25px/.95 "Baloo 2";letter-spacing:-.03em}
.mono-chat-head-id small{margin-top:4px;color:#8a8a8a;font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mono-chat-close{width:36px;height:36px;flex:0 0 36px;border:0;border-radius:50%;background:rgba(239,239,239,.9);color:#707070;font:800 23px/1 "Nunito";cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:inset 0 0 0 1px rgba(110,110,110,.06)}
.mono-chat-close:active{background:#e7e7e7}
.mono-chat-notice{padding:0 5px 8px;border:0;background:transparent;color:#9a9a9a;font-size:9px;font-weight:800;letter-spacing:.025em;text-align:center}
.mono-chat-log{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:8px 2px 7px;background:transparent;scrollbar-width:thin;touch-action:pan-y}
.mono-chat-log::-webkit-scrollbar{width:4px}.mono-chat-log::-webkit-scrollbar-thumb{background:#ddd;border-radius:99px}
.mono-chat-message{display:flex;gap:8px;align-items:flex-end;margin:0 0 10px}
.mono-chat-message.user{justify-content:flex-end;padding-left:48px}
.mono-chat-message.mono{padding-right:26px}
.mono-chat-avatar{width:31px;height:31px;flex:0 0 31px;border:0;border-radius:50%;object-fit:cover;object-position:center 28%;background:transparent}
.mono-chat-bubble{max-width:100%;padding:10px 13px;border:0;border-radius:18px 18px 18px 7px;background:rgba(241,241,241,.94);color:#555;font:700 13px/1.42 "Nunito",sans-serif;word-break:break-word;box-shadow:inset 0 0 0 1px rgba(100,100,100,.035)}
.mono-chat-message.user .mono-chat-bubble{border-radius:18px 18px 7px 18px;background:rgba(226,226,226,.96);color:#4c4c4c}
.mono-chat-typing{height:37px;display:flex;align-items:center;gap:4px;padding-inline:13px}
.mono-chat-typing i{width:5px;height:5px;border-radius:50%;background:#999;animation:monoTyping 1s ease-in-out infinite}
.mono-chat-typing i:nth-child(2){animation-delay:.12s}.mono-chat-typing i:nth-child(3){animation-delay:.24s}
@keyframes monoTyping{0%,70%,100%{transform:translateY(0);opacity:.45}35%{transform:translateY(-4px);opacity:1}}
.mono-chat-prompts{display:flex;gap:6px;overflow-x:auto;padding:6px 0 6px;border:0;background:transparent;scrollbar-width:none;touch-action:pan-x}
.mono-chat-prompts::-webkit-scrollbar{display:none}
.mono-chat-prompts button{flex:0 0 auto;border:0;border-radius:999px;background:rgba(242,242,242,.92);color:#666;padding:7px 10px;font:800 10px "Nunito",sans-serif;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:inset 0 0 0 1px rgba(105,105,105,.05)}
.mono-chat-prompts button:active{background:#e8e8e8}
.mono-chat-form{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:7px;padding:5px 0 0;border:0;background:transparent}
.mono-chat-form input{min-width:0;width:100%;height:44px;border:0;border-radius:999px;padding:0 15px;background:rgba(237,237,237,.96);color:#555;font:700 13px "Nunito",sans-serif;outline:none;-webkit-appearance:none;box-shadow:inset 0 0 0 1px rgba(105,105,105,.055)}
.mono-chat-form input::placeholder{color:#aaa}
.mono-chat-form input:focus{box-shadow:inset 0 0 0 1px #d2d2d2,0 0 0 3px rgba(210,210,210,.25)}
.mono-chat-form button{width:44px;height:44px;border:0;border-radius:50%;background:#656565;color:#fff;font:800 20px/1 "Nunito";cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;box-shadow:0 3px 8px rgba(80,80,80,.10)}
.mono-chat-form button:active{background:#555;transform:translateY(1px)}
.mono-chat-form.waiting button{opacity:.4;pointer-events:none}

@media(max-width:800px){
  .mono-chat-launcher{right:max(8px,env(safe-area-inset-right));bottom:max(10px,calc(env(safe-area-inset-bottom) + 5px));width:132px}
  .mono-chat-panel{left:50%;right:auto;bottom:max(2px,env(safe-area-inset-bottom));width:min(430px,100vw);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 4px);padding:clamp(23px,6%,29px) clamp(24px,6.4%,31px) clamp(27px,7%,34px);transform:translateX(-50%) translateY(10px) scale(.985);transform-origin:center bottom}
  .mono-chat-panel.open{transform:translateX(-50%) translateY(0) scale(1)}
  .mono-chat-log{padding:7px 1px 6px}.mono-chat-bubble{font-size:13px}.mono-chat-message.mono{padding-right:18px}.mono-chat-message.user{padding-left:34px}
  .mono-chat-head-avatar{width:47px;height:47px;flex-basis:47px}.mono-chat-head-avatar img{width:51px;height:51px}
  /* iPhone Safari: 16px prevents focus auto-zoom in the chat field. */
  .mono-chat-form input{font-size:16px;line-height:1}
}

@media(max-width:390px){
  .mono-chat-launcher{width:120px;right:max(6px,env(safe-area-inset-right))}
  .mono-chat-panel{width:100vw;padding:22px 23px 27px}
  .mono-chat-head-id small{max-width:175px}
  .mono-chat-head-id strong{font-size:23px}
  .mono-chat-bubble{font-size:12.5px}
}

@media(max-height:620px) and (orientation:landscape){
  .mono-chat-panel{width:min(66.6667dvh,calc(100vw - 8px));}
}

/* iPhone keyboard mode — keep the chat inside the visible viewport instead of
   letting Safari scroll the page/panel behind the on-screen keyboard.
   The normal closed-keyboard panel remains 2:3; only the temporary typing
   state uses the available visual-viewport height. */
@media(max-width:800px){
  body.mono-chat-keyboard .mono-chat-panel{
    top:calc(var(--mono-vv-top, 0px) + 2px);
    bottom:auto;
    left:50%;
    right:auto;
    width:min(100vw,430px);
    height:calc(var(--mono-vv-height, 100dvh) - 4px);
    max-height:none;
    aspect-ratio:auto;
    padding:16px 23px 12px;
    transform:translateX(-50%) scale(1);
    transform-origin:center center;
  }
  body.mono-chat-keyboard .mono-chat-panel.open{transform:translateX(-50%) scale(1)}
  body.mono-chat-keyboard .mono-chat-head{padding-bottom:4px}
  body.mono-chat-keyboard .mono-chat-head-avatar{width:38px;height:38px;flex-basis:38px}
  body.mono-chat-keyboard .mono-chat-head-avatar img{width:42px;height:42px}
  body.mono-chat-keyboard .mono-chat-head-id strong{font-size:21px}
  body.mono-chat-keyboard .mono-chat-head-id small{font-size:9px;margin-top:2px}
  body.mono-chat-keyboard .mono-chat-notice{padding-bottom:4px;font-size:8px}
  body.mono-chat-keyboard .mono-chat-log{padding-top:4px;padding-bottom:3px}
  body.mono-chat-keyboard .mono-chat-prompts{padding:3px 0}
  body.mono-chat-keyboard .mono-chat-prompts button{padding:6px 9px;font-size:9.5px}
  body.mono-chat-keyboard .mono-chat-form{padding-top:3px}
}

@media(prefers-reduced-motion:reduce){.mono-chat-launcher{animation:none}.mono-chat-panel{transition:none}.mono-chat-typing i{animation:none}}

/* Storybook long-copy fit — Master 29 */
@media (min-width:801px){
  .right-paper{
    display:flex;
    align-items:flex-start;
    justify-content:center;
  }
  .story-copy{
    width:100%;
    max-width:520px;
    padding:clamp(30px,3.4vw,50px) clamp(28px,3.6vw,54px) clamp(24px,3vw,44px);
  }
  .story-copy small{
    display:block;
    margin:0 0 6px;
    font-size:clamp(9px,.72vw,11px);
    line-height:1;
  }
  .story-copy h2{
    font:800 clamp(42px,4.7vw,72px)/.9 "Baloo 2";
    margin:4px 0 clamp(12px,1.25vw,18px);
  }
  .story-copy p{
    margin:0 0 clamp(8px,.8vw,12px);
    font-size:clamp(13px,1.05vw,16px);
    line-height:1.52;
  }
  .story-copy p:last-of-type{margin-bottom:0}
  .story-copy strong{
    margin-top:clamp(14px,1.25vw,20px);
    padding-left:14px;
    font:700 clamp(18px,1.65vw,22px)/1.15 "Baloo 2";
  }
}

/* Storybook scrub navigation — Master 33 */
.story{touch-action:manipulation}
.bookwrap-real{display:block;grid-template-columns:1fr}
.story-page-indicator{margin:22px auto 10px;max-width:900px;padding:0 6px}
.story-page-indicator>span{display:block;margin-bottom:10px;font:800 18px/1.1 "Baloo 2";letter-spacing:.01em}
.story-scrub-wrap{width:100%;padding:4px 0}
#pageScrubber{
  --story-progress:0%;
  width:100%;height:30px;margin:0;
  appearance:none;-webkit-appearance:none;background:transparent;
  touch-action:pan-x;cursor:pointer;
}
#pageScrubber::-webkit-slider-runnable-track{
  height:7px;border-radius:999px;
  background:linear-gradient(90deg,#111 0 var(--story-progress),#d7d7d7 var(--story-progress) 100%);
}
#pageScrubber::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;
  width:24px;height:24px;border:2px solid #111;border-radius:50%;background:#fff;
  margin-top:-8.5px;box-shadow:0 2px 0 rgba(0,0,0,.12)
}
#pageScrubber::-moz-range-track{height:7px;border-radius:999px;background:#d7d7d7}
#pageScrubber::-moz-range-progress{height:7px;border-radius:999px;background:#111}
#pageScrubber::-moz-range-thumb{width:22px;height:22px;border:2px solid #111;border-radius:50%;background:#fff}
.story-nav-controls{
  width:min(520px,100%);margin:0 auto 18px;
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0 4px;
}
.story-nav-controls button{
  min-height:48px;border:2px solid #111;border-radius:999px;background:#fff;color:#111;
  font:800 18px/1 "Baloo 2";letter-spacing:-.02em;touch-action:manipulation;
}
.story-nav-controls button:active:not(:disabled){transform:translateY(1px);background:#f2f2f2}
.story-nav-controls button:disabled{opacity:.28}

@media(max-width:800px){
  .bookwrap-real{display:block;width:100%}
  .story-page-indicator{margin-top:16px;padding:0 8px}
  .story-page-indicator>span{font-size:17px;margin-bottom:7px}
  #pageScrubber{height:34px}
  .story-nav-controls{width:100%;gap:8px;margin:0 auto 14px;padding:0 8px}
  .story-nav-controls .prev,
  .story-nav-controls .next,
  .story-nav-controls .jump-prev,
  .story-nav-controls .jump-next{
    position:static;left:auto;right:auto;bottom:auto;z-index:auto;
    width:auto;height:auto;min-height:50px;
    font-size:19px;
  }
}

/* Story book series library — Preview after Master10 */
.story-library{padding-bottom:70px}
.story-library-title{padding-bottom:34px}
.story-library-title h1{font-size:clamp(68px,9vw,124px)}
.story-series-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
  max-width:1080px;
  margin:0 auto;
}
.story-series-card{
  position:relative;
  display:grid;
  grid-template-rows:auto auto;
  gap:0;
  padding:14px;
  border:2px solid #111;
  border-radius:26px;
  background:#fff;
  overflow:hidden;
  transition:transform .18s ease,box-shadow .18s ease;
}
.story-series-card:hover{transform:translateY(-4px);box-shadow:0 8px 0 #111}
.story-series-number{
  position:absolute;
  top:28px;
  left:28px;
  z-index:2;
  display:grid;
  place-items:center;
  min-width:58px;
  height:38px;
  padding:0 12px;
  border:2px solid #111;
  border-radius:999px;
  background:#fff;
  font:800 18px/1 "Baloo 2";
}
.story-series-cover{
  aspect-ratio:1/1;
  display:block;
  overflow:hidden;
  border:1.5px solid #111;
  border-radius:18px;
  background:#f7f7f7;
}
.story-series-cover img{width:100%;height:100%;object-fit:cover;display:block}
.story-series-info{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:23px 74px 18px 10px;
}
.story-series-info small{
  text-transform:uppercase;
  letter-spacing:.15em;
  font-size:11px;
  font-weight:800;
}
.story-series-info strong{
  font:800 clamp(31px,4vw,46px)/.95 "Baloo 2";
  letter-spacing:-.045em;
}
.story-series-info>span{font-size:14px;line-height:1.45;color:#555}
.story-series-arrow{
  position:absolute;
  right:27px;
  bottom:28px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:2px solid #111;
  border-radius:50%;
  background:#fff;
  font-size:24px;
  font-weight:800;
}
.story-library-note{
  max-width:1080px;
  margin:26px auto 0;
  text-align:center;
  color:#777;
  font-size:13px;
  font-weight:700;
}
@media(max-width:800px){
  .story-library-title{padding:56px 0 28px}
  .story-library-title h1{font-size:clamp(58px,18vw,90px)}
  .story-series-grid{grid-template-columns:1fr;gap:24px}
  .story-series-card{padding:10px;border-radius:22px}
  .story-series-number{top:22px;left:22px;min-width:54px;height:36px;font-size:17px}
  .story-series-cover{border-radius:15px}
  .story-series-info{padding:20px 68px 16px 8px}
  .story-series-info strong{font-size:38px}
  .story-series-arrow{right:21px;bottom:23px;width:46px;height:46px}
  .story-library-note{margin-top:20px}
}


/* Story book UI cleanup — remove cover number badges and replace emoji with symbol icons */
.story-series-number{display:none!important}
.story-series-arrow{font-size:0;position:absolute;overflow:hidden}
.story-series-arrow::before{
  content:"";
  position:absolute;
  width:13px;height:13px;
  border-top:2.5px solid #111;
  border-right:2.5px solid #111;
  top:13px;left:15px;
}
.story-series-arrow::after{
  content:"";
  position:absolute;
  width:16px;height:2.5px;
  background:#111;
  top:27px;left:12px;
  transform:rotate(-45deg);
  transform-origin:left center;
  border-radius:99px;
}
.story-listen-head strong{letter-spacing:-.02em}
.story-listen-icon{position:relative;font-size:0}
.story-icon-audio::before{
  content:"";
  position:absolute;
  left:9px;top:12px;
  width:14px;height:16px;
  background:#111;
  clip-path:polygon(0 35%,33% 35%,75% 0,75% 100%,33% 65%,0 65%);
}
.story-icon-audio::after{
  content:"";
  position:absolute;
  left:24px;top:10px;
  width:8px;height:20px;
  border-right:2px solid #111;
  border-top:2px solid #111;
  border-bottom:2px solid #111;
  border-left:none;
  border-radius:0 16px 16px 0;
}
.story-listen-controls button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.ui-icon{position:relative;display:inline-block;flex:0 0 auto;color:currentColor}
.ui-icon-play{width:14px;height:14px}
.ui-icon-play::before{
  content:"";
  position:absolute;left:2px;top:0;
  width:0;height:0;
  border-top:7px solid transparent;
  border-bottom:7px solid transparent;
  border-left:11px solid currentColor;
}
.ui-icon-pause{width:14px;height:14px}
.ui-icon-pause::before{
  content:"";
  position:absolute;inset:1px 1px;
  background:linear-gradient(90deg,currentColor 0 34%,transparent 34% 66%,currentColor 66% 100%);
  border-radius:1px;
}
.ui-icon-stop{width:14px;height:14px}
.ui-icon-stop::before{
  content:"";
  position:absolute;left:1px;top:1px;
  width:12px;height:12px;
  background:currentColor;
  border-radius:2px;
}
@media(max-width:800px){
  .story-series-info{padding-right:68px}
  .story-series-arrow::before{top:12px;left:14px;width:12px;height:12px}
  .story-series-arrow::after{top:26px;left:11px;width:15px}
}


/* Homepage footer social links — Master12 preview */
.site-footer{align-items:flex-end}
.site-footer-brand p{margin:5px 0 0}
.site-footer-meta{display:flex;align-items:center;gap:18px;margin-left:auto}
.site-footer-meta small{font-size:12px;font-weight:700;color:#666;white-space:nowrap}
.social-links{display:flex;align-items:center;gap:9px}
.social-links a{
  width:42px;height:42px;
  display:grid;place-items:center;
  border:2px solid #111;border-radius:50%;
  background:#fff;color:#111;
  transition:transform .15s ease,background .15s ease,color .15s ease;
}
.social-links svg{width:18px;height:18px;fill:currentColor}
.social-links a:hover{transform:translateY(-2px);background:#111;color:#fff}
.social-links a:focus-visible{outline:3px solid #111;outline-offset:3px}
@media(max-width:800px){
  .site-footer{align-items:flex-start}
  .site-footer-meta{width:100%;margin-left:0;justify-content:space-between;gap:14px}
  .site-footer-meta small{white-space:normal;line-height:1.4}
  .social-links{position:static;display:flex;background:transparent;border:0;padding:0;flex-direction:row;gap:8px}

  /* iPhone / mobile homepage: keep footer socials clear of the fixed Talk to mono launcher. */
  .mono-chat-launcher ~ .site-footer{
    padding-bottom:calc(154px + env(safe-area-inset-bottom));
  }
  .mono-chat-launcher ~ .site-footer .site-footer-meta{
    justify-content:flex-start;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .mono-chat-launcher ~ .site-footer .social-links{
    gap:10px;
  }
}


/* Game 1 v6.1 — highlight persistent all-time Sushi Bank */
.sushi-bank-banner{
  width:min(580px,100%);
  margin:0 auto 18px;
}
.sushi-bank-card{
  border:2px solid #111;
  border-radius:24px;
  background:#fff7ea;
  box-shadow:0 10px 0 #111;
  padding:12px 18px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  text-align:center;
}
.sushi-bank-card .tiny-label{
  display:block;
  color:#6a5440;
  white-space:nowrap;
}
.sushi-bank-count{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font:1000 clamp(28px,4.6vw,42px)/1 "Baloo 2",sans-serif;
  color:#111;
}
.sushi-bank-count img{
  width:58px;
  height:58px;
  object-fit:contain;
  image-rendering:pixelated;
}
.sushi-bank-count strong{
  font:inherit;
  font-variant-numeric:tabular-nums;
}
.game-page .game-topbar{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
.game-page .game-topbar>div{
  justify-content:center;
  text-align:center!important;
}
.game-page .game-topbar>div:first-child{justify-content:flex-start;text-align:left!important}
.game-page .game-topbar>div:last-child{justify-content:flex-end;text-align:right!important}
.game-added-sushi{
  margin:8px 0 2px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.game-added-sushi .tiny-label{color:#6a5440}
.game-added-sushi-count{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font:900 clamp(22px,3.5vw,30px)/1 "Nunito",sans-serif;
}
.game-added-sushi-count img{
  width:40px;
  height:40px;
  object-fit:contain;
  image-rendering:pixelated;
}
.game-added-sushi-count strong{font:inherit}
@media(max-width:600px){
  .sushi-bank-banner{margin-bottom:14px}
  .sushi-bank-card{padding:10px 12px 12px;gap:10px;border-radius:20px;box-shadow:0 8px 0 #111}
  .sushi-bank-count{font-size:30px;gap:8px}
  .sushi-bank-count img{width:44px;height:44px}
  .game-page .game-topbar{gap:3px;padding:2px 0 9px}
  .game-page .game-topbar>div{gap:1px;align-items:center}
  .game-page .game-topbar strong{font-size:16px;line-height:1}
  .game-page .game-topbar small{font-size:8px;letter-spacing:.08em;white-space:nowrap}
  .game-added-sushi-count img{width:34px;height:34px}
}
@media(max-width:400px){
  .sushi-bank-card{flex-direction:column;gap:4px}
}
@media(max-width:360px){
  .game-page .game-topbar strong{font-size:14px}
  .game-page .game-topbar small{font-size:6.5px;letter-spacing:.05em}
}


/* Game 1 v6.2 — stronger Sushi Bank emphasis */
.sushi-bank-banner{width:min(680px,100%);margin:-6px auto 24px}
.sushi-bank-card{
  min-height:94px;
  border:3px solid #111;
  border-radius:26px;
  background:#fff;
  box-shadow:0 11px 0 #111;
  padding:14px 22px;
}
.sushi-bank-card .tiny-label{
  font-size:12px;
  letter-spacing:.18em;
  color:#111;
}
.sushi-bank-count{font-size:clamp(34px,5vw,50px);gap:12px}
.sushi-bank-count img{width:68px;height:68px}
.game-added-sushi{
  min-width:230px;
  margin:12px auto 4px;
  padding:10px 20px 12px;
  border:2px solid #111;
  border-radius:18px;
  background:#fff7ea;
}
.game-added-sushi .tiny-label{font-size:11px;color:#111;letter-spacing:.16em}
.game-added-sushi-count{font-size:clamp(25px,4vw,34px);gap:9px}
.game-added-sushi-count img{width:46px;height:46px}
@media(max-width:600px){
  .sushi-bank-banner{margin:-4px auto 20px}
  .sushi-bank-card{min-height:86px;padding:10px 14px;border-radius:22px;box-shadow:0 8px 0 #111}
  .sushi-bank-card .tiny-label{font-size:10px}
  .sushi-bank-count{font-size:34px}
  .sushi-bank-count img{width:54px;height:54px}
  .game-added-sushi{min-width:205px;padding:9px 16px 10px}
  .game-added-sushi-count img{width:39px;height:39px}
}


/* Game 1 v6.3 — Sushi Bank locked inside game shell for reliable mobile display */
.game-page .game-shell>.sushi-bank-card{
  width:100%;
  min-height:92px;
  margin:0 0 18px;
  padding:12px 18px;
  border:3px solid #111;
  border-radius:20px;
  background:#fff7ea;
  box-shadow:0 7px 0 #111;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:center;
  column-gap:0;
}
.game-page .game-shell>.sushi-bank-card .sushi-wallet-stat{
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
}
.game-page .game-shell>.sushi-bank-card .tiny-label{
  font-size:12px;
  letter-spacing:.18em;
  color:#111;
}
.game-page .game-shell>.sushi-bank-card .sushi-bank-count{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  font:1000 42px/1 "Baloo 2",sans-serif;
}
.game-page .game-shell>.sushi-bank-card .sushi-bank-count img{
  width:58px;
  height:58px;
  object-fit:contain;
  image-rendering:pixelated;
}
.game-added-label{
  margin:5px 0 3px;
  padding:5px 13px 4px;
  border:2px solid #111;
  border-radius:999px;
  background:#fff7ea;
  font:900 11px/1 "Nunito",sans-serif;
  letter-spacing:.16em;
}
.game-result-copy .game-added-count{
  margin-top:3px;
  margin-bottom:12px;
}
@media(max-width:600px){
  .game-page .game-shell>.sushi-bank-card{
    min-height:84px;
    margin-bottom:14px;
    padding:9px 12px;
    border-radius:17px;
    box-shadow:0 6px 0 #111;
    grid-template-columns:minmax(0,1fr);
  }
  .game-page .game-shell>.sushi-bank-card .tiny-label{font-size:9px}
  .game-page .game-shell>.sushi-bank-card .sushi-bank-count{font-size:27px;gap:5px}
  .game-page .game-shell>.sushi-bank-card .sushi-bank-count img{width:38px;height:38px}
  .game-added-label{font-size:9px;padding:4px 10px 3px}
  .game-result-copy .game-added-count{margin-top:2px;margin-bottom:9px}
}

/* Music V2 — larger tool cover */
.music-hub-page .game-library .library-card.available{
  min-height:390px;
  grid-template-columns:88px clamp(230px,28vw,330px) minmax(0,1fr) 62px;
}
.music-hub-page .game-library .library-card.available .library-cover{
  width:clamp(230px,28vw,330px);
}
@media(max-width:760px){
  .music-hub-page .game-library .library-card.available{
    min-height:330px;
    grid-template-columns:62px 160px minmax(0,1fr);
  }
  .music-hub-page .game-library .library-card.available .library-cover{width:160px}
}
@media(max-width:520px){
  .music-hub-page .game-library .library-card.available{
    min-height:300px;
    grid-template-columns:52px 138px minmax(0,1fr);
  }
  .music-hub-page .game-library .library-card.available .library-cover{width:138px}
}

/* Art language introductions — quiet links inside the original art panel */
.colorbook-card>.art-card-shell{
  min-height:455px;
  padding:0;
  border:2px solid #111;
  border-radius:28px;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fafafa;
  transition:transform .2s ease,box-shadow .2s ease;
}
.colorbook-card>.art-card-shell:hover{transform:translateY(-4px);box-shadow:0 8px 0 #111}
.colorbook-card>.art-card-shell>.art-card-copy{
  padding:clamp(30px,6vw,72px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
}
.art-primary-copy{display:block}
.art-primary-copy small{display:block}
.art-primary-copy h2{margin:10px 0 18px}
.art-primary-copy p{margin:0}
.art-card-image{display:block;min-width:0}
.art-card-image img{height:100%;object-fit:cover}
.art-language-window{
  display:flex;
  position:static;
  flex-wrap:wrap;
  flex-direction:row;
  align-items:center;
  gap:6px 0;
  width:auto;
  margin:17px 66px 0 0;
  padding:0;
  inset:auto;
  z-index:auto;
  border:0;
  border-radius:0;
  background:transparent;
}
.art-language-window a{
  padding:0;
  color:#8b8883;
  font-size:11px;
  font-weight:700;
  line-height:1.4;
  white-space:nowrap;
}
.art-language-window a+a::before{
  content:"·";
  display:inline-block;
  margin:0 9px;
  color:#bbb8b2;
}
.art-language-window a:hover{color:#111;text-decoration:underline;text-underline-offset:3px}

.art-intro-main{width:min(840px,calc(100% - 40px));margin:auto}
.art-intro-title{padding:70px 0 30px;text-align:left}
.art-intro-title h1{font-size:clamp(52px,8vw,92px)}
.art-intro-title p{margin:18px 0 0;color:#686560}
.art-intro-language-switch{
  display:flex;
  position:static;
  flex-wrap:wrap;
  flex-direction:row;
  align-items:center;
  gap:8px 0;
  margin:0 0 20px;
  padding:0;
  inset:auto;
  width:auto;
  border:0;
  border-radius:0;
  background:transparent;
  z-index:auto;
  color:#77736e;
  font-size:13px;
}
.art-intro-language-switch a{color:#77736e;font-weight:700}
.art-intro-language-switch a+a::before{content:"·";display:inline-block;margin:0 12px;color:#bbb8b2}
.art-intro-language-switch a[aria-current="page"]{color:#77736e;font-weight:700;text-decoration:none}
.art-language-card{
  padding:clamp(28px,6vw,62px);
  border:2px solid #111;
  border-radius:28px;
  background:#fff;
}
.art-language-card small{font-weight:800;letter-spacing:.12em}
.art-language-card h2{font:800 clamp(36px,5vw,58px)/1.02 "Baloo 2",sans-serif;letter-spacing:-.035em;margin:12px 0 20px}
.art-language-card p{font-size:18px;line-height:1.75;margin:0}
.art-intro-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.art-intro-actions a{padding:11px 15px;border:2px solid #111;border-radius:999px;background:#fff;font-weight:800}
.art-intro-actions a:hover{background:#111;color:#fff}
.art-language-chooser{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.art-language-chooser a{padding:18px;border:2px solid #111;border-radius:16px;background:#fff;font-weight:800;text-align:center}
.art-language-chooser a:hover{background:#111;color:#fff}
@media(max-width:600px){
  .art-intro-main{width:calc(100% - 24px)}
  .art-intro-title{padding:54px 0 24px}
  .art-intro-title h1{font-size:clamp(46px,13vw,68px)}
  .art-intro-page .art-intro-language-switch{
    display:flex;
    position:static;
    flex-direction:row;
    flex-wrap:wrap;
    gap:8px 0;
    margin:0 0 18px;
    padding:0;
    inset:auto;
    width:auto;
    border:0;
    border-radius:0;
    background:transparent;
    z-index:auto;
  }
  .art-language-card{padding:28px 24px}
  .art-language-card h2{font-size:clamp(34px,10vw,48px)}
  .art-language-card p{font-size:16px;line-height:1.7}
  .art-intro-actions{display:grid}
  .art-intro-actions a{text-align:center}
  .art-language-chooser{grid-template-columns:1fr}
}
@media(max-width:800px){
  .colorbook-card>.art-card-shell{grid-template-columns:1fr}
  .colorbook-card>.art-card-shell>.art-card-copy{min-height:340px}
  .art-card-copy>.art-language-window{
    display:flex;
    position:static;
    flex-direction:row;
    flex-wrap:wrap;
    gap:6px 0;
    margin:14px 58px 0 0;
    padding:0;
    inset:auto;
    width:auto;
    border:0;
    border-radius:0;
    background:transparent;
    z-index:auto;
  }
  .art-card-image img{min-height:320px}
}
