.learning-dialog{color:#eef4fa;background:#182638;border:1px solid #64748b;border-radius:10px;width:min(760px,100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:24px;font:15px/1.55 Segoe UI,system-ui,sans-serif;overflow:auto}.learning-dialog::backdrop{background:#000000a6}.learning-dialog header{z-index:1;background:#182638;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;padding:12px 0;display:flex;position:sticky;top:-24px}.learning-dialog h2{font-size:24px;line-height:1.2}.learning-dialog h3{margin-top:20px;font-size:18px}.learning-dialog h4{color:#7fd4ff;margin-top:12px;font-size:15px}.learning-dialog p{max-width:72ch;margin:12px 0}.learning-dialog li{margin:12px 0 12px 24px}.learning-dialog .notice{background:#24344b;border-left:3px solid #ffd24a;padding:12px}.learning-dialog button,.learning-dialog select{color:#eef4fa;min-height:44px;font:inherit;cursor:pointer;background:#24344b;border:1px solid #8196ad;border-radius:5px;padding:9px 12px}.learning-dialog header button{flex-shrink:0}.learning-dialog label{margin-top:16px;font-weight:600;display:block}.learning-dialog select{width:100%;margin-top:6px;display:block}.learning-dialog form button{background:#285a48;border-color:#8ac8ac}.learning-dialog details{border-top:1px solid #526075;padding:12px 0}.learning-dialog summary{cursor:pointer;min-height:32px}@media (width<=500px){.learning-dialog{padding:16px}.learning-dialog header{flex-direction:column;gap:8px;top:-16px}.learning-dialog h2{font-size:21px}#controls button{min-height:44px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
