/* EGIP 28-letter sound previews and user-linked YouTube reference library */
.egip-sound-card{margin:16px 0 22px;padding:20px 23px;border:1px solid #dfe7dd;border-radius:12px;background:#fbfdf9;color:#486151}
.egip-sound-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.egip-sound-heading h3{margin:5px 0 0;font:600 21px/1.4 'Noto Serif KR',serif;color:#315444}
.egip-sound-type{padding:7px 10px;border-radius:30px;background:#eaf0e7;color:#5f8665;font-size:10px;font-weight:700;white-space:nowrap}
.egip-sound-active{display:flex;align-items:center;gap:17px;padding:13px 0 14px}
.egip-sound-glyph{font-family:'Noto Serif KR',serif;display:grid;place-items:center;color:#225342;font-size:49px;line-height:1;min-width:59px;height:64px}
.egip-sound-active b{font-size:13px;color:#395e46}
.egip-sound-active p{font-size:11px;color:#799183;line-height:1.7;margin:6px 0 0}
.egip-sound-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.egip-audio-button,.egip-audio-outline{border-radius:7px;cursor:pointer;font-weight:700;font-size:11px;min-height:39px;padding:9px 14px;font-family:inherit;white-space:normal}
.egip-audio-button{background:#2c5c48;color:white;border:1px solid #2c5c48}
.egip-audio-button:hover{background:#204835}
.egip-audio-outline{background:white;color:#426f55;border:1px solid #cfe0d0}
.egip-audio-outline:hover{background:#eaf3eb}
.egip-sound-toggle{font-size:11px;display:inline-flex;align-items:center;gap:6px;line-height:1.6;color:#66846e;cursor:pointer}
.egip-sound-toggle input{accent-color:#2c5c48}
.egip-sound-status{font-size:11px;color:#759280;line-height:1.7;margin:14px 0 0}
.egip-stage-sound{margin:16px 0 12px;background:#f7faf6}
.egip-stage-sound .egip-sound-glyph{font-size:36px;min-width:48px;height:48px}
.egip-stage-sound #constructionOpenVideo{margin-top:12px}
.egip-stage-sound .egip-sound-toggle{max-width:240px}
.egip-video-library{margin:25px 0 33px}
.egip-sound-disclaimer{font-size:11px;color:#86978a;line-height:1.85;margin:7px 0 16px}
.egip-video-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0 17px}
.egip-video-choice{padding:13px;border-radius:10px;border:1px solid #dce6d9;background:#fff;display:flex;flex-direction:column;align-items:start;gap:9px;cursor:pointer;text-align:left}
.egip-video-choice:hover,.egip-video-choice.active{border-color:#4f8064;background:#f0f6ef}
.egip-video-choice .egip-video-pill{font-size:9px;font-weight:700;padding:5px 7px;border-radius:4px;background:#e6f0e5;color:#50785b}
.egip-video-choice b{font-size:11px;line-height:1.6;color:#345c45}
.egip-video-choice small{font-size:10px;color:#82988b}
.egip-video-selected{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px;background:#eaf1e8;border-radius:9px 9px 0 0}
.egip-video-selected b{font-size:13px;color:#395b43}
.egip-video-selected p{font-size:10px;color:#7c9484;margin:6px 0 0}
.egip-video-selected a{color:#385f48;font-size:11px;font-weight:700;text-decoration:underline;white-space:nowrap}
.egip-yt-player{position:relative;width:100%;aspect-ratio:16/9;background:#17271f;border-radius:0 0 9px 9px;display:grid;place-items:center;overflow:hidden}
.egip-yt-player p{font-size:12px;color:#dce9df}
.egip-yt-player iframe{display:block;width:100%;height:100%;border:0;position:absolute;inset:0}
@media(max-width:1100px){.egip-video-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.egip-sound-card{padding:16px;margin-bottom:15px}.egip-sound-heading h3{font-size:18px}.egip-sound-type{white-space:normal}.egip-video-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.egip-video-choice{padding:10px}.egip-video-choice b{font-size:10px}.egip-video-selected{flex-direction:column;align-items:start}}

.egip-consonant-sound-details{margin:4px 0 16px;background:#f1f6ef;border:1px solid #d5e4d7;border-radius:9px;padding:10px 13px}
.egip-consonant-sound-details[hidden]{display:none!important}
.egip-consonant-sound-details summary{color:#365f46;cursor:pointer;font-size:12px;font-weight:700;padding:4px 0}
.egip-consonant-sound-guide{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:14px 0}
.egip-consonant-pair{display:flex;justify-content:space-between;align-items:center;gap:7px;padding:9px 10px;border:1px solid #dce6d9;border-radius:6px;background:white}
.egip-consonant-pair b{font-size:10px;color:#728978}
.egip-consonant-pair strong{font-size:12px;color:#365e47;white-space:nowrap}
.egip-consonant-sound-details p{font-size:10px;line-height:1.9;color:#7a9080;margin:10px 0 0}
@media(max-width:650px){.egip-consonant-sound-guide{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.egip-consonant-pair{padding:8px 6px}.egip-consonant-pair b{font-size:9px}.egip-consonant-pair strong{font-size:10px}}