/* ISD Free Korean Resources v1.5.0 — 모바일 우선. 토큰은 /class-fees/(Quiet Premium)와 동일 계열. 모든 규칙은 .isd-fk 안쪽 */
.isd-fk {
  --red: #E30613; --navy: #25257E; --badge: #2A2E9E; --white: #fff;
  --cream: #FAF7F1; --offwhite: #FDFBF7; --line: #DDD8CE; --body: #6B6B6B; --ink: #1A1A2E;
  --n04: rgba(37,37,126,.04); --n08: rgba(37,37,126,.08); --n12: rgba(37,37,126,.12);
  --e1: 0 1px 2px rgba(37,37,126,.04), 0 2px 8px rgba(37,37,126,.04);
  --e2: 0 2px 4px rgba(37,37,126,.06), 0 12px 28px rgba(37,37,126,.08);
  --e3: 0 8px 16px rgba(37,37,126,.08), 0 24px 56px rgba(37,37,126,.12);
  --r-btn: 8px; --r-card: 12px; --r-media: 20px; --r-pill: 999px;
  --d-sm: 180ms; --d-md: 260ms; --d-lg: 420ms;
  --ez: cubic-bezier(.2,.8,.2,1); --ez-spring: cubic-bezier(.34,1.56,.64,1);
  color: var(--ink); font-size: 16px; line-height: 1.6; overflow-x: clip; background: #fff;
}
.isd-fk *, .isd-fk *::before, .isd-fk *::after { box-sizing: border-box; }
.isd-fk [hidden] { display: none !important; }
.isd-fk a { text-decoration: none !important; }
/* Astra 블록 레이아웃이 자식에게 거는 max-width 해제 → 섹션 배경이 화면 끝까지 */
.isd-fk > * { max-width: none !important; width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
.isd-fk__wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.isd-fk :focus-visible { outline: 3px solid var(--badge); outline-offset: 2px; border-radius: 6px; }
.isd-fk__ico { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 버튼 (수강료 페이지와 같은 8px 사각형) ---------- */
.isd-fk__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.isd-fk__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer;
  border: 1px solid var(--navy); background: #fff; color: var(--navy) !important;
  transition: background var(--d-sm) var(--ez), transform var(--d-sm) var(--ez), box-shadow var(--d-sm) var(--ez);
}
.isd-fk__btn:hover { background: #F2F2FB; transform: translateY(-1px); }
.isd-fk__btn:active { transform: translateY(0); }
.isd-fk__btn--primary { background: var(--red); border-color: var(--red); color: #fff !important; box-shadow: 0 6px 18px rgba(227,6,19,.22); }
.isd-fk__btn--primary:hover { background: #C70511; }
.isd-fk__btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff !important; }
.isd-fk__btn--ghost:hover { background: rgba(255,255,255,.12); }
.isd-fk__btn--wa { background: #1FA855; border-color: #1FA855; color: #fff !important; }
.isd-fk__btn--wa:hover { background: #178a45; }
.isd-fk__btn--small { min-height: 44px; padding: 0 14px; font-size: 15px; }
.isd-fk__btn--quiet { border-color: var(--line); color: var(--ink) !important; }
.isd-fk__linkbtn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 6px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--badge); cursor: pointer; }
.isd-fk__linkbtn:hover { text-decoration: underline; }
.isd-fk__linkbtn .isd-fk__ico { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* ---------- 히어로 ---------- */
.isd-fk__hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); padding: 44px 0 36px; overflow: hidden; }
.isd-fk__heromedia { position: absolute; inset: 0; z-index: -2; }
.isd-fk__heroimg { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; max-width: none; }
.isd-fk__hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(23,23,90,.94) 0%, rgba(37,37,126,.86) 45%, rgba(37,37,126,.55) 100%);
}
.isd-fk__hero:not(.has-img)::before { background: radial-gradient(120% 90% at 100% 0%, #3a3aa8 0%, var(--navy) 55%, #17175a 100%); }
.isd-fk__langbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.isd-fk__langbtn {
  min-height: 44px; min-width: 44px; padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.4); background: rgba(0,0,0,.08); color: #fff;
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.isd-fk__langbtn[aria-pressed="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.isd-fk__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #D5D6F7; }
.isd-fk .isd-fk__h1 { margin: 0 0 14px; color: #fff; font-size: clamp(32px, 7.2vw, 56px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; max-width: 18ch; }
.isd-fk:lang(ko), .isd-fk [lang="ko"] { word-break: keep-all; overflow-wrap: anywhere; }
.isd-fk__lead { margin: 0 0 24px; max-width: 580px; font-size: 17px; color: rgba(255,255,255,.9); }
.isd-fk__hero .isd-fk__btns { margin-bottom: 24px; }
.isd-fk__chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.isd-fk__chips::-webkit-scrollbar { display: none; }
.isd-fk__chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  color: #fff !important; font-size: 14px; font-weight: 600; transition: background var(--d-sm) var(--ez);
}
.isd-fk__chip:hover { background: rgba(255,255,255,.24); }

/* ---------- 숫자 밴드 ---------- */
.isd-fk__stats { background: var(--cream); border-bottom: 1px solid var(--line); }
.isd-fk__statlist { list-style: none; margin: 0; padding: 20px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; text-align: center; }
.isd-fk__statlist li { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.isd-fk__statlist strong { font-size: 28px; line-height: 1.1; font-weight: 800; color: var(--navy); }
.isd-fk__statlist span { font-size: 13px; color: var(--body); }

/* ---------- 오늘의 단어 ---------- */
.isd-fk__wod { background: #fff; border-bottom: 1px solid var(--line); }
.isd-fk__wodcard { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 0; }
.isd-fk__wodhead { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.isd-fk__eyebrow2 { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.isd-fk__woddate { font-size: 14px; color: var(--body); }
.isd-fk__wodmain { display: flex; align-items: center; gap: 14px; flex: 1 1 260px; min-width: 0; }
.isd-fk__wodemoji { font-size: 40px; line-height: 1; }
.isd-fk__wodword { font-size: clamp(28px, 6vw, 38px); line-height: 1.1; font-weight: 800; color: var(--navy); }
.isd-fk__wodmean { display: flex; flex-direction: column; gap: 0; min-width: 0; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.isd-fk__wodmean small { font-size: 11px; font-weight: 600; color: var(--body); }

/* ---------- TOPIK 카운트다운 ---------- */
.isd-fk__countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 16px 0 24px; padding: 18px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); box-shadow: var(--e1); }
.isd-fk__cdbadge { flex: 0 0 auto; min-width: 104px; padding: 12px 14px; border-radius: var(--r-card); background: var(--navy); color: #fff; font-size: 30px; font-weight: 800; line-height: 1; text-align: center; letter-spacing: .02em; }
.isd-fk__cdinfo { display: flex; flex-direction: column; gap: 2px; flex: 1 1 260px; min-width: 0; }
.isd-fk__cdinfo strong { font-size: 18px; color: var(--navy); }
.isd-fk__cdinfo small { margin-top: 4px; font-size: 12px; color: var(--body); }

/* ---------- 섹션 공통 ---------- */
.isd-fk__sec { padding: 52px 0; scroll-margin-top: 90px; }
.isd-fk__sec--alt { background: var(--cream); }
.isd-fk .isd-fk__h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(25px, 4.6vw, 36px); line-height: 1.22; font-weight: 800; letter-spacing: -.01em; }
.isd-fk .isd-fk__h3 { margin: 0 0 6px; color: var(--navy); font-size: 16px; font-weight: 700; }
.isd-fk__sub { margin: 0 0 24px; max-width: 720px; color: var(--body); }
.isd-fk__h2 + .isd-fk__cards, .isd-fk__h2 + .isd-fk__faq { margin-top: 20px; }
.isd-fk__fine { margin: 12px 0 0; font-size: 13px; color: var(--body); }
.isd-fk__warn { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--r-btn); background: #FFF4E5; color: #7A4B00; font-size: 14px; }

/* ---------- 한글 기초 ---------- */
.isd-fk__toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.isd-fk__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.isd-fk__tab {
  min-height: 44px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.isd-fk__tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.isd-fk__progress { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 420px; }
.isd-fk__bar { flex: 1 1 auto; height: 8px; border-radius: var(--r-pill); background: var(--n08); overflow: hidden; }
.isd-fk__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--navy), var(--badge)); transition: width var(--d-lg) var(--ez); }
.isd-fk__plabel { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.isd-fk__lab { display: grid; gap: 16px; }
.isd-fk__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; align-content: start; }
.isd-fk__jamo {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 72px; padding: 6px 4px; border-radius: var(--r-card); cursor: pointer;
  border: 1px solid var(--line); background: var(--offwhite); color: var(--ink); font: inherit;
  transition: transform var(--d-sm) var(--ez), border-color var(--d-sm) var(--ez), box-shadow var(--d-sm) var(--ez);
}
.isd-fk__jamo:hover { border-color: var(--badge); transform: translateY(-2px); box-shadow: var(--e1); }
.isd-fk__jamo[aria-pressed="true"] { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 2px var(--navy) inset, var(--e2); }
.isd-fk__jamo.is-seen::after {
  content: ""; position: absolute; top: 6px; right: 6px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.isd-fk__jamoch { font-size: 28px; line-height: 1.1; font-weight: 700; color: var(--navy); }
.isd-fk__jamoname { font-size: 12px; color: var(--body); }

.isd-fk__panel { border: 1px solid var(--line); border-radius: var(--r-media); background: #fff; padding: 16px; box-shadow: var(--e2); scroll-margin-top: 90px; min-height: 140px; }
.isd-fk__hint { margin: 40px 0; text-align: center; color: var(--body); }
.isd-fk__phead { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.isd-fk__big { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: var(--navy); color: #fff; font-size: 44px; font-weight: 700; box-shadow: var(--e2); }
.isd-fk__facts { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; flex: 1 1 200px; }
.isd-fk__facts dt { font-size: 12px; color: var(--body); margin: 0; }
.isd-fk__facts dd { margin: 0; font-weight: 700; color: var(--ink); }
.isd-fk__pbody { display: grid; gap: 16px; margin-top: 16px; }
.isd-fk__stroke, .isd-fk__trace { margin: 0; }
.isd-fk__stroke figcaption, .isd-fk__trace figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; font-size: 13px; font-weight: 700; color: var(--navy); }
.isd-fk__svg { display: grid; grid-template-columns: 1fr; gap: 8px; border-radius: var(--r-card); background: var(--offwhite); border: 1px solid var(--line); padding: 8px; }
.isd-fk__svg.is-double { grid-template-columns: 1fr 1fr; }
.isd-fk__svg > div { aspect-ratio: 1 / 1; }
.isd-fk__svg svg { display: block; width: 100%; height: 100%; }
.isd-fk__svg .jamo path { fill: var(--ink); transition: fill var(--d-lg) var(--ez); }
.isd-fk__svg .stroke-number path { fill: var(--red); }
.isd-fk__svg path.order-arrow { fill: #9FA2E6; }
/* 획순 재생 */
.isd-fk__svg.is-playing .jamo path { fill: rgba(26,26,46,.14); }
.isd-fk__svg.is-playing [data-step] { opacity: 0; transform-box: fill-box; transform-origin: center; transition: opacity var(--d-md) var(--ez), transform var(--d-md) var(--ez-spring); transform: scale(.85); }
.isd-fk__svg.is-playing [data-step].is-on { opacity: 1; transform: none; }
.isd-fk__svg.is-playing path.order-arrow.is-on { fill: var(--badge); }
.isd-fk__svg > div.is-failed { background: repeating-linear-gradient(45deg, var(--n04), var(--n04) 8px, transparent 8px, transparent 16px); }
.isd-fk__note { margin: 6px 0 0; font-size: 14px; color: var(--body); }
.isd-fk__pad {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); border: 1px dashed #B9B4A8; overflow: hidden;
  background: linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat, linear-gradient(var(--line), var(--line)) center / 1px 100% no-repeat, #fff;
}
.isd-fk__ghost { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: min(58vw, 260px); line-height: 1; color: rgba(37,37,126,.1); font-weight: 400; user-select: none; pointer-events: none; }
.isd-fk__pad canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
.isd-fk__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.isd-fk__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; cursor: pointer; }
.isd-fk__toggle input { width: 20px; height: 20px; accent-color: var(--navy); }

/* ---------- 음절 만들기 ---------- */
.isd-fk__builder { background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); padding: 16px; box-shadow: var(--e1); }
.isd-fk__bresult { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.isd-fk__bchar {
  display: inline-flex; align-items: center; justify-content: center; width: 104px; height: 104px; border-radius: 20px;
  background: linear-gradient(145deg, var(--navy), var(--badge)); color: #fff; font-size: 64px; font-weight: 700; line-height: 1; box-shadow: var(--e3);
}
.isd-fk__bchar.is-pop { animation: isdFkPop var(--d-lg) var(--ez-spring); }
@keyframes isdFkPop { 0% { transform: scale(.82); } 100% { transform: scale(1); } }
.isd-fk__bmeta { display: flex; flex-direction: column; gap: 4px; flex: 1 1 180px; }
.isd-fk__bformula { font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.isd-fk__broman { color: var(--body); font-size: 14px; }
.isd-fk__broman strong { color: var(--ink); font-size: 18px; margin-left: 4px; }
.isd-fk__bactions { display: flex; flex-wrap: wrap; gap: 8px; }
.isd-fk__brows { display: grid; gap: 14px; margin-top: 16px; }
.isd-fk__brow { border: 0; margin: 0; padding: 0; min-width: 0; }
.isd-fk__brow legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.isd-fk__bchips { display: flex; flex-wrap: wrap; gap: 6px; }
.isd-fk__bchip {
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: var(--r-btn); border: 1px solid var(--line);
  background: var(--offwhite); color: var(--ink); font: inherit; font-size: 20px; font-weight: 600; cursor: pointer;
  transition: background var(--d-sm) var(--ez), border-color var(--d-sm) var(--ez), transform var(--d-sm) var(--ez);
}
.isd-fk__bchip.is-none { font-size: 14px; }
.isd-fk__bchip:hover { border-color: var(--badge); transform: translateY(-1px); }
.isd-fk__bchip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 연습 도구 ---------- */
.isd-fk__tools2 { background: #fff; border: 1px solid var(--line); border-radius: var(--r-media); padding: 16px; box-shadow: var(--e1); }
.isd-fk__ttabs { margin-bottom: 16px; }
.isd-fk__tlead { margin: 0 0 14px; color: var(--body); }
.isd-fk__tchip { font-size: 15px; }
.isd-fk__rules .isd-fk__tchip { font-size: 14px; }
.isd-fk__words { margin-top: 10px; }
.isd-fk__words .isd-fk__tchip { font-size: 18px; }
.isd-fk__pcard { margin-top: 16px; padding: 18px; border-radius: var(--r-card); background: var(--cream); border: 1px solid var(--line); }
.isd-fk__pflow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.isd-fk__parrow { font-size: 28px; color: var(--badge); font-weight: 700; }
.isd-fk__kv { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.isd-fk__kvl { font-size: 12px; color: var(--body); font-weight: 600; }
.isd-fk__kvv { font-size: 18px; color: var(--ink); overflow-wrap: anywhere; }
.isd-fk__kv.is-big .isd-fk__kvv { font-size: clamp(30px, 8vw, 44px); line-height: 1.15; color: var(--navy); }
.isd-fk__pmeta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.isd-fk__pwhy { margin: 12px 0 0; color: var(--ink); }
.isd-fk__pwhy strong { color: var(--navy); }
.isd-fk__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--navy); }
.isd-fk__field input, .isd-fk__field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--offwhite);
  font: inherit; font-size: 18px; font-weight: 600; color: var(--ink); box-shadow: none;
}
.isd-fk__field textarea { resize: vertical; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.isd-fk__field input:focus, .isd-fk__field textarea:focus { outline: none; border-color: var(--badge); box-shadow: 0 0 0 3px var(--n12); background: #fff; }
.isd-fk__numgrid, .isd-fk__kbdgrid { display: grid; gap: 16px; }
.isd-fk__numout { margin-top: 12px; }
.isd-fk__numlist { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.isd-fk__numlist > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.isd-fk__numlist > div:nth-child(odd) { background: var(--offwhite); }
.isd-fk__numlist > div:last-child { border-bottom: 0; }
.isd-fk__numlist dt { margin: 0; font-size: 13px; color: var(--body); }
.isd-fk__numlist dd { margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.isd-fk__mini { flex: 0 0 36px; width: 36px; height: 36px; padding: 0 !important; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--badge); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.isd-fk__mini .isd-fk__ico { width: 16px; height: 16px; }
.isd-fk__mini:hover { border-color: var(--badge); }
.isd-fk__quiz { padding: 16px; border-radius: var(--r-card); background: var(--cream); border: 1px solid var(--line); align-self: start; }
.isd-fk__quizhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.isd-fk__quizhead strong { color: var(--navy); }
.isd-fk__score { font-size: 13px; font-weight: 700; color: var(--badge); }
.isd-fk__qtext { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--ink); }
.isd-fk__qopts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.isd-fk__qopt {
  min-height: 52px; padding: 8px 10px !important; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff;
  font: inherit; font-size: 20px; font-weight: 700; color: var(--ink); cursor: pointer; line-height: 1.2;
  transition: border-color var(--d-sm) var(--ez), transform var(--d-sm) var(--ez), background var(--d-sm) var(--ez);
}
.isd-fk__qopt:hover:not(:disabled) { border-color: var(--badge); transform: translateY(-1px); }
.isd-fk__qopt:disabled { cursor: default; opacity: .6; }
.isd-fk__qopt.is-right { opacity: 1; background: #E7F6EC; border-color: #1FA855; color: #11663A; }
.isd-fk__qopt.is-wrong { opacity: 1; background: #FDECEC; border-color: var(--red); color: #9E0A12; }
.isd-fk__qfb { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--r-btn); font-weight: 600; }
.isd-fk__qfb.is-right { background: #E7F6EC; color: #11663A; }
.isd-fk__qfb.is-wrong { background: #FDECEC; color: #9E0A12; }
.isd-fk__josa { max-width: 560px; }
.isd-fk__jword { display: flex; align-items: center; gap: 14px; margin: 6px 0 14px; }
.isd-fk__jemoji { font-size: 44px; line-height: 1; }
.isd-fk__jko { font-size: 34px; font-weight: 800; color: var(--navy); }
.isd-fk__kbdout { margin-top: 12px; padding: 14px; border-radius: var(--r-card); background: var(--cream); border: 1px solid var(--line); }
.isd-fk__kbdtext { display: block; min-height: 44px; margin: 4px 0 10px; font-size: 28px; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.isd-fk__kbdmap { margin: 0; padding: 14px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--offwhite); align-self: start; }
.isd-fk__kbdmap figcaption { margin-bottom: 10px; font-size: 13px; font-weight: 700; color: var(--navy); }
.isd-fk__krow { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-bottom: 4px; }
.isd-fk__krow--1 { padding-left: 4%; grid-template-columns: repeat(9, minmax(0, 1fr)); padding-right: 6%; }
.isd-fk__krow--2 { padding-left: 10%; grid-template-columns: repeat(7, minmax(0, 1fr)); padding-right: 22%; }
.isd-fk__key { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1.05; border-radius: 6px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 var(--line); }
.isd-fk__key b { font-size: clamp(13px, 3.4vw, 18px); color: var(--navy); }
.isd-fk__key i { position: absolute; top: 2px; left: 4px; font-style: normal; font-size: 9px; color: var(--body); }
@media (max-width: 479px) {
  .isd-fk__krow { gap: 3px; }
  .isd-fk__key { aspect-ratio: auto; min-height: 34px; flex-direction: column; }
  .isd-fk__key i { position: static; font-size: 9px; line-height: 1; }
  .isd-fk__key b { font-size: 14px; line-height: 1.1; }
}

/* 쓰기 연습지 */
.isd-fk__sheetset { margin-bottom: 12px; }
.isd-fk__sheetset .isd-fk__bchip { min-width: 40px; min-height: 40px; font-size: 18px; }
.isd-fk__sheetbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 6px 0 14px; }
.isd-fk__rowsel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.isd-fk__rowsel select { min-height: 40px; padding: 0 10px; border-radius: var(--r-btn); border: 1px solid var(--line); background: #fff; font: inherit; }

/* ---------- 학습 경로 ---------- */
.isd-fk__path { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.isd-fk__step { margin: 0; position: relative; }
.isd-fk__step a {
  display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px; border-radius: var(--r-card);
  background: #fff; border: 1px solid var(--line); color: var(--ink) !important;
  transition: transform var(--d-sm) var(--ez), box-shadow var(--d-sm) var(--ez), border-color var(--d-sm) var(--ez);
}
.isd-fk__step a:hover { transform: translateY(-2px); box-shadow: var(--e2); border-color: #C5C2E8; }
.isd-fk__stepno { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-weight: 800; }
.isd-fk__step:last-child .isd-fk__stepno { background: var(--red); }
.isd-fk__stepbody { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.isd-fk__stepbody strong { color: var(--navy); font-size: 16px; line-height: 1.3; }
.isd-fk__stepbody span { color: var(--body); font-size: 14px; }
.isd-fk__stepgo { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--badge); }

/* ---------- 카드 ---------- */
.isd-fk__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 12px; }
.isd-fk__card { margin: 0; }
.isd-fk__cardlink {
  display: flex; gap: 14px; height: 100%; padding: 18px; border-radius: var(--r-card);
  background: #fff; border: 1px solid var(--line); color: var(--ink) !important;
  transition: transform var(--d-sm) var(--ez), box-shadow var(--d-sm) var(--ez), border-color var(--d-sm) var(--ez);
}
.isd-fk__cardlink:hover { transform: translateY(-3px); box-shadow: var(--e2); border-color: #C5C2E8; }
.isd-fk__cardico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: var(--r-card); display: flex; align-items: center; justify-content: center; background: #EEEEFA; color: var(--navy); }
.isd-fk__cardico .isd-fk__ico { width: 24px; height: 24px; }
.is-ext .isd-fk__cardico { background: var(--cream); color: var(--badge); }
.isd-fk__cardbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 auto; }
.isd-fk__badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--navy); background: #EEEEFA; border-radius: var(--r-pill); padding: 2px 8px; }
.is-ext .isd-fk__badge { color: #5B5646; background: var(--cream); }
.isd-fk__cardtitle { font-size: 17px; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.isd-fk__carddesc { font-size: 14px; color: var(--body); }
.isd-fk__open { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; color: var(--badge); }
.isd-fk__open .isd-fk__ico { width: 16px; height: 16px; }

/* ---------- FAQ ---------- */
.isd-fk__faq { display: grid; gap: 10px; max-width: 860px; }
.isd-fk__qa { border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.isd-fk__qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 14px 18px; font-weight: 700; color: var(--navy);
}
.isd-fk__qa summary::-webkit-details-marker { display: none; }
.isd-fk__qa summary::after { content: "+"; flex: 0 0 auto; font-size: 22px; line-height: 1; color: var(--badge); transition: transform var(--d-sm) var(--ez); }
.isd-fk__qa[open] summary::after { transform: rotate(45deg); }
.isd-fk__qa p { margin: 0; padding: 0 18px 16px; color: var(--body); }

/* ---------- CTA · 공유 ---------- */
.isd-fk__cta { background: var(--navy); color: #fff; }
.isd-fk__cta .isd-fk__h2 { color: #fff; }
.isd-fk__cta .isd-fk__sub { color: rgba(255,255,255,.84); }
.isd-fk__ctagrid { display: grid; gap: 28px; align-items: end; }
.isd-fk__share { padding: 18px; border-radius: var(--r-card); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.isd-fk__sharetitle { margin: 0 0 10px; font-weight: 700; }
.isd-fk__sharebtns { display: flex; flex-wrap: wrap; gap: 8px; }
.isd-fk__sbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--r-btn);
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.isd-fk__sbtn:hover { background: rgba(255,255,255,.14); }
.isd-fk__sbtn .isd-fk__ico { width: 18px; height: 18px; }

/* ---------- 출처 ---------- */
.isd-fk__credits { padding: 24px 0 32px; background: var(--cream); font-size: 13px; color: var(--body); }
.isd-fk__credits p { margin: 0 0 4px; }
.isd-fk__licence a { color: var(--badge); text-decoration: underline !important; }

/* ---------- 토스트 ---------- */
.isd-fk__toast {
  position: fixed; left: 50%; bottom: 88px; z-index: 99990; transform: translate(-50%, 16px); opacity: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; width: max-content; max-width: calc(100vw - 32px);
  padding: 14px 18px; border-radius: var(--r-card); background: var(--ink); color: #fff; box-shadow: var(--e3); font-size: 15px;
  transition: opacity var(--d-md) var(--ez), transform var(--d-md) var(--ez);
}
.isd-fk__toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.isd-fk__toastlink { color: #fff !important; font-weight: 700; padding: 6px 10px; border-radius: var(--r-btn); background: var(--red); }

/* ---------- 등장 효과 (JS 가 fk-anim 을 붙였을 때만 숨김 → JS 없으면 항상 보임) ---------- */
.isd-fk.fk-anim .fk-reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--d-lg) var(--ez), transform var(--d-lg) var(--ez); }
.isd-fk.fk-anim .fk-reveal.is-in { opacity: 1; transform: none; }
.isd-fk.fk-anim .isd-fk__cards .fk-reveal:nth-child(2), .isd-fk.fk-anim .isd-fk__path .fk-reveal:nth-child(2) { transition-delay: 60ms; }
.isd-fk.fk-anim .isd-fk__cards .fk-reveal:nth-child(3), .isd-fk.fk-anim .isd-fk__path .fk-reveal:nth-child(3) { transition-delay: 120ms; }
.isd-fk.fk-anim .isd-fk__cards .fk-reveal:nth-child(4), .isd-fk.fk-anim .isd-fk__path .fk-reveal:nth-child(4) { transition-delay: 180ms; }
.isd-fk.fk-anim .isd-fk__cards .fk-reveal:nth-child(5), .isd-fk.fk-anim .isd-fk__path .fk-reveal:nth-child(5) { transition-delay: 240ms; }

/* ---------- 사용법 버튼 ---------- */
.isd-fk__btn--guide .isd-fk__ico { width: 18px; height: 18px; }
.isd-fk__guidelink { min-height: 32px; padding: 0 4px; vertical-align: middle; }

/* ---------- 사용 설명서 모달 (루트 밖 dialog → 별도 스코프) ---------- */
html.isd-fk-guide-open { overflow: hidden; }
.isd-fk-guide {
  --g-navy: #25257E; --g-badge: #2A2E9E; --g-cream: #FAF7F1; --g-line: #DDD8CE; --g-body: #555; --g-ink: #1A1A2E;
  box-sizing: border-box; padding: 0; border: 0; border-radius: 20px; color: var(--g-ink); background: #fff;
  width: min(720px, calc(100vw - 24px)) !important; max-width: none !important; max-height: min(88vh, 860px);
  margin: auto !important; box-shadow: 0 24px 64px rgba(23,23,90,.35); overflow: hidden; font-size: 16px; line-height: 1.6;
}
.isd-fk-guide *, .isd-fk-guide *::before, .isd-fk-guide *::after { box-sizing: border-box; }
.isd-fk-guide:not([open]) { display: none; }
.isd-fk-guide::backdrop { background: rgba(15,15,50,.55); backdrop-filter: blur(2px); }
.isd-fk-guide.is-fallback { position: fixed; inset: 0; z-index: 100000; }
.isd-fk-guide[open] { animation: isdFkGuideIn .26s cubic-bezier(.2,.8,.2,1); }
@keyframes isdFkGuideIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.isd-fk-guide__inner { display: flex; flex-direction: column; max-height: inherit; }
.isd-fk-guide__head {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px;
  padding: 18px 60px 14px 20px; background: var(--g-navy); color: #fff;
}
.isd-fk-guide .isd-fk-guide__title { margin: 0; flex: 1 1 100%; color: #fff; font-size: 20px; line-height: 1.3; font-weight: 800; }
.isd-fk-guide__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 10px; border: 0;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.isd-fk-guide__close:hover { background: rgba(255,255,255,.24); }
.isd-fk-guide__close { padding: 0 !important; min-width: 44px; line-height: 1; }
.isd-fk-guide__close svg { flex: 0 0 22px; width: 22px !important; min-width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* 테마(Astra)가 button 에 주는 큰 padding·글자크기 무력화 */
.isd-fk-guide__lang { padding: 0 14px !important; line-height: 1.2 !important; }
.isd-fk-guide__foot .isd-fk__btn { padding: 0 18px !important; line-height: 1.2 !important; }
.isd-fk-guide__langs { display: flex; gap: 6px; }
.isd-fk-guide__lang {
  min-height: 40px; min-width: 52px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.45); background: transparent; color: #fff; font: inherit; font-size: 14px; font-weight: 700;
}
.isd-fk-guide__lang[aria-pressed="true"] { background: #fff; color: var(--g-navy); border-color: #fff; }
.isd-fk-guide__body { flex: 1 1 auto; overflow-y: auto; padding: 18px 20px 8px; -webkit-overflow-scrolling: touch; outline: none; }
.isd-fk-guide__intro { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--g-cream); color: var(--g-body); }
.isd-fk-guide__list { list-style: none; margin: 0; padding: 0; counter-reset: fkg; }
.isd-fk-guide__sec { position: relative; margin: 0 0 16px; padding: 0 0 16px 44px; border-bottom: 1px solid var(--g-line); counter-increment: fkg; }
.isd-fk-guide__sec:last-child { border-bottom: 0; }
.isd-fk-guide__sec::before {
  content: counter(fkg); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--g-navy); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.isd-fk-guide .isd-fk-guide__sec h3 { margin: 2px 0 6px; font-size: 17px; line-height: 1.35; color: var(--g-navy); font-weight: 800; }
.isd-fk-guide__sec ul { margin: 0; padding-left: 18px; }
.isd-fk-guide__sec li { margin: 4px 0; color: var(--g-body); }
.isd-fk-guide:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
.isd-fk-guide__foot { display: flex; justify-content: flex-end; padding: 12px 20px 16px; border-top: 1px solid var(--g-line); background: #fff; }
.isd-fk-guide__foot .isd-fk__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--g-navy); background: var(--g-navy); color: #fff !important; font: inherit; font-weight: 700; cursor: pointer; }
@media (max-width: 599px) {
  .isd-fk-guide { width: 100vw !important; max-height: 92vh; margin: auto 0 0 !important; border-radius: 20px 20px 0 0; }
  .isd-fk-guide[open] { animation-name: isdFkGuideUp; }
  @keyframes isdFkGuideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .isd-fk-guide[open] { animation: none; } }

/* ================= v1.5.0 — 학습 띠 · 배지 · 받아쓰기 · 구독 ================= */
/* 오늘의 단어 줄 + 학습 띠 */
.isd-fk__wodrow { display: grid; gap: 0; }
.isd-fk__wodrow .isd-fk__wodcard { min-width: 0; }
.isd-fk__study { padding: 14px 0 18px; border-top: 1px dashed var(--line); display: grid; gap: 10px; }
.isd-fk__streak { display: flex; align-items: center; gap: 10px; }
.isd-fk__flame { font-size: 26px; line-height: 1; }
.isd-fk__streak.is-on .isd-fk__flame { animation: isdFkPulse 2.4s ease-in-out infinite; }
@keyframes isdFkPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
.isd-fk__stxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.isd-fk__stxt strong { color: var(--navy); font-size: 16px; line-height: 1.2; }
.isd-fk__week { display: flex; gap: 4px; }
.isd-fk__week i { width: 18px; height: 6px; border-radius: 3px; background: var(--n12); }
.isd-fk__week i.is-on { background: var(--red); }
.isd-fk__slist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.isd-fk__slist a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 12px;
  border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--offwhite); color: var(--ink) !important; font-size: 14px; font-weight: 600;
  transition: border-color var(--d-sm) var(--ez), background var(--d-sm) var(--ez);
}
.isd-fk__slist a:hover { border-color: var(--badge); background: #fff; }
.isd-fk__slist b { color: var(--red); font-weight: 800; white-space: nowrap; }
.isd-fk__slist b.is-done { color: #1B7F3B; }

/* 배지 카드 */
.isd-fk__badges { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.isd-fk__bcard {
  display: grid; grid-template-columns: 76px minmax(0, 1fr); align-items: center; gap: 10px 14px; padding: 16px;
  border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); box-shadow: var(--e1);
  transition: transform var(--d-md) var(--ez), box-shadow var(--d-md) var(--ez);
}
.isd-fk__bcard > .isd-fk__btn { grid-column: 1 / -1; width: 100%; }
.isd-fk__bcard.is-earned { border-color: rgba(227,6,19,.35); box-shadow: var(--e2); }
.isd-fk__bcard.is-earned:hover { transform: translateY(-2px); box-shadow: var(--e3); }
.isd-fk__medal svg { display: block; width: 76px; height: auto; }
.isd-fk__medal .ring { fill: var(--red); }
.isd-fk__medal .disc { fill: var(--cream); }
.isd-fk__medal .dash { fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 4 4; }
.isd-fk__medal .rb1 { fill: var(--red); }
.isd-fk__medal .rb2 { fill: #B80510; }
.isd-fk__medal text { fill: var(--navy); font-size: 40px; font-weight: 800; }
.isd-fk__bcard.is-locked .isd-fk__medal { filter: grayscale(1); opacity: .42; }
.isd-fk__btext { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.isd-fk__bstate { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--body); }
.isd-fk__bcard.is-earned .isd-fk__bstate { color: var(--red); }
.isd-fk__bname { font-size: 18px; line-height: 1.25; color: var(--navy); }
.isd-fk__bko { font-size: 14px; font-weight: 700; color: var(--badge); }
.isd-fk__bdesc { font-size: 13px; color: var(--body); }
.isd-fk__bbar { display: block; height: 6px; margin-top: 6px; border-radius: 3px; background: var(--n08); overflow: hidden; }
.isd-fk__bbar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--badge), var(--red)); transition: width var(--d-lg) var(--ez); }

/* 배지 만들기 창 (루트 밖 dialog → 토큰 재선언) */
.isd-fk-badgedlg {
  --red: #E30613; --navy: #25257E; --badge: #2A2E9E; --cream: #FAF7F1; --offwhite: #FDFBF7; --line: #DDD8CE; --body: #555; --ink: #1A1A2E;
  --n12: rgba(37,37,126,.12); --r-btn: 8px; --d-sm: 180ms; --ez: cubic-bezier(.2,.8,.2,1);
  width: min(860px, calc(100vw - 24px)) !important;
}
.isd-fk-badgedlg .isd-fk-guide__body { padding: 16px 16px 20px; }
.isd-fk__bdgrid { display: grid; gap: 16px; }
.isd-fk__bdprev { display: flex; justify-content: center; }
.isd-fk__bdprev canvas { display: block; width: min(100%, 300px); height: auto; aspect-ratio: 4 / 5; border-radius: 14px; box-shadow: 0 12px 32px rgba(23,23,90,.25); background: #25257E; }
.isd-fk__bdside { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.isd-fk__bdname { font-size: 22px; line-height: 1.25; color: var(--navy); }
.isd-fk__bddesc { margin: -6px 0 0; color: var(--body); }
.isd-fk__bdacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.isd-fk-badgedlg .isd-fk__btn { padding: 0 14px !important; line-height: 1.2 !important; }
.isd-fk-badgedlg .isd-fk__fine { margin: 0; font-size: 13px; color: var(--body); }
.isd-fk__textlink { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; color: var(--badge) !important; text-decoration: none !important; }
.isd-fk__textlink:hover { text-decoration: underline !important; }

/* 받아쓰기 */
.isd-fk__tlead { margin: 0 0 10px; color: var(--body); }
.isd-fk__modes .isd-fk__tchip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.isd-fk__levels { margin-top: -2px; }
.isd-fk__dict { margin-top: 12px; max-width: 720px; }
.isd-fk__ddots { display: flex; gap: 6px; margin: -2px 0 12px; }
.isd-fk__ddots i { flex: 1 1 0; height: 6px; border-radius: 3px; background: var(--n12); }
.isd-fk__ddots i.is-done { background: var(--badge); }
.isd-fk__ddots i.is-cur { background: var(--red); }
.isd-fk__dplay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.isd-fk__dbig {
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px !important; border-radius: 999px; cursor: pointer;
  border: 0; background: var(--navy); color: #fff; font: inherit; font-size: 17px; font-weight: 800; line-height: 1.2 !important;
  box-shadow: 0 8px 20px rgba(37,37,126,.25); transition: transform var(--d-sm) var(--ez), background var(--d-sm) var(--ez);
}
.isd-fk__dbig:hover { background: var(--badge); transform: translateY(-1px); }
.isd-fk__dbig svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.isd-fk__dhint { margin: 0 0 10px; padding: 8px 12px; border-radius: var(--r-btn); background: #EEF0FF; color: var(--navy); font-weight: 700; }
.isd-fk__dform { display: grid; gap: 8px; }
.isd-fk__dinput { font-size: 22px !important; letter-spacing: .02em; }
.isd-fk__dinput:disabled { opacity: .75; }
.isd-fk__dprev { margin: -2px 0 0; font-size: 18px; font-weight: 700; color: var(--badge); }
.isd-fk__check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 0; font-size: 14px; color: var(--ink); cursor: pointer; }
.isd-fk__check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.isd-fk__check--sm { min-height: 36px; padding: 4px 0; font-weight: 600; color: var(--body); }
.isd-fk__dres { margin-top: 14px; padding: 14px; border-radius: var(--r-card); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); }
.isd-fk__dres.is-right { border-left-color: #1B7F3B; }
.isd-fk__dmsg { display: block; margin-bottom: 10px; color: var(--ink); }
.isd-fk__dres.is-right .isd-fk__dmsg { color: #1B7F3B; }
.isd-fk__drow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 8px 0; }
.isd-fk__dlab { flex: 0 0 auto; min-width: 72px; font-size: 12px; font-weight: 700; color: var(--body); }
.isd-fk__dsyls { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; min-width: 0; }
.isd-fk__dsyl {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 40px; padding: 4px 8px; border-radius: 8px;
  font-size: 24px; font-weight: 800; line-height: 1.25; background: var(--cream); color: var(--navy);
}
.isd-fk__dsyl.is-miss { background: #FDE7E9; color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }
.isd-fk__dsyl.is-extra { background: #FFF4E5; color: #9A5B00; text-decoration: line-through; }
.isd-fk__djamo { display: flex; gap: 1px; font-size: 12px; font-weight: 600; color: var(--body); }
.isd-fk__djamo b { color: var(--red); font-weight: 800; }
.isd-fk__dlegend { display: flex; gap: 12px; margin: 4px 0 0; font-size: 12px; }
.isd-fk__dlegend span::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 3px; vertical-align: -1px; }
.isd-fk__dlegend .is-miss::before { background: #FDE7E9; box-shadow: inset 0 -2px 0 var(--red); }
.isd-fk__dlegend .is-extra::before { background: #FFF4E5; border: 1px solid #E5B87A; }
.isd-fk__dmean { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 700; }
.isd-fk__dfin { text-align: center; padding: 12px 4px; }
.isd-fk__dfin strong { display: block; font-size: 22px; color: var(--navy); }
.isd-fk__dfin p { margin: 6px 0 14px; color: var(--body); }
.isd-fk__dfin .isd-fk__bactions { justify-content: center; }
.isd-fk__dfinico { display: block; font-size: 48px; line-height: 1.1; margin-bottom: 6px; }

/* 구독 */
.isd-fk__req { color: var(--red); }
.isd-fk__bdacts .isd-fk__btn { font-size: 15px; white-space: nowrap; }
.isd-fk__subsec { background: linear-gradient(135deg, var(--navy) 0%, var(--badge) 100%); color: #fff; }
.isd-fk__subsec .isd-fk__h2 { color: #fff; }
.isd-fk__subsec .isd-fk__sub { color: rgba(255,255,255,.86); }
.isd-fk__subgrid { display: grid; gap: 24px; align-items: start; }
.isd-fk__weeks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: fkw; }
.isd-fk__weeks li {
  position: relative; padding: 10px 12px 10px 48px; border-radius: var(--r-btn); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14); font-weight: 600; counter-increment: fkw;
}
.isd-fk__weeks li::before {
  content: counter(fkw); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.isd-fk__subbox { padding: 20px; border-radius: var(--r-media); background: #fff; color: var(--ink); box-shadow: var(--e3); }
.isd-fk__form { display: grid; gap: 12px; }
.isd-fk__form select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r-btn); border: 1px solid var(--line); background: var(--offwhite);
  font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
}
.isd-fk__form .isd-fk__field input { font-size: 16px; }
.isd-fk__fine--tight { margin: -6px 0 0; }
.isd-fk__consent { padding: 12px; border-radius: var(--r-btn); background: var(--cream); font-size: 13px; line-height: 1.5; }
.isd-fk__consent a { color: var(--badge) !important; font-weight: 700; text-decoration: underline !important; }
.isd-fk__subbtn { width: 100%; }
.isd-fk__subbtn:disabled { opacity: .7; cursor: progress; transform: none; }
.isd-fk__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.isd-fk__formmsg { margin: 0; padding: 12px 14px; border-radius: var(--r-btn); font-size: 14px; font-weight: 600; }
.isd-fk__formmsg.is-ok { background: #E7F6EC; color: #145C2C; }
.isd-fk__formmsg.is-err { background: #FDE7E9; color: #9B0610; }
.isd-fk__formmsg.is-info { background: #EEF0FF; color: var(--navy); }
.isd-fk__subdone { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.isd-fk__subico { font-size: 32px; line-height: 1; }
.isd-fk__subdone strong { font-size: 18px; color: var(--navy); }

/* 상단 바로가기의 강조 칩 */
.isd-fk__chip.is-hot { position: relative; }
.isd-fk__chip.is-hot::after { content: 'NEW'; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .06em; }

@media (min-width: 600px) {
  .isd-fk__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .isd-fk__bdgrid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: start; }
  .isd-fk-badgedlg .isd-fk-guide__body { padding: 22px; }
  .isd-fk__subbox { padding: 26px; }
}
@media (min-width: 768px) {
  .isd-fk__wodrow { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; }
  .isd-fk__study { border-top: 0; border-left: 1px dashed var(--line); padding: 14px 0 14px 24px; }
  .isd-fk__subgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; }
}
@media (min-width: 1024px) {
  .isd-fk__badges { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .isd-fk__bcard { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .isd-fk__bcard .isd-fk__medal svg { width: 96px; }
  .isd-fk__btext { align-items: center; width: 100%; }
  .isd-fk__bbar { width: 100%; }
}

/* ---------- 반응형 ---------- */
@media (min-width: 600px) {
  .isd-fk__statlist { grid-template-columns: repeat(4, 1fr); }
  .isd-fk__builder { padding: 24px; }
  .isd-fk__tools2 { padding: 24px; }
}
@media (min-width: 768px) {
  .isd-fk__hero { padding: 88px 0 64px; min-height: 520px; display: flex; align-items: center; }
  .isd-fk__herowrap { width: 100%; }
  .isd-fk__sec { padding: 80px 0; }
  .isd-fk__statlist { padding: 28px 0; }
  .isd-fk__statlist strong { font-size: 34px; }
  .isd-fk__cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .isd-fk__pbody { grid-template-columns: 1fr 1fr; }
  .isd-fk__ghost { font-size: min(26vw, 220px); }
  .isd-fk__panel { padding: 20px; }
  .isd-fk__path { grid-template-columns: repeat(2, 1fr); }
  .isd-fk__ctagrid { grid-template-columns: 3fr 2fr; }
}
@media (min-width: 1024px) {
  .isd-fk__cards { grid-template-columns: repeat(3, 1fr); }
  .isd-fk__cards--4 { grid-template-columns: repeat(4, 1fr); }
  .isd-fk__lab { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .isd-fk__panel { position: sticky; top: 96px; }
  .isd-fk__ghost { font-size: 180px; }
  .isd-fk__path { grid-template-columns: repeat(5, 1fr); }
  .isd-fk__step a { flex-direction: column; align-items: flex-start; }
  .isd-fk__stepgo { margin-top: auto; }
  .isd-fk__brows { grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; }
  .isd-fk__numgrid { grid-template-columns: 1.2fr 1fr; }
  .isd-fk__kbdgrid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .isd-fk *, .isd-fk *::before, .isd-fk *::after { transition: none !important; animation: none !important; }
}
/* ---------- 쓰기 연습지 인쇄 (body 직속 .isd-fk-print) ---------- */
.isd-fk-print { display: none; }
@media print {
  @page { size: A4; margin: 12mm; }
  html.isd-fk-printing body > *:not(.isd-fk-print) { display: none !important; }
  html.isd-fk-printing, html.isd-fk-printing body { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  html.isd-fk-printing .isd-fk-print { display: block !important; color: #111; font-family: -apple-system, "Segoe UI", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; }
  .isd-fk-print__head { border-bottom: 2px solid #25257E; padding-bottom: 3mm; margin-bottom: 4mm; }
  .isd-fk-print__head h1 { margin: 0 0 2mm; font-size: 16pt; color: #25257E; }
  .isd-fk-print__meta { display: flex; gap: 12mm; font-size: 10pt; margin-bottom: 1.5mm; }
  .isd-fk-print__help { margin: 0; font-size: 8.5pt; color: #555; }
  .isd-fk-print__row { display: grid; grid-template-columns: repeat(8, 1fr); border-left: .3mm solid #9a9a9a; border-top: .3mm solid #9a9a9a; break-inside: avoid; page-break-inside: avoid; }
  .isd-fk-print__row + .isd-fk-print__row { border-top: 0; }
  .isd-fk-print__box {
    position: relative; aspect-ratio: 1 / 1; border-right: .3mm solid #9a9a9a; border-bottom: .3mm solid #9a9a9a;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: linear-gradient(#d8d8d8, #d8d8d8) center / 100% .2mm no-repeat, linear-gradient(#d8d8d8, #d8d8d8) center / .2mm 100% no-repeat;
    -webkit-print-color-adjust: exact; print-color-adjust: exact;
  }
  .isd-fk-print__box.is-svg { background: #fafafa; }
  .isd-fk-print__box svg { width: 92%; height: 92%; }
  .isd-fk-print__box svg .stroke-number path { fill: #E30613; }
  .isd-fk-print__box svg path.order-arrow { fill: #8C8FD9; }
  .isd-fk-print__box em { position: absolute; right: 1mm; bottom: .5mm; font-style: normal; font-size: 8pt; font-weight: 700; color: #25257E; }
  .isd-fk-print__box span { font-size: 15mm; line-height: 1; }
  .isd-fk-print__box .is-model { color: #111; font-weight: 600; }
  .isd-fk-print__box .is-trace { color: #cfcfcf; font-weight: 400; }
  .isd-fk-print__foot { margin: 3mm 0 0; font-size: 7.5pt; color: #666; }

  .isd-fk__hero, .isd-fk__share, .isd-fk__toast, .isd-fk__langbar { display: none !important; }
}
