body:has([aria-label=เมนูผู้สอน]){--font-sans:var(--font-ibm-thai),"IBM Plex Sans Thai",system-ui,sans-serif;--font-heading:var(--font-sans);font-family:var(--font-sans)}html:has([aria-label=เมนูผู้สอน]) .playerModal{z-index:1;background:#fff;border:1px solid #17312814;border-radius:22px;grid-template-rows:auto minmax(0,1fr) auto;width:100%;max-width:min(640px,100vw - 28px);max-height:min(82dvh,720px);display:grid;position:relative;overflow:hidden;box-shadow:0 28px 80px #0c221b47}html:has([aria-label=เมนูผู้สอน]) .playerModalHeader{border-bottom:1px solid #e7ece9;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px 18px 14px;display:flex}html:has([aria-label=เมนูผู้สอน]) .playerModalHeaderCopy{overflow-wrap:anywhere;min-width:0}html:has([aria-label=เมนูผู้สอน]) .playerModalHeader h2{color:#203029;margin:0;font-size:18px}html:has([aria-label=เมนูผู้สอน]) .playerModalHeader p{color:#5f6d66;margin:5px 0 0;font-size:13px;line-height:1.5}html:has([aria-label=เมนูผู้สอน]) .playerModalHeader>button{aspect-ratio:1;background:#f2f5f3;border:0;border-radius:999px;flex:0 0 44px;justify-content:center;align-items:center;height:44px;padding:0;display:inline-flex}html:has([aria-label=เมนูผู้สอน]) .playerModalBody{overscroll-behavior:contain;min-height:0;padding:18px;overflow:auto}html:has([aria-label=เมนูผู้สอน]) .playerModalFooter{padding:13px 18px calc(13px + env(safe-area-inset-bottom));border-top:1px solid #e7ece9;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}@media (max-width:640px){html:has([aria-label=เมนูผู้สอน]) .playerModalLayer{align-items:end;padding:0}html:has([aria-label=เมนูผู้สอน]) .playerModal{border-radius:22px 22px 0 0;width:100%;max-width:none;max-height:86dvh}}
