/* Language changes do not shrink controls or hide translated text. */
.language-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:6px 10px;border:2px solid #bd955a;border-radius:12px;background:#fff0c5;color:#513623;font-weight:800}
.language-picker select{font:inherit;color:#fff6d9;background:#365572;border:2px solid #f2ce80;border-bottom:4px solid #9e6c3a;border-radius:10px;min-height:48px;max-width:70%;min-width:0;padding:8px 28px 8px 10px;cursor:pointer}
.language-picker option{color:#fff6d9;background:#365572}
html:not([lang=ko]) .toy-gui :is(.dialog-heading,.gui-title) h2{letter-spacing:0;font-size:clamp(16px,4.6vw,21px);overflow-wrap:break-word;hyphens:auto}
.toy-gui dialog :is(.primary,.secondary,.google-button){white-space:normal;overflow-wrap:break-word;line-height:1.25;min-height:52px;height:auto;padding-block:12px;flex-shrink:0}
.toy-gui dialog .toggle{gap:12px;line-height:1.35;min-height:54px}
.toy-gui dialog .toggle input{flex:none}
.toy-gui .lesson-flow figcaption{white-space:normal;line-height:1.3;min-height:2.6em;overflow-wrap:break-word}
.toy-gui .help-tabs{grid-template-columns:repeat(3,minmax(0,1fr));min-width:0;gap:5px}
.toy-gui .help-tabs button{min-width:0;white-space:normal;font-size:13px;line-height:1.2;min-height:48px;padding:7px 4px;overflow-wrap:anywhere;hyphens:auto}
.toy-gui #booster-balance{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.toy-gui .run-limit{margin-left:0}
.toy-gui .stock-capsule{white-space:normal;text-align:center}
.toy-gui #booster-use{gap:10px}
.toy-gui .coin-product{min-width:0;gap:12px}
.toy-gui .coin-product b{min-width:0;overflow-wrap:break-word}
.toy-gui .coin-product span{flex:none}
.toy-gui #account-name{overflow-wrap:anywhere}
.toy-gui #shop-dialog{overflow:auto}
.toy-gui #delete-dialog h2{margin:8px 0;text-align:center;line-height:1.2}
.toy-gui #life-refill{font-size:clamp(15px,4.2vw,19px)}
.toy-gui #level-title{letter-spacing:0;font-size:clamp(22px,6vw,30px);white-space:nowrap}
.toy-gui .toast{overflow-wrap:break-word}
.art-credit-body table{table-layout:fixed;width:100%;font-size:12px}.art-credit-body td,.art-credit-body th{overflow-wrap:anywhere;padding:6px}.art-credit-body th:first-child{width:38px}.art-credit-body pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:360px){.toy-gui dialog{padding-inline:14px}.toy-gui .help-tabs button{font-size:12px}.language-picker{gap:6px;padding-inline:8px}.language-picker select{font-size:14px}.toy-gui .button-price{padding-left:8px;font-size:15px}}

.analytics-setting{min-width:0}.analytics-setting small{display:block;margin:6px 4px 10px;font-size:13px;line-height:1.45;color:#634b34;overflow-wrap:break-word}.analytics-setting .toggle{margin-bottom:0}
