:root{--actionIcon:36px;--buttonHeight:48px;--answerIcon:28px;--activityIcon:44px;--illustrationIcon:64px;--rewardIcon:42px;--hudCoinIcon:42px;--helperIcon:48px;--mobileHotbarIcon:40px;--mobileActionIcon:28px;--mobileCategoryIcon:25px}
#content button[data-button-role]{display:flex;align-items:center;gap:10px;line-height:1.5;min-height:var(--buttonHeight,48px);white-space:normal}
#content button[data-button-role=answer]{justify-content:flex-start;text-align:left}
#content button[data-button-role=action]{justify-content:center;text-align:center}
#content button .button-glyph{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:var(--actionIcon);height:var(--actionIcon);margin:0;padding:0;border:0;background:transparent;color:inherit;box-shadow:none;pointer-events:none}
#content button[data-button-role=answer] .button-glyph{width:var(--answerIcon);height:var(--answerIcon)}
#content button .button-glyph > .gear-icon,#content #rent-bike .button-glyph > .gear-icon,#content #rent-journal .button-glyph > .gear-icon{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;flex:none!important;object-fit:contain!important;image-rendering:auto!important;margin:0!important}
.button-glyph[data-direction=left]{transform:rotate(-90deg)}.button-glyph[data-direction=right]{transform:rotate(90deg)}
#content .dialog-symbol>.gear-icon{width:var(--illustrationIcon)!important;height:var(--illustrationIcon)!important;object-fit:contain}
#content .game-rewards i>.gear-icon{width:var(--rewardIcon)!important;height:var(--rewardIcon)!important}
#viewport .hud .money{grid-template-columns:calc(var(--hudCoinIcon) + 4px) auto}
#viewport .hud #hud-coin-art{width:calc(var(--hudCoinIcon) + 4px);height:calc(var(--hudCoinIcon) + 4px)}
#viewport .hud #hud-coin-art>.gear-icon{width:var(--hudCoinIcon)!important;height:var(--hudCoinIcon)!important;object-fit:contain}
#viewport .helper-avatar{width:var(--helperIcon);height:var(--helperIcon);flex-basis:var(--helperIcon)}
#viewport .helper-avatar>.gear-icon{width:var(--helperIcon)!important;height:var(--helperIcon)!important;object-fit:contain}
#viewport .helper-strip{height:auto;min-height:calc(var(--helperIcon) + 18px)}
#content :is(.mini-fruits,.mini-baskets,.cozy-request) img:not(.gear-icon){width:var(--activityIcon)!important;height:var(--activityIcon)!important;object-fit:contain}
.preview-answer .button-glyph{display:inline-flex;width:var(--answerIcon);height:var(--answerIcon);flex:0 0 auto}.preview-command .button-glyph{display:inline-flex;width:var(--actionIcon);height:var(--actionIcon);flex:0 0 auto}
.preview-dialog :is(.preview-answer,.preview-command){display:flex;gap:10px;align-items:center;min-height:var(--buttonHeight);margin:8px 0}.preview-answer{text-align:left}.preview-dialog .button-glyph>.gear-icon{width:100%!important;height:100%!important;object-fit:contain}
.preview-illustration .gear-icon{width:var(--illustrationIcon);height:var(--illustrationIcon)}.preview-rewards{display:flex;gap:16px}.preview-rewards article{display:flex;align-items:center;gap:6px}.preview-rewards .gear-icon{width:var(--rewardIcon);height:var(--rewardIcon)}
@media(max-width:600px){
 #content button[data-button-role=action] .button-glyph{width:var(--mobileActionIcon);height:var(--mobileActionIcon)}
 #content .menu-tablet .tablet-app-icon{width:calc(var(--mobileIcon) + 8px);height:calc(var(--mobileIcon) + 8px);flex-basis:calc(var(--mobileIcon) + 8px)}
 #content .menu-tablet .tablet-app-icon :is(canvas,img).gear-icon{width:var(--mobileIcon)!important;height:var(--mobileIcon)!important}
 #content .menu-tablet .tablet-tabs :is(canvas,img).gear-icon{width:var(--mobileCategoryIcon)!important;height:var(--mobileCategoryIcon)!important}
 #viewport .hotbar .control-art{width:min(var(--mobileHotbarIcon),calc(20vw - 16px));height:min(var(--mobileHotbarIcon),calc(20vw - 16px))}
 #viewport .hotbar button{width:max(44px,calc(min(var(--mobileHotbarIcon),calc(20vw - 16px)) + 12px));height:auto;min-height:58px;padding:5px 2px}
 #viewport .hotbar{gap:4px}#content button[data-button-role]{gap:8px}
}

