
.playing #world{--scene-top:196px;--scene-bottom:128px}
.playing .has-habitat .topbar{height:64px;padding:12px 24px;align-items:center;background:#f8faeff5}
.playing .has-habitat .brand{display:flex}
.playing .status-row{position:absolute;top:72px;left:24px;right:24px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(300px,1.8fr) minmax(250px,1.3fr);gap:12px;align-items:stretch;z-index:10;pointer-events:none}
.playing .has-habitat .status-row>div{position:static;inset:auto;transform:none;margin:0;width:auto;min-width:0;height:108px;border:1px solid #dfe7d4;border-radius:16px;background:#fffef8;padding:16px;pointer-events:auto}
.playing .has-habitat .status-row .pet-identity{display:flex;justify-content:space-between;gap:8px}.status-row .pet-identity>div{min-width:0}.status-row #pet-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:21px}
.playing .has-habitat .status-row .stats{display:flex;align-items:center;gap:15px}.status-row .stat{min-width:0}.status-row .stat-title{font-size:12px}.status-row .stat-title>span:last-child{font-size:10px;white-space:nowrap}.status-row .stat-track{height:6px}
.status-row .growth-top{font-size:12px}.status-row .growth-steps{margin:11px 0 8px}.status-row .growth-card p{font-size:10px;line-height:1.5}.status-row .pet-identity p{font-size:11px}
.playing .has-habitat .habitat-layer{top:var(--scene-top);bottom:var(--scene-bottom)}
.control-dock{display:none}.playing .control-dock{position:absolute;z-index:12;bottom:30px;left:50%;transform:translateX(-50%);width:min(780px,calc(100% - 48px));display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:10px;background:#fffef8f5;border:1px solid #dfe7d4;border-radius:22px;box-shadow:0 6px 22px #40532b15}
.playing .control-dock .care-menu,.playing .control-dock .utility-menu{display:contents}
.playing .control-dock .care-btn,.playing .control-dock .utility-btn{position:static;width:100%;height:66px;margin:0;padding:6px;border:1px solid transparent;border-radius:13px;display:flex;flex-direction:column;justify-content:center;gap:4px;font-size:12px;background:transparent}
.playing .control-dock .care-btn.selected{background:#edf1e1;border-color:#d3ddbf}.playing .control-dock .utility-btn{font-size:25px}.playing .control-dock .utility-btn span{display:block;font-size:12px}.playing .control-dock .care-btn b{font-size:27px;height:30px;width:35px}.playing .control-dock button:hover{background:#eaf0df}
.playing .has-habitat .world-clock{left:24px;bottom:4px;padding:0;background:transparent;font-size:10px;flex-direction:row;gap:10px}.playing .touch-hint{bottom:7px;font-size:10px}
@media(max-width:1000px){.playing .status-row{grid-template-columns:minmax(150px,.8fr) minmax(240px,1.4fr) minmax(215px,1fr);left:16px;right:16px;gap:8px}.playing .has-habitat .status-row>div{padding:12px}.status-row .stat-title{flex-direction:column;gap:4px}.status-row .stat-title>span:last-child{font-size:10px}}
@media(max-width:700px){.playing #world{--scene-top:232px;--scene-bottom:116px}.playing .has-habitat .topbar{height:54px;padding:10px 14px}.playing .has-habitat .brand{font-size:12px}.playing .has-habitat .brand>span{font-size:22px}.playing .status-row{top:60px;left:12px;right:12px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:8px}.playing .has-habitat .status-row>div{height:88px;padding:10px;border-radius:12px}.playing .has-habitat .status-row .pet-identity{grid-column:1;grid-row:1;align-items:flex-start;flex-direction:column;gap:3px}.status-row #pet-title{font-size:17px}.status-row .pet-identity p{font-size:9px;margin:3px 0}.status-row .tiny-pill{font-size:9px;padding:3px 7px}.playing .has-habitat .status-row .growth-card{grid-column:2;grid-row:1}.status-row .growth-top{font-size:10px}.status-row .growth-steps{display:none}.status-row .growth-card p{font-size:9px;line-height:1.4;margin:6px 0 0}.status-row .text-btn{font-size:9px}.status-row .growth-track{margin-top:10px}.playing .has-habitat .status-row .stats{grid-column:1/-1;grid-row:2;height:64px;gap:12px}.status-row .stat-title{font-size:10px;flex-direction:row}.status-row .stat-title>span:last-child{font-size:9px}.playing .control-dock{width:calc(100% - 24px);bottom:25px;gap:2px;padding:7px;border-radius:17px}.playing .control-dock .care-btn,.playing .control-dock .utility-btn{height:62px;padding:3px;font-size:10px;gap:5px}.playing .control-dock .utility-btn{font-size:23px}.playing .control-dock .utility-btn span{font-size:10px}.playing .control-dock .care-btn b{font-size:23px;height:27px;width:27px}.playing .has-habitat .world-clock{display:none}.playing .touch-hint{bottom:6px;font-size:9px}}

/* Readable card labels and values. */
.playing #world{--scene-top:214px}
.playing .has-habitat .status-row>div{height:126px}
.status-row #pet-title{font-size:26px;color:#294334}
.status-row .pet-identity p{font-size:14px;color:#52644d;line-height:1.5}
.status-row .tiny-pill{font-size:12px;color:#3f5b32}
.status-row .stat-title{font-size:14px;color:#344c39;flex-direction:column;gap:6px}
.status-row .stat-title>span:last-child{font-size:14px;color:#4f6149}
.status-row .growth-top{font-size:14px;color:#344c39}
.status-row .text-btn{font-size:13px;color:#426237}
.status-row .growth-steps{font-size:12px;color:#5c6d54}
.status-row .growth-card p{font-size:12px;color:#4f6149;line-height:1.5}
@media(max-width:700px){
 .playing #world{--scene-top:270px}
 .playing .has-habitat .status-row>div{height:114px;padding:10px}
 .status-row #pet-title{font-size:22px}
 .status-row .pet-identity p{font-size:12px}
 .status-row .tiny-pill{font-size:11px}
 .status-row .growth-top{font-size:12px;flex-wrap:wrap;gap:5px}
 .status-row .text-btn{font-size:12px}
 .status-row .growth-card p{font-size:12px;line-height:1.45}
 .playing .has-habitat .status-row .stats{height:76px;gap:10px}
 .status-row .stat-title{font-size:12px;flex-direction:column;gap:5px}
 .status-row .stat-title>span:last-child{font-size:13px}
}

/* Kids homepage artwork fills only the outer UI background; habitat stays above it. */
.playing #world{background-color:#e6eee0;background-image:linear-gradient(#f6f7edb8,#f6f7edb8),url('assets/kids-pets-frame.png');background-size:cover;background-position:center;background-repeat:no-repeat}
.playing .has-habitat .topbar{background:#fffef8dc}
