:root{
  --ink:#090909;--paper:#f1eadc;--paper-hi:#fffaf0;--paper-low:#ded3c0;--yellow:#e6b12f;--muted:#5a534a;--line:#b9ad98;--safe-bottom:max(14px,env(safe-area-inset-bottom));
  --serif:Georgia,"Times New Roman",serif;--grotesk:"Arial Black",Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;--mono:"Courier New",Courier,monospace;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}html{background:var(--ink);color:var(--ink);font-family:var(--sans);font-size:16px}body{margin:0;min-height:100vh;background:var(--ink)}
body::before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(rgba(9,9,9,.78),rgba(9,9,9,.78)),url("assets/black.webp") center/cover,url("assets/pattern.webp") center/620px repeat;z-index:-1}
button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}a{color:inherit}[hidden]{display:none!important}
.skip-link{position:fixed;left:12px;top:-60px;background:var(--yellow);padding:12px 16px;z-index:9999;font-weight:900}.skip-link:focus{top:12px}

.app-shell{position:relative;width:min(100%,580px);min-height:100vh;margin:0 auto;background:var(--paper);overflow:hidden;box-shadow:0 0 0 1px rgba(9,9,9,.22),0 30px 80px rgba(9,9,9,.16);isolation:isolate;padding-bottom:calc(88px + var(--safe-bottom))}
.app-shell::before{content:"";position:absolute;inset:0;background:url("assets/paper.webp") center/cover;opacity:.20;mix-blend-mode:multiply;pointer-events:none;z-index:-1}

.hero{position:relative;min-height:270px;padding:16px 16px 20px;overflow:hidden;border-bottom:7px solid var(--ink);background:var(--paper)}
.hero::after{content:"";position:absolute;left:-6%;right:-4%;bottom:-12px;height:30px;background:var(--paper);clip-path:polygon(0 30%,4% 48%,8% 25%,14% 53%,20% 32%,28% 60%,36% 36%,44% 57%,53% 27%,63% 58%,72% 31%,82% 61%,92% 36%,100% 52%,100% 100%,0 100%);z-index:4}
.hero-copy{position:relative;z-index:3;max-width:64%;padding-top:50px}.hero-topline{position:absolute;left:0;right:-54%;top:0;display:flex;justify-content:space-between;align-items:center;z-index:6}
.brand-home{border:0;background:transparent;padding:0;cursor:pointer;width:46px;height:46px;border-radius:50%}.brand-home:focus-visible{outline:4px solid var(--yellow);outline-offset:3px}.brand-mark{width:46px;height:46px;object-fit:cover;border-radius:50%;background:var(--ink);border:4px solid var(--paper-hi);filter:contrast(1.5);box-shadow:2px 3px 0 var(--yellow);transform:rotate(-6deg)}
.lang-toggle{border:2px solid var(--ink);background:var(--paper-hi);font-family:var(--mono);font-weight:900;font-size:.78rem;letter-spacing:.08em;padding:7px 9px;min-width:48px;min-height:44px;cursor:pointer;box-shadow:4px 4px 0 var(--ink);transform:rotate(1.4deg)}
h1{position:relative;margin:0;font-family:var(--grotesk);font-size:clamp(2.7rem,13vw,4.35rem);line-height:.8;letter-spacing:-.065em;font-weight:900;text-transform:uppercase}
h1::before,h1::after{content:"";position:absolute;left:-7px;right:-8px;height:1.02em;background:var(--paper-hi);z-index:-1;box-shadow:0 2px 0 rgba(0,0,0,.14);clip-path:polygon(0 4%,7% 0,15% 4%,26% 0,38% 4%,52% 0,65% 3%,77% 0,89% 4%,100% 1%,99% 96%,91% 100%,81% 96%,66% 100%,55% 96%,41% 100%,29% 95%,15% 100%,1% 96%)}
h1::before{top:.02em;transform:rotate(-1deg)}h1::after{top:1.62em;transform:rotate(.7deg)}
.hero-copy p{display:block;margin:12px 0 0;padding:2px 0 2px 10px;background:transparent;color:var(--ink);border-left:5px solid var(--yellow);font-family:var(--mono);font-size:.82rem;font-weight:700;line-height:1.18;max-width:250px;transform:none;box-shadow:none}
.hero-art{position:absolute;right:-2%;top:0;width:50%;height:100%;overflow:hidden;background:var(--ink);clip-path:polygon(16% 0,100% 0,100% 100%,3% 100%,12% 83%,5% 72%,15% 55%,7% 42%,16% 28%,7% 14%)}
.hero-art::before{content:"";position:absolute;inset:0;background:url("assets/black.webp") center/cover;opacity:.24;mix-blend-mode:screen;z-index:2}.hero-art::after{content:"";position:absolute;right:8%;top:14%;width:70px;height:70px;border:4px solid var(--yellow);border-radius:50%;z-index:3;transform:rotate(9deg)}
.hero-art img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.35) brightness(.9);transform:scale(1.12) rotate(.5deg);animation:heroPunch .72s cubic-bezier(.15,.9,.2,1) both}

main{min-width:0}.controls{padding:20px 14px 8px;background:var(--paper)}
.search-box{position:relative;height:62px;border:3px solid var(--ink);background:var(--paper-hi);display:grid;grid-template-columns:26px 1fr 42px;gap:10px;align-items:center;padding:0 12px;box-shadow:5px 6px 0 var(--ink);transform:rotate(-.25deg)}
.search-box:focus-within{box-shadow:7px 8px 0 var(--yellow)}.search-box input{border:0;outline:0;background:transparent;color:var(--ink);font-size:1.05rem;min-width:0}.search-box input::placeholder{color:#655f56;opacity:1}
.search-icon{width:20px;height:20px;border:2px solid var(--ink);border-radius:50%;position:relative}.search-icon::after{content:"";position:absolute;width:9px;height:2px;background:var(--ink);right:-7px;bottom:-4px;transform:rotate(45deg)}
.clear-search{border:0;background:transparent;width:42px;height:42px;font-size:1.7rem;font-weight:900;cursor:pointer;opacity:0;pointer-events:none}.search-box.has-text .clear-search{opacity:1;pointer-events:auto}
.primary-grid{display:grid;grid-template-columns:1fr 1.12fr;gap:9px;margin-top:14px}.mega-button{min-height:72px;border:3px solid var(--ink);font-family:var(--grotesk);font-size:.9rem;text-transform:uppercase;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:5px 6px 0 var(--ink);font-weight:900}.mega-button.ghost{background:var(--paper-hi)}.mega-button.solid{background:var(--ink);color:var(--paper-hi);box-shadow:5px 6px 0 var(--yellow)}.mega-button:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--ink)}
.grid-icon{display:grid;grid-template-columns:repeat(2,7px);gap:3px}.grid-icon i{width:7px;height:7px;background:currentColor}.dice-icon{position:relative;width:20px;height:20px;border:2px solid currentColor;transform:rotate(7deg)}.dice-icon i{position:absolute;width:4px;height:4px;border-radius:50%;background:currentColor}.dice-icon i:nth-child(1){left:3px;top:3px}.dice-icon i:nth-child(2){right:3px;bottom:3px}.dice-icon i:nth-child(3){left:7px;top:7px}

.feed{padding:12px 14px 18px;background:var(--paper)}.prompt-list{display:grid;grid-template-columns:1fr;gap:10px}
.prompt-row{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) 52px 16px;align-items:center;gap:10px;min-height:78px;padding:7px 12px 7px 7px;background:var(--paper-hi);border:3px solid var(--ink);box-shadow:4px 5px 0 var(--ink);cursor:pointer;outline:none;animation:rowHit .28s cubic-bezier(.2,.8,.2,1) both;animation-delay:var(--delay,0ms)}
.prompt-row:nth-child(4n+2){background:#f7edce}.prompt-row:nth-child(4n+3){box-shadow:4px 5px 0 var(--yellow)}.prompt-row:nth-child(4n){background:#eee4d3}
.prompt-row:focus-visible{outline:4px solid var(--yellow);outline-offset:3px}.prompt-row:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.row-art{position:relative;width:64px;height:64px;overflow:hidden;background:var(--ink);border:2px solid var(--ink)}.row-art::after{content:"";position:absolute;inset:0;mix-blend-mode:multiply;opacity:.35}.row-art img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.45);transform:scale(1.06)}
.family-0::after{background:var(--yellow)}.family-1::after{background:transparent}.family-2::after{background:linear-gradient(135deg,transparent 45%,var(--yellow) 46% 56%,transparent 57%)}.family-3::after{background:repeating-linear-gradient(0deg,transparent 0 7px,var(--yellow) 8px 10px)}.family-4 img{filter:grayscale(1) invert(1) contrast(1.4)}.family-5::after{background:radial-gradient(circle at 70% 30%,var(--yellow) 0 22%,transparent 23%)}.family-6 img{filter:grayscale(1) contrast(2) brightness(.75)}.family-7::after{background:linear-gradient(90deg,var(--yellow) 0 12px,transparent 12px)}
.prompt-row h3{margin:0;font-family:var(--serif);font-size:clamp(1.18rem,5.2vw,1.55rem);line-height:.95;letter-spacing:-.035em;font-weight:900;overflow-wrap:anywhere}
.favorite-row{width:48px;height:48px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;border-radius:50%}.favorite-row svg{width:25px;height:25px;fill:none;stroke:var(--ink);stroke-width:2.2}.favorite-row.active{background:var(--yellow)}.favorite-row.active svg{fill:var(--ink)}.favorite-row:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.row-chevron{width:11px;height:11px;border-right:3px solid var(--ink);border-top:3px solid var(--ink);transform:rotate(45deg)}
.empty-state{min-height:180px;display:grid;place-items:center;align-content:center;gap:8px;color:var(--muted);font-family:var(--mono);text-transform:uppercase}.empty-heart{width:46px;height:46px;fill:none;stroke:currentColor;stroke-width:1.6}

.footer{padding:18px 14px 24px;text-align:center;font-family:var(--mono);font-size:.72rem;color:var(--muted)}.footer>a{text-decoration:none}.footer-links{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:8px}.footer-links a,.footer-action{border:0;background:none;color:var(--muted);text-decoration:underline;cursor:pointer;font:inherit}.upsell{padding:12px 14px}.upsell a{display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:var(--paper-hi);padding:18px;text-decoration:none;font-family:var(--grotesk);text-transform:uppercase}

.bottom-nav{position:fixed;z-index:40;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,580px);display:grid;grid-template-columns:repeat(4,1fr);gap:7px;background:var(--ink);padding:9px 10px calc(9px + var(--safe-bottom));box-shadow:0 -5px 0 var(--yellow)}
.dock-item{position:relative;min-height:58px;border:0;background:transparent;color:var(--paper-hi);display:grid;place-items:center;border-radius:16px;cursor:pointer}.dock-item svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.dock-item[data-nav="home"] svg path{fill:currentColor;stroke:currentColor}.dock-item.active{background:var(--paper-hi);color:var(--ink)}.dock-surprise{background:var(--yellow);color:var(--ink)}.dock-surprise.active{background:var(--paper-hi)}.favorite-count{position:absolute;top:5px;right:17%;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--yellow);color:var(--ink);font-size:.68rem;font-weight:900;display:grid;place-items:center;border:2px solid var(--ink)}

.sheet-backdrop{position:fixed;z-index:70;inset:0;background:rgba(9,9,9,.68);backdrop-filter:blur(2px)}.sheet{position:fixed;z-index:80;left:50%;bottom:0;width:min(100%,700px);max-height:88dvh;overflow:auto;transform:translate(-50%,105%);transition:transform .28s cubic-bezier(.18,.85,.22,1);box-shadow:0 -20px 60px rgba(0,0,0,.32)}.sheet.open{transform:translate(-50%,0)}.sheet-grab{width:56px;height:5px;border-radius:4px;background:var(--ink);margin:10px auto}.sheet-grab.light{background:var(--paper-hi)}.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:6px 16px 12px}.sheet-head h2{margin:0;font-family:var(--grotesk);font-size:1.45rem;text-transform:uppercase}.icon-button{width:48px;height:48px;border:2px solid var(--ink);background:var(--paper-hi);font-size:1.7rem;font-weight:900;cursor:pointer;box-shadow:3px 3px 0 var(--ink)}.icon-button.inverse{border-color:var(--paper-hi);background:transparent;color:var(--paper-hi);box-shadow:none}

.category-sheet{background:var(--paper);border-top:7px solid var(--ink);padding-bottom:calc(18px + var(--safe-bottom))}.category-list{display:grid;grid-template-columns:repeat(3,1fr);gap:17px 10px;padding:6px 14px 22px}.category-app{border:0;background:transparent;display:grid;justify-items:center;gap:7px;min-width:0;cursor:pointer;color:var(--ink);padding:0}.category-app-icon{display:block;width:min(23vw,84px);height:min(23vw,84px);border-radius:22px;background-image:linear-gradient(rgba(9,9,9,.08),rgba(9,9,9,.08)),var(--cat-art);background-size:cover;background-position:center;border:3px solid var(--ink);box-shadow:4px 5px 0 var(--ink);filter:grayscale(1) contrast(1.25);position:relative;overflow:hidden}.category-app-icon::after{content:"";position:absolute;inset:auto -10px -14px 18%;height:32px;background:var(--yellow);transform:rotate(-12deg);opacity:.92}.cat-1::after{inset:0 auto auto 0;width:17px;height:100%;transform:none}.cat-2::after{inset:10px 10px auto auto;width:28px;height:28px;border-radius:50%;transform:none}.cat-3::after{inset:auto 0 0 0;height:16px;transform:none}.cat-4::after{inset:0;background:repeating-linear-gradient(45deg,transparent 0 9px,var(--yellow) 10px 13px);opacity:.45;transform:none}.cat-5::after{inset:50% -25% auto 35%;height:18px;transform:rotate(-24deg)}
.category-app span:last-child{max-width:100%;font-family:var(--sans);font-size:.72rem;font-weight:800;line-height:1.05;text-align:center;overflow:hidden;text-overflow:ellipsis}.category-app:focus-visible .category-app-icon{outline:4px solid var(--yellow);outline-offset:3px}.category-app:active .category-app-icon{transform:scale(.94)}

.prompt-sheet{background:var(--ink);color:var(--paper-hi);min-height:70dvh;box-shadow:0 -12px 0 var(--yellow)}.sheet-texture{position:absolute;inset:0;background-image:linear-gradient(rgba(9,9,9,.78),rgba(9,9,9,.9)),var(--prompt-art,url("assets/skull-card.webp")),url("assets/black.webp");background-position:center;background-size:cover;opacity:.72;pointer-events:none;filter:grayscale(1) contrast(1.15)}.prompt-sheet::before{content:"";position:absolute;left:0;right:0;top:-18px;height:34px;background:var(--ink);clip-path:polygon(0 54%,6% 27%,13% 55%,20% 22%,29% 58%,38% 24%,48% 57%,58% 23%,69% 58%,78% 28%,88% 55%,100% 30%,100% 100%,0 100%)}.prompt-sheet-head,.prompt-sheet-body{position:relative;z-index:2}.prompt-sheet-head{display:flex;justify-content:flex-end;padding:8px 16px 0}.prompt-sheet-body{padding:2px 16px calc(34px + var(--safe-bottom))}.prompt-sheet h2{display:inline-block;margin:10px 0 14px;background:var(--paper-hi);color:var(--ink);font-family:var(--serif);font-size:clamp(2.2rem,10vw,3.8rem);line-height:.9;letter-spacing:-.055em;padding:8px 10px 10px;transform:rotate(-.7deg);max-width:95%}
.sheet-description{margin:0 0 16px;max-width:36rem;color:var(--paper-hi);font-family:var(--grotesk);font-size:clamp(.92rem,3.8vw,1.02rem);font-weight:700;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.try-button{width:100%;min-height:78px;border:3px solid var(--ink);background:var(--yellow);color:var(--ink);font-family:var(--grotesk);font-size:1.05rem;text-transform:uppercase;cursor:pointer;box-shadow:5px 6px 0 var(--paper-hi)}.try-button:active{transform:translate(3px,3px);box-shadow:2px 2px 0 var(--paper-hi)}
.tool-row{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:14px 0}.tool-button{min-height:58px;border:2px solid var(--paper-hi);background:transparent;color:var(--paper-hi);cursor:pointer;position:relative;display:grid;place-items:center}.tool-button svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2}.tool-button.active{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}.tool-button.active svg{fill:currentColor}.tool-button::after{content:attr(data-tooltip);position:absolute;left:50%;bottom:-20px;transform:translateX(-50%);font-family:var(--mono);font-size:.58rem;text-transform:uppercase;opacity:0;pointer-events:none;white-space:nowrap}.tool-button:focus-visible::after,.tool-button:hover::after{opacity:1}
.tool-eye{display:inline-block;width:24px;height:17px;border:2px solid currentColor;border-radius:60% 0 60% 0;transform:rotate(45deg);position:relative}.tool-eye::after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:currentColor;left:7px;top:4px}.tool-copy{display:inline-block;width:17px;height:21px;border:2px solid currentColor;position:relative}.tool-copy::after{content:"";position:absolute;width:17px;height:21px;border:2px solid currentColor;left:5px;top:5px}.tool-download{display:inline-block;width:24px;height:24px;position:relative;border-bottom:2px solid currentColor}.tool-download::before{content:"";position:absolute;left:11px;top:1px;width:2px;height:15px;background:currentColor}.tool-download::after{content:"";position:absolute;left:7px;top:8px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg)}.tool-share{display:inline-block;width:26px;height:22px;position:relative;background:linear-gradient(currentColor,currentColor) 7px 8px/13px 2px no-repeat,linear-gradient(currentColor,currentColor) 8px 13px/12px 2px no-repeat}.tool-share::before,.tool-share::after{content:"";position:absolute;width:6px;height:6px;border:2px solid currentColor;border-radius:50%}.tool-share::before{left:0;top:8px}.tool-share::after{right:0;top:0;box-shadow:0 14px 0 -2px var(--ink),0 14px 0 0 currentColor}.tool-button:hover .tool-share::after{box-shadow:0 14px 0 -2px var(--paper-hi),0 14px 0 0 currentColor}
.full-prompt{white-space:pre-wrap;margin:18px 0 0;padding:16px;background:var(--paper-hi);color:var(--ink);font-family:var(--mono);font-size:.8rem;line-height:1.42;border:0}

.resurrection{position:fixed;z-index:100;inset:0;display:none;place-items:center;background:var(--ink);overflow:hidden}.resurrection.active{display:grid}.resurrection-bg{position:absolute;inset:0;background:url("assets/pattern.webp") center/430px repeat,linear-gradient(var(--ink),var(--ink));opacity:.26;animation:bgStrobe .55s steps(2,end) infinite}.burst{position:absolute;width:min(90vw,620px);opacity:.95;mix-blend-mode:screen;animation:burstSpin .65s cubic-bezier(.1,.85,.2,1) both}.res-skull{position:relative;width:128px;height:128px;object-fit:cover;border-radius:50%;border:8px solid var(--paper-hi);box-shadow:0 0 0 12px var(--yellow);filter:contrast(1.4);animation:skullHit .62s cubic-bezier(.1,.9,.2,1) both}.card-stack i{position:absolute;width:210px;height:290px;background:var(--paper-hi);border:4px solid var(--ink);left:50%;top:50%;transform-origin:center}.card-stack i:nth-child(1){transform:translate(-50%,-50%) rotate(-13deg);animation:shuffleA .55s ease-in-out infinite alternate}.card-stack i:nth-child(2){transform:translate(-50%,-50%) rotate(9deg);animation:shuffleB .5s ease-in-out infinite alternate}.card-stack i:nth-child(3){transform:translate(-50%,-50%) rotate(-2deg);background:var(--yellow)}.shuffle-title{position:absolute;bottom:12%;left:8%;right:8%;text-align:center;color:var(--paper-hi);font-family:var(--grotesk);font-size:clamp(1.4rem,6vw,2.6rem);line-height:.95;text-transform:uppercase;text-shadow:4px 4px 0 var(--ink)}.resurrection.flash{animation:flashInvert .48s steps(2,end)}
.toast{position:fixed;z-index:120;left:50%;top:18%;transform:translate(-50%,-20px) rotate(-2deg);background:var(--yellow);color:var(--ink);border:3px solid var(--ink);box-shadow:6px 6px 0 var(--paper-hi);font-family:var(--grotesk);font-size:1rem;padding:14px 19px;opacity:0;pointer-events:none}.toast.show{animation:toastHit .95s cubic-bezier(.15,.8,.2,1) both}.sheet-open{overflow:hidden}

@keyframes heroPunch{0%{opacity:0;transform:scale(1.32) rotate(-4deg)}100%{opacity:1;transform:scale(1.12) rotate(.5deg)}}
@keyframes rowHit{0%{opacity:0;transform:translateY(16px) rotate(-.4deg)}100%{opacity:1;transform:none}}
@keyframes bgStrobe{0%{transform:scale(1);filter:invert(0)}100%{transform:scale(1.04);filter:invert(.08)}}
@keyframes burstSpin{0%{transform:scale(.15) rotate(-40deg);opacity:0}100%{transform:scale(1) rotate(0);opacity:.95}}
@keyframes skullHit{0%{transform:scale(.1) rotate(-35deg)}65%{transform:scale(1.18) rotate(7deg)}100%{transform:scale(1) rotate(0)}}
@keyframes shuffleA{from{transform:translate(-66%,-52%) rotate(-16deg)}to{transform:translate(-42%,-49%) rotate(-5deg)}}
@keyframes shuffleB{from{transform:translate(-43%,-48%) rotate(11deg)}to{transform:translate(-61%,-54%) rotate(3deg)}}
@keyframes flashInvert{0%,100%{filter:invert(0)}50%{filter:invert(1)}}
@keyframes toastHit{0%{opacity:0;transform:translate(-50%,-30px) rotate(-8deg) scale(.7)}18%{opacity:1;transform:translate(-50%,0) rotate(3deg) scale(1.12)}70%{opacity:1;transform:translate(-50%,0) rotate(-1deg) scale(1)}100%{opacity:0;transform:translate(-50%,-8px) rotate(1deg) scale(.96)}}

@media (max-width:380px){.hero{min-height:255px}.hero-copy{max-width:66%}h1{font-size:2.65rem}.hero-copy p{font-size:.78rem}.prompt-row{grid-template-columns:58px minmax(0,1fr) 48px 12px;gap:8px}.row-art{width:58px;height:58px}.prompt-row h3{font-size:1.08rem}.category-list{gap:14px 7px}.category-app-icon{border-radius:19px}.tool-row{gap:5px}.tool-button{min-height:54px}}

@media (min-width:700px) and (max-width:959px){.app-shell{width:min(100%,760px)}.bottom-nav{width:min(100%,760px)}.prompt-row{grid-template-columns:74px minmax(0,1fr) 56px 18px;min-height:88px}.row-art{width:74px;height:74px}.category-list{grid-template-columns:repeat(4,1fr)}.category-app-icon{width:92px;height:92px}.sheet{width:min(92%,760px)}}

@media (min-width:960px){
  body{padding:24px}.app-shell{width:min(1180px,calc(100vw - 48px));height:calc(100vh - 48px);min-height:720px;margin:0 auto;display:grid;grid-template-columns:410px minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;padding-bottom:0;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
  .hero{grid-column:1;grid-row:1/3;min-height:100%;height:100%;border-bottom:0;border-right:8px solid var(--ink);padding:22px}.hero-copy{max-width:92%;padding-top:62px}.hero-topline{right:0}.hero-art{width:100%;height:45%;top:auto;bottom:0;clip-path:polygon(0 12%,10% 5%,20% 12%,31% 4%,43% 13%,54% 6%,66% 12%,78% 4%,89% 11%,100% 5%,100% 100%,0 100%)}.hero-art::after{width:110px;height:110px}.hero-copy p{font-size:.9rem}h1{font-size:4.8rem}
  main{grid-column:2;grid-row:1;min-width:0;overflow:auto;padding:18px 22px 26px;scrollbar-gutter:stable}.controls,.feed{padding-left:0;padding-right:0}.search-box{height:66px}.primary-grid{grid-template-columns:1fr 1fr;max-width:560px}.prompt-list{gap:11px}.prompt-row{grid-template-columns:74px minmax(0,1fr) 58px 18px;min-height:88px;padding-right:16px}.row-art{width:74px;height:74px}.prompt-row h3{font-size:1.42rem}.footer{padding-bottom:20px}
  .bottom-nav{grid-column:2;grid-row:2;position:relative;left:auto;bottom:auto;transform:none;width:auto;margin:0 22px 20px;background:var(--ink);border-radius:20px;box-shadow:0 -4px 0 var(--yellow);padding:8px}.dock-item{min-height:60px}.favorite-count{right:26%}
  .sheet{left:calc(50% + 205px);width:min(680px,calc(100vw - 520px));max-height:86vh}.category-list{grid-template-columns:repeat(5,1fr);gap:18px 12px}.category-app-icon{width:88px;height:88px}.prompt-sheet{min-height:0}.prompt-sheet h2{font-size:3.8rem}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.001ms!important}.hero-art img,.resurrection-bg,.burst,.res-skull,.card-stack i{animation:none!important}}

/* v1.5 — Zero Friction / thumb-first pass */
.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}

/* Home: one obvious action, no duplicated labels */
.hero{min-height:230px}
.hero-copy{padding-top:44px}
.hero-copy p{font-size:.76rem;margin-top:10px;padding:2px 0 2px 9px;box-shadow:none}
.controls{padding:14px 12px 6px}
.discovery-row{display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:8px;align-items:stretch}
.search-box{height:58px;box-shadow:3px 4px 0 var(--ink);transform:none}
.category-shortcut{width:58px;min-height:58px;border:3px solid var(--ink);background:var(--paper-hi);display:grid;place-items:center;cursor:pointer;box-shadow:3px 4px 0 var(--ink)}
.category-shortcut:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.category-shortcut:focus-visible{outline:4px solid var(--yellow);outline-offset:2px}
.category-shortcut .grid-icon{grid-template-columns:repeat(2,9px);gap:4px}.category-shortcut .grid-icon i{width:9px;height:9px}
.surprise-primary{width:100%;min-height:66px;margin-top:10px;border:3px solid var(--ink);background:var(--yellow);color:var(--ink);font-family:var(--grotesk);font-size:1rem;text-transform:uppercase;display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer;box-shadow:4px 5px 0 var(--ink)}
.surprise-primary:active{transform:translate(3px,3px);box-shadow:1px 1px 0 var(--ink)}
.surprise-primary:focus-visible{outline:4px solid var(--paper-hi);outline-offset:-8px}

/* Linktree-like feed: visual identity in the thumbnail, not the whole row */
.feed{padding:8px 12px 4px}
.prompt-list{display:grid;gap:8px}
.prompt-row,.prompt-row:nth-child(4n+2),.prompt-row:nth-child(4n+3),.prompt-row:nth-child(4n){grid-template-columns:48px minmax(0,1fr) 48px 12px;gap:9px;min-height:64px;padding:6px 10px 6px 6px;background:var(--paper-hi);border:2px solid var(--ink);box-shadow:2px 3px 0 var(--ink);border-radius:0;transform:none}
.prompt-row:active{transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}
.row-art{width:48px;height:48px;border:2px solid var(--ink)}
.prompt-row h3{font-size:clamp(1.02rem,4.7vw,1.28rem);line-height:.98;letter-spacing:-.03em}
.favorite-row{width:48px;height:48px;min-width:48px;min-height:48px}
.row-chevron{width:9px;height:9px}
.empty-state{min-height:140px}

/* Bottom dock: Surprise is the obvious primary gesture */
.bottom-nav{grid-template-columns:1fr 1fr 1.16fr 1fr;gap:4px;padding:8px 8px calc(9px + var(--safe-bottom));box-shadow:0 -4px 0 var(--yellow)}
.dock-item{min-height:54px;border-radius:14px}
.dock-item svg{width:25px;height:25px}
.dock-surprise{width:66px;height:66px;min-height:66px;justify-self:center;align-self:end;transform:translateY(-10px);border:3px solid var(--ink);box-shadow:0 0 0 3px var(--yellow),3px 4px 0 var(--paper-hi);border-radius:21px}
.dock-surprise:active{transform:translateY(-7px) scale(.96)}
.dock-surprise.active{background:var(--yellow);color:var(--ink)}
.favorite-count{top:2px;right:12%}

/* iPhone-like category launcher */
.category-sheet{max-height:82dvh;padding-bottom:calc(24px + var(--safe-bottom))}
.category-sheet-head{justify-content:flex-end;padding:2px 12px 4px}
.category-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 6px;padding:4px 10px 22px}
.category-app{gap:6px}
.category-app-icon{width:min(18vw,70px);height:min(18vw,70px);border-radius:19px;border:2px solid var(--ink);box-shadow:2px 3px 0 var(--ink)}
.category-app span:last-child{font-size:.64rem;line-height:1.02;font-weight:800;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:1.3em}
.category-app:active .category-app-icon{transform:scale(.92)}

/* Prompt: actions stay in thumb reach, full text remains optional */
.prompt-sheet{min-height:58dvh;max-height:92dvh}
.prompt-sheet-body{padding:2px 14px calc(10px + var(--safe-bottom));display:flex;flex-direction:column;min-height:calc(58dvh - 58px)}
.prompt-sheet h2{font-size:clamp(2rem,9vw,3.4rem);margin:8px 0 12px;max-width:100%}
.full-prompt{order:2;margin:4px 0 12px;max-height:44dvh;overflow:auto;font-size:.78rem}
.prompt-actions{order:3;position:sticky;bottom:0;margin-top:auto;padding-top:8px;background:linear-gradient(180deg,rgba(9,9,9,0),var(--ink) 16%,var(--ink));z-index:4}
.try-button{min-height:68px;box-shadow:3px 4px 0 var(--paper-hi)}
.tool-row{gap:6px;margin:10px 0 0}.tool-button{min-height:54px}
.tool-button::after{display:none}
.toast{top:auto;bottom:calc(94px + var(--safe-bottom));font-size:.9rem;padding:11px 15px;box-shadow:4px 4px 0 var(--paper-hi)}

/* Rare tasks stay quiet */
.footer{padding:14px 12px 18px;font-size:.64rem;opacity:.86}
.footer-links{gap:8px;margin-top:6px}

@media (max-width:380px){
  .hero{min-height:214px}.hero-copy{padding-top:40px}h1{font-size:2.45rem}.hero-copy p{font-size:.72rem}
  .prompt-row,.prompt-row:nth-child(4n+2),.prompt-row:nth-child(4n+3),.prompt-row:nth-child(4n){grid-template-columns:44px minmax(0,1fr) 46px 10px;gap:7px;min-height:60px}.row-art{width:44px;height:44px}.prompt-row h3{font-size:1rem}
  .category-list{gap:14px 4px;padding-left:7px;padding-right:7px}.category-app-icon{width:min(18.5vw,64px);height:min(18.5vw,64px);border-radius:17px}.category-app span:last-child{font-size:.6rem}
  .dock-surprise{width:62px;height:62px;min-height:62px}
}

@media (min-width:700px) and (max-width:959px){
  .hero{min-height:250px}.controls,.feed{padding-left:16px;padding-right:16px}.prompt-row,.prompt-row:nth-child(4n+2),.prompt-row:nth-child(4n+3),.prompt-row:nth-child(4n){grid-template-columns:54px minmax(0,1fr) 50px 12px;min-height:70px}.row-art{width:54px;height:54px}.prompt-row h3{font-size:1.22rem}
  .category-list{grid-template-columns:repeat(5,1fr)}.category-app-icon{width:76px;height:76px}
}

@media (min-width:960px){
  .hero{min-height:100%}.controls{padding-top:6px}.discovery-row{grid-template-columns:minmax(0,1fr) 62px}.search-box{height:62px}.category-shortcut{width:62px;min-height:62px}.surprise-primary{min-height:72px;max-width:100%;font-size:1.05rem}
  .prompt-list{max-width:760px}.prompt-row,.prompt-row:nth-child(4n+2),.prompt-row:nth-child(4n+3),.prompt-row:nth-child(4n){grid-template-columns:52px minmax(0,1fr) 50px 12px;min-height:68px;padding-right:12px}.row-art{width:52px;height:52px}.prompt-row h3{font-size:1.22rem}
  .bottom-nav{grid-template-columns:repeat(4,1fr);padding:7px}.dock-surprise{width:62px;height:62px;min-height:62px;transform:translateY(-5px)}
  .category-list{grid-template-columns:repeat(6,1fr);gap:18px 10px}.category-app-icon{width:76px;height:76px}
  .prompt-sheet-body{min-height:auto}.prompt-actions{position:sticky}
}
/* v1.5b — remove duplicate category shortcut; dock owns navigation */
.discovery-row{display:block}.category-shortcut{display:none!important}
html{-webkit-text-size-adjust:100%}button,.prompt-row,a{touch-action:manipulation}.app-shell{overscroll-behavior-y:contain}

/* =========================================================
   v1.7 BOLD — Linktree readability + maximum contrast
   ========================================================= */
:root{
  --ink:#000000;
  --paper:#f4ecdc;
  --paper-hi:#fffdf6;
  --paper-low:#f4ecdc;
  --yellow:#f2b91f;
  --muted:#000000;
  --line:#000000;
}

html,body{color:var(--ink)}
.search-box input::placeholder{color:var(--ink);opacity:.72}
.footer,.footer a,.footer-links a,.footer-action,.empty-state{color:var(--ink);opacity:1}

/* Search / primary action */
.search-box{
  min-height:72px;
  height:72px;
  border:4px solid var(--ink);
  box-shadow:6px 7px 0 var(--ink);
}
.search-box input{
  font-size:1.25rem;
  font-weight:800;
  color:var(--ink);
}
.surprise-primary{
  min-height:82px;
  border:4px solid var(--ink);
  box-shadow:6px 7px 0 var(--ink);
  font-size:1.28rem;
  letter-spacing:-.02em;
}

/* Prompt listing = bold Linktree rows */
.prompt-list{gap:12px}
.prompt-row,
.prompt-row:nth-child(4n+2),
.prompt-row:nth-child(4n+3),
.prompt-row:nth-child(4n){
  grid-template-columns:60px minmax(0,1fr) 58px 18px;
  min-height:88px;
  gap:12px;
  padding:8px 14px 8px 8px;
  background:var(--paper-hi);
  border:4px solid var(--ink);
  box-shadow:5px 6px 0 var(--ink);
}
.prompt-row:nth-child(4n+3){box-shadow:5px 6px 0 var(--yellow)}
.row-art{
  width:60px;
  height:60px;
  border:3px solid var(--ink);
}
.prompt-row h3{
  font-family:var(--sans);
  font-size:clamp(1.32rem,5.8vw,1.65rem);
  line-height:1.02;
  letter-spacing:-.035em;
  font-weight:900;
  color:var(--ink);
}
.favorite-row{
  width:54px;
  height:54px;
}
.favorite-row svg{width:30px;height:30px;stroke-width:2.7}
.row-chevron{width:14px;height:14px;border-width:4px}

/* Categories = same low-friction Linktree language */
.category-sheet{
  background:var(--paper);
  border-top:8px solid var(--ink);
  max-height:90dvh;
}
.category-list{
  display:grid;
  grid-template-columns:1fr;
  gap:11px;
  padding:8px 14px 28px;
}
.category-app{
  position:relative;
  display:grid;
  grid-template-columns:68px minmax(0,1fr) 26px;
  align-items:center;
  justify-items:stretch;
  gap:14px;
  min-height:84px;
  padding:8px 14px 8px 8px;
  background:var(--paper-hi);
  border:4px solid var(--ink);
  box-shadow:5px 6px 0 var(--ink);
  text-align:left;
}
.category-app:nth-child(4n+2){box-shadow:5px 6px 0 var(--yellow)}
.category-app::after{
  content:"→";
  font-family:var(--grotesk);
  font-size:1.8rem;
  line-height:1;
  justify-self:end;
  color:var(--ink);
}
.category-app-icon{
  width:68px;
  height:68px;
  border-radius:0;
  border:3px solid var(--ink);
  box-shadow:none;
}
.category-app span:last-child{
  max-width:none;
  min-height:0;
  overflow:visible;
  display:block;
  font-family:var(--sans);
  font-size:clamp(1.28rem,5.3vw,1.55rem);
  line-height:1;
  letter-spacing:-.03em;
  font-weight:900;
  text-align:left;
  color:var(--ink);
}
.category-app:focus-visible{outline:5px solid var(--yellow);outline-offset:3px}
.category-app:focus-visible .category-app-icon{outline:0}
.category-app:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.category-app:active .category-app-icon{transform:none}

/* Sheet: big, bold, high contrast */
.prompt-sheet{
  background:var(--ink);
  color:var(--paper-hi);
  box-shadow:0 -10px 0 var(--yellow);
}
.prompt-sheet h2{
  display:block;
  width:100%;
  max-width:100%;
  margin:8px 0 14px;
  padding:10px 12px 12px;
  background:var(--paper-hi);
  color:var(--ink);
  font-family:var(--grotesk);
  font-size:clamp(2.55rem,11vw,4.8rem);
  line-height:.88;
  letter-spacing:-.055em;
  font-weight:900;
  text-transform:none;
}
.sheet-description{
  margin:0 0 18px;
  max-width:42rem;
  color:var(--paper-hi);
  font-family:var(--sans);
  font-size:clamp(1.15rem,4.8vw,1.42rem);
  font-weight:900;
  line-height:1.18;
  -webkit-line-clamp:2;
}
.try-button{
  min-height:78px;
  border:4px solid var(--paper-hi);
  background:var(--yellow);
  color:var(--ink);
  font-family:var(--grotesk);
  font-size:1.35rem;
  font-weight:900;
  box-shadow:5px 6px 0 var(--paper-hi);
}
.tool-row{gap:8px}
.tool-button{
  min-height:66px;
  border:3px solid var(--paper-hi);
  color:var(--paper-hi);
}
.tool-button svg{width:31px;height:31px}
.icon-button.inverse{
  width:56px;
  height:56px;
  border:4px solid var(--paper-hi);
  color:var(--paper-hi);
  font-size:2rem;
  font-weight:900;
}
.full-prompt{
  font-size:1rem;
  line-height:1.45;
  background:var(--paper-hi);
  color:var(--ink);
  border:4px solid var(--yellow);
  padding:16px;
}

/* Bottom nav stays obvious */
.bottom-nav{box-shadow:0 -6px 0 var(--yellow);padding-top:10px}
.dock-item{min-height:64px;border-radius:14px}
.dock-item svg{width:31px;height:31px;stroke-width:2.6}
.dock-surprise{
  width:74px;
  height:74px;
  min-height:74px;
  border:4px solid var(--ink);
  box-shadow:0 0 0 4px var(--yellow),4px 5px 0 var(--paper-hi);
}

/* Tablet */
@media (min-width:700px) and (max-width:959px){
  .prompt-row,
  .prompt-row:nth-child(4n+2),
  .prompt-row:nth-child(4n+3),
  .prompt-row:nth-child(4n){
    grid-template-columns:68px minmax(0,1fr) 62px 20px;
    min-height:96px;
  }
  .row-art{width:68px;height:68px}
  .prompt-row h3{font-size:1.65rem}
  .category-list{grid-template-columns:1fr 1fr;gap:14px}
  .category-app{min-height:92px}
  .category-app span:last-child{font-size:1.42rem}
}

/* Desktop: still simple, but physically larger */
@media (min-width:960px){
  main{padding:24px 28px 30px}
  .search-box{height:78px}
  .search-box input{font-size:1.35rem}
  .surprise-primary{min-height:88px;font-size:1.35rem}
  .prompt-list{max-width:none;gap:14px}
  .prompt-row,
  .prompt-row:nth-child(4n+2),
  .prompt-row:nth-child(4n+3),
  .prompt-row:nth-child(4n){
    grid-template-columns:76px minmax(0,1fr) 64px 22px;
    min-height:102px;
    padding:10px 18px 10px 10px;
  }
  .row-art{width:76px;height:76px}
  .prompt-row h3{font-size:1.7rem}
  .favorite-row{width:58px;height:58px}.favorite-row svg{width:32px;height:32px}
  .category-list{grid-template-columns:1fr 1fr;gap:15px;padding:14px 18px 30px}
  .category-app{min-height:100px;grid-template-columns:76px minmax(0,1fr) 28px}
  .category-app-icon{width:76px;height:76px}
  .category-app span:last-child{font-size:1.5rem}
  .prompt-sheet h2{font-size:clamp(3.6rem,5.5vw,5rem)}
  .sheet-description{font-size:1.38rem}
  .try-button{font-size:1.45rem;min-height:84px}
  .tool-button{min-height:70px}
}

@media (max-width:380px){
  .prompt-row,
  .prompt-row:nth-child(4n+2),
  .prompt-row:nth-child(4n+3),
  .prompt-row:nth-child(4n){
    grid-template-columns:54px minmax(0,1fr) 52px 16px;
    min-height:82px;
  }
  .row-art{width:54px;height:54px}
  .prompt-row h3{font-size:1.22rem}
  .category-app{grid-template-columns:60px minmax(0,1fr) 24px;min-height:80px}
  .category-app-icon{width:60px;height:60px}
  .category-app span:last-child{font-size:1.2rem}
  .sheet-description{font-size:1.08rem}
}

/* v1.7 readability final pass */
.hero-copy p{
  font-size:clamp(.98rem,3.8vw,1.1rem);
  font-weight:900;
  line-height:1.12;
  max-width:290px;
}
.footer{
  font-size:.8rem;
  font-weight:800;
  opacity:1;
}
.footer-links a,.footer-action{font-weight:900}
@media (min-width:700px){
  .category-list{grid-template-columns:1fr;max-width:760px;margin:0 auto}
}

/* =========================================================
   v1.8 — CAPS / BOLD / CREDITS PASS
   ========================================================= */

/* Decision text is loud. Secondary explanatory text stays readable. */
.search-box input,
.surprise-primary,
.prompt-row h3,
.category-app span:last-child,
.prompt-sheet h2,
.try-button,
.home-credit,
.footer-credit,
.footer-links,
.footer-action,
.toast,
.shuffle-title{
  font-family:var(--grotesk);
  font-weight:900;
}

.search-box input,
.prompt-row h3,
.category-app span:last-child,
.prompt-sheet h2,
.surprise-primary,
.try-button,
.home-credit,
.footer-credit,
.footer-links a,
.footer-action{
  text-transform:uppercase;
}

/* Search and primary action */
.search-box input{
  font-size:clamp(1.25rem,5vw,1.55rem);
  letter-spacing:.01em;
}
.search-box input::placeholder{color:var(--ink);opacity:1;font-weight:900}
.surprise-primary{
  min-height:86px;
  font-size:clamp(1.45rem,6vw,1.9rem);
  letter-spacing:-.035em;
}

/* Home credit: visible identity, not legal fine print */
.home-credit{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  margin-top:14px;
  padding:11px 14px;
  background:var(--ink);
  color:var(--paper-hi);
  border:4px solid var(--ink);
  box-shadow:5px 6px 0 var(--yellow);
  text-decoration:none;
  font-size:clamp(1rem,4.4vw,1.22rem);
  line-height:1;
  letter-spacing:-.02em;
}
.home-credit span{font-size:1.35em;line-height:1}
.home-credit:focus-visible{outline:5px solid var(--yellow);outline-offset:3px}
.home-credit:active{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--yellow)}

/* Linktree listing: title is the interface */
.prompt-row,
.prompt-row:nth-child(4n+2),
.prompt-row:nth-child(4n+3),
.prompt-row:nth-child(4n){
  min-height:94px;
  border-width:4px;
}
.prompt-row h3{
  font-size:clamp(1.48rem,6.2vw,1.9rem);
  line-height:.93;
  letter-spacing:-.045em;
  overflow-wrap:anywhere;
}

/* Category navigation uses the same loud visual language */
.category-app{min-height:92px}
.category-app span:last-child{
  font-family:var(--grotesk);
  font-size:clamp(1.45rem,6vw,1.85rem);
  line-height:.94;
  letter-spacing:-.04em;
}

/* Prompt sheet: huge title, one readable sentence, huge action */
.prompt-sheet h2{
  font-size:clamp(2.8rem,12vw,5.2rem);
  line-height:.84;
  letter-spacing:-.065em;
  text-transform:uppercase;
}
.sheet-description{
  font-family:var(--sans);
  font-size:clamp(1.18rem,5vw,1.5rem);
  font-weight:800;
  line-height:1.18;
  color:var(--paper-hi);
}
.try-button{
  min-height:84px;
  font-size:clamp(1.5rem,6vw,2rem);
  line-height:.95;
  letter-spacing:-.035em;
}
.tool-button{min-height:68px;border-width:4px}

/* Credits and downloads stay clearly legible */
.footer{
  padding:24px 14px 28px;
  color:var(--ink);
  font-size:1rem;
  font-weight:900;
}
.footer-credit{
  display:inline-grid;
  gap:3px;
  text-decoration:none;
  font-size:clamp(1.05rem,4.3vw,1.28rem);
  line-height:1;
  letter-spacing:-.025em;
}
.footer-credit strong{font:inherit}
.footer-credit span{font-size:.92em}
.footer-credit:focus-visible{outline:4px solid var(--yellow);outline-offset:5px}
.footer-links{
  margin-top:14px;
  gap:14px;
  font-size:1rem;
}
.footer-links a,.footer-action{
  color:var(--ink);
  text-decoration-thickness:2px;
  text-underline-offset:3px;
}

/* Maximum contrast: no soft gray for essential interface copy. */
.hero-copy p,
.empty-state,
.full-prompt,
.footer,
.footer a,
.footer-action{opacity:1}
.hero-copy p{color:var(--ink);font-size:clamp(1.05rem,4.2vw,1.22rem);font-weight:900}

/* Mobile: large text survives the smallest width. */
@media (max-width:380px){
  .prompt-row,
  .prompt-row:nth-child(4n+2),
  .prompt-row:nth-child(4n+3),
  .prompt-row:nth-child(4n){min-height:88px;grid-template-columns:54px minmax(0,1fr) 52px 15px}
  .prompt-row h3{font-size:1.34rem}
  .category-app span:last-child{font-size:1.34rem}
  .home-credit{font-size:.98rem}
  .footer-credit{font-size:1rem}
}

/* Desktop: do not let a large screen make the typography timid. */
@media (min-width:960px){
  .search-box input{font-size:1.55rem}
  .surprise-primary{font-size:1.8rem;min-height:94px}
  .home-credit{font-size:1.25rem;min-height:64px}
  .prompt-row,
  .prompt-row:nth-child(4n+2),
  .prompt-row:nth-child(4n+3),
  .prompt-row:nth-child(4n){min-height:112px}
  .prompt-row h3{font-size:2rem}
  .category-app{min-height:108px}
  .category-app span:last-child{font-size:1.85rem}
  .sheet-description{font-size:1.5rem}
  .footer-credit{font-size:1.3rem}
}


/* =========================================================
   MOBILE SCROLL FIX — iOS / Android
   Keeps the document scrollable and lets sheets own their scroll.
   ========================================================= */
@media (max-width:959px){
  html{
    min-height:100%;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:auto;
  }
  body{
    min-height:100dvh;
    height:auto;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .app-shell{
    min-height:100dvh;
    height:auto;
    overflow:visible;
    overscroll-behavior-y:auto;
  }
  main{
    overflow:visible;
    min-height:0;
  }
  .sheet{
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
  .category-sheet,.prompt-sheet{
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
  }
}

/* Lock only the page behind an open sheet. app.js preserves/restores scrollY. */
body.sheet-open{
  position:fixed;
  left:0;
  right:0;
  width:100%;
  overflow:hidden!important;
}
body.sheet-open .sheet{
  touch-action:pan-y;
}
