/* Compact, centered two-language popup. Other game windows keep their layout. */
#sheet[data-panel="language"]{width:min(330px,calc(100vw - 36px));height:auto;min-height:0;max-height:calc(100dvh - 32px);border-radius:20px;direction:ltr;}
#sheet[data-panel="language"] .sheet-head{padding:19px 48px 16px 20px;border-radius:19px 19px 0 0;}
#sheet[data-panel="language"] .sheet-head .popup-logo{display:none;}
#sheet[data-panel="language"] .sheet-head h2{text-align:left;font-size:18px;line-height:1.3;margin:0;}
#sheet[data-panel="language"] .sheet-head>button{width:30px;height:30px;min-height:0;top:14px;right:13px;font-size:24px;line-height:1;padding:0;}
#sheet[data-panel="language"] #sheetBody{padding:13px;max-height:calc(100dvh - 100px);overflow-y:auto;}
.language-popup-options{display:grid;grid-template-columns:1fr;gap:9px;}
#sheet .language-popup-options .language-choice{display:flex;align-items:center;gap:13px;width:100%;min-height:57px;padding:10px 14px;border:1px solid #7ac6df66;border-radius:12px;background:#074767;color:#eefaff;text-align:left;box-shadow:inset 0 1px #c9faff16;font-size:15px;line-height:1.25;}
#sheet .language-popup-options .language-choice.active{background:#08779b;border-color:#a5edff;box-shadow:inset 0 1px #d6ffff44;}
#sheet .language-popup-options .language-choice:focus-visible{outline:2px solid #ffe8a6;outline-offset:2px;}
.language-flag{font-size:28px;line-height:1;width:36px;flex:none;text-align:center;}
.language-name{flex:1;min-width:0;font-weight:700;}
.language-check{display:grid;place-items:center;width:22px;height:22px;flex:none;border-radius:50%;background:#072d4944;color:#c0ffdf;font-size:16px;font-weight:900;}
.language-choice:not(.active) .language-check{background:transparent;}
#partnerCard .partner-caption{position:absolute;left:12%;right:12%;bottom:12.8%;height:18.5%;display:flex;align-items:center;justify-content:center;padding:1px 2px;border-radius:999px;color:#fff;background:linear-gradient(#0874b9,#004987 55%,#00396b);font-size:clamp(6px,1.9vw,10px);font-weight:800;line-height:1.05;text-align:center;text-shadow:0 1px 2px #002b56;pointer-events:none;}
