/* Mobile interface adaptation. Original SEEDY artwork, colors and surfaces live in styles.css. */
body[data-entry=game]{padding-bottom:100px;min-height:100dvh;background:var(--bg)}
body[data-entry=game]>.topbar{max-width:580px;margin:auto;height:68px;padding:12px 18px;gap:12px;position:sticky;top:0;z-index:8;background:#111319f5}
body[data-entry=game]>main{max-width:580px;padding:18px 16px 12px}.desktop-nav{display:none}.wallet{gap:12px}.balance small{display:none}.brand{font-size:28px}
.room-heading{gap:12px;margin-bottom:18px}.room-heading h1{font-size:25px}.job-chip{padding:10px;gap:6px}.job-chip small,.job-chip>span:last-child{display:none}.job-chip b{font-size:12px}
.grow-layout{display:flex;flex-direction:column;gap:16px}.specimen-header{padding:20px 18px 0;gap:10px}.specimen-header h2{font-size:26px}.specimen-header p{font-size:13px}.rarity{white-space:nowrap}.stage{height:310px;min-height:310px;flex:none}.plant-art{width:min(340px,90%);aspect-ratio:1}.stage-status{bottom:12px}.previous{left:10px}.next{right:10px}.stage-telemetry{pointer-events:none;font-size:10px}.condition-banner{margin-inline:18px;padding:9px 12px}.condition-banner span{font-size:12px}.specimen-footer,.stat-footnote{display:none}
.quick-care{display:grid;grid-template-columns:.7fr .7fr 1.6fr;gap:8px;padding:4px 14px 16px}.quick-care>button{min-height:46px;border:1px solid var(--border);border-radius:8px;background:#202530;font-size:13px}.quick-care .main-action{background:var(--lime);color:#25311c;justify-content:center;gap:6px;padding:8px}.quick-care .main-action span{font-size:13px}.slot-navigation{gap:6px;padding:12px 8px}.slot-navigation button{width:32px;height:32px;min-width:0}
.care-column{display:flex;flex-direction:column;gap:16px}.care-panel,.genes-panel,.customize-panel{padding:18px}.care-panel .specimen-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px;padding:12px 0}.specimen-stats>div{font-size:12px}.specimen-stats b{font-size:17px}.meter-card>div:first-child{font-size:13px}.meter-card button{min-height:44px;font-size:14px}.meter-card button small{font-size:11px}.water-reserve,.action-note,.weather div>span,.genes-panel>p{font-size:12px}.primary,.secondary{min-height:44px}.growth-heading,.line-picker{font-size:14px}.collection-strip{display:none}
.mobile-nav{display:flex;position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,580px);min-height:76px;height:auto;padding:8px 4px calc(8px + env(safe-area-inset-bottom));z-index:9;background:#161a22f5;border-top:1px solid #393747;backdrop-filter:blur(16px);justify-content:space-around;border-radius:0}.mobile-nav button{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:52px;font-size:11px;color:var(--muted);border-radius:0;border-top:2px solid transparent}.mobile-nav button.active{color:var(--lime);background:transparent;border-top-color:var(--purple)}.mobile-nav svg{width:21px;height:21px}
.collection-screen h2{font-size:29px}.collection-page-head{margin-bottom:18px}.collection-page-head button{font-size:12px;padding:8px}.collection-screen .modal-intro{font-size:14px}.collection-screen .seed-grid,.seed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.collection-screen .seed-card{padding:14px}.collection-screen .seed-card h3{font-size:18px;line-height:1.2}.collection-screen .seed-card small,.collection-screen .seed-card p{font-size:12px}.collection-screen .seed-art{width:100%;height:130px}.inspect-seed{display:block;border:0;background:none;padding:0;cursor:zoom-in}.seed-card .spare-seed{font-size:12px;min-height:38px}.seed-attributes span{font-size:10px}.line-picker{display:block}.line-picker select{width:100%;margin-top:8px;min-height:44px}.quality-tabs button{min-height:44px;font-size:13px}.line-note,.notice{font-size:13px}.inventory-row{font-size:14px;align-items:center}.inventory-row small{font-size:12px}.inventory-row .secondary{font-size:12px;white-space:nowrap}
.family-tabs{display:flex;gap:7px;overflow-x:auto;padding:4px 0 12px;margin:14px 0 8px;scrollbar-width:thin}.family-tabs button{flex-shrink:0;min-height:40px;padding:8px 12px;border-radius:8px;border:1px solid var(--border);font-size:12px;color:var(--muted)}.family-tabs [aria-pressed=true]{background:#30283f;color:#d5c4f7;border-color:#79608e}
.seed-detail-art{width:min(320px,100%);height:300px;margin:auto}.seed-detail-art .seed-token>span{font-size:12px}dialog{width:min(500px,calc(100% - 20px));padding:20px}.cosmetic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.soil-option{flex-wrap:wrap}.soil-option button{width:100%}.job-grid{grid-template-columns:1fr}.job-card p{min-height:0}.guide-list{font-size:14px}.button-row{flex-wrap:wrap}.button-row>*{min-width:130px}footer{gap:10px;flex-wrap:wrap}footer button{font-size:12px;min-height:36px}#toast{bottom:94px;font-size:14px;max-width:520px;width:calc(100% - 32px)}
@media(max-width:359px){.room-heading h1{font-size:22px}.job-chip b{font-size:10px}.specimen-header h2{font-size:23px}.collection-screen .seed-grid{grid-template-columns:1fr}.slot-navigation{gap:3px}.slot-navigation button{width:28px}.mobile-nav button{font-size:10px}}
