:root{background:#edf2e6;color:#294b3c}body{background:linear-gradient(180deg,#eef2e5,#e3eee2)}main>header h1{font-family:KaiTi,STKaiti,serif;color:#234e3b;font-size:clamp(30px,4vw,44px)}main>header small{color:#829373;font-size:10px;font-weight:700}main>header select{background:#fffdf2}main>header{margin-bottom:16px}.guofeng-scene{position:relative;overflow:hidden;isolation:isolate;min-height:570px;border:1px solid #e2e9d5;border-radius:28px;background:linear-gradient(180deg,#fff8de33,transparent 55%,#466b2a33),url('assets/guofeng/pasture.png') center/cover;box-shadow:0 15px 40px #385d2c24}.mist{position:absolute;inset:5% -10% 48%;background:radial-gradient(ellipse at 26% 65%,#fff9 0,transparent 35%),radial-gradient(ellipse at 75% 35%,#fff7 0,transparent 32%);animation:mist 12s ease-in-out infinite alternate;pointer-events:none}.scene-greeting{position:absolute;z-index:1;top:12%;left:6%;color:#254e3d;text-shadow:0 2px 14px #fff8df}.scene-greeting small{font-size:12px;letter-spacing:.15em;font-weight:700}.scene-greeting h2{font:700 clamp(24px,3vw,38px) KaiTi,STKaiti,serif;margin:8px 0}.scene-greeting p{margin:0;font-size:14px}.guofeng-house,.guofeng-sheep,.guofeng-sheep-back,.guofeng-pond{position:absolute;aspect-ratio:1;background-size:300% 200%;background-repeat:no-repeat;filter:drop-shadow(0 8px 8px #243b2538);pointer-events:none}.guofeng-house{background-image:url('assets/guofeng/buildings.webp');background-position:0 0;width:clamp(180px,28%,310px);left:10%;top:32%}.guofeng-sheep{background-image:url('assets/guofeng/companions.webp');background-position:50% 0;width:clamp(160px,23%,250px);left:38%;top:46%;animation:sheep 3.6s ease-in-out infinite}.guofeng-sheep-back{background-image:url('assets/guofeng/companions.webp');background-position:0 0;width:clamp(105px,14%,160px);left:62%;top:36%;animation:sheep 5s ease-in-out infinite reverse}.guofeng-pond{background-image:url('assets/guofeng/decor.webp');background-position:50% 0;width:clamp(90px,12%,140px);left:56%;top:64%}.scene-caption{position:absolute;left:18px;bottom:14px;padding:5px 10px;border-radius:20px;background:#fffdf0dc;color:#52684e;font-size:11px}.quick-panel{position:absolute;right:4%;bottom:8%;width:min(300px,30%);padding:17px;border:1px solid #fffbed;border-radius:20px;background:#fffdf0ed;box-shadow:0 10px 30px #34552f35;backdrop-filter:blur(10px)}.quick-panel summary{display:flex;justify-content:space-between;align-items:center;font:700 23px KaiTi,STKaiti,serif;color:#294f3c;list-style:none}.quick-panel summary::-webkit-details-marker{display:none}.quick-panel summary span{font:12px system-ui;color:#59745d}.quick-panel p{margin:2px 0 12px;color:#526b55;font-size:13px}.quick-actions{display:grid;gap:8px}.quick-actions a{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:10px 14px;border:1px solid #cdddc4;border-radius:12px;background:#f8f8e7;color:#705a2c;text-decoration:none;font-weight:700}.quick-actions a:first-child{background:#397f58;color:white;border-color:#397f58}.game-nav{margin:18px 0}.game-nav a{border-color:#d1dfc7;background:#fffdf1;box-shadow:0 4px 14px #41623d10}.card{border-color:#d8e4d0;background:#fffef8;box-shadow:0 8px 25px #32573a12}.scene{background:linear-gradient(145deg,#f0f8e8,#dfeee0)}@keyframes mist{from{transform:translateX(-9px)}to{transform:translateX(18px)}}@keyframes sheep{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px) scale(1.02)}}
@media(max-width:700px){main>header{margin-bottom:10px}.guofeng-scene{min-height:600px;border-radius:22px;background-position:center}.scene-greeting{left:6%;top:7%}.guofeng-house{width:58%;left:0;top:25%}.guofeng-sheep{width:53%;left:31%;top:35%}.guofeng-sheep-back{width:32%;left:65%;top:25%}.guofeng-pond{width:30%;left:67%;top:47%}.quick-panel{bottom:42px;left:12px;right:12px;width:auto;padding:13px}.quick-panel summary{font-size:22px}.quick-panel p{margin:0 0 8px}.quick-actions{grid-template-columns:1fr 1fr}.scene-caption{bottom:11px;left:12px}.game-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){.guofeng-scene{min-height:560px}.scene-greeting h2{font-size:22px}.quick-actions a{font-size:14px;padding:9px}.scene-caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.mist,.guofeng-sheep,.guofeng-sheep-back{animation:none}}
.guofeng-scene .game-nav{position:absolute;z-index:2;left:50%;bottom:14px;transform:translateX(-50%);display:flex;flex-wrap:nowrap;gap:3px;margin:0;padding:5px;border:1px solid #fffced;border-radius:18px;background:#fffdf0ed;box-shadow:0 8px 24px #385b3138;backdrop-filter:blur(10px)}
.guofeng-scene .game-nav a{display:flex;flex-direction:column;gap:3px;min-width:88px;min-height:58px;padding:5px 7px;border:0;border-radius:12px;background:transparent;box-shadow:none;color:#345b43;font-size:12px;white-space:nowrap}
.guofeng-scene .game-nav a:hover,.guofeng-scene .game-nav a:focus-visible{background:#e4efdb}.guofeng-scene .game-nav svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.guofeng-scene .quick-panel{bottom:100px}
@media(max-width:700px){.guofeng-scene{min-height:680px}.guofeng-scene .game-nav{left:10px;right:10px;bottom:10px;transform:none;display:flex;width:auto;gap:0;padding:4px}.guofeng-scene .game-nav a{flex:1;min-width:0;min-height:58px;padding:4px 1px;font-size:10px;letter-spacing:-.03em}.guofeng-scene .game-nav svg{width:20px;height:20px}.guofeng-scene .scene-caption{bottom:78px}.guofeng-scene .quick-panel{bottom:111px}}
@media(max-width:350px){.guofeng-scene{min-height:640px}.guofeng-scene .game-nav a{font-size:12px;letter-spacing:0}}
body{overflow:hidden}main{max-width:none;height:100vh;height:100svh;padding:0;position:relative}.world-header{position:absolute;z-index:4;top:max(16px,env(safe-area-inset-top));left:clamp(14px,3vw,42px);right:clamp(14px,3vw,42px);margin:0;gap:8px;flex-wrap:nowrap}.world-header h1{margin:0;font-size:clamp(27px,3.5vw,42px);white-space:nowrap;text-shadow:0 2px 12px #fff}.world-header small{display:block;font-size:9px;white-space:nowrap}.world-tools{display:flex;gap:6px;align-items:center}.world-tools button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:46px;min-height:46px;padding:7px 10px;background:#fffdf0ed;border-color:#e0e8d3;font-size:16px}.world-tools button span{font-size:12px}.world-tools label{font-size:0}.world-tools select{min-height:46px;max-width:110px;padding:7px;font-size:12px;background:#fffdf0ed}.guofeng-scene{height:100vh;height:100svh;min-height:0;border:0;border-radius:0}.scene-greeting{top:18%}.world-drawer{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:16px;background:#172b21a8;backdrop-filter:blur(4px)}.drawer-card{display:flex;flex-direction:column;width:min(760px,100%);max-height:90vh;max-height:min(90vh,900px);max-height:min(90svh,900px);border-radius:22px;background:#fffef6;box-shadow:0 20px 60px #132e224a;overflow:hidden}.drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #dfe8d7;background:#f5f8ed}.drawer-header h2{margin:0;font:700 24px KaiTi,STKaiti,serif}.drawer-header button{width:46px;padding:0;font-size:28px}.drawer-body{overflow:auto;overscroll-behavior:contain;padding:16px}.drawer-body .grid{display:block}.drawer-body .card{margin-bottom:12px}.drawer-body footer{font-size:12px}.drawer-body .notice{margin-top:0}.drawer-body .scene,.drawer-body #sheep,.drawer-body #benefits,.drawer-body #rewards,.drawer-body #catalog-panel{display:none}.world-drawer[data-view=sheep] #sheep,.world-drawer[data-view=sheep] #benefits,.world-drawer[data-view=rewards] #rewards,.world-drawer[data-view=layout] .scene,.world-drawer[data-view=layout] #catalog-panel{display:block}.drawer-body #transaction-panel:not([hidden]){display:block;border:2px solid #b99042}.world-tools #world-pending{background:#fff1cf;color:#6c4b13;font-size:12px;font-weight:700}
@media(max-width:700px){.world-header{top:max(12px,env(safe-area-inset-top))}.world-header h1{font-size:27px}.world-header small{font-size:8px}.world-tools{gap:4px}.world-tools button{min-width:44px;min-height:44px;padding:5px}.world-tools button span{display:none}.world-tools select{max-width:80px;min-height:44px;padding:4px;font-size:11px}.world-tools #world-pending{font-size:11px;padding:5px}.guofeng-scene{height:100vh;height:100svh;min-height:0;border-radius:0}.scene-greeting{top:15%}.guofeng-house{top:26%}.guofeng-sheep{top:36%}.guofeng-sheep-back{top:26%}.guofeng-pond{top:47%}.guofeng-scene .quick-panel{bottom:111px}.world-drawer{padding:8px}.drawer-card{max-height:92vh;max-height:92svh}.drawer-body{padding:12px}.drawer-body .card{padding:16px}}
@media(max-width:350px){.world-header h1{font-size:23px}.world-header small{font-size:7px}.world-tools{gap:2px}.world-tools button{min-width:40px}.world-tools select{max-width:72px;font-size:10px}.guofeng-scene{min-height:0}.scene-greeting{top:14%}}
@media(max-height:540px) and (min-width:701px){.scene-greeting{top:21%}.guofeng-scene .quick-panel{bottom:90px;width:230px;padding:10px}.quick-panel p{margin:0 0 4px}.quick-actions{grid-template-columns:1fr 1fr}.quick-actions a{min-height:44px;padding:6px}.guofeng-house{top:25%;width:180px}.guofeng-sheep{top:34%;width:150px}.guofeng-sheep-back{top:25%;width:100px}.guofeng-pond{top:50%;width:85px}}
.guofeng-fence,.guofeng-lamp{position:absolute;aspect-ratio:1;background-image:url('assets/guofeng/decor.webp');background-size:300% 200%;background-repeat:no-repeat;filter:drop-shadow(0 6px 7px #243b2333);pointer-events:none}.guofeng-fence{width:clamp(90px,12vw,150px);left:5%;top:65%;background-position:0 0}.guofeng-lamp{width:clamp(85px,10vw,125px);left:29%;top:47%;background-position:100% 0}.guofeng-sheep{top:52%}.guofeng-sheep-back{top:44%}
@media(max-width:700px){.guofeng-sheep{top:41%;left:30%}.guofeng-sheep-back{top:35%;left:66%}.guofeng-fence{width:28%;left:0;top:52%}.guofeng-lamp{width:23%;left:4%;top:40%}}
@media(max-height:540px) and (min-width:701px){.guofeng-sheep{top:40%}.guofeng-sheep-back{top:36%}.guofeng-fence{width:85px;left:4%;top:64%}.guofeng-lamp{width:75px;left:29%;top:42%}}
.scene-greeting .guide-entry{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;padding:7px 13px;border:1px solid #f5f6e4;border-radius:12px;background:#fffdf0e8;color:#315c40;text-decoration:none;font-size:13px;font-weight:700;box-shadow:0 4px 12px #35523222}.scene-greeting .guide-entry:focus-visible{outline:3px solid #b97e30;outline-offset:3px}
