.tim-makeup-app.tm-account-mode .tm-account-head { z-index: 100!important; }
.tim-makeup-app.tm-account-mode .tm-account-head .tm-account-bell { display: none!important; }
.tm-account-head .tm-account-language-wrap { position: relative; z-index: 101; flex: 0 0 auto; margin-left: auto; }
.tm-account-head .tm-account-language {
  display: inline-grid; grid-template-columns: 26px max-content 16px; align-items: center; gap: 8px;
  min-height: 38px; margin: 0; padding: 5px 11px;
  border: 1px solid #e3e9eb; border-radius: 999px;
  background: #f7f8f9; box-shadow: 0 2px 8px #193d3210;
  color: #15243d; font-family: inherit; font-size: 13px; font-weight: 650;
  line-height: 1.25; white-space: nowrap; cursor: pointer;
}
.tm-account-head .tm-account-language[aria-expanded="true"] { background: #fff; border-color: #dce8e3; }
.tm-account-language-wrap .tm-lang-flag { display: inline-grid; place-items: center; width: 26px; height: 22px; font-size: 21px; line-height: 1; }
.tm-home-language-wrap .tm-lang-flag { display: inline-grid; place-items: center; width: 26px; height: 22px; font-size: 21px; line-height: 1; }
.tm-account-language-wrap .tm-lang-name { white-space: nowrap; }
.tm-account-language-wrap .tm-lang-chevron { display: block; width: 16px; height: 16px; color: #34435a; transform: rotate(0deg); transition: transform .18s ease; }
.tm-account-language[aria-expanded="true"] .tm-lang-chevron { transform: rotate(180deg); }
.tm-account-language-menu {
  position: absolute; top: calc(100% + 5px); right: 0; z-index: 102;
  display: grid; width: 196px; padding: 6px;
  border: 1px solid #edf0f0; border-radius: 15px;
  background: #fff; box-shadow: 0 12px 32px #153b321f;
}
.tm-account-language-menu[hidden] { display: none!important; }
.tm-home-language-wrap .tm-home-language-menu { position:absolute;top:calc(100% + 8px);right:0;z-index:101;display:grid;width:196px;padding:6px;border:1px solid #edf0f0;border-radius:15px;background:#fff;box-shadow:0 12px 32px #153b321f }
.tim-platform-app .tm-desktop-actions .tm-desktop-language-wrap { position:relative;display:block;flex:0 0 40px;width:40px;height:40px }
.tim-platform-app .tm-desktop-actions .tm-desktop-language { display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:1px solid var(--desktop-line);border-radius:50%;background:#fff;color:var(--desktop-deep);box-shadow:0 2px 8px #193d3210;cursor:pointer }
.tim-platform-app .tm-desktop-actions .tm-desktop-language:hover,.tim-platform-app .tm-desktop-actions .tm-desktop-language[aria-expanded="true"] { border-color:color-mix(in srgb,var(--desktop-deep) 28%,white);background:#f0f8f4 }
.tim-platform-app .tm-desktop-actions .tm-desktop-language:focus-visible { outline:2px solid var(--desktop-deep);outline-offset:3px }
.tim-platform-app .tm-desktop-actions .tm-desktop-language .tm-current-language-flag { display:block;font-size:21px;line-height:1;transform:translateY(-1px) }
.tm-home-language-wrap .tm-home-language-menu[hidden] { display:none!important }
.tm-account-language-menu button {
  display: grid; grid-template-columns: 26px minmax(0,1fr) 20px; align-items: center; gap: 10px; width: 100%; min-height: 42px;
  padding: 7px 10px; border: 0; border-radius: 10px;
  background: transparent; color: #1b2941; text-align: left;
  font-family: inherit; font-size: 13px; font-weight: 550; cursor: pointer;
}
.tm-account-language-menu button:hover { background: #f3f8f6; }
.tm-home-language-wrap .tm-home-language-menu button { display:grid;grid-template-columns:26px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:42px;padding:7px 10px;border:0;border-radius:10px;background:transparent;color:#1b2941;text-align:left;font-family:inherit;font-size:13px;font-weight:550;cursor:pointer }
.tm-home-language-wrap .tm-home-language-menu button:hover { background:#f3f8f6 }
.tm-home-language-wrap .tm-home-language-menu button[aria-checked="true"] { background:#e8f5ef;color:#087b58;font-weight:700 }
.tm-home-language-wrap .tm-lang-name { min-width:0;white-space:nowrap }
.tm-home-language-wrap .tm-lang-check { display:grid;place-items:center;width:19px;height:19px;border-radius:50%;color:transparent;font-size:12px }
.tm-home-language-wrap button[aria-checked="true"] .tm-lang-check { background:#008e62;color:#fff }
.tm-home-language-wrap .tm-home-language-menu button:focus-visible { outline:2px solid #087b58;outline-offset:2px }
.tm-account-language-menu button[aria-checked="true"] { background: #e8f5ef; color: #087b58; font-weight: 700; }
.tm-account-language-menu .tm-lang-name { min-width: 0; }
.tm-account-language-menu .tm-lang-check { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: transparent; font-size: 12px; }
.tm-account-language-menu button[aria-checked="true"] .tm-lang-check { background: #008e62; color: #fff; }
.tm-account-language:focus-visible,.tm-account-language-menu button:focus-visible { outline: 2px solid #087b58; outline-offset: 2px; }
.tm-account-language-sheet[hidden] { display: none!important; }
.tm-account-language-sheet {
  position: fixed; inset: 0; z-index: 2147483645;
  display: flex; align-items: flex-end; justify-content: center;
}
.tm-account-language-scrim { position: absolute; inset: 0; background: #0a182880; backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.tm-account-language-panel {
  position: relative; width: min(100%,480px); max-height: min(82dvh,720px); overflow: auto;
  border-radius: 28px 28px 0 0; background: #fff;
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 36px #10203b1a; animation: tm-account-language-rise .2s ease-out;
}
.tm-account-language-handle { display: block; width: 42px; height: 4px; margin: 0 auto 8px; border-radius: 999px; background: #dce4e1; }
.tm-account-language-panel header { display: flex; align-items: center; justify-content: space-between; min-height: 46px; margin-bottom: 8px; color: #173b34; }
.tm-account-language-panel header strong { font-size: 20px; line-height: 1.3; font-weight: 750; }
.tm-account-language-panel header button {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid #e0ebe7; border-radius: 50%; background: #f4faf7;
  color: #0f6b62; font-family: inherit; font-size: 26px; font-weight: 400; line-height: 1; cursor: pointer;
}
.tm-account-language-options { display: grid; gap: 5px; }
.tm-account-language-options button {
  display: grid; grid-template-columns: 38px minmax(0,1fr) 26px; align-items: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 6px 14px;
  border: 0; border-bottom: 1px solid #e8eeee; border-radius: 0; background: #fff;
  color: #1b2941; font-family: inherit; font-size: 16px; text-align: left; cursor: pointer;
}
.tm-account-language-options button[aria-checked="true"] { border-bottom-color: transparent; border-radius: 14px; background: #e8f7f0; color: #0f6b62; }
.tm-account-language-options .tm-lang-flag { display: grid; place-items: center; width: 38px; height: 32px; font-size: 26px; line-height: 1; }
.tm-account-language-options .tm-lang-name { min-width: 0; font-weight: 650; white-space: nowrap; }
.tm-account-language-options .tm-lang-check { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: transparent; font-size: 13px; font-weight: 800; }
.tm-account-language-options button[aria-checked="true"] .tm-lang-check { background: #0b9b6d; color: #fff; }
.tm-account-language-panel header button:focus-visible,.tm-account-language-options button:focus-visible { outline: 2px solid #0f6b62; outline-offset: 2px; }
body.tm-account-language-sheet-open { overflow: hidden!important; }
@keyframes tm-account-language-rise { from { transform: translateY(24px); opacity: .35; } to { transform: translateY(0); opacity: 1; } }
@media (min-width: 700px) {
  .tm-account-language-sheet { padding: 24px; }
  .tm-account-language-panel { border-radius: 28px; padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .tm-account-language-panel { animation: none; } }
.tm-translation-notice { position: fixed; z-index: 2147483646; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: max-content; max-width: calc(100vw - 32px); padding: 10px 14px; border: 1px solid #f2d5a5; border-radius: 12px; background: #fff9eb; box-shadow: 0 8px 25px #0002; color: #654817; font-size: 13px; text-align: center; }
@media (max-width: 430px) {
  .tm-account-head .tm-account-language { min-height: 36px; padding: 5px 9px; gap: 7px; font-size: 12px; }
  .tim-makeup-app.tm-account-mode .tm-account-head > div:first-child { min-width: 0; }
  .tim-makeup-app.tm-account-mode .tm-account-head > div:first-child p { max-width: calc(100vw - 180px); overflow: hidden; text-overflow: ellipsis; }
}
