/* 새 사이트 공통 머리글(상단 띠·로고·메뉴)·안내 팝업·카카오 버튼 — 본문 스타일과 섞이지 않도록 .dk- 범위로 한정 */
:root{--dk-brand:#0b5a8a;--dk-blue:#0a6fa8}
body{margin:0;background:#fff}
.dk-shell,.dk-shell *{box-sizing:border-box;font-family:'Noto Sans KR',sans-serif}
.dk-topbar{background:var(--dk-brand);color:var(--dk-toptext,#fff);font-size:17px;font-weight:500}
.dk-topbar .in{max-width:1320px;margin:0 auto;padding:14px 16px;min-height:50px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.dk-topbar #dk-who{margin-left:auto;text-align:right}
.dk-tlinks{display:flex;gap:16px;flex-wrap:wrap}.dk-tlinks:empty{display:none}
.dk-tlinks a{color:inherit;text-decoration:none;font-size:15px;font-weight:700;padding:4px 12px;border:1px solid currentColor;border-radius:16px;opacity:.95}.dk-tlinks a:hover{background:rgba(255,255,255,.18)}
.dk-hdr{max-width:1320px;margin:0 auto;padding:18px 16px 0;display:flex;align-items:center;gap:24px;position:relative}
.dk-logo img{height:var(--dk-logoh,46px);display:block}
.dk-logo img:not([src]){visibility:hidden;width:170px}
.dk-nav{flex:1;display:flex;justify-content:flex-end;border-bottom:1px dotted #999}
.dk-nav ul{list-style:none;margin:0;padding:0}
.dk-nav>ul{display:flex}
.dk-nav li{position:relative;list-style:none;margin:0}
.dk-nav>ul>li>a{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:19px;font-weight:500;color:var(--dk-nav,#333);text-decoration:none;border-bottom:3px solid transparent}
.dk-nav>ul>li:hover>a,.dk-nav>ul>li:focus-within>a{border-bottom-color:var(--dk-blue)}
.dk-nav .caret{display:inline-block;width:0;height:0;border:5px solid transparent;margin-left:2px}
.dk-nav .caret.down{border-top:6px solid currentColor;border-bottom:0;margin-top:3px}
.dk-nav .caret.right{border-left:6px solid currentColor;border-right:0}
.dk-sub{display:none;position:absolute;top:100%;left:0;min-width:200px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.12);padding:6px 0 !important;z-index:500}
.dk-nav li:hover>.dk-sub,.dk-nav li:focus-within>.dk-sub{display:block}
.dk-sub a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 22px;color:var(--dk-blue);font-size:19px;text-decoration:none;white-space:nowrap}
.dk-sub li:hover>a{background:var(--dk-brand);color:#fff}
.dk-sub .dk-sub{top:-6px;left:100%}
.dk-nlock{display:block;padding:12px 22px;color:#aaa;font-size:18px;white-space:nowrap;cursor:not-allowed}
.dk-nlock::before{content:'';display:inline-block;width:14px;height:16px;margin-right:7px;vertical-align:-1px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20fill%3D%22%23aaa%22%20d%3D%22M144%20144v48h160v-48c0-44.2-35.8-80-80-80s-80%2035.8-80%2080zM80%20192v-48C80%2064.5%20144.5%200%20224%200s144%2064.5%20144%20144v48h16c35.3%200%2064%2028.7%2064%2064v192c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64V256c0-35.3%2028.7-64%2064-64h16z%22/%3E%3C/svg%3E") center/contain no-repeat}   /* 메뉴 자물쇠(어썸 아이콘 모양) */
.dk-burger{display:none;margin-left:auto;background:none;border:0;padding:8px;cursor:pointer}
@media (min-width:769px) and (max-width:1024px){.dk-nav>ul>li>a{padding:12px 10px;font-size:17px}}
@media (max-width:900px){
  .dk-hdr{padding:12px 16px;border-bottom:1px solid #eee}
  .dk-logo img{height:calc(var(--dk-logoh,46px) * .78)}
  .dk-burger{display:block}
  .dk-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border:0;box-shadow:0 8px 18px rgba(0,0,0,.12);z-index:600}
  .dk-nav.open{display:block}
  .dk-nav>ul{flex-direction:column;width:100%}
  .dk-nav>ul>li>a{border-bottom:1px solid #eee;padding:14px 18px}
  .dk-sub,.dk-sub .dk-sub{display:block;position:static;box-shadow:none;padding:0 0 0 16px !important}
  .dk-sub a{font-size:16px;padding:10px 18px}
  .dk-sub li:hover>a{background:none;color:var(--dk-blue)}
  .dk-nav .caret{display:none}
}
@media (max-width:768px){.dk-topbar .in{font-size:13px;padding:8px 16px;min-height:0}.dk-tlinks a{font-size:12px;padding:3px 9px}}

/* 안내 팝업 (기관회원전용 / 잠김) */
.dk-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:2147483000;align-items:center;justify-content:center;padding:16px}
.dk-modal.open{display:flex}
.dk-deny{position:relative;background:#fff;width:92%;max-width:1210px;aspect-ratio:1210/770;max-height:90vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3vw;padding:24px;text-align:center;font-family:'Noto Sans KR',sans-serif}
.dk-deny img{width:min(42%,500px);height:auto;flex:none;min-height:0;object-fit:contain;display:block}   /* flex:none — 아이폰 사파리에서 로고가 세로로 눌리지 않게 */
.dk-deny h2{margin:0;font-size:clamp(22px,4vw,52px);font-weight:700;color:var(--dk-blue);letter-spacing:-.02em}
.dk-deny p{margin:0;font-size:clamp(14px,2vw,26px);font-weight:700;color:#333}
.dk-deny .x{position:absolute;top:16px;right:20px;background:none;border:0;font-size:clamp(26px,3vw,40px);font-weight:900;color:#555;cursor:pointer;line-height:1}
@media (max-width:768px){.dk-deny{aspect-ratio:auto;padding:56px 20px 44px;gap:20px}.dk-deny img{width:min(66%,300px)}}

/* 잠긴 강좌 링크 */
.dk-locked{filter:grayscale(1);opacity:.55;cursor:not-allowed !important;position:relative}

/* 카카오톡 */
.dk-kakao{position:fixed;bottom:40px;right:44px;z-index:9999;width:72px;height:72px;background:#FEE500;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.2);transition:transform .2s}
.dk-kakao:hover{transform:translateY(-3px)}
.dk-kakao svg{width:40px;height:40px}
@media (max-width:768px){.dk-kakao{width:56px;height:56px;bottom:20px;right:20px}.dk-kakao svg{width:32px;height:32px}}
body.dk-loading .dk-page{visibility:hidden}

/* 기존 스니펫 일부가 아이콘에 font-weight:300 을 줘서 Font Awesome 무료 글꼴에서 네모(F0 0D)로 깨짐 → 꽉 찬 아이콘은 항상 900 */
i.fas,i.fa-solid,i.fa{font-weight:900 !important}

/* OX 퀴즈 등 게임 상단 배경음 조절바: 게임 CSS가 배경을 투명으로 덮어써서 막대·손잡이가 안 보이던 문제 */
.ox-bgm-box{align-items:center !important}
.ox-bgm-slider{-webkit-appearance:none !important;appearance:none !important;height:6px !important;border-radius:3px !important;background:#ccc !important;vertical-align:middle;margin:0 !important}
.ox-bgm-slider::-webkit-slider-thumb{-webkit-appearance:none !important;width:18px !important;height:18px !important;border-radius:50% !important;background:#4A90D9 !important;border:0 !important}
.ox-bgm-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#4A90D9;border:0}

/* 보고서 볼륨 카드 화면: 머리글(로고~로그아웃) 폭에 맞춤 */
.rrc-wrap,.rrhc-wrap{max-width:1288px !important;margin-left:auto !important;margin-right:auto !important;box-sizing:border-box}

/* 영어교사교육 '전체 단계 다운로드' 파일 목록 창 */
#dk-bundle{display:none;position:fixed;inset:0;z-index:100000;font-family:'Noto Sans KR',sans-serif}
#dk-bundle.open{display:flex;align-items:center;justify-content:center;padding:16px}
#dk-bundle .dkb-bg{position:absolute;inset:0;background:rgba(0,0,0,.55)}
#dk-bundle .dkb-box{position:relative;background:#fff;border-radius:16px;padding:26px 26px 22px;width:min(560px,100%);max-height:88vh;overflow:auto;box-shadow:0 10px 40px rgba(0,0,0,.25)}
#dk-bundle h3{margin:0 40px 6px 0;font-size:21px;color:#222}
#dk-bundle .dkb-hint{margin:0 0 14px;color:#666;font-size:14px;line-height:1.6}
#dk-bundle ol{margin:0 0 16px;padding:0;list-style:none;border-top:1px solid #eee}
#dk-bundle li{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid #eee;font-size:15px}
#dk-bundle li span{flex:1;min-width:0;word-break:break-all}
#dk-bundle li a{flex-shrink:0;background:#0b5a8a;color:#fff;text-decoration:none;padding:7px 14px;border-radius:8px;font-weight:700;font-size:14px}
#dk-bundle .dkb-zip{width:100%;border:0;background:#0b5a8a;color:#fff;font-size:18px;font-weight:800;padding:15px;border-radius:12px;cursor:pointer;font-family:inherit;margin-bottom:4px}
#dk-bundle .dkb-zip:disabled{opacity:.85;cursor:default}
#dk-bundle .dkb-msg{margin:4px 0 12px;font-size:13px;color:#c27a00;min-height:1em}
#dk-bundle .dkb-all{width:100%;border:1px solid #cfd9e0;background:#fff;color:#333;font-size:15px;font-weight:700;padding:12px;border-radius:12px;cursor:pointer;font-family:inherit}
#dk-bundle .dkb-all:disabled{opacity:.85;cursor:default}
#dk-bundle .dkb-x{position:absolute;top:14px;right:16px;border:0;background:none;font-size:24px;color:#555;cursor:pointer}
/* 워드프레스 자동 영상(비메오·유튜브 주소) */
.dk-embed{position:relative;width:100%;max-width:1200px;margin:0 auto 16px;aspect-ratio:16/9;background:#000;border-radius:8px;overflow:hidden}
.dk-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* 강좌 화면 월~금 버튼 테두리: 얇게 (기존 3.5px → 1.5px) */
.cl-lesson-btn{outline-width:1.5px !important}
/* 영어교사수업(ET) 강좌 버튼은 테두리 굵게 */
.dket-wrap .cl-lesson-btn{outline-width:3px !important}
.dket-wrap .cl-lesson-btn:focus,.dket-wrap .cl-lesson-btn:active{outline:3px solid var(--unit-color,#ccc)!important}
.dket-wrap .cl-lesson-btn.quiz:focus,.dket-wrap .cl-lesson-btn.quiz:active{outline-color:var(--unit-dark,#999)!important}
/* 볼륨 보고서: 표 칸 테두리 · 검색/엑셀/인쇄 버튼 크게 */
#reportTable th,#reportTable td{border:1px solid #d5dbe1 !important}
#reportTable th{background:#f4f7fa}
#searchContainer{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-end;margin:10px 0 14px}
#searchContainer #searchInput{font-size:17px !important;height:44px !important;padding:0 14px !important;min-width:220px;border:1px solid #b9c4ce !important;border-radius:8px !important;box-sizing:border-box}
#searchContainer #buttonContainer{display:flex;flex-wrap:wrap;gap:8px}
#searchContainer button{font-size:17px !important;height:44px !important;padding:0 18px !important;border-radius:8px !important;border:1px solid #9fb0bf !important;background:#fff !important;color:#234 !important;cursor:pointer;font-weight:600}
#searchContainer button:hover{background:#eef4f9 !important}
#searchContainer #excelButton{background:#1f7a46 !important;border-color:#1f7a46 !important;color:#fff !important}
#searchContainer #printButton{background:#0b5a8a !important;border-color:#0b5a8a !important;color:#fff !important}
@media print{#searchContainer{display:none}}
.rr-header-wrap .rr-title{padding:0 64px !important}
/* 방학특강: 왼쪽 메뉴 + 가운데 카드 (모든 기기 크기 맞춤) */
.dk-summer{display:flex;gap:28px;max-width:1140px;margin:10px auto 40px;padding:0 16px;box-sizing:border-box;align-items:flex-start}
.dk-summer .sm-nav{flex:0 0 140px;display:flex;flex-direction:column;gap:4px;padding:14px 0;position:sticky;top:20px;border:1.5px solid #d5e2ec;border-radius:12px;background:#fff}
.dk-summer .sm-nav a{color:#0a6fa8;text-decoration:none;font-size:16px;padding:8px 16px;border-left:3px solid transparent}
.dk-summer .sm-nav a:hover{background:#f1f7fb}
.dk-summer .sm-nav a.on{font-weight:700;border-left-color:#0a6fa8;background:#eaf4fa}
.dk-summer .sm-main{flex:1;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}
.dk-summer.sm-home .sm-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:780px;margin:0 auto}
.dk-summer.sm-home .sm-main>:first-child{max-width:720px}
.dk-summer .sm-main>*{margin:0;min-width:0}
.dk-summer .sm-main>img,.dk-summer .sm-main>a{display:block;border:1.5px solid #d5e2ec;border-radius:12px;overflow:hidden;background:#fff;transition:transform .15s,box-shadow .15s}
.dk-summer .sm-main>a:hover{transform:translateY(-3px);box-shadow:0 6px 16px rgba(10,111,168,.18)}
.dk-summer .sm-main img{display:block;width:100%;height:auto}
.dk-summer .sm-main>:first-child{grid-column:1/-1;justify-self:center;width:100%;max-width:720px;border:0;border-radius:0;background:none}
.dk-summer .sm-main>h4,.dk-summer .sm-main>a:has(img[width="1024"]){grid-column:1/-1}
.dk-summer .sm-main>h4{border:0;text-align:center;font-weight:500;font-size:16px;color:#555}
.dk-summer .sm-main>a[href$="worksheets.pdf"]:has(img[width="524"]){display:none}
@media (max-width:768px){.dk-summer{flex-direction:column;gap:14px}
 .dk-summer .sm-nav{flex-direction:row;flex-wrap:wrap;position:static;width:100%;box-sizing:border-box;padding:8px;gap:6px;justify-content:center}
 .dk-summer .sm-nav a{border-left:0;border-radius:18px;padding:6px 12px;font-size:14px;border:1px solid #d5e2ec}
 .dk-summer .sm-nav a.on{background:#0a6fa8;color:#fff;border-color:#0a6fa8}
 .dk-summer .sm-main,.dk-summer.sm-home .sm-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .dk-summer .sm-main>a:has(img[width="1024"]){display:none}.dk-summer .sm-main>a[href$="worksheets.pdf"]:has(img[width="524"]){display:block}}
/* 카카오톡 버튼 위 동그란 바로가기 (기존 스니펫 dk_quick_link / hg_quick_link 와 같은 모양) */
.dk-qlink{position:fixed;bottom:132px;right:38px;z-index:9998;width:84px;height:84px;display:block;text-decoration:none;font-family:'Noto Sans KR',sans-serif}
.dk-qlink-circle{width:100%;height:100%;border-radius:50%;background:#103057;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.2);padding:4px;box-sizing:border-box;transition:transform .2s,box-shadow .2s}
.dk-qlink-logo{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.dk-qlink-bounce .dk-qlink-circle{transform-origin:bottom center;animation:dkQlinkBounce 4.5s ease-in-out infinite}
@keyframes dkQlinkBounce{0%{transform:translateY(0) scale(1,1)}4%{transform:translateY(0) scale(1.12,.88)}10%{transform:translateY(-18px) scale(.94,1.06)}16%{transform:translateY(0) scale(1.08,.92)}21%{transform:translateY(-8px) scale(.97,1.03)}26%{transform:translateY(0) scale(1.04,.96)}30%,100%{transform:translateY(0) scale(1,1)}}
@keyframes dkQlinkBounceSm{0%{transform:translateY(0) scale(1,1)}4%{transform:translateY(0) scale(1.1,.9)}10%{transform:translateY(-12px) scale(.95,1.05)}16%{transform:translateY(0) scale(1.06,.94)}21%{transform:translateY(-5px) scale(.98,1.02)}26%{transform:translateY(0) scale(1.03,.97)}30%,100%{transform:translateY(0) scale(1,1)}}
.dk-qlink-bounce:hover .dk-qlink-circle{animation:none}
.dk-qlink:hover .dk-qlink-circle{transform:translateY(-3px);box-shadow:0 6px 16px rgba(0,0,0,.25)}
.dk-qlink-label{position:absolute;right:calc(100% + 10px);top:50%;transform:translateY(-50%);background:rgba(0,0,0,.65);color:#fff;padding:7px 14px;border-radius:20px;font-size:14px;font-weight:500;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
.dk-qlink:hover .dk-qlink-label{opacity:1}
@media (prefers-reduced-motion:reduce){.dk-qlink-bounce .dk-qlink-circle{animation:none}}
@media (max-width:900px){.dk-qlink{bottom:112px;right:30px;width:76px;height:76px}.dk-qlink-bounce .dk-qlink-circle{animation-name:dkQlinkBounceSm}}
@media (max-width:768px){.dk-qlink{bottom:88px;right:15px;width:66px;height:66px;opacity:0;transform:translateY(20px);pointer-events:none;transition:opacity .35s,transform .35s}
 .dk-qlink.is-scrolled{opacity:1;transform:none;pointer-events:auto}.dk-qlink-bounce .dk-qlink-circle{animation:none}.dk-qlink-bounce.is-scrolled .dk-qlink-circle{animation:dkQlinkBounceSm 4.5s ease-in-out infinite}.dk-qlink-label{font-size:12px;padding:6px 12px}}
@media (max-width:420px){.dk-qlink-label{display:none}}
@media print{.dk-qlink{display:none}}
/* 비메오 영상 팝업 (예전 엘리멘터 팝업처럼) */
.dk-vpop{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.78);display:flex;align-items:center;justify-content:center;padding:16px}
.dk-vpop-in{position:relative;width:min(1100px,100%);aspect-ratio:16/9;max-height:90vh;background:#000;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.dk-vpop-in iframe{width:100%;height:100%;border:0;border-radius:12px}
.dk-vpop-x{position:absolute;top:-14px;right:-14px;width:44px;height:44px;border-radius:50%;border:2px solid rgba(255,255,255,.6);background:#4a4a4a;color:#fff;font-size:22px;cursor:pointer;z-index:2}
@media (max-width:600px){.dk-vpop-x{top:-52px;right:0}}

/* 교실영어 레슨 버튼(월~목) 테두리 3px — PC·휴대폰 모두 */
.dkcl-wrap .cl-lesson-btn{outline:none!important}
.dkcl-wrap [class*="dkcl-unit-"] .cl-lesson-btn:not(.fri),.dkcl-wrap .cl-lesson-btn:not(.fri){box-shadow:inset 0 0 0 3px var(--unit-color,#ccc),0 2px 6px rgba(0,0,0,.10)!important}
/* 휴대폰: 누른 뒤 들려 있는 모양(터치 hover) 없애기 */
@media(max-width:768px){
  .dkcl-wrap [class*="dkcl-unit-"] .cl-lesson-btn.fri{box-shadow:0 1px 3px rgba(0,0,0,.12)!important}
  .dkcl-wrap .cl-res-card{border-width:2px}
  .dkcl-wrap .cl-res-icon{outline-width:2px}
}
@media(hover:none){.dkcl-wrap .cl-lesson-btn:hover,.dkcl-wrap .cl-res-icon:hover{transform:none!important}}
/* 교실영어 '오늘의 활동' 게임패드 아이콘: 넓은 아이콘이 오른쪽으로 밀리지 않게 */
.interactive-quiz-button i.fa-gamepad,button i.fa-gamepad{width:auto!important;min-width:0!important;max-width:none!important;display:block!important;text-align:center!important}
/* 메인(4단계) 카드: 연결 주소가 없는 단계(예: CLT YELLOW·ORANGE)는 비활성 */
.dkcll-card:not(a):not(.dkcll-locked){filter:grayscale(1);opacity:.45;cursor:default;pointer-events:none;box-shadow:none}
/* 참여왕(호수 묶음) */
.dk-ldl{max-width:1100px;margin:0 auto;font-family:'Noto Sans KR',sans-serif}
.dk-ldl-ban{display:flex;flex-direction:column;align-items:center;gap:4px;padding:26px 16px 22px;margin-bottom:14px;border-radius:18px;background:linear-gradient(135deg,#fff8dc,#fff 55%,#e8f4fb);border:2px solid #f0d777}
.dk-ldl-ban .v{font-size:34px;font-weight:900;color:#0b5a8a;letter-spacing:1px}.dk-ldl-ban .t{font-size:46px;font-weight:900;color:#0b5a8a}
.dk-ldl-bar{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;color:#55606b;font-size:14px}
.dk-ldl-bar button{background:#f04e2a;color:#fff;border:0;border-radius:6px;padding:8px 16px;font-weight:700;cursor:pointer}
.dk-ldl-tw{overflow-x:auto}.dk-ldl table{width:100%;border-collapse:collapse;font-size:14.5px;background:#fff}
.dk-ldl th{background:#e9ecef;font-weight:700;padding:11px 8px;border:1px solid #c9d1d8}.dk-ldl td{padding:10px 8px;border:1px solid #d5dde4;text-align:center}
.dk-ldl td.l{text-align:left}.dk-ldl tr.win td:last-child{color:#1f7a45;font-weight:700}.dk-ldl tbody tr:nth-child(even) td{background:#fafbfc}
.dk-ldl-wait{text-align:center;color:#888;padding:30px}
@media (max-width:700px){.dk-ldl-ban .v{font-size:22px}.dk-ldl-ban .t{font-size:30px}.dk-ldl table{font-size:13px}}
@media print{.dk-ldl-bar button{display:none}}
/* 완료 상태를 받기 전엔 재생 버튼·배지 자리를 비워 둠 (재생 → 배지로 바뀌는 깜빡임 없이) */
html:not(.dk-prog) .dkcl-wrap .cl-lesson-icon,html:not(.dk-prog) .hcl-wrap .cl-lesson-icon,html:not(.dk-prog) .dklg-lesson-action>*,
html:not(.dk-prog) .dkelg-play-btn,html:not(.dk-prog) .dkelg-badge-link{visibility:hidden}
.dk-ldl-x{position:fixed;top:18px;right:22px;z-index:50;width:46px;height:46px;border-radius:50%;background:#555;color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:24px;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.dk-ldl-x:hover{background:#333}@media print{.dk-ldl-x{display:none}}
/* 인쇄: 사이트 머리글·로고·카톡·편집 버튼 등은 빼고 본문만 */
@media print{.dk-shell,#dk-shell,.dk-topbar,.dk-hdr,.dk-kakao,#dk-editbtn,#dk-viewas,.dk-fab,.dk-ldl-x,.dk-ldl-bar button,.dk-close-wrap{display:none!important}main.dk-page{padding-top:0!important;margin-top:0!important}}
@media print{.dk-ldl-bar,.dkp-wrap,.dk-modal{display:none!important}.dk-ldl-ban{margin-bottom:10px;border-color:#ddd}body{background:#fff!important}}
.dk-ldl-img{display:block;width:100%;max-width:1024px;height:auto;margin:0 auto 12px}
/* 휴대폰: 강좌·호수 목록 제목을 한 줄로 (데일리키즈·스토리파닉스·CLT·영어교사·이야기한글) */
@media (max-width:700px){
  html body .dk-page [id^="dkcg_"] .cg-title-area,html body .dk-page #dkspc-top .cg-title-area{min-width:0;max-width:100%;flex:1 1 100%;flex-wrap:nowrap}
  html body .dk-page [id^="dkcg_"] .cg-title,html body .dk-page #dkspc-top .cg-title{font-size:clamp(15px,5vw,22px)!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;min-width:0;letter-spacing:-.3px}
  html body .dk-page [id^="dkcg_"] .cg-back,html body .dk-page #dkspc-top .cg-back{width:34px;height:34px}
  html body .dk-page [id^="dkcg_"] .cg-btn-group,html body .dk-page #dkspc-top .cg-btn-group{width:100%}
  html body .dk-page [id^="dkcg_"] .cg-action-btn,html body .dk-page #dkspc-top .cg-action-btn{flex:1;min-width:0!important;padding:12px 8px!important;font-size:14px!important}
  html body .dk-page [id^="dkcg_"] .cg-tab,html body .dk-page #dkspc-top .cg-tab{padding:8px 14px!important;font-size:14px!important}
  .cg-breadcrumb{font-size:12.5px}
  .dkcl-wrap .cl-title,.dket-wrap .cl-title{font-size:clamp(15px,6.2vw,24px)!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  .dkcl-wrap .cl-title-area,.dket-wrap .cl-title-area{min-width:0}
  .hcl-wrap .cl-title{font-size:clamp(18px,6vw,26px)!important}
  .dkelg-title-text{font-size:clamp(18px,5.5vw,24px)!important;white-space:nowrap}
}

/* 휴대폰: 제목 한 줄 (id 로 지정해야 강좌 목록 자체 스타일보다 우선) · 호수 카드는 그림 넓게, 숫자 좁게 */
@media (max-width:700px){
  html body #dkcg_1 .cg-title,html body #dkcg_2 .cg-title,html body #dkcg_3 .cg-title,html body #dkcg_4 .cg-title,html body #dkspc-top .cg-title{font-size:clamp(13px,3.9vw,22px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;min-width:0;letter-spacing:-.4px}
  html body #dkcg_1 .cg-title-area,html body #dkcg_2 .cg-title-area,html body #dkcg_3 .cg-title-area,html body #dkcg_4 .cg-title-area,html body #dkspc-top .cg-title-area{min-width:0;max-width:100%;flex:1 1 100%;flex-wrap:nowrap}
  html body #dkcg_1 .cg-back,html body #dkcg_2 .cg-back,html body #dkcg_3 .cg-back,html body #dkcg_4 .cg-back,html body #dkspc-top .cg-back{width:34px;height:34px;flex-shrink:0}
  html body #dkcg_1 .cg-thumb-wrap,html body #dkcg_2 .cg-thumb-wrap,html body #dkcg_3 .cg-thumb-wrap,html body #dkcg_4 .cg-thumb-wrap,html body #dkspc-top .cg-thumb-wrap{flex:0 0 62%!important}
  html body #dkcg_1 .cg-vol-num,html body #dkcg_2 .cg-vol-num,html body #dkcg_3 .cg-vol-num,html body #dkcg_4 .cg-vol-num,html body #dkspc-top .cg-vol-num{font-size:40px!important}
  html body #dkcg_1 .cg-vol-unit,html body #dkcg_2 .cg-vol-unit,html body #dkcg_3 .cg-vol-unit,html body #dkcg_4 .cg-vol-unit,html body #dkspc-top .cg-vol-unit{font-size:14px!important;letter-spacing:1px!important}
  html body #dkcg_1 .cg-vol-badge,html body #dkcg_2 .cg-vol-badge,html body #dkcg_3 .cg-vol-badge,html body #dkcg_4 .cg-vol-badge,html body #dkspc-top .cg-vol-badge{min-height:90px!important}
}

@media (max-width:700px){html body #dkspc-top .cg-title{font-size:clamp(12px,3.5vw,22px)!important}}
/* 휴대폰: 그림 위·글자 아래 강좌 카드(CLT·스토리파닉스 VOL.1 …) — 글자 크게, 아래 빈칸 줄여 카드 낮게 */
@media (max-width:700px){
  html body :is(#dkcg_1,#dkcg_2,#dkcg_3,#dkcg_4,#dkcg_5,#dkcg_6).cg-stack .cg-vol-badge{min-height:0!important;padding:9px 0 11px!important}
  html body :is(#dkcg_1,#dkcg_2,#dkcg_3,#dkcg_4,#dkcg_5,#dkcg_6).cg-stack .cg-vol-st{font-size:clamp(20px,6vw,24px)!important;font-weight:900!important;letter-spacing:.3px}
  html body :is(#dkcg_1,#dkcg_2,#dkcg_3,#dkcg_4,#dkcg_5,#dkcg_6).cg-stack .cg-thumb-wrap{flex:none!important}
}
/* 휴대폰: 강좌 목록을 위로 바짝 · 경로(Home › …) 숨김 · 위 버튼 글자 한 줄, 아이콘 작게 */
@media (max-width:700px){
  main.dk-page:has([id^="dkcg_"],#dkspc-top){padding-top:4px!important}
  html body #dkcg_1,html body #dkcg_2,html body #dkcg_3,html body #dkcg_4,html body #dkspc-top{padding:6px 0 0!important}
  html body .cg-breadcrumb{display:none!important}
  html body #dkcg_1 .cg-header,html body #dkcg_2 .cg-header,html body #dkcg_3 .cg-header,html body #dkcg_4 .cg-header,html body #dkspc-top .cg-header{margin-bottom:12px!important;gap:10px!important}
  html body #dkcg_1 .cg-action-btn,html body #dkcg_2 .cg-action-btn,html body #dkcg_3 .cg-action-btn,html body #dkcg_4 .cg-action-btn,html body #dkspc-top .cg-action-btn{white-space:nowrap!important;font-size:clamp(12px,3.8vw,16px)!important;letter-spacing:-.5px;padding:10px 3px!important;gap:3px!important}
  html body #dkcg_1 .cg-action-btn svg,html body #dkcg_2 .cg-action-btn svg,html body #dkcg_3 .cg-action-btn svg,html body #dkcg_4 .cg-action-btn svg,html body #dkspc-top .cg-action-btn svg{width:18px!important;height:18px!important}
}
/* 게임 'PC 버전 전용' 안내 창: 휴대폰·태블릿 세로에서 화면 안에 가운데로 (게임이 창 스타일을 다시 써도 유지) */
.device-restriction-message{box-sizing:border-box!important;width:100%!important;max-width:100vw!important;left:0!important;right:0!important;padding:24px 22px!important;overflow:auto!important}
.device-restriction-message>*{max-width:100%!important;box-sizing:border-box}
.device-restriction-message .fa-desktop{font-size:clamp(46px,15vw,5rem)!important;margin-bottom:1.1rem!important}
.device-restriction-message h2{font-size:clamp(21px,6vw,1.9rem)!important;margin:0 0 .8rem!important}
.device-restriction-message p{font-size:clamp(13px,3.6vw,1.05rem)!important;line-height:1.6!important;word-break:keep-all;overflow-wrap:anywhere;margin:0 auto!important}

/* 모두에게 잠긴 강좌(준비 중): 회색 + 가운데 자물쇠 */
.dk-closed{filter:none!important;opacity:1!important}
/* 잠긴 카드: 그림은 컬러 그대로 살짝만 어둡게 + 가운데 자물쇠 · 글자는 그대로 (그림 없는 칸만 흐리게) */
.dk-closed>*:not(.dk-lock-ov){filter:none;opacity:1}
.dk-closed img{filter:brightness(.95)}
.dk-closed:not(:has(img))>*:not(.dk-lock-ov){filter:grayscale(.7);opacity:.6}
html body .cg-card:has(> a.dk-closed){opacity:1!important;filter:none!important}
.dk-lock-ov{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:3}
.dk-lock-ov svg{display:none!important}
.dk-lock-ov .lk{display:block;width:64px;height:64px;border-radius:50%;background:rgba(40,40,40,.8) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M144%20144v48h160v-48c0-44.2-35.8-80-80-80s-80%2035.8-80%2080zM80%20192v-48C80%2064.5%20144.5%200%20224%200s144%2064.5%20144%20144v48h16c35.3%200%2064%2028.7%2064%2064v192c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64V256c0-35.3%2028.7-64%2064-64h16z%22/%3E%3C/svg%3E") center/28px 32px no-repeat;box-shadow:0 3px 10px rgba(0,0,0,.3);flex:none}
@media (max-width:700px){.dk-lock-ov .lk{width:50px;height:50px;background-size:22px 25px}}
/* 휴대폰: 모든 화면 내용을 위로 바짝 · 교실영어·5분특강 첫 화면 버튼 글자 한 줄 */
@media (max-width:700px){
  main.dk-page{padding-top:6px!important}
  html body .dk-page .dkcll-wrap{padding-top:6px!important;padding-left:0!important;padding-right:0!important}
  html body .dk-page .dkcl-wrap,html body .dk-page .dket-wrap,html body .dk-page .hcl-wrap{padding-top:6px!important}
  html body .dk-page .dkcll-header{margin-bottom:12px!important}
  html body .dk-page .dkcll-btn{white-space:nowrap!important;font-size:clamp(12px,3.8vw,16px)!important;letter-spacing:-.5px;padding:10px 3px!important;gap:3px!important}
  html body .dk-page .dkcll-btn i{font-size:20px!important}
  html body .dk-page .dkcll-btn svg{width:20px!important;height:20px!important}
}
/* 휴대폰: 참여왕 표 — 진행률 칸(모두 100%)·연도 빼고 글자 크게, 이름 칸 넓게 */
@media (max-width:600px){
  html body table.ld-completed-users-table,html body .dk-ldl table{width:100%!important;table-layout:auto!important;font-size:14.5px!important}
  html body table.ld-completed-users-table th,html body table.ld-completed-users-table td,html body .dk-ldl th,html body .dk-ldl td{padding:10px 4px!important;word-break:keep-all;overflow-wrap:anywhere;line-height:1.35}
  html body table.ld-completed-users-table th:last-child,html body table.ld-completed-users-table td:last-child,html body .dk-ldl th:last-child,html body .dk-ldl td:last-child:not([colspan]){display:none}
  html body table.ld-completed-users-table td:first-child,html body .dk-ldl td:first-child{width:30px;color:#888}
  html body table.ld-completed-users-table td.nm,html body .dk-ldl td.l{font-weight:600;text-align:left}
  .dk-y{display:none}
}
/* 휴대폰: 영어교사교육 카드 이름 — 길면 줄여서 작게 하지 말고 두 줄로 */
@media (max-width:640px){
  html body .et-card-name{font-size:16px!important;white-space:normal!important;word-break:keep-all;line-height:1.25!important;padding:10px 8px 11px!important;min-height:calc(2.5em + 21px);display:flex;align-items:center;justify-content:center}
}
/* 휴대폰: 자료실(담임·영어교사·스토리파닉스·CLT·이야기한글) — 위로 바짝, 제목과 ✕ 안 겹치게 */
@media (max-width:600px){
  html body [id^="dktr_"]:not([id*="_bpop"]){padding:0 0 24px!important}
  html body [id^="dktr_"] .dktr-title-row{padding:0 58px!important;margin-bottom:16px!important;min-height:44px}
  html body [id^="dktr_"] .dktr-title{font-size:clamp(19px,6.2vw,28px)!important;white-space:nowrap;letter-spacing:-.6px;text-align:center;line-height:1.2;margin:0!important;overflow:hidden;max-width:100%;min-width:0}
  html body [id^="dktr_"] .dktr-btn.has-label,html body [id^="dktr_"] .dktr-btn.no-label{max-width:none!important;max-height:none!important;width:100%}
  /* 위 그림 단추: 글자가 그림 안에 있어서, 두 칸으로 넓혀 글자를 크게 */
  /* 스니펫 규칙이 #dktr_N 으로 지정돼 있어서 :is(#…) 로 같은 세기 이상으로 */
  html body :is(#dktr_1,#dktr_2,#dktr_3,#dktr_4,#dktr_5,#dktr_6,#dktr_7,#dktr_8,#dktr_9) .dktr-btns{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
  html body :is(#dktr_1,#dktr_2,#dktr_3,#dktr_4,#dktr_5,#dktr_6,#dktr_7,#dktr_8,#dktr_9) .dktr-btns .dktr-btn{grid-column:auto!important;min-height:0!important}
  html body :is(#dktr_1,#dktr_2,#dktr_3,#dktr_4,#dktr_5,#dktr_6,#dktr_7,#dktr_8,#dktr_9) .dktr-btns .dktr-btn.no-label{aspect-ratio:auto!important;height:auto!important;align-self:start}
  html body :is(#dktr_1,#dktr_2,#dktr_3,#dktr_4,#dktr_5,#dktr_6,#dktr_7,#dktr_8,#dktr_9) .dktr-btns .dktr-btn.no-label .dktr-btn-img{height:auto!important;object-fit:contain!important}
  html body [id^="dktr_"] .dktr-close{width:50px!important;height:50px!important;top:50%;transform:translateY(-50%)}
  html body [id^="dktr_"] .dktr-close svg{width:26px!important;height:26px!important}
  html body [id^="dktr_"] .dktr-card-sublabel{font-size:13.5px!important;word-break:keep-all!important;line-height:1.35}
  /* 단계 카드: 휴대폰에선 그림 위 · 글자 아래 (옆으로 두면 캐릭터가 잘리고 글자가 세 줄로 쪼개짐) */
  html body [id^="dktr_"] .dktr-card.with-img{flex-direction:column!important}
  html body [id^="dktr_"] .dktr-card.with-img .dktr-card-img{width:100%!important;height:128px!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center 12%!important;background:var(--card-color);border-radius:14px 14px 0 0}
  html body [id^="dktr_"] .dktr-card.with-img .dktr-card-body{padding:10px 6px 12px!important;gap:5px!important;border-radius:0 0 14px 14px}
  html body [id^="dktr_"] .dktr-card.with-img .dktr-card-label{font-size:18px!important}
  html body [id^="dktr_"] .dktr-card.with-img .dktr-card-sublabel br{display:none}
  html body [id^="dktr_"] .dktr-card.with-img .dktr-card-icon{width:42px!important;height:42px!important;margin-top:2px}
  html body [id^="dktr_"] .dktr-card.with-img .dktr-card-icon svg{width:19px!important;height:19px!important}
}
@media (hover:none){html body [id^="dktr_"] .dktr-btn:hover,html body [id^="dktr_"] .dktr-card:hover,html body [id^="dktr_"] .dktr-mid:hover{transform:none!important}}
/* 휴대폰: 영어교사교육 첫 화면 — 위로, 좌우 여백 맞춤, 위 버튼 글자 한 줄 */
@media (max-width:640px){
  html body [id^="dk_et_"]{padding:4px 0 40px!important}
  html body [id^="dk_et_"] .et-header{margin-bottom:16px!important;gap:10px!important}
  html body [id^="dk_et_"] .et-breadcrumb{max-height:0!important;overflow-y:hidden!important;margin:0!important;padding:0!important}
  html body [id^="dk_et_"] .et-top-btns a,html body [id^="dk_et_"] .et-top-btns span{padding:12px 6px!important;font-size:clamp(14px,4.2vw,17px)!important;min-width:0!important;gap:6px!important;letter-spacing:-.4px}
  html body [id^="dk_et_"] .et-top-btns svg{width:18px!important;height:18px!important}
  html body [id^="dk_et_"] .et-top-btns i{font-size:17px!important}
}

/* 휴대폰: 담임교사 5분특강 · 교실영어 첫 화면 큰 제목 한 줄 (site.js 가 들어가는 크기로 맞춤) */
@media (max-width:700px){
  html body .dklg-title-wrap,html body .dkcll-title-wrap{min-width:0;max-width:100%}
  html body .dklg-title,html body .dkcll-title{min-width:0;flex:1;overflow:hidden}
  html body .dklg-title .line2,html body .dkcll-title .line2{white-space:nowrap!important;overflow:hidden;letter-spacing:-.5px}
}
/* 휴대폰: 화면 아래 '* 위 버튼을 클릭하면…' 설명글 작게 */
@media (max-width:700px){
  html body .dktr-footer,html body .cg-footer-note,html body .cl-footer,html body .dkcll-footer,html body .dkelg-footer,html body .dklg-footer,html body .hcll-footer,html body .spc-note{font-size:12.5px!important;line-height:1.55!important;font-weight:500!important;letter-spacing:-.2px}
}
/* 휴대폰: 교실영어·영어교사수업 강좌 화면 — 위줄은 티칭가이드 · ✕, 제목은 아래 한 줄로 크게 / 자료 카드 이름 크게 */
@media (max-width:700px){
  html body .dkcl-wrap .cl-header,html body .dket-wrap .cl-header{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 10px!important}
  html body .dkcl-wrap .cl-header-left,html body .dket-wrap .cl-header-left{order:1}
  html body .dkcl-wrap .cl-title-area,html body .dket-wrap .cl-title-area{display:contents!important}
  html body .dkcl-wrap .cl-close,html body .dket-wrap .cl-close{order:2;margin-left:auto;width:50px!important;height:50px!important;font-size:26px!important;flex:none}
  html body .dkcl-wrap .cl-title,html body .dket-wrap .cl-title{order:3;flex:1 1 100%;text-align:left;white-space:nowrap;overflow:hidden;min-width:0;line-height:1.25}
  html body .dkcl-wrap .cl-header-left .cl-btn,html body .dket-wrap .cl-header-left .cl-btn{flex-direction:row!important;gap:6px!important;padding:8px 14px!important;font-size:14px!important;min-height:0!important;border-radius:20px!important}
  html body .dkcl-wrap .cl-header-left .cl-btn svg,html body .dket-wrap .cl-header-left .cl-btn svg{width:16px!important;height:16px!important;margin:0!important}
  html body .dkcl-wrap .cl-res-name,html body .dket-wrap .cl-res-name{font-size:15px!important;letter-spacing:-.3px}
  html body .dkcl-wrap .cl-res-icon,html body .dket-wrap .cl-res-icon{font-size:14px!important}
}
/* 휴대폰: 교실영어·영어교사수업 — 자료 카드 이름 진하게 · 왼쪽 'UNIT1 1주' 크게 */
@media (max-width:700px){
  html body .dkcl-wrap .cl-res-name,html body .dket-wrap .cl-res-name{font-weight:900!important;-webkit-text-stroke:.35px #fff;text-shadow:0 1px 2px rgba(0,0,0,.35)}
  html body .dkcl-wrap .cl-res-icon,html body .dket-wrap .cl-res-icon{font-weight:900!important;color:color-mix(in srgb,var(--ac) 62%,#000)!important;-webkit-text-stroke:.3px currentColor}
  html body .dkcl-wrap .cl-unit-label,html body .dket-wrap .cl-unit-label{min-width:60px!important;font-size:15px!important;font-weight:900!important;line-height:1.35!important;padding:8px 4px!important;letter-spacing:-.3px;-webkit-text-stroke:.3px #fff}
}
@media (max-width:700px){
  html body .dkcl-wrap .cl-res-link,html body .dket-wrap .cl-res-link{font-weight:800!important;padding:5px 0!important;gap:5px!important}
  html body .dkcl-wrap .cl-res-link svg,html body .dket-wrap .cl-res-link svg{width:15px!important;height:15px!important;flex:none}
  /* 처음부터 큰 글씨 (site.js 가 나중에 맞추는 크기와 거의 같게 → 작게 나왔다 커지는 깜빡임 없음) */
  html body .dkcl-wrap .cl-res-card a.cl-res-link,html body .dket-wrap .cl-res-card a.cl-res-link{font-size:clamp(13px,4.3vw,17px)!important;white-space:nowrap!important}
  html body .dkcl-wrap .cl-res-card-body,html body .dket-wrap .cl-res-card-body{padding-left:4px!important;padding-right:2px!important}
}
/* 휴대폰: 영어교사교육 강좌(홈페이지 활용 수업 등) — 제목이 ✕ 와 안 겹치게, 카드 사이 여백 줄임 */
@media (max-width:600px){
  /* 윗줄: 데일리키즈 잉글리쉬 · ✕ / 아랫줄: 제목 한 줄 크게 */
  html body .dkelg-title-wrap{flex-wrap:wrap!important;padding:0 46px 0 0!important;min-width:0;box-sizing:border-box;row-gap:8px!important;min-height:38px;align-content:center}
  html body .dkelg-title-text{flex:0 0 calc(100% + 46px)!important;max-width:calc(100% + 46px);min-width:0;overflow:hidden;white-space:nowrap!important}
  html body .dkelg-close-btn{top:0!important;right:0!important}
  html body .dkelg-header{margin-bottom:12px!important}
  html body .dkelg-grid,html body .dkelg-grid[data-cols]{gap:12px 10px!important;row-gap:14px!important}
  html body .dkelg-card-label{font-size:14px!important;font-weight:700}
}
/* 휴대폰: 교실영어 · 영어교사교육 · 담임교사교육(5분특강) — 회색 글씨를 진하게 */
@media (max-width:700px){
  html body .et-card-name,html body .dkelg-card-label,html body .dkelg-title-text,html body .dkcll-card-sublabel,html body .dklg-dl-text,html body .dklg-title .line1,html body .dkcll-title .line1,html body .dkelg-dlmenu-name,html body .cl-lesson-name{color:#222!important;font-weight:800!important}
  html body .et-title-sub,html body .dklg-notice-desc{color:#555!important}
  html body .dkcll-card-label,html body .dktr-card-sublabel,html body .cg-breadcrumb,html body .dkcl-wrap .cl-tab,html body .dket-wrap .cl-tab{font-weight:800!important}
}
@media (max-width:700px){
  html body .dk-page .hcll-btn{white-space:nowrap!important;font-size:clamp(12px,3.8vw,16px)!important;letter-spacing:-.5px;padding:10px 3px!important;gap:3px!important}
}
@media (max-width:700px){html body .cl-lesson-btn.fri .cl-lesson-name,html body .cl-lesson-btn.fri .cl-lesson-day{color:#fff!important}}
/* 휴대폰: 영어교사교육 강좌 '전체 다운로드'를 화면 아래에 고정 (발표회 '영상 골라보기'처럼) — 모든 영어교사교육 강좌 같은 모양 */
@media (max-width:600px){
  html body .dkelg-header .dkelg-all-dl{position:fixed!important;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:9990;
    display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:10px!important;height:54px;min-width:0!important;padding:0 16px!important;
    border-radius:14px!important;box-shadow:0 6px 18px rgba(0,0,0,.22);margin:0!important;width:auto!important}
  html body .dkelg-header .dkelg-all-dl .dkelg-btn-icon svg{width:22px!important;height:22px!important}
  html body .dkelg-header .dkelg-all-dl .dkelg-btn-text{font-size:17px!important;font-weight:800!important;letter-spacing:-.3px}
  html body .dkelg-wrap:has(.dkelg-all-dl){padding-bottom:88px!important}
  html body:has(.dkelg-all-dl) .dk-kakao,html body:has(.dkelg-all-dl) .dk-qlink{bottom:84px!important}
}
@media (max-width:600px){html body .dkelg-card-label{display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important;white-space:normal!important;word-break:keep-all;font-size:13.5px!important;line-height:1.35!important}}
/* 휴대폰: '전체 다운로드' 고르기 창을 화면 아래에서 올라오는 판으로 (화면 밖으로 안 나가게) */
@media (max-width:600px){
  html body .dkelg-dlmenu{left:10px!important;right:10px!important;top:auto!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;
    max-height:78vh!important;overflow-y:auto!important;box-sizing:border-box!important;box-shadow:0 -6px 30px rgba(0,0,0,.28)!important;animation:dkSheet .18s ease-out}
  html body .dkelg-dlmenu *{box-sizing:border-box}
  html body .dkelg-dlmenu a{max-width:100%}
}
@keyframes dkSheet{from{transform:translateY(30px);opacity:0}to{transform:none;opacity:1}}
@media (max-width:700px){html body .cl-lesson-btn.quiz .cl-lesson-name,html body .cl-lesson-btn.quiz .cl-lesson-day{color:#fff!important}}

/* 볼 수 없는 화면(기관회원전용·준비 중): 뒤 내용 가림 */
body.dk-blocked main.dk-page{filter:blur(10px) grayscale(1);pointer-events:none!important;user-select:none}
/* 버튼처럼 낮은 곳: 버튼 전체를 회색으로, 자물쇠는 작게 오른쪽에 */
.dk-closed.dk-lk-sm{filter:grayscale(1)!important;opacity:.55!important}.dk-closed.dk-lk-sm>*:not(.dk-lock-ov){filter:none;opacity:1}
.dk-lock-ov.sm{inset:50% 6px auto auto;transform:translateY(-50%)}.dk-lock-ov.sm .lk{width:22px;height:22px;background-size:10px 12px;box-shadow:none}
.dk-npv{color:#999!important;justify-content:flex-start!important;gap:0!important}.dk-npv::before{content:'';display:inline-block;width:13px;height:15px;margin-right:6px;vertical-align:-1px;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20fill%3D%22%23aaa%22%20d%3D%22M144%20144v48h160v-48c0-44.2-35.8-80-80-80s-80%2035.8-80%2080zM80%20192v-48C80%2064.5%20144.5%200%20224%200s144%2064.5%20144%20144v48h16c35.3%200%2064%2028.7%2064%2064v192c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64V256c0-35.3%2028.7-64%2064-64h16z%22/%3E%3C/svg%3E") center/contain no-repeat}   /* 원장: 신청 안 한 단계(들어갈 수는 있음) */
/* 보고서: 불러오기 전에는 '목록이 없습니다' 대신 '불러오는 중' */
.rr-wrap:not(.rr-done) .rr-empty-wrap>*{visibility:hidden}
.rr-wrap:not(.rr-done) .rr-empty-wrap{position:relative}
.rr-wrap:not(.rr-done) .rr-empty-wrap::after{content:'불러오는 중…';position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);text-align:center;color:#999;font:600 18px 'Noto Sans KR',sans-serif}
/* 보고서 표 머리: 진한 바탕 + 흰 글씨 */
#reportTable tr.title-row th{background:#1f4e79!important;color:#fff!important;border-color:#1f4e79!important}
/* 보고서: 휴대폰 */
@media (max-width:700px){
  .rr-wrap .rr-title{font-size:clamp(17px,5.6vw,24px)!important;white-space:nowrap;line-height:1.3!important;letter-spacing:-.05em;padding:0 44px 0 6px!important;margin-bottom:10px!important;overflow:hidden}
  .rr-wrap .rr-desc,.rr-wrap .rr-desc .rr-note,.rr-wrap .rr-desc .rr-tip{font-size:12px!important;line-height:1.6!important;word-break:keep-all;overflow-wrap:anywhere;white-space:normal!important;max-width:100%}
  .rr-wrap .rr-desc .rr-tip{margin-bottom:4px}
  .rr-wrap #searchContainer{display:flex!important;flex-direction:column;align-items:stretch;gap:6px;margin:12px 0 10px!important}
  .rr-wrap #searchInput{width:100%!important;max-width:none!important;height:38px;font-size:14px!important}
  .rr-wrap #buttonContainer{display:grid!important;grid-template-columns:repeat(4,1fr);gap:5px;margin:0!important}
  .rr-wrap #buttonContainer button{font-size:12.5px!important;padding:9px 2px!important;white-space:nowrap;margin:0!important;min-width:0!important;width:100%}
  #reportTable th,#reportTable td{font-size:11px!important;padding:5px 3px!important}
}
/* 보고서 표 머리 정렬 표시 */
#reportTable .rr-sa{display:inline-block;margin-left:6px;font-size:15px;line-height:1;color:#fff;opacity:.75;vertical-align:-1px}
#reportTable .rr-sa.on{opacity:1;color:#ffd54f;font-size:16px}
#reportTable tr.title-row th{white-space:nowrap}
#reportTable tr.title-row th:hover .rr-sa{opacity:1}
/* 보고서 첫 화면(교실영어·이야기한글): 왼쪽 호수 숫자 · VOL. 크고 진하게 */
html body .rrc-num,html body .rrhc-num{font-weight:900!important;-webkit-text-stroke:1.2px #fff;letter-spacing:-1px}
html body .rrc-sub,html body .rrhc-sub{font-weight:900!important;-webkit-text-stroke:.4px #fff}
@media (max-width:768px){html body .rrc-num,html body .rrhc-num{font-size:40px!important}html body .rrc-sub,html body .rrhc-sub{font-size:16px!important}}
@media (max-width:480px){html body .rrc-num,html body .rrhc-num{font-size:36px!important}html body .rrc-sub,html body .rrhc-sub{font-size:15px!important}}
/* 보고서 첫 화면 제목('교실영어 보고서') 휴대폰에서 크고 진하게 */
@media (max-width:768px){html body .rrc-header-title,html body .rrhc-header-title{font-size:30px!important;font-weight:900!important;color:#555!important;letter-spacing:-.8px}}
@media (max-width:480px){html body .rrc-header-title,html body .rrhc-header-title{font-size:clamp(24px,7.4vw,30px)!important}}
/* 교실영어·영어교사수업·이야기한글 단계 카드: 글자 위 작은 아이콘 없앰 (모든 화면) */
html body .dkcll-card-bottom :is(.dkcll-card-icon,.dkcll-card-icon-fa,.dkcll-card-icon-default),
html body .hcll-card-bottom :is(.hcll-card-icon,.hcll-card-icon-fa,.hcll-card-icon-default){display:none!important}
/* 휴대폰 보고서 화면 ✕ 크게 (제목은 ✕ 와 안 겹치게 오른쪽 여백 넓힘) */
@media (max-width:700px){
  html body .rr-close-btn{width:46px!important;height:46px!important;font-size:24px!important;line-height:46px!important;padding:0!important}
  html body .rr-wrap .rr-title{padding-right:56px!important}
}
/* 휴대폰: 자료실 '출력 방법 안내' 창 — 화면 가운데에 꼭 맞게, 오른쪽 위 ✕ (어디를 눌러도 닫힘) */
@media (max-width:700px){
  html body .dktr-tip{left:10px!important;right:10px!important;width:auto!important;top:50%!important;max-height:84vh;overflow:auto;box-sizing:border-box;
    padding:44px 14px 14px!important;pointer-events:auto!important;box-shadow:0 0 0 100vmax rgba(0,0,0,.5),0 12px 40px rgba(0,0,0,.35)!important;transform:translateY(-50%)!important}
  html body .dktr-tip::before{content:"✕";position:absolute;top:6px;right:8px;width:36px;height:36px;border-radius:50%;background:#555;color:#fff;font:700 18px/36px sans-serif;text-align:center}
  html body .dktr-tip .dktr-tip-title{font-size:16px;flex-wrap:wrap}
  html body .dktr-tip li{font-size:14px}
}
/* 휴대폰 참여왕 표: 가운데로 몰리지 않게 양옆 여백 줄임 */
@media (max-width:700px){
  html body .ld-completed-users-container{padding:6px 0 10px!important;box-shadow:none!important}
  html body .ld-completed-users-wrap .ld-completed-users-header{max-width:100%;height:auto}
}
/* 자료실 출력 안내 단추: 두 줄(안내 / 마우스를 올려보세요) */
.dktr-tip-trigger .dk-tip-tx{display:inline-block;text-align:center;line-height:1.3}
.dktr-tip-trigger .dk-tip-tx small{font-size:.82em;font-weight:700;opacity:.9}
/* 휴대폰 보고서 첫 화면('데일리키즈 보고서') 제목 크고 진하게 */
@media (max-width:700px){html body .drb-title{font-size:clamp(26px,8.6vw,34px)!important;font-weight:900!important;color:#555!important;white-space:nowrap;letter-spacing:-.8px}}
/* 휴대폰 보고서 화면: 제목 줄 높이를 ✕(46px)에 맞춰 아래 설명글과 겹치지 않게 */
@media (max-width:700px){
  html body .rr-header-wrap{min-height:46px;margin-bottom:12px!important}
  html body .rr-header-wrap .rr-title{line-height:46px!important;margin:0!important}
  html body .rr-header-wrap .rr-close-btn{top:0!important;right:0!important}
}
/* 휴대폰 보고서 첫 화면: 카드 이름 크게 · 아래 설명글 작게 */
@media (max-width:700px){
  html body .drb-card-name{font-size:clamp(19px,6vw,24px)!important;letter-spacing:-.5px}
  html body .drb-card-sub{font-size:clamp(13px,4vw,16px)!important;font-weight:700!important}
  html body .drb-title ~ p{font-size:13.5px!important;line-height:1.55!important;margin:2px 0!important;letter-spacing:-.2px}
}

/* 메뉴 잠금(②안): 회색 칸·앞 자물쇠 대신 연한 글자 + 뒤에 작은 자물쇠 */
.dk-nlock::before,.dk-npv::before{display:none!important}
.dk-nlock{color:#b5b5b5!important} .dk-npv{color:#a8a8a8!important}
.dk-nlock::after,.dk-npv::after{content:'';display:inline-block;width:9px;height:11px;margin-left:5px;vertical-align:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20fill%3D%22%23aaa%22%20d%3D%22M144%20144v48h160v-48c0-44.2-35.8-80-80-80s-80%2035.8-80%2080zM80%20192v-48C80%2064.5%20144.5%200%20224%200s144%2064.5%20144%20144v48h16c35.3%200%2064%2028.7%2064%2064v192c0%2035.3-28.7%2064-64%2064H64c-35.3%200-64-28.7-64-64V256c0-35.3%2028.7-64%2064-64h16z%22/%3E%3C/svg%3E") center/contain no-repeat;opacity:.6}
/* 5분특강 카드: 잠긴 호수(교육자료 없음)도 아래 칸을 채워 다른 카드와 높이 같게 */
.dklg-card:not(:has(.dklg-card-bottom))::after{content:'';display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:56px;padding:10px 12px;background:#fff;border-top:1px solid rgba(0,0,0,.07);color:#b0b0b0;font-weight:800;font-size:clamp(13px,1.3vw,16px)}
@media (max-width:480px){.dklg-card:not(:has(.dklg-card-bottom))::after{min-height:50px;font-size:12px}}
/* 이야기한글 전자책: 예전처럼 화면 전체에 꽉 차게 (머리글 없음 · 가운데 정렬 · 그림 크게) */
main.dk-page:has(div[id^="hebd_"]:not([id*="-"])){max-width:none!important;padding:0!important;margin:0!important}
div[id^="hebd_"]:not([id*="-"]){position:fixed!important;inset:0!important;z-index:9000!important;width:100vw!important;height:100vh!important;height:100dvh!important}
/* 이야기한글 강좌: 요일 버튼 테두리 두껍게 */
.hcl-wrap .cl-lesson-btn{outline-width:3px!important}
/* 이야기한글 문해력 도전: 화면 전체에 (가로 꽉 · 세로 화면 높이까지) */
main.dk-page:has(.q3-hdr){max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
main.dk-page div:has(> .q3-hdr){min-height:100vh;min-height:100dvh}

.dk-who-a{color:inherit!important;margin-left:8px;padding:2px 10px;border:1px solid rgba(255,255,255,.55);border-radius:999px;font-size:.85em;text-decoration:none!important;white-space:nowrap}.dk-who-a:hover{background:rgba(255,255,255,.18)}
