/* Metalogy Spatial Editor — 상호작용 'Context 팝업' 편집 (v1.18.0, assets/ix-context.js)
   작성 창 · 도구 줄(홈페이지 본문 편집기 모양을 편집기 강조색 --accent 로) · 본문(방문자 창과 비슷한 글 모양) · '+' 블록 메뉴 ·
   그림 · 슬라이드 · 동영상 블록 · 슬라이드 창 · 미리보기 · 확대 보기 받침 · 작은 입력 창 · 편집 칸 요약
   v1.23.0: '+' 는 커서 바로 오른쪽 (왼쪽 여백 칸 없음) · 블록 배치(폭 % · 정렬)와 배치 막대 · 블록 도구 알약 · 슬라이드 넘기기 옵션
   v2.2.1: 웹 페이지 블록(.ixc-webpage) · 웹 페이지 창(.ixc-fr-*) */

/* ---------------------------------------------------------------- 작성 창 */
dialog.modal.ixc-modal {
  width: min(1000px, calc(100vw - 32px));
  height: min(88vh, 940px);
  max-height: calc(100vh - 32px);
  overflow: hidden;
}
dialog.modal.ixc-modal[open] { display: flex; flex-direction: column; }
.ixc-head h2 { display: flex; align-items: baseline; gap: 6px; }
.ixc-kind { color: var(--accent); font-weight: 700; letter-spacing: -.01em; }
.ixc-main { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 14px 22px 8px; }
/* 본문 칸만 남은 높이를 쓰고 (안의 .ql-editor 가 스크롤), 제목 · 도구 줄 · 알림 줄은 줄지 않는다 */
.ixc-main > * { flex: none; }
.ixc-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.ixc-label-row label { cursor: pointer; }
.ixc-req { margin-left: 4px; padding: 1px 6px; border-radius: 5px; background: #2fd3a81f; color: #9fe8d4; font-size: 10.5px; font-weight: 600; vertical-align: 1px; }
.ixc-count { font-size: 11.5px; font-weight: 400; color: var(--dim); font-variant-numeric: tabular-nums; }
.ixc-title-in { height: 40px; font-size: 16px; font-weight: 600; }
.ixc-body-label { margin-top: 16px; }
.ixc-hint { font-size: 11.5px; font-weight: 400; color: var(--dim); text-align: right; }
.ixc-hint b { color: var(--accent); }
.ixc-hint kbd { margin-left: 0; }

/* 도구 줄 — 홈페이지 css/rich-text.css .body-toolbar 와 같은 짜임 (묶음 + 아래 이름) */
.ixc-toolbar {
  flex: none; display: flex; flex-wrap: wrap; align-items: stretch; row-gap: 6px;
  padding: 7px 4px 5px; background: #101a23; border: 1px solid #2b3a48; border-radius: 9px 9px 0 0;
}
.ixc-tb-group { display: flex; flex-direction: column; justify-content: space-between; gap: 3px; padding: 0 8px; border-right: 1px solid #ffffff14; }
.ixc-tb-group:last-child { border-right: 0; }
.ixc-tb-tools { display: flex; align-items: center; gap: 2px; min-height: 32px; }
.ixc-tb-cap { display: block; text-align: center; font-size: 10px; line-height: 14px; color: #8293a3; letter-spacing: .02em; user-select: none; }
.ixc-tb {
  flex: none; display: inline-grid; place-items: center; width: 30px; height: 32px; padding: 0;
  border: 0; border-radius: 5px; background: transparent; color: #dfe8f0; cursor: pointer;
  transition: background-color .15s, color .15s, box-shadow .15s;
}
.ixc-tb:hover { background: #ffffff14; color: #fff; }
.ixc-tb[aria-pressed="true"] { background: #2fd3a826; color: #bff5e6; box-shadow: inset 0 0 0 1px #2fd3a866; }
.ixc-tb:disabled { opacity: .32; cursor: not-allowed; background: transparent; }
.ixc-tb:focus-visible, .ixc-heading:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-tb svg { display: block; width: 18px; height: 18px; pointer-events: none; }
.ixc-glyph { pointer-events: none; }
.ixc-glyph.is-b { font: 700 16px/1 Arial, sans-serif; }
.ixc-glyph.is-i { font: italic 600 18px/1 Georgia, serif; }
.ixc-glyph.is-u { font: 16px/1 Arial, sans-serif; text-decoration: underline; text-underline-offset: 3px; }
.ixc-glyph.is-s { font: 16px/1 Arial, sans-serif; text-decoration: line-through; }
.ixc-heading {
  width: 118px; height: 30px; padding: 0 6px; font-size: 12px;
  border: 1px solid #ffffff26; border-radius: 5px; background: #0a131b; color: #e1e9f0; cursor: pointer;
}
dialog.ixc-modal.is-busy .ixc-toolbar { pointer-events: none; opacity: .55; }

/* 본문 칸 (Quill) */
.ixc-main > .ixc-editor.ql-container {
  flex: 1 1 0; min-height: 170px; height: auto;
  border: 1px solid #2b3a48; border-top: 0; border-radius: 0 0 9px 9px; background: #07111a;
  font-family: var(--font); font-size: inherit;
  outline: 2px solid transparent; outline-offset: 1px; transition: border-color .3s, outline-color .3s;
}
.ixc-editor.ql-container:focus-within { border-color: var(--accent); outline-color: #2fd3a833; }
.ixc-editor .ql-editor { padding: 18px 28px 28px 28px; line-height: 1.8; scroll-padding: 24px; }
/* 자리 표시 글은 '+' 뒤에서 (커서 · + · 안내 글), 한글 조합을 시작하면 바로 숨긴다 (Quill 은 글자가 다 만들어진 뒤에야 빈 본문을 푼다) */
.ixc-editor .ql-editor.ql-blank::before { left: 62px; right: 28px; color: #64788a; font-style: normal; }
.ixc-editor .ql-editor.ql-blank.ixc-composing::before { content: none; display: none; }
.ixc-status { flex: none; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; min-height: 26px; padding: 6px 2px 0; font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; }
.ixc-stats.is-over { color: #ffb3ac; }
.ixc-err { color: #ffb3ac; text-align: right; }
.ixc-foot { flex: none; padding-top: 12px; border-top: 1px solid #ffffff10; }
.ixc-foot .ixc-pv-btn { margin-right: auto; }

/* 본문 글 모양 — 방문자 창(.mse-ix-prose)과 홈페이지 .rich-prose 같은 값으로, 쓰는 동안에도 결과와 비슷하게 */
.ixc-prose { font-size: 16px; line-height: 1.8; color: #e6edf4; overflow-wrap: anywhere; word-break: keep-all; }
.ixc-editor .ql-editor.ixc-prose p { margin: .45em 0; }
.ixc-editor .ql-editor.ixc-prose h1, .ixc-editor .ql-editor.ixc-prose h2, .ixc-editor .ql-editor.ixc-prose h3,
.ixc-editor .ql-editor.ixc-prose h4, .ixc-editor .ql-editor.ixc-prose h5 { margin: 1em 0 .45em; line-height: 1.4; letter-spacing: -.025em; font-weight: 700; color: #fff; }
.ixc-prose h1 { font-size: 2em; }
.ixc-prose h2 { font-size: 1.65em; }
.ixc-prose h3 { font-size: 1.4em; }
.ixc-prose h4 { font-size: 1.2em; }
.ixc-prose h5 { font-size: 1.05em; }
.ixc-editor .ql-editor.ixc-prose > :first-child { margin-top: 0; }
.ixc-prose strong { font-weight: 700; color: #fff; }
.ixc-prose em { font-style: italic; }
.ixc-prose u { text-decoration: underline; text-underline-offset: .16em; }
.ixc-prose s { text-decoration: line-through; }
.ixc-prose a { color: #63daca; text-decoration: underline; text-underline-offset: .2em; }
.ixc-prose a:hover { color: #aaf4e6; }
.ixc-editor .ql-editor.ixc-prose blockquote { margin: .8em 0; padding: .15em 0 .15em 1em; border-left: 3px solid var(--accent); color: #c8d6e3; }
/* v2.3.47 (사용자 요청) 목록은 노션처럼 — 글머리 기호가 문단 글과 같은 왼쪽 끝에서 (들여쓰기 없음), 글은 1.5em 뒤에.
   Tab 단계마다 1.5em 안으로 (위 단계의 글 시작에 맞춤), 기호는 단계마다 • ◦ ▪ — 뷰어 _context.scss 와 같은 자리 */
.ixc-editor .ql-editor.ixc-prose ol { margin: .4em 0; padding-left: 0; }
.ixc-editor .ql-editor.ixc-prose li { margin: .15em 0; padding-left: 1.5em; }
.ixc-editor .ql-editor.ixc-prose li > .ql-ui::before { color: #9fe8d4; margin-left: -1.5em; margin-right: 0; width: 1.5em; text-align: left; }
.ixc-editor .ql-editor.ixc-prose li[data-list=bullet] > .ql-ui::before { padding-left: .1em; }
.ixc-editor .ql-editor.ixc-prose li.ql-indent-1 { padding-left: 3em; }
.ixc-editor .ql-editor.ixc-prose li.ql-indent-2 { padding-left: 4.5em; }
.ixc-editor .ql-editor.ixc-prose li.ql-indent-3 { padding-left: 6em; }
.ixc-editor .ql-editor.ixc-prose li.ql-indent-4 { padding-left: 7.5em; }
.ixc-editor .ql-editor.ixc-prose li[data-list=bullet].ql-indent-1 > .ql-ui::before,
.ixc-editor .ql-editor.ixc-prose li[data-list=bullet].ql-indent-4 > .ql-ui::before { content: '\25E6'; }
.ixc-editor .ql-editor.ixc-prose li[data-list=bullet].ql-indent-2 > .ql-ui::before { content: '\25AA'; }
.ixc-editor .ql-editor.ixc-prose li[data-list=bullet].ql-indent-3 > .ql-ui::before { content: '\2022'; }

/* v2.3.47 단축키 보기 */
.ixc-keys-btn { margin-left: 8px; padding: 2px 8px; border: 1px solid #ffffff26; border-radius: 999px; background: transparent; color: #9fe8d4; font: 600 11.5px/1.4 var(--font); cursor: pointer; white-space: nowrap; }
.ixc-keys-btn:hover, .ixc-keys-btn[aria-expanded="true"] { background: #2fd3a81a; border-color: #2fd3a866; }
.ixc-body-label { position: relative; }
.ixc-keys {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 8; width: min(820px, 100%); max-height: min(60vh, 460px); overflow: auto;
  padding: 12px 16px; border: 1px solid #2fd3a840; border-radius: 12px; background: #0b1218f7; box-shadow: 0 16px 40px #000b;
}
.ixc-keys[hidden] { display: none; }
.ixc-keys dl { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content minmax(0, 1fr); gap: 5px 14px; margin: 0; font-size: 12.5px; }
@media (max-width: 760px) { .ixc-keys dl { grid-template-columns: max-content minmax(0, 1fr); } }
.ixc-keys dt { color: #cfe0ec; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ixc-keys dd { margin: 0; color: var(--muted); }

/* v2.3.47 열 나누기 블록 (방문자 창처럼 열을 나란히) */
.ixc-cols-grid { display: grid; grid-template-columns: repeat(var(--ixc-cols, 2), minmax(0, 1fr)); gap: 12px; padding: 6px 2px 2px; }
.ixc-col { min-width: 0; font-size: 14px; line-height: 1.6; color: #dae8f5; overflow-wrap: anywhere; }
.ixc-cols-grid.is-box .ixc-col { padding: 12px 14px; border: 1px solid #ffffff1f; border-radius: 10px; background: #ffffff08; }
.ixc-col-title { display: block; margin-bottom: 4px; font-weight: 700; color: #fff; }
.ixc-col p { margin: .15em 0; }
.ixc-col-empty { color: var(--dim); font-size: 12.5px; }
.ixc-embed.ixc-columns .ixc-video-meta svg { width: 15px; height: 15px; flex: none; }
dialog.modal.ixc-ask.ixc-cols-dlg { width: min(900px, calc(100vw - 32px)); } /* 작은 입력 창(ixc-ask 520 px)보다 넓게 */
.ixc-cols-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.ixc-cols-label { font-size: 13px; font-weight: 600; color: var(--text); }
.ixc-cols-edit { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ixc-cols-col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ixc-cols-col[hidden] { display: none; }
.ixc-cols-edit.is-box .ixc-cols-col { padding: 10px; border: 1px solid #ffffff1f; border-radius: 10px; background: #ffffff06; }
.ixc-cols-cap { font-size: 12px; font-weight: 700; color: #9fe8d4; }
.ixc-cols-col textarea.field { min-height: 140px; resize: vertical; line-height: 1.55; }
@media (max-width: 640px) { .ixc-cols-edit { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- '+' 단추 · 블록 메뉴 */
.ixc-plus {
  position: absolute; left: 0; top: 0; z-index: 3; width: 24px; height: 24px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid #3a5264; background: #0b1116; color: #9fb4c4; cursor: pointer;
  box-shadow: 0 2px 8px #0008;
  animation: ixc-pop-in .18s ease-out both;
  /* 커서를 따라 짧게 미끄러진다 (치는 동안 늦지 않게) */
  transition: transform .09s ease-out, border-color .2s, background-color .2s, color .2s;
}
.ixc-plus svg { width: 14px; height: 14px; transition: transform .2s ease; }
.ixc-plus:hover, .ixc-plus.is-open { border-color: var(--accent); background: #19382f; color: var(--accent); }
.ixc-plus.is-open svg { transform: rotate(45deg); }
@keyframes ixc-pop-in { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }

.ixc-menu {
  position: absolute; z-index: 4; width: 252px; padding: 6px; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #ffffff24; border-radius: 12px; background: #0d1419f7; color: var(--text);
  box-shadow: 0 18px 50px #000b, 0 0 0 1px #00000040;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.ixc-menu.is-in { animation: ixc-menu-in .16s cubic-bezier(.22,.68,.2,1) both; }
@keyframes ixc-menu-in { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.ixc-mi-cap { padding: 6px 8px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .08em; color: var(--dim); }
.ixc-mi-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 0 2px 4px; }
.ixc-mi {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px;
  width: 100%; height: 34px; padding: 0 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text); font-size: 13px; text-align: left; cursor: pointer;
  transition: background-color .12s, color .12s;
}
.ixc-mi:hover, .ixc-mi:focus-visible { background: #2fd3a81f; color: #fff; outline: none; }
.ixc-mi:focus-visible { box-shadow: inset 0 0 0 1px #2fd3a880; }
.ixc-mi.is-chip { grid-template-columns: 1fr; justify-items: center; height: 32px; padding: 0; border: 1px solid #ffffff1a; }
.ixc-mi-h { font: 700 12.5px/1 var(--font); letter-spacing: .02em; color: #dff7ef; }
.ixc-mi-ic { display: grid; place-items: center; width: 28px; height: 24px; color: #9fe8d4; }
.ixc-mi-ic svg { width: 17px; height: 17px; }
.ixc-mi-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ixc-mi-en { font-size: 11px; color: var(--dim); white-space: nowrap; }
.ixc-mi:hover .ixc-mi-en, .ixc-mi:focus-visible .ixc-mi-en { color: #9fb4c4; }
.ixc-mi-foot { margin-top: 4px; padding: 6px 8px 2px; border-top: 1px solid #ffffff12; font-size: 11px; color: var(--dim); }

/* 그림 넣는 중 */
.ixc-busy {
  position: absolute; left: 50%; bottom: 14px; z-index: 5; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid #2fd3a855; background: #0d1419f2; color: #c9f7ea; font-size: 12px; white-space: nowrap;
  box-shadow: 0 10px 30px #0009;
}
.ixc-spin { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #ffffff26; border-top-color: var(--accent); animation: ixc-spin .8s linear infinite; }
@keyframes ixc-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- 본문 안 블록 (그림 · 슬라이드 · 동영상) */
.ixc-editor .ql-editor > .ixc-embed { position: relative; margin: 1em 0; padding: 0; cursor: default; user-select: none; -webkit-user-select: none; }
/* v1.23.0 배치: 폭(본문 폭의 %) · 가운데 · 오른쪽 — 방문자 창과 같은 비율 */
.ixc-editor .ql-editor > .ixc-embed[data-width] { width: var(--ixc-w, 100%); max-width: 100%; min-width: min(100%, 200px); }
.ixc-editor .ql-editor > .ixc-embed[data-align="center"] { margin-left: auto; margin-right: auto; }
.ixc-editor .ql-editor > .ixc-embed[data-align="right"] { margin-left: auto; margin-right: 0; }
.ixc-frame {
  position: relative; display: grid; place-items: center; min-height: 72px; overflow: hidden;
  border-radius: 10px; border: 1px solid #ffffff14; background: #0b1218;
  transition: border-color .2s, box-shadow .2s;
}
.ixc-embed:hover .ixc-frame { border-color: #ffffff2e; }
.ixc-embed.is-selected .ixc-frame { border-color: var(--accent); box-shadow: 0 0 0 3px #2fd3a833; }
/* v1.23.0 그림은 방문자 창처럼 블록 폭 가득 (폭 % 로 줄인다 — 예전에는 높이 360 px 까지 줄여 보였다) */
.ixc-image-frame { width: 100%; }
.ixc-image-frame img { display: block; width: 100%; height: auto; }
.ixc-image-frame.is-broken { width: auto; min-width: 240px; }
.ixc-missing { display: none; padding: 22px 16px; font-size: 12.5px; color: #ffb3ac; }
.ixc-frame.is-broken > img, .ixc-frame.is-broken > video { display: none; }
.ixc-frame.is-broken > .ixc-missing { display: block; }
.ixc-alt { margin: 6px 2px 0; font-size: 12px; line-height: 1.5; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* v2.3.46 팝업 창에 보이게 한 대체 글 — 방문자 창처럼 그림 아래 (정렬) */
.ixc-alt.is-shown { margin-top: 8px; font-size: 13px; line-height: 1.6; color: #9eb4c7; white-space: normal; overflow: visible; text-align: center; overflow-wrap: anywhere; }
.ixc-alt.is-shown[data-align="left"] { text-align: left; }
.ixc-alt.is-shown[data-align="right"] { text-align: right; }

/* v1.23.0 블록 도구: 유리 알약 하나 안에 낮은 단추 (방문자 슬라이드의 도구 알약과 같은 모양) */
.ixc-tools {
  position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid #ffffff24; border-radius: 999px; background: #080d12b8;
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 6px 20px #0007;
  opacity: 0; transform: translateY(-3px); pointer-events: none; transition: opacity .18s, transform .18s;
}
.ixc-embed:hover .ixc-tools, .ixc-embed:focus-within .ixc-tools, .ixc-embed.is-selected .ixc-tools { opacity: 1; transform: none; pointer-events: auto; }
@media (hover: none) { .ixc-tools { opacity: 1; transform: none; pointer-events: auto; } }
.ixc-tool {
  display: inline-flex; align-items: center; gap: 5px; height: 28px; min-width: 28px; padding: 0 10px;
  border: 0; border-radius: 999px; background: transparent; color: #e6eef5;
  font: 600 12px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.ixc-tool svg { width: 15px; height: 15px; flex: none; }
.ixc-tool:hover, .ixc-tool:focus-visible { background: #ffffff1f; color: #fff; outline: none; }
.ixc-tool:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.ixc-tool[data-ixc-act="delete"] { width: 28px; padding: 0; justify-content: center; }
.ixc-tool[data-ixc-act="delete"]:hover { background: #c23a5240; color: #ffd5dc; }

/* v1.23.0 배치 막대 — 블록을 고르면 그 위 가운데 (정렬 3 · 폭) */
.ixc-blockbar {
  position: absolute; left: 0; top: 0; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px;
  border: 1px solid #2fd3a855; border-radius: 999px; background: #0b1218f2; color: var(--text);
  box-shadow: 0 10px 28px #000a; white-space: nowrap; animation: ixc-pop-in .16s ease-out both;
}
.ixc-blockbar[hidden] { display: none; }
.ixc-bb-cap { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #9fe8d4; }
.ixc-bb-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: #ffffff0d; }
.ixc-bb-btn {
  display: grid; place-items: center; width: 30px; height: 26px; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: #cfe0ec; cursor: pointer; transition: background-color .15s, color .15s;
}
.ixc-bb-btn svg { width: 17px; height: 17px; pointer-events: none; }
.ixc-bb-btn:hover { background: #ffffff1a; color: #fff; }
.ixc-bb-btn[aria-pressed="true"] { background: #2fd3a833; color: #bff5e6; box-shadow: inset 0 0 0 1px #2fd3a888; }
.ixc-bb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-bb-sep { width: 1px; height: 18px; background: #ffffff1f; }
.ixc-bb-wl { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); }
.ixc-bb-width {
  height: 26px; padding: 0 6px; border: 1px solid #ffffff26; border-radius: 7px; background: #0a131b; color: #e1e9f0;
  font-size: 12px; font-variant-numeric: tabular-nums; cursor: pointer;
}
.ixc-bb-width:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-bb-acts { display: inline-flex; align-items: center; gap: 2px; }
.ixc-bb-act {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; min-width: 26px; padding: 0 9px; border: 0; border-radius: 999px;
  background: transparent; color: #e6eef5; font: 600 12px/1 var(--font); cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s;
}
.ixc-bb-act svg { width: 15px; height: 15px; flex: none; }
.ixc-bb-act:hover { background: #ffffff1a; color: #fff; }
.ixc-bb-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-bb-act.is-danger { width: 28px; padding: 0; justify-content: center; }
.ixc-bb-act.is-danger:hover { background: #c23a5240; color: #ffd5dc; }
/* 고른 블록은 위 배치 막대가 동작을 맡는다 */
.ixc-editor .ql-editor > .ixc-embed.is-selected > .ixc-tools { display: none; }

/* 슬라이드 블록 — 첫 장 + 메타로지 좌우 화살표 + 아래 썸네일 줄 */
.ixc-slider-frame { aspect-ratio: 16 / 9; }
.ixc-slider-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ixc-badge {
  position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 20px);
  padding: 4px 10px 4px 8px; border-radius: 999px; background: #000000b0; color: #fff; font-size: 12px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ixc-badge svg { width: 15px; height: 15px; }
.ixc-arrow {
  position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid #3a5264; background: #0b1116cc; color: #e6eef5; pointer-events: none;
}
.ixc-arrow svg { width: 18px; height: 18px; }
.ixc-arrow.is-prev { left: 12px; }
.ixc-arrow.is-next { right: 12px; }
.ixc-strip { display: flex; gap: 6px; margin-top: 8px; overflow: hidden; }
.ixc-strip-cell { flex: none; width: 56px; height: 40px; overflow: hidden; border-radius: 6px; border: 1px solid #ffffff1c; background: #0b1218; }
.ixc-strip-cell:first-child { border-color: var(--accent); }
.ixc-strip-cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ixc-strip-more { flex: none; display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 6px; background: #ffffff10; color: var(--muted); font-size: 12px; font-weight: 600; }

/* 동영상 블록 — 포스터(없으면 첫 장면) + 재생 표시 + 정보 */
.ixc-video-frame { aspect-ratio: 16 / 9; }
.ixc-video-frame > img, .ixc-video-frame > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.ixc-video-frame.is-empty { background: radial-gradient(ellipse at 50% 40%, #13262a, #070c10 72%); }
.ixc-play {
  position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid #ffffffd0; background: #00000080; color: #fff; pointer-events: none;
}
.ixc-play svg { width: 24px; height: 24px; margin-left: 3px; }
.ixc-video-meta { display: flex; align-items: center; gap: 6px; margin: 6px 2px 0; font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ixc-video-meta svg { flex: none; width: 15px; height: 15px; color: #9fe8d4; }
.ixc-video-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ixc-video-note { flex: none; margin-left: auto; padding: 1px 8px; border-radius: 999px; background: #ffffff0d; color: var(--dim); font-size: 11px; }

/* v2.2.1 웹 페이지 블록 — 제목(호스트) · 주소 카드 (편집 칸 안에서는 페이지를 띄우지 않는다) */
.ixc-webpage-frame {
  display: flex; align-items: center; justify-content: flex-start; gap: 14px; min-height: 92px; padding: 16px 18px;
  background: linear-gradient(135deg, #0f1d26, #0a1218 70%);
}
.ixc-webpage-frame.is-broken { border-color: #ffb3ac66; }
/* v2.3.19 창에 맞춰 채우는 웹 페이지 — 본문 칸에서도 폭 100 % (배치 막대의 폭 · 정렬 없음) */
.ixc-webpage.is-fill { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }
.ixc-webpage.is-fill .ixc-webpage-frame { border-style: dashed; border-color: #2fd3a880; }
.ixc-webpage-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #2fd3a855; background: #2fd3a814; color: #9fe8d4; }
.ixc-webpage-ic svg { width: 22px; height: 22px; }
.ixc-webpage-info { display: grid; gap: 3px; min-width: 0; }
.ixc-webpage-info strong { overflow: hidden; color: #f2f6fb; font-size: 14.5px; text-overflow: ellipsis; white-space: nowrap; }
.ixc-webpage-url { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }

/* v2.2.1 웹 페이지 창 (주소 · 방식 · 기본 높이 · 제목 · 미리 보기 · 높이 알림 코드) */
dialog.modal.ixc-fr-modal { width: min(820px, calc(100vw - 32px)); }
.ixc-fr-body { max-height: calc(100vh - 190px); overflow: auto; }
.ixc-fr-lead { margin: 0 0 14px; }
.ixc-fr-row { display: grid; gap: 6px; margin-top: 14px; min-width: 0; }
.ixc-fr-row:first-of-type { margin-top: 0; }
.ixc-fr-row > label, .ixc-fr-label { font-size: 13px; font-weight: 600; color: var(--text); }
.ixc-fr-code { min-height: 64px; resize: vertical; font: 12.5px/1.5 ui-monospace, Consolas, monospace; }
.ixc-fr-state { margin: 0; min-height: 1.5em; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.ixc-fr-state.is-ok { color: #9fe8d4; }
.ixc-fr-state.is-bad { color: #ffb3ac; }
.ixc-fr-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ixc-fr-mode {
  display: grid; gap: 4px; align-content: start; min-width: 0; padding: 10px 12px; border: 1px solid #ffffff1f; border-radius: 10px;
  background: #ffffff06; color: var(--text); text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.ixc-fr-mode strong { font-size: 13px; }
.ixc-fr-mode small { font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.ixc-fr-mode:hover { border-color: #ffffff40; }
.ixc-fr-mode[aria-checked="true"] { border-color: var(--accent); background: #2fd3a81a; }
.ixc-fr-mode[aria-checked="true"] strong { color: #bff5e6; }
.ixc-fr-mode:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-fr-pair { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 14px; }
.ixc-fr-pair > .ixc-fr-row { margin-top: 14px; }
.ixc-fr-numwrap { display: inline-flex; align-items: center; gap: 6px; }
.ixc-fr-num { width: 110px; text-align: right; font-variant-numeric: tabular-nums; }
.ixc-fr-unit { font-size: 12px; color: var(--dim); }
.ixc-fr-hint { margin: 0 !important; font-size: 11.5px !important; line-height: 1.5; color: var(--dim) !important; }
.ixc-fr-h { font-size: 13px; font-weight: 700; color: var(--text); }
.ixc-fr-h small { font-weight: 400; font-size: 11.5px; color: var(--dim); }
.ixc-fr-pvsec { margin-top: 16px; padding-top: 12px; border-top: 1px solid #ffffff12; }
.ixc-fr-pvhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ixc-fr-pvnote { margin: 0; padding: 16px 12px; border: 1px dashed #ffffff24; border-radius: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.ixc-fr-pvnote[hidden] { display: none; }
.ixc-fr-pv .mse-ix-prose > .mse-ix-embed { margin: 0; }
/* v2.3.19 채우기 미리 보기 — 창 본문 높이 360 px 를 흉내 (실제 크기는 편집 칸의 '창만 보기') */
.ixc-fr-pv.is-fill { height: 360px; overflow: auto; padding: 8px; border: 1px dashed #2fd3a855; border-radius: 10px; box-sizing: border-box; }
.ixc-fr-hrow { margin-top: 14px; display: grid; gap: 6px; }
.ixc-fr-num:disabled { opacity: .45; }
.ixc-fr-hint[hidden] { display: none; }
.ixc-fr-snipsec { margin-top: 16px; padding-top: 12px; border-top: 1px solid #ffffff12; display: grid; gap: 6px; transition: opacity .2s; }
.ixc-fr-snipsec.is-dim { opacity: .55; }
.ixc-fr-sniprow { display: flex; align-items: flex-start; gap: 8px; }
.ixc-fr-snip { flex: 1 1 auto; min-width: 0; min-height: 58px; resize: none; font: 11.5px/1.5 ui-monospace, Consolas, monospace; color: #cfe0ec; }
.ixc-fr-sniprow .btn svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- 슬라이드 창 */
dialog.modal.ixc-sl-modal { width: min(840px, calc(100vw - 32px)); }
.ixc-sl-body { max-height: calc(100vh - 200px); }
.ixc-sl-hint { margin: 0 0 12px; }
.ixc-sl-grid {
  list-style: none; margin: 0; padding: 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px 12px;
  border-radius: 12px; outline: 2px dashed transparent; outline-offset: 2px; transition: outline-color .2s, background-color .2s;
}
.ixc-sl-grid.is-over { outline-color: var(--accent); background: #2fd3a80d; }
.ixc-sl-item { display: grid; gap: 6px; align-content: start; min-width: 0; border-radius: 10px; outline: none; }
.ixc-sl-thumb {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 9px;
  border: 1px solid #ffffff1f; background: #0b1116; cursor: grab; transition: border-color .2s, box-shadow .2s;
}
.ixc-sl-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.ixc-sl-thumb.is-broken::after { content: '그림 없음'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #ffb3ac; }
.ixc-sl-item:hover .ixc-sl-thumb { border-color: #ffffff40; }
.ixc-sl-item:focus-visible .ixc-sl-thumb { border-color: var(--accent); box-shadow: 0 0 0 3px #2fd3a840; }
.ixc-sl-no {
  position: absolute; left: 6px; top: 6px; min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center;
  border-radius: 11px; background: #000000b0; color: #fff; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.ixc-sl-item:first-child .ixc-sl-no { background: var(--accent); color: #04130e; }
.ixc-sl-del {
  position: absolute; right: 6px; top: 6px; width: 24px; height: 24px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #000000b0; color: #fff; cursor: pointer; opacity: 0; transition: opacity .15s, background-color .15s;
}
.ixc-sl-del svg { width: 14px; height: 14px; }
.ixc-sl-item:hover .ixc-sl-del, .ixc-sl-item:focus-within .ixc-sl-del { opacity: 1; }
.ixc-sl-del:hover, .ixc-sl-del:focus-visible { background: #c23a52; outline: none; }
@media (hover: none) { .ixc-sl-del { opacity: 1; } }
.ixc-sl-cap { height: 28px; padding: 0 8px; font-size: 12px; }
.ixc-sl-item.ix-sort-dragging .ixc-sl-thumb { cursor: grabbing; border-color: var(--accent); box-shadow: 0 16px 36px #000c, 0 0 0 3px #2fd3a855; }
.ixc-sl-item.ix-sort-dragging .ixc-sl-cap { opacity: .4; }
.ixc-sl-item.ix-sort-armed .ixc-sl-thumb { border-color: var(--accent); box-shadow: 0 0 0 3px #2fd3a855; }
.ixc-sl-add { align-self: start; }
.ixc-sl-addbtn {
  width: 100%; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 6px;
  border: 1px dashed #ffffff40; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.ixc-sl-addbtn svg { width: 22px; height: 22px; }
.ixc-sl-addbtn:hover, .ixc-sl-addbtn:focus-visible { border-color: var(--accent); background: #2fd3a80d; color: #bff5e6; outline: none; }
.ixc-sl-busy {
  align-self: start; aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 8px;
  border: 1px solid #ffffff1a; border-radius: 9px; background: #0b1116; color: var(--muted); font-size: 11.5px;
}
.ixc-sl-count { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }

/* v1.23.0 넘기기 옵션 (왼쪽) · 미리 보기 (오른쪽 — 방문자 화면의 슬라이드 그대로) */
.ixc-sl-opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #ffffff12; }
.ixc-sl-form { display: grid; gap: 10px; align-content: start; min-width: 0; }
.ixc-sl-h { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--text); }
.ixc-sl-h small { font-weight: 400; color: var(--dim); font-size: 11.5px; }
.ixc-sl-orow { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 10px; min-width: 0; }
.ixc-sl-orow-top { align-items: start; }
.ixc-sl-olab { display: grid; gap: 1px; font-size: 12.5px; color: var(--muted); }
.ixc-sl-olab small { font-size: 11px; color: var(--dim); }
.ixc-sl-sw { cursor: pointer; grid-template-columns: minmax(0, 1fr) auto; }
.ixc-sl-autorow.is-off { opacity: .45; }
.ixc-sl-fx { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ixc-sl-fxbtn {
  display: grid; justify-items: center; gap: 3px; min-width: 0; padding: 6px 2px 5px; border: 1px solid #ffffff1c; border-radius: 9px;
  background: #ffffff06; color: #cfe0ec; font-size: 11px; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.ixc-sl-fxbtn svg { width: 20px; height: 20px; }
.ixc-sl-fxbtn span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ixc-sl-fxbtn:hover { border-color: #ffffff40; color: #fff; }
.ixc-sl-fxbtn[aria-checked="true"] { border-color: var(--accent); background: #2fd3a81f; color: #bff5e6; }
.ixc-sl-fxbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-sl-numwrap { display: inline-flex; align-items: center; gap: 6px; }
.ixc-sl-num { width: 84px; height: 30px; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }
.ixc-sl-unit { font-size: 12px; color: var(--dim); }
.ixc-sl-livebox { min-width: 0; }
.ixc-sl-live { min-height: 60px; }
.ixc-sl-live .mse-ix-prose > .mse-ix-slider { margin: 4px 0 0; }
.ixc-sl-livenote { margin: 8px 0 0; padding: 18px 12px; border: 1px dashed #ffffff24; border-radius: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.ixc-sl-count.is-short { color: #ffd479; }
.ixc-sl-modal .modal-foot .ixc-sl-pv { margin-right: auto; }
.ixc-sl-pv svg { width: 16px; height: 16px; }
.ixc-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------------------------------------------------------------- 미리보기 — 방문자 Context 창 모양 (최대 760px × 86vh, 오른쪽 위 ×)
   글을 읽는 창이라 뒤를 흐리게 비치지 않고 거의 불투명하게 */
dialog.modal.ixc-pv {
  /* v2.2.10 창 크기 (편집 칸 — 방문자 창과 같게): --ixc-pv-w · is-sized-h + --ixc-pv-h */
  width: min(var(--ixc-pv-w, 760px), calc(100vw - 32px)); max-height: 86vh; overflow: hidden;
  border-radius: 18px; background: #0b1116fa; backdrop-filter: none; -webkit-backdrop-filter: none;
}
dialog.modal.ixc-pv[open] { display: flex; flex-direction: column; }
dialog.modal.ixc-pv.is-sized-h { height: min(var(--ixc-pv-h), 86vh); }
/* v2.3.19 창 설정을 '창만 보기' 에도 — 배경 색 · 불투명도(--ixc-pv-bd) · 없음, 채우는 웹 페이지(세로 자동이면 최대 높이),
   등장 위치(브라우저 창 기준 여백 · 옮김) · 제목 줄 끌기(--ixc-pv-dx · dy) */
dialog.modal.ixc-pv::backdrop { background: var(--ixc-pv-bd, rgb(0 0 0 / 72%)); backdrop-filter: blur(var(--ixc-pv-blur, 7px)); }
dialog.modal.ixc-pv.is-nobd::backdrop { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
dialog.modal.ixc-pv.is-fill-h { height: 86vh; }
dialog.modal.ixc-pv.is-placed {
  margin: var(--ixc-pv-mt, auto) var(--ixc-pv-mr, auto) var(--ixc-pv-mb, auto) var(--ixc-pv-ml, auto);
}
dialog.modal.ixc-pv { translate: calc(var(--ixc-pv-tx, 0px) + var(--ixc-pv-dx, 0px)) calc(var(--ixc-pv-ty, 0px) + var(--ixc-pv-dy, 0px)); }
dialog.modal.ixc-pv.is-drag .ixc-pv-head { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.ixc-pv-head { position: relative; flex: none; padding: 24px 76px 8px 30px; }
.ixc-pv-tag { display: inline-block; margin: 0 0 10px; padding: 2px 9px; border-radius: 999px; border: 1px solid #2fd3a855; color: #9fe8d4; font-size: 11px; }
.ixc-pv-title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.35; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ixc-pv-close {
  position: absolute; right: 18px; top: 18px; width: 44px; height: 44px; padding: 0; display: grid; place-items: center;
  border: 1px solid #3a5264; border-radius: 50%; background: transparent; color: #dce6ee; cursor: pointer;
  transition: border-color .25s, background-color .25s, color .25s;
}
.ixc-pv-close svg { width: 20px; height: 20px; }
.ixc-pv-close:hover, .ixc-pv-close:focus-visible { border-color: #38c5a8; background: #19382f; color: #fff; outline: none; }
.ixc-pv-body { flex: 1 1 auto; min-height: 90px; overflow: auto; padding: 12px 30px 30px; }
.ixc-pv-note { margin: 18px 0; color: var(--muted); font-size: 13px; }

/* 작은 입력 창 (링크 · 대체 글) */
dialog.modal.ixc-ask { width: min(520px, calc(100vw - 32px)); }
.ixc-ask-row { display: grid; gap: 6px; margin-top: 12px; }
.ixc-ask-row:first-child { margin-top: 0; }
.ixc-ask-row label { font-size: 13px; font-weight: 600; color: var(--text); }
.ixc-ask-row .field[readonly] { color: var(--muted); }
/* v2.3.46 체크 · 고르기 칸 */
.ixc-ask-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text); cursor: pointer; }
.ixc-ask-check input { width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.ixc-ask-row select.field:disabled { opacity: .45; cursor: not-allowed; }
.ixc-ask-hint { margin: 0 !important; font-size: 12px !important; color: var(--dim) !important; }
.ixc-ask-err { margin: 12px 0 0 !important; color: #ffb3ac !important; font-size: 12.5px !important; }
.ixc-ask .modal-foot .ixc-ask-remove { margin-right: auto; }

/* ---------------------------------------------------------------- 편집 칸 (상호작용 탭) */
.ixc-sec-sum { margin: 2px 0 4px; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums; }
.ixc-sec-first { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ixc-sec-warn { margin: 0 0 8px; font-size: 12.5px; line-height: 1.5; color: #ffd479; }
/* v2.2.10 창 크기 (가로 · 세로 px · 자동) */
.ixc-sec-size { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 12px 0 4px; }
.ixc-sec-size-label { font-size: 12.5px; font-weight: 600; color: var(--text); margin-right: 2px; }
.ixc-sec-size-field { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.ixc-sec-size-field .ixc-size-in { width: 76px; height: 30px; padding: 0 8px; font-variant-numeric: tabular-nums; }
.ixc-sec-size-field small { color: var(--dim); }
/* v2.3.33 창 크기 단위 (px · %) */
.ixc-sec-size-field select.ixc-size-unit { width: 58px; height: 30px; padding: 0 20px 0 8px; }
.ixc-sec-size-note { margin: 2px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--dim); }
/* v2.3.19 창 설정 — 창 뒤 배경(켜기 · 색 · 불투명도) · 끌어 옮기기 · 등장 위치(9 칸 + 거리 px · %) */
.ixc-win { margin: 12px 0 0; padding: 10px 10px 8px; border: 1px solid #ffffff14; border-radius: 10px; background: #ffffff05; display: grid; gap: 8px; }
.ixc-win-h { font-size: 12.5px; font-weight: 700; color: var(--text); }
.ixc-win-row { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 8px; min-width: 0; }
.ixc-win-ctl { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.ixc-win-l { font-size: 12.5px; color: var(--muted); }
.ixc-win-sub { font-size: 11.5px; color: var(--dim); }
.ixc-win-color { flex: none; width: 34px; height: 26px; padding: 0 2px; border: 1px solid #ffffff24; border-radius: 6px; background: #0b1116; cursor: pointer; }
.ixc-win-range { flex: 1 1 70px; min-width: 60px; accent-color: var(--accent); }
.ixc-win-out { flex: none; min-width: 38px; font-size: 12px; color: var(--text); font-variant-numeric: tabular-nums; text-align: right; }
.ixc-win-color:disabled, .ixc-win-range:disabled { opacity: .4; cursor: not-allowed; }
.ixc-win-place { align-items: start; }
.ixc-win-place > .ixc-win-l { padding-top: 4px; }
.ixc-anc-grid { flex: none; display: grid; grid-template-columns: repeat(3, 22px); gap: 3px; padding: 4px; border: 1px solid #ffffff1a; border-radius: 8px; background: #0b1116; }
.ixc-anc { display: grid; place-items: center; width: 22px; height: 18px; padding: 0; border: 1px solid #ffffff14; border-radius: 4px; background: #ffffff08; cursor: pointer; }
.ixc-anc:hover { border-color: #ffffff40; }
.ixc-anc-dot { width: 6px; height: 6px; border-radius: 50%; background: #ffffff40; }
.ixc-anc[aria-pressed="true"] { border-color: var(--accent); background: #2fd3a826; }
.ixc-anc[aria-pressed="true"] .ixc-anc-dot { background: var(--accent); }
.ixc-anc:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.ixc-win-offs { display: grid; gap: 5px; min-width: 0; }
.ixc-off { display: grid; grid-template-columns: 70px minmax(0, 1fr) 66px; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.ixc-off-in { height: 28px; min-width: 0; padding: 0 6px; text-align: right; font-variant-numeric: tabular-nums; }
select.ixc-off-unit { width: 66px; min-width: 0; height: 28px; padding: 0 18px 0 8px; }

/* ---------------------------------------------------------------- 좁은 화면 (휴대폰 · 작은 창) */
@media (max-width: 720px) {
  dialog.modal.ixc-modal { width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0; }
  .ixc-main { padding: 10px 12px 6px; }
  .ixc-hint { display: none; }
  .ixc-toolbar { padding: 5px 2px 4px; }
  .ixc-tb-group { padding: 0 4px; }
  .ixc-tb-cap { display: none; }
  .ixc-tb { width: 34px; height: 36px; }
  .ixc-heading { width: 96px; height: 34px; }
  .ixc-editor .ql-editor { padding: 14px 16px 22px 16px; }
  .ixc-editor .ql-editor.ql-blank::before { left: 50px; right: 16px; }
  .ixc-prose { font-size: 15px; }
  .ixc-sl-opts { grid-template-columns: 1fr; }
  .ixc-sl-fx { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ixc-status { flex-direction: column; gap: 2px; }
  .ixc-err { text-align: left; }
  dialog.modal.ixc-pv { width: 100vw; max-height: 100dvh; border-radius: 0; }
  dialog.modal.ixc-pv.is-sized-h { height: min(var(--ixc-pv-h), 100dvh); }
  dialog.modal.ixc-pv.is-fill-h { height: 100dvh; }
  dialog.modal.ixc-pv.is-placed { margin: auto; }
  dialog.modal.ixc-pv { translate: none; }
  .ixc-pv-head { padding: 18px 68px 6px 18px; }
  .ixc-pv-body { padding: 10px 18px 24px; }
  .ixc-sl-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px 10px; }
  .ixc-fr-modes, .ixc-fr-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ixc-plus, .ixc-menu.is-in, .ixc-blockbar { animation: none; }
  .ixc-tools, .ixc-plus, .ixc-plus svg { transition: none; }
}
