*{box-sizing:border-box} :root{color-scheme:light;--bg:#f5efe7;--panel:rgba(255,255,255,.78);--ink:#1d1d1f;--muted:#7c746e;--line:rgba(20,20,20,.09);--shadow:0 18px 50px rgba(63,46,30,.10)}
html,body{margin:0;min-height:100%;background:radial-gradient(circle at 20% 0%,#fff,transparent 34%),linear-gradient(180deg,#faf6f0,#eee5da);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
body{overscroll-behavior:none}button,input{font:inherit}.hidden{display:none!important}.app-shell{width:min(1040px,100%);margin:auto;padding:calc(16px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom))}.topbar{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 14px}.top-actions{display:flex;gap:8px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.17em;color:#8b8177}.topbar h1{font-size:36px;line-height:1;margin:5px 0 0;letter-spacing:-.055em}.icon-btn,.account-btn,.reset-btn,.text-btn,.unlock-small,.social-btn,.primary-btn,.secondary-wide,.link-btn{border:1px solid var(--line);background:rgba(255,255,255,.88);box-shadow:0 6px 18px rgba(40,30,20,.05);cursor:pointer}.icon-btn{width:44px;height:44px;border-radius:50%}.account-btn{height:44px;padding:0 15px;border-radius:999px;font-weight:800;font-size:12px}.stage-card{position:relative;height:min(62vh,600px);min-height:460px;border-radius:32px;overflow:hidden;background:radial-gradient(circle at 50% 12%,rgba(255,255,255,.98),rgba(255,246,236,.78) 37%,rgba(235,219,200,.94) 100%);border:1px solid rgba(255,255,255,.9);box-shadow:var(--shadow)}canvas{width:100%;height:100%;display:block;touch-action:none}.hint{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.75);backdrop-filter:blur(12px);font-size:12px;font-weight:800;color:#756d65;white-space:nowrap;border:1px solid rgba(255,255,255,.72);pointer-events:none}.status-pill{position:absolute;left:18px;top:18px;display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:rgba(255,255,255,.74);backdrop-filter:blur(10px);font-size:12px;font-weight:800;border:1px solid rgba(255,255,255,.75)}.status-dot{width:8px;height:8px;border-radius:50%;background:#91b58d;box-shadow:0 0 0 5px rgba(144,180,141,.12)}.reset-btn{position:absolute;right:18px;top:18px;border-radius:999px;padding:9px 13px;font-size:12px;font-weight:800}.stage-copy{position:absolute;left:20px;bottom:20px;display:grid;gap:4px;padding:14px 16px;border-radius:20px;background:rgba(255,255,255,.7);backdrop-filter:blur(14px);border:1px solid rgba(255,255,255,.72);max-width:250px}.stage-copy strong{font-size:17px}.stage-copy span:last-child{font-size:11px;color:#7e746c}.free-badge{justify-self:start;font-size:9px!important;font-weight:900!important;letter-spacing:.12em;color:#47734d!important;background:#e9f4e9;padding:4px 7px;border-radius:999px}.free-badge.pro{color:#6d5425!important;background:#f3e5bd}.library-card{margin-top:14px;padding:20px;border-radius:26px;background:var(--panel);border:1px solid rgba(255,255,255,.84);box-shadow:0 12px 34px rgba(63,46,30,.07)}.library-head{display:flex;justify-content:space-between;align-items:end;gap:18px}.library-head h2{margin:5px 0 0;font-size:21px;letter-spacing:-.035em}.library-actions{display:flex;gap:8px;align-items:center}.text-btn,.unlock-small{border-radius:999px;padding:10px 13px;font-size:11px;font-weight:850}.text-btn{background:transparent;box-shadow:none}.unlock-small{background:#1d1d1f;color:white}.catalog{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:18px}.squish-card{position:relative;overflow:hidden;border:1px solid var(--line);background:rgba(255,255,255,.82);border-radius:20px;padding:8px 8px 10px;min-width:0;cursor:pointer;transition:transform .16s,box-shadow .16s,border-color .16s}.squish-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(60,40,30,.08)}.squish-card.active{border-color:rgba(30,30,30,.28);box-shadow:0 10px 28px rgba(60,40,30,.1)}.squish-card canvas{width:100%;height:74px}.card-name{font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-type{font-size:9px;color:#8a817a;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lock-pill{position:absolute;top:8px;right:8px;border-radius:999px;padding:4px 6px;background:rgba(28,28,30,.86);color:white;font-size:8px;font-weight:900;letter-spacing:.08em}.demo-pill{position:absolute;top:8px;left:8px;border-radius:999px;padding:4px 6px;background:rgba(233,244,233,.93);color:#47734d;font-size:8px;font-weight:900;letter-spacing:.08em}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.stat-card{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.7);border:1px solid rgba(255,255,255,.84)}.stat-card span{font-size:19px;font-weight:900;display:block}.stat-card small{font-size:10px;color:#837a73}.toast{position:fixed;z-index:90;left:50%;top:calc(14px + env(safe-area-inset-top));transform:translate(-50%,-120%);opacity:0;padding:11px 15px;border-radius:999px;background:#1d1d1f;color:white;font-size:12px;font-weight:750;transition:.28s;pointer-events:none;max-width:90vw;text-align:center}.toast.show{transform:translate(-50%,0);opacity:1}.modal{position:fixed;inset:0;z-index:80;background:rgba(30,25,22,.36);backdrop-filter:blur(10px);display:grid;place-items:center;padding:18px}.modal-panel{position:relative;width:min(470px,100%);max-height:min(760px,92vh);overflow:auto;background:#fbf8f4;border:1px solid rgba(255,255,255,.88);border-radius:30px;padding:28px;box-shadow:0 30px 80px rgba(30,20,15,.2)}.modal-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:none;border-radius:50%;background:rgba(20,20,20,.06);font-size:24px;cursor:pointer}.modal-panel h2{font-size:29px;letter-spacing:-.05em;margin:7px 0}.modal-panel h3{font-size:20px;margin:15px 0 6px}.modal-intro,.modal-panel p{font-size:13px;line-height:1.55;color:#6f6760}.modal-panel label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#706861;margin-top:12px}.modal-panel input{height:46px;border:1px solid rgba(20,20,20,.11);border-radius:14px;padding:0 13px;background:white;outline:none}.modal-panel input:focus{border-color:rgba(30,30,30,.35);box-shadow:0 0 0 3px rgba(20,20,20,.04)}.primary-btn,.secondary-wide,.social-btn{width:100%;min-height:48px;border-radius:15px;margin-top:10px;font-weight:850}.primary-btn{background:#1d1d1f;color:white}.secondary-wide{background:white}.social-row{display:grid;gap:8px;margin-top:17px}.social-btn.apple{background:#111;color:#fff}.divider{display:flex;align-items:center;gap:10px;color:#aaa;font-size:10px;margin:17px 0 2px}.divider:before,.divider:after{content:"";height:1px;flex:1;background:rgba(20,20,20,.08)}.link-btn{display:block;margin:12px auto 0;border:none;box-shadow:none;background:transparent;text-decoration:underline;font-size:11px;color:#67605b}.form-message{min-height:18px;margin:10px 0 0!important;font-size:11px!important}.form-message.error{color:#a33}.form-message.success{color:#4e7551}.supabase-note{padding:11px 12px;background:#f0ece7;border-radius:13px;color:#625b55!important}.paywall-panel{text-align:center}.paywall-hero{width:110px;height:110px;border-radius:34px;background:radial-gradient(circle at 30% 20%,#fff,#eed7bb);margin:0 auto 16px;display:grid;place-content:center;box-shadow:inset 0 0 0 1px rgba(120,90,60,.08),0 14px 35px rgba(80,55,35,.11)}.paywall-hero span{font-size:38px;font-weight:950;line-height:.9}.paywall-hero small{font-size:9px;margin-top:7px;color:#7e7166}.feature-chips{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:18px 0}.feature-chips span{font-size:10px;font-weight:800;padding:7px 9px;border-radius:999px;background:#eee8e0}.price-row{display:flex;align-items:baseline;justify-content:center;gap:8px;margin:8px 0 5px}.price-row strong{font-size:38px;letter-spacing:-.06em}.price-row span{font-size:11px;color:#80756c}.purchase{font-size:14px}.fineprint{display:block;margin-top:12px;color:#90867f;line-height:1.45}.paywall-panel .form-message{text-align:center}.logged-user{font-size:10px!important;color:#6c645e!important;margin-top:7px!important}
@media(max-width:900px){.catalog{grid-template-columns:repeat(4,1fr)}}@media(max-width:620px){.app-shell{padding-left:10px;padding-right:10px}.stage-card{height:57vh;min-height:430px;border-radius:27px}.catalog{grid-template-columns:repeat(3,1fr)}.library-head{align-items:flex-start;flex-direction:column}.library-actions{width:100%;justify-content:space-between}.unlock-small{margin-left:auto}.stat-grid{grid-template-columns:1fr 1fr}.stat-card:last-child{grid-column:1/-1}.modal-panel{padding:24px 18px;border-radius:25px}.stage-copy{bottom:58px}.hint{bottom:16px}}@media(max-width:380px){.catalog{grid-template-columns:repeat(2,1fr)}}
/* Mobile browsing upgrade */
.stage-nav{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:42px;height:42px;border:1px solid rgba(20,20,20,.08);border-radius:50%;background:rgba(255,255,255,.76);backdrop-filter:blur(12px);box-shadow:0 7px 20px rgba(55,38,27,.09);font-size:26px;line-height:1;color:#4b443f;display:grid;place-items:center;cursor:pointer;transition:transform .16s ease,background .16s ease}.stage-nav:active{transform:translateY(-50%) scale(.92)}.stage-nav.prev{left:14px}.stage-nav.next{right:14px}.mobile-swipe-hint{display:none}.squish-card{touch-action:manipulation}.squish-card:focus-visible{outline:3px solid rgba(34,34,34,.16);outline-offset:2px}

@media(max-width:620px){
  html{scroll-behavior:smooth}
  body{overscroll-behavior-y:auto;-webkit-tap-highlight-color:transparent}
  .app-shell{padding-left:10px;padding-right:10px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  .topbar{padding:2px 3px 10px}.topbar h1{font-size:32px}.icon-btn{width:42px;height:42px}.account-btn{height:42px;max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .stage-card{height:50svh;min-height:360px;max-height:500px;border-radius:27px}
  .stage-copy{left:14px;bottom:52px;padding:11px 13px;border-radius:17px;max-width:min(68vw,240px)}
  .stage-copy strong{font-size:15px}.hint{bottom:13px;font-size:10px;padding:7px 11px}
  .status-pill{left:12px;top:12px;padding:7px 10px;font-size:10px}.reset-btn{right:12px;top:12px;padding:7px 10px;font-size:10px}
  .stage-nav{width:38px;height:38px;font-size:24px;top:46%;opacity:.9}.stage-nav.prev{left:8px}.stage-nav.next{right:8px}
  .library-card{margin-top:10px;padding:14px 0 15px;border-radius:23px;overflow:hidden}
  .library-head{padding:0 14px;align-items:flex-start;flex-direction:column;gap:10px}.library-head h2{font-size:19px;margin-top:3px}
  .library-actions{width:100%;display:grid;grid-template-columns:auto 1fr;gap:8px}.text-btn,.unlock-small{min-height:42px;padding:10px 12px}.unlock-small{width:100%;margin:0;font-size:11px}.text-btn{white-space:nowrap}
  .mobile-swipe-hint{display:flex;align-items:center;justify-content:space-between;padding:13px 15px 7px;color:#8b8177;font-size:10px;font-weight:800;letter-spacing:.03em}.mobile-swipe-hint strong{font-size:10px;color:#5f5751;background:rgba(255,255,255,.72);border:1px solid rgba(20,20,20,.06);padding:5px 8px;border-radius:999px}
  .catalog{display:flex;grid-template-columns:none;gap:9px;margin-top:4px;padding:5px 14px 12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:14px;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y}
  .catalog::-webkit-scrollbar{display:none}
  .squish-card{flex:0 0 118px;width:118px;scroll-snap-align:center;border-radius:19px;padding:7px 7px 10px;min-height:128px;box-shadow:0 6px 16px rgba(60,40,30,.035)}
  .squish-card canvas{height:72px}.squish-card.active{transform:translateY(-2px);box-shadow:0 10px 24px rgba(60,40,30,.11);border-color:rgba(30,30,30,.3)}
  .card-name{font-size:10.5px}.card-type{font-size:8.5px}.lock-pill,.demo-pill{top:7px;font-size:7px;padding:4px 5px}
  .stat-grid{margin-top:9px;gap:8px;grid-template-columns:1fr 1fr}.stat-card{padding:13px 14px;border-radius:18px}.stat-card span{font-size:17px}.stat-card:last-child{grid-column:1/-1}
  .modal{padding:0;align-items:end}.modal-panel{width:100%;max-height:88svh;border-radius:27px 27px 0 0;padding:25px 18px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -24px 70px rgba(30,20,15,.18)}
  .modal-close{position:sticky;float:right;top:0;z-index:2}.paywall-hero{width:92px;height:92px;border-radius:29px}.paywall-hero span{font-size:32px}
}

@media(max-width:380px){
  .stage-card{height:48svh;min-height:340px}.squish-card{flex-basis:108px;width:108px}.library-actions{grid-template-columns:1fr}.text-btn{order:2}.unlock-small{order:1}.stage-copy{max-width:72vw}
}

.social-btn{display:flex;align-items:center;justify-content:center;gap:10px;position:relative}
.social-btn.google{background:#fff;color:#232323;border-color:#dadce0}
.social-btn.apple{background:#000;color:#fff;border-color:#000}
.social-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px}
.apple-mark{font-size:22px;line-height:1;transform:translateY(-1px)}
.google-mark svg{display:block}
.social-btn:disabled{opacity:.58;cursor:wait}
.auth-provider-note{font-size:10px!important;color:#8b8177!important;text-align:center;margin-top:9px!important}


/* v6 visual / interaction upgrade overrides */
html,body{
  touch-action:manipulation;
  -webkit-text-size-adjust:100%;
}
body{
  overscroll-behavior:none;
  -webkit-tap-highlight-color:transparent;
}
button,a,input,canvas,.squish-card{
  touch-action:manipulation;
}
.stage-card{
  overflow:hidden;
}
.stage-info-card{
  margin-top:14px;
}
.stage-copy{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  max-width:min(100%,720px) !important;
  min-height:96px;
  display:grid;
  gap:6px;
  padding:18px 20px;
  border-radius:24px;
  background:rgba(255,255,255,.82);
  backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,.82);
  box-shadow:0 16px 36px rgba(60,40,22,.08);
}
.stage-copy strong{
  font-size:clamp(28px,4.4vw,44px);
  letter-spacing:-.045em;
}
.stage-copy span:last-child{
  font-size:clamp(16px,2.3vw,24px);
  color:#746b64;
}
.free-badge{
  width:max-content;
}
@media (max-width: 700px){
  .stage-copy{
    padding:16px 16px 18px;
    border-radius:20px;
    min-height:unset;
  }
  .stage-copy strong{font-size:clamp(24px,7.5vw,34px)}
  .stage-copy span:last-child{font-size:clamp(15px,4.4vw,19px)}
}


/* v7.1 compact mobile info box */
@media (max-width: 700px){
  .stage-info-card{
    margin-top:8px;
  }
  .stage-copy{
    padding:10px 12px !important;
    border-radius:16px !important;
    gap:4px !important;
    min-height:unset !important;
    box-shadow:0 10px 22px rgba(60,40,22,.06) !important;
  }
  .stage-copy strong{
    font-size:clamp(18px,6vw,24px) !important;
    line-height:1.03 !important;
  }
  .stage-copy span:last-child{
    font-size:clamp(12px,3.8vw,15px) !important;
    line-height:1.2 !important;
  }
  .free-badge{
    font-size:8px !important;
    padding:4px 7px !important;
  }
}
@media (max-width: 480px){
  .stage-copy{
    padding:9px 11px !important;
    border-radius:14px !important;
  }
  .stage-copy strong{
    font-size:clamp(17px,5.7vw,22px) !important;
  }
  .stage-copy span:last-child{
    font-size:12px !important;
  }
}


/* v7.2 tiny mobile info strip */
@media (max-width: 700px){
  .stage-info-card{
    margin-top:6px !important;
  }
  .stage-copy{
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    padding:8px 10px !important;
    border-radius:13px !important;
    background:rgba(255,255,255,.82) !important;
    box-shadow:0 7px 18px rgba(60,40,22,.05) !important;
    overflow:hidden !important;
  }
  .stage-copy .free-badge{
    flex:0 0 auto !important;
    font-size:7px !important;
    line-height:1 !important;
    padding:4px 6px !important;
    margin:0 !important;
  }
  .stage-copy strong{
    flex:0 0 auto !important;
    max-width:42% !important;
    font-size:15px !important;
    line-height:1 !important;
    letter-spacing:-.025em !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
  .stage-copy span:last-child{
    flex:1 1 auto !important;
    min-width:0 !important;
    font-size:11px !important;
    line-height:1 !important;
    color:#786f68 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
  }
}
@media (max-width: 390px){
  .stage-copy{
    gap:6px !important;
    padding:7px 9px !important;
  }
  .stage-copy strong{
    max-width:40% !important;
    font-size:14px !important;
  }
  .stage-copy span:last-child{
    font-size:10px !important;
  }
}


/* v7.3 squish screen lock */
.screen-lock-btn{
  position:absolute;
  z-index:8;
  right:18px;
  top:18px;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px 11px;
  border:1px solid rgba(20,20,20,.09);
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:#554d47;
  backdrop-filter:blur(12px);
  box-shadow:0 6px 18px rgba(40,30,20,.06);
  font-size:11px;
  font-weight:900;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.screen-lock-icon{width:15px;height:15px;display:block;flex:0 0 15px}
.screen-lock-btn.active{
  background:#1d1d1f;
  color:#fff;
  border-color:#1d1d1f;
  box-shadow:0 8px 22px rgba(20,20,20,.18);
}
.screen-lock-btn:active{transform:scale(.96)}
.reset-btn{
  right:96px !important;
  z-index:7;
}
html.squish-screen-locked,
body.squish-screen-locked{
  overscroll-behavior:none !important;
  overflow:hidden !important;
  touch-action:none !important;
}
body.squish-screen-locked{
  position:fixed !important;
  left:0;
  right:0;
  width:100%;
}
body.squish-screen-locked .stage-card{
  overscroll-behavior:none;
  touch-action:none;
}
body.squish-screen-locked #world{
  touch-action:none !important;
}
body.squish-screen-locked .hint{
  background:rgba(29,29,31,.82);
  color:#fff;
  border-color:rgba(255,255,255,.10);
}
@media(max-width:620px){
  .screen-lock-btn{
    right:10px;
    top:10px;
    min-height:34px;
    padding:7px 9px;
    font-size:10px;
    gap:5px;
  }
  .screen-lock-icon{width:14px;height:14px;flex-basis:14px}
  .reset-btn{
    right:76px !important;
    top:10px !important;
  }
}
@media(max-width:380px){
  .screen-lock-btn span{display:none}
  .screen-lock-btn{width:34px;padding:0;border-radius:50%}
  .reset-btn{right:54px !important}
}

/* v7.5 developer access codes */
.code-redeem-box{margin-top:14px;padding-top:2px}
.code-input{width:100%;height:46px;border:1px solid rgba(20,20,20,.11);border-radius:14px;padding:0 13px;background:#fff;outline:none;text-align:center;font-weight:850;letter-spacing:.08em;text-transform:uppercase}
.code-input:focus{border-color:rgba(30,30,30,.35);box-shadow:0 0 0 3px rgba(20,20,20,.04)}
.developer-panel{text-align:left}
.developer-panel{width:min(720px,100%)}
.developer-section{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.developer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:end}
.developer-actions button{padding:10px;line-height:1.35}
.developer-panel select{width:100%;min-height:48px;padding:10px;border:1px solid var(--line);border-radius:14px;background:#fff;font:inherit;color:inherit}
.developer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.developer-stats span{padding:12px 4px;border-radius:14px;background:#eee8e0;text-align:center}
.developer-stats b,.developer-stats small{display:block}.developer-stats b{font-size:22px}.developer-stats small{font-size:10px;margin-top:4px}
.developer-table-wrap{overflow-x:auto;margin-top:10px}.developer-table-wrap table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}
.developer-table-wrap th,.developer-table-wrap td{padding:10px 8px;border-bottom:1px solid var(--line);min-width:90px}
.developer-diagnostics{max-height:260px;overflow:auto;border-radius:14px;padding:14px;background:#eee8e0;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}
.account-access-message{font-size:12px;line-height:1.5;background:#eee8e0;border-radius:14px;padding:12px;margin:0 0 12px}
@media(max-width:460px){.developer-actions{grid-template-columns:1fr}.developer-stats{grid-template-columns:repeat(2,1fr)}}
.developer-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.developer-code-result{margin-top:16px;padding:18px;border-radius:19px;background:linear-gradient(145deg,#fff,#f1ebe4);border:1px solid rgba(20,20,20,.07);text-align:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.developer-code-result>span{display:block;font-size:9px;font-weight:900;letter-spacing:.16em;color:#8a8179}
.developer-code-result>strong{display:block;margin:9px 0 5px;font-size:clamp(18px,5vw,26px);letter-spacing:.075em;word-break:break-word}
.developer-code-result>small{display:block;color:#7d746d;font-size:10px}
.developer-signout{margin-top:18px}
@media(max-width:620px){
  .developer-grid{grid-template-columns:1fr 1fr;gap:8px}
  .developer-code-result{padding:15px 12px}
  .code-input{font-size:13px;letter-spacing:.055em}
}
@media(max-width:390px){.developer-grid{grid-template-columns:1fr}}

/* v8 — keep the touch controls separate in both lock states. */
.screen-lock-btn{width:88px;min-height:40px;right:16px}
.reset-btn{right:112px!important;min-height:40px}
.status-pill{max-width:calc(100% - 225px)}
#moodText{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:620px){
  .screen-lock-btn{right:10px;width:82px;min-height:40px}
  .reset-btn{right:100px!important;min-height:40px}
  .status-pill{left:12px;top:12px;max-width:calc(100% - 190px);padding:9px 10px}
}
@media(max-width:380px){
  .screen-lock-btn{width:40px;min-height:40px}
  .reset-btn{right:58px!important}
  .status-pill{max-width:calc(100% - 145px)}
}
/* v9: an expandable collection, with the original compact play surface. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.stage-info-card{display:flex;align-items:center;gap:10px}.stage-info-card .stage-copy{flex:1;min-width:0;max-width:none!important}.stage-copy strong{font-size:25px}.stage-copy span:last-child{font-size:14px}
.favourite-btn{flex:0 0 auto;background:#fff9f9;border:1px solid #e7d6dd;color:#94637b;border-radius:999px;padding:12px 17px;min-height:44px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.favourite-btn[aria-pressed=true]{background:#f4dde7;color:#8c4e6c}
.collection-tools{display:flex;gap:8px;align-items:center;margin-top:20px}.collection-search{flex:1}.collection-tools input,.collection-tools select{width:100%;min-height:44px;border:1px solid #e5dcd4;border-radius:13px;background:#fffcf8;color:#645650;padding:10px 13px;font:inherit;font-size:12px}.collection-tools .text-btn{white-space:nowrap;min-height:44px}
.collection-filters{display:flex;gap:7px;overflow-x:auto;scrollbar-width:thin;padding:12px 0 8px;touch-action:pan-x}.collection-filters button{flex:0 0 auto;min-height:40px;border:1px solid #e8dfd6;border-radius:999px;background:#f7f2ec;color:#77685f;padding:9px 13px;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.collection-filters button[aria-pressed=true]{color:#fff7ed;background:#615a52;border-color:#615a52}
.collection-summary{font-size:11px;color:#85766d;margin:7px 0 0}.collection-tag{display:block;color:#9b787f;font-size:8px;font-weight:800;letter-spacing:.055em;margin-top:6px}.card-heart{position:absolute;top:7px;left:8px;font-size:11px;color:#b77793}.squish-card:has(.demo-pill) .card-heart{top:29px}
.catalog-empty{text-align:center;padding:35px 15px;color:#7c6c62;font-size:13px}.catalog-empty p{font-size:12px}.collection-offer{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 0 0;margin-top:12px;border-top:1px solid #e8dfd6}.collection-offer strong{font-size:13px}.collection-offer span{display:block;font-size:11px;color:#84776d;margin-top:4px}.collection-offer .unlock-small{white-space:nowrap}
.paywall-panel{width:min(580px,100%)}.purchase-options{display:grid;grid-template-columns:.85fr 1.15fr;gap:10px;text-align:left;margin-top:20px}.price-option{padding:17px 14px;border-radius:18px;background:#f0ebe5;border:1px solid #e3d9cf}.price-option>span{display:block;font-size:8px;font-weight:850;letter-spacing:.065em;min-height:18px}.price-option>strong{display:block;font-size:30px;letter-spacing:-.045em}.price-option p{font-size:11px;line-height:1.7;color:inherit}.price-option small{font-size:9px}.price-option .text-btn{padding:9px 0;min-height:44px;font-size:10px;text-decoration:underline}.premium-option{background:#5e6257;color:#fff9ef;border-color:#5e6257}.premium-option p{color:#fff9ef}.ownership-promise{font-size:11px!important;padding:11px 14px;background:#edf0e7;border-radius:12px;color:#626954!important}.pack-note{font-size:10px!important;line-height:1.5!important;color:#88796c!important}
.collection-tools input:focus-visible,.collection-tools select:focus-visible,.collection-filters button:focus-visible,.favourite-btn:focus-visible{outline:2px solid #977e8a;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){
 .stage-info-card{gap:5px}.favourite-btn{font-size:10px;padding:8px 10px;min-height:40px}.stage-info-card .stage-copy{width:auto!important}.stage-info-card .stage-copy strong{max-width:65%!important}.stage-info-card .stage-copy span:last-child{display:none!important}
 .collection-tools{margin:15px 14px 0;display:grid;grid-template-columns:1fr auto}.collection-search{grid-column:1/-1}.collection-tools label,.collection-tools select{min-width:0}.collection-tools .text-btn{padding-inline:13px}
 .collection-filters{padding:12px 14px 8px;scroll-padding-inline:14px}.collection-summary{margin:5px 14px 9px;font-size:10px}.collection-offer{margin:12px 14px 0;padding-top:15px;align-items:stretch;flex-direction:column;gap:11px}.collection-offer .unlock-small{min-height:44px}.catalog{margin-top:0}.squish-card{min-height:144px}
 .purchase-options{gap:8px}.price-option{padding:14px 11px}.price-option>span{font-size:7px}.price-option>strong{font-size:29px}.price-option p{font-size:10px}.paywall-panel h2{font-size:26px}.collection-offer strong{font-size:12px}
}
/* v9.1: free browsing with clear, non-interactive Premium previews. */
.lock-pill{display:inline-flex;align-items:center;gap:4px}.lock-pill img{width:11px;height:11px;display:block}
.premium-overlay{position:absolute;inset:0;z-index:3;pointer-events:none}
.premium-lock-card{position:absolute;left:50%;bottom:58px;transform:translateX(-50%);display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:18px;border:1px solid #fff;background:rgba(255,250,244,.96);box-shadow:0 8px 28px rgba(77,56,43,.13);max-width:calc(100% - 90px);pointer-events:auto;white-space:nowrap}
.premium-lock-image{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;background:#72634f;border-radius:11px}.premium-lock-image img{width:22px;height:22px}
.premium-lock-card strong{display:block;font-size:11px;letter-spacing:.1em;color:#68543d}.premium-lock-card span:not(.premium-lock-image){display:block;margin-top:4px;font-size:10px;color:#827360}
.premium-lock-card button{border:0;border-radius:999px;background:#615a52;color:#fff;padding:10px 13px;min-height:42px;margin-left:5px;font:inherit;font-size:11px;font-weight:800;cursor:pointer;touch-action:manipulation}
.stage-card.premium-locked #world{pointer-events:none;touch-action:pan-y}.stage-card.premium-locked .hint{font-size:11px;white-space:normal;text-align:center;width:max-content;max-width:calc(100% - 28px)}
.stage-card.premium-locked .status-dot{background:#b29a78;box-shadow:0 0 0 5px rgba(178,154,120,.12)}
.free-badge.preview-locked{display:inline-flex!important;align-items:center;gap:4px;background:#72634f!important;color:#fff!important}.free-badge.preview-locked img{width:11px;height:11px}
.premium-lock-card button:focus-visible{outline:3px solid #a48b6d;outline-offset:3px}.reset-btn:disabled{opacity:.4;cursor:default}
@media(max-width:480px){.premium-lock-card{gap:8px;padding:9px 11px;bottom:52px;max-width:calc(100% - 76px)}.premium-lock-card strong{font-size:10px}.premium-lock-card span:not(.premium-lock-image){font-size:9px}.premium-lock-card button{padding:9px 12px;margin-left:0}.premium-lock-image{flex-basis:30px;width:30px;height:30px;border-radius:10px}.premium-lock-image img{width:19px;height:19px}}
