/* Shared visual identity and the directly usable leopard command. */
.baobao-icon svg{width:100%;height:100%;display:block}.baobao-portrait{display:flex;align-items:center;justify-content:center;gap:20px;padding:16px 4px;background:radial-gradient(ellipse,#73cdd530,transparent 70%);border-radius:14px}.baobao-portrait svg{width:100px;height:130px}.baobao-portrait svg:last-child{width:150px}.baobao-portrait span{font-size:14px;color:#cce9e8;white-space:nowrap}
.action-game #action-leopard{background:linear-gradient(145deg,#497b83,#274a59)}.action-game #action-leopard .baobao-icon{width:44px;height:36px;margin:0 auto 4px}.action-game #action-leopard[data-active=true],.baobao-school-command[data-active=true]{border-color:#b8f6ff;box-shadow:0 0 16px #71deec55;opacity:1}
.baobao-school-command .baobao-icon{width:36px;height:32px;display:block}.baobao-school-command{min-width:70px}.actions:has(.baobao-school-command:not([hidden])){flex-wrap:wrap}
@media(min-width:701px) and (max-width:1120px){.action-game:has(#action-leopard:not([hidden])) .action-hotbar button{width:52px}}
@media(max-width:700px){.action-game:has(#action-leopard:not([hidden])) .action-hotbar{max-width:calc(100vw - 20px);overflow-x:auto}.action-game:has(#action-leopard:not([hidden])) .action-hotbar button{width:clamp(44px,calc((100vw - 62px)/7),57px);flex-shrink:0}.baobao-portrait{gap:9px}.baobao-portrait svg{width:72px;height:108px}.baobao-portrait svg:last-child{width:112px}}

.baobao-three-forms{gap:clamp(8px,3vw,28px);padding:12px 4px}.baobao-three-forms figure{margin:0;text-align:center;flex:1;min-width:0}.baobao-three-forms figure svg,.baobao-three-forms figure svg:last-child{width:100%;height:104px}.baobao-three-forms figcaption{font-size:13px;color:#cce9e8;margin-top:7px}

.snack-card{display:flex!important;align-items:center;gap:10px;min-width:150px;flex:1 1 42%;text-align:left!important;padding:10px!important}.snack-thumb{width:64px;height:64px;flex:0 0 64px;display:block;border-radius:12px;background:#fff4c80a}.snack-thumb svg{width:100%;height:100%;display:block}.snack-label{white-space:pre-line;line-height:1.65}.snack-card[data-food-state=safe]{border-color:#92d7b9!important}.snack-card[data-food-state=monster]{border-color:#c99ae7!important;background:#70528455!important}.snack-card:disabled{opacity:.5}
@media(max-width:600px){.snack-card{min-width:130px;gap:5px}.snack-thumb{width:48px;height:48px;flex-basis:48px}.snack-label{font-size:13px}}

.snack-card[data-food-state=monster]{color:#fff4da!important}
