.game-page .farm-title{font-size:25px}.game-page .farm-top{margin-bottom:18px}.game-page .preview-ribbon{margin-bottom:19px}.balance-amount b{font-weight:700}.life-steps{display:flex;align-items:center;justify-content:center;gap:21px;margin-top:22px}.life-steps span{display:flex;align-items:center;gap:6px;color:#7e9181;font-size:10px}.life-steps i{font-style:normal;width:20px;height:20px;border:1px solid #45533f;border-radius:50%;display:grid;place-items:center;font-size:9px}.life-steps .current{color:var(--gold)}.life-steps .current i{background:var(--gold);border-color:var(--gold);color:#272b1e}.life-steps .done{color:#b8cda5}.life-steps .done i{border-color:#7b9267}.game-stage{height:290px;margin-top:12px}.game-stage .pet-button{height:192px}.game-stage .farm-pet{height:180px;width:150px}.game-stage .stage-caption{font-size:20px}.game-stage::after{bottom:68px}.game-stage .stage-badge{font-size:8px}.care-card{padding:17px 18px;border:1px solid #42503b;border-radius:19px;background:linear-gradient(130deg,#273528,#1d2a21)}.care-heading{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#d4decb}.care-label{color:#95a889;font-size:9px;text-align:right}.timer-text{font-size:15px;font-weight:600;margin:10px 0 12px;font-variant-numeric:tabular-nums}.care-card progress{appearance:none;width:100%;height:5px;display:block;border:0;border-radius:8px;overflow:hidden;background:#0f1d15;color:var(--gold)}.care-card progress::-webkit-progress-bar{background:#0f1d15;border-radius:8px}.care-card progress::-webkit-progress-value{background:linear-gradient(90deg,#bda469,#f6d590);border-radius:8px}.care-card progress::-moz-progress-bar{background:var(--gold)}.feed-dots{display:flex;justify-content:center;gap:10px;margin:16px 0 14px}.feed-dots span{display:grid;place-items:center;width:26px;height:26px;border:1px solid #536047;border-radius:50%;color:#71876b}.feed-dots .fed{background:#adc392;color:#203320;border-color:#adc392}.care-card .button{min-height:49px}.nest-section .section-header{margin-top:24px}.egg-count{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:10px;background:#e1c5821a;color:var(--gold);font-size:11px;margin-left:5px;vertical-align:middle}.nest-hint{font-size:10px;color:#b5c19f}.egg-nest{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.laid-egg{position:relative;min-width:0;overflow:hidden;border:1px solid #7a68412e;border-radius:18px;padding:9px 4px 12px;background:radial-gradient(ellipse at 50% 60%,#88734633,transparent 80%),#202b20;transition:transform .15s}.laid-egg:active{transform:scale(.92)}.laid-egg img{height:88px;width:100%;object-fit:contain;filter:drop-shadow(0 6px 10px #0007)}.laid-egg span{display:block;font-size:11px;color:var(--gold);margin-top:5px}.laid-egg small{display:block;font-size:9px;color:#a1b094;margin-top:4px}.empty-nest{display:flex;align-items:center;gap:14px;padding:20px 16px;border:1px dashed #536046;border-radius:19px}.empty-nest img{width:46px;height:57px;object-fit:contain;filter:grayscale(.8);opacity:.32}.empty-nest h3{font-size:12px;color:#c2cdb8;margin-bottom:6px}.empty-nest p{font-size:10px;line-height:1.6;color:#91a08a}.preview-settings{margin-top:22px;color:#98aa90;font-size:10px;line-height:1.7}.preview-settings summary{cursor:pointer;padding:5px 0}.preview-settings p{padding-top:8px;color:#a2b19a}.gallery-link{padding-top:18px;border-top:1px solid #2e402f}.gallery-link h2{font-size:14px}.nest-more{font-size:10px;line-height:1.5;color:var(--muted);text-align:center;margin-top:12px}.game-page #game-connection{margin-top:15px}.reward-scene{height:245px;position:relative;isolation:isolate;background:radial-gradient(ellipse,#edbd662c,transparent 68%);overflow:hidden}.egg-shell{position:absolute;width:155px;height:190px;top:27px;left:calc(50% - 77.5px);z-index:2}.egg-shell img{width:100%;height:100%;object-fit:contain}.shell-left{clip-path:polygon(0 0,52% 0,41% 28%,59% 42%,40% 57%,57% 74%,48% 100%,0 100%);animation:crack-shake .35s ease,break-left .55s .35s ease-in both}.shell-right{clip-path:polygon(52% 0,100% 0,100% 100%,48% 100%,57% 74%,40% 57%,59% 42%,41% 28%);animation:crack-shake .35s ease,break-right .55s .35s ease-in both}.egg-crack{position:absolute;left:calc(50% - 57px);top:40px;width:114px;height:164px;z-index:3;stroke:#fff4c8;stroke-width:2;filter:drop-shadow(0 0 5px #fff3b9);animation:crack-light .5s forwards}.reward-coin{position:absolute;top:70px;left:calc(50% - 48px);width:96px;height:96px;display:grid;place-items:center;border-radius:50%;color:#735323;font-size:49px;font-weight:800;background:linear-gradient(135deg,#fff0b0,#d5a34e);border:3px solid #ffeab0;box-shadow:inset 0 0 0 7px #dfb567,inset 0 0 0 9px #b98e40,0 0 65px #edc47544;animation:coin-reveal .55s .55s cubic-bezier(.2,1.5,.4,1) both}.reward-spark{position:absolute;color:var(--gold);animation:coin-reveal .6s .6s both}.spark-one{left:20%;top:53px;font-size:28px}.spark-two{right:19%;top:155px;font-size:35px}.spark-three{right:22%;top:42px;font-size:17px}.reward-copy{text-align:center;animation:reward-copy .45s .65s both}.reward-copy h2{font-size:43px;color:var(--gold);margin:14px 0}.reward-copy h2 span{display:block;font-size:15px;letter-spacing:.3px;color:#d3ddc8;margin-top:7px}.reward-copy p:not(.eyebrow){font-size:12px}.reward-copy .button{margin-top:25px}
.hen-lineage{margin-top:24px;padding:16px 13px;border:1px solid #42533c;border-radius:19px;background:#142219}.lineage-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.lineage-heading>img{width:33px;height:42px;object-fit:contain}.lineage-heading span{font-size:8px;color:#a9b99d;letter-spacing:1.8px}.lineage-heading h3{font-size:15px;color:var(--gold);margin-top:5px}.hen-lineage ol{list-style:none;margin:0;padding:0}.hen-lineage li{display:flex;align-items:center;gap:9px;min-height:63px;padding:7px 5px;border-top:1px solid #344531}.hen-lineage li>img{width:44px;height:47px;object-fit:contain;flex-shrink:0}.lineage-step{font-size:10px;color:#819876;width:15px;text-align:center;flex-shrink:0}.hen-lineage li strong{font-size:12px;font-weight:600;display:block;line-height:1.35}.hen-lineage li small{font-size:9px;color:#92a786;display:block;margin-top:4px}.hen-lineage .lineage-selected{background:#e0be7110;border-radius:10px;color:var(--gold)}.sheet .lineage-note{font-size:10px;line-height:1.6;color:#9faf94;margin-top:13px}
@keyframes crack-shake{0%,100%{transform:rotate(0)}25%{transform:rotate(-8deg)}75%{transform:rotate(8deg)}}@keyframes break-left{to{transform:translate(-85px,80px) rotate(-48deg);opacity:0}}@keyframes break-right{to{transform:translate(85px,80px) rotate(48deg);opacity:0}}@keyframes crack-light{0%{opacity:0}55%{opacity:1}100%{opacity:0}}@keyframes coin-reveal{from{opacity:0;transform:scale(.35) translateY(30px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes reward-copy{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:359px){.game-page .farm-title{font-size:22px}.game-stage .stage-caption{font-size:18px}.life-steps{gap:16px}.balance-amount span{font-size:9px}.care-heading{font-size:10px}.care-label{font-size:8px}.game-stage{height:282px}.laid-egg img{height:77px}}
@media(prefers-reduced-motion:reduce){.egg-shell,.egg-crack{display:none}.reward-coin,.reward-spark,.reward-copy{animation:none;opacity:1;transform:none}}

.adult-feed{margin-top:16px}.feed-store,.income-card{margin-top:16px;padding:18px;border:1px solid #42503b;border-radius:19px;background:#1b2b20}.feed-store-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.feed-store-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#b4c18b15;font-size:23px}.feed-store h2{font-size:15px;margin:0 0 5px}.feed-store-heading p{font-size:11px;color:#aebea0}.feed-store-heading strong{color:#e2e9d9}.feed-price{margin-left:auto;font-size:19px;color:var(--gold);text-align:right}.feed-price small{display:block;font-size:8px;color:#a2b39a;margin-top:4px}.feed-store .button{font-size:12px;min-height:45px}.store-note{font-size:10px;line-height:1.65;color:#98ad8d;margin-top:12px}.income-card{background:linear-gradient(135deg,#303827,#202f23)}.income-card .care-heading{font-size:9px;color:#aebb9c}.income-card h2{font-size:15px;margin:16px 0 8px}.income-total{display:flex;flex-wrap:wrap;gap:5px;align-items:baseline}.income-total strong{font-size:31px;font-weight:600;color:var(--gold);font-variant-numeric:tabular-nums}.income-total span{font-size:11px;color:#c2cbb5}.income-bar{height:4px;margin:14px 0 16px;border-radius:8px;background:#132319;overflow:hidden}.income-bar span{display:block;height:100%;background:var(--gold)}.income-card dl{font-size:11px;line-height:2;color:#c1cdb6}.income-card dl div{display:flex;justify-content:space-between;gap:12px}.income-card dd{font-variant-numeric:tabular-nums}.feed-bonus{display:inline-block;padding:9px 16px;border-radius:20px;background:#a2c17b1a;color:#b7d295;margin:0 0 15px;font-size:14px}.button:disabled{opacity:.48;cursor:default}.timer-text{line-height:1.5}

.feed-free{margin-left:auto;text-align:right;font-size:11px;color:var(--gold)}.feed-free small{display:block;color:#9db28f;font-size:9px;margin-top:5px}.feed-schedule{display:flex;justify-content:space-around;align-items:center;padding:12px;border-radius:12px;background:#30412b60;color:#acc09b;font-size:10px;line-height:1.7;text-align:center}.feed-schedule strong{font-weight:500;color:#d6e0c9}.feed-schedule i{font-size:21px;color:var(--gold);font-style:normal}.laid-egg:disabled{opacity:.55;cursor:default}

.hen-upgrade{margin-top:16px;padding:18px;border:1px solid #c8aa6266;border-radius:19px;background:linear-gradient(135deg,#343b28,#1c2b21)}.hen-upgrade h2{font-size:16px;line-height:1.4}.hen-upgrade>.eyebrow{font-size:8px;letter-spacing:1.5px;margin-bottom:12px}.hen-upgrade-next{display:flex;align-items:center;gap:14px;margin-bottom:15px}.hen-upgrade-next img{width:65px;height:84px;object-fit:contain;flex-shrink:0}.hen-upgrade-next p{font-size:11px;color:var(--muted);margin:7px 0}.hen-upgrade-next strong{font-size:11px;color:var(--gold);font-weight:500}.hen-upgrade .button{font-size:12px;min-height:47px;padding:12px 8px}
/* The farm is a local background layer; the hen remains its original animation. */
.game-stage.hen-farm{height:348px;margin:18px -8px 20px;border-radius:24px;border:1px solid #68714980;background:#435334 var(--farm-background,url('/assets/farm-background-v1.png')) var(--farm-position,30% center)/cover no-repeat;isolation:isolate;box-shadow:0 14px 30px #08120b35}
.hen-farm.farm-azure{--farm-position:38% center;border-color:#82bace80}.hen-farm.farm-amethyst{--farm-position:40% center;border-color:#b29ccd90}.hen-farm.farm-pink{--farm-position:38% center;border-color:#e5a9b890}.hen-farm.farm-gold{--farm-position:50% center;border-color:#efd28dad;box-shadow:0 14px 30px #08120b35,0 0 20px #e2b85815}
.hen-farm::before{inset:0;border:0;border-radius:0;background:linear-gradient(180deg,#17281438 0%,transparent 35%,transparent 62%,#122117b3 82%,#122117f2 100%);z-index:0;pointer-events:none}
.hen-farm::after{width:102px;height:13px;bottom:91px;background:#1d251a8c;filter:blur(6px);z-index:1;pointer-events:none}
.hen-farm .stage-badge{margin-top:14px;background:#172b1bcb;border-color:#e8d69a45;color:#f4e6bf;font-size:8px;backdrop-filter:blur(5px)}
.hen-farm .pet-button{height:226px;width:210px;display:flex;align-items:flex-end;justify-content:center;padding:0 0 4px}
.hen-farm .pet-button .farm-pet{height:210px;width:168px;margin:0;filter:drop-shadow(0 6px 4px #17241445)}
.hen-farm .stage-caption{font-size:20px;color:#fff3d4;text-shadow:0 2px 8px #07130c80;padding:0 10px}
.hen-farm .stage-sub{font-size:10px;color:#dce7cb;padding:0 12px;margin-top:6px;text-shadow:0 1px 5px #07130cb0}
@media(max-width:359px){.game-stage.hen-farm{height:334px;margin-left:-10px;margin-right:-10px;border-radius:21px;background-position:var(--farm-position,28% center)}.hen-farm .pet-button{height:216px}.hen-farm .pet-button .farm-pet{height:200px;width:160px}.hen-farm .stage-caption{font-size:18px}.hen-farm .stage-sub{font-size:9px}.hen-farm::after{bottom:85px}}

.egg-price{margin-top:12px;color:var(--gold);font-variant-numeric:tabular-nums}.egg-price strong{font-size:18px;font-weight:650;letter-spacing:-.4px}.egg-price small{display:block;font-size:9px;margin-top:3px;color:#b8c5aa}.egg-gift{font-size:10px;line-height:1.5;color:#b8c5aa}.egg-price-detail{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edd2980a;border:1px solid #edd29826;border-radius:15px;padding:14px 16px;margin:0 0 16px}.egg-price-detail strong{font-size:24px}.egg-price-detail small{font-size:10px}.egg-price-label{font-size:12px;color:#c4cfb8}.egg-price-detail>span:last-child{text-align:right}.egg-gift.egg-price-detail{justify-content:center;font-size:12px}
/* Invitations, independent four-piece puzzles and purchased eggs. */
.bottom-nav{grid-template-columns:repeat(4,1fr)}.shop-entry{margin-bottom:20px}.referrals-page>.muted{line-height:1.7;margin-bottom:22px}.referrals-page>.button{margin-top:24px}.referral-hero{text-align:center;margin:20px 0 30px}.referral-hero img{height:180px;margin:auto}.referral-hero span{display:block;color:var(--gold);font-size:14px;margin-top:15px}.referral-link-card{padding:18px;border:1px solid #526044;border-radius:20px;background:linear-gradient(130deg,#2d3a28,#1d2c23);margin:22px 0 18px}.referral-link-card label{display:block;font-size:12px;color:#e4dec8;margin-bottom:12px}.referral-link-card input{display:block;width:100%;min-width:0;background:#122017;border:1px solid #46563d;border-radius:11px;padding:12px;color:#c7d5bb;font-size:11px;margin-bottom:12px}.referral-link-card .button{min-height:46px;font-size:12px}.referral-link-card p{font-size:10px;color:var(--muted);margin-top:11px;line-height:1.5}.referral-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.referral-stats>div{padding:16px;border:1px solid #34462f;border-radius:16px;background:#1b281f}.referral-stats strong{display:block;color:var(--gold);font-size:26px;margin-bottom:5px}.referral-stats span{font-size:10px;color:var(--muted)}.puzzle-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.puzzle-card{padding:14px 10px;border:1px solid #3d4e37;border-radius:20px;background:radial-gradient(ellipse at 50% 20%,#51644a25,transparent),#1b291f;text-align:center}.puzzle-art{width:136px;height:auto;aspect-ratio:8/9;max-width:100%;margin:0 auto 12px;display:block;overflow:visible}.puzzle-piece{filter:grayscale(1);opacity:.28}.puzzle-piece.filled{opacity:1;filter:none}.puzzle-piece-shell{fill:#30432c}.puzzle-piece-gap{fill:none;stroke:#101b15;stroke-width:5;stroke-linejoin:round}.puzzle-piece-edge{fill:none;stroke:#718567;stroke-width:1.1;stroke-linejoin:round}.puzzle-piece.filled .puzzle-piece-edge{stroke:#daca96;stroke-width:1.2}.puzzle-piece-badge{fill:#12271dd9;stroke:#adc59666;stroke-width:1}.puzzle-piece-check{fill:none;stroke:#f4ead1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.puzzle-piece-number{fill:#e2e8d8;font-size:10px;font-weight:600;text-anchor:middle;dominant-baseline:central}.puzzle-card h3{font-size:12px;line-height:1.45;min-height:35px}.puzzle-progress{font-size:10px;color:var(--muted);margin:9px 0 12px}.puzzle-progress strong{color:var(--gold);font-size:18px}.puzzle-card .button{padding:11px 5px;min-height:43px;border-radius:12px;font-size:10px}.puzzle-card>small{display:block;font-size:9px;color:var(--muted);margin-top:10px}.referral-rules{padding:18px;border:1px solid #34432f;border-radius:18px;margin-top:22px}.referral-rules h2{font-size:15px;margin-bottom:12px}.referral-rules ol{margin:0;padding-left:17px;color:#bccdb1;font-size:11px;line-height:1.8}.referral-rules li+li{margin-top:6px}.referral-rules>p{font-size:10px;line-height:1.7;color:var(--muted);border-top:1px solid #3a4832;margin-top:15px;padding-top:13px}.inventory-row{display:flex;align-items:center;gap:10px;border:1px solid #3c4a34;border-radius:16px;padding:11px;margin-bottom:10px;background:#202e23}.inventory-row>img{width:40px;height:55px;object-fit:contain}.inventory-row>div{min-width:0;flex:1}.inventory-row h3{font-size:11px;line-height:1.5}.inventory-row p{font-size:9px;color:var(--muted);margin-top:4px}.inventory-row .button{width:auto;flex-shrink:0;padding:10px;min-height:40px;font-size:10px;border-radius:11px}.egg-shop{margin:20px 0}.shop-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #405137}.shop-row>img{width:70px;height:100px;object-fit:contain}.shop-row>div{flex:1;min-width:0}.shop-row h3{font-size:14px}.shop-row p{font-size:11px;color:var(--gold);margin:6px 0 10px}.shop-row .button{min-height:40px;font-size:11px;padding:10px;border-radius:12px}.resident-picker{display:flex;overflow-x:auto;gap:9px;margin:18px 0 8px;padding:2px 0 6px}.resident-chip{min-width:105px;max-width:120px;flex-shrink:0;border:1px solid #3a4b32;border-radius:14px;padding:7px 9px;background:#1d2b20}.resident-chip.active{border-color:var(--gold);background:#eacb8210}.resident-chip img{width:33px;height:40px;object-fit:contain;margin:auto}.resident-chip span{display:block;font-size:9px;line-height:1.4;margin-top:5px;color:#c9d1bf}.invitation-banner{padding:14px;border:1px solid #607c46;border-radius:14px;font-size:12px;line-height:1.6;background:#48643826;color:#d3e1bd;margin-bottom:20px}@media(max-width:359px){.puzzle-grid{gap:8px}.puzzle-card{padding:12px 8px}.puzzle-art{width:100px;height:118px}.inventory-row{gap:7px;padding:9px}.inventory-row>img{width:31px}.inventory-row .button{padding:8px;font-size:9px}}

.pending-reward-row{display:flex;align-items:center;gap:13px;padding:16px;border:1px solid #d7b87235;border-radius:17px;background:#c7a75e09;margin-bottom:10px}.pending-reward-row img{width:43px;height:62px;object-fit:contain}.pending-reward-row h3{font-size:13px}.pending-reward-row p{font-size:10px;color:var(--muted);line-height:1.6;margin:6px 0}.pending-reward-row strong{font-size:11px;color:var(--gold);font-weight:500}.puzzle-card .puzzle-reward-note{color:var(--gold);line-height:1.5}

.puzzle-outcome{min-height:76px;margin-top:12px;padding:11px 5px 7px;border-top:1px solid #62725635;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;line-height:1.4}.puzzle-outcome.is-reward{color:var(--gold)}.puzzle-outcome>span{font-size:9px}.puzzle-outcome strong{font-size:16px;font-weight:650}.puzzle-outcome small{font-size:9px}.puzzle-outcome.is-upgrade{color:#b6dca5}.puzzle-outcome.is-upgrade strong{font-size:10px;line-height:1.5}.puzzle-outcome .puzzle-upgrade-arrow{font-size:23px;line-height:1}.feed-store>.button.primary{font-size:11px;margin-top:16px}.shop-terms{font-size:11px!important;line-height:1.65!important;margin:12px 0!important}@media(max-width:359px){.feed-store>.button.primary{padding:12px 8px;font-size:10px}}

/* The foreground rim overlaps the lower shell so the egg sits inside the nest. */
.game-stage.incubation-stage{height:334px;isolation:isolate}
.incubation-stage::before{inset:65px 26px 62px;background:radial-gradient(ellipse,#a07b3533,transparent 67%);border:0}
.incubation-stage::after{bottom:82px;width:210px;z-index:0}
.incubation-stage .pet-button{height:238px;width:210px;display:flex;align-items:flex-start;justify-content:center;padding-top:12px;z-index:2}
.incubation-stage .pet-button .farm-pet{width:144px;height:176px;margin:0;filter:drop-shadow(0 7px 5px #070d0955)}
.incubation-nest{position:absolute;width:270px;height:180px;left:50%;top:96px;transform:translateX(-50%);object-fit:contain;pointer-events:none;user-select:none}
.incubation-nest.nest-back{z-index:1;filter:drop-shadow(0 8px 5px #050c0880)}
.incubation-nest.nest-front{z-index:3;clip-path:inset(59% 0 0 0)}
.incubation-stage .stage-caption,.incubation-stage .stage-sub{z-index:4}
@media(max-width:359px){.game-stage.incubation-stage{height:328px}.incubation-nest{width:246px;height:164px;top:105px}.incubation-stage .pet-button{height:232px}.incubation-stage .pet-button .farm-pet{width:132px;height:170px}.incubation-stage .stage-caption{font-size:18px}}
