@import "https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Nanum+Myeongjo:wght@700&display=swap";:root{color:#49382b;font-synthesis:none;--cream:#faf4e8;--paper:#fffbf4e8;--green:#7c8d60;--green-deep:#60764b;--sand:#e9cfa3;--text:#49382b;--muted:#837566;--line:#e3d5c3;--shadow:0 18px 42px #563e2729, 0 2px 6px #563e2714;background:#f2e5d5;font-family:Gowun Dodum,Malgun Gothic,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;overflow:hidden}button,input{font:inherit}button{color:inherit;cursor:pointer;border:0}button:disabled{opacity:.42;cursor:not-allowed}svg{stroke-width:1.8px;width:21px;height:21px}.app-shell{background:radial-gradient(circle at 72% -12%,#ffffffd4 0 16%,#0000 39%),linear-gradient(115deg,#ffffff47,#0000 45%),#efe1d0;min-height:100vh;position:relative;overflow:hidden}.app-shell:before,.app-shell:after{content:"";pointer-events:none;z-index:0;opacity:.25;filter:blur(.2px);position:absolute}.app-shell:before{background:radial-gradient(#71895e 0 8%,#0000 9%) 0 0/80px 74px;width:390px;height:210px;bottom:-82px;left:-90px;transform:rotate(-15deg)}.app-shell:after{background:radial-gradient(#758a5d 0 17%,#0000 18%) 0 0/100px 54px;width:380px;height:130px;top:-52px;right:26%;transform:rotate(8deg)}.topbar{z-index:5;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#f9f1e780;border-bottom:1px solid #a88b7038;justify-content:space-between;align-items:center;height:104px;padding:14px 28px 10px 31px;display:flex;position:relative}.brand{align-items:center;gap:15px;display:flex}.brand strong{letter-spacing:-.8px;font-family:Nanum Myeongjo,serif;font-size:28px;display:block}.brand small{color:var(--muted);margin-top:5px;font-size:14px;display:block}.logo-mark{background:#e4c789;border:7px solid #fff8e9;border-radius:50%;width:58px;height:47px;position:relative;transform:rotate(-6deg);box-shadow:0 4px 7px #8b6d4730}.logo-mark:before{content:"";background:#98a872;border-radius:70% 20% 60%;width:28px;height:17px;position:absolute;top:-16px;left:24px;transform:rotate(31deg)}.logo-mark span{color:#fff9d6;position:absolute;top:4px;left:14px}.topbar nav{align-items:center;gap:10px;display:flex}.topbar nav button{background:#fffbf5c7;border:1px solid #fffc;border-radius:18px;align-items:center;gap:9px;height:50px;padding:0 20px;font-weight:700;transition:all .2s;display:flex;box-shadow:0 5px 16px #553d2812}.topbar nav button:hover{background:#fff;transform:translateY(-2px)}.topbar nav button:last-child{border-radius:50%;justify-content:center;width:50px;padding:0}.panel{background:var(--paper);box-shadow:var(--shadow);border:1px solid #ffffffe6}.inventory{z-index:4;border-radius:30px;flex-direction:column;width:352px;padding:20px 15px 14px;display:flex;position:absolute;top:120px;bottom:112px;left:15px}.inventory-handle{display:none}.category-tabs{scrollbar-width:none;background:#f5ede3;border-radius:15px;flex-shrink:0;gap:3px;padding:5px;display:flex;overflow-x:auto}.category-tabs button{white-space:nowrap;background:0 0;border-radius:12px;padding:10px 12px;font-size:14px;font-weight:700}.category-tabs button.active{color:#fff;background:linear-gradient(#93a375,#788b5c);box-shadow:0 3px 8px #66774c35}.asset-grid{scrollbar-color:#c3ad95 transparent;scrollbar-width:thin;grid-template-columns:repeat(3,1fr);gap:9px;min-height:0;margin-top:14px;padding-right:4px;display:grid;overflow-y:auto}.asset-card{background:#efe1d38c;border:2px solid #0000;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:103px;padding:5px 4px 8px;transition:all .16s;display:flex}.asset-card:hover{background:#fffaf2;border-color:#c2cfab;transform:translateY(-2px)}.asset-card img{object-fit:contain;filter:drop-shadow(0 6px 4px #4b362333);width:78px;height:72px}.asset-card span{white-space:nowrap;text-overflow:ellipsis;max-width:94px;font-size:12px;overflow:hidden}.asset-count{text-align:center;color:var(--muted);padding-top:9px;font-size:12px}.play-area{z-index:2;padding:16px 22px 112px 16px;position:absolute;inset:104px 0 0 382px}.sand-frame{background:linear-gradient(90deg,#0000,#ffffff26,#0000),repeating-linear-gradient(3deg,#673b1c1f 0 1px,#0000 1px 8px),linear-gradient(125deg,#b87745,#885431 47%,#bf8150);border-radius:42px;width:100%;height:100%;padding:34px;position:relative;box-shadow:inset 0 0 0 4px #63371a1f,inset 0 8px 13px #ffffff2e,0 19px 32px #5b381d3d}.sand-frame:before{content:"";pointer-events:none;border:3px solid #ffe6c63b;border-radius:32px;position:absolute;inset:12px;box-shadow:inset 0 4px 6px #3e231338}.sand-bed{touch-action:none;background:radial-gradient(circle at 20% 16%,#fff8dc8c,#0000 21%),radial-gradient(circle at 72% 68%,#b4854a29,#0000 24%),radial-gradient(circle at 1px 1px,#75512b1f 1px,#0000 1.25px) 0 0/6px 6px,radial-gradient(circle at 2px 2px,#fffae329 1px,#0000 1.3px) 0 0/9px 9px,linear-gradient(135deg,#efd7ae,#e5c493);border-radius:20px;width:100%;height:100%;position:relative;overflow:hidden;box-shadow:inset 0 8px 18px #69422130}.sand-bed:before{content:"";pointer-events:none;opacity:.42;mix-blend-mode:multiply;background:repeating-linear-gradient(7deg,#0000 0 25px,#8b5e330f 26px,#0000 29px);position:absolute;inset:0}.empty-hint{color:#8e704f;text-align:center;opacity:.75;flex-direction:column;align-items:center;gap:8px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.empty-hint svg{width:35px;height:35px}.empty-hint strong{font-size:20px}.empty-hint span{font-size:14px}.placed-object{transform-origin:50% 74%;touch-action:none;background:0 0;border-radius:20px;width:148px;height:148px;padding:0;position:absolute}.placed-object.buildings{width:205px;height:205px}.placed-object.people{width:108px;height:108px}.placed-object img{object-fit:contain;pointer-events:none;filter:drop-shadow(0 12px 8px #4f331e40);width:100%;height:100%}.placed-object:after{content:"";border:2px dashed #0000;border-radius:20px;position:absolute;inset:6px}.placed-object.selected:after{border-color:#728753;box-shadow:0 0 0 4px #ffffffbf}.bottom-controls{z-index:7;justify-content:space-between;align-items:center;gap:12px;height:86px;display:flex;position:absolute;bottom:12px;left:16px;right:22px}.tool-palette,.history-tools{border-radius:25px;align-items:stretch;height:72px;padding:6px;display:flex}.tool-palette button{background:0 0;border-right:1px solid #eadfd2;border-radius:17px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:62px;font-size:12px;display:flex}.tool-palette button:last-child{border-right:0}.tool-palette button.active{background:#e6e2c4}.tool-palette button:hover:not(:disabled),.history-tools button:hover:not(:disabled){color:var(--green-deep);background:#f3efdc}.history-tools{gap:3px}.history-tools button{background:0 0;border-radius:16px;justify-content:center;align-items:center;gap:7px;padding:0 14px;display:flex}.history-tools button+button{border-left:1px solid #eadfd2}.analyze-button{color:#fff;letter-spacing:.2px;text-shadow:0 1px 2px #465936;background:linear-gradient(155deg,#98a97a,#62794b);border:3px solid #fff9e9;border-radius:27px;outline:2px solid #93a476;flex-shrink:0;justify-content:center;align-items:center;gap:11px;min-width:276px;height:72px;font-size:21px;font-weight:700;display:flex;box-shadow:0 10px 24px #50633b4f}.analyze-button:hover:not(:disabled){filter:saturate(1.1);transform:translateY(-2px)}.toast{z-index:50;color:#fff;box-shadow:var(--shadow);background:#4f5e3f;border-radius:20px;align-items:center;gap:9px;padding:13px 20px;animation:.25s ease-out toast-in;display:flex;position:fixed;bottom:116px;left:50%;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}}.modal-backdrop{z-index:40;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#43312247;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:radial-gradient(circle at 96% 0,#d8c59c57,#0000 25%),linear-gradient(145deg,#fffdf8fa,#faf3e8fa);border-radius:34px;width:min(720px,96vw);max-height:min(840px,92vh);padding:38px 42px;position:relative;overflow:auto}.modal-close{z-index:2;background:#f0e8dd;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:20px;right:22px}.modal h2{letter-spacing:-.8px;margin:7px 0 12px;font-family:Nanum Myeongjo,serif;font-size:clamp(25px,4vw,34px);line-height:1.35}.modal h3{align-items:center;gap:7px;margin:0 0 9px;font-size:17px;display:flex}.modal p{color:#66594e;line-height:1.65}.modal-kicker,.eyebrow{letter-spacing:.02em;align-items:center;gap:7px;font-weight:700;display:flex;color:var(--green-deep)!important}.eyebrow em{background:#ebe0bb;border-radius:6px;padding:4px 6px;font-size:10px;font-style:normal}.lead{font-size:16px}.guide-view,.ad-view,.loading-view{text-align:center}.guide-view .modal-kicker{justify-content:center}.mini-sand,.round-icon{color:#728657;background:#e7cd9a;border-radius:50%;place-items:center;width:34px;height:30px;display:inline-grid}.guide-steps{grid-template-columns:repeat(3,1fr);gap:10px;margin:25px 0 15px;display:grid}.guide-steps>div{background:#efe6d5b8;border-radius:22px;flex-direction:column;align-items:center;gap:9px;min-height:148px;padding:16px 12px;display:flex}.guide-steps b{color:#fff;background:var(--green);border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.guide-steps span{font-size:13px;line-height:1.5}.guide-steps strong{margin-bottom:5px;font-size:15px;display:block}.safety-note,.disclaimer{color:var(--muted);background:#f0eadf;border-radius:14px;padding:12px 14px;font-size:12px;line-height:1.5}.check-row{justify-content:center;align-items:center;gap:8px;margin:15px 0;font-size:13px;display:flex}.check-row input{accent-color:var(--green-deep);width:17px;height:17px}.primary-button,.secondary-button{border-radius:17px;justify-content:center;align-items:center;gap:8px;min-height:50px;padding:0 27px;font-weight:700;display:inline-flex}.primary-button{color:#fff;background:linear-gradient(145deg,#8da273,#60764b);box-shadow:0 7px 15px #60764b3b}.secondary-button{color:#65574c;background:#eee6db}.guide-view>.primary-button{width:100%}.round-icon{color:#fff;background:linear-gradient(145deg,#a7b68d,#74875c);width:70px;height:70px;margin:2px auto 12px;box-shadow:0 8px 20px #6b7f5533}.round-icon svg{width:29px;height:29px}.ad-view .eyebrow,.loading-view .eyebrow{justify-content:center}.button-row{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.ad-view .button-row{justify-content:center}.ad-view small,.loading-view small{color:var(--muted);margin-top:14px;display:block}.sand-loader{background:#ead1a4;border-radius:50%;width:90px;height:90px;margin:7px auto 18px;position:relative;overflow:hidden;box-shadow:inset 0 -8px 12px #c8a67555}.sand-loader span{background:#829568;border-radius:50%;width:13px;height:13px;animation:1.4s ease-in-out infinite drift;position:absolute}.sand-loader span:first-child{top:27px;left:22px}.sand-loader span:nth-child(2){animation-delay:.2s;top:45px;left:45px}.sand-loader span:nth-child(3){animation-delay:.4s;top:23px;left:60px}@keyframes drift{50%{opacity:.5;transform:translateY(17px)scale(.7)}}.progress{background:#e7ded0;border-radius:8px;max-width:360px;height:8px;margin:24px auto 0;overflow:hidden}.progress i{background:var(--green);height:100%;transition:width .2s;display:block}.result-view{text-align:left}.result-view>header{justify-content:space-between;align-items:center;gap:18px;display:flex}.result-view>header>div:first-child{flex:1}.result-thumb{background:var(--sand);border-radius:19px;flex-wrap:wrap;flex:0 0 150px;justify-content:center;align-items:center;height:116px;padding:8px;display:flex;overflow:hidden}.result-thumb img{object-fit:contain;filter:drop-shadow(0 4px 3px #654a3230);width:46px;height:46px;margin:-3px}.result-summary{background:#f5eee3;border-radius:18px;padding:15px 18px;font-size:16px}.report-grid{grid-template-columns:1fr 1fr;gap:12px;margin:13px 0;display:grid}.report-grid section,.questions{border:1px solid var(--line);border-radius:18px;padding:16px}.report-grid p{margin:6px 0;font-size:13px}.questions>div{gap:10px;margin:8px 0;font-size:14px;display:flex}.questions b{height:24px;color:var(--green-deep);background:#dfe5d4;border-radius:50%;flex:0 0 24px;place-items:center;display:grid}.history-view .eyebrow,.settings-view .eyebrow{padding-right:50px}.empty-records{min-height:260px;color:var(--muted);background:#f5eee3;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.empty-records svg{width:42px;height:42px}.record-list{flex-direction:column;gap:10px;display:flex}.record-list article{background:#f5eee3;border-radius:18px;grid-template-columns:90px 1fr auto auto;align-items:center;gap:12px;padding:10px;display:grid}.record-preview{background:var(--sand);border-radius:12px;justify-content:center;align-items:center;width:90px;height:68px;display:flex;overflow:hidden}.record-preview img{object-fit:contain;width:40px;height:40px;margin:-8px}.record-list article strong,.record-list article small{display:block}.record-list article small{color:var(--muted);margin-top:5px}.record-list article>button{background:#fff;border-radius:11px;padding:9px 13px}.record-list .icon-danger{color:#956b5c;padding:9px}.setting-row{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 2px;display:flex}.setting-row>span{align-items:center;gap:12px;display:flex}.setting-row strong,.setting-row small{display:block}.setting-row small{color:var(--muted);margin-top:2px}.switch{background:#d7ccbf;border-radius:20px;width:50px;height:28px;padding:3px}.switch i{background:#fff;border-radius:50%;width:22px;height:22px;transition:all .2s;display:block}.switch.on{background:var(--green)}.switch.on i{transform:translate(22px)}.settings-link{text-align:left;border-bottom:1px solid var(--line);background:0 0;align-items:center;gap:10px;width:100%;padding:15px 2px;display:flex}.settings-link span{margin-left:auto}.version{text-align:center;margin-top:20px;font-size:12px}.back-link{color:var(--green-deep);background:0 0;padding:0 0 12px}.policy-view>p:not(.eyebrow){background:#f5eee3;border-radius:16px;padding:14px 16px}@media (width<=1250px){.inventory{width:308px}.play-area{left:324px}.asset-card img{width:67px}.tool-palette button{min-width:54px}.tool-palette button:nth-last-child(-n+2),.history-tools button span{display:none}.analyze-button{min-width:235px;font-size:18px}}@media (width<=1500px) and (width>=821px){.history-tools button span{display:none}.history-tools button{padding:0 13px}.analyze-button{min-width:255px}}@media (width<=820px){body{overflow:hidden}.topbar{height:70px;padding:8px 14px}.brand{gap:9px}.brand strong{font-size:19px}.brand small{display:none}.logo-mark{border-width:5px;width:43px;height:36px}.topbar nav{gap:5px}.topbar nav button{border-radius:50%;justify-content:center;width:42px;height:42px;padding:0}.topbar nav button span,.topbar nav button:nth-child(2){display:none}.play-area{padding:10px 10px 242px;inset:70px 0 0}.sand-frame{border-radius:29px;padding:17px}.sand-frame:before{border-radius:23px;inset:7px}.sand-bed{border-radius:15px}.placed-object{width:105px;height:105px}.placed-object.buildings{width:145px;height:145px}.placed-object.people{width:78px;height:78px}.empty-hint strong{font-size:16px}.empty-hint span{font-size:12px}.inventory{border-radius:24px;width:auto;height:151px;padding:7px 9px 10px;transition:height .25s;inset:auto 8px 83px}.inventory.open{height:234px}.inventory-handle{background:0 0;justify-content:center;align-items:center;gap:5px;width:100%;height:27px;font-size:12px;font-weight:700;display:flex}.inventory-handle svg{width:16px;transition:all .2s;transform:rotate(180deg)}.inventory:not(.open) .inventory-handle svg{transform:rotate(0)}.category-tabs{padding:3px}.category-tabs button{padding:7px 10px;font-size:12px}.asset-grid{gap:7px;margin-top:7px;padding-bottom:4px;display:flex;overflow:auto hidden}.asset-card{border-radius:15px;flex:0 0 82px;min-height:86px}.asset-card img{width:63px;height:57px}.asset-card span{max-width:72px;font-size:10px}.asset-count{display:none}.bottom-controls{gap:7px;height:66px;bottom:8px;left:8px;right:8px}.tool-palette{flex:1;min-width:0;height:60px;padding:4px;overflow:hidden}.tool-palette button{flex:1;min-width:0;font-size:10px}.tool-palette button:nth-child(5){display:none}.tool-palette svg{width:18px}.history-tools{display:none}.analyze-button{border-radius:50%;outline-width:1px;width:57px;min-width:0;height:57px;padding:0}.analyze-button span{display:none}.analyze-button svg{width:23px}.modal-backdrop{align-items:end;padding:10px}.modal{border-radius:28px 28px 18px 18px;width:100%;max-height:90vh;padding:28px 20px 22px}.guide-steps{grid-template-columns:1fr;gap:7px}.guide-steps>div{text-align:left;flex-direction:row;min-height:0;padding:10px 12px}.guide-steps span{flex:1}.report-grid{grid-template-columns:1fr}.result-view>header{align-items:flex-start}.result-thumb{display:none}.button-row .primary-button,.button-row .secondary-button{flex:1;padding:0 13px}.record-list article{grid-template-columns:66px 1fr auto;gap:8px}.record-preview{width:66px}.record-list article>button:not(.icon-danger){display:none}.toast{white-space:nowrap;font-size:13px;bottom:86px}}@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
