#frame *,#shop *{text-shadow:none!important}
#shop .shop-head{height:11%;padding:.6cqw 1cqw}#shop .shop-head h2 span{display:none}#shop .shop-summary{top:1.5%;right:14%;height:7%}#shop .workshop-layout{top:12%;bottom:1%;left:1%;right:1%;grid-template-columns:38% minmax(0,1fr);gap:1cqw}#shop .fitting{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto auto;gap:.4cqw;padding:.8cqw;overflow:hidden}#shop .fitting-canvas{height:100%;width:100%;min-height:0;margin:0;object-fit:contain}#shop .fitting h3{margin:0;font-size:clamp(17px,2cqw,28px)}#shop .fitting>p{display:none}#shop .preview-modes{margin:0}#shop #purchase{position:static;margin:0;padding:.6cqw;min-height:36px}#shop .shop-tabs{margin:0 0 .5cqw}#shop .shop-tabs button{padding:.5cqw .6cqw}#shop .shop-grid{padding:.3cqw;gap:.8cqw;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content}#shop .item-preview canvas{height:19cqw;width:100%}#shop .shop-item-copy{padding:.6cqw .8cqw}#shop .skin h3{min-height:1.2em;margin:0 0 .3cqw;font-size:clamp(15px,1.7cqw,25px)}#shop .item-price{min-height:26px}#shop #viewSets31{position:absolute;top:16%;left:30%;font-size:1.1cqw;padding:.5cqw;background:#f1d6b8}
.journey31,.badge-page31,.result31,.pause31,.pot-room31,.set-page31{position:absolute;inset:0;padding:1.5cqw;background:#fff5df;color:#64465d;display:flex;flex-direction:column;gap:1cqw;overflow:hidden;box-sizing:border-box}
.journey31 header,.badge-page31 header,.result31 header,.pause31 header,.pot-room31 header,.set-page31 header{display:flex;justify-content:space-between;align-items:center;gap:1cqw;flex-shrink:0}
.journey31 h2,.badge-page31 h2,.result31 h2,.pause31 h2,.pot-room31 h2,.set-page31 h2{font-size:3cqw;margin:0;line-height:1.1;letter-spacing:-.1cqw}
.journey31 header small,.badge-page31 header small,.result31 header small,.pot-room31 header small,.set-page31 header small{font-size:1cqw;color:#b38166}
.journey31 button,.badge-page31 button,.result31 button,.pause31 button,.pot-room31 button,.set-page31 button{font:inherit;font-size:1.4cqw;border:0;border-radius:.8cqw;background:#edd6bd;color:#825369;padding:.8cqw 1cqw;box-shadow:none}
.journey31 p{margin:0;font-size:1.4cqw;color:#ac8169}.chapters31{flex:1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1cqw;min-height:0}.chapters31 button{display:flex;flex-direction:column;align-items:center;gap:.6cqw;background:#fffaf0;border:1px solid #ead7bb;padding:.8cqw;min-width:0}.chapters31 img{height:45%;width:100%;object-fit:contain}.chapters31 small{font-size:.9cqw}.chapters31 b{font-size:1.65cqw;line-height:1.1}.chapters31 span{font-size:1.2cqw}.chapters31 strong{margin-top:auto;color:#c08b35}.chapters31 button:disabled{opacity:.4}.chapters31 button.restored{background:#e8edce}.route-options31{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5cqw}.route-options31 button{background:#80546f;color:#fff5dc;padding:.7cqw;min-width:0}.route-options31 b,.route-options31 small{display:block}.route-options31 small{font-size:1cqw;margin-top:.3cqw;opacity:.8}
.chapter-intro31{position:absolute;inset:0;display:grid;grid-template-columns:44% 1fr;align-items:center;padding:4cqw;background:#fff1d6;color:#725067;gap:4cqw}.chapter-intro31>img{width:100%;height:34cqw;object-fit:contain}.chapter-intro31 h2{font-size:4cqw;margin:1cqw 0}.chapter-intro31 p{font-size:1.8cqw}.chapter-intro31 b{display:block;font-size:2cqw}.chapter-intro31 button{display:block;margin-top:1cqw;padding:1cqw 2cqw;font-size:1.6cqw;background:#cc7a61;color:#fff8e4;border:0;border-radius:1cqw}
.result31{gap:.7cqw;background:linear-gradient(120deg,#fff2c9,#fff5ed)}.result31 header>span{font-size:1.4cqw;color:#ad8064}.result-stats31{display:grid;grid-template-columns:1fr 1fr;gap:1cqw;flex-shrink:0}.result-stats31>div{background:#fffdf5;padding:.8cqw 2cqw;border-radius:1.2cqw;display:flex;flex-direction:column;border:1px solid #eddbc0}.result-stats31 small{font-size:1.2cqw;color:#a17b66}.result-stats31 b{font-size:5.8cqw;line-height:1.05;letter-spacing:-.25cqw}.result-stats31>div:nth-child(2) b{color:#cf983a}.result-stats31 em{font-size:2cqw;font-style:normal;margin-left:.5cqw}.result-stats31 span{font-size:1.1cqw;color:#ae8771}
.mission-cards31{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1cqw;min-height:0;flex:1}.mission-cards31 article{background:#fffdf7;border:1px solid #e5d0b7;border-radius:1.1cqw;padding:.8cqw;display:flex;flex-direction:column;align-items:center;gap:.4cqw;min-width:0;overflow:auto}.mission-cards31 .difficulty-1{background:#fff1cc}.mission-cards31 .difficulty-2{background:#f3e7f2}.mission-cards31 small{font-size:1cqw;font-weight:750;color:#ab7b68}.badge-art31{height:4cqw;width:5cqw;flex-shrink:0}.badge-art31 img,.badge-art31 svg{width:100%;height:100%;object-fit:contain}.mission-cards31 h3{font-size:1.6cqw;line-height:1.12;text-align:center;margin:0;min-height:2.2em}.mission-cards31 .progress{width:100%;height:.5cqw;background:#ecd9c4;border-radius:1cqw}.mission-cards31 .progress i{display:block;height:100%;background:#ca8067;border-radius:1cqw}.mission-cards31>article>b{font-size:1.3cqw}.mission-cards31>article>span{font-size:1.1cqw;color:#b18155;margin-top:auto}.mission-cards31 button{width:100%;font-size:1.2cqw;background:#cf8162;color:#fff9e4;margin-top:auto;padding:.6cqw}
.result31 footer,.pause31 footer,.pot-room31 footer{display:flex;gap:.8cqw;flex-shrink:0}.result31 footer button{flex:1;font-size:1.5cqw;min-height:3.7cqw}.result31 footer #playAgain{flex:2;background:#c8795d;color:#fff8df}.pause31 header #resumeTop31{background:#c8795d;color:#fff9e4}.pause-stat31{font-size:3.4cqw;font-weight:850}.pause-stat31 span{font-size:1.5cqw;font-weight:500;color:#b4846b;margin-left:2cqw}.pause31 .badge-art31{height:8cqw;width:9cqw}.pause31 .mission-cards31 h3{font-size:2cqw}.pause31 footer button{flex:1}
.badge-grid31{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1cqw;overflow-y:auto;min-height:0}.badge-grid31 article{background:#eee0d0;padding:1cqw;border-radius:1cqw;opacity:.65}.badge-grid31 article.earned{background:#fff8df;opacity:1;border:1px solid #e4c277}.badge-grid31 article>img,.badge-grid31 article>svg{height:6cqw;width:7cqw;object-fit:contain}.badge-grid31 h3{font-size:1.5cqw;margin:.5cqw 0}.badge-grid31 b{display:flex;gap:.4cqw;font-size:.9cqw}.badge-grid31 b span{color:#b7a69a}.badge-grid31 b .earned{color:#be8c31}.badge-grid31 article>small{font-size:1cqw;display:block;margin-top:.6cqw}
.pot-room31{background:linear-gradient(#fff8e9dd,#f8e2c3ef),url('greenhouse-v17.png') center/cover}.pot-shelf31{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1cqw;flex:1;min-height:0}.pot-shelf31 article{display:flex;flex-direction:column;align-items:center;gap:.7cqw;padding:1cqw;background:#fff9ef88;border-radius:1cqw;border-bottom:.7cqw solid #b08660;min-width:0}.pot-shelf31 article.displayed{background:#fff5ce;border:2px solid #d6b269;border-bottom-width:.7cqw}.pot-shelf31 img{height:70%;width:100%;object-fit:contain;min-height:0}.pot-shelf31 b{font-size:1.6cqw;text-align:center}.pot-shelf31 button{margin-top:auto;width:100%;padding:.7cqw .3cqw;font-size:1.2cqw}.pot-shelf31 button:disabled{opacity:.5}.pot-room31 footer{align-items:center;justify-content:space-between}.pot-room31 footer span{font-size:1.1cqw;color:#a17c61}
.set-cards31{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1cqw;flex:1;min-height:0;overflow-y:auto}.set-cards31 article{display:flex;flex-direction:column;gap:.7cqw;background:#fffdf6;padding:1cqw;border-radius:1cqw;min-width:0}.set-cards31 canvas{width:100%;height:15cqw;object-fit:contain}.set-cards31 h3{font-size:2cqw;margin:0}.set-cards31 article>b{font-size:1.2cqw;color:#c38d45}.set-cards31 article>div{display:flex;flex-direction:column;gap:.5cqw;font-size:1.2cqw}.set-cards31 strong{float:right;color:#c08c51}.set-cards31 button{margin-top:auto}.set-cards31 button:disabled{opacity:.45}
.home-nav{top:15%!important;height:80%;overflow-y:auto}.home-nav .home-menu-item{padding:.5cqw!important}.home-nav .home-record{margin-top:.5cqw}
.reboot31{position:absolute;inset:0;background:linear-gradient(120deg,#fff2ca,#f7e9f3);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1cqw;color:#754964}.reboot31>small{font-size:1.3cqw;color:#ae816e}.reboot31 h2{font-size:4.5cqw;margin:0;letter-spacing:-.2cqw}.reboot-price31{display:flex;align-items:center;gap:1cqw;font-size:6cqw;font-weight:900}.reboot-price31 img{height:6cqw;width:6cqw;object-fit:contain}.reboot31 p{margin:0;font-size:1.5cqw}.reboot31 button{min-width:30%;padding:1cqw 3cqw;border:0;border-radius:1cqw;font-size:1.8cqw;background:#cc7e60;color:#fff9e5;box-shadow:none}.reboot31 button:disabled{opacity:.4}.reboot31 #skipRevive{background:transparent;color:#a98178;font-size:1.4cqw}.reboot31 #reviveSeconds{position:absolute;right:3%;top:5%;font-size:3cqw;color:#bd9a7d}
.mission-cards31 h3{font-size:clamp(15px,1.9cqw,28px)}.mission-cards31 small{font-size:clamp(10px,1.05cqw,16px)}.mission-cards31>article>b{font-size:clamp(12px,1.35cqw,20px)}.mission-cards31>article>span{font-size:clamp(11px,1.2cqw,18px)}.mission-cards31 button{font-size:clamp(12px,1.3cqw,20px)}.badge-art31 img,.badge-art31 svg,.badge-art31 span{max-width:100%;max-height:100%}.badge-grid31 article img,.badge-grid31 article svg{max-width:7cqw;max-height:6cqw}
.home-goal31{width:100%;padding:.8cqw;border:1px solid #e7c79f!important;border-radius:.8cqw!important;background:#fff0cf!important;box-shadow:none!important;text-align:left;color:#97664e!important;margin-top:.6cqw}.home-goal31 small,.home-goal31 span{display:block;font-size:1cqw}.home-goal31 b{display:block;font-size:1.5cqw;margin:.3cqw 0}

/* Restore a quiet, readable pause and explicit second-chance actions. */
.simple-pause32{position:absolute;inset:0;padding:3cqw 5cqw;background:linear-gradient(135deg,#fff3d6,#f6e0d8);color:#493c49;display:flex;flex-direction:column;gap:2cqw;box-sizing:border-box;text-shadow:none}
.simple-pause32 header,.simple-pause32 footer{display:flex;align-items:center;justify-content:space-between;gap:1.5cqw}.simple-pause32 h2{font-size:3.5cqw;margin:0}.simple-pause32 button{font:inherit;font-weight:800;font-size:1.7cqw;padding:1.2cqw 2cqw;border:0;border-radius:1cqw;background:#ecd0be;color:#493c49;box-shadow:none;text-shadow:none}.pause-score32{display:flex;align-items:center;gap:3cqw}.pause-score32 b{font-size:4.5cqw}.pause-score32 span{font-size:2cqw}.pause-goals32{display:flex;gap:1.5cqw;flex:1;min-height:0}.pause-goals32 article{flex:1;padding:1.5cqw;background:#fffaf0;border-radius:1cqw;display:flex;flex-direction:column;justify-content:space-between;gap:1cqw}.pause-goals32 small{font-size:1.2cqw;color:#926858}.pause-goals32 b{font-size:1.8cqw;line-height:1.25}.pause-goals32 span{font-size:1.7cqw}.simple-pause32 footer button{flex:1}.simple-pause32 #resumeRun{flex:2;background:#d47050;color:white}
.reboot31{gap:.6cqw;background:linear-gradient(135deg,#fff0c8,#f4d8ca)}.reboot31 h2{font-size:3.5cqw}.reboot-price31{font-size:4cqw}.reboot-price31 img{height:4cqw;width:4cqw}.reboot31 #heartRevive{background:#bd593d;color:white;min-width:42%;font-weight:900;font-size:2.2cqw;opacity:1}.reboot31 #heartRevive:disabled{background:#ad9890;color:white}.reboot31 #retryChance32{background:#fdf8eb;color:#70493d;border:2px solid #d5a58a;min-width:42%;font-weight:850}.reboot31 #skipRevive{font-size:1.3cqw;padding:.5cqw}.reboot31>small{font-size:1.1cqw}

/* Second chance stays over the actual crash scene. */
#frame[data-flow="reviveChoice"] #overlay{background:transparent;backdrop-filter:none}#frame[data-flow="reviveChoice"] #hud{display:none}.revive-scene35{position:absolute;inset:0;background:linear-gradient(90deg,transparent 25%,#182a2540 60%,#182a2570);text-shadow:none}.revive-panel35{position:absolute;right:5%;top:12%;width:34%;padding:2cqw;border-radius:1.6cqw;background:#fff2ddea;color:#624534;display:flex;flex-direction:column;align-items:stretch;gap:.8cqw}.revive-panel35 h2{font-size:3.5cqw;line-height:1;margin:0}.revive-panel35 p{font-size:1.4cqw;margin:0}.revive-panel35 small{font-size:1.1cqw;color:#88644e;letter-spacing:0}.revive-panel35 button{padding:1cqw;font-size:2cqw;border:0;box-shadow:none;text-shadow:none;border-radius:1cqw;background:#d47948;color:white}.revive-panel35 button img{width:2.3cqw;height:2.3cqw;object-fit:contain;vertical-align:middle}.revive-panel35 #skipRevive{background:transparent;color:#785942;font-size:1.4cqw}.revive-panel35 button:disabled{background:#ac9c8a;color:#fff}.revive-clock35{position:absolute;top:5%;left:5%;font-size:2cqw;color:#fff3d9}.revive-clock35 span{font-size:4cqw;font-weight:900}

.pause-goals32 article{position:relative;padding-left:6.6cqw}.pause-icon37{position:absolute;left:1cqw;top:50%;transform:translateY(-50%);width:4.8cqw;height:4.8cqw;color:#9a6345;background:#f4e3c7;border-radius:1cqw;padding:.6cqw}.pause-icon37 svg{width:100%;height:100%;display:block}.pause-goals32 b{font-size:1.6cqw}.pause-goals32 small{font-size:1cqw}
