.score-table-wrap{max-width:100%;list-style:none;overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--card);margin:10px 0;padding:4px}
.score-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:.88rem;color:var(--ink)}
.score-table th,.score-table td{padding:12px 4px;text-align:center;border-bottom:1px solid var(--line);overflow-wrap:anywhere;vertical-align:middle}
.score-table th{color:var(--muted);font-size:.75rem;font-weight:600}.score-table th:first-child{width:7%}.score-table th:nth-child(2){width:32%}.score-table td:nth-child(2){text-align:left}.score-table tr:last-child td{border-bottom:0}.score-table tr[data-you=true]{font-weight:700}
.profile-hero{flex-direction:column!important;align-items:center!important;text-align:center;gap:12px}.profile-hero>div{width:100%}
.section-heading,.account-head.section-heading{display:flex;align-items:center;justify-content:flex-start;gap:clamp(12px,3vw,28px);margin:0 0 24px;text-align:left}
.section-heading h1,.account-head.section-heading h1{margin:0;min-width:0;font-size:clamp(1.25rem,4.6vw,2rem);line-height:1.2;overflow-wrap:anywhere}
.section-heading .account-menu{display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:44px;margin:0;padding:10px 15px;border:1px solid var(--line-strong,#665a3a);border-radius:16px;background:var(--card,#211c11);color:var(--accent-soft,#f3d78a);font:600 1rem/1.2 system-ui,sans-serif;text-decoration:none}
.section-heading .account-menu:focus-visible{outline:3px solid var(--accent,#d3a43c);outline-offset:3px}
.brand-lockup{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;font-family:Georgia,"Times New Roman",serif;font-size:clamp(2.3rem,7vw,3.5rem);font-weight:700;line-height:1.1}
.brand-lockup :is(.brand-word,.brand-dot,.brand-tld){font:inherit;letter-spacing:0;margin:0;vertical-align:baseline;color:#c99a32;background:none;-webkit-text-fill-color:#c99a32;text-shadow:0 1px 0 #f4dc8b55}
.brand-lockup img{width:clamp(48px,9vw,68px);height:auto;flex:none}
.brand-tagline{color:#c99a32;-webkit-text-fill-color:#c99a32}
.chat-avatar,.profile-avatar{overflow:hidden;flex-shrink:0}
.chat-avatar img,.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.friend-identity{display:flex;align-items:center;gap:12px;min-width:0}
.friend-identity strong{overflow-wrap:anywhere}
.weather-days{grid-template-columns:repeat(3,minmax(0,1fr))}
.weather-today{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;padding:18px 12px;gap:10px;border:1px solid var(--line-strong)}
.weather-today strong{grid-column:1/-1;font-size:1rem}
.weather-today .weather-icon{font-size:2.5rem}
.weather-today>span:last-of-type{font-size:1.25rem}
.weather-today small{display:block;white-space:normal;overflow:visible;font-size:.78rem}
@media(max-width:380px){.section-heading .account-menu{padding:10px;font-size:.9rem}.weather-day{padding:8px 3px}.weather-day small{white-space:normal}.weather-today{padding:12px 6px}.weather-today>span:last-of-type{font-size:1rem}}
h1,h2,h3,.menu-tile a,.menu-tile>button{font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-weight:650;letter-spacing:.01em}
html[data-background]:not([data-background=theme]) :is(.account-header,.info-kicker,.main-menu-heading){color:#eef5ff}
:root{--surface-ink:var(--ink);--surface-muted:var(--muted)}
html[data-background]:not([data-background=theme]) body{--ink:#eef5ff;--muted:#b2c3dd}
html[data-background]:not([data-background=theme]) :is(.deck,.account-card,.theme-switch,.theme-dots,.weather-card,.menu-tile,.notice-settings,.appearance-picker,.score-table-wrap){--ink:var(--surface-ink);--muted:var(--surface-muted);color:var(--ink)}

/* Shared semantic icon colours, matching Android MenuIcon. */
svg:has(use[href$="#profile"]) { color:#bd89f5 !important; }
svg:has(use[href$="#notes"]) { color:#f2b84f !important; }
svg:has(use[href$="#friends"]) { color:#58aaf5 !important; }
svg:has(use[href$="#chat"]) { color:#46cfae !important; }
svg:has(use[href$="#calls"]) { color:#55ce80 !important; }
svg:has(use[href$="#games"]) { color:#a68afa !important; }
svg:has(use[href$="#orders"]) { color:#ef9a57 !important; }
svg:has(use[href$="#var"]) { color:#ef82ba !important; }
svg:has(use[href$="#events"]) { color:#ee7899 !important; }
svg:has(use[href$="#weather"]) { color:#f1c24f !important; }
svg:has(use[href$="#transport"]) { color:#55badc !important; }
svg:has(use[href$="#currency"]) { color:#7bc785 !important; }
svg:has(use[href$="#home"]) { color:#53cdbb !important; }
svg:has(use[href$="#attachment"]) { color:#64b9ef !important; }
svg:has(use[href$="#sudoku"]) { color:#78b8f1 !important; }
svg:has(use[href$="#pinball"]) { color:#ef83b6 !important; }
svg:has(use[href$="#tetris"]) { color:#a987ec !important; }
svg:has(use[href$="#pet"]) { color:#f3b34f !important; }
svg:has(use[href$="#egg"]) { color:#f1d16a !important; }
svg:has(use[href$="#five"]) { color:#61cdd0 !important; }
svg:has(use[href$="#durak"]) { color:#ee7d7d !important; }
svg:has(use[href$="#info"]) { color:#70b8f5 !important; }
svg:has(use[href$="#privacy"]) { color:#71cda2 !important; }
svg:has(use[href$="#logout"]) { color:#ed8a76 !important; }
svg:has(use[href$="#download"]) { color:#5bbdeb !important; }
svg:has(use[href$="#update"]) { color:#5bbdeb !important; }
svg:has(use[href$="#menu"]) { color:#76b8ef !important; }
svg:has(use[href$="#back"]) { color:#76b8ef !important; }
svg:has(use[href$="#letters"]) { color:#61cdd0 !important; }
svg:has(use[href$="#eggs"]) { color:#f1d16a !important; }
svg:has(use[href$="#bell"]) { color:#f2b84f !important; }
.game-card>span:has(svg),#mainMenu .menu-icon { background:#192337; }

/* Profile typography: independent of scene and card theme. */
:root{--vor-text-font:"Exo 2","Segoe UI",sans-serif;--vor-display-font:"Russo One","Exo 2",sans-serif;--font:var(--vor-text-font);--display:var(--vor-display-font);--vor-title-gold:#d8af50}
html[data-text-style=classic]{--vor-text-font:Georgia,"Times New Roman",serif;--vor-display-font:var(--vor-text-font)}
html[data-text-style=soft]{--vor-text-font:"Trebuchet MS",Arial,sans-serif;--vor-display-font:var(--vor-text-font)}
body,input,textarea,select,button{font-family:var(--vor-text-font)!important}
h1,h2,h3,.main-menu-heading{font-family:var(--vor-display-font)!important;font-weight:400;letter-spacing:.015em;line-height:1.25;color:var(--vor-title-gold)!important;-webkit-text-fill-color:var(--vor-title-gold);text-shadow:0 1px 1px #0003;overflow-wrap:anywhere}
html[data-theme=ivory]{--vor-title-gold:#805b16}
html[data-theme=ivory][data-background]:not([data-background=theme]) :is(.section-heading h1,.main-menu-heading){--vor-title-gold:#d8af50}
.text-style-options{display:flex;flex-wrap:wrap;gap:8px}
.text-style-options button{flex:1 1 135px;min-width:0;min-height:48px;padding:10px;border:1px solid var(--line-strong,#806b38);border-radius:14px;background:var(--card,#211c11);color:var(--ink,#fff5d8)}
.text-style-options button[aria-pressed=true]{outline:2px solid #b58a30;outline-offset:2px}
.text-style-options button:focus-visible{outline:3px solid #d8af50;outline-offset:3px}
.text-style-options [data-text-style-choice=classic]{font-family:Georgia,serif!important}
.text-style-options [data-text-style-choice=soft]{font-family:"Trebuchet MS",Arial,sans-serif!important}

#chatSend{background:#087da6!important;color:#fff!important;-webkit-text-fill-color:#fff;border-color:#087da6!important}#chatSend:disabled{opacity:.45}#chatSend:focus-visible{outline:3px solid #5edaff;outline-offset:3px}

/* Bundled Cyrillic fonts: the same typography as Korm Kota, available offline in Android. */
@font-face{font-family:"Exo 2";src:url("/assets/fonts/Exo2.ttf") format("truetype");font-style:normal;font-weight:100 900;font-display:swap}
@font-face{font-family:"Russo One";src:url("/assets/fonts/RussoOne.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
.brand-lockup,.main-menu>summary,.menu-tile a,.menu-tile>button,.section-heading .account-menu,button,.btn{font-family:var(--vor-display-font)!important;font-weight:400}
h1,h2,h3,.brand-lockup,.main-menu>summary,.menu-tile a,.menu-tile>button,.section-heading .account-menu,button,.btn{font-synthesis:none}
.brand-lockup :is(.brand-word,.brand-dot,.brand-tld){font-family:inherit;font-weight:inherit}
