:root{font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif;color:#123a31;background:#e7efe7;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}button{font:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46}.app-shell{max-width:1480px;margin:auto;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:8px clamp(14px,3vw,38px);background:#143e35;color:#fff;box-shadow:0 4px 18px #173f3517;z-index:2;gap:12px}.brand{display:flex;align-items:center;gap:12px;min-width:0}.brand-mark{width:47px;height:47px;display:grid;place-items:center;background:#fff3d2;border-radius:14px;font-size:27px;box-shadow:inset 0 -4px #e7d7a8}.brand h1{font-size:clamp(16px,2vw,25px);line-height:1.1;margin:0;letter-spacing:.03em;white-space:nowrap}.brand h1 span{color:#ffce67}.eyebrow{margin:0 0 3px;font-size:10px;font-weight:800;letter-spacing:.18em;color:#b9d9c0}.header-actions{display:flex;gap:7px}.header-actions button{border:1px solid #ffffff34;color:#fff;background:#ffffff13;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:4px;padding:8px 10px;font-weight:800;font-size:18px;min-width:50px;min-height:42px}.header-actions button span{font-size:11px}.header-actions button:hover,.header-actions button:focus-visible{background:#ffffff27}main{width:100%;padding:14px clamp(10px,2.7vw,36px) 12px;flex:1}.game-wrap{border:1px solid #bbcfbe;border-radius:23px;overflow:hidden;background:#f9fbf3;box-shadow:0 15px 45px #234c321e}.game-header{display:flex;align-items:stretch;background:#fffdf7;border-bottom:1px solid #dce7d8;min-height:67px}.status{padding:12px 20px;display:flex;flex-direction:column;justify-content:center;border-right:1px solid #e5eade;min-width:0}.status>span{font-size:10px;color:#758a74;font-weight:800;letter-spacing:.05em}.status strong{font-size:20px;line-height:1.15;white-space:nowrap}.money-status{min-width:178px}.money-status strong{color:#bd6926}.bag-status{min-width:140px}.stage-status{border:0;flex:1}.stage-status strong{font-size:14px}.canvas-shell{position:relative;background:#aed48e;overflow:hidden}#gameCanvas{display:block;width:100%;height:min(72dvh,720px);min-height:400px;touch-action:none;cursor:crosshair}.map-controls{position:absolute;right:14px;bottom:14px;display:flex;gap:7px}.map-controls button{border:1px solid #cadbc5;background:#fffefaef;border-radius:13px;box-shadow:0 3px 13px #21412b26;color:#174235;font-size:20px;line-height:1;min-width:68px;min-height:54px;font-weight:900}.map-controls button span{display:block;margin-top:3px;font-size:10px}.map-controls button:hover,.map-controls button:focus-visible{background:#fff3c7}.game-footer{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 20px;background:#fffdf7}.hint{margin:0;font-size:14px;font-weight:800;color:#1c6149}.hint:before{content:"✦";color:#e0a53b;margin-right:7px}.request-pill{margin:0;border-radius:12px;background:#f1f5e9;padding:8px 12px;display:flex;align-items:center;gap:12px;font-size:12px}.request-pill>span{color:#667a6a}.request-pill strong{font-size:13px}.page-note{text-align:center;color:#5a7467;font-size:12px;letter-spacing:.03em;margin:10px 0 0}.toast{position:fixed;top:88px;left:50%;transform:translate(-50%,-10px);z-index:20;border-radius:999px;padding:11px 20px;background:#173e32;color:#fff;font-size:14px;font-weight:800;box-shadow:0 10px 30px #173c3677;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.sheet:not(.open){display:none}.sheet.open{position:fixed;z-index:30;left:50%;bottom:20px;transform:translateX(-50%);width:min(540px,calc(100vw - 24px));max-height:min(76dvh,730px);overflow:hidden;border:1px solid #d5e2d2;border-radius:22px;background:#fffefa;box-shadow:0 20px 80px #103b3366;display:flex;flex-direction:column}.sheet-grip{width:46px;height:5px;background:#cbd8c9;border-radius:99px;margin:9px auto 0;flex:none}.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 13px;border-bottom:1px solid #e7ece4;flex:none}.sheet-head h2{margin:0;font-size:20px;color:#194537}.sheet-head button{border:0;background:#e9efe8;color:#45664f;border-radius:50%;width:32px;height:32px;font-size:23px;line-height:1}.sheet-body{overflow:auto;padding:18px 20px 24px}.sheet-lead{line-height:1.7;color:#55705e;font-size:13px;margin:0 0 14px}.crop-grid,.book-grid{display:grid;gap:9px}.crop-option{display:flex;align-items:center;text-align:left;gap:12px;width:100%;border:1px solid #d7e6d2;background:#f8fbf4;border-radius:14px;min-height:67px;padding:10px 13px;color:#1c4c35}.crop-option:not(:disabled):hover,.crop-option:not(:disabled):focus-visible{background:#ecf7e7;border-color:#84b982}.crop-option .crop-emoji{font-size:28px;width:36px;text-align:center}.crop-option span:nth-child(2){flex:1}.crop-option strong,.crop-option small{display:block}.crop-option small{color:#70826f;font-size:11px;margin-top:3px}.crop-option b{color:#b56a28}.book-card,.album-card{display:flex;gap:12px;align-items:flex-start;padding:11px 12px;border:1px solid #e1e8db;border-radius:13px;background:#f8faf3}.book-card>span,.album-card>span{font-size:25px;min-width:32px}.book-card>div{flex:1}.book-card b,.album-card b{display:block;font-size:14px;color:#234936}.book-card small,.album-card small{display:block;margin-top:4px;color:#617669;font-size:11px;line-height:1.6}.album-card{display:block}.album-card>span{float:left;margin-right:9px}.book-tabs{display:flex;gap:7px;margin-bottom:12px}.book-tabs button{border:1px solid #d7e3d3;background:#f4f7ef;border-radius:10px;padding:8px 14px;font-weight:800;color:#38614a}.book-tabs button[aria-current="page"]{background:#245d45;color:#fff}.ending-sheet.open{width:min(620px,calc(100vw - 20px))}.ending-art{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:32px;font-weight:900;color:#276247;background:#e5f1dc;border-radius:16px;padding:12px;margin-bottom:15px;overflow:hidden}.ending-art span{font-size:13px}.ending-snapshot{width:100%;display:block;max-height:250px;object-fit:cover;border-radius:10px}.ending-credits{border-top:1px solid #e5ebdf;padding-top:11px;font-size:11px;line-height:1.8;color:#819080;text-align:center}.ending-actions{display:flex;gap:8px;flex-wrap:wrap}.ending-actions button,.sheet .primary,.sheet [data-confirm]{border:1px solid #c6d8be;background:#eef5e9;border-radius:10px;padding:10px 14px;color:#295438;font-size:13px;font-weight:900}.ending-actions .primary,.sheet .primary{background:#e6a53a;border-color:#d5972e;color:#252b18}.sheet .wide{width:100%}.help-steps{font-size:13px;line-height:1.7;color:#315844}.help-steps p{padding:8px 0;border-bottom:1px solid #e9efe6;margin:0}.sheet button:focus-visible,.topbar button:focus-visible,.map-controls button:focus-visible{outline:3px solid #f5c052;outline-offset:2px}@media(max-width:700px){.topbar{height:60px;padding:5px 10px}.brand{gap:7px}.brand-mark{width:35px;height:35px;font-size:20px;border-radius:9px}.brand h1{font-size:15px}.eyebrow{font-size:8px}.header-actions{gap:3px}.header-actions button{min-width:34px;min-height:35px;padding:5px;font-size:15px}.header-actions button span{display:none}main{padding:7px 5px 0}.game-wrap{border-radius:12px}.game-header{min-height:54px}.status{padding:8px 10px}.status>span{font-size:9px}.status strong{font-size:14px}.money-status{min-width:115px}.bag-status{min-width:92px}.stage-status strong{font-size:11px;white-space:normal}.map-controls{right:8px;bottom:8px}.map-controls button{min-width:55px;min-height:46px;font-size:17px}.map-controls button span{font-size:9px}#gameCanvas{height:calc(100dvh - 205px);min-height:360px}.game-footer{padding:8px 10px;min-height:68px;display:block}.hint{font-size:12px}.request-pill{margin-top:6px;padding:5px 8px;gap:7px;font-size:10px;display:inline-flex}.request-pill strong{font-size:11px}.page-note{font-size:10px;margin:5px 8px}.toast{top:66px;width:max-content;max-width:calc(100vw - 24px);text-align:center;font-size:12px}.sheet.open{bottom:0;max-height:80dvh;width:100%;border-radius:20px 20px 0 0}.sheet-body{padding:13px 15px 26px}.sheet-head{padding:8px 15px 11px}.sheet-head h2{font-size:17px}.crop-grid{grid-template-columns:1fr 1fr}.crop-option{min-height:73px;padding:7px 8px;gap:6px}.crop-option .crop-emoji{font-size:23px;width:26px}.crop-option strong{font-size:11px}.crop-option small{font-size:9px}.crop-option b{font-size:10px}.ending-snapshot{max-height:180px}}@media(max-width:370px){.brand h1{font-size:13px}.brand-mark{display:none}.status{padding:7px}.money-status{min-width:93px}.bag-status{min-width:79px}.status strong{font-size:12px}}
@media(max-width:700px){.topbar{height:64px}.brand-mark{display:none}.header-actions button{min-width:44px;min-height:44px}}
@media(max-width:370px){.brand h1{font-size:12px;white-space:normal;max-width:150px;line-height:1.08}}
/* A picture-first interface, with words retained only for assistive technology. */
.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}
.icon{display:inline-block;width:30px;height:30px;flex:none;vertical-align:middle;overflow:visible;color:inherit}.crop-picture{width:52px;height:52px;filter:drop-shadow(0 2px 1px #24473215)}.portrait{width:44px;height:44px;overflow:hidden;flex:none;filter:drop-shadow(0 2px 1px #24473218)}
.brand-mark{display:grid;width:50px;height:50px;border-radius:16px}.brand-mark>.icon{width:42px;height:42px}.brand-garden{display:flex;align-items:center;gap:5px;color:#d4e4c4}.brand-garden .icon{width:35px;height:35px}.brand-garden .brand-plus>.icon{width:16px;height:16px;opacity:.5}.header-actions button{width:48px;height:48px;min-height:48px;border-radius:14px;padding:8px}.header-actions .icon{width:29px;height:29px}
.game-header{min-height:72px}.status{padding:10px 18px;flex-direction:row;align-items:center;gap:10px}.status>.status-symbol{display:flex;letter-spacing:0;color:#587354}.status>.status-symbol .icon{width:34px;height:34px}.status strong{font-size:22px;font-weight:850;font-variant-numeric:tabular-nums}.money-status{min-width:170px}.money-status strong{color:#aa742f}.bag-status{min-width:157px}.stage-status{gap:9px;padding-right:12px}.stage-status strong{font-size:17px;display:flex;align-items:center;gap:0}.character-strip{display:flex;align-items:center;flex-wrap:wrap;gap:3px}.character-strip .portrait{width:39px;height:45px;margin-right:-5px}.member-count{display:inline-grid;place-items:center;min-width:36px;height:27px;margin-left:10px;border-radius:9px;padding:0 4px;white-space:nowrap;background:#eaf1df;color:#47704a;font-size:14px}
.map-controls button{display:grid;place-items:center;min-width:56px;min-height:56px;padding:10px;border-radius:16px}.map-controls button .icon{width:30px;height:30px}.game-footer{min-height:72px;gap:10px;padding:10px 16px}.hint:before{content:none}.hint{display:flex;align-items:center;min-height:36px}.pictogram-flow{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;vertical-align:middle}.pictogram-flow>.icon{width:32px;height:32px}.pictogram-flow>.icon:nth-child(even){width:21px;height:21px;color:#8a9a75}.pictogram-flow .portrait{width:37px;height:40px}.pictogram-flow .crop-picture{width:34px;height:34px}.request-pill{padding:6px 10px;gap:5px;min-height:46px}.request-pill>.demand-symbol{color:#77a04d}.request-pill strong{display:flex;align-items:center;gap:6px;font-size:14px}.request-pill .crop-picture{width:30px;height:30px}.request-pill .icon{width:23px;height:23px}.demand-progress,.premium-crop{display:inline-flex;align-items:center;gap:4px}.premium-crop{border-left:1px solid #d4dfcb;padding-left:7px}.premium-crop>.icon{width:19px;height:19px}.page-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 0 0;opacity:.72}.page-note .icon{width:22px;height:22px}.page-note i{height:17px;width:1px;background:#c4d3bf;margin:0 13px}
.toast{padding:10px 16px;max-width:calc(100vw - 20px);border:1px solid #ffffff25}.toast .pictogram-flow{gap:8px}.toast .icon{width:30px;height:30px}.toast .portrait{width:42px;height:43px}
.sheet.open{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 30px);bottom:15px;border-radius:24px}.sheet-head{padding:10px 18px;min-height:60px}.sheet-head h2{display:flex;align-items:center;gap:8px;line-height:1;margin:0}.sheet-head h2 .icon{width:35px;height:35px}.sheet-head button{width:44px;height:44px;display:grid;place-items:center}.sheet-head button .icon{width:23px;height:23px}.sheet-body{padding:14px 18px 20px}.sheet-lead{display:flex;justify-content:center;align-items:center;margin:0 0 12px;line-height:1.3}.sheet .primary,.sheet [data-confirm],.ending-actions button{min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:9px 16px;font-size:18px}.sheet .primary .icon{width:29px;height:29px}
.header-actions{flex-shrink:0}
.price-chip,.metric-chip{display:inline-flex;align-items:center;gap:4px;font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.price-chip{color:#a9762c;background:#fbf0d3;border-radius:99px;padding:3px 8px}.price-chip .icon{width:20px;height:20px}.metric-chip{color:#5f7860}.metric-chip .icon{width:18px;height:18px}.metric-chip b,.price-chip b{font-weight:800}.dot-levels{display:inline-flex;gap:5px;align-items:center}.dot-levels span{display:block;width:10px;height:10px;border-radius:50%;background:#dde7d7;box-shadow:inset 0 0 0 1px #cbdac5}.dot-levels span.on{background:#7eaa62;box-shadow:inset 0 0 0 1px #699452}
.visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.visual-card{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:115px;background:#f4f8ed;border:1px solid #d6e3cd;border-radius:16px;padding:12px;color:#3b6149}.visual-card>.icon{width:47px;height:47px}.visual-card .pictogram-flow{gap:8px}.visual-caption{display:flex;align-items:center;justify-content:center;gap:8px;margin:0}.site-grid{display:inline-grid;grid-template-columns:repeat(2,12px);gap:3px}.site-grid i{width:12px;height:12px;background:#d6e2c5;border:1px dashed #8eaa78;border-radius:3px}
.crop-sheet.open{width:min(980px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}.crop-sheet .sheet-body{padding:10px 12px 14px}.crop-sheet .sheet-lead{margin-bottom:9px}.crop-sheet .sheet-lead .icon{width:26px;height:26px}.crop-grid,.crop-sheet .crop-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.crop-option,.crop-sheet .crop-option{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:115px;padding:8px 6px;border:1px solid #d4e1cc;border-radius:15px;background:#f7faf1;color:#365b43;text-align:center;transition:background .12s,transform .12s}.crop-option:not(:disabled):hover,.crop-option:not(:disabled):focus-visible{background:#eaf4df;border-color:#93b581}.crop-option:not(:disabled):active{transform:scale(.97)}.crop-option>span:nth-child(2){flex:none}.crop-visual{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px}.crop-visual .crop-picture{width:52px;height:52px}.crop-visual>.icon:not(.crop-picture){width:44px;height:44px}.crop-metrics{display:flex;align-items:center;justify-content:center;gap:7px}.crop-metrics .metric-chip{font-size:11px;gap:2px}.crop-metrics .metric-chip .icon{width:14px;height:14px}.crop-option .price-chip{font-size:12px;padding:3px 7px}.crop-option .price-chip .icon{width:16px;height:16px}.crop-option:disabled{filter:saturate(.5)}
.market-sheet .crop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.market-sheet .crop-option{margin-bottom:0;min-height:150px}.market-heading{display:flex;justify-content:center;gap:10px;margin:15px 0 10px}.market-heading .icon{width:28px;height:28px}.market-inventory{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}.market-inventory>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:9px;border-radius:13px;background:#f2f6eb}.inventory-item{display:inline-flex;align-items:center;gap:3px;border-radius:9px;background:#fffef8;padding:3px 6px;font-size:12px}.inventory-item .crop-picture{width:30px;height:30px}.inventory-item .icon:not(.crop-picture){width:18px;height:18px}.upgrade-change{display:flex;align-items:center;justify-content:center;min-height:21px;font-size:14px;font-weight:750;color:#6b8757}.upgrade-change>.icon{width:20px;height:20px}.shipping-card{width:100%;min-height:85px}.shipping-card .pictogram-flow>.icon{width:37px;height:37px}.shipping-card .pictogram-flow>.icon:nth-child(even){width:22px;height:22px}
.book-tabs{justify-content:center;margin-bottom:15px}.book-tabs button{min-width:65px;min-height:46px;display:grid;place-items:center;padding:6px 16px}.book-tabs button .icon{width:29px;height:29px}.book-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.collection-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:135px;border:1px solid #d9e4d1;background:#f5f8ef;border-radius:16px;padding:12px 6px}.collection-card>.crop-picture{width:64px;height:64px}.collection-card>.portrait{width:76px;height:80px}.collection-card>.icon:not(.crop-picture):not(.portrait){width:42px;height:42px;color:#a5b299}.collection-metrics{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap}.collection-metrics .metric-chip{font-size:11px;gap:2px}.collection-metrics .icon{width:17px;height:17px}.collection-card.locked{background:#eef2e9;opacity:.65}.album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.milestone-card{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;border-radius:17px;background:#f4f7ec;border:1px solid #dbe5d2;min-height:90px}.milestone-card .pictogram-flow{gap:6px}
.tutorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tutorial-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:142px;padding:13px 10px;border-radius:17px;border:1px solid #d9e5d0;background:#f4f8eb}.tutorial-card .pictogram-flow{gap:8px}.tutorial-card .pictogram-flow>.icon{width:39px;height:39px}.tutorial-card .pictogram-flow>.icon:nth-child(even){width:22px;height:22px}.tutorial-card .portrait{width:42px;height:47px}.tutorial-card .crop-picture{width:40px;height:40px}.tutorial-number{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e3ebd6;color:#55734b;font-size:12px;font-weight:800}.tutorial-footer{margin-top:13px;display:flex;justify-content:center;gap:10px}.tutorial-footer .icon{width:30px;height:30px}
.ending-sheet.open{width:min(740px,calc(100vw - 24px))}.ending-art{gap:12px;background:linear-gradient(135deg,#f7efcf,#d6e9c8);padding:16px;border-radius:20px}.ending-art>.icon{width:73px;height:73px}.ending-art .character-strip{justify-content:center}.ending-art .portrait{width:49px;height:57px;margin:0}.ending-snapshot{max-height:270px}.ending-actions{justify-content:center;gap:9px}.ending-actions button{min-width:62px}
@media(max-width:900px){.crop-grid,.crop-sheet .crop-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.status{padding:10px 12px}.money-status{min-width:153px}.bag-status{min-width:139px}.character-strip .portrait{width:34px;height:40px}}
@media(max-width:700px){.topbar{height:64px;padding:7px 12px;gap:9px}.brand{gap:8px}.brand-mark{display:grid;width:44px;height:44px;border-radius:13px}.brand-mark>.icon{width:37px;height:37px}.brand-garden{gap:2px}.brand-garden .icon{width:28px;height:28px}.brand-garden .brand-plus>.icon{width:12px;height:12px}.header-actions{gap:5px}.header-actions button{width:44px;height:44px;min-width:44px;min-height:44px;padding:7px}.header-actions .icon{width:27px;height:27px}.game-header{min-height:58px}.status{padding:7px 8px;gap:5px}.status>.status-symbol .icon{width:26px;height:26px}.status strong{font-size:16px}.money-status{min-width:113px}.bag-status{min-width:105px}.stage-status{gap:3px;justify-content:center;flex:1}.stage-status>.status-symbol{display:none}.stage-status strong{font-size:14px}.character-strip .portrait{width:26px;height:32px;margin-right:-5px}.character-strip .portrait:nth-child(n+4){display:none}.member-count{min-width:33px;height:24px;margin-left:7px;font-size:12px}.map-controls button{min-width:48px;min-height:48px;padding:8px;border-radius:14px}.map-controls button .icon{width:28px;height:28px}.game-footer{display:flex;align-items:center;padding:7px 9px;min-height:62px;gap:6px;flex-wrap:wrap}.hint{font-size:12px;min-height:30px}.hint .pictogram-flow{gap:4px}.hint .pictogram-flow>.icon{width:26px;height:26px}.hint .pictogram-flow>.icon:nth-child(even){width:16px;height:16px}.request-pill{margin:0;padding:5px 7px;min-height:35px;gap:2px}.request-pill strong{font-size:11px;gap:3px}.request-pill .icon{width:21px;height:21px}.request-pill .crop-picture{width:25px;height:25px}.premium-crop{padding-left:4px}.page-note{margin:6px 0;gap:4px}.page-note .icon{width:17px;height:17px}.page-note i{margin:0 7px;height:14px}#gameCanvas{height:calc(100dvh - 225px);min-height:350px}.sheet.open{bottom:0;width:100%;max-height:calc(100dvh - 6px);border-radius:20px 20px 0 0}.sheet-head{padding:6px 12px;min-height:56px}.sheet-head h2 .icon{width:31px;height:31px}.sheet-body{padding:12px 12px 20px}.visual-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.crop-grid,.crop-sheet .crop-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.crop-option,.crop-sheet .crop-option{min-height:104px;padding:6px;gap:4px}.market-sheet .crop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.book-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.collection-card{min-height:118px;padding:9px 4px;gap:7px}.collection-card>.crop-picture{width:54px;height:54px}.collection-card>.portrait{width:66px;height:70px}.tutorial-grid{gap:8px}.tutorial-card{min-height:125px;padding:10px 6px;gap:10px}.tutorial-card .pictogram-flow{gap:4px}.tutorial-card .pictogram-flow>.icon{width:30px;height:30px}.tutorial-card .pictogram-flow>.icon:nth-child(even){width:17px;height:17px}.tutorial-card .portrait{width:32px;height:36px}.ending-art .portrait{width:36px;height:42px}.ending-snapshot{max-height:210px}.toast{top:74px;padding:7px 12px}.milestone-card{min-height:85px;padding:12px 7px}.milestone-card .pictogram-flow{gap:4px}.milestone-card .pictogram-flow>.icon{width:28px;height:28px}.milestone-card .pictogram-flow>.icon:nth-child(even){width:17px;height:17px}}
@media(max-width:520px){.crop-grid,.crop-sheet .crop-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.crop-sheet.open{max-height:calc(100dvh - 4px)}.crop-sheet .sheet-body{padding:6px 7px 10px}.crop-sheet .sheet-lead{margin-bottom:6px}.crop-option,.crop-sheet .crop-option{min-height:88px;padding:5px 4px;gap:3px;border-radius:13px}.crop-visual{min-height:40px}.crop-visual .crop-picture{width:42px;height:42px}.crop-metrics{gap:5px}.crop-metrics .metric-chip{font-size:10px}.crop-metrics .metric-chip .icon{width:13px;height:13px}.crop-option .price-chip{font-size:11px;padding:2px 6px}.crop-option .price-chip .icon{width:14px;height:14px}.collection-metrics{gap:3px}.collection-metrics .metric-chip{font-size:10px}.collection-metrics .icon{width:15px;height:15px}.stage-status .portrait:nth-child(n+3){display:none}}
@media(max-width:370px){.topbar{padding:7px 8px}.brand-garden .icon{width:24px;height:24px}.brand-mark{width:42px;height:42px}.brand-garden .brand-plus{display:none}.header-actions{gap:3px}.status{padding:7px 6px}.money-status{min-width:99px}.bag-status{min-width:94px}.status strong{font-size:14px}.stage-status .portrait:nth-child(n+2){display:none}}
@media(max-height:650px) and (min-width:600px){.sheet.open{max-height:calc(100dvh - 16px);bottom:8px}.sheet-head{min-height:49px;padding:4px 15px}.crop-sheet .crop-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.crop-option,.crop-sheet .crop-option{min-height:85px}.crop-visual .crop-picture{width:40px;height:40px}.crop-visual{min-height:38px}.crop-sheet .sheet-body{padding:6px 10px 10px}.tutorial-card{min-height:115px}}
@media(prefers-reduced-motion:reduce){.crop-option,.toast{transition:none}}
.site-grid i{display:grid;place-items:center}.site-grid i .icon{width:13px;height:13px}.site-grid i.clear{background:#d2e8bd;color:#396942}.site-grid i.occupied{background:#f4bca7;color:#9a4135;border-color:#a9694f}
.harvest-rounds{display:inline-flex;align-items:center;justify-content:center;gap:3px;color:#537a51;font-size:11px;white-space:nowrap}.harvest-rounds>.icon{width:15px;height:15px}.crop-costs{display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.water-price{display:inline-flex;align-items:center;gap:1px}.water-price>.icon{width:12px;height:16px}.water-price .price-chip{padding:2px 3px;background:#edf6f3}.water-price .price-chip>.icon{width:11px;height:11px}.tank-sheet .visual-card{margin-bottom:14px}.tank-sheet .pictogram-flow{flex-wrap:wrap;justify-content:center}
@media(min-width:901px) and (min-height:701px){.crop-visual .crop-picture{width:60px;height:60px}.collection-card>.crop-picture{width:76px;height:76px}}
.tutorial-footer{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap}.sheet .secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:9px 16px;border:1px solid #c6d8be;border-radius:10px;background:#eef5e9;color:#295438;font-weight:800}.new-game-sheet .visual-card{justify-content:center;margin-bottom:12px}.new-game-sheet .ending-actions{justify-content:center}
.process-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.process-result-card{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px 8px;border:1px solid #d5e1ca;border-radius:16px;background:#f4f8ed;gap:6px}.process-result-card>b{font-size:18px;color:#416744}.process-recipe{display:flex;align-items:center;justify-content:center;gap:5px;width:100%}.process-recipe>.crop-picture{width:35px;height:35px}.process-recipe>.product-picture{width:76px;height:76px}.process-recipe>.icon:not(.crop-picture){width:20px;height:20px}.cooked-toast{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px}.cooked-toast>span{display:flex;align-items:center;gap:4px}.cooked-toast .product-picture{width:46px;height:46px}.cooked-sheet .sheet-body{padding:14px}.collection-card .pictogram-flow .product-picture{width:34px;height:34px}@media(max-width:600px){.process-result-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.process-result-card{padding:9px 5px}.process-recipe>.product-picture{width:62px;height:62px}.process-recipe>.crop-picture{width:28px;height:28px}}

/* A static, compressed illustration carries the title; the farm is paused behind it. */
body.title-open{overflow:hidden;background:#a2cf73}
body.title-open #gameShell{visibility:hidden;pointer-events:none}
.title-screen{position:fixed;inset:0;z-index:50;isolation:isolate;overflow:hidden;min-height:320px;background:linear-gradient(150deg,#9bd8ef,#d5eac7 55%,#78a746);color:#234522}
.title-screen[hidden]{display:none}
.title-backdrop,.title-backdrop img,.title-light{position:absolute;inset:0;width:100%;height:100%}
.title-backdrop{z-index:-3}
.title-backdrop img{object-fit:cover;object-position:50% 50%}
.title-light{z-index:-2;background:linear-gradient(110deg,#fff9dc45 0%,transparent 49%),linear-gradient(0deg,#2e4c1f46 0%,transparent 24%)}
.title-logo{position:absolute;left:5.4%;top:5%;margin:0;width:min(760px,61vw);font-family:"Arial Rounded MT Bold","Hiragino Maru Gothic ProN","Yu Gothic",Meiryo,sans-serif;font-weight:900;line-height:1.03;letter-spacing:-.06em;transform:rotate(-4deg);filter:drop-shadow(0 5px 0 #345b2a35) drop-shadow(0 7px 12px #23452d25);user-select:none}
.title-logo-top,.title-logo-fruit,.title-logo-ending{-webkit-text-stroke:10px #fffef0;paint-order:stroke fill;text-shadow:1px 1px 0 currentColor,-1px 1px 0 currentColor,1px -1px 0 currentColor}
.title-logo-top{display:block;margin-left:20%;font-size:clamp(38px,5.2vw,84px);color:#153e1c;letter-spacing:.01em}
.title-logo-top small{font-size:.78em;color:#673311}
.title-logo-line{display:flex;align-items:flex-end;gap:.15em;margin-top:5px}
.title-logo-fruit{color:#ff790a;font-size:clamp(63px,8.5vw,136px);letter-spacing:-.08em;white-space:nowrap;text-shadow:0 3px 0 #ef4c13,1px 0 0 #ff790a}
.title-logo-ending{color:#53290f;font-size:clamp(30px,3.8vw,61px);line-height:1.09;letter-spacing:-.07em;max-width:4.6em;padding-bottom:.06em}
.title-logo-leaf{position:absolute;right:22%;top:0;transform:rotate(22deg);width:clamp(33px,4.7vw,72px);height:clamp(33px,4.7vw,72px);filter:drop-shadow(0 3px 0 #fffef0)}
.title-logo-leaf .icon{width:100%;height:100%}
.title-actions{position:absolute;left:50%;bottom:max(6.5%,calc(env(safe-area-inset-bottom) + 26px));transform:translateX(-50%);width:min(530px,45vw);padding:7px}
.title-start{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:20px;width:100%;min-height:100px;padding:13px 38px 16px 52px;border:3px solid #fff1a2;border-radius:38px;background:linear-gradient(180deg,#ffdc6f 0%,#ffbc42 24%,#ff9130 53%,#f25d1d 100%);box-shadow:0 0 0 3px #95521e,0 0 0 8px #fff4ad,0 11px 0 5px #7949205c,0 17px 38px #2d451b55,inset 0 3px 1px #fffbd6,inset 0 -5px 0 #cf511f;color:#fffdf2;font-weight:900;transition:transform .14s,filter .14s,box-shadow .14s;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.title-start:before{content:"";position:absolute;inset:7px;border:1px solid #fff8d68c;border-radius:27px;pointer-events:none}
.title-start-label{font-size:clamp(30px,3.4vw,52px);line-height:1;letter-spacing:.02em;-webkit-text-stroke:4px #88390c;paint-order:stroke fill;text-shadow:0 3px 0 #a64b12}
.title-start-fruit{position:absolute;left:-24px;top:-19px;transform:rotate(-22deg);width:88px;height:88px;filter:drop-shadow(0 3px 0 #fff4b5) drop-shadow(0 6px 7px #6e4a2e3d)}
.title-start-fruit .icon{width:100%;height:100%}
.title-start-arrow .icon{width:27px;height:27px;color:#ffedb0;filter:drop-shadow(0 2px 0 #ac511f)}
.title-start:hover{transform:translateY(-3px);filter:brightness(1.06)}
.title-start:active{transform:translateY(4px);box-shadow:0 0 0 3px #95521e,0 0 0 8px #fff4ad,0 5px 0 5px #7949205c,0 9px 20px #2d451b55,inset 0 2px 1px #fffbd6,inset 0 -2px 0 #cf511f}
.title-start:focus-visible{outline:4px solid #174f36;outline-offset:12px}
.title-leaves{position:absolute;inset:0;z-index:-1;pointer-events:none}
.title-leaves>span{position:absolute;display:block;width:36px;height:36px;filter:drop-shadow(0 4px 4px #597a3225);animation:title-leaf-drift 9s ease-in-out infinite alternate}
.title-leaves>span:nth-child(1){left:3%;top:8%;transform:rotate(28deg)}
.title-leaves>span:nth-child(2){left:45%;top:4%;width:28px;height:28px;animation-delay:-4s}
.title-leaves>span:nth-child(3){right:5%;top:68%;width:31px;height:31px;animation-delay:-7s}
.title-leaves .icon{width:100%;height:100%}
.title-noscript{position:absolute;bottom:0;left:0;right:0;margin:0;padding:10px;background:#fff7d7;text-align:center;color:#3c582c;font-size:14px}
#gameCanvas:focus-visible{outline:3px solid #dba63d;outline-offset:-3px}
@keyframes title-leaf-drift{from{translate:0 0;rotate:-10deg}to{translate:9px 15px;rotate:14deg}}
@media(min-aspect-ratio:2/1){.title-backdrop img{object-position:50% 40%}.title-logo{top:4%;width:55vw}.title-logo-top{font-size:9vh}.title-logo-fruit{font-size:15vh}.title-logo-ending{font-size:7vh}.title-start{min-height:78px}.title-actions{bottom:7%;width:420px}.title-start-label{font-size:38px}}
@media(max-width:700px){.title-logo{left:6%;top:max(5%,env(safe-area-inset-top));width:88%;transform:rotate(-4deg)}.title-logo-top{font-size:clamp(30px,8vw,52px);margin-left:17%;-webkit-text-stroke-width:7px}.title-logo-fruit{font-size:clamp(55px,16.5vw,104px);-webkit-text-stroke-width:8px}.title-logo-ending{font-size:clamp(25px,7vw,43px);-webkit-text-stroke-width:7px;max-width:3.5em}.title-logo-line{gap:5px}.title-logo-leaf{width:44px;height:44px;right:18%;top:-5px}.title-backdrop img{object-position:76% 50%}.title-light{background:linear-gradient(180deg,#e5f8ff65 0%,transparent 35%,transparent 68%,#1a421961 100%)}.title-actions{width:calc(100% - 70px);max-width:430px;bottom:max(6%,calc(env(safe-area-inset-bottom) + 25px))}.title-start{min-height:83px;padding:14px 24px 17px 40px;gap:12px;border-radius:32px}.title-start:before{border-radius:22px}.title-start-label{font-size:clamp(30px,9vw,42px)}.title-start-fruit{width:69px;height:69px;left:-22px;top:-18px}.title-start-arrow .icon{width:23px;height:23px}.title-leaves>span:nth-child(1){left:2%;top:28%}.title-leaves>span:nth-child(2){left:85%;top:5%}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.title-logo{top:5%;left:5%;width:54vw}.title-logo-top{font-size:10vh}.title-logo-fruit{font-size:19vh}.title-logo-ending{font-size:9vh}.title-logo-leaf{width:35px;height:35px}.title-actions{bottom:8%;width:min(360px,46vw)}.title-start{min-height:66px;padding:10px 30px 12px 43px;border-radius:27px}.title-start-label{font-size:32px}.title-start-fruit{width:64px;height:64px;top:-15px}.title-start-arrow .icon{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.title-leaves>span{animation:none}.title-start{transition:none}}
.title-actions{display:flex;flex-direction:column;align-items:center;gap:20px}
.title-start{flex:none}
.title-portal{display:flex;align-items:center;justify-content:center;gap:14px;min-width:75%;min-height:48px;padding:8px 24px;border:2px solid #fff8c7;border-radius:28px;background:linear-gradient(#fffef1,#ffecc5);box-shadow:0 0 0 2px #c58933,0 5px 0 2px #72451e38,0 7px 17px #2140202b,inset 0 -3px 0 #eac986;color:#693713;font-size:21px;font-weight:900;text-decoration:none;transition:transform .14s,filter .14s;touch-action:manipulation}
.title-portal .icon{width:24px;height:24px}
.title-portal:hover{transform:translateY(-2px);filter:brightness(1.04)}
.title-portal:active{transform:translateY(2px)}
.title-portal:focus-visible{outline:4px solid #174f36;outline-offset:5px}
.title-portal>.icon:last-child{width:21px;height:21px}
.demand-label{padding:3px 5px;border-radius:5px;background:#e0ead6;font-size:10px;line-height:1.2;font-weight:800;color:#4b6c42;white-space:nowrap}
.premium-crop .demand-label{background:#f9e8bc;color:#886122}
.request-pill{max-width:100%}
.request-pill strong{flex-wrap:wrap}
body.title-open #toast{visibility:hidden}
@media(max-width:700px){.title-actions{gap:16px}.title-portal{font-size:17px;min-height:46px;gap:11px;padding:7px 20px;min-width:83%}.title-portal .icon{width:21px;height:21px}.demand-label{font-size:9px;padding:2px 4px}}
@media(max-width:700px) and (max-aspect-ratio:1/1){.title-backdrop img{object-position:100% 50%}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.title-actions{gap:13px}.title-portal{font-size:16px;min-height:40px;padding:5px 20px}.title-portal .icon{width:20px;height:20px}.title-start-label{font-size:30px}}
@media(prefers-reduced-motion:reduce){.title-portal{transition:none}}

/* A local social-post keepsake, with the whole illustration visible. */
body.memory-open{overflow:hidden}
.memory-screen{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:20px;background:#122e29df}
.memory-screen[hidden]{display:none}
.memory-dialog{width:min(900px,100%);max-height:calc(100dvh - 40px);display:flex;flex-direction:column;gap:12px;animation:memory-arrive .24s ease-out}
.memory-post{overflow:hidden;border:1px solid #dfdfd5;border-radius:16px;background:#fffdf5;color:#2c4d3c;text-align:left;box-shadow:0 18px 65px #102a2933}
.memory-post-large{min-height:0;display:flex;flex-direction:column}
.memory-post-head{display:flex;align-items:center;gap:9px;padding:9px 16px;min-height:54px;background:#fffcf3}
.memory-post-head>.portrait{width:35px;height:35px;flex:none;border-radius:50%;background:#e6ead7}
.memory-post-head>span{display:flex;align-items:center;gap:6px;font-size:12px;letter-spacing:.15em}
.memory-post-head .icon{width:19px;height:19px}
.memory-post-head>small{margin-left:auto;font-size:12px;font-weight:700;color:#92a08c}
.memory-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#e9f0df}
.memory-post-large{max-width:640px;width:100%;align-self:center}
.memory-post-large .memory-photo{min-height:0;max-height:calc(100dvh - 238px);object-fit:contain}
.memory-post-bottom{display:flex;align-items:center;gap:8px;padding:12px 18px;min-height:54px}
.memory-post-bottom h2{margin:0;font-size:20px;line-height:1.2;letter-spacing:.03em}
.memory-post-bottom>.crop-picture{width:28px;height:28px;flex:none}
.memory-likes{margin-left:auto;display:flex;align-items:center;gap:6px;white-space:nowrap;color:#dd9c24;font-size:18px}
.memory-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex:none}
.memory-actions button{display:flex;justify-content:center;align-items:center;gap:9px;min-height:48px;padding:9px 25px;border:2px solid #fff8dd;border-radius:40px;background:#fff7df;color:#567c46;font-size:17px;font-weight:800;box-shadow:0 4px 15px #102d2c30}
.memory-actions button[aria-pressed=true]{background:#ffe3a0;color:#99611c}
.memory-actions .memory-next{background:#305e46;color:#fff7da;min-width:130px}
.memory-actions .icon{width:25px;height:25px}
.memory-actions button:focus-visible{outline:3px solid #ffd85f;outline-offset:4px}
.memory-album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-bottom:20px}
.memory-album-card{display:block;padding:0;border:0;background:none;min-width:0;border-radius:16px}
.memory-album-card .memory-post{box-shadow:none}
.memory-album-card .memory-post-head{padding:6px 9px;min-height:40px}
.memory-album-card .memory-post-head>.portrait{width:25px;height:25px}
.memory-album-card .memory-post-head>span{font-size:9px}
.memory-album-card .memory-post-head>small{font-size:9px}
.memory-album-card .memory-post-bottom{padding:9px;gap:5px;min-height:44px}
.memory-album-card h2{font-size:12px}
.memory-album-card .memory-likes{font-size:12px}
.memory-album-card .memory-post-bottom>.crop-picture{width:20px;height:20px}
.memory-album-card:focus-visible{outline:3px solid #d7a840;outline-offset:3px}
.premium-clock{display:inline-flex;align-items:center;gap:3px;margin-left:6px;font-size:11px;color:#729078;min-width:35px}
.premium-clock .icon{width:16px;height:16px}
@keyframes memory-arrive{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:600px){.memory-screen{padding:12px}.memory-dialog{max-height:calc(100dvh - 24px);gap:12px}.memory-post-head{padding:8px 12px;min-height:49px}.memory-post-bottom{padding:12px;min-height:54px}.memory-post-bottom h2{font-size:17px}.memory-likes{font-size:16px}.memory-post-large .memory-photo{max-height:calc(100dvh - 218px)}.memory-album-grid{gap:8px}.memory-album-card .memory-post-head>span{letter-spacing:.03em}.memory-album-card .memory-post-bottom{flex-wrap:wrap}.memory-album-card h2{font-size:11px}.premium-clock{margin-left:2px}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.memory-screen{padding:8px}.memory-dialog{max-height:calc(100dvh - 16px);width:min(760px,100%);gap:7px}.memory-post-head{min-height:32px;padding:3px 12px}.memory-post-head>.portrait{width:25px;height:25px}.memory-post-bottom{min-height:38px;padding:7px 14px}.memory-post-bottom h2{font-size:16px}.memory-post-large .memory-photo{max-height:calc(100dvh - 150px)}.memory-actions button{min-height:40px;padding:5px 24px}}
@media(prefers-reduced-motion:reduce){.memory-dialog{animation:none}}

/* Endings keep the same illustrated post as the album, with a clear finish. */
.ending-sheet.open{top:50%;bottom:auto;transform:translate(-50%,-50%);width:min(900px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
.ending-sheet .sheet-grip{display:none}
.ending-sheet .sheet-head{min-height:76px;gap:10px;padding:10px 18px}
.ending-sheet .sheet-head h2{gap:14px;font-size:clamp(19px,2.5vw,27px);line-height:1.2}
.ending-sheet .ending-label{font-size:clamp(30px,4.2vw,44px);font-weight:1000;letter-spacing:.1em;color:#a66b19;line-height:1}
.ending-sheet .sheet-body{min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:12px;padding:0 16px 16px}
.ending-sheet .ending-post{min-height:0;box-shadow:none;flex:none}
.ending-sheet .ending-post .memory-photo{max-height:calc(100dvh - 300px)}
.ending-sheet .ending-actions{flex:none;flex-wrap:nowrap;gap:10px}
.ending-sheet .ending-actions button{min-height:48px;font-size:16px;padding:8px 16px}
.ending-sheet .ending-actions .icon{width:24px;height:24px}
@media(max-width:600px){.ending-sheet.open{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:20px}.ending-sheet .sheet-head{min-height:70px;padding:9px 12px}.ending-sheet .sheet-head h2{gap:10px;font-size:19px}.ending-sheet .ending-label{font-size:32px}.ending-sheet .sheet-body{padding:0 10px 12px;gap:10px}.ending-sheet .ending-post .memory-photo{max-height:calc(100dvh - 280px)}.ending-sheet .ending-actions{gap:7px}.ending-sheet .ending-actions button{font-size:14px;gap:6px;padding:7px 10px;min-height:46px}.ending-sheet .ending-actions .icon{width:21px;height:21px}.ending-sheet .memory-post-bottom h2{font-size:17px}}
@media(max-height:500px) and (min-aspect-ratio:1/1){.ending-sheet.open{max-height:calc(100dvh - 12px);width:min(760px,calc(100vw - 16px))}.ending-sheet .sheet-head{min-height:48px;padding:4px 12px}.ending-sheet .sheet-head h2{font-size:20px}.ending-sheet .ending-label{font-size:29px}.ending-sheet .sheet-head button{width:36px;height:36px}.ending-sheet .sheet-body{padding:0 10px 8px;gap:6px}.ending-sheet .ending-post .memory-photo{max-height:calc(100dvh - 204px)}.ending-sheet .ending-actions button{min-height:40px;padding:5px 15px;font-size:14px}}

@media(max-width:700px){.brand{flex:1}.brand .brand-title{font-size:clamp(11px,3.3vw,17px);line-height:1.3;white-space:normal;word-break:keep-all}}
@media(max-width:440px){.brand-mark{display:none}}

.title-share{align-self:center;min-height:44px;padding:8px 26px;border:1px solid #fff3ca;border-radius:999px;background:#ffffffe8;color:#315c43;font-weight:800;font-size:17px;box-shadow:0 3px 14px #183c3530}.title-portal{font-size:clamp(12px,1.3vw,16px);line-height:1.5;text-align:center;white-space:normal}.title-portal>span:nth-child(2){max-width:100%;min-width:0}.share-screen{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:16px;background:#122e29df}.share-screen[hidden]{display:none}.share-dialog{width:min(430px,100%);max-height:calc(100dvh - 32px);overflow:auto;border-radius:20px;background:#fffdf5;padding:20px;box-shadow:0 18px 65px #102a2950}.share-dialog h2{margin:0 0 14px}.share-dialog>img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;border-radius:10px}.share-dialog input{width:100%;margin:14px 0;padding:10px;font-size:13px;border:1px solid #c6d6bf;border-radius:8px}.share-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.share-actions button,.share-download{border:1px solid #b9cfb4;border-radius:10px;background:#edf5e8;color:#295e43;padding:10px 14px;min-height:44px;font:inherit;text-decoration:none;font-weight:700}.share-status{min-height:1.4em;font-size:13px;text-align:center;margin:10px 0 0}.share-open{overflow:hidden}@media(max-width:600px){.memory-actions{gap:7px}.memory-actions button{padding:8px 13px;font-size:14px;min-height:44px}.memory-actions .memory-next{min-width:88px}.ending-actions{flex-wrap:wrap}.title-portal{font-size:12px;gap:7px;padding:7px 12px}.title-actions{gap:10px}.title-share{font-size:15px;padding:7px 22px}.title-start{min-height:72px}.title-start-label{font-size:clamp(27px,8vw,38px)}}
