.app-shell-page{min-height:100vh;min-height:100dvh;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:contain}.app-shell-page a,.app-shell-page button,.app-shell-page input,.app-shell-page select,.app-shell-page textarea{touch-action:manipulation}.app-shell-root{min-height:100vh;min-height:100dvh;padding-top:max(.75rem,env(safe-area-inset-top));padding-right:max(.75rem,env(safe-area-inset-right));padding-bottom:max(.75rem,env(safe-area-inset-bottom));padding-left:max(.75rem,env(safe-area-inset-left))}.app-shell-container{width:min(100%,1180px);margin-inline:auto}.app-shell-topbar{position:sticky;top:max(.5rem,env(safe-area-inset-top));z-index:12;min-height:3.25rem}.app-shell-brand,.app-shell-icon-button,.app-shell-language{min-height:2.75rem}.app-shell-brand{text-decoration:none}.app-shell-actions{align-items:center}.app-shell-language-menu{flex:0 0 auto}.app-shell-language-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:2.75rem;max-width:min(13rem,42vw);border:0;border-radius:999px;background:rgba(255,255,255,.78);color:#41506f;font-weight:950;line-height:1;padding:.58rem .86rem;box-shadow:0 12px 26px rgba(15,23,42,.08);backdrop-filter:blur(12px);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.app-shell-language-button:focus,.app-shell-language-button:hover{transform:translateY(-1px);background:rgba(255,255,255,.92);box-shadow:0 16px 32px rgba(79,124,255,.16)}.app-shell-language-button span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell-language-caret{font-size:.72rem;opacity:.72}.app-shell-language-dropdown{min-width:12rem;border:0;border-radius:1rem;padding:.45rem;background:rgba(255,255,255,.96);box-shadow:0 18px 42px rgba(15,23,42,.16)}.app-shell-language-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;border-radius:.75rem;color:#41506f;font-weight:850;padding:.62rem .72rem}.app-shell-language-item:focus,.app-shell-language-item:hover{background:#eff6ff;color:#1d4ed8}.app-shell-language-item.active,.app-shell-language-item.active:focus,.app-shell-language-item.active:hover{background:linear-gradient(135deg,#4f7cff,#8b5cf6);color:#fff}.english-sentence-page.is-focus-mode .app-shell-language-button{background:rgba(15,23,42,.72);color:#e0e7ff;box-shadow:0 14px 34px rgba(0,0,0,.22)}.app-shell-surface{isolation:isolate}.app-shell-side-card,.app-shell-stage{min-width:0}.app-shell-page .app-shell-bottom-dock{position:relative}.app-shell-modal{padding-top:max(1rem,env(safe-area-inset-top));padding-right:max(1rem,env(safe-area-inset-right));padding-bottom:max(1rem,env(safe-area-inset-bottom));padding-left:max(1rem,env(safe-area-inset-left))}.app-shell-modal-card{overscroll-behavior:contain}@media (pointer:coarse){.app-shell-page .app-shell-icon-button,.app-shell-page .btn,.app-shell-page button{min-height:2.75rem}}@media (max-width:767.98px){.app-shell-root{padding:max(.6rem,env(safe-area-inset-top)) max(.6rem,env(safe-area-inset-right)) max(.6rem,env(safe-area-inset-bottom)) max(.6rem,env(safe-area-inset-left))}.app-shell-topbar{align-items:flex-start;margin-bottom:.75rem}.app-shell-actions{gap:.45rem}.app-shell-language-button{max-width:10rem}.app-shell-page .app-shell-bottom-dock{position:sticky;bottom:max(.6rem,env(safe-area-inset-bottom));z-index:11;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:.8rem;padding:.55rem;border:1px solid rgba(255,255,255,.74);border-radius:1.35rem;background:rgba(255,255,255,.78);box-shadow:0 18px 42px rgba(15,23,42,.14);backdrop-filter:blur(16px)}.app-shell-page .app-shell-bottom-dock>*{width:100%;margin:0!important}}@media (max-width:575.98px){.app-shell-container{width:100%}.app-shell-brand{flex:0 0 auto}.app-shell-topbar{position:relative;top:auto}.app-shell-actions{flex:1 1 auto;justify-content:flex-end}.app-shell-icon-button{padding-inline:0.7rem}.app-shell-language-button{max-width:8.8rem;padding-inline:0.72rem}.app-shell-page .app-shell-bottom-dock{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:380px){.app-shell-page .app-shell-bottom-dock{grid-template-columns:1fr}}