/* D’Ascola Games — seletor de idioma (PT · EN · ES). */
.dg-lang-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border-radius:999px;border:1px solid rgba(140,170,220,.45);background:rgba(140,170,220,.12);flex:0 0 auto}
.dg-lang-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:26px;padding:0 6px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.06em;line-height:1;text-decoration:none;color:inherit;opacity:.75}
.dg-lang-switch a:hover,.dg-lang-switch a:focus-visible{opacity:1}
.dg-lang-switch a.is-active{opacity:1;background:#1767c2;color:#fff}
.dg-lang-switch .dt-lang-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Termos/Privacidade: seletor à direita, junto ao “Voltar ao portal”. */
.legal-header .dg-lang-switch,.legal-header .dt-lang-compact{margin-left:auto;margin-right:10px}
.dg-translation-note{max-width:900px;margin:10px auto 0;padding:10px 14px;border-radius:12px;font-size:13px;opacity:.85;background:rgba(140,170,220,.12)}
/* Seletor compacto (celular): botão com o idioma atual que abre a lista. */
.dt-lang-compact{display:none;position:relative;flex:0 0 auto}
.dt-lang-compact>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:4px;height:38px;padding:0 10px;border-radius:999px;border:1px solid rgba(130,160,200,.45);background:rgba(130,160,200,.12);font-size:12px;font-weight:800;letter-spacing:.05em;color:inherit;user-select:none}
.dt-lang-compact>summary::-webkit-details-marker{display:none}
.dt-lang-compact-list{position:absolute;right:0;top:calc(100% + 6px);z-index:1000;min-width:150px;padding:6px;border-radius:14px;background:#fff;color:#10233f;box-shadow:0 14px 34px rgba(5,20,45,.22);display:grid;gap:2px}
.dt-lang-compact-list a{display:block;padding:9px 12px;border-radius:10px;font-size:14px;font-weight:600;text-decoration:none;color:inherit}
.dt-lang-compact-list a:hover,.dt-lang-compact-list a:focus-visible{background:#edf4ff}
.dt-lang-compact-list a.is-active{background:#1767c2;color:#fff}
html[data-theme="dark"] .dt-lang-compact-list{background:#10233f;color:#eef6ff}
html[data-theme="dark"] .dt-lang-compact-list a:hover{background:#1b3a63}
@media (max-width:680px){
  .dg-lang-switch{display:none}
  .head-actions .dt-lang-compact,.legal-header .dt-lang-compact{display:inline-block}
}
.legal-header .dt-lang-compact{margin-right:0}.legal-header .dt-lang-compact>summary{height:30px;padding:0 9px}
