Spaces:
Running
Running
Download app/src/pet/pet.css from FormaLau/DuckAgochi: direct link, hf CLI and curl.
- Browser
- Download file 22.2 kB
-
https://huggingface.co/spaces/FormaLau/DuckAgochi/resolve/main/app/src/pet/pet.css
- Command line
-
hf download hf://spaces/FormaLau/DuckAgochi/app/src/pet/pet.css
-
curl -L -o pet.css https://huggingface.co/spaces/FormaLau/DuckAgochi/resolve/main/app/src/pet/pet.css
22.2 kB
| .pet-app{--cream:#f5f2e9;--muted:#a9b1a9;--green:#c9e9ad;font-family:Inter,system-ui,sans-serif;color:var(--cream);position:fixed;inset:0;z-index:12;pointer-events:none;background:linear-gradient(90deg,rgba(8,12,14,.74),transparent 46%)} | |
| .pet-app button,.pet-app a,.pet-app input,.pet-app select,.pet-app summary,.pet-card{pointer-events:auto}.pet-app button,.pet-app input,.pet-app select{font:inherit}.pet-app button,.pet-app a{touch-action:manipulation}.pet-app button{cursor:pointer}.pet-app button:focus-visible,.pet-app a:focus-visible,.pet-app summary:focus-visible{outline:3px solid var(--green);outline-offset:4px}.pet-app button:disabled{opacity:.4;cursor:wait}.pet-app a{color:inherit;text-decoration:none}.pet-header{display:flex;justify-content:space-between;align-items:center;padding:26px 34px}.pet-brand{font-size:27px;font-weight:800;letter-spacing:-1.4px}.pet-brand>span{color:#18231c;background:var(--green);border-radius:7px;padding:2px 7px;margin-left:7px;font-size:18px;letter-spacing:-.5px}.pet-brand i{display:block;font-size:11px;letter-spacing:.3px;font-weight:400;font-style:normal;color:var(--muted);margin-top:5px}.pet-header-actions{display:flex;align-items:center;gap:28px;font-size:12px}.pet-header-actions a{border:1px solid #ffffff30;padding:10px 15px;border-radius:30px}.pet-live{color:#c7d3c5}.pet-live b{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:7px;box-shadow:0 0 14px #c9e9ad77}.pet-card{background:#18201fe8;border:1px solid #ffffff18;border-radius:22px;backdrop-filter:blur(18px);box-shadow:0 20px 60px #0003}.pet-profile{position:absolute;left:34px;top:125px;width:274px;padding:24px}.pet-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.pet-profile h1{font-size:40px;line-height:1.25;letter-spacing:-1.8px;margin:9px 0}.pet-rename{background:none;border:0;color:var(--muted);font-size:18px;margin-left:10px;vertical-align:middle}.pet-character{display:inline-block;font-size:11px;padding:5px 9px;border:1px solid #c9e9ad30;border-radius:6px;color:var(--green)}.pet-mood{margin:24px 0 22px;font-size:14px}.pet-mood small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.pet-need{margin:15px 0}.pet-need>div{display:flex;justify-content:space-between;font-size:12px}.pet-need strong{font-size:11px;font-weight:500}.pet-need small{font-size:9px;color:var(--muted)}.pet-need meter{display:block;width:100%;height:6px;margin-top:9px;background:#ffffff16;border:0;border-radius:10px;overflow:hidden}.pet-need meter::-webkit-meter-bar{background:#ffffff16;border:0;height:6px}.pet-need meter::-webkit-meter-optimum-value{background:var(--green)}.pet-need meter::-webkit-meter-suboptimum-value{background:#edbf8e}.pet-need meter::-moz-meter-bar{background:var(--green)}.pet-bond{border-top:1px solid #ffffff14;margin-top:24px;padding-top:18px;font-size:11px}.pet-bond strong{float:right;color:var(--green)}.pet-bond p{font-size:10px;color:var(--muted);margin-top:7px}.pet-details-button{width:100%;margin-top:20px;padding:11px 0 0;border:0;border-top:1px solid #ffffff14;background:none;color:var(--cream);text-align:left;font-size:11px}.pet-details-button span{float:right}.pet-thought{position:absolute;top:128px;left:calc(50% - 110px);width:360px;text-align:center}.pet-thought>span{font-size:10px;text-transform:uppercase;letter-spacing:2px;color:var(--green)}.pet-thought p{font-size:19px;font-weight:400;line-height:1.5;margin-top:12px;text-shadow:0 2px 12px #000}.pet-footer{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 40px)}.pet-actions{display:flex;gap:5px;border:1px solid #ffffff20;padding:9px;border-radius:20px;background:#1c2424ed;backdrop-filter:blur(20px)}.pet-actions button{display:flex;flex-direction:column;align-items:center;gap:5px;border:0;border-radius:13px;min-width:112px;padding:12px 15px;background:transparent;color:var(--cream);transition:background .2s,transform .2s}.pet-actions button:hover:not(:disabled){background:#c9e9ad17;transform:translateY(-3px)}.pet-action-icon{font-size:24px;line-height:30px;color:var(--green)}.pet-actions strong{font-size:12px;font-weight:500}.pet-actions small{font-size:9px;color:var(--muted)}.pet-actions .pet-pause{border-left:1px solid #ffffff18;border-radius:0 13px 13px 0}.pet-footer>p{font-size:9px;text-align:center;color:var(--muted);margin-top:11px}.pet-footer>p span{margin-left:18px}.pet-loading{position:absolute;top:48%;left:50%;transform:translate(-30%,-50%);padding:22px;border-radius:16px;background:#18201ff0;max-width:450px;font-size:14px}.pet-journal{position:absolute;right:28px;top:125px;width:300px;max-height:calc(100% - 310px);overflow-y:auto;padding:23px}.pet-journal h2{font-size:22px;letter-spacing:-.6px;margin:12px 0}.pet-journal p{font-size:12px;color:var(--muted);line-height:1.7}.pet-journal h3{font-size:12px;margin-top:22px}.pet-journal ol{list-style:none;padding:0}.pet-journal li{font-size:11px;line-height:1.5;padding:10px 0;border-bottom:1px solid #ffffff12}.pet-journal li small{display:block;font-size:9px;color:var(--muted);margin-bottom:4px}.pet-journal details{font-size:11px;margin-top:20px}.pet-journal summary{cursor:pointer;color:var(--green);margin-bottom:10px}.pet-journal label{display:block;margin:12px 0}.pet-journal select,.pet-profile input{display:block;width:100%;border:1px solid #ffffff30;background:#27312d;color:var(--cream);border-radius:6px;padding:8px;margin-top:8px}.pet-journal button,.pet-profile form button,.pet-loading button{border:0;background:var(--green);color:#17251b;border-radius:8px;padding:9px 12px;font-size:11px;margin-top:10px} | |
| @media(max-height:780px) and (min-width:851px){.pet-profile{top:100px;padding:18px;width:250px}.pet-profile h1{font-size:32px}.pet-mood{margin:15px 0}.pet-need{margin:10px 0}.pet-bond{margin-top:15px;padding-top:12px}.pet-thought{top:105px}.pet-actions button{padding:8px 12px}.pet-journal{top:100px}} | |
| @media(max-width:850px){.pet-header{padding:18px}.pet-header-actions{gap:8px}.pet-live{display:none}.pet-profile{left:16px;top:100px;width:205px;padding:16px}.pet-profile h1{font-size:30px}.pet-mood{margin:15px 0}.pet-thought{left:auto;right:18px;top:118px;width:calc(100% - 260px)}.pet-thought p{font-size:15px}.pet-actions button{min-width:80px;padding:8px}.pet-actions small{display:none}.pet-journal{right:16px;top:95px;max-height:calc(100% - 245px);width:300px;z-index:2}.pet-footer>p span{display:none}} | |
| @media(max-width:540px){.pet-header{padding:14px 16px}.pet-brand{font-size:23px}.pet-brand i{font-size:9px}.pet-header-actions a{font-size:10px;padding:8px}.pet-profile{top:87px;width:175px;padding:14px}.pet-eyebrow{font-size:8px;letter-spacing:1px}.pet-profile h1{font-size:28px}.pet-character{font-size:9px}.pet-mood{font-size:11px;margin:12px 0}.pet-mood small{font-size:9px}.pet-need{margin:10px 0}.pet-need>div{font-size:10px}.pet-bond{margin-top:14px;padding-top:12px}.pet-bond p{font-size:9px}.pet-details-button{margin-top:14px}.pet-thought{right:14px;top:95px;width:calc(100% - 220px)}.pet-thought>span{font-size:8px;letter-spacing:1px}.pet-thought p{font-size:12px}.pet-footer{bottom:12px;width:calc(100% - 24px);max-width:none}.pet-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;padding:5px;border-radius:16px}.pet-actions button{min-width:0;padding:6px;gap:1px}.pet-action-icon{font-size:20px;line-height:24px}.pet-actions strong{font-size:10px}.pet-actions .pet-pause{border:0}.pet-footer>p{font-size:8px;margin-top:7px}.pet-journal{width:calc(100% - 32px);max-height:calc(100% - 270px)}.pet-loading{left:50%;transform:translate(-50%,-50%);width:80%}} | |
| @media(max-width:540px){.pet-profile{width:calc(100% - 32px);padding:12px 14px}.pet-profile h1{font-size:25px;margin:4px 0;max-width:55%;overflow-wrap:anywhere}.pet-character{position:absolute;right:14px;top:32px;max-width:44%}.pet-mood{display:none}.pet-needs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:7px}.pet-need{margin:0}.pet-need>div{display:block;font-size:10px}.pet-need strong{display:block;font-size:10px;margin-top:3px}.pet-need strong small{display:none}.pet-need meter{margin-top:4px}.pet-bond{margin-top:10px;padding-top:8px;font-size:10px}.pet-bond p{display:none}.pet-details-button{margin-top:7px;padding-top:7px;font-size:10px}.pet-thought{top:288px;right:22px;width:calc(100% - 44px)}.pet-thought p{margin-top:5px;font-size:12px}} | |
| /* The companion now lives in a sunlit room; quiet cream panels replace the arcade HUD. */ | |
| .pet-app{--cream:#403c31;--muted:#746f60;--green:#536e50;background:none} | |
| .pet-card,.pet-actions{background:#fffaf0ed;border-color:#d6c7af;box-shadow:0 10px 38px #523b1520} | |
| .pet-header{background:linear-gradient(#e7dcc9ed,transparent)} | |
| .pet-app .pet-brand{color:#493126;letter-spacing:-1.1px}.pet-brand>span{background:none;color:#a34f2f;border-radius:0;padding:0;margin-left:0;font-size:inherit;letter-spacing:inherit}.pet-header-actions a{border-color:#92836750} | |
| .pet-top-button{background:#fffaf0bb;color:#514e3f;border:1px solid #92836750;padding:10px 14px;border-radius:30px;font-size:12px} | |
| .pet-character{border-color:#81966e50}.pet-bond,.pet-details-button{border-color:#6a604c25} | |
| .pet-need meter,.pet-need meter::-webkit-meter-bar{background:#74624a20}.pet-need meter::-webkit-meter-optimum-value{background:#8fa77b} | |
| .pet-thought{top:103px;width:auto;left:50%;transform:translateX(-50%);white-space:nowrap} | |
| .pet-status>span{display:inline-block;background:#fff9e9e6;border:1px solid #d6c7af;border-radius:30px;padding:11px 18px;color:#635b48;font-size:11px;letter-spacing:.5px;text-transform:none;box-shadow:0 4px 20px #523b1515} | |
| .pet-stop{display:block;margin:9px auto;background:#fff9e9dd;border:0;border-radius:20px;color:#746c5c;padding:6px 12px;font-size:10px} | |
| .pet-actions button:hover:not(:disabled){background:#9da78425}.pet-actions .pet-pause{border-color:#7b6d5025}.pet-footer>p{color:#5c5648;background:#f2e7d6ce;border-radius:20px;padding:4px 10px} | |
| .pet-loading{background:#fffaf0f2}.pet-journal li{border-color:#83745825}.pet-journal select,.pet-profile input{background:#f2eddf;color:#4b4b38;border-color:#b7ad98} | |
| .pet-journal button,.pet-profile form button,.pet-loading button{background:#d5dfbb} | |
| .pet-games{position:absolute;right:28px;bottom:180px;width:295px;padding:23px} | |
| .pet-games h2{font-size:21px;margin:12px 0 18px}.pet-games button{width:100%;display:block;text-align:left;padding:14px;background:#f2eddf;border:1px solid #dacfb9;border-radius:12px;color:#494a38;margin:8px 0} | |
| .pet-games button:hover{background:#e5e9d2}.pet-games b{font-size:14px}.pet-games span{display:block;font-size:10px;margin-top:5px;color:#786e5b}.pet-games>small{display:block;font-size:10px;margin-top:15px;color:#786e5b} | |
| .pet-sound-error{position:absolute;right:28px;top:90px;background:#fff8e6;padding:10px;border-radius:10px;font-size:11px} | |
| @media(max-width:850px){.pet-header-actions{gap:5px}.pet-top-button{font-size:10px;padding:8px}.pet-status{top:100px;left:auto;right:20px;transform:none}.pet-games{bottom:155px;right:16px}} | |
| @media(max-width:540px){.pet-header{align-items:flex-start}.pet-header-actions{max-width:190px;justify-content:flex-end;flex-wrap:wrap}.pet-top-button{font-size:9px;padding:6px 8px}.pet-header-actions a{padding:6px;font-size:9px}.pet-profile{top:100px}.pet-status{top:305px;right:auto;left:50%;transform:translateX(-50%);width:max-content;max-width:95%}.pet-status>span{font-size:10px;padding:8px 12px}.pet-games{width:calc(100% - 32px);bottom:175px;z-index:3}.pet-sound-error{top:76px;font-size:9px}} | |
| .pet-summary{position:absolute;top:88px;left:24px;border:1px solid #d6c7af;border-radius:22px;padding:10px 15px;background:#fffaf0e6;color:#514e3f;font-size:12px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap} | |
| .pet-summary span{margin-left:12px;color:#536e50}.pet-profile{top:140px;max-height:calc(100% - 320px);overflow-y:auto} | |
| @media(max-width:540px){.pet-summary{top:94px;left:16px;max-width:180px}.pet-profile{top:140px;max-height:calc(100% - 340px)}.pet-status{top:150px}.pet-profile~.pet-status{top:375px}} | |
| .pet-environment{pointer-events:auto;display:flex;flex-direction:column;gap:3px;font-size:10px;color:#514e3f}.pet-environment select{background:#fffaf0;color:#514e3f;border:1px solid #b6a88e;border-radius:16px;padding:7px;font-size:12px}.pet-header-actions{gap:10px}.pet-actions button{min-width:90px;padding:10px}.pet-status{max-width:420px;white-space:normal}.pet-status p{background:#fff9e9ed;padding:10px 15px;border-radius:16px;font-size:13px;text-shadow:none}.pet-cancel{position:absolute;right:24px;top:145px}.pet-needs{grid-template-columns:repeat(5,1fr)} | |
| @media(max-width:850px){.pet-header{align-items:flex-start}.pet-header-actions{max-width:300px;flex-wrap:wrap;justify-content:flex-end}.pet-actions{display:grid;grid-template-columns:repeat(4,1fr)}.pet-actions button{min-width:65px}.pet-footer{width:calc(100% - 24px)}.pet-status{top:170px}.pet-games{bottom:200px}} | |
| @media(max-width:540px){.pet-header-actions{max-width:210px;gap:5px}.pet-brand{font-size:20px}.pet-brand>span{font-size:15px}.pet-environment{width:100%;flex-direction:row;align-items:center;justify-content:flex-end}.pet-environment select{font-size:10px;padding:5px}.pet-summary{top:110px}.pet-status{top:155px;width:90%}.pet-status p{font-size:11px}.pet-cancel{top:115px;right:16px}.pet-profile{top:155px}.pet-games{bottom:185px}.pet-actions button{min-width:0;padding:7px 2px}.pet-header-actions .pet-top-button{font-size:9px}.pet-profile~.pet-status{top:370px}} | |
| .pet-profile{width:220px;padding:18px;max-height:calc(100% - 310px)}.pet-profile h1{font-size:30px}.pet-bond{margin-top:12px;padding-top:10px}.pet-need{margin:10px 0}.pet-scores{font-size:11px;color:#536e50;margin-top:15px}.pet-actions{display:grid;grid-template-columns:repeat(9,1fr)}.pet-actions button{min-width:85px;padding:10px 7px}.pet-status{top:105px}.pet-profile~.pet-status{top:105px}.pet-thought p{margin-top:7px}.pet-footer{bottom:12px}.pet-environment select{min-width:125px} | |
| @media(max-width:1050px){.pet-actions{grid-template-columns:repeat(5,1fr)}.pet-actions button{min-width:70px}.pet-actions small{display:none}.pet-footer{width:min(650px,calc(100% - 24px))}} | |
| @media(max-width:540px){.pet-profile{top:145px;width:calc(100% - 32px);padding:10px 14px;max-height:235px}.pet-profile h1{font-size:20px}.pet-needs{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.pet-need{margin:2px 0}.pet-scores{margin-top:7px}.pet-profile .pet-bond{margin-top:5px;padding-top:5px}.pet-details-button{display:inline-block;width:auto;margin-right:12px}.pet-profile~.pet-status{top:375px}.pet-status>span{font-size:10px}.pet-status p{font-size:10px;padding:7px}.pet-actions{grid-template-columns:repeat(5,1fr)}.pet-actions button{min-width:0;padding:5px 2px}.pet-actions strong{font-size:9px}.pet-summary{top:105px}.pet-cancel{top:110px}} | |
| /* Puffy duck-yellow toy lettering and wordless thought clouds. */ | |
| .pet-app .pet-brand{font-family:Fredoka,"Trebuchet MS",system-ui,sans-serif;font-weight:700;font-style:normal;color:#ffc93c;letter-spacing:.5px;-webkit-text-stroke:1.5px #5a3418;paint-order:stroke fill;text-shadow:0 3px 0 #5a3418,0 6px 10px #5a341833} | |
| .pet-app .pet-brand>span{color:#ff8a3d;background:none;font-size:inherit;padding:0;margin:0 0 0 1px;letter-spacing:inherit;display:inline-block;transform:rotate(-4deg) translateY(-1px)} | |
| .pet-brand i{font-family:system-ui,sans-serif;font-weight:500;font-style:normal;color:#7a5a3a;-webkit-text-stroke:0;text-shadow:none;letter-spacing:.3px;margin-top:7px} | |
| .pet-thought-bubble.pet-status{width:190px;max-width:190px;height:130px;filter:drop-shadow(0 4px 5px #243e701c);pointer-events:none} | |
| .pet-thought-cloud{display:block;width:100%;height:100%;overflow:visible;fill:#fffdf7;stroke:#36465f;stroke-width:2.5;stroke-linejoin:round} | |
| .pet-thought-symbols{position:absolute;inset:18px 18px 36px;display:flex;align-items:center;justify-content:center;gap:13px;animation:pet-thought-appear .25s ease-out} | |
| .pet-thought-symbols span{font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:36px;line-height:1.2;filter:drop-shadow(0 2px 0 #243e7010)} | |
| @keyframes pet-thought-appear{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}} | |
| @media(max-width:540px){.pet-thought-bubble.pet-status{width:145px;max-width:145px;height:100px}.pet-thought-symbols{inset:12px 14px 28px;gap:9px}.pet-thought-symbols span{font-size:28px}} | |
| @media(max-height:500px) and (orientation:landscape){.pet-thought-bubble.pet-status{width:140px;max-width:140px;height:96px}} | |
| @media(prefers-reduced-motion:reduce){.pet-thought-symbols{animation:none}} | |
| /* Round pictogram buttons in the header. */ | |
| .pet-top-button.pet-icon-button{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:50%} | |
| /* Colour picker: the four official Microduck colourways. */ | |
| .pet-colors{display:flex;gap:8px;margin:4px 0 8px}.pet-colors button{width:22px;height:22px;padding:0;border-radius:50%;border:2px solid #fffaf0;box-shadow:0 0 0 1px #5a341840;cursor:pointer} | |
| .pet-colors button[aria-checked="true"]{box-shadow:0 0 0 2px #ff8a3d} | |
| .pet-profile .pet-need{margin:7px 0}.pet-profile .pet-bond{margin-top:10px} | |
| @media(max-height:780px) and (min-width:601px){.pet-profile .pet-bond p{display:none}} | |
| /* Phones: keep Microduck in view with a slim header, a one-line needs strip, a small thought | |
| bubble and a single row of actions (scrolls sideways when the screen is narrow). */ | |
| @media (max-width:600px),(max-height:500px){ | |
| .pet-header{padding:max(8px,env(safe-area-inset-top)) 10px 0;gap:6px;align-items:flex-start} | |
| .pet-app .pet-brand{font-size:16px;white-space:nowrap;flex-shrink:0}.pet-brand i{display:none} | |
| .pet-header-actions{gap:4px;max-width:none;flex-wrap:wrap;justify-content:flex-end} | |
| .pet-environment{font-size:0;flex-direction:row;width:auto} | |
| .pet-environment select{font-size:11px;padding:4px 6px;min-width:0;max-width:112px;min-height:0;border-radius:14px} | |
| .pet-top-button{font-size:10px;padding:5px 9px;min-height:0} | |
| .pet-top-button.pet-icon-button{width:32px;height:32px;padding:0} | |
| .pet-header-actions{flex-wrap:nowrap} | |
| /* The name (with its rename pencil) heads the needs strip, so the summary pill is not needed. */ | |
| .pet-summary{display:none} | |
| .pet-profile{top:50px;left:10px;right:10px;width:auto;max-height:none;padding:6px 10px 7px;border-radius:12px} | |
| .pet-profile .pet-eyebrow,.pet-profile .pet-scores,.pet-profile .pet-bond{display:none} | |
| .pet-profile h1{display:flex;align-items:center;font-size:13px;line-height:1.2;letter-spacing:0;margin:0 0 5px;max-width:none} | |
| .pet-profile .pet-rename{font-size:15px;margin-left:8px;padding:2px 6px} | |
| .pet-profile .pet-colors{position:absolute;top:7px;right:10px;margin:0;gap:7px}.pet-profile .pet-colors button{width:18px;height:18px} | |
| .pet-profile form{display:flex;gap:6px;align-items:center;margin:0 0 6px}.pet-profile form label{display:none} | |
| .pet-profile form input{margin:0;padding:4px 8px;font-size:16px;flex:1;min-width:0}.pet-profile form button{margin:0;padding:6px 12px} | |
| .pet-profile .pet-needs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:0} | |
| .pet-profile .pet-need{margin:0;padding:0} | |
| .pet-profile .pet-need>div{display:flex;justify-content:space-between;font-size:9px} | |
| .pet-profile .pet-need strong{display:inline;font-size:9px;margin:0}.pet-profile .pet-need strong small{display:none} | |
| .pet-profile .pet-need meter{height:5px;margin-top:3px} | |
| .pet-thought-bubble.pet-status,.pet-profile~.pet-thought-bubble.pet-status{top:122px;right:10px;left:auto;transform:none;width:100px;max-width:100px;height:70px} | |
| .pet-thought-symbols{inset:9px 10px 20px;gap:6px}.pet-thought-symbols span{font-size:20px} | |
| .pet-cancel{top:auto;bottom:calc(74px + env(safe-area-inset-bottom));right:10px} | |
| .pet-footer{bottom:max(6px,env(safe-area-inset-bottom));left:8px;right:8px;width:auto;max-width:none;transform:none} | |
| .pet-footer>p{display:none} | |
| .pet-actions{display:flex;overflow-x:auto;gap:2px;padding:4px;border-radius:14px;scrollbar-width:none} | |
| .pet-actions::-webkit-scrollbar{display:none} | |
| .pet-actions button{flex:1 0 56px;min-width:56px;padding:5px 3px;gap:1px;min-height:0} | |
| .pet-action-icon{font-size:17px;line-height:20px} | |
| .pet-actions strong{font-size:9px;white-space:nowrap}.pet-actions small{display:none} | |
| .pet-games{right:8px;left:8px;width:auto;bottom:calc(70px + env(safe-area-inset-bottom))} | |
| } | |
| @media (max-height:500px) and (orientation:landscape){ | |
| .pet-profile{top:46px;right:auto;width:330px} | |
| .pet-thought-bubble.pet-status,.pet-profile~.pet-thought-bubble.pet-status{top:48px} | |
| } | |
| /* Privacy note and statistics opt-out. */ | |
| .pet-privacy-link{background:none;border:0;padding:0;margin-left:8px;color:inherit;text-decoration:underline;font-size:inherit;cursor:pointer} | |
| .pet-privacy{position:absolute;left:50%;bottom:120px;transform:translateX(-50%);width:min(380px,calc(100% - 32px));padding:18px 20px;font-size:12px;line-height:1.6;z-index:5} | |
| .pet-privacy p{margin:8px 0}.pet-privacy label{display:flex;gap:8px;align-items:center;margin:10px 0}.pet-privacy button{border:0;background:#d5dfbb;color:#354a30;border-radius:8px;padding:8px 12px;font-size:11px} | |