/* Native Panda Life extension: cards use existing app spacing; preserve outfits, stats & saves. */
.panda-life120,.panda-life120 *{box-sizing:border-box}
.panda-life120{margin:17px 0 23px;border-radius:25px;padding:16px;background:linear-gradient(160deg,#edf9ef,#c8ebd5);border:1px solid #9bc8a8;box-shadow:0 12px 29px #19482d1a;color:#244b37}
.p120-heading{display:flex;gap:10px;align-items:center}.p120-heading img{height:78px;width:75px;object-fit:contain;filter:drop-shadow(0 6px 8px #14321c1e)}.p120-heading small{font-size:10px;color:#588067;letter-spacing:.12em;font-weight:950}.p120-heading h2{margin:2px 0 4px;font-size:21px;letter-spacing:-.04em}.p120-heading p,.p120-memory p,.p120-room p,.p120-photo p{margin:0;color:#597b65;font-size:12px;line-height:1.4}
.p120-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}.p120-summary>div{background:#ffffffcf;border-radius:15px;border:1px solid #c5e3c8;padding:9px 6px;min-width:0}.p120-summary small{font-weight:900;display:block;color:#718875;font-size:9px;letter-spacing:.03em}.p120-summary strong{font-size:12px;line-height:1.3;display:block;margin-top:4px;word-break:break-word}
.p120-traits{display:grid;gap:10px;background:#ffffffa6;padding:13px;border-radius:16px}.p120-trait{display:grid;grid-template-columns:84px 1fr 26px;align-items:center;gap:6px;font-size:12px;font-weight:800}.p120-trait div{height:9px;border-radius:9px;background:#c4dbc5;overflow:hidden}.p120-trait span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#349d78,#85d3a0);transition:width .3s}.p120-trait b{text-align:right}
.p120-memory,.p120-room,.p120-photo{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;background:#ffffffc5;padding:12px;border:1px solid #c4e0cc;border-radius:16px}.p120-memory h3,.p120-room h3{font-size:14px;margin:0 0 4px}.p120-memory>div,.p120-room>div{flex:1;min-width:0}.panda-life120 button{border:0;border-radius:13px;background:#23664d;color:#fff;font-weight:900;font-size:12px;padding:11px 13px;min-height:43px}.panda-life120 button:disabled{background:#a4bdb0;color:#fff;opacity:.8}.p120-room{display:block}.p120-room select{margin-top:11px;border:1px solid #99c4ab;border-radius:11px;background:#edf9f2;width:100%;min-height:43px;padding:8px 10px;color:#275039;font-size:13px;font-weight:750}.p120-photo p{flex:1}
.p120-photo-result[hidden]{display:none}.p120-photo-result{display:grid;gap:8px;place-items:center;padding:14px}.p120-photo-result img{max-width:100%;max-height:450px;border-radius:13px;box-shadow:0 8px 24px #143e2836}.p120-photo-result a{border-radius:13px;background:#235b43;color:#fff!important;padding:12px 20px;text-decoration:none;font-weight:900}
.p120-room-decor{position:absolute;left:50%;bottom:13px;width:86px;height:100px;object-fit:contain;transform:translateX(98px);filter:drop-shadow(0 6px 10px #1d4c2733);pointer-events:none;z-index:8}
.p120-modal{position:fixed;inset:0;z-index:980;display:grid;place-items:center;padding:20px;background:#071912d9;backdrop-filter:blur(9px)}.p120-dialog{width:min(390px,100%);background:#f1faee;color:#244b37;border-radius:26px;border:2px solid #d9c175;padding:24px;box-shadow:0 18px 55px #0005}.p120-dialog small{font-size:10px;font-weight:900;letter-spacing:.1em}.p120-dialog h3{font-size:27px;margin:8px 0}.p120-dialog p{line-height:1.45}.p120-choices{display:grid;gap:9px;margin:18px 0}.p120-choices button{background:linear-gradient(#277e55,#155a40);text-align:left}.p120-dialog .p120-cancel{background:#d9e9df;color:#3c654e}
@media(max-width:390px){.panda-life120{padding:12px}.p120-summary strong{font-size:11px}.p120-trait{grid-template-columns:70px 1fr 22px}}
@media(prefers-reduced-motion:reduce){.p120-trait span{transition:none}}
