:root{--tg-ink:#46343d;--tg-rose:#ec6685;--tg-cream:#fff8ee;--tg-glass:rgba(255,250,244,.78);--tg-safe-bottom:max(14px,env(safe-area-inset-bottom))}
body.two-person-garden-active{overflow:hidden;background:#201b29}
body.two-person-garden-active>header,body.two-person-garden-active>main{display:none!important}
#twoPersonGarden{position:fixed;inset:0;z-index:8000;overflow:hidden;color:var(--tg-ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;background:#30283b}
#twoPersonGarden *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.tg-scene{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:#704f65}
.tg-scene-bg{position:absolute;inset:-3%;z-index:-8;background:url('/assets/garden-sunset-v33-1-40.webp?v=33-1-40') center center/cover no-repeat;transform:scale(1.035);transition:filter 2s ease,transform 8s ease}
.tg-scene::before{content:"";position:absolute;inset:0;z-index:-7;pointer-events:none;transition:background 2s ease}
.tg-scene[data-time="dawn"] .tg-scene-bg{filter:saturate(.92) brightness(.92) hue-rotate(-7deg)}
.tg-scene[data-time="dawn"]::before{background:linear-gradient(#b895cf44,#ffd2b31a 44%,#44374622)}
.tg-scene[data-time="day"] .tg-scene-bg{filter:saturate(.9) brightness(1.14) hue-rotate(3deg)}
.tg-scene[data-time="day"]::before{background:linear-gradient(#b9e7ff33,transparent 46%,#fff4d114)}
.tg-scene[data-time="sunset"] .tg-scene-bg{filter:saturate(1.08) contrast(1.02)}
.tg-scene[data-time="sunset"]::before{background:linear-gradient(#9e70ba18,#ff9a6540 55%,#5b344119)}
.tg-scene[data-time="night"] .tg-scene-bg{filter:brightness(.42) saturate(.72) hue-rotate(18deg)}
.tg-scene[data-time="night"]::before{background:radial-gradient(circle at 74% 15%,#fff6c922 0 5%,transparent 20%),linear-gradient(#111c4c99,#2e254b80 55%,#11152190)}
.tg-sky{position:absolute;inset:0;z-index:-5;pointer-events:none}
.tg-orb{position:absolute;left:10%;top:12%;width:56px;height:56px;border-radius:50%;background:#fff0bd;box-shadow:0 0 35px #ffe596,0 0 90px #ffb56c99;opacity:.84;transition:all 2s ease}
[data-time="day"] .tg-orb{left:70%;top:8%;background:#fff8cf;box-shadow:0 0 60px #fff2ab}
[data-time="sunset"] .tg-orb{left:48%;top:23%;width:38px;height:38px;background:#fff7cf;box-shadow:0 0 45px #ffb351}
[data-time="night"] .tg-orb{left:75%;top:8%;width:48px;height:48px;background:#fff9d8;box-shadow:0 0 35px #d5ddff;opacity:.92}
[data-time="night"] .tg-orb::after{content:"";position:absolute;width:48px;height:48px;border-radius:50%;background:#1c234d;left:-13px;top:-8px}
.tg-cloud{position:absolute;width:160px;height:32px;border-radius:50%;background:#fff9;filter:blur(10px);opacity:.32;animation:tg-cloud 28s linear infinite}.tg-cloud.c1{top:12%;left:-30%}.tg-cloud.c2{top:25%;left:-50%;width:230px;animation-duration:43s;animation-delay:-18s;opacity:.2}
@keyframes tg-cloud{to{transform:translateX(calc(100vw + 420px))}}
.tg-fireflies{position:absolute;inset:0;opacity:0;transition:opacity 2s}.tg-scene[data-time="night"] .tg-fireflies{opacity:1}.tg-firefly{position:absolute;width:4px;height:4px;border-radius:50%;background:#fff9a7;box-shadow:0 0 9px 3px #e8ff78;animation:tg-fly 5s ease-in-out infinite}.tg-firefly:nth-child(1){left:18%;top:62%}.tg-firefly:nth-child(2){left:68%;top:48%;animation-delay:-2s}.tg-firefly:nth-child(3){left:81%;top:72%;animation-delay:-3.4s}.tg-firefly:nth-child(4){left:38%;top:44%;animation-delay:-1.1s}.tg-firefly:nth-child(5){left:56%;top:68%;animation-delay:-4.2s}
@keyframes tg-fly{0%,100%{transform:translate(0,0);opacity:.25}40%{transform:translate(25px,-28px);opacity:1}70%{transform:translate(-14px,-48px);opacity:.55}}
.tg-topbar{position:absolute;z-index:20;left:0;right:0;top:0;padding:max(14px,env(safe-area-inset-top)) 16px 8px;display:flex;align-items:center;justify-content:space-between;color:white;text-shadow:0 2px 12px #3b243d80;background:linear-gradient(#2d203c70,transparent)}
.tg-brand{display:flex;align-items:center;gap:9px}.tg-brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#fff4;border:1px solid #fff7;backdrop-filter:blur(10px);font-size:20px}.tg-brand b{display:block;font-family:serif;font-size:17px;letter-spacing:2px}.tg-brand small{display:block;font-size:10px;opacity:.86;margin-top:1px}.tg-top-actions{display:flex;gap:7px}.tg-icon-btn{width:38px;height:38px;border:1px solid #fff7!important;border-radius:50%!important;color:#fff!important;background:#44324670!important;backdrop-filter:blur(12px);font-size:17px;display:grid;place-items:center;padding:0!important;box-shadow:none!important}
.tg-dual-invite{position:absolute;z-index:16;right:15px;top:68px;border:1px solid #fff9!important;border-radius:999px!important;background:linear-gradient(135deg,#f35f87e8,#ff987fe8)!important;color:#fff!important;padding:9px 13px!important;font-size:12px!important;font-weight:800;box-shadow:0 9px 24px #59263b38;backdrop-filter:blur(12px)}.tg-dual-invite[hidden]{display:none!important}.tg-dual-note{display:block;color:#fff5d5!important;text-shadow:0 1px 4px #432b35;margin-top:5px}.tg-free-gift{background:linear-gradient(135deg,#fffaf2,#fff0f4)!important}.tg-guest-invite-bar{position:absolute;z-index:45;left:50%;bottom:86px;transform:translateX(-50%);width:min(92%,520px);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px 12px 16px;border:1px solid #ffffffc9;border-radius:22px;background:#fff8f3e8;color:#52333f;box-shadow:0 14px 38px #351c2940;backdrop-filter:blur(18px)}.tg-guest-invite-bar[hidden]{display:none!important}.tg-guest-invite-bar b,.tg-guest-invite-bar small{display:block}.tg-guest-invite-bar b{font-size:14px}.tg-guest-invite-bar small{font-size:10px;margin-top:2px;color:#8c6974}.tg-guest-invite-bar button{flex:0 0 auto;border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#ef5d84,#ff987c)!important;color:#fff!important;padding:10px 14px!important;font-weight:800;font-size:12px!important}
.tg-screen{position:absolute;inset:0;display:none}.tg-screen.active{display:block}
.tg-garden-hud{position:absolute;z-index:8;left:14px;right:14px;top:max(78px,calc(env(safe-area-inset-top) + 72px));display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none}
.tg-room-pill,.tg-stats-pill{pointer-events:auto;border:1px solid #fff7;background:rgba(55,42,51,.46);color:#fff;backdrop-filter:blur(14px);box-shadow:0 10px 30px #2b17273a;text-shadow:0 1px 5px #412f3f;border-radius:19px}.tg-room-pill{padding:9px 12px;max-width:58%}.tg-room-pill b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.tg-room-pill small{opacity:.83;font-size:10px}.tg-stats-pill{padding:7px 10px;display:flex;gap:11px;font-size:12px}.tg-stats-pill span{display:flex;gap:4px;align-items:center}
.tg-garden-center{position:absolute;z-index:5;left:0;right:0;bottom:166px;height:min(49vh,520px);display:flex;align-items:flex-end;justify-content:center;pointer-events:none;perspective:900px}
.tg-soil-glow{position:absolute;left:50%;bottom:4%;width:min(76vw,540px);height:24%;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,#fbc7a85e,transparent 67%);filter:blur(4px)}
.tg-plant{--flower:#ef5777;--glow:#ffb5c5;position:relative;width:240px;height:330px;transform-origin:50% 100%;filter:drop-shadow(0 12px 9px #2f1b243d);animation:tg-breathe 4s ease-in-out infinite;pointer-events:auto}
@keyframes tg-breathe{50%{transform:translateY(-3px) rotate(.7deg)}}
.tg-plant.stage-seed{height:90px;transform:scale(.78)}.tg-plant.stage-sprout{height:155px;transform:scale(.82)}.tg-plant.stage-leaves{height:220px;transform:scale(.9)}.tg-plant.stage-bud{height:285px}.tg-plant.stage-opening,.tg-plant.stage-bloom{height:330px}
.tg-stem{position:absolute;bottom:5px;left:50%;width:9px;height:69%;transform:translateX(-50%);border-radius:10px;background:linear-gradient(90deg,#37653c,#79a759 45%,#2e6438);box-shadow:inset -2px 0 #214d2d}
.stage-seed .tg-stem{height:0}.stage-sprout .tg-stem{height:45%}.stage-leaves .tg-stem{height:60%}
.tg-leaf{position:absolute;width:76px;height:38px;background:linear-gradient(145deg,#8fbd6a,#387245);border-radius:100% 0 100% 0;box-shadow:inset 0 -4px 8px #285f3b55;transform-origin:100% 100%;opacity:0}.stage-sprout .tg-leaf,.stage-leaves .tg-leaf,.stage-bud .tg-leaf,.stage-opening .tg-leaf,.stage-bloom .tg-leaf{opacity:1}.tg-leaf.l1{left:42px;bottom:94px;transform:rotate(13deg)}.tg-leaf.l2{right:43px;bottom:145px;transform:scaleX(-1) rotate(12deg)}.tg-leaf.l3{left:55px;bottom:188px;transform:scale(.72) rotate(18deg)}
.tg-seed{position:absolute;left:50%;bottom:7px;transform:translateX(-50%);width:34px;height:23px;border-radius:60% 38%;background:#6b4129;box-shadow:inset 5px 4px #8b5d3c}.stage-sprout .tg-seed,.stage-leaves .tg-seed,.stage-bud .tg-seed,.stage-opening .tg-seed,.stage-bloom .tg-seed{opacity:0}
.tg-flower{position:absolute;left:50%;top:6px;width:150px;height:150px;transform:translateX(-50%) scale(0);transition:transform .8s cubic-bezier(.2,1.4,.45,1);filter:drop-shadow(0 0 16px var(--glow))}.stage-bud .tg-flower{transform:translateX(-50%) scale(.38)}.stage-opening .tg-flower{transform:translateX(-50%) scale(.72)}.stage-bloom .tg-flower{transform:translateX(-50%) scale(1)}
.tg-petal{position:absolute;left:50%;top:50%;width:58px;height:78px;margin:-39px -29px;border-radius:62% 62% 46% 46%;transform-origin:50% 76%;background:radial-gradient(circle at 48% 24%,#fff8,var(--flower) 54%,#9d314c);box-shadow:inset 0 -8px 13px #7d26384a,0 0 12px var(--glow)}.tg-petal:nth-child(1){transform:rotate(0deg) translateY(-31px)}.tg-petal:nth-child(2){transform:rotate(60deg) translateY(-31px)}.tg-petal:nth-child(3){transform:rotate(120deg) translateY(-31px)}.tg-petal:nth-child(4){transform:rotate(180deg) translateY(-31px)}.tg-petal:nth-child(5){transform:rotate(240deg) translateY(-31px)}.tg-petal:nth-child(6){transform:rotate(300deg) translateY(-31px)}.tg-petal.inner{width:42px;height:58px;margin:-29px -21px;filter:brightness(1.08)}.tg-petal:nth-child(7){transform:rotate(30deg) translateY(-19px)}.tg-petal:nth-child(8){transform:rotate(120deg) translateY(-19px)}.tg-petal:nth-child(9){transform:rotate(210deg) translateY(-19px)}.tg-petal:nth-child(10){transform:rotate(300deg) translateY(-19px)}
.tg-flower-core{position:absolute;left:50%;top:50%;width:28px;height:28px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#fff4ad,#d68548);box-shadow:0 0 12px #fff4a8}
.seed-moon_white .tg-petal{background:radial-gradient(circle at 48% 24%,#fff,#fff8ee 56%,#b9cbe1)}.seed-blue_mist .tg-petal{background:radial-gradient(circle at 48% 24%,#dff7ff,#83a9ec 58%,#4f579c)}.seed-aurora .tg-petal{background:linear-gradient(145deg,#7affe0,#8c7cff 48%,#ff8dc8);animation:tg-aurora 3s ease-in-out infinite alternate}.seed-galaxy .tg-petal{background:radial-gradient(circle at 30% 25%,#fff 0 2%,transparent 3%),radial-gradient(circle at 70% 50%,#fff 0 1.5%,transparent 2.5%),linear-gradient(145deg,#2a265d,#6b5eea 55%,#df6cca)}.seed-eclipse .tg-petal{background:linear-gradient(145deg,#8b769f,#34273f);border:1px solid #dfd0ff}.seed-glass .tg-petal{background:linear-gradient(145deg,#efffffaa,#77dce7bb,#c39affaa);backdrop-filter:blur(2px)}.seed-eternal_wish .tg-flower::after{content:"";position:absolute;inset:14px;border:2px solid #fff9;border-radius:50%;box-shadow:0 0 24px var(--glow);animation:tg-ring 2.4s ease-in-out infinite}
@keyframes tg-aurora{to{filter:hue-rotate(35deg) brightness(1.12)}}@keyframes tg-ring{50%{transform:scale(1.18);opacity:.35}}
.tg-water-drops,.tg-sparkles{position:absolute;inset:0;pointer-events:none}.tg-water-drops i{position:absolute;left:50%;top:38%;width:9px;height:16px;border-radius:60% 40% 60% 40%;background:#bff3ff;opacity:0}.tg-plant.fx-water .tg-water-drops i{animation:tg-drop .9s ease-in forwards}.tg-water-drops i:nth-child(2){left:35%;animation-delay:.12s!important}.tg-water-drops i:nth-child(3){left:64%;animation-delay:.22s!important}@keyframes tg-drop{0%{opacity:0;transform:translateY(-80px) rotate(45deg)}30%{opacity:1}100%{opacity:0;transform:translateY(120px) rotate(45deg)}}
.tg-empty-plot{align-self:flex-end;margin-bottom:32px;padding:16px 22px;border-radius:28px;background:#3d273a70;border:1px solid #fff6;color:#fff;text-align:center;backdrop-filter:blur(10px);pointer-events:auto}.tg-empty-plot b{display:block;font-family:serif;font-size:19px}.tg-empty-plot small{display:block;opacity:.86;line-height:1.55}.tg-empty-plot button{margin-top:10px}
.tg-cultivation-gate{width:min(86vw,390px);box-sizing:border-box;padding:20px 20px 17px;background:linear-gradient(145deg,rgba(66,39,60,.82),rgba(115,70,82,.7));box-shadow:0 18px 45px rgba(31,18,31,.28),inset 0 1px 0 rgba(255,255,255,.3)}.tg-cultivation-gate b{font-size:23px;margin-bottom:6px}.tg-cultivation-gate .tg-primary{width:100%;margin-top:14px!important}.tg-cultivation-steps{display:flex;gap:5px;justify-content:center;margin-top:13px}.tg-cultivation-steps i{font-style:normal;font-size:8px;line-height:1.25;padding:6px 7px;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);opacity:.76}.tg-cultivation-steps i.done{background:rgba(255,222,191,.2);border-color:rgba(255,227,199,.38);opacity:1}
.tg-caption{position:absolute;z-index:8;left:50%;bottom:142px;transform:translateX(-50%);min-width:210px;text-align:center;color:#fff;text-shadow:0 2px 10px #301d31}.tg-caption b{font-family:serif;font-size:18px;letter-spacing:1px}.tg-caption small{display:block;margin-top:2px;opacity:.88}.tg-progress{width:170px;height:5px;margin:7px auto 0;border-radius:9px;background:#fff5;overflow:hidden}.tg-progress i{display:block;height:100%;background:linear-gradient(90deg,#ffc9a8,#ff6f96);border-radius:inherit;box-shadow:0 0 9px #fff}
.tg-tools{position:absolute;z-index:12;left:10px;right:10px;bottom:calc(72px + var(--tg-safe-bottom));display:flex;justify-content:center;gap:8px}.tg-tool{width:64px;height:68px;border:1px solid #fff8!important;border-radius:22px!important;background:rgba(255,249,242,.83)!important;backdrop-filter:blur(16px);box-shadow:0 9px 24px #32233445!important;color:#5a3f4b!important;padding:7px 3px!important;font-size:11px!important}.tg-tool span{display:block;font-size:25px;line-height:29px}.tg-tool:disabled{filter:grayscale(.7);opacity:.55}.tg-tool.collect{background:linear-gradient(145deg,#f0678b,#ff9b72)!important;color:#fff!important;border-color:#ffc4c9!important}
.tg-bottomnav{position:absolute;z-index:25;left:0;right:0;bottom:0;height:calc(64px + var(--tg-safe-bottom));padding:5px 8px var(--tg-safe-bottom);display:flex;align-items:flex-start;justify-content:space-around;background:linear-gradient(180deg,rgba(255,249,244,.77),rgba(255,251,247,.96));border-top:1px solid #fff9;backdrop-filter:blur(22px);box-shadow:0 -8px 30px #3f28372f}.tg-nav{border:0!important;background:transparent!important;box-shadow:none!important;color:#8a7580!important;padding:4px 8px!important;font-size:10px!important;min-width:52px}.tg-nav span{display:block;font-size:21px;line-height:25px}.tg-nav.active{color:#df5579!important}.tg-nav.active span{transform:translateY(-2px);filter:drop-shadow(0 4px 4px #e7598144)}
.tg-sheet{position:absolute;z-index:16;left:0;right:0;bottom:calc(64px + var(--tg-safe-bottom));max-height:74vh;overflow:auto;padding:18px 16px 28px;border-radius:28px 28px 0 0;background:rgba(255,250,246,.94);backdrop-filter:blur(24px);box-shadow:0 -20px 55px #301e3145;transform:translateY(110%);transition:transform .36s cubic-bezier(.2,.85,.2,1)}.tg-sheet.open{transform:translateY(0)}.tg-sheet-handle{width:42px;height:4px;border-radius:5px;background:#d8c8ca;margin:-7px auto 13px}.tg-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.tg-sheet-head h2{font-family:serif;font-size:23px;margin:0}.tg-sheet-head p{margin:3px 0 0;font-size:12px;color:#987c86}.tg-close{border:0!important;background:#f3e7e6!important;width:34px;height:34px;border-radius:50%!important;padding:0!important;color:#755862!important;box-shadow:none!important}
.tg-seed-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tg-seed-card{position:relative;overflow:hidden;padding:14px;border-radius:21px;background:#fff;border:1px solid #f0d9da;min-height:164px;box-shadow:0 8px 22px #7c4a5c10}.tg-seed-mini{--flower:#ef5777;--glow:#ffb5c5;width:57px;height:57px;border-radius:50%;background:radial-gradient(circle,var(--glow),#f7efe9 68%);display:grid;place-items:center;font-size:30px;box-shadow:inset 0 0 18px #fff,0 6px 16px var(--glow)}.tg-seed-card b{display:block;margin-top:9px;font-size:14px}.tg-seed-card small{display:block;color:#9a7d87;font-size:10px;line-height:1.45;min-height:29px}.tg-seed-card footer{display:flex;align-items:center;justify-content:space-between;margin-top:9px}.tg-price{font-weight:800;color:#d54d72}.tg-chip{font-size:9px;border-radius:10px;padding:3px 7px;background:#f7e9ea;color:#b05a72}.tg-buy{border:0!important;border-radius:13px!important;background:#ef6b89!important;color:#fff!important;padding:7px 10px!important;font-size:11px!important;box-shadow:none!important}.tg-buy:disabled{background:#d9cbcd!important}.tg-member-gift{padding:13px;border-radius:19px;background:linear-gradient(120deg,#574362,#936879);color:#fff;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}.tg-member-gift b{display:block}.tg-member-gift small{opacity:.8}.tg-member-gift button{border:0!important;border-radius:14px!important;background:#fff0e1!important;color:#76505c!important;padding:8px 10px!important;font-weight:700}.tg-wallet{font-size:12px;color:#967982}.tg-wallet b{font-size:18px;color:#d64f73}
.tg-collection{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.tg-bloom{aspect-ratio:1;border-radius:19px;background:linear-gradient(145deg,#fff,#f5e7e8);display:grid;place-items:center;text-align:center;padding:7px;border:1px solid #ecd7d9}.tg-bloom span{font-size:32px;filter:drop-shadow(0 5px 5px #8b526044)}.tg-bloom small{font-size:9px;color:#8d7079}.tg-bloom.locked{filter:grayscale(1);opacity:.38}
.tg-menu-list{display:grid;gap:9px}.tg-menu-item{width:100%;border:1px solid #edd9da!important;border-radius:18px!important;background:#fff!important;color:#59434c!important;padding:13px 14px!important;display:flex;justify-content:space-between;align-items:center;text-align:left!important;box-shadow:none!important}.tg-menu-item span:first-child{font-size:21px;margin-right:10px}.tg-menu-item b{flex:1;font-size:13px}.tg-menu-item small{color:#a48c94}.tg-danger{color:#b44556!important}.tg-room-list{display:grid;gap:8px;margin-bottom:12px}.tg-room-choice{padding:12px 14px;border-radius:18px;background:#fff;border:1px solid #ead5d7;display:flex;justify-content:space-between;align-items:center}.tg-room-choice.active{border-color:#ee6f8c;box-shadow:0 0 0 2px #f8c5d1}.tg-room-choice b{font-size:13px}.tg-room-choice small{display:block;color:#9a7c85;font-size:10px}
.tg-welcome{position:absolute;inset:0;z-index:10;overflow:auto;padding:110px 22px 110px;display:flex;align-items:flex-end;background:linear-gradient(transparent 15%,#32253522 45%,#241827b8 100%);color:#fff;text-shadow:0 2px 14px #35202f}.tg-welcome-copy{max-width:480px;margin:0 auto}.tg-welcome h1{font-family:serif;font-size:42px;line-height:1.08;margin:0 0 12px;letter-spacing:3px}.tg-welcome p{font-size:15px;line-height:1.75;margin:0 0 22px;opacity:.92}.tg-primary,.tg-secondary{border:0!important;border-radius:18px!important;padding:13px 18px!important;font-weight:800!important}.tg-primary{background:linear-gradient(120deg,#ed6284,#ff9b72)!important;color:white!important;box-shadow:0 11px 26px #ed628449!important}.tg-secondary{background:#fff2!important;color:#fff!important;border:1px solid #fff8!important;backdrop-filter:blur(10px)}.tg-welcome-actions{display:flex;gap:10px;flex-wrap:wrap}
.tg-toast{position:absolute;z-index:50;left:50%;bottom:145px;transform:translate(-50%,20px);max-width:88%;padding:10px 15px;border-radius:18px;background:#342633dd;color:#fff;font-size:12px;box-shadow:0 10px 30px #2a1827;opacity:0;pointer-events:none;transition:.25s}.tg-toast.show{opacity:1;transform:translate(-50%,0)}
.tg-loading{position:absolute;inset:0;z-index:60;display:grid;place-items:center;background:#2c2237;color:#fff}.tg-loading::before{content:"";width:56px;height:56px;border:3px solid #fff3;border-top-color:#ffd0dd;border-radius:50%;animation:tg-spin .9s linear infinite}.tg-loading span{position:absolute;margin-top:94px;font-size:12px;opacity:.8}@keyframes tg-spin{to{transform:rotate(360deg)}}
.tg-rain{position:absolute;inset:0;z-index:15;pointer-events:none;opacity:0}.tg-rain.active{opacity:1}.tg-rain i{position:absolute;top:18%;left:var(--x);width:3px;height:18px;background:linear-gradient(transparent,#d9f8ff);border-radius:4px;animation:tg-rain .7s linear forwards;animation-delay:var(--d)}@keyframes tg-rain{to{transform:translateY(62vh);opacity:0}}
#twoPersonGarden~.modal,.modal{z-index:12000!important}
.tg-legacy-return{display:none;position:fixed;z-index:15000;right:14px;bottom:18px;border:0;border-radius:22px;padding:12px 16px;background:#e85f82;color:#fff;box-shadow:0 8px 25px #b6426270;font-weight:700}.two-person-garden-legacy #twoPersonGarden{display:none}.two-person-garden-legacy>header,.two-person-garden-legacy>main{display:block!important}.two-person-garden-legacy .tg-legacy-return{display:block}
.two-person-garden-legacy .tab[data-tab="names"],.two-person-garden-legacy .tab[data-tab="cards"],.two-person-garden-legacy .tab[data-tab="time"],.two-person-garden-legacy .tab[data-tab="safe"],.two-person-garden-legacy .tab[data-tab="movie"],.two-person-garden-legacy .tab[data-tab="games"],.two-person-garden-legacy .tab[data-tab="rose"],.two-person-garden-legacy .tab[data-tab="tasks"],.two-person-garden-legacy .tab[data-tab="checkin"],.two-person-garden-legacy .tab[data-tab="album"],.two-person-garden-legacy .tab[data-tab="ai"],.two-person-garden-legacy .tab[data-tab="weather"]{display:none!important}
@media(min-width:760px){#twoPersonGarden{left:50%;right:auto;width:min(100%,720px);transform:translateX(-50%);box-shadow:0 0 70px #0009}.tg-seed-grid{grid-template-columns:repeat(3,1fr)}.tg-tools{gap:13px}.tg-tool{width:76px}.tg-garden-center{bottom:155px}.tg-caption{bottom:135px}}
@media(max-height:670px){.tg-garden-center{height:44vh;bottom:150px}.tg-plant{transform:scale(.82);transform-origin:50% 100%}.tg-tools{bottom:calc(66px + var(--tg-safe-bottom))}.tg-tool{height:61px}.tg-tool span{font-size:21px}.tg-caption{bottom:132px}}
@media(prefers-reduced-motion:reduce){#twoPersonGarden *{animation-duration:.001ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}

/* V33.1.42 · 玫瑰邮局沉浸式动态场景 */
#twoPersonGarden{height:100vh;height:100dvh;min-height:100svh;background:#4a3547}
.tg-scene{--scene-x:0;--scene-y:0;isolation:isolate;background:#4a3547;touch-action:manipulation}
.tg-scene-bg{inset:-4%;z-index:0;background-image:linear-gradient(180deg,rgba(76,44,77,.05),rgba(40,26,39,.16)),url('/assets/rose-post-office-garden-v33-1-42.png?v=33-1-42');background-image:linear-gradient(180deg,rgba(76,44,77,.05),rgba(40,26,39,.16)),image-set(url('/assets/rose-post-office-garden-v33-1-42.webp?v=33-1-42') type('image/webp'),url('/assets/rose-post-office-garden-v33-1-42.png?v=33-1-42') type('image/png'));background-position:center 50%;background-size:cover;transform:scale(1.055) translate(calc(var(--scene-x) * -18px),calc(var(--scene-y) * -12px));transition:filter 2s ease,transform .55s cubic-bezier(.2,.8,.2,1);will-change:transform,filter,background-position;animation:tg-scenery-drift 16s ease-in-out infinite alternate}
.tg-scene::before{z-index:1!important}.tg-scene::after{content:"";position:absolute;inset:-20%;z-index:2;pointer-events:none;background:linear-gradient(115deg,transparent 32%,rgba(255,240,201,.16) 45%,transparent 58%);transform:translateX(-28%) rotate(-4deg);animation:tg-sunbeam 10s ease-in-out infinite alternate;mix-blend-mode:screen}
.tg-sky{z-index:2!important}.tg-dynamic-canvas{position:absolute;inset:0;z-index:4;width:100%;height:100%;pointer-events:none;mix-blend-mode:screen}
@keyframes tg-scenery-drift{from{background-position:48% 49%}to{background-position:52% 52%}}
@keyframes tg-sunbeam{to{transform:translateX(24%) rotate(3deg);opacity:.62}}
.tg-depth{position:absolute;inset:0;pointer-events:none;will-change:transform;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
.tg-depth-far{z-index:3;opacity:.78;background:radial-gradient(ellipse at 18% 72%,rgba(255,224,194,.2),transparent 25%),radial-gradient(ellipse at 82% 65%,rgba(255,192,183,.16),transparent 28%);transform:translate(calc(var(--scene-x) * 10px),calc(var(--scene-y) * 6px))}
.tg-depth-near{z-index:6;inset:auto -5% -22px;height:19%;opacity:.45;background:radial-gradient(ellipse at 8% 100%,rgba(26,64,47,.72),transparent 45%),radial-gradient(ellipse at 92% 100%,rgba(24,57,46,.76),transparent 47%);filter:blur(1px);transform:translate(calc(var(--scene-x) * 18px),calc(var(--scene-y) * 9px))}
.tg-touch-ripple{position:absolute;z-index:7;width:18px;height:18px;border:1.5px solid rgba(255,246,218,.88);border-radius:50%;pointer-events:none;transform:translate(-50%,-50%);animation:tg-touch-ripple .9s ease-out forwards;box-shadow:0 0 18px rgba(255,219,180,.65)}
@keyframes tg-touch-ripple{to{width:120px;height:120px;opacity:0;border-width:0}}
.tg-welcome-kicker{display:block;margin-bottom:10px;font-size:11px;letter-spacing:.22em;color:#ffe7dc;text-transform:uppercase}
.tg-brand-mark{background:rgba(255,244,231,.84)!important;box-shadow:0 10px 30px rgba(90,41,59,.22)}

/* AI绘制的六种玫瑰头部精灵图，替代程序化几何花瓣 */
.tg-flower-sprite,.tg-game-bloom{display:block;background-image:url('/assets/rose-bloom-sprites-v33-1-41.png?v=33-1-42');background-repeat:no-repeat;background-size:300% 200%;filter:drop-shadow(0 12px 16px rgba(70,35,54,.22));transform:translateZ(0)}
.rose-sprite-red{background-position:0 0}.rose-sprite-white{background-position:50% 0}.rose-sprite-peach{background-position:100% 0}.rose-sprite-blue{background-position:0 100%}.rose-sprite-aurora{background-position:50% 100%}.rose-sprite-galaxy{background-position:100% 100%}
.tg-flower{top:-24px;width:196px;height:196px;filter:none}.stage-seed .tg-flower{transform:translateX(-50%) scale(.2);opacity:.88}.stage-sprout .tg-flower{transform:translateX(-50%) scale(.31)}.stage-leaves .tg-flower{transform:translateX(-50%) scale(.48)}.stage-bud .tg-flower{transform:translateX(-50%) scale(.66)}.stage-opening .tg-flower{transform:translateX(-50%) scale(.84)}.stage-bloom .tg-flower{transform:translateX(-50%) scale(1)}.tg-flower-sprite{position:absolute;inset:0;width:100%;height:100%}.tg-flower-halo{position:absolute;inset:30px;border-radius:50%;z-index:-1;background:radial-gradient(circle,var(--glow),transparent 70%);filter:blur(14px);opacity:.7;animation:tg-halo 3.2s ease-in-out infinite alternate}
@keyframes tg-halo{to{transform:scale(1.16);opacity:.9}}
.tg-seed-mini{width:76px;height:76px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.95),rgba(255,240,232,.58) 67%,transparent 70%);box-shadow:none;overflow:visible}.tg-seed-mini .tg-game-bloom{width:82px;height:82px;margin:-3px}
.tg-bloom>span{display:none}.tg-bloom .tg-game-bloom{width:76px;height:76px;margin:0 auto 3px}.tg-bloom.locked .tg-game-bloom{filter:grayscale(1) brightness(.8);opacity:.25}
.tg-seed-card{min-height:188px;padding:14px;background:linear-gradient(145deg,rgba(255,255,255,.73),rgba(255,247,241,.5));border:1px solid rgba(255,255,255,.76);backdrop-filter:blur(14px);box-shadow:0 14px 32px rgba(97,52,70,.08)}
.tg-seed-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(130deg,rgba(255,255,255,.5),transparent 38%)}
.tg-seed-card>*{position:relative}.tg-seed-card small{min-height:31px}.tg-seed-card footer{gap:5px}
.tg-sheet{background:linear-gradient(160deg,rgba(255,250,246,.92),rgba(255,242,239,.88));border:1px solid rgba(255,255,255,.72);box-shadow:0 -22px 70px rgba(53,29,46,.22)}

/* 旧核心页面回退显示：必须高于花园模式的隐藏规则 */
body.two-person-garden-active.two-person-garden-legacy>header,body.two-person-garden-active.two-person-garden-legacy>main{display:block!important}
body.two-person-garden-active.two-person-garden-legacy #twoPersonGarden{display:none!important}

/* 权益申请 */
.tg-benefit-note{padding:14px 15px;border-radius:18px;background:linear-gradient(135deg,#fff0e9,#fce2e7);color:#815364;font-size:13px;line-height:1.7;margin-bottom:14px}.tg-benefit-note b{color:#cb4268;font-size:18px}
.tg-benefit-form{display:grid;gap:11px}.tg-benefit-form label{display:grid;gap:5px;font-size:12px;color:#80626c}.tg-benefit-form input,.tg-benefit-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(185,123,139,.24);border-radius:15px;background:rgba(255,255,255,.72);padding:12px 13px;color:#503741;font:inherit;outline:none}.tg-benefit-form textarea{min-height:82px;resize:vertical}.tg-benefit-form input:focus,.tg-benefit-form textarea:focus{border-color:#e27892;box-shadow:0 0 0 3px rgba(226,120,146,.11)}
.tg-benefit-member{width:100%;margin-bottom:14px}.tg-benefit-history{margin-top:18px}.tg-benefit-history h3{font-size:14px;margin:0 0 8px}.tg-benefit-history p,.tg-sheet-loading,.tg-benefit-error{color:#987b85;font-size:13px;padding:20px 4px;text-align:center}.tg-benefit-history ul{list-style:none;padding:0;margin:0;border-top:1px solid rgba(160,104,122,.12)}.tg-benefit-history li{display:flex;justify-content:space-between;padding:11px 3px;border-bottom:1px solid rgba(160,104,122,.12);font-size:12px}.tg-benefit-history li b{color:#cc5674}.tg-benefit-error b{display:block;color:#76505c;font-size:16px}.tg-benefit-error .tg-primary{margin-top:8px}

/* V3 更新提醒 */
.tg-update-modal{position:absolute;inset:0;z-index:90;display:grid;place-items:center;padding:24px;background:rgba(29,19,30,.52);backdrop-filter:blur(14px);transition:opacity .25s ease}.tg-update-modal.hidden{opacity:0;pointer-events:none}.tg-update-card{width:min(100%,340px);box-sizing:border-box;text-align:center;padding:38px 26px 25px;border-radius:32px;background:radial-gradient(circle at 50% 0,#fff9f0,#fff1ef 68%,#fce5e9);border:1px solid rgba(255,255,255,.9);box-shadow:0 30px 80px rgba(41,21,36,.42);color:#684651}.tg-update-seal{width:70px;height:70px;display:grid;place-items:center;margin:-72px auto 16px;border-radius:50%;font-size:34px;background:linear-gradient(145deg,#fff7e8,#ffc5cf);border:4px solid #fff;box-shadow:0 12px 30px rgba(183,72,102,.28)}.tg-update-card small{color:#bc6a7f;letter-spacing:.12em}.tg-update-card h2{margin:7px 0 9px;font-family:serif;font-size:27px}.tg-update-card p{margin:0 0 20px;line-height:1.8;font-size:14px;color:#87646e}.tg-update-card .tg-primary{width:100%}

@media(max-width:390px){.tg-flower{width:174px;height:174px;top:-7px}.tg-seed-grid{gap:8px}.tg-seed-card{padding:11px}.tg-seed-card footer{align-items:flex-end}.tg-buy{padding:7px 8px!important}.tg-welcome h1{font-size:38px}}
@media(max-width:560px){.tg-scene-bg{inset:-2%;background-position:center 48%;transform:scale(1.035) translate(calc(var(--scene-x) * -10px),calc(var(--scene-y) * -7px))}.tg-garden-center{z-index:7;height:48vh}.tg-depth-near{height:15%;opacity:.35}}
@media(prefers-reduced-motion:reduce){.tg-scene-bg,.tg-depth{transform:none!important}.tg-dynamic-canvas{display:none}}

/* V33.1.44 · 修复旧版 canvas 白底污染与成长精灵裁切 */
.tg-scene-bg{display:none!important}
.tg-scene-media{position:absolute;inset:0;z-index:0;overflow:hidden;background:#3f3146;pointer-events:none}
.tg-scene-image{position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover;object-position:center 50%;opacity:0;transform:scale(1.045) translate(calc(var(--scene-x) * -10px),calc(var(--scene-y) * -7px));transition:opacity 1.7s ease,transform .7s cubic-bezier(.2,.8,.2,1);will-change:opacity,transform;animation:tg-v33143-scene 18s ease-in-out infinite alternate}
.tg-scene-image.active{opacity:1}
@keyframes tg-v33143-scene{to{transform:scale(1.075) translate(calc(var(--scene-x) * -14px),calc(var(--scene-y) * -10px))}}
.tg-scene::before{z-index:1!important;background:linear-gradient(180deg,rgba(28,20,37,.18),transparent 28%,transparent 72%,rgba(29,20,31,.26))!important}
.tg-scene::after{z-index:2;opacity:.34;background:linear-gradient(112deg,transparent 32%,rgba(255,238,196,.16) 46%,transparent 60%)}
.tg-scene[data-weather="rain"]::after{opacity:.12}.tg-scene[data-weather="night"]::after{opacity:.16}
.tg-weather-btn{font-size:18px!important}.tg-top-actions{gap:6px}
.tg-rain.weather{opacity:.72}.tg-rain.weather i{height:30px;animation:tg-weather-rain 1.05s linear infinite;animation-delay:var(--d)}
@keyframes tg-weather-rain{from{transform:translate3d(0,-22vh,0);opacity:0}15%{opacity:.8}to{transform:translate3d(-34px,105vh,0);opacity:.08}}

.tg-plant{width:158px!important;height:392px!important;transform:none!important;filter:drop-shadow(0 16px 12px rgba(37,23,31,.28));animation:tg-v33143-breathe 4.6s ease-in-out infinite;overflow:visible}
@keyframes tg-v33143-breathe{50%{transform:translateY(-5px) rotate(.45deg)}}
.tg-growth-stage{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;background:none!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;max-width:none!important;z-index:2;transform-origin:50% 100%;filter:drop-shadow(0 9px 8px rgba(38,31,30,.22))}
.tg-plant-shadow{position:absolute;z-index:1;left:50%;bottom:18px;width:125px;height:24px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(ellipse,rgba(43,30,29,.35),transparent 70%);filter:blur(3px)}
.tg-plant>.tg-seed,.tg-plant>.tg-stem,.tg-plant>.tg-leaf,.tg-plant>.tg-flower{display:none!important}
.seed-moon_white .tg-growth-stage{filter:hue-rotate(315deg) saturate(.46) brightness(1.18) drop-shadow(0 9px 8px rgba(38,31,30,.22))}.seed-peach_blush .tg-growth-stage,.seed-champagne .tg-growth-stage{filter:hue-rotate(335deg) saturate(.78) brightness(1.12) drop-shadow(0 9px 8px rgba(38,31,30,.22))}.seed-blue_mist .tg-growth-stage,.seed-glass .tg-growth-stage{filter:hue-rotate(205deg) saturate(.82) brightness(1.08) drop-shadow(0 9px 8px rgba(38,31,30,.22))}.seed-aurora .tg-growth-stage{filter:hue-rotate(115deg) saturate(1.1) brightness(1.08) drop-shadow(0 0 13px rgba(155,118,255,.52))}.seed-galaxy .tg-growth-stage,.seed-eclipse .tg-growth-stage{filter:hue-rotate(235deg) saturate(.92) brightness(.82) drop-shadow(0 0 14px rgba(129,116,255,.62))}
.tg-sparkles i{position:absolute;z-index:4;width:5px;height:5px;border-radius:50%;background:#fff4b2;box-shadow:0 0 9px 3px var(--glow);opacity:0}.stage-opening.seed-aurora .tg-sparkles i,.stage-bloom.seed-aurora .tg-sparkles i,.stage-opening.seed-galaxy .tg-sparkles i,.stage-bloom.seed-galaxy .tg-sparkles i,.stage-opening.seed-eternal_wish .tg-sparkles i,.stage-bloom.seed-eternal_wish .tg-sparkles i{animation:tg-rare-spark 2.6s ease-in-out infinite}.tg-sparkles i:nth-child(1){left:12%;top:22%}.tg-sparkles i:nth-child(2){right:8%;top:35%;animation-delay:-.7s!important}.tg-sparkles i:nth-child(3){left:22%;top:55%;animation-delay:-1.4s!important}.tg-sparkles i:nth-child(4){right:17%;top:68%;animation-delay:-2.1s!important}@keyframes tg-rare-spark{0%,100%{opacity:0;transform:scale(.3) translateY(8px)}50%{opacity:1;transform:scale(1.25) translateY(-8px)}}
.tg-garden-center{z-index:7;bottom:190px;height:min(48vh,520px)}
.tg-caption{bottom:151px;min-width:230px}.tg-tools{bottom:calc(72px + var(--tg-safe-bottom))}

.tg-membership-sheet{max-height:86vh}.tg-member-status{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:15px;border-radius:22px;background:linear-gradient(135deg,#513b55,#8c6570);color:#fff;box-shadow:0 14px 35px rgba(75,43,59,.18)}
.tg-member-emblem{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;font-size:25px;background:linear-gradient(145deg,#fff9e7,#ffc2cc);box-shadow:inset 0 0 0 3px #fff8}.tg-member-status small{font-size:10px;opacity:.76}.tg-member-status h3{font-family:serif;margin:2px 0;font-size:21px}.tg-member-status p{margin:0;font-size:10px;line-height:1.5;opacity:.83}.tg-member-status>span{text-align:right;font-size:10px;opacity:.8}.tg-member-status>span b{font-size:18px;color:#ffe4b5}
.tg-plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.tg-plan-grid.has-trial{grid-template-columns:1fr 1fr}.tg-plan-grid.has-trial .trial{grid-column:1/-1}.tg-plan-grid button{min-width:0;padding:15px 13px!important;text-align:left;border:1px solid rgba(225,160,174,.35)!important;border-radius:20px!important;background:linear-gradient(150deg,#fff,#fff0ec)!important;color:#65464f!important;box-shadow:0 10px 24px rgba(91,52,67,.08)!important}.tg-plan-grid button.trial{background:linear-gradient(145deg,#fff7df,#ffe7d4)!important;border-color:rgba(232,176,99,.55)!important}.tg-plan-grid button.monthly{background:linear-gradient(150deg,#fff,#fff0ec)!important}.tg-plan-grid button.lifetime{background:linear-gradient(150deg,#fffaf0,#f7e3d0)!important}.tg-plan-grid button.monthly-upgrade{border-color:rgba(224,151,68,.72)!important;box-shadow:0 12px 30px rgba(191,119,47,.18)!important;background:linear-gradient(145deg,#fff8dc,#f6dfba)!important}.tg-plan-grid small,.tg-plan-grid b,.tg-plan-grid strong,.tg-plan-grid em{display:block}.tg-plan-grid small{font-size:9px;color:#b36b7c}.tg-plan-grid b{margin-top:4px;font-size:13px}.tg-plan-grid strong{font-size:22px;color:#d94f73;margin:6px 0 4px}.tg-plan-grid em{font-style:normal;font-size:9px;line-height:1.5;color:#94757e}
.tg-account-log{padding:14px;border-radius:20px;background:rgba(255,255,255,.65);border:1px solid rgba(220,177,185,.28)}.tg-account-log>div{display:flex;align-items:center;justify-content:space-between}.tg-account-log h3{font-size:14px;margin:0}.tg-account-log>div button{border:0!important;background:transparent!important;color:#d25a77!important;padding:4px!important;box-shadow:none!important}.tg-account-log ul{list-style:none;padding:0;margin:8px 0 0}.tg-account-log li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid rgba(169,116,130,.12)}.tg-account-log li b{display:block;font-size:11px}.tg-account-log li small{display:block;font-size:9px;color:#9a7d85;margin-top:2px}.tg-account-log li strong{font-size:12px}.tg-account-log li strong.in{color:#3b936a}.tg-account-log li strong.out{color:#cf5571}.tg-account-log>p{font-size:11px;color:#977a83;text-align:center;padding:10px 0 2px}.tg-member-safe{font-size:10px;line-height:1.65;color:#9c7e87;margin:11px 3px 0}.tg-open-orders{margin-bottom:10px;background:linear-gradient(145deg,rgba(255,245,235,.86),rgba(255,255,255,.7))}.tg-open-orders li>span{display:flex;align-items:center;gap:7px}.tg-open-orders li button{border:0!important;border-radius:10px!important;padding:5px 8px!important;background:#e96784!important;color:#fff!important;font-size:10px!important;box-shadow:none!important}

body.rose-chat-legacy{background:#fff6f3!important;overflow:hidden!important}body.rose-chat-legacy>header{display:none!important}body.rose-chat-legacy>main{display:block!important;height:100vh;height:100dvh;overflow:hidden;padding:0!important;background:linear-gradient(180deg,#fff8f4,#fbe8e9)!important}body.rose-chat-legacy #home,body.rose-chat-legacy #aiShowcase,body.rose-chat-legacy #roomDashboard,body.rose-chat-legacy .room-head,body.rose-chat-legacy .room-grid>.side,body.rose-chat-legacy #tab-chat>.love-meter-card,body.rose-chat-legacy #tab-chat>.chat-member-quick{display:none!important}body.rose-chat-legacy #room{display:block!important;height:100%!important;padding:calc(env(safe-area-inset-top) + 18px) 12px calc(env(safe-area-inset-bottom) + 76px)!important;background:transparent!important}body.rose-chat-legacy .room-grid,body.rose-chat-legacy .room-grid>.content{display:block!important;height:100%!important;min-height:0!important}body.rose-chat-legacy #tab-chat{display:flex!important;flex-direction:column;height:100%!important;padding:0!important;background:transparent!important}body.rose-chat-legacy #tab-chat .panel-head{flex:0 0 auto;padding:8px 54px 10px 4px}body.rose-chat-legacy #tab-chat .panel-head h2{font-family:serif;font-size:24px;margin:0;color:#5e4050}body.rose-chat-legacy #tab-chat .panel-head p{font-size:11px;color:#9c7e87}body.rose-chat-legacy #messages{flex:1;min-height:0;overflow:auto;border-radius:22px;background:rgba(255,255,255,.72);border:1px solid rgba(227,184,193,.35);padding:12px}body.rose-chat-legacy .composer{flex:0 0 auto;margin-top:8px}body.rose-chat-legacy .tg-legacy-return{display:block;top:max(12px,env(safe-area-inset-top));right:12px;bottom:auto;padding:9px 12px;font-size:12px}

@media(max-width:390px){.tg-plant{width:142px!important;height:362px!important}.tg-garden-center{bottom:185px}.tg-plan-grid{gap:8px}.tg-plan-grid button{padding:13px 10px!important}.tg-member-status{grid-template-columns:auto 1fr}.tg-member-status>span{grid-column:1/-1;text-align:left;border-top:1px solid #fff3;padding-top:8px}}@media(max-width:350px){.tg-plan-grid,.tg-plan-grid.has-trial,.tg-plan-grid.two-plans{grid-template-columns:1fr}.tg-plan-grid.has-trial .trial{grid-column:auto}}
@media(max-height:700px){.tg-plant{width:126px!important;height:323px!important}.tg-garden-center{bottom:177px;height:45vh}.tg-caption{bottom:143px}.tg-tools{bottom:calc(68px + var(--tg-safe-bottom))}}
@media(prefers-reduced-motion:reduce){.tg-scene-image{animation:none!important;transform:scale(1.03)!important}}

/* 旧站 styles.css 曾给全部 canvas 加白底、圆角和边框；这里必须彻底隔离 */
#twoPersonGarden canvas.tg-dynamic-canvas{position:absolute!important;inset:0!important;z-index:4!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important;pointer-events:none!important;mix-blend-mode:screen}
#twoPersonGarden main.tg-garden-center{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;max-width:none!important;overflow:visible!important}
.tg-update-modal.ready .tg-update-card{animation:tg-update-arrive .42s cubic-bezier(.2,.85,.25,1.2) both}@keyframes tg-update-arrive{from{opacity:0;transform:translateY(22px) scale(.94)}to{opacity:1;transform:none}}

/* V33.1.48 · 全动态自然花园、双人种植确认、宠物、信箱和多层治愈音景 */
.tg-scene-image.active{animation:tg-world-breathe 18s ease-in-out infinite alternate!important;transform-origin:50% 45%}@keyframes tg-world-breathe{0%{transform:scale(1.035) translate3d(-.35%,0,0)}100%{transform:scale(1.065) translate3d(.45%,-.6%,0)}}
.tg-world-effects{position:absolute;inset:0;z-index:3;pointer-events:none;overflow:hidden}.tg-house-window{position:absolute;border-radius:45%;background:rgba(255,211,123,.74);box-shadow:0 0 13px 6px rgba(255,184,89,.26),0 0 28px 10px rgba(255,151,80,.12);mix-blend-mode:screen;animation:tg-window-flicker 4.8s ease-in-out infinite}.tg-house-window.w1{left:21.4%;top:24.2%;width:3.5%;height:4.6%}.tg-house-window.w2{left:20.1%;top:31%;width:4.9%;height:5.3%;animation-delay:-2.2s}.tg-scene[data-time="day"] .tg-house-window,.tg-scene[data-time="dawn"] .tg-house-window{opacity:.16}.tg-scene[data-time="night"] .tg-house-window{opacity:1;background:#ffcd70}.tg-scene[data-weather="rain"] .tg-house-window{opacity:.86}@keyframes tg-window-flicker{0%,100%{filter:brightness(.88);opacity:.72}35%{filter:brightness(1.16);opacity:1}63%{filter:brightness(.96);opacity:.82}}
.tg-lamp-glow{position:absolute;left:5.5%;top:28.4%;width:9%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,245,193,.82),rgba(255,181,84,.26) 34%,transparent 70%);mix-blend-mode:screen;animation:tg-lamp-pulse 3.6s ease-in-out infinite}.tg-scene[data-time="day"] .tg-lamp-glow{opacity:.32}.tg-scene[data-time="night"] .tg-lamp-glow{filter:brightness(1.35)}@keyframes tg-lamp-pulse{50%{transform:scale(1.14);filter:brightness(1.18)}}
.tg-chimney-smoke{position:absolute;left:12.3%;top:5.2%;width:12%;height:20%;filter:blur(.2px)}.tg-chimney-smoke i{position:absolute;left:38%;bottom:0;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 36% 36%,rgba(255,255,255,.55),rgba(219,214,226,.26) 48%,transparent 72%);opacity:0;animation:tg-smoke-rise 7.4s ease-out infinite}.tg-chimney-smoke i:nth-child(2){animation-delay:-1.5s}.tg-chimney-smoke i:nth-child(3){animation-delay:-3s}.tg-chimney-smoke i:nth-child(4){animation-delay:-4.5s}.tg-chimney-smoke i:nth-child(5){animation-delay:-6s}.tg-scene[data-weather="rain"] .tg-chimney-smoke i{animation-duration:5.5s}@keyframes tg-smoke-rise{0%{opacity:0;transform:translate3d(0,0,0) scale(.55)}18%{opacity:.6}70%{opacity:.22}100%{opacity:0;transform:translate3d(42px,-145px,0) scale(2.4)}}
.tg-pond-shimmer{position:absolute;left:58%;top:50.5%;width:30%;height:16%;transform:rotate(-3deg);mix-blend-mode:screen;opacity:.6}.tg-pond-shimmer i{position:absolute;left:15%;top:35%;width:55%;height:2px;border-radius:50%;background:linear-gradient(90deg,transparent,#fff7d1,transparent);animation:tg-pond 4s ease-in-out infinite}.tg-pond-shimmer i:nth-child(2){top:54%;left:30%;width:42%;animation-delay:-1.35s}.tg-pond-shimmer i:nth-child(3){top:69%;left:8%;width:63%;animation-delay:-2.6s}.tg-scene[data-time="night"] .tg-pond-shimmer{filter:hue-rotate(170deg);opacity:.82}@keyframes tg-pond{0%,100%{transform:scaleX(.55);opacity:.14}50%{transform:scaleX(1.2) translateX(9%);opacity:.8}}
.tg-canopy-breeze{position:absolute;right:-7%;top:-7%;width:54%;height:35%;border-radius:40% 0 60% 60%;background:radial-gradient(ellipse at 55% 45%,rgba(124,162,92,.09),transparent 62%);transform-origin:100% 0;animation:tg-canopy 6.5s ease-in-out infinite alternate;mix-blend-mode:screen}@keyframes tg-canopy{to{transform:rotate(.9deg) translate3d(-5px,5px,0)}}
.tg-distant-birds{position:absolute;left:46%;top:18%;width:28%;height:12%;opacity:0}.tg-scene[data-time="dawn"] .tg-distant-birds,.tg-scene[data-time="sunset"] .tg-distant-birds{opacity:.5}.tg-distant-birds i{position:absolute;width:12px;height:6px;border-top:1.5px solid rgba(67,45,57,.7);border-radius:50%;animation:tg-bird 13s linear infinite}.tg-distant-birds i:nth-child(2){top:21px;left:-14px;animation-delay:-4s}.tg-distant-birds i:nth-child(3){top:9px;left:-31px;animation-delay:-7s}@keyframes tg-bird{from{transform:translateX(-80px) rotate(-7deg)}to{transform:translateX(230px) rotate(7deg)}}
.tg-world-mailbox{position:absolute;z-index:11;left:64%;top:36%;width:66px;height:84px;border:0!important;background:linear-gradient(155deg,#b9675d,#7e3f43)!important;border-radius:17px 17px 9px 9px!important;color:#fff7ef!important;padding:15px 4px 4px!important;box-shadow:inset 0 0 0 2px #ffd7c044,0 10px 22px #3c223a45!important;transform:translate(-50%,-50%) rotate(-1deg);animation:tg-mailbox-breathe 4.5s ease-in-out infinite}.tg-world-mailbox::after{content:"";position:absolute;left:50%;top:100%;width:8px;height:55px;background:linear-gradient(90deg,#704438,#a06c50,#59352f);transform:translateX(-50%);border-radius:0 0 5px 5px}.tg-world-mailbox span{display:block;font-size:22px}.tg-world-mailbox small{display:block;font-size:8px;margin-top:3px}.tg-mail-flag{position:absolute;right:7px;top:-15px;width:4px;height:25px;background:#f4b08d;border-radius:4px;transform-origin:bottom;animation:tg-flag 5s ease-in-out infinite}.tg-mail-flag::before{content:"";position:absolute;right:0;top:0;width:15px;height:10px;border-radius:3px 3px 3px 0;background:#ef6d7e}@keyframes tg-mailbox-breathe{50%{transform:translate(-50%,-53%) rotate(1deg);filter:brightness(1.08)}}@keyframes tg-flag{50%{transform:rotate(-12deg)}}
.tg-mail-badge{position:absolute;right:-5px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#ff5478;color:#fff;font-size:9px;line-height:18px;text-align:center;box-shadow:0 3px 9px #b83055}.tg-mail-badge[hidden]{display:none!important}.tg-mail-top{position:relative!important}.tg-nav span{position:relative}.tg-nav .tg-mail-badge{right:-9px;top:-6px;font-size:8px;line-height:15px;height:15px;min-width:15px}
.tg-pet-layer{position:absolute;z-index:10;left:7%;bottom:185px;width:150px;height:185px;pointer-events:none}.tg-pet-stage{position:absolute;left:0;bottom:0;width:142px;height:176px;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;pointer-events:auto;filter:drop-shadow(0 12px 10px rgba(44,28,34,.4));transform-origin:50% 100%;animation:tg-pet-roam 12s ease-in-out infinite}.tg-pet-stage img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;object-fit:contain;object-position:center bottom;animation:tg-pet-bob 2.7s ease-in-out infinite}.tg-pet-stage small{position:absolute;left:50%;bottom:0;transform:translateX(-50%);white-space:nowrap;padding:3px 8px;border-radius:10px;background:rgba(51,38,45,.58);color:#fff;font-size:9px;text-shadow:0 1px 3px #000}.tg-pet-shadow{position:absolute;z-index:-1;left:24%;right:20%;bottom:8px;height:15px;border-radius:50%;background:rgba(42,28,33,.35);filter:blur(5px);animation:tg-pet-shadow 2.7s ease-in-out infinite}.tg-pet-heart{position:absolute;z-index:3;right:11%;top:15%;color:#ff708e;font-style:normal;font-size:17px;opacity:0;filter:drop-shadow(0 2px 3px #fff);transform:translateY(6px)}.tg-pet-stage.happy .tg-pet-heart{animation:tg-pet-heart 3.2s ease-in-out infinite}.tg-pet-stage.needs-care{filter:drop-shadow(0 12px 10px rgba(44,28,34,.4)) saturate(.72)}.tg-pet-stage.needs-care::after{content:"…";position:absolute;right:7px;top:20px;padding:2px 7px;border-radius:12px;background:#fff;color:#745764;font-weight:800}.tg-pet-stage[data-motion]{animation:tg-pet-hello .8s ease-in-out 2}.tg-pet-stage[data-motion="walk"]{animation:tg-pet-run 1.5s ease-in-out}.tg-pet-stage[data-motion="nap"] img{animation:tg-pet-nap 1.5s ease-in-out}.tg-pet-stage[data-motion] .tg-pet-heart{animation:tg-pet-heart .75s ease-out 2}.tg-pet-stage.waiting{width:94px;height:72px;left:12px;bottom:18px;border:1px dashed #fff9!important;border-radius:24px!important;background:rgba(56,42,52,.43)!important;color:#fff!important;backdrop-filter:blur(10px);animation:tg-pet-bob 3s ease-in-out infinite}.tg-pet-stage.waiting small{position:static;display:block;transform:none;background:none;padding:0}.tg-pet-invite{display:block;font-size:26px}@keyframes tg-pet-roam{0%,100%{transform:translateX(0) scaleX(1)}44%{transform:translateX(28px) scaleX(1)}48%{transform:translateX(28px) scaleX(-1)}92%{transform:translateX(-8px) scaleX(-1)}96%{transform:translateX(-8px) scaleX(1)}}@keyframes tg-pet-bob{50%{transform:translateY(-4px) rotate(.8deg)}}@keyframes tg-pet-shadow{50%{transform:scale(.88);opacity:.7}}@keyframes tg-pet-heart{0%{opacity:0;transform:translateY(8px) scale(.7)}40%{opacity:1}100%{opacity:0;transform:translateY(-24px) scale(1.25)}}@keyframes tg-pet-hello{50%{transform:translateY(-9px) rotate(-4deg) scale(1.04)}}@keyframes tg-pet-run{50%{transform:translateX(110px) translateY(-6px) rotate(3deg)}}@keyframes tg-pet-nap{to{transform:translateY(12px) rotate(-5deg) scale(.94)}}
.tg-care-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tg-care-grid button,.tg-care-ritual button,.tg-pet-actions button{border:1px solid #efd9d8!important;border-radius:18px!important;background:linear-gradient(145deg,#fff,#fff6ef)!important;color:#674952!important;padding:11px!important;text-align:left!important;box-shadow:0 7px 18px rgba(89,54,67,.06)!important}.tg-care-grid button span,.tg-care-ritual button span,.tg-pet-actions button span{float:left;font-size:24px;margin-right:9px}.tg-care-grid button b,.tg-care-grid button small,.tg-care-ritual button b,.tg-care-ritual button small,.tg-pet-actions button b,.tg-pet-actions button small{display:block}.tg-care-grid button b,.tg-care-ritual button b,.tg-pet-actions button b{font-size:12px}.tg-care-grid button small,.tg-care-ritual button small,.tg-pet-actions button small{font-size:9px;color:#a1848c;margin-top:2px}.tg-care-grid button:disabled,.tg-care-ritual button:disabled,.tg-pet-actions button:disabled{opacity:.55;filter:grayscale(.35)}.tg-care-ritual{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:11px}.tg-wish-form{margin-top:12px;padding:13px;border-radius:20px;background:#fff;border:1px solid #efd9dc}.tg-wish-form label{font-size:12px;font-weight:700}.tg-wish-form textarea{display:block;width:100%;height:74px;margin:8px 0;border:1px solid #ead7d9;border-radius:14px;padding:10px;resize:none;background:#fffaf8;color:#60444e}.tg-wish-form .tg-primary{width:100%;padding:10px!important}
.tg-adopt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.tg-adopt-card{min-width:0;border:1px solid #eed9da!important;border-radius:18px!important;background:#fff!important;color:#634850!important;padding:7px!important;box-shadow:none!important}.tg-adopt-card.selected{border-color:#ec6a88!important;box-shadow:0 0 0 2px #f7bac8!important}.tg-adopt-card img{display:block!important;width:100%!important;aspect-ratio:1;object-fit:contain;background:transparent!important;border:0!important;margin:0!important}.tg-adopt-card b,.tg-adopt-card small{display:block}.tg-adopt-card b{font-size:11px}.tg-adopt-card small{font-size:9px;color:#a4868e}.tg-pet-name{margin-top:12px;padding:13px;border-radius:19px;background:#fff;border:1px solid #eedadc;display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}.tg-pet-name label{font-size:11px}.tg-pet-name input{display:block;width:100%;margin-top:5px;border:1px solid #ead6d8;border-radius:13px;padding:10px;background:#fffaf8}.tg-pet-name .tg-primary{padding:10px 14px!important}.tg-pet-profile{display:grid;grid-template-columns:42% 1fr;align-items:center;gap:10px;padding:13px;border-radius:22px;background:linear-gradient(145deg,#fff,#fff0eb);border:1px solid #eed5d8}.tg-pet-profile>img{display:block!important;width:100%!important;max-height:190px;object-fit:contain;background:transparent!important;border:0!important;margin:0!important}.tg-pet-profile label{display:grid;grid-template-columns:1fr 34px;gap:4px;margin:9px 0;font-size:10px}.tg-pet-profile label i{grid-column:1/-1;height:7px;border-radius:8px;background:#eadcda;overflow:hidden}.tg-pet-profile label i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#f39a7e,#e95f84)}.tg-pet-profile label span{text-align:right;color:#ad697a}.tg-pet-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:11px}.tg-pet-note{text-align:center;color:#9e7e87;font-size:10px}
.tg-mailbox-sheet{max-height:86vh}.tg-mail-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:16px;background:#f1e5e5;margin-bottom:10px}.tg-mail-tabs button{border:0!important;border-radius:13px!important;background:transparent!important;color:#9a7882!important;padding:9px!important;box-shadow:none!important;font-size:11px!important}.tg-mail-tabs button.active{background:#fff!important;color:#d55275!important;box-shadow:0 4px 12px #6e455514!important}.tg-mail-compose{padding:12px;border-radius:20px;background:linear-gradient(145deg,#fff,#fff5ed);border:1px solid #eed8d9}.tg-mail-compose input,.tg-mail-compose textarea,.tg-mail-compose select{width:100%;border:1px solid #ead6d8;border-radius:13px;background:#fffdfa;color:#61464f;padding:10px}.tg-mail-compose textarea{height:92px;resize:vertical;margin:8px 0}.tg-mail-compose>div{display:grid;grid-template-columns:120px 1fr;gap:8px}.tg-mail-compose .tg-primary{padding:10px!important}.tg-mail-list{display:grid;gap:10px;margin-top:12px;padding-bottom:8px}.tg-mail-entry{padding:14px;border-radius:20px 20px 20px 7px;background:#fff;border:1px solid #efdcdd;box-shadow:0 8px 20px rgba(87,50,65,.06)}.tg-mail-entry.mine{border-radius:20px 20px 7px 20px;background:#fff5ef}.tg-mail-entry.diary{background:linear-gradient(145deg,#fffdf7,#f8f0df);border-color:#eadfc7}.tg-mail-entry header,.tg-mail-entry footer{display:flex;align-items:center;justify-content:space-between}.tg-mail-entry header span{font-size:10px;font-weight:800;color:#c85c77}.tg-mail-entry header small{font-size:9px;color:#a8868e}.tg-mail-entry h3{font-family:serif;margin:9px 0 0;font-size:16px}.tg-mail-entry p{font-size:12px;line-height:1.75;color:#604851;margin:8px 0 11px;word-break:break-word}.tg-mail-entry footer{padding-top:8px;border-top:1px dashed #ead8d8}.tg-mail-entry footer b,.tg-mail-entry footer time{font-size:9px;color:#a17e88}.tg-mail-empty{text-align:center;padding:30px 10px;color:#aa8c94;font-size:11px}
.tg-plant.fx-sunlight,.tg-plant.fx-encourage,.tg-plant.fx-sing,.tg-plant.fx-whisper{animation:tg-care-glow 1.3s ease-in-out}.tg-plant.fx-prune,.tg-plant.fx-loosen{animation:tg-care-wiggle .55s ease-in-out 2}.tg-plant.fx-fertilize,.tg-plant.fx-mulch{animation:tg-care-rise 1.1s ease-out}.tg-plant.fx-mist{filter:drop-shadow(0 0 17px rgba(186,240,255,.9))}.tg-plant.fx-collect{animation:tg-care-bloom 1.1s cubic-bezier(.2,.9,.25,1.2)}@keyframes tg-care-glow{50%{filter:drop-shadow(0 0 28px #ffe7a4) brightness(1.18);transform:translateY(-9px)}}@keyframes tg-care-wiggle{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}}@keyframes tg-care-rise{40%{transform:translateY(-8px) scale(1.035);filter:drop-shadow(0 0 18px #d8bd85)}}@keyframes tg-care-bloom{45%{transform:scale(1.08);filter:drop-shadow(0 0 28px #ffbfd0)}}
@media(max-width:430px){.tg-world-mailbox{width:53px;height:67px;left:67%;top:37%;padding-top:10px!important}.tg-world-mailbox span{font-size:18px}.tg-world-mailbox small{font-size:7px}.tg-pet-layer{left:3%;bottom:181px;width:125px;height:158px}.tg-pet-stage{width:122px;height:151px}.tg-top-actions{gap:4px}.tg-icon-btn{width:35px;height:35px}.tg-tools{gap:6px}.tg-tool{width:61px}.tg-care-grid{gap:7px}.tg-adopt-grid{gap:6px}.tg-mail-compose>div{grid-template-columns:105px 1fr}}
@media(max-height:700px){.tg-pet-layer{bottom:170px;transform:scale(.84);transform-origin:left bottom}.tg-world-mailbox{top:34%;transform:translate(-50%,-50%) scale(.85)}.tg-world-mailbox::after{height:42px}}
@media(prefers-reduced-motion:reduce){.tg-world-effects,.tg-pet-stage,.tg-pet-stage img,.tg-world-mailbox{animation:none!important}.tg-chimney-smoke i,.tg-distant-birds{display:none!important}}

/* V33.1.48 · 全场景联动的风、天空、水面、植被与声音控制 */
.tg-scene{--wind:.18}.tg-sound-btn.active{background:linear-gradient(145deg,rgba(255,244,195,.92),rgba(255,184,198,.88))!important;box-shadow:0 0 0 2px #fff8,0 0 18px #ffd17888!important}.tg-sound-btn{transition:transform .25s ease,background .3s ease}.tg-sound-btn.active{animation:tg-sound-pulse 2.8s ease-in-out infinite}@keyframes tg-sound-pulse{50%{transform:scale(1.06);filter:brightness(1.08)}}
.tg-sky-gradient{position:absolute;inset:-12%;opacity:.5;mix-blend-mode:soft-light;background:linear-gradient(118deg,transparent 24%,rgba(255,236,185,.38) 44%,transparent 64%);animation:tg-sky-drift 22s ease-in-out infinite alternate}.tg-scene[data-time="night"] .tg-sky-gradient{background:radial-gradient(circle at 70% 18%,rgba(161,190,255,.25),transparent 34%),linear-gradient(115deg,transparent 25%,rgba(111,101,177,.2) 48%,transparent 68%)}@keyframes tg-sky-drift{to{transform:translate3d(var(--wind-sky,7px),-1.5%,0) scale(1.06);opacity:.72}}
.tg-stars{position:absolute;inset:3% 0 45%;opacity:0;transition:opacity 2s ease;animation:tg-star-field 14s ease-in-out infinite alternate}.tg-scene[data-time="night"] .tg-stars{opacity:.95}.tg-stars i{position:absolute;width:2px;height:2px;border-radius:50%;background:#fff7cb;box-shadow:0 0 8px 2px #bad8ff;animation:tg-star-twinkle 2.7s ease-in-out infinite}.tg-stars i:nth-child(3n+1){left:calc(5% + var(--n,0%));animation-delay:-.7s}.tg-stars i:nth-child(3n+2){animation-delay:-1.6s;width:3px;height:3px}.tg-stars i:nth-child(3n){animation-delay:-2.2s}.tg-stars i:nth-child(1){left:7%;top:18%}.tg-stars i:nth-child(2){left:16%;top:34%}.tg-stars i:nth-child(3){left:25%;top:11%}.tg-stars i:nth-child(4){left:34%;top:43%}.tg-stars i:nth-child(5){left:43%;top:24%}.tg-stars i:nth-child(6){left:52%;top:8%}.tg-stars i:nth-child(7){left:61%;top:37%}.tg-stars i:nth-child(8){left:70%;top:16%}.tg-stars i:nth-child(9){left:79%;top:46%}.tg-stars i:nth-child(10){left:88%;top:27%}.tg-stars i:nth-child(11){left:95%;top:7%}.tg-stars i:nth-child(12){left:12%;top:61%}.tg-stars i:nth-child(13){left:22%;top:74%}.tg-stars i:nth-child(14){left:31%;top:56%}.tg-stars i:nth-child(15){left:40%;top:83%}.tg-stars i:nth-child(16){left:50%;top:66%}.tg-stars i:nth-child(17){left:59%;top:89%}.tg-stars i:nth-child(18){left:68%;top:58%}.tg-stars i:nth-child(19){left:77%;top:79%}.tg-stars i:nth-child(20){left:86%;top:64%}.tg-stars i:nth-child(21){left:93%;top:88%}.tg-stars i:nth-child(22){left:4%;top:92%}.tg-stars i:nth-child(23){left:47%;top:48%}.tg-stars i:nth-child(24){left:73%;top:3%}@keyframes tg-star-field{to{transform:translate3d(var(--wind-x,3px),-4px,0)}}@keyframes tg-star-twinkle{0%,100%{opacity:.25;transform:scale(.55)}50%{opacity:1;transform:scale(1.45)}}
.tg-tree-motion{position:absolute;top:5%;width:28%;height:52%;filter:blur(.2px);opacity:.3;transform-origin:50% 100%;animation:tg-tree-sway 7s ease-in-out infinite alternate}.tg-tree-motion.left{left:-12%}.tg-tree-motion.right{right:-10%;animation-delay:-3s}.tg-tree-motion i{position:absolute;width:62%;aspect-ratio:1;border-radius:46% 54% 49% 51%;background:radial-gradient(circle at 40% 38%,rgba(176,207,118,.3),rgba(67,111,70,.15) 58%,transparent 70%);transform-origin:50% 90%;animation:tg-leaf-shiver 4s ease-in-out infinite}.tg-tree-motion i:nth-child(1){left:4%;top:4%}.tg-tree-motion i:nth-child(2){left:36%;top:20%;animation-delay:-1.7s}.tg-tree-motion i:nth-child(3){left:10%;top:38%;animation-delay:-3.1s}@keyframes tg-tree-sway{to{transform:translate3d(var(--wind-x,3px),2px,0) rotate(var(--wind-deg,1deg))}}@keyframes tg-leaf-shiver{50%{transform:rotate(var(--wind-deg,1deg)) scale(1.025);filter:brightness(1.12)}}
.tg-grass-motion{position:absolute;left:0;right:0;bottom:3%;height:22%;opacity:.33;display:flex;align-items:flex-end;justify-content:space-around}.tg-grass-motion i{display:block;width:5px;height:32%;border-radius:100% 0;background:linear-gradient(160deg,rgba(211,224,138,.72),rgba(74,126,67,.12));transform-origin:50% 100%;animation:tg-grass-sway 3.8s ease-in-out infinite alternate}.tg-grass-motion i:nth-child(3n){height:52%;animation-delay:-1.7s}.tg-grass-motion i:nth-child(3n+1){height:41%;animation-delay:-2.8s}@keyframes tg-grass-sway{to{transform:skewX(var(--wind-deg,1deg)) rotate(var(--wind-deg,1deg))}}
.tg-water-surface{position:absolute;left:55%;top:48%;width:36%;height:23%;border-radius:50%;overflow:hidden;opacity:.38;transform:rotate(-4deg);mix-blend-mode:screen}.tg-water-surface i{position:absolute;left:-20%;width:140%;height:7%;border-top:1px solid rgba(255,250,212,.7);border-radius:50%;animation:tg-water-wave 4.2s ease-in-out infinite}.tg-water-surface i:nth-child(1){top:24%}.tg-water-surface i:nth-child(2){top:43%;animation-delay:-1.2s}.tg-water-surface i:nth-child(3){top:61%;animation-delay:-2.4s}.tg-water-surface i:nth-child(4){top:78%;animation-delay:-3.6s}.tg-scene[data-weather="rain"] .tg-water-surface{opacity:.75}@keyframes tg-water-wave{0%,100%{transform:translateX(-7%) scaleX(.72);opacity:.2}50%{transform:translateX(7%) scaleX(1.06);opacity:.9}}
.tg-cloud-shadow{position:absolute;left:-35%;top:36%;width:42%;height:18%;border-radius:50%;background:rgba(57,65,80,.13);filter:blur(32px);animation:tg-cloud-shadow 30s linear infinite}.tg-scene[data-time="night"] .tg-cloud-shadow{opacity:.18}.tg-scene[data-weather="rain"] .tg-cloud-shadow{opacity:.8}@keyframes tg-cloud-shadow{to{transform:translateX(340%) scale(1.25)}}
.tg-wind-gust .tg-tree-motion,.tg-wind-gust .tg-grass-motion i,.tg-wind-gust .tg-canopy-breeze{animation-duration:1.4s!important}.tg-wind-gust .tg-chimney-smoke i{animation-duration:4.2s!important}.tg-wind-gust .tg-plant{animation:tg-plant-gust 1.25s ease-in-out 3!important}.tg-wind-gust .tg-world-mailbox{animation:tg-mailbox-gust 1.2s ease-in-out 3!important}@keyframes tg-plant-gust{25%{transform:rotate(1.5deg) translateX(3px)}75%{transform:rotate(-.8deg) translateX(-2px)}}@keyframes tg-mailbox-gust{50%{transform:translate(-50%,-52%) rotate(2deg)}}
.tg-care-clock{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;margin-bottom:11px;border-radius:18px;background:linear-gradient(145deg,#f8f2e7,#fff8f2);border:1px solid #ead9c7}.tg-care-clock>span{font-size:25px}.tg-care-clock b,.tg-care-clock small{display:block}.tg-care-clock b{font-size:12px;color:#664d51}.tg-care-clock small{font-size:9px;line-height:1.45;color:#9a7e82;margin-top:2px}.tg-care-clock button{border:0!important;border-radius:12px!important;background:#8f6d5e!important;color:#fff!important;padding:8px 10px!important;font-size:9px!important;box-shadow:none!important}
.tg-fertilizer-shop{margin-top:16px;padding:14px;border-radius:22px;background:linear-gradient(145deg,#f8f0dc,#fff9f2);border:1px solid #e9d9bd}.tg-fertilizer-shop header h3{margin:0;font-family:serif;font-size:18px;color:#634c4c}.tg-fertilizer-shop header p{margin:4px 0 11px;font-size:10px;line-height:1.55;color:#957c77}.tg-fertilizer-shop>div{display:grid;gap:8px}.tg-fertilizer-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:10px;border-radius:17px;background:rgba(255,255,255,.72);border:1px solid rgba(205,181,142,.3)}.tg-fertilizer-card>span{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;font-size:21px;background:linear-gradient(145deg,#fff8c8,#f5cfc5)}.tg-fertilizer-card b,.tg-fertilizer-card small,.tg-fertilizer-card em{display:block}.tg-fertilizer-card b{font-size:12px;color:#654b4e}.tg-fertilizer-card small{font-size:9px;color:#917b76}.tg-fertilizer-card em{font-style:normal;font-size:9px;color:#cb6b73;margin-top:2px}.tg-fertilizer-card button{border:0!important;border-radius:12px!important;background:linear-gradient(135deg,#d96b7d,#e99870)!important;color:#fff!important;padding:8px 10px!important;font-size:10px!important;box-shadow:none!important}
@media(max-width:430px){.tg-top-actions .tg-icon-btn{width:32px;height:32px;font-size:15px!important}.tg-top-actions{gap:3px}.tg-care-clock{grid-template-columns:auto 1fr}.tg-care-clock button{grid-column:1/-1}.tg-tree-motion{opacity:.22}.tg-water-surface{left:50%;width:45%}}
@media(max-width:430px){.tg-dual-invite{top:63px;right:10px;max-width:174px;line-height:1.25;padding:8px 11px!important}.tg-guest-invite-bar{bottom:76px;width:calc(100% - 20px);padding:10px 10px 10px 13px}.tg-guest-invite-bar button{padding:9px 11px!important}.tg-guest-invite-bar small{max-width:190px}}

/* V33.1.52 · 无房间欢迎页只保留一层内容，避免 HUD、加载提示与标题重叠 */
#twoPersonGarden.tg-welcome-only .tg-topbar,#twoPersonGarden.tg-welcome-only .tg-garden-hud,#twoPersonGarden.tg-welcome-only .tg-garden-center,#twoPersonGarden.tg-welcome-only .tg-caption,#twoPersonGarden.tg-welcome-only .tg-tools,#twoPersonGarden.tg-welcome-only .tg-world-mailbox,#twoPersonGarden.tg-welcome-only .tg-pet-layer,#twoPersonGarden.tg-welcome-only .tg-bottomnav,#twoPersonGarden.tg-welcome-only .tg-dual-invite{display:none!important}
#twoPersonGarden.tg-welcome-only .tg-welcome{z-index:30;align-items:flex-end;padding:74px 18px max(28px,env(safe-area-inset-bottom));overflow:auto;background:linear-gradient(180deg,rgba(30,20,31,.02) 8%,rgba(29,18,30,.1) 36%,rgba(27,17,27,.76) 100%)}
#twoPersonGarden.tg-welcome-only .tg-welcome-copy{width:min(100%,430px);margin:0 auto;padding:21px 20px 19px;border:1px solid rgba(255,255,255,.3);border-radius:28px;background:linear-gradient(145deg,rgba(45,29,43,.55),rgba(30,20,31,.72));box-shadow:0 22px 60px rgba(20,11,20,.3);backdrop-filter:blur(13px);text-shadow:0 2px 10px rgba(26,13,24,.45)}
#twoPersonGarden.tg-welcome-only .tg-welcome-kicker{margin-bottom:7px;color:#ffe4dc;font-size:10px;letter-spacing:.16em}
#twoPersonGarden.tg-welcome-only .tg-welcome h1{max-width:360px;margin:0 0 14px;font-size:34px;line-height:1.16;letter-spacing:1px;text-wrap:balance}
#twoPersonGarden.tg-welcome-only #tgWelcomeText:empty{display:none}
.tg-welcome-metrics{display:grid;gap:7px;margin:0 0 17px;padding:13px 14px;border-radius:19px;background:rgba(255,248,241,.12);border:1px solid rgba(255,255,255,.16)}
.tg-welcome-metrics[hidden]{display:none!important}.tg-welcome-metrics p{margin:0!important;font-size:13px!important;line-height:1.45!important;opacity:.96!important}.tg-welcome-metrics b{color:#ffd7c8;font-size:16px;letter-spacing:.02em}
#twoPersonGarden.tg-welcome-only .tg-welcome-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;flex-wrap:nowrap}
#twoPersonGarden.tg-welcome-only .tg-welcome-actions button{width:100%;min-width:0;padding:12px 10px!important;font-size:13px!important}
@media(max-width:390px){#twoPersonGarden.tg-welcome-only .tg-welcome{padding-left:14px;padding-right:14px;padding-bottom:max(20px,env(safe-area-inset-bottom))}#twoPersonGarden.tg-welcome-only .tg-welcome-copy{padding:18px 16px 16px;border-radius:24px}#twoPersonGarden.tg-welcome-only .tg-welcome h1{font-size:30px}.tg-welcome-metrics{padding:11px 12px}.tg-welcome-metrics p{font-size:12px!important}.tg-welcome-metrics b{font-size:15px}}
@media(max-height:690px){#twoPersonGarden.tg-welcome-only .tg-welcome{padding-top:38px;padding-bottom:16px}#twoPersonGarden.tg-welcome-only .tg-welcome-copy{padding-top:15px;padding-bottom:14px}#twoPersonGarden.tg-welcome-only .tg-welcome h1{font-size:28px;margin-bottom:10px}.tg-welcome-metrics{gap:4px;margin-bottom:12px;padding:9px 11px}}
@media(prefers-reduced-motion:reduce){.tg-sky-gradient,.tg-stars,.tg-tree-motion,.tg-tree-motion i,.tg-grass-motion i,.tg-water-surface i,.tg-cloud-shadow{animation-duration:30s!important}.tg-wind-gust .tg-plant,.tg-wind-gust .tg-world-mailbox{animation:none!important}}

/* V33.1.53 · 手机端房间加入、空花圃布局与轻量渲染 */
.tg-caption[hidden]{display:none!important}
#twoPersonGarden.tg-no-seed .tg-garden-center{height:auto;bottom:calc(82px + var(--tg-safe-bottom));padding:0 16px;box-sizing:border-box;align-items:flex-end}
#twoPersonGarden.tg-no-seed .tg-soil-glow{display:none}
.tg-empty-plot{width:min(100%,430px);box-sizing:border-box;margin:0 auto;padding:18px 20px 17px;border-radius:25px;background:linear-gradient(145deg,rgba(48,31,46,.78),rgba(92,57,72,.7));box-shadow:0 18px 42px rgba(25,14,25,.3);border:1px solid rgba(255,255,255,.38);backdrop-filter:blur(10px)}
.tg-empty-plot>span{display:block;margin-bottom:5px;font-size:25px}.tg-empty-plot b{font-size:21px}.tg-empty-plot small{max-width:330px;margin:5px auto 0;font-size:11px}.tg-empty-plot .tg-primary{width:100%;margin-top:12px!important;padding:11px 14px!important}.tg-empty-plot em{display:block;margin-top:9px;padding:7px 9px;border-radius:13px;background:rgba(255,255,255,.12);font-size:9px;font-style:normal;line-height:1.45}
#twoPersonGarden.tg-no-seed .tg-pet-layer{bottom:255px;transform:scale(.82);transform-origin:left bottom}
.tg-join-modal{position:absolute;inset:0;z-index:70;display:flex;align-items:flex-end;justify-content:center;padding:18px 14px max(22px,env(safe-area-inset-bottom));box-sizing:border-box;background:rgba(24,15,25,.58);backdrop-filter:blur(8px)}
.tg-join-modal.hidden{display:none!important}.tg-join-card{position:relative;width:min(100%,420px);padding:26px 20px 20px;box-sizing:border-box;border-radius:28px;background:linear-gradient(155deg,#fffdf9,#fff0ec);color:#60434d;text-align:center;box-shadow:0 24px 70px rgba(25,13,23,.45)}
.tg-join-close{position:absolute;right:13px;top:12px;width:34px;height:34px;padding:0!important;border:0!important;border-radius:50%!important;background:#f4e4e3!important;color:#755862!important;font-size:22px!important;box-shadow:none!important}.tg-join-icon{display:block;font-size:31px}.tg-join-card>small{display:block;margin-top:3px;color:#cc5c79;font-weight:800;font-size:10px;letter-spacing:.08em}.tg-join-card h2{margin:8px 0 5px;font-family:serif;font-size:27px}.tg-join-card p{margin:0 auto 14px;max-width:310px;color:#987a84;font-size:11px;line-height:1.6}.tg-join-card input{display:block;width:100%;height:50px;box-sizing:border-box;margin-bottom:11px;padding:0 15px;border:1px solid #e7cdd1;border-radius:16px;background:#fff;color:#593f49;font-size:16px;text-align:center;text-transform:uppercase;outline:0}.tg-join-card input:focus{border-color:#eb708c;box-shadow:0 0 0 3px rgba(235,112,140,.14)}.tg-join-card .tg-primary{width:100%;min-height:48px}

@media(max-width:560px){
  #twoPersonGarden.tg-welcome-only .tg-world-effects,#twoPersonGarden.tg-welcome-only .tg-dynamic-canvas,#twoPersonGarden.tg-welcome-only .tg-scene::after{display:none!important}
  .tg-chimney-smoke i:nth-child(n+3),.tg-grass-motion i:nth-child(n+10),.tg-stars i:nth-child(n+13),.tg-water-surface i:nth-child(n+3){display:none!important}
  #twoPersonGarden.tg-no-seed .tg-garden-center{left:0;right:0;bottom:calc(78px + var(--tg-safe-bottom));padding:0 12px}
  #twoPersonGarden.tg-no-seed .tg-pet-layer{left:2%;bottom:330px;transform:scale(.68)}
  .tg-empty-plot{padding:15px 16px 14px;border-radius:23px}.tg-empty-plot>span{font-size:22px}.tg-empty-plot b{font-size:19px}.tg-empty-plot small{font-size:10px}.tg-empty-plot .tg-primary{margin-top:10px!important}.tg-empty-plot em{margin-top:7px;padding:6px 8px}
}
@media(max-width:380px),(max-height:690px){#twoPersonGarden.tg-no-seed .tg-pet-layer{bottom:292px;transform:scale(.58)}.tg-empty-plot{padding-top:13px;padding-bottom:12px}.tg-empty-plot>span{display:none}.tg-empty-plot b{font-size:18px}.tg-empty-plot small{line-height:1.4}.tg-empty-plot .tg-primary{padding:9px 12px!important}}

/* V33.1.54 · 体验会员到期前提醒与到期种植保护 */
.tg-trial-modal{z-index:78;background:rgba(28,17,27,.66)}
.tg-trial-card{padding-top:29px;background:linear-gradient(155deg,#fffdf8,#fff0e8);border:1px solid rgba(255,255,255,.85)}
.tg-trial-icon{display:grid;width:58px;height:58px;margin:0 auto 7px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#fff4dc,#ffd6cb);box-shadow:0 9px 22px rgba(213,91,111,.2);font-size:30px}
.tg-trial-card>small{color:#ca5c76}.tg-trial-card h2{margin-top:9px}.tg-trial-card p{max-width:330px;margin-bottom:17px;color:#76545f;font-size:13px;line-height:1.75}.tg-trial-card .tg-primary{min-height:49px}
@media(max-width:430px){.tg-trial-card{padding:24px 18px 18px;border-radius:26px}.tg-trial-icon{width:52px;height:52px;font-size:27px}.tg-trial-card h2{font-size:24px}.tg-trial-card p{font-size:12px}}
.tg-cultivation-member-prompt{margin:0 0 14px;padding:14px;border:1px solid rgba(239,108,134,.24);border-radius:18px;background:linear-gradient(135deg,rgba(255,244,247,.98),rgba(255,249,239,.96));color:#704653}.tg-cultivation-member-prompt b{display:block;font-size:15px}.tg-cultivation-member-prompt p{margin:7px 0 12px;font-size:13px;line-height:1.65;color:#8b6972}.tg-cultivation-member-prompt button{width:100%;min-height:42px}.tg-solo-note{display:block!important;margin-top:7px!important;padding:5px 10px;border-radius:999px;background:rgba(255,247,237,.82);color:#8d625b!important;font-weight:700}
.tg-solo-or-invite{display:grid;gap:10px;width:100%}.tg-solo-or-invite .tg-primary,.tg-solo-or-invite .tg-secondary{width:100%;margin:0!important}.tg-room-card{overflow:hidden;border:1px solid #ead5d7;border-radius:19px;background:rgba(255,255,255,.82)}.tg-room-card.active{border-color:#ee6f8c;box-shadow:0 0 0 2px #f8c5d1}.tg-room-card .tg-room-choice{width:100%;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left}.tg-room-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 11px;border-top:1px solid #f2e3e4}.tg-room-card-actions em{font-style:normal;font-size:10px;color:#a0878d}.tg-room-card-actions em.joined{color:#5f8c6b;font-weight:700}.tg-room-card-actions em.paused{color:#b77b3e;font-weight:700}.tg-room-card-actions button{flex:0 0 auto;border:0!important;border-radius:999px!important;padding:7px 11px!important;background:#fff1f2!important;color:#b64e5d!important;font-size:10px!important;box-shadow:none!important}.tg-room-create-actions{display:grid;grid-template-columns:1fr 1fr}.tg-room-create-actions button:last-child{grid-column:1/-1}.tg-room-create-actions .tg-secondary{color:#76505c!important;border-color:#ead4d7!important;background:#fff8!important}.tg-cultivation-member-prompt.legacy{border-color:#e7bf86;background:linear-gradient(135deg,#fff8e9,#fff2f2)}

/* V33.1.55 · 自适应画质：选择前不启动场景，三档实际控制帧率、粒子、模糊和装饰动画 */
html[data-rose-quality="standard"] #twoPersonGarden .tg-scene-image.active{animation-duration:27s!important}
html[data-rose-quality="standard"] #twoPersonGarden .tg-chimney-smoke i:nth-child(n+4),
html[data-rose-quality="standard"] #twoPersonGarden .tg-grass-motion i:nth-child(n+13),
html[data-rose-quality="standard"] #twoPersonGarden .tg-stars i:nth-child(n+17),
html[data-rose-quality="standard"] #twoPersonGarden .tg-water-surface i:nth-child(n+4){display:none!important}
html[data-rose-quality="standard"] #twoPersonGarden .tg-topbar,
html[data-rose-quality="standard"] #twoPersonGarden .tg-room-pill,
html[data-rose-quality="standard"] #twoPersonGarden .tg-stats-pill,
html[data-rose-quality="standard"] #twoPersonGarden .tg-tool,
html[data-rose-quality="standard"] #twoPersonGarden .tg-bottomnav{backdrop-filter:blur(9px)}

html[data-rose-quality="smooth"] #twoPersonGarden .tg-scene-image.active{animation:none!important;transform:scale(1.025)!important;will-change:auto!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-scene::after,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-sky-gradient,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-tree-motion,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-grass-motion,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-water-surface,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-pond-shimmer,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-cloud-shadow,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-canopy-breeze,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-distant-birds,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-chimney-smoke,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-depth{display:none!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-cloud.c2,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-firefly:nth-child(n+3),
html[data-rose-quality="smooth"] #twoPersonGarden .tg-stars i:nth-child(n+9){display:none!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-stars,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-cloud,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-house-window,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-lamp-glow{animation-duration:10s!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-topbar,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-brand-mark,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-icon-btn,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-room-pill,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-stats-pill,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-tool,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-bottomnav,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-sheet,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-empty-plot,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-guest-invite-bar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-world-mailbox,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-pet-stage,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-pet-stage img{animation-duration:8s!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-scene-bg,
html[data-rose-quality="smooth"] #twoPersonGarden .tg-dynamic-canvas{will-change:auto!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-rain i:nth-child(n+7){display:none!important}

/* V33.1.57 shared planting, check-in and harvest records */
.tg-activity-sheet{max-height:82vh}.tg-record-link{flex:0 0 auto;border:0!important;border-radius:999px!important;padding:9px 12px!important;background:#8f6a72!important;color:#fff!important;font-size:10px!important;box-shadow:none!important}.tg-bloom{position:relative}.tg-bloom em{position:absolute;right:7px;top:7px;min-width:23px;padding:3px 6px;border-radius:999px;background:#8d6670;color:#fff;font-size:9px;font-style:normal;box-shadow:0 4px 10px #5f36422b}.tg-record-menu{background:linear-gradient(145deg,#fff9f2,#fff0f4)!important;border-color:#edcbd2!important}.tg-record-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:3px 0 16px}.tg-record-summary>div{min-width:0;padding:11px 6px;border:1px solid #ecd9d8;border-radius:17px;background:linear-gradient(150deg,#fff,#fff6ef);text-align:center}.tg-record-summary span,.tg-record-summary b,.tg-record-summary small{display:block}.tg-record-summary span{font-size:20px}.tg-record-summary b{margin:3px 0 1px;color:#6c4c55;font-size:20px}.tg-record-summary small{color:#a1838b;font-size:8px;white-space:nowrap}.tg-record-section{margin-top:14px;padding-top:14px;border-top:1px solid rgba(147,93,109,.13)}.tg-record-section>h3{margin:0 0 9px;color:#684b54;font-family:serif;font-size:15px}.tg-record-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tg-record-person{padding:12px;border:1px solid #ead8d9;border-radius:19px;background:rgba(255,255,255,.78)}.tg-record-person.checked{background:linear-gradient(145deg,#fff,#fff4e7);border-color:#e8cfb7}.tg-record-person header{display:flex;align-items:center;gap:8px}.tg-record-person header>span{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#f6c3cc,#f09a9f);color:#fff;font-weight:800}.tg-record-person header div{min-width:0;flex:1}.tg-record-person header b,.tg-record-person header small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-record-person header b{font-size:12px;color:#654850}.tg-record-person header small{margin-top:2px;font-size:9px;color:#9b7f86}.tg-record-person header em{font-style:normal;color:#c06a74}.tg-record-person>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}.tg-record-person label{min-width:0;padding:7px 4px;border-radius:12px;background:#f9eeee;color:#96757e;font-size:8px;text-align:center}.tg-record-person label b{display:block;margin-top:2px;color:#694b54;font-size:14px}.tg-record-person p{min-height:28px;margin:8px 0 0;color:#a08088;font-size:9px;line-height:1.45}.tg-checkin-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.tg-checkin-day{min-width:0;padding:7px 2px;border:1px solid #eadbdd;border-radius:12px;background:#fff;text-align:center}.tg-checkin-day.together{border-color:#e6c895;background:#fff8e9}.tg-checkin-day b,.tg-checkin-day span,.tg-checkin-day small{display:block}.tg-checkin-day b{font-size:8px;color:#7f626a}.tg-checkin-day span{min-height:16px;margin:3px 0;font-size:10px;white-space:nowrap}.tg-checkin-day small{overflow:hidden;color:#ad9298;font-size:7px;white-space:nowrap}.tg-record-tip{margin:7px 2px 0;color:#a58b91;font-size:8px}.tg-record-timeline{display:grid;gap:7px}.tg-record-event,.tg-harvest-event{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px;border:1px solid #ebd9da;border-radius:16px;background:rgba(255,255,255,.78)}.tg-record-event>span,.tg-harvest-event>span{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#fff2f2;font-size:18px}.tg-record-event div,.tg-harvest-event div{min-width:0}.tg-record-event b,.tg-record-event p,.tg-harvest-event b,.tg-harvest-event p{display:block;overflow:hidden;margin:0;text-overflow:ellipsis;white-space:nowrap}.tg-record-event b,.tg-harvest-event b{color:#684b54;font-size:11px}.tg-record-event p,.tg-harvest-event p{margin-top:2px;color:#997b83;font-size:9px}.tg-record-event time,.tg-harvest-event time{color:#ae9399;font-size:8px;white-space:nowrap}.tg-record-empty{grid-column:1/-1;margin:0;padding:18px;border-radius:16px;background:#fff7f5;color:#9b8188;text-align:center;font-size:11px}
@media(max-width:430px){.tg-activity-sheet{max-height:84vh}.tg-record-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-record-people{grid-template-columns:1fr}.tg-record-event,.tg-harvest-event{grid-template-columns:32px minmax(0,1fr)}.tg-record-event time,.tg-harvest-event time{grid-column:2;margin-top:-5px}.tg-checkin-day small{display:none}}

/* V33.1.58 · 花园主页每日签到与随机背包奖励 */
.tg-daily-checkin{position:absolute;z-index:12;right:14px;top:max(128px,calc(env(safe-area-inset-top) + 122px));display:grid;grid-template-columns:31px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;min-width:145px;max-width:180px;padding:8px 11px!important;border:1px solid rgba(255,255,255,.66)!important;border-radius:18px!important;background:linear-gradient(145deg,rgba(81,54,70,.68),rgba(119,69,80,.56))!important;color:#fff!important;text-align:left!important;text-shadow:0 1px 4px rgba(42,21,34,.7);box-shadow:0 10px 28px rgba(35,20,31,.24)!important;backdrop-filter:blur(12px);animation:tg-checkin-breathe 3.6s ease-in-out infinite}
.tg-daily-checkin[hidden]{display:none!important}.tg-daily-checkin>span{grid-row:1/3;display:grid;width:27px;height:27px;place-items:center;margin-right:7px;border-radius:50%;background:rgba(255,244,214,.92);color:#c25270;font-size:15px;text-shadow:none;box-shadow:0 3px 11px rgba(255,208,176,.35)}.tg-daily-checkin b,.tg-daily-checkin small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-daily-checkin b{font-size:11px}.tg-daily-checkin small{margin-top:1px;color:#fff3e9;font-size:7px;opacity:.88}.tg-daily-checkin.claimed{animation:none;background:rgba(68,57,65,.5)!important}.tg-daily-checkin:disabled{opacity:.78!important;filter:none!important}.tg-daily-checkin:active{transform:scale(.96)}
@keyframes tg-checkin-breathe{50%{transform:translateY(-2px);box-shadow:0 13px 30px rgba(49,27,41,.32),0 0 16px rgba(255,192,167,.18)}}

.tg-checkin-reward-modal{position:absolute;inset:0;z-index:86;display:grid;place-items:center;padding:24px;background:rgba(28,17,28,.58);backdrop-filter:blur(12px)}.tg-checkin-reward-modal.hidden{display:none!important}.tg-checkin-reward-card{position:relative;width:min(100%,340px);box-sizing:border-box;overflow:hidden;padding:31px 24px 21px;border:1px solid rgba(255,255,255,.86);border-radius:31px;background:radial-gradient(circle at 50% -5%,#fffbe7,#fff2ec 54%,#fce7ee);color:#674750;text-align:center;box-shadow:0 28px 78px rgba(34,18,31,.45);animation:tg-reward-arrive .46s cubic-bezier(.2,.88,.24,1.18) both}.tg-reward-close{position:absolute;z-index:3;right:12px;top:11px;width:32px;height:32px;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(126,91,99,.1)!important;color:#7b5b65!important;font-size:21px!important;box-shadow:none!important}.tg-reward-rays{position:absolute;left:50%;top:-120px;width:310px;height:310px;transform:translateX(-50%);opacity:.32;background:repeating-conic-gradient(from 0deg,rgba(255,194,114,.55) 0 8deg,transparent 8deg 22deg);animation:tg-reward-rays 18s linear infinite}.tg-reward-icon{position:relative;display:grid;width:76px;height:76px;margin:0 auto 9px;place-items:center;border:4px solid #fff;border-radius:50%;background:linear-gradient(145deg,#fff5c9,#ffc9d2);font-size:38px;filter:drop-shadow(0 9px 15px rgba(192,76,105,.24));animation:tg-reward-float 2.8s ease-in-out infinite}.tg-checkin-reward-card>small{position:relative;display:block;color:#c25e78;font-size:10px;font-weight:800;letter-spacing:.12em}.tg-checkin-reward-card h2{position:relative;margin:7px 0 7px;font-family:serif;font-size:25px;line-height:1.25}.tg-checkin-reward-card em{position:relative;display:inline-block;padding:4px 10px;border-radius:999px;background:#f2d9ca;color:#95614f;font-size:9px;font-style:normal;font-weight:800}.tg-checkin-reward-card em[data-rarity="珍稀"],.tg-checkin-reward-card em[data-rarity="典藏"]{background:linear-gradient(90deg,#d9d0ff,#ffd3e3,#d3fff3);color:#765593;box-shadow:0 0 14px rgba(145,112,232,.2)}.tg-checkin-reward-card p{position:relative;min-height:42px;margin:12px 0 16px;color:#896b73;font-size:12px;line-height:1.7}.tg-checkin-reward-card .tg-primary{position:relative;width:100%;min-height:46px}.tg-checkin-reward-card footer{position:relative;margin-top:11px;color:#af9399;font-size:8px}.tg-checkin-reward-card::after{content:"✦  ·  ✦  ·  ✦";position:absolute;left:0;right:0;bottom:84px;color:rgba(216,120,142,.14);font-size:26px;letter-spacing:.2em;pointer-events:none}
@keyframes tg-reward-arrive{from{opacity:0;transform:translateY(24px) scale(.9)}to{opacity:1;transform:none}}@keyframes tg-reward-rays{to{transform:translateX(-50%) rotate(360deg)}}@keyframes tg-reward-float{50%{transform:translateY(-5px) rotate(2deg)}}

#twoPersonGarden.tg-welcome-only .tg-daily-checkin{display:none!important}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-daily-checkin,html[data-rose-quality="smooth"] #twoPersonGarden .tg-checkin-reward-modal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(max-width:430px){.tg-daily-checkin{right:11px;top:max(124px,calc(env(safe-area-inset-top) + 118px));min-width:132px;max-width:156px;padding:7px 9px!important}.tg-daily-checkin>span{width:25px;height:25px}.tg-checkin-reward-modal{padding:18px 14px max(20px,env(safe-area-inset-bottom))}.tg-checkin-reward-card{padding:27px 19px 19px;border-radius:27px}.tg-reward-icon{width:68px;height:68px;font-size:34px}.tg-checkin-reward-card h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.tg-daily-checkin,.tg-reward-rays,.tg-reward-icon{animation:none!important}}

/* V33.1.59 · 双人种植邀请需要双方确认 */
.tg-dual-invite.pending{background:linear-gradient(135deg,rgba(255,244,224,.96),rgba(255,202,214,.94))!important;color:#9b4661!important;text-shadow:none!important;box-shadow:0 8px 24px rgba(113,51,72,.22)!important}.tg-dual-invite.pending:not(:disabled){animation:tg-dual-invite-pulse 2.5s ease-in-out infinite}.tg-dual-invite:disabled{opacity:.82!important;filter:none!important;cursor:default}
@keyframes tg-dual-invite-pulse{50%{transform:translateY(-2px) scale(1.015);box-shadow:0 11px 30px rgba(202,84,117,.3)!important}}
.tg-cultivation-invite-modal{position:absolute;inset:0;z-index:88;display:grid;place-items:center;padding:24px;background:rgba(28,17,28,.62);backdrop-filter:blur(12px)}.tg-cultivation-invite-modal.hidden{display:none!important}.tg-cultivation-invite-card{position:relative;width:min(100%,350px);box-sizing:border-box;padding:30px 24px 20px;border:1px solid rgba(255,255,255,.88);border-radius:31px;background:radial-gradient(circle at 50% -10%,#fffbe9,#fff2ee 58%,#fbe7ef);color:#664750;text-align:center;box-shadow:0 28px 78px rgba(34,18,31,.48);animation:tg-cultivation-invite-arrive .42s cubic-bezier(.2,.88,.24,1.15) both}.tg-cultivation-invite-icon{display:grid;width:72px;height:72px;margin:0 auto 9px;place-items:center;border:4px solid #fff;border-radius:50%;background:linear-gradient(145deg,#ffe7d0,#ffbfd1);font-size:35px;box-shadow:0 10px 25px rgba(195,80,111,.22);animation:tg-cultivation-heart 2.6s ease-in-out infinite}.tg-cultivation-invite-card>small{display:block;color:#c45d79;font-size:10px;font-weight:800;letter-spacing:.1em}.tg-cultivation-invite-card h2{margin:8px 0 8px;font-family:serif;font-size:25px;line-height:1.25}.tg-cultivation-invite-card p{margin:0 0 16px;color:#85666f;font-size:12px;line-height:1.75}.tg-cultivation-invite-card .tg-primary{width:100%;min-height:48px}.tg-cultivation-later{width:100%;margin-top:8px!important;border:0!important;background:transparent!important;color:#9b7f87!important;padding:8px!important;box-shadow:none!important;font-size:11px!important}.tg-cultivation-invite-card footer{margin-top:8px;color:#b0979d;font-size:8px}.tg-cultivation-invite-card .tg-reward-close{position:absolute;right:12px;top:11px}
@keyframes tg-cultivation-invite-arrive{from{opacity:0;transform:translateY(22px) scale(.92)}to{opacity:1;transform:none}}@keyframes tg-cultivation-heart{50%{transform:translateY(-4px) scale(1.04);filter:brightness(1.05)}}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-cultivation-invite-modal{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(max-width:430px){.tg-cultivation-invite-modal{padding:18px 14px max(20px,env(safe-area-inset-bottom))}.tg-cultivation-invite-card{padding:26px 19px 18px;border-radius:27px}.tg-cultivation-invite-icon{width:64px;height:64px;font-size:31px}.tg-cultivation-invite-card h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.tg-dual-invite.pending,.tg-cultivation-invite-icon{animation:none!important}}
/* V33.1.73 · 暮鸦花园季 */
html[data-rose-quality="ultra"] #twoPersonGarden .tg-dynamic-canvas,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-world-effects,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-sky,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-depth,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-rain{display:none!important}
html[data-rose-quality="ultra"] #twoPersonGarden *,
html[data-rose-quality="ultra"] #twoPersonGarden *::before,
html[data-rose-quality="ultra"] #twoPersonGarden *::after{
  animation-duration:.001ms!important;
  animation-iteration-count:1!important;
  transition-duration:.08s!important
}
html[data-rose-quality="ultra"] #twoPersonGarden .tg-scene-image{filter:none!important;transform:none!important}
html[data-rose-quality="ultra"] #twoPersonGarden .tg-topbar,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-room-pill,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-stats-pill,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-caption,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-tools,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-sheet,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-bottom-nav{
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  box-shadow:none!important
}
#roseQualityGate .rose-quality-option.ultra{
  border-color:#9f6a7d!important;
  background:linear-gradient(135deg,#fff,#f3e8ec)!important;
  box-shadow:0 8px 22px #6d3f5018!important
}
#roseQualityGate .rose-quality-option.ultra em{background:#6c3d50!important;color:#fff!important}

#twoPersonGarden .tg-scene[data-time="victorian_gothic"]::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 22%,rgba(176,139,196,.18),transparent 18%),
    radial-gradient(circle at 79% 25%,rgba(167,34,67,.2),transparent 25%),
    linear-gradient(180deg,rgba(20,11,28,.16),rgba(14,6,18,.5));
  mix-blend-mode:multiply
}
#twoPersonGarden .tg-scene[data-time="victorian_gothic"] .tg-house-window,
#twoPersonGarden .tg-scene[data-time="victorian_gothic"] .tg-lamp-glow{
  filter:hue-rotate(245deg) saturate(1.25);
  box-shadow:0 0 25px #e2c2ff,0 0 60px #742b66
}
#twoPersonGarden .tg-scene[data-time="victorian_gothic"] .tg-world-mailbox{
  background:linear-gradient(160deg,#291927,#68233d);
  border-color:#d4b4c9;
  box-shadow:0 14px 35px #16071280
}
#twoPersonGarden .rose-sprite-victorian{
  filter:hue-rotate(310deg) saturate(1.35) brightness(.62) drop-shadow(0 0 10px #dcb7f2)
}
#twoPersonGarden .tg-plant.seed-victorian_nocturne .tg-growth-stage{
  filter:hue-rotate(305deg) saturate(1.35) brightness(.68) contrast(1.08) drop-shadow(0 0 14px #d2afe8);
  animation:tgVictorianBloom 3.8s ease-in-out infinite
}
@keyframes tgVictorianBloom{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.015)}}

.tg-victorian-campaign,.tg-victorian-progress{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  margin:10px 14px 16px;
  padding:17px;
  color:#f9edf4;
  border:1px solid #b991ae88;
  border-radius:22px;
  background:
    radial-gradient(circle at 12% 20%,#8f4c6c55,transparent 32%),
    linear-gradient(135deg,#241624,#4b2135 58%,#211223);
  box-shadow:0 14px 34px #26121d30
}
.tg-victorian-campaign .tg-victorian-moon{font-size:34px;filter:drop-shadow(0 0 12px #f1d3ff)}
.tg-victorian-campaign small,.tg-victorian-progress small{color:#d8b9cc;letter-spacing:.12em}
.tg-victorian-campaign h3,.tg-victorian-progress h3{margin:3px 0 4px;font-family:Georgia,"Songti SC",serif}
.tg-victorian-campaign p,.tg-victorian-progress p{margin:0;color:#ead9e2;font-size:12px}
.tg-victorian-campaign em{display:block;margin-top:6px;color:#c9adbd;font-size:11px;font-style:normal}
.tg-victorian-campaign button,.tg-victorian-progress button{
  min-height:42px;padding:0 15px;border:1px solid #e0bfd1;border-radius:15px;
  background:#f4e6ee;color:#4b2034;font-weight:700
}
.tg-victorian-campaign button:disabled,.tg-victorian-progress button:disabled{opacity:.66}
.tg-wedding-seed-campaign{
  background:linear-gradient(135deg,rgba(104,43,62,.98),rgba(184,91,108,.94) 54%,rgba(230,178,145,.94));
  border-color:rgba(255,237,198,.58);
  box-shadow:0 15px 34px rgba(92,29,51,.22),inset 0 1px rgba(255,255,255,.16)
}
.tg-wedding-seed-campaign small,.tg-wedding-seed-campaign em{color:#ffe9dc}
.tg-wedding-seed-campaign p{color:#fff4ed}
.tg-wedding-seed-campaign button{background:linear-gradient(135deg,#fff3da,#f4c9be);color:#7b3347}
.tg-seed-details{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 2px}
.tg-seed-details span{padding:4px 7px;border-radius:999px;background:#fff3ef;color:#9d5265;font-size:10px}
.seed-card-bouquet_surprise{background:linear-gradient(160deg,#fff9f8,#fff0f3);box-shadow:inset 0 0 0 1px rgba(220,83,120,.22)}
.seed-card-bouquet_surprise .tg-seed-mini{filter:drop-shadow(0 6px 10px rgba(223,83,120,.3))}
.seed-bouquet_surprise .tg-growth-stage{filter:saturate(1.18) drop-shadow(0 0 12px rgba(255,114,146,.62))}
.seed-wedding_vow .tg-growth-stage{filter:saturate(.88) brightness(1.08) drop-shadow(0 0 14px rgba(255,237,188,.72))}
.tg-victorian-progress{grid-template-columns:1fr auto;margin:12px 0 18px}
.tg-victorian-progress i{display:block;height:7px;margin-top:10px;overflow:hidden;border-radius:10px;background:#ffffff24}
.tg-victorian-progress i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9a4768,#f1c0d4)}

.tg-hazard-banner{
  position:absolute;
  z-index:28;
  top:clamp(120px,17vh,175px);
  left:50%;
  width:min(92%,520px);
  transform:translateX(-50%);
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid #ffe1c9;
  border-radius:18px;
  color:#4f302b;
  background:#fff6e8ee;
  box-shadow:0 12px 30px #26171c35;
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px)
}
.tg-hazard-banner[hidden]{display:none!important}
.tg-hazard-banner>span{font-size:28px}
.tg-hazard-banner b,.tg-hazard-banner small{display:block}
.tg-hazard-banner small{margin-top:2px;color:#8b655c;font-size:10px}
.tg-hazard-banner button{padding:9px 12px;border:0;border-radius:13px;background:#8c3c55;color:#fff;font-weight:700}

.tg-css-turtle{position:relative;display:inline-block;width:92px;height:72px}
.tg-css-turtle i{position:absolute;display:block}
.tg-css-turtle .shell{left:19px;top:15px;width:58px;height:45px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#cedf8d,#6e914f 55%,#395b37);box-shadow:inset 0 0 0 4px #e4e2a066,0 9px 12px #26351b38}
.tg-css-turtle .shell::before,.tg-css-turtle .shell::after{content:"";position:absolute;inset:9px;border:2px solid #425d36;border-radius:50%;transform:rotate(28deg)}
.tg-css-turtle .shell::after{transform:rotate(-28deg)}
.tg-css-turtle .head{right:1px;top:28px;width:28px;height:23px;border-radius:55% 60% 55% 45%;background:#7ea65a}
.tg-css-turtle .head::after{content:"";position:absolute;right:6px;top:6px;width:3px;height:3px;border-radius:50%;background:#1d291e;box-shadow:5px 7px 0 -1px #55743e}
.tg-css-turtle .leg{width:20px;height:13px;border-radius:50%;background:#6f9651}
.tg-css-turtle .l1{left:14px;top:14px;transform:rotate(-25deg)}.tg-css-turtle .l2{left:13px;bottom:8px;transform:rotate(28deg)}
.tg-css-turtle .l3{right:15px;top:13px;transform:rotate(25deg)}.tg-css-turtle .l4{right:17px;bottom:7px;transform:rotate(-28deg)}
.tg-pet-stage[data-species="turtle"] .tg-css-turtle{transform:scale(.82);transform-origin:center bottom;animation:tgTurtleWalk 5s ease-in-out infinite}
@keyframes tgTurtleWalk{0%,100%{translate:-5px 0}50%{translate:7px -1px}}
.tg-white-wolf{filter:grayscale(.72) brightness(1.5) contrast(.9) drop-shadow(0 0 10px #d8efff)!important}
.tg-pet-stage[data-species="white_wolf"] img{animation:tgWolfBreathe 3.2s ease-in-out infinite}
@keyframes tgWolfBreathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.02)}}
.tg-adopt-card.locked::after{content:"待解锁";position:absolute;right:8px;top:8px;padding:3px 7px;border-radius:10px;background:#4d2939;color:#fff;font-size:10px}
.tg-adopt-card.active{border-color:#8e4f69!important;box-shadow:0 0 0 2px #8e4f6930}
.tg-pet-catalog-title{margin:18px 15px 10px;color:#563642}

@media(max-width:560px){
  .tg-victorian-campaign,.tg-victorian-progress{grid-template-columns:1fr;text-align:left}
  .tg-victorian-campaign .tg-victorian-moon{display:none}
  .tg-victorian-campaign button,.tg-victorian-progress button{width:100%}
  .tg-hazard-banner{top:132px;width:calc(100% - 24px);grid-template-columns:auto 1fr}
  .tg-hazard-banner button{grid-column:1/-1;width:100%}
}

/* V33.1.75 · 花园伙伴建模与维多利亚场景预览 */
.tg-premium-pet{
  object-fit:contain!important;
  object-position:center bottom!important;
  background:transparent!important;
  filter:drop-shadow(0 9px 10px rgba(30,20,25,.34))!important
}
.tg-adopt-card .tg-premium-pet{
  width:100%!important;
  height:auto!important;
  aspect-ratio:1;
  padding:3px!important
}
.tg-pet-profile>.tg-premium-pet{max-height:205px!important}
.tg-pet-stage[data-species="turtle"]{width:152px;height:148px}
.tg-pet-stage[data-species="turtle"] .tg-premium-turtle{
  animation:tgPremiumTurtle 5.8s ease-in-out infinite!important
}
.tg-pet-stage[data-species="white_wolf"]{width:152px;height:188px}
.tg-pet-stage[data-species="white_wolf"] .tg-premium-white_wolf{
  animation:tgPremiumWolf 3.4s ease-in-out infinite!important;
  filter:drop-shadow(0 0 11px rgba(210,232,255,.52)) drop-shadow(0 12px 12px rgba(24,19,30,.35))!important
}
@keyframes tgPremiumTurtle{
  0%,100%{transform:translateX(-4px) translateY(0) rotate(-1deg)}
  50%{transform:translateX(7px) translateY(-2px) rotate(1deg)}
}
@keyframes tgPremiumWolf{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-4px) scale(1.018)}
}

.tg-victorian-actions{display:grid;gap:7px;min-width:128px}
.tg-victorian-preview-button{
  border-color:#cfa8bd!important;
  background:rgba(255,255,255,.08)!important;
  color:#f8eaf2!important
}
.tg-victorian-preview-modal{
  position:absolute;
  inset:0;
  z-index:94;
  display:grid;
  place-items:center;
  padding:18px;
  background:rgba(10,6,14,.78);
  -webkit-backdrop-filter:blur(14px);
  backdrop-filter:blur(14px)
}
.tg-victorian-preview-modal.hidden{display:none!important}
.tg-victorian-preview-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(250px,1.08fr) minmax(245px,.92fr);
  width:min(94vw,760px);
  max-height:min(88vh,720px);
  overflow:hidden;
  border:1px solid rgba(226,196,217,.62);
  border-radius:30px;
  background:#211520;
  color:#fff6fb;
  box-shadow:0 32px 100px rgba(0,0,0,.58);
  animation:tgVictorianPreviewIn .42s cubic-bezier(.2,.85,.2,1.08) both
}
.tg-victorian-preview-close{
  position:absolute;
  z-index:5;
  right:12px;
  top:12px;
  width:36px;
  height:36px;
  padding:0!important;
  border:1px solid rgba(255,255,255,.46)!important;
  border-radius:50%!important;
  background:rgba(21,13,22,.62)!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1!important;
  box-shadow:none!important
}
.tg-victorian-preview-scene{position:relative;min-height:520px;overflow:hidden}
.tg-victorian-preview-scene img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  object-fit:cover;
  object-position:center 34%;
  border:0!important;
  background:#16101c!important;
  animation:tgVictorianPreviewBreath 12s ease-in-out infinite alternate
}
.tg-victorian-preview-scene::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent 64%,rgba(20,11,22,.62)),linear-gradient(0deg,rgba(12,8,15,.4),transparent 45%);
  pointer-events:none
}
.tg-victorian-preview-scene>span{
  position:absolute;
  z-index:3;
  left:15px;
  bottom:15px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.35);
  border-radius:999px;
  background:rgba(20,12,22,.58);
  color:#f5e5ef;
  font-size:10px;
  letter-spacing:.08em
}
.tg-preview-moon{
  position:absolute;
  z-index:2;
  left:17%;
  top:11%;
  width:45px;
  height:45px;
  border-radius:50%;
  background:rgba(242,235,255,.24);
  box-shadow:0 0 35px rgba(227,212,255,.45);
  animation:tgPreviewMoon 4.8s ease-in-out infinite
}
.tg-preview-mist{
  position:absolute;
  z-index:2;
  left:-10%;
  right:-10%;
  bottom:12%;
  height:70px;
  border-radius:50%;
  background:rgba(220,205,229,.14);
  filter:blur(18px);
  animation:tgPreviewMist 8s ease-in-out infinite alternate
}
.tg-victorian-preview-copy{
  align-self:center;
  padding:44px 31px 30px;
  background:radial-gradient(circle at 90% 4%,rgba(131,58,92,.38),transparent 30%)
}
.tg-victorian-preview-copy>small{color:#d7b4c9;font-size:10px;font-weight:800;letter-spacing:.13em}
.tg-victorian-preview-copy h2{margin:9px 0 13px;font-family:Georgia,"Songti SC",serif;font-size:29px;line-height:1.2}
.tg-victorian-preview-copy p{margin:0;color:#e4d3dd;font-size:13px;line-height:1.85}
.tg-victorian-preview-copy em{
  display:block;
  margin:18px 0;
  padding:11px 13px;
  border:1px solid rgba(207,168,190,.35);
  border-radius:15px;
  background:rgba(255,255,255,.055);
  color:#d8bdcb;
  font-size:11px;
  font-style:normal;
  line-height:1.6
}
.tg-victorian-preview-copy>div{display:grid;gap:8px}
.tg-victorian-preview-copy button{
  min-height:44px;
  border:1px solid rgba(224,191,209,.55);
  border-radius:15px;
  background:rgba(255,255,255,.08);
  color:#f7eaf1;
  font-weight:700
}
.tg-victorian-preview-copy .tg-primary{background:linear-gradient(135deg,#a24d70,#e087a0)!important;color:#fff!important}
.tg-victorian-preview-copy .tg-primary:disabled{opacity:.5!important;filter:none!important}
@keyframes tgVictorianPreviewIn{from{opacity:0;transform:translateY(20px) scale(.96)}to{opacity:1;transform:none}}
@keyframes tgVictorianPreviewBreath{to{transform:scale(1.045) translateY(-5px)}}
@keyframes tgPreviewMoon{50%{opacity:.72;transform:scale(1.1)}}
@keyframes tgPreviewMist{to{transform:translateX(13%);opacity:.68}}

@media(max-width:620px){
  .tg-victorian-actions{width:100%;grid-template-columns:1fr 1fr}
  .tg-victorian-preview-modal{padding:0}
  .tg-victorian-preview-card{
    grid-template-columns:1fr;
    grid-template-rows:minmax(0,58vh) auto;
    width:100%;
    height:100%;
    max-height:none;
    border:0;
    border-radius:0;
    overflow:auto
  }
  .tg-victorian-preview-scene{min-height:0}
  .tg-victorian-preview-scene::after{background:linear-gradient(0deg,#211520 0,transparent 35%)}
  .tg-victorian-preview-copy{padding:25px 20px max(24px,env(safe-area-inset-bottom))}
  .tg-victorian-preview-copy h2{font-size:25px}
  .tg-victorian-preview-copy>div{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
  .tg-premium-pet,.tg-victorian-preview-card,.tg-victorian-preview-scene img,.tg-preview-moon,.tg-preview-mist{animation:none!important}
}

.tg-wallet-recharge-entry{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:15px;
  margin:12px 0;
  padding:15px 16px;
  border:1px solid rgba(220,137,157,.28);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,246,248,.94),rgba(255,236,226,.85));
  box-shadow:0 10px 28px rgba(123,66,83,.08)
}
.tg-wallet-recharge-entry small{color:#c45a75;font-size:10px;font-weight:800;letter-spacing:.08em}
.tg-wallet-recharge-entry h3{margin:4px 0 5px;font-size:15px;color:#5b4149}
.tg-wallet-recharge-entry p{margin:0;color:#94737c;font-size:11px;line-height:1.55}
.tg-wallet-recharge-entry .tg-primary{min-width:112px;min-height:43px;margin:0;padding:9px 13px;border-radius:14px}
.tg-victorian-actions .tg-victorian-plant-button{
  color:#fff!important;
  border-color:rgba(233,174,188,.42)!important;
  background:linear-gradient(135deg,#a33858,#d76175)!important;
  box-shadow:0 8px 20px rgba(94,27,50,.22)
}
@media(max-width:540px){
  .tg-wallet-recharge-entry{grid-template-columns:1fr}
  .tg-wallet-recharge-entry .tg-primary{width:100%}
  .tg-victorian-actions{grid-template-columns:1fr}
}

/* V33.1.84 · 花园主页求婚入口与浪漫婚礼季公告 */
.tg-wedding-entry{
  position:absolute;
  z-index:13;
  left:14px;
  top:max(128px,calc(env(safe-area-inset-top) + 122px));
  display:grid;
  grid-template-columns:31px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  min-width:135px;
  padding:8px 12px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:18px!important;
  color:#fff!important;
  background:linear-gradient(135deg,rgba(166,65,100,.86),rgba(225,105,116,.78))!important;
  box-shadow:0 11px 30px rgba(61,25,43,.26),inset 0 1px 0 rgba(255,255,255,.25)!important;
  text-align:left!important;
  text-shadow:0 1px 4px rgba(47,19,32,.58);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
  animation:tg-wedding-entry-glow 3.8s ease-in-out infinite
}
.tg-wedding-entry>span{grid-row:1/3;display:grid;width:27px;height:27px;place-items:center;margin-right:7px;border-radius:50%;background:rgba(255,249,238,.95);font-size:15px;text-shadow:none;box-shadow:0 4px 13px rgba(255,218,177,.34)}
.tg-wedding-entry b,.tg-wedding-entry small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tg-wedding-entry b{font-size:11px}.tg-wedding-entry small{margin-top:1px;color:#fff1eb;font-size:7px}
.tg-wedding-entry:active{transform:scale(.96)}
#twoPersonGarden.tg-welcome-only .tg-wedding-entry{display:none!important}
.tg-wedding-update{background:radial-gradient(circle at 50% -5%,#fffdf1,#fff1f3 58%,#f9e0e8)}
.tg-wedding-update .tg-update-seal{background:linear-gradient(145deg,#fff8df,#ffc2ce);filter:drop-shadow(0 7px 12px rgba(188,59,94,.16))}
.tg-wedding-update h2{font-size:25px;line-height:1.35}
@keyframes tg-wedding-entry-glow{50%{transform:translateY(-2px);box-shadow:0 14px 34px rgba(101,34,60,.34),0 0 18px rgba(255,192,201,.2)!important}}
html[data-rose-quality="smooth"] #twoPersonGarden .tg-wedding-entry,
html[data-rose-quality="ultra"] #twoPersonGarden .tg-wedding-entry{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;animation:none!important}
@media(max-width:430px){.tg-wedding-entry{left:11px;top:max(124px,calc(env(safe-area-inset-top) + 118px));min-width:112px;max-width:132px;padding:7px 9px!important}.tg-wedding-entry>span{width:25px;height:25px}.tg-wedding-entry small{max-width:72px}}
@media(prefers-reduced-motion:reduce){.tg-wedding-entry{animation:none!important}}
