.trial-languages select{appearance:none;-webkit-appearance:none;background:transparent;border:0;border-radius:0;box-shadow:none;outline:0;padding:8px;font:700 14px system-ui;min-height:44px;color:#483b65;text-align:center;cursor:pointer;max-width:56px}
.trial-menu{position:relative;order:9}.trial-menu .icon-button{font-size:24px}.trial-menu-links{position:absolute;right:0;top:100%;z-index:80;background:#fffaf0;border:1px solid #d9cce8;border-radius:16px;box-shadow:0 8px 28px #483b6530;padding:8px;min-width:170px}.trial-menu-links[hidden]{display:none}.trial-menu-links a,.trial-menu-links button{display:block;text-align:start;background:none;border:0;color:#483b65;text-decoration:none;padding:12px;font:600 16px system-ui;width:100%;cursor:pointer}
header .header-actions{gap:8px;flex-shrink:0}.header-actions #help{display:none}header .brand{min-width:0}header .brand small{letter-spacing:normal}
@media(max-width:680px){header{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between;gap:8px;padding-inline:12px!important}header .lesson-tag{display:none}header .brand span{font-size:17px}header .brand small{font-size:9px}.header-actions{margin-left:auto}.brand-logo{width:44px!important;height:44px!important}header .header-actions{gap:4px}.trial-languages select{min-width:44px;max-width:48px}.trial-menu .icon-button{width:44px;height:44px}}

/* Locale is plain text. Keep its invisible touch target on every screen. */
.trial-languages select:focus,.trial-languages select:focus-visible,.trial-languages select:hover,.trial-languages select:active{background:transparent;border:0;outline:0;box-shadow:none}
/* All languages share the same layout. Arabic direction applies only to text runs. */
html[lang=ar] body,html[lang=ar] .goal-dialog{direction:ltr}
.trial-ar-text{direction:rtl;unicode-bidi:isolate;text-align:inherit}
.cookie-bank,.writing-cookie-bank{direction:ltr;white-space:nowrap}
.cookie-bank strong{min-width:2ch;text-align:left;font-variant-numeric:tabular-nums}
/* Reserve a real lane beside the illustration, in every mobile locale. */
@media(max-width:700px){.intro{padding-right:0;gap:8px}.intro>div:first-child{min-width:0}.mascot-holder{margin-right:64px}#cookie-bank:not(.cookie-bank-docked){right:-64px;bottom:0;min-width:64px;padding:0;gap:4px;justify-content:center;font-size:18px}#cookie-bank:not(.cookie-bank-docked) img{width:30px;height:30px}}
@media(max-width:420px){.intro{height:210px;align-items:flex-start;padding-top:22px}.intro .eyebrow{font-size:9px;letter-spacing:.6px;margin-bottom:8px}.intro h1{font-size:28px;line-height:1.25;margin-bottom:8px}.intro p:last-child{font-size:15px;line-height:1.35}.mascot-holder{width:96px;height:112px;margin-right:58px;align-self:flex-start}#cookie-bank:not(.cookie-bank-docked){right:-58px;min-width:58px;font-size:16px}#cookie-bank:not(.cookie-bank-docked) img{width:28px;height:28px}}
